@kreuzberg/html-to-markdown-wasm 3.4.0-rc.2 → 3.4.0-rc.21
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/html_to_markdown_wasm_bg.js +71 -90
- package/dist/html_to_markdown_wasm_bg.wasm +0 -0
- package/dist/package.json +1 -1
- package/dist-node/html_to_markdown_wasm.js +73 -91
- package/dist-node/html_to_markdown_wasm_bg.wasm +0 -0
- package/dist-node/package.json +1 -1
- package/dist-web/html_to_markdown_wasm.js +73 -91
- package/dist-web/html_to_markdown_wasm_bg.wasm +0 -0
- package/dist-web/package.json +1 -1
- package/package.json +1 -1
|
@@ -55,7 +55,6 @@ exports.WasmCodeBlockStyle = WasmCodeBlockStyle;
|
|
|
55
55
|
*/
|
|
56
56
|
class WasmConversionOptions {
|
|
57
57
|
static __wrap(ptr) {
|
|
58
|
-
ptr = ptr >>> 0;
|
|
59
58
|
const obj = Object.create(WasmConversionOptions.prototype);
|
|
60
59
|
obj.__wbg_ptr = ptr;
|
|
61
60
|
WasmConversionOptionsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -350,7 +349,7 @@ class WasmConversionOptions {
|
|
|
350
349
|
*/
|
|
351
350
|
get maxDepth() {
|
|
352
351
|
const ret = wasm.wasmconversionoptions_maxDepth(this.__wbg_ptr);
|
|
353
|
-
return ret ===
|
|
352
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
354
353
|
}
|
|
355
354
|
/**
|
|
356
355
|
* @returns {bigint}
|
|
@@ -427,8 +426,8 @@ class WasmConversionOptions {
|
|
|
427
426
|
var len9 = WASM_VECTOR_LEN;
|
|
428
427
|
var ptr10 = isLikeNone(exclude_selectors) ? 0 : passArrayJsValueToWasm0(exclude_selectors, wasm.__wbindgen_export);
|
|
429
428
|
var len10 = WASM_VECTOR_LEN;
|
|
430
|
-
const ret = wasm.wasmconversionoptions_new(isLikeNone(heading_style) ? 3 : heading_style, isLikeNone(list_indent_type) ? 2 : list_indent_type, isLikeNone(list_indent_width) ?
|
|
431
|
-
this.__wbg_ptr = ret
|
|
429
|
+
const ret = wasm.wasmconversionoptions_new(isLikeNone(heading_style) ? 3 : heading_style, isLikeNone(list_indent_type) ? 2 : list_indent_type, isLikeNone(list_indent_width) ? Number.MAX_SAFE_INTEGER : (list_indent_width) >>> 0, ptr0, len0, ptr1, len1, isLikeNone(escape_asterisks) ? 0xFFFFFF : escape_asterisks ? 1 : 0, isLikeNone(escape_underscores) ? 0xFFFFFF : escape_underscores ? 1 : 0, isLikeNone(escape_misc) ? 0xFFFFFF : escape_misc ? 1 : 0, isLikeNone(escape_ascii) ? 0xFFFFFF : escape_ascii ? 1 : 0, ptr2, len2, isLikeNone(autolinks) ? 0xFFFFFF : autolinks ? 1 : 0, isLikeNone(default_title) ? 0xFFFFFF : default_title ? 1 : 0, isLikeNone(br_in_tables) ? 0xFFFFFF : br_in_tables ? 1 : 0, isLikeNone(highlight_style) ? 4 : highlight_style, isLikeNone(extract_metadata) ? 0xFFFFFF : extract_metadata ? 1 : 0, isLikeNone(whitespace_mode) ? 2 : whitespace_mode, isLikeNone(strip_newlines) ? 0xFFFFFF : strip_newlines ? 1 : 0, isLikeNone(wrap) ? 0xFFFFFF : wrap ? 1 : 0, isLikeNone(wrap_width) ? Number.MAX_SAFE_INTEGER : (wrap_width) >>> 0, isLikeNone(convert_as_inline) ? 0xFFFFFF : convert_as_inline ? 1 : 0, ptr3, len3, ptr4, len4, isLikeNone(newline_style) ? 2 : newline_style, isLikeNone(code_block_style) ? 3 : code_block_style, ptr5, len5, ptr6, ptr7, len7, isLikeNone(debug) ? 0xFFFFFF : debug ? 1 : 0, ptr8, len8, ptr9, len9, isLikeNone(skip_images) ? 0xFFFFFF : skip_images ? 1 : 0, isLikeNone(link_style) ? 2 : link_style, isLikeNone(output_format) ? 3 : output_format, isLikeNone(include_document_structure) ? 0xFFFFFF : include_document_structure ? 1 : 0, isLikeNone(extract_images) ? 0xFFFFFF : extract_images ? 1 : 0, !isLikeNone(max_image_size), isLikeNone(max_image_size) ? BigInt(0) : max_image_size, isLikeNone(capture_svg) ? 0xFFFFFF : capture_svg ? 1 : 0, isLikeNone(infer_dimensions) ? 0xFFFFFF : infer_dimensions ? 1 : 0, ptr10, len10, isLikeNone(max_depth) ? Number.MAX_SAFE_INTEGER : (max_depth) >>> 0);
|
|
430
|
+
this.__wbg_ptr = ret;
|
|
432
431
|
WasmConversionOptionsFinalization.register(this, this.__wbg_ptr, this);
|
|
433
432
|
return this;
|
|
434
433
|
}
|
|
@@ -633,7 +632,7 @@ class WasmConversionOptions {
|
|
|
633
632
|
* @param {number | null} [value]
|
|
634
633
|
*/
|
|
635
634
|
set maxDepth(value) {
|
|
636
|
-
wasm.wasmconversionoptions_set_maxDepth(this.__wbg_ptr, isLikeNone(value) ?
|
|
635
|
+
wasm.wasmconversionoptions_set_maxDepth(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
|
|
637
636
|
}
|
|
638
637
|
/**
|
|
639
638
|
* @param {bigint} value
|
|
@@ -850,7 +849,6 @@ exports.WasmConversionOptions = WasmConversionOptions;
|
|
|
850
849
|
*/
|
|
851
850
|
class WasmConversionOptionsBuilder {
|
|
852
851
|
static __wrap(ptr) {
|
|
853
|
-
ptr = ptr >>> 0;
|
|
854
852
|
const obj = Object.create(WasmConversionOptionsBuilder.prototype);
|
|
855
853
|
obj.__wbg_ptr = ptr;
|
|
856
854
|
WasmConversionOptionsBuilderFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1183,14 +1181,14 @@ class WasmConversionOptionsUpdate {
|
|
|
1183
1181
|
*/
|
|
1184
1182
|
get listIndentWidth() {
|
|
1185
1183
|
const ret = wasm.wasmconversionoptionsupdate_listIndentWidth(this.__wbg_ptr);
|
|
1186
|
-
return ret ===
|
|
1184
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
1187
1185
|
}
|
|
1188
1186
|
/**
|
|
1189
1187
|
* @returns {number | undefined}
|
|
1190
1188
|
*/
|
|
1191
1189
|
get maxDepth() {
|
|
1192
1190
|
const ret = wasm.wasmconversionoptionsupdate_maxDepth(this.__wbg_ptr);
|
|
1193
|
-
return ret ===
|
|
1191
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
1194
1192
|
}
|
|
1195
1193
|
/**
|
|
1196
1194
|
* @returns {bigint | undefined}
|
|
@@ -1274,8 +1272,8 @@ class WasmConversionOptionsUpdate {
|
|
|
1274
1272
|
var len9 = WASM_VECTOR_LEN;
|
|
1275
1273
|
var ptr10 = isLikeNone(exclude_selectors) ? 0 : passArrayJsValueToWasm0(exclude_selectors, wasm.__wbindgen_export);
|
|
1276
1274
|
var len10 = WASM_VECTOR_LEN;
|
|
1277
|
-
const ret = wasm.wasmconversionoptionsupdate_new(isLikeNone(heading_style) ? 3 : heading_style, isLikeNone(list_indent_type) ? 2 : list_indent_type, isLikeNone(list_indent_width) ?
|
|
1278
|
-
this.__wbg_ptr = ret
|
|
1275
|
+
const ret = wasm.wasmconversionoptionsupdate_new(isLikeNone(heading_style) ? 3 : heading_style, isLikeNone(list_indent_type) ? 2 : list_indent_type, isLikeNone(list_indent_width) ? Number.MAX_SAFE_INTEGER : (list_indent_width) >>> 0, ptr0, len0, ptr1, len1, isLikeNone(escape_asterisks) ? 0xFFFFFF : escape_asterisks ? 1 : 0, isLikeNone(escape_underscores) ? 0xFFFFFF : escape_underscores ? 1 : 0, isLikeNone(escape_misc) ? 0xFFFFFF : escape_misc ? 1 : 0, isLikeNone(escape_ascii) ? 0xFFFFFF : escape_ascii ? 1 : 0, ptr2, len2, isLikeNone(autolinks) ? 0xFFFFFF : autolinks ? 1 : 0, isLikeNone(default_title) ? 0xFFFFFF : default_title ? 1 : 0, isLikeNone(br_in_tables) ? 0xFFFFFF : br_in_tables ? 1 : 0, isLikeNone(highlight_style) ? 4 : highlight_style, isLikeNone(extract_metadata) ? 0xFFFFFF : extract_metadata ? 1 : 0, isLikeNone(whitespace_mode) ? 2 : whitespace_mode, isLikeNone(strip_newlines) ? 0xFFFFFF : strip_newlines ? 1 : 0, isLikeNone(wrap) ? 0xFFFFFF : wrap ? 1 : 0, isLikeNone(wrap_width) ? Number.MAX_SAFE_INTEGER : (wrap_width) >>> 0, isLikeNone(convert_as_inline) ? 0xFFFFFF : convert_as_inline ? 1 : 0, ptr3, len3, ptr4, len4, isLikeNone(newline_style) ? 2 : newline_style, isLikeNone(code_block_style) ? 3 : code_block_style, ptr5, len5, ptr6, ptr7, len7, isLikeNone(debug) ? 0xFFFFFF : debug ? 1 : 0, ptr8, len8, ptr9, len9, isLikeNone(skip_images) ? 0xFFFFFF : skip_images ? 1 : 0, isLikeNone(link_style) ? 2 : link_style, isLikeNone(output_format) ? 3 : output_format, isLikeNone(include_document_structure) ? 0xFFFFFF : include_document_structure ? 1 : 0, isLikeNone(extract_images) ? 0xFFFFFF : extract_images ? 1 : 0, !isLikeNone(max_image_size), isLikeNone(max_image_size) ? BigInt(0) : max_image_size, isLikeNone(capture_svg) ? 0xFFFFFF : capture_svg ? 1 : 0, isLikeNone(infer_dimensions) ? 0xFFFFFF : infer_dimensions ? 1 : 0, isLikeNone(max_depth) ? Number.MAX_SAFE_INTEGER : (max_depth) >>> 0, ptr10, len10);
|
|
1276
|
+
this.__wbg_ptr = ret;
|
|
1279
1277
|
WasmConversionOptionsUpdateFinalization.register(this, this.__wbg_ptr, this);
|
|
1280
1278
|
return this;
|
|
1281
1279
|
}
|
|
@@ -1477,13 +1475,13 @@ class WasmConversionOptionsUpdate {
|
|
|
1477
1475
|
* @param {number | null} [value]
|
|
1478
1476
|
*/
|
|
1479
1477
|
set listIndentWidth(value) {
|
|
1480
|
-
wasm.wasmconversionoptionsupdate_set_listIndentWidth(this.__wbg_ptr, isLikeNone(value) ?
|
|
1478
|
+
wasm.wasmconversionoptionsupdate_set_listIndentWidth(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
|
|
1481
1479
|
}
|
|
1482
1480
|
/**
|
|
1483
1481
|
* @param {number | null} [value]
|
|
1484
1482
|
*/
|
|
1485
1483
|
set maxDepth(value) {
|
|
1486
|
-
wasm.wasmconversionoptionsupdate_set_maxDepth(this.__wbg_ptr, isLikeNone(value) ?
|
|
1484
|
+
wasm.wasmconversionoptionsupdate_set_maxDepth(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
|
|
1487
1485
|
}
|
|
1488
1486
|
/**
|
|
1489
1487
|
* @param {bigint | null} [value]
|
|
@@ -1582,7 +1580,7 @@ class WasmConversionOptionsUpdate {
|
|
|
1582
1580
|
* @param {number | null} [value]
|
|
1583
1581
|
*/
|
|
1584
1582
|
set wrapWidth(value) {
|
|
1585
|
-
wasm.wasmconversionoptionsupdate_set_wrapWidth(this.__wbg_ptr, isLikeNone(value) ?
|
|
1583
|
+
wasm.wasmconversionoptionsupdate_set_wrapWidth(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
|
|
1586
1584
|
}
|
|
1587
1585
|
/**
|
|
1588
1586
|
* @returns {boolean | undefined}
|
|
@@ -1693,7 +1691,7 @@ class WasmConversionOptionsUpdate {
|
|
|
1693
1691
|
*/
|
|
1694
1692
|
get wrapWidth() {
|
|
1695
1693
|
const ret = wasm.wasmconversionoptionsupdate_wrapWidth(this.__wbg_ptr);
|
|
1696
|
-
return ret ===
|
|
1694
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
1697
1695
|
}
|
|
1698
1696
|
}
|
|
1699
1697
|
if (Symbol.dispose) WasmConversionOptionsUpdate.prototype[Symbol.dispose] = WasmConversionOptionsUpdate.prototype.free;
|
|
@@ -1717,7 +1715,6 @@ exports.WasmConversionOptionsUpdate = WasmConversionOptionsUpdate;
|
|
|
1717
1715
|
*/
|
|
1718
1716
|
class WasmConversionResult {
|
|
1719
1717
|
static __wrap(ptr) {
|
|
1720
|
-
ptr = ptr >>> 0;
|
|
1721
1718
|
const obj = Object.create(WasmConversionResult.prototype);
|
|
1722
1719
|
obj.__wbg_ptr = ptr;
|
|
1723
1720
|
WasmConversionResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1810,7 +1807,7 @@ class WasmConversionResult {
|
|
|
1810
1807
|
ptr5 = document.__destroy_into_raw();
|
|
1811
1808
|
}
|
|
1812
1809
|
const ret = wasm.wasmconversionresult_new(ptr0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4, ptr5);
|
|
1813
|
-
this.__wbg_ptr = ret
|
|
1810
|
+
this.__wbg_ptr = ret;
|
|
1814
1811
|
WasmConversionResultFinalization.register(this, this.__wbg_ptr, this);
|
|
1815
1812
|
return this;
|
|
1816
1813
|
}
|
|
@@ -1923,7 +1920,6 @@ exports.WasmConversionResult = WasmConversionResult;
|
|
|
1923
1920
|
*/
|
|
1924
1921
|
class WasmDocumentMetadata {
|
|
1925
1922
|
static __wrap(ptr) {
|
|
1926
|
-
ptr = ptr >>> 0;
|
|
1927
1923
|
const obj = Object.create(WasmDocumentMetadata.prototype);
|
|
1928
1924
|
obj.__wbg_ptr = ptr;
|
|
1929
1925
|
WasmDocumentMetadataFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2086,7 +2082,7 @@ class WasmDocumentMetadata {
|
|
|
2086
2082
|
var ptr6 = isLikeNone(language) ? 0 : passStringToWasm0(language, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2087
2083
|
var len6 = WASM_VECTOR_LEN;
|
|
2088
2084
|
const ret = wasm.wasmdocumentmetadata_new(ptr0, len0, isLikeNone(open_graph) ? 0 : addHeapObject(open_graph), isLikeNone(twitter_card) ? 0 : addHeapObject(twitter_card), isLikeNone(meta_tags) ? 0 : addHeapObject(meta_tags), ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4, ptr5, len5, ptr6, len6, isLikeNone(text_direction) ? 3 : text_direction);
|
|
2089
|
-
this.__wbg_ptr = ret
|
|
2085
|
+
this.__wbg_ptr = ret;
|
|
2090
2086
|
WasmDocumentMetadataFinalization.register(this, this.__wbg_ptr, this);
|
|
2091
2087
|
return this;
|
|
2092
2088
|
}
|
|
@@ -2219,7 +2215,6 @@ exports.WasmDocumentMetadata = WasmDocumentMetadata;
|
|
|
2219
2215
|
*/
|
|
2220
2216
|
class WasmDocumentNode {
|
|
2221
2217
|
static __wrap(ptr) {
|
|
2222
|
-
ptr = ptr >>> 0;
|
|
2223
2218
|
const obj = Object.create(WasmDocumentNode.prototype);
|
|
2224
2219
|
obj.__wbg_ptr = ptr;
|
|
2225
2220
|
WasmDocumentNodeFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2321,8 +2316,8 @@ class WasmDocumentNode {
|
|
|
2321
2316
|
const len1 = WASM_VECTOR_LEN;
|
|
2322
2317
|
const ptr2 = passArrayJsValueToWasm0(annotations, wasm.__wbindgen_export);
|
|
2323
2318
|
const len2 = WASM_VECTOR_LEN;
|
|
2324
|
-
const ret = wasm.wasmdocumentnode_new(ptr0, len0, content, ptr1, len1, ptr2, len2, isLikeNone(parent) ?
|
|
2325
|
-
this.__wbg_ptr = ret
|
|
2319
|
+
const ret = wasm.wasmdocumentnode_new(ptr0, len0, content, ptr1, len1, ptr2, len2, isLikeNone(parent) ? Number.MAX_SAFE_INTEGER : (parent) >>> 0, isLikeNone(attributes) ? 0 : addHeapObject(attributes));
|
|
2320
|
+
this.__wbg_ptr = ret;
|
|
2326
2321
|
WasmDocumentNodeFinalization.register(this, this.__wbg_ptr, this);
|
|
2327
2322
|
return this;
|
|
2328
2323
|
}
|
|
@@ -2331,7 +2326,7 @@ class WasmDocumentNode {
|
|
|
2331
2326
|
*/
|
|
2332
2327
|
get parent() {
|
|
2333
2328
|
const ret = wasm.wasmdocumentnode_parent(this.__wbg_ptr);
|
|
2334
|
-
return ret ===
|
|
2329
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2335
2330
|
}
|
|
2336
2331
|
/**
|
|
2337
2332
|
* @param {WasmTextAnnotation[]} value
|
|
@@ -2373,7 +2368,7 @@ class WasmDocumentNode {
|
|
|
2373
2368
|
* @param {number | null} [value]
|
|
2374
2369
|
*/
|
|
2375
2370
|
set parent(value) {
|
|
2376
|
-
wasm.wasmdocumentnode_set_parent(this.__wbg_ptr, isLikeNone(value) ?
|
|
2371
|
+
wasm.wasmdocumentnode_set_parent(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
|
|
2377
2372
|
}
|
|
2378
2373
|
}
|
|
2379
2374
|
if (Symbol.dispose) WasmDocumentNode.prototype[Symbol.dispose] = WasmDocumentNode.prototype.free;
|
|
@@ -2386,7 +2381,6 @@ exports.WasmDocumentNode = WasmDocumentNode;
|
|
|
2386
2381
|
*/
|
|
2387
2382
|
class WasmDocumentStructure {
|
|
2388
2383
|
static __wrap(ptr) {
|
|
2389
|
-
ptr = ptr >>> 0;
|
|
2390
2384
|
const obj = Object.create(WasmDocumentStructure.prototype);
|
|
2391
2385
|
obj.__wbg_ptr = ptr;
|
|
2392
2386
|
WasmDocumentStructureFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2412,7 +2406,7 @@ class WasmDocumentStructure {
|
|
|
2412
2406
|
var ptr1 = isLikeNone(source_format) ? 0 : passStringToWasm0(source_format, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2413
2407
|
var len1 = WASM_VECTOR_LEN;
|
|
2414
2408
|
const ret = wasm.wasmdocumentstructure_new(ptr0, len0, ptr1, len1);
|
|
2415
|
-
this.__wbg_ptr = ret
|
|
2409
|
+
this.__wbg_ptr = ret;
|
|
2416
2410
|
WasmDocumentStructureFinalization.register(this, this.__wbg_ptr, this);
|
|
2417
2411
|
return this;
|
|
2418
2412
|
}
|
|
@@ -2476,7 +2470,6 @@ exports.WasmDocumentStructure = WasmDocumentStructure;
|
|
|
2476
2470
|
*/
|
|
2477
2471
|
class WasmGridCell {
|
|
2478
2472
|
static __wrap(ptr) {
|
|
2479
|
-
ptr = ptr >>> 0;
|
|
2480
2473
|
const obj = Object.create(WasmGridCell.prototype);
|
|
2481
2474
|
obj.__wbg_ptr = ptr;
|
|
2482
2475
|
WasmGridCellFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2550,7 +2543,7 @@ class WasmGridCell {
|
|
|
2550
2543
|
const ptr0 = passStringToWasm0(content, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2551
2544
|
const len0 = WASM_VECTOR_LEN;
|
|
2552
2545
|
const ret = wasm.wasmgridcell_new(ptr0, len0, row, col, row_span, col_span, is_header);
|
|
2553
|
-
this.__wbg_ptr = ret
|
|
2546
|
+
this.__wbg_ptr = ret;
|
|
2554
2547
|
WasmGridCellFinalization.register(this, this.__wbg_ptr, this);
|
|
2555
2548
|
return this;
|
|
2556
2549
|
}
|
|
@@ -2634,7 +2627,6 @@ exports.WasmGridCell = WasmGridCell;
|
|
|
2634
2627
|
*/
|
|
2635
2628
|
class WasmHeaderMetadata {
|
|
2636
2629
|
static __wrap(ptr) {
|
|
2637
|
-
ptr = ptr >>> 0;
|
|
2638
2630
|
const obj = Object.create(WasmHeaderMetadata.prototype);
|
|
2639
2631
|
obj.__wbg_ptr = ptr;
|
|
2640
2632
|
WasmHeaderMetadataFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2744,7 +2736,7 @@ class WasmHeaderMetadata {
|
|
|
2744
2736
|
var ptr1 = isLikeNone(id) ? 0 : passStringToWasm0(id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2745
2737
|
var len1 = WASM_VECTOR_LEN;
|
|
2746
2738
|
const ret = wasm.wasmheadermetadata_new(level, ptr0, len0, depth, html_offset, ptr1, len1);
|
|
2747
|
-
this.__wbg_ptr = ret
|
|
2739
|
+
this.__wbg_ptr = ret;
|
|
2748
2740
|
WasmHeaderMetadataFinalization.register(this, this.__wbg_ptr, this);
|
|
2749
2741
|
return this;
|
|
2750
2742
|
}
|
|
@@ -2855,7 +2847,6 @@ exports.WasmHighlightStyle = WasmHighlightStyle;
|
|
|
2855
2847
|
*/
|
|
2856
2848
|
class WasmHtmlMetadata {
|
|
2857
2849
|
static __wrap(ptr) {
|
|
2858
|
-
ptr = ptr >>> 0;
|
|
2859
2850
|
const obj = Object.create(WasmHtmlMetadata.prototype);
|
|
2860
2851
|
obj.__wbg_ptr = ptr;
|
|
2861
2852
|
WasmHtmlMetadataFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2948,7 +2939,7 @@ class WasmHtmlMetadata {
|
|
|
2948
2939
|
var ptr4 = isLikeNone(structured_data) ? 0 : passArrayJsValueToWasm0(structured_data, wasm.__wbindgen_export);
|
|
2949
2940
|
var len4 = WASM_VECTOR_LEN;
|
|
2950
2941
|
const ret = wasm.wasmhtmlmetadata_new(ptr0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
|
|
2951
|
-
this.__wbg_ptr = ret
|
|
2942
|
+
this.__wbg_ptr = ret;
|
|
2952
2943
|
WasmHtmlMetadataFinalization.register(this, this.__wbg_ptr, this);
|
|
2953
2944
|
return this;
|
|
2954
2945
|
}
|
|
@@ -3036,7 +3027,6 @@ exports.WasmHtmlMetadata = WasmHtmlMetadata;
|
|
|
3036
3027
|
*/
|
|
3037
3028
|
class WasmImageMetadata {
|
|
3038
3029
|
static __wrap(ptr) {
|
|
3039
|
-
ptr = ptr >>> 0;
|
|
3040
3030
|
const obj = Object.create(WasmImageMetadata.prototype);
|
|
3041
3031
|
obj.__wbg_ptr = ptr;
|
|
3042
3032
|
WasmImageMetadataFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -3128,7 +3118,7 @@ class WasmImageMetadata {
|
|
|
3128
3118
|
var ptr3 = isLikeNone(dimensions) ? 0 : passArray32ToWasm0(dimensions, wasm.__wbindgen_export);
|
|
3129
3119
|
var len3 = WASM_VECTOR_LEN;
|
|
3130
3120
|
const ret = wasm.wasmimagemetadata_new(ptr0, len0, image_type, addHeapObject(attributes), ptr1, len1, ptr2, len2, ptr3, len3);
|
|
3131
|
-
this.__wbg_ptr = ret
|
|
3121
|
+
this.__wbg_ptr = ret;
|
|
3132
3122
|
WasmImageMetadataFinalization.register(this, this.__wbg_ptr, this);
|
|
3133
3123
|
return this;
|
|
3134
3124
|
}
|
|
@@ -3256,7 +3246,6 @@ exports.WasmImageType = WasmImageType;
|
|
|
3256
3246
|
*/
|
|
3257
3247
|
class WasmLinkMetadata {
|
|
3258
3248
|
static __wrap(ptr) {
|
|
3259
|
-
ptr = ptr >>> 0;
|
|
3260
3249
|
const obj = Object.create(WasmLinkMetadata.prototype);
|
|
3261
3250
|
obj.__wbg_ptr = ptr;
|
|
3262
3251
|
WasmLinkMetadataFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -3358,7 +3347,7 @@ class WasmLinkMetadata {
|
|
|
3358
3347
|
var ptr3 = isLikeNone(title) ? 0 : passStringToWasm0(title, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
3359
3348
|
var len3 = WASM_VECTOR_LEN;
|
|
3360
3349
|
const ret = wasm.wasmlinkmetadata_new(ptr0, len0, ptr1, len1, link_type, ptr2, len2, addHeapObject(attributes), ptr3, len3);
|
|
3361
|
-
this.__wbg_ptr = ret
|
|
3350
|
+
this.__wbg_ptr = ret;
|
|
3362
3351
|
WasmLinkMetadataFinalization.register(this, this.__wbg_ptr, this);
|
|
3363
3352
|
return this;
|
|
3364
3353
|
}
|
|
@@ -3600,7 +3589,7 @@ class WasmNodeContext {
|
|
|
3600
3589
|
var ptr1 = isLikeNone(parent_tag) ? 0 : passStringToWasm0(parent_tag, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
3601
3590
|
var len1 = WASM_VECTOR_LEN;
|
|
3602
3591
|
const ret = wasm.wasmnodecontext_new(node_type, ptr0, len0, addHeapObject(attributes), depth, index_in_parent, is_inline, ptr1, len1);
|
|
3603
|
-
this.__wbg_ptr = ret
|
|
3592
|
+
this.__wbg_ptr = ret;
|
|
3604
3593
|
WasmNodeContextFinalization.register(this, this.__wbg_ptr, this);
|
|
3605
3594
|
return this;
|
|
3606
3595
|
}
|
|
@@ -3816,7 +3805,6 @@ exports.WasmOutputFormat = WasmOutputFormat;
|
|
|
3816
3805
|
*/
|
|
3817
3806
|
class WasmPreprocessingOptions {
|
|
3818
3807
|
static __wrap(ptr) {
|
|
3819
|
-
ptr = ptr >>> 0;
|
|
3820
3808
|
const obj = Object.create(WasmPreprocessingOptions.prototype);
|
|
3821
3809
|
obj.__wbg_ptr = ptr;
|
|
3822
3810
|
WasmPreprocessingOptionsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -3902,7 +3890,7 @@ class WasmPreprocessingOptions {
|
|
|
3902
3890
|
*/
|
|
3903
3891
|
constructor(enabled, preset, remove_navigation, remove_forms) {
|
|
3904
3892
|
const ret = wasm.wasmpreprocessingoptions_new(isLikeNone(enabled) ? 0xFFFFFF : enabled ? 1 : 0, isLikeNone(preset) ? 3 : preset, isLikeNone(remove_navigation) ? 0xFFFFFF : remove_navigation ? 1 : 0, isLikeNone(remove_forms) ? 0xFFFFFF : remove_forms ? 1 : 0);
|
|
3905
|
-
this.__wbg_ptr = ret
|
|
3893
|
+
this.__wbg_ptr = ret;
|
|
3906
3894
|
WasmPreprocessingOptionsFinalization.register(this, this.__wbg_ptr, this);
|
|
3907
3895
|
return this;
|
|
3908
3896
|
}
|
|
@@ -3964,7 +3952,6 @@ exports.WasmPreprocessingOptions = WasmPreprocessingOptions;
|
|
|
3964
3952
|
*/
|
|
3965
3953
|
class WasmPreprocessingOptionsUpdate {
|
|
3966
3954
|
static __wrap(ptr) {
|
|
3967
|
-
ptr = ptr >>> 0;
|
|
3968
3955
|
const obj = Object.create(WasmPreprocessingOptionsUpdate.prototype);
|
|
3969
3956
|
obj.__wbg_ptr = ptr;
|
|
3970
3957
|
WasmPreprocessingOptionsUpdateFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -3995,7 +3982,7 @@ class WasmPreprocessingOptionsUpdate {
|
|
|
3995
3982
|
*/
|
|
3996
3983
|
constructor(enabled, preset, remove_navigation, remove_forms) {
|
|
3997
3984
|
const ret = wasm.wasmpreprocessingoptionsupdate_new(isLikeNone(enabled) ? 0xFFFFFF : enabled ? 1 : 0, isLikeNone(preset) ? 3 : preset, isLikeNone(remove_navigation) ? 0xFFFFFF : remove_navigation ? 1 : 0, isLikeNone(remove_forms) ? 0xFFFFFF : remove_forms ? 1 : 0);
|
|
3998
|
-
this.__wbg_ptr = ret
|
|
3985
|
+
this.__wbg_ptr = ret;
|
|
3999
3986
|
WasmPreprocessingOptionsUpdateFinalization.register(this, this.__wbg_ptr, this);
|
|
4000
3987
|
return this;
|
|
4001
3988
|
}
|
|
@@ -4066,7 +4053,6 @@ exports.WasmPreprocessingPreset = WasmPreprocessingPreset;
|
|
|
4066
4053
|
*/
|
|
4067
4054
|
class WasmProcessingWarning {
|
|
4068
4055
|
static __wrap(ptr) {
|
|
4069
|
-
ptr = ptr >>> 0;
|
|
4070
4056
|
const obj = Object.create(WasmProcessingWarning.prototype);
|
|
4071
4057
|
obj.__wbg_ptr = ptr;
|
|
4072
4058
|
WasmProcessingWarningFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4122,7 +4108,7 @@ class WasmProcessingWarning {
|
|
|
4122
4108
|
const ptr0 = passStringToWasm0(message, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
4123
4109
|
const len0 = WASM_VECTOR_LEN;
|
|
4124
4110
|
const ret = wasm.wasmprocessingwarning_new(ptr0, len0, kind);
|
|
4125
|
-
this.__wbg_ptr = ret
|
|
4111
|
+
this.__wbg_ptr = ret;
|
|
4126
4112
|
WasmProcessingWarningFinalization.register(this, this.__wbg_ptr, this);
|
|
4127
4113
|
return this;
|
|
4128
4114
|
}
|
|
@@ -4165,7 +4151,6 @@ exports.WasmProcessingWarning = WasmProcessingWarning;
|
|
|
4165
4151
|
*/
|
|
4166
4152
|
class WasmStructuredData {
|
|
4167
4153
|
static __wrap(ptr) {
|
|
4168
|
-
ptr = ptr >>> 0;
|
|
4169
4154
|
const obj = Object.create(WasmStructuredData.prototype);
|
|
4170
4155
|
obj.__wbg_ptr = ptr;
|
|
4171
4156
|
WasmStructuredDataFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4205,7 +4190,7 @@ class WasmStructuredData {
|
|
|
4205
4190
|
var ptr1 = isLikeNone(schema_type) ? 0 : passStringToWasm0(schema_type, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
4206
4191
|
var len1 = WASM_VECTOR_LEN;
|
|
4207
4192
|
const ret = wasm.wasmstructureddata_new(data_type, ptr0, len0, ptr1, len1);
|
|
4208
|
-
this.__wbg_ptr = ret
|
|
4193
|
+
this.__wbg_ptr = ret;
|
|
4209
4194
|
WasmStructuredDataFinalization.register(this, this.__wbg_ptr, this);
|
|
4210
4195
|
return this;
|
|
4211
4196
|
}
|
|
@@ -4291,7 +4276,6 @@ exports.WasmStructuredDataType = WasmStructuredDataType;
|
|
|
4291
4276
|
*/
|
|
4292
4277
|
class WasmTableData {
|
|
4293
4278
|
static __wrap(ptr) {
|
|
4294
|
-
ptr = ptr >>> 0;
|
|
4295
4279
|
const obj = Object.create(WasmTableData.prototype);
|
|
4296
4280
|
obj.__wbg_ptr = ptr;
|
|
4297
4281
|
WasmTableDataFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4349,7 +4333,7 @@ class WasmTableData {
|
|
|
4349
4333
|
const ptr1 = passStringToWasm0(markdown, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
4350
4334
|
const len1 = WASM_VECTOR_LEN;
|
|
4351
4335
|
const ret = wasm.wasmtabledata_new(ptr0, ptr1, len1);
|
|
4352
|
-
this.__wbg_ptr = ret
|
|
4336
|
+
this.__wbg_ptr = ret;
|
|
4353
4337
|
WasmTableDataFinalization.register(this, this.__wbg_ptr, this);
|
|
4354
4338
|
return this;
|
|
4355
4339
|
}
|
|
@@ -4378,7 +4362,6 @@ exports.WasmTableData = WasmTableData;
|
|
|
4378
4362
|
*/
|
|
4379
4363
|
class WasmTableGrid {
|
|
4380
4364
|
static __wrap(ptr) {
|
|
4381
|
-
ptr = ptr >>> 0;
|
|
4382
4365
|
const obj = Object.create(WasmTableGrid.prototype);
|
|
4383
4366
|
obj.__wbg_ptr = ptr;
|
|
4384
4367
|
WasmTableGridFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4425,8 +4408,8 @@ class WasmTableGrid {
|
|
|
4425
4408
|
constructor(rows, cols, cells) {
|
|
4426
4409
|
var ptr0 = isLikeNone(cells) ? 0 : passArrayJsValueToWasm0(cells, wasm.__wbindgen_export);
|
|
4427
4410
|
var len0 = WASM_VECTOR_LEN;
|
|
4428
|
-
const ret = wasm.wasmtablegrid_new(isLikeNone(rows) ?
|
|
4429
|
-
this.__wbg_ptr = ret
|
|
4411
|
+
const ret = wasm.wasmtablegrid_new(isLikeNone(rows) ? Number.MAX_SAFE_INTEGER : (rows) >>> 0, isLikeNone(cols) ? Number.MAX_SAFE_INTEGER : (cols) >>> 0, ptr0, len0);
|
|
4412
|
+
this.__wbg_ptr = ret;
|
|
4430
4413
|
WasmTableGridFinalization.register(this, this.__wbg_ptr, this);
|
|
4431
4414
|
return this;
|
|
4432
4415
|
}
|
|
@@ -4468,7 +4451,6 @@ exports.WasmTableGrid = WasmTableGrid;
|
|
|
4468
4451
|
*/
|
|
4469
4452
|
class WasmTextAnnotation {
|
|
4470
4453
|
static __wrap(ptr) {
|
|
4471
|
-
ptr = ptr >>> 0;
|
|
4472
4454
|
const obj = Object.create(WasmTextAnnotation.prototype);
|
|
4473
4455
|
obj.__wbg_ptr = ptr;
|
|
4474
4456
|
WasmTextAnnotationFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4511,7 +4493,7 @@ class WasmTextAnnotation {
|
|
|
4511
4493
|
*/
|
|
4512
4494
|
constructor(start, end, kind) {
|
|
4513
4495
|
const ret = wasm.wasmtextannotation_new(start, end, kind);
|
|
4514
|
-
this.__wbg_ptr = ret
|
|
4496
|
+
this.__wbg_ptr = ret;
|
|
4515
4497
|
WasmTextAnnotationFinalization.register(this, this.__wbg_ptr, this);
|
|
4516
4498
|
return this;
|
|
4517
4499
|
}
|
|
@@ -4632,23 +4614,23 @@ exports.convert = convert;
|
|
|
4632
4614
|
function __wbg_get_imports() {
|
|
4633
4615
|
const import0 = {
|
|
4634
4616
|
__proto__: null,
|
|
4635
|
-
|
|
4617
|
+
__wbg_Error_3639a60ed15f87e7: function(arg0, arg1) {
|
|
4636
4618
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
4637
4619
|
return addHeapObject(ret);
|
|
4638
4620
|
},
|
|
4639
|
-
|
|
4621
|
+
__wbg___wbindgen_is_function_2f0fd7ceb86e64c5: function(arg0) {
|
|
4640
4622
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
4641
4623
|
return ret;
|
|
4642
4624
|
},
|
|
4643
|
-
|
|
4625
|
+
__wbg___wbindgen_is_string_eddc07a3efad52e6: function(arg0) {
|
|
4644
4626
|
const ret = typeof(getObject(arg0)) === 'string';
|
|
4645
4627
|
return ret;
|
|
4646
4628
|
},
|
|
4647
|
-
|
|
4629
|
+
__wbg___wbindgen_is_undefined_244a92c34d3b6ec0: function(arg0) {
|
|
4648
4630
|
const ret = getObject(arg0) === undefined;
|
|
4649
4631
|
return ret;
|
|
4650
4632
|
},
|
|
4651
|
-
|
|
4633
|
+
__wbg___wbindgen_string_get_965592073e5d848c: function(arg0, arg1) {
|
|
4652
4634
|
const obj = getObject(arg1);
|
|
4653
4635
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
4654
4636
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -4656,45 +4638,45 @@ function __wbg_get_imports() {
|
|
|
4656
4638
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4657
4639
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4658
4640
|
},
|
|
4659
|
-
|
|
4641
|
+
__wbg___wbindgen_throw_9c75d47bf9e7731e: function(arg0, arg1) {
|
|
4660
4642
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
4661
4643
|
},
|
|
4662
|
-
|
|
4644
|
+
__wbg_apply_0f21c8b7ff1b23f8: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4663
4645
|
const ret = getObject(arg0).apply(getObject(arg1), getObject(arg2));
|
|
4664
4646
|
return addHeapObject(ret);
|
|
4665
4647
|
}, arguments); },
|
|
4666
|
-
|
|
4648
|
+
__wbg_get_41476db20fef99a8: function() { return handleError(function (arg0, arg1) {
|
|
4667
4649
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4668
4650
|
return addHeapObject(ret);
|
|
4669
4651
|
}, arguments); },
|
|
4670
|
-
|
|
4652
|
+
__wbg_has_3a6f31f647e0ba22: function() { return handleError(function (arg0, arg1) {
|
|
4671
4653
|
const ret = Reflect.has(getObject(arg0), getObject(arg1));
|
|
4672
4654
|
return ret;
|
|
4673
4655
|
}, arguments); },
|
|
4674
|
-
|
|
4675
|
-
const ret = new
|
|
4656
|
+
__wbg_new_2fad8ca02fd00684: function() {
|
|
4657
|
+
const ret = new Object();
|
|
4676
4658
|
return addHeapObject(ret);
|
|
4677
4659
|
},
|
|
4678
|
-
|
|
4660
|
+
__wbg_new_3baa8d9866155c79: function() {
|
|
4679
4661
|
const ret = new Array();
|
|
4680
4662
|
return addHeapObject(ret);
|
|
4681
4663
|
},
|
|
4682
|
-
|
|
4683
|
-
const ret = new
|
|
4664
|
+
__wbg_new_46ae4e4ff2a07a64: function() {
|
|
4665
|
+
const ret = new Map();
|
|
4684
4666
|
return addHeapObject(ret);
|
|
4685
4667
|
},
|
|
4686
|
-
|
|
4668
|
+
__wbg_push_60a5366c0bb22a7d: function(arg0, arg1) {
|
|
4687
4669
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
4688
4670
|
return ret;
|
|
4689
4671
|
},
|
|
4690
|
-
|
|
4672
|
+
__wbg_set_5337f8ac82364a3f: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4691
4673
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
4692
4674
|
return ret;
|
|
4693
4675
|
}, arguments); },
|
|
4694
4676
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
4695
4677
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
4696
4678
|
},
|
|
4697
|
-
|
|
4679
|
+
__wbg_set_82f7a370f604db70: function(arg0, arg1, arg2) {
|
|
4698
4680
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
4699
4681
|
return addHeapObject(ret);
|
|
4700
4682
|
},
|
|
@@ -4796,64 +4778,64 @@ function __wbg_get_imports() {
|
|
|
4796
4778
|
|
|
4797
4779
|
const WasmConversionOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4798
4780
|
? { register: () => {}, unregister: () => {} }
|
|
4799
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmconversionoptions_free(ptr
|
|
4781
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmconversionoptions_free(ptr, 1));
|
|
4800
4782
|
const WasmConversionOptionsBuilderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4801
4783
|
? { register: () => {}, unregister: () => {} }
|
|
4802
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmconversionoptionsbuilder_free(ptr
|
|
4784
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmconversionoptionsbuilder_free(ptr, 1));
|
|
4803
4785
|
const WasmConversionOptionsUpdateFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4804
4786
|
? { register: () => {}, unregister: () => {} }
|
|
4805
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmconversionoptionsupdate_free(ptr
|
|
4787
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmconversionoptionsupdate_free(ptr, 1));
|
|
4806
4788
|
const WasmConversionResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4807
4789
|
? { register: () => {}, unregister: () => {} }
|
|
4808
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmconversionresult_free(ptr
|
|
4790
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmconversionresult_free(ptr, 1));
|
|
4809
4791
|
const WasmDocumentMetadataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4810
4792
|
? { register: () => {}, unregister: () => {} }
|
|
4811
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmdocumentmetadata_free(ptr
|
|
4793
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmdocumentmetadata_free(ptr, 1));
|
|
4812
4794
|
const WasmDocumentNodeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4813
4795
|
? { register: () => {}, unregister: () => {} }
|
|
4814
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmdocumentnode_free(ptr
|
|
4796
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmdocumentnode_free(ptr, 1));
|
|
4815
4797
|
const WasmDocumentStructureFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4816
4798
|
? { register: () => {}, unregister: () => {} }
|
|
4817
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmdocumentstructure_free(ptr
|
|
4799
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmdocumentstructure_free(ptr, 1));
|
|
4818
4800
|
const WasmGridCellFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4819
4801
|
? { register: () => {}, unregister: () => {} }
|
|
4820
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmgridcell_free(ptr
|
|
4802
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmgridcell_free(ptr, 1));
|
|
4821
4803
|
const WasmHeaderMetadataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4822
4804
|
? { register: () => {}, unregister: () => {} }
|
|
4823
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmheadermetadata_free(ptr
|
|
4805
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmheadermetadata_free(ptr, 1));
|
|
4824
4806
|
const WasmHtmlMetadataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4825
4807
|
? { register: () => {}, unregister: () => {} }
|
|
4826
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmhtmlmetadata_free(ptr
|
|
4808
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmhtmlmetadata_free(ptr, 1));
|
|
4827
4809
|
const WasmImageMetadataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4828
4810
|
? { register: () => {}, unregister: () => {} }
|
|
4829
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmimagemetadata_free(ptr
|
|
4811
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmimagemetadata_free(ptr, 1));
|
|
4830
4812
|
const WasmLinkMetadataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4831
4813
|
? { register: () => {}, unregister: () => {} }
|
|
4832
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmlinkmetadata_free(ptr
|
|
4814
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmlinkmetadata_free(ptr, 1));
|
|
4833
4815
|
const WasmNodeContextFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4834
4816
|
? { register: () => {}, unregister: () => {} }
|
|
4835
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmnodecontext_free(ptr
|
|
4817
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmnodecontext_free(ptr, 1));
|
|
4836
4818
|
const WasmPreprocessingOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4837
4819
|
? { register: () => {}, unregister: () => {} }
|
|
4838
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmpreprocessingoptions_free(ptr
|
|
4820
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmpreprocessingoptions_free(ptr, 1));
|
|
4839
4821
|
const WasmPreprocessingOptionsUpdateFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4840
4822
|
? { register: () => {}, unregister: () => {} }
|
|
4841
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmpreprocessingoptionsupdate_free(ptr
|
|
4823
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmpreprocessingoptionsupdate_free(ptr, 1));
|
|
4842
4824
|
const WasmProcessingWarningFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4843
4825
|
? { register: () => {}, unregister: () => {} }
|
|
4844
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmprocessingwarning_free(ptr
|
|
4826
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmprocessingwarning_free(ptr, 1));
|
|
4845
4827
|
const WasmStructuredDataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4846
4828
|
? { register: () => {}, unregister: () => {} }
|
|
4847
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmstructureddata_free(ptr
|
|
4829
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmstructureddata_free(ptr, 1));
|
|
4848
4830
|
const WasmTableDataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4849
4831
|
? { register: () => {}, unregister: () => {} }
|
|
4850
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmtabledata_free(ptr
|
|
4832
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmtabledata_free(ptr, 1));
|
|
4851
4833
|
const WasmTableGridFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4852
4834
|
? { register: () => {}, unregister: () => {} }
|
|
4853
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmtablegrid_free(ptr
|
|
4835
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmtablegrid_free(ptr, 1));
|
|
4854
4836
|
const WasmTextAnnotationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4855
4837
|
? { register: () => {}, unregister: () => {} }
|
|
4856
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmtextannotation_free(ptr
|
|
4838
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmtextannotation_free(ptr, 1));
|
|
4857
4839
|
|
|
4858
4840
|
function addHeapObject(obj) {
|
|
4859
4841
|
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
@@ -4900,8 +4882,7 @@ function getDataViewMemory0() {
|
|
|
4900
4882
|
}
|
|
4901
4883
|
|
|
4902
4884
|
function getStringFromWasm0(ptr, len) {
|
|
4903
|
-
|
|
4904
|
-
return decodeText(ptr, len);
|
|
4885
|
+
return decodeText(ptr >>> 0, len);
|
|
4905
4886
|
}
|
|
4906
4887
|
|
|
4907
4888
|
let cachedUint32ArrayMemory0 = null;
|
|
@@ -5023,4 +5004,5 @@ let WASM_VECTOR_LEN = 0;
|
|
|
5023
5004
|
const wasmPath = `${__dirname}/html_to_markdown_wasm_bg.wasm`;
|
|
5024
5005
|
const wasmBytes = require('fs').readFileSync(wasmPath);
|
|
5025
5006
|
const wasmModule = new WebAssembly.Module(wasmBytes);
|
|
5026
|
-
let
|
|
5007
|
+
let wasmInstance = new WebAssembly.Instance(wasmModule, __wbg_get_imports());
|
|
5008
|
+
let wasm = wasmInstance.exports;
|
|
Binary file
|