docling.rs-wasm 1.69.2 → 1.70.1
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/bundler/docling_wasm_bg.js +41 -41
- package/bundler/docling_wasm_bg.wasm +0 -0
- package/bundler/docling_wasm_bg.wasm.d.ts +2 -2
- package/package.json +1 -1
- package/web/docling_wasm.d.ts +2 -2
- package/web/docling_wasm.js +41 -41
- package/web/docling_wasm_bg.wasm +0 -0
- package/web/docling_wasm_bg.wasm.d.ts +2 -2
|
@@ -395,46 +395,46 @@ export function version() {
|
|
|
395
395
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
|
-
export function
|
|
398
|
+
export function __wbg_Error_30c8987f7c2ed4e2(arg0, arg1) {
|
|
399
399
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
400
400
|
return ret;
|
|
401
401
|
}
|
|
402
|
-
export function
|
|
402
|
+
export function __wbg___wbindgen_debug_string_4687d8d8c2017d52(arg0, arg1) {
|
|
403
403
|
const ret = debugString(arg1);
|
|
404
404
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
405
405
|
const len1 = WASM_VECTOR_LEN;
|
|
406
406
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
407
407
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
408
408
|
}
|
|
409
|
-
export function
|
|
409
|
+
export function __wbg___wbindgen_is_function_1f9d30630b8b1d3d(arg0) {
|
|
410
410
|
const ret = typeof(arg0) === 'function';
|
|
411
411
|
return ret;
|
|
412
412
|
}
|
|
413
|
-
export function
|
|
413
|
+
export function __wbg___wbindgen_is_undefined_8865fb403f8fe9d8(arg0) {
|
|
414
414
|
const ret = arg0 === undefined;
|
|
415
415
|
return ret;
|
|
416
416
|
}
|
|
417
|
-
export function
|
|
417
|
+
export function __wbg___wbindgen_number_get_2e0e7dee9f701a71(arg0, arg1) {
|
|
418
418
|
const obj = arg1;
|
|
419
419
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
420
420
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
421
421
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
422
422
|
}
|
|
423
|
-
export function
|
|
423
|
+
export function __wbg___wbindgen_throw_41e9ee4f547fc59a(arg0, arg1) {
|
|
424
424
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
425
425
|
}
|
|
426
|
-
export function
|
|
426
|
+
export function __wbg__wbg_cb_unref_dcc1a90847f04c41(arg0) {
|
|
427
427
|
arg0._wbg_cb_unref();
|
|
428
428
|
}
|
|
429
|
-
export function
|
|
429
|
+
export function __wbg_bbox_7e29b484bf2e6ac9() { return handleError(function (arg0, arg1, arg2) {
|
|
430
430
|
const ret = arg0.bbox(arg1, arg2 >>> 0);
|
|
431
431
|
return ret;
|
|
432
432
|
}, arguments); }
|
|
433
|
-
export function
|
|
433
|
+
export function __wbg_call_187d372bd5fdd4aa() { return handleError(function (arg0, arg1, arg2) {
|
|
434
434
|
const ret = arg0.call(arg1, arg2);
|
|
435
435
|
return ret;
|
|
436
436
|
}, arguments); }
|
|
437
|
-
export function
|
|
437
|
+
export function __wbg_encode_a36e398f6e0a2192() { return handleError(function (arg0, arg1) {
|
|
438
438
|
const ret = arg0.encode(arg1);
|
|
439
439
|
return ret;
|
|
440
440
|
}, arguments); }
|
|
@@ -452,15 +452,15 @@ export function __wbg_error_757e9472f8410341(arg0, arg1) {
|
|
|
452
452
|
export function __wbg_getRandomValues_436a51d0629d84e1() { return handleError(function (arg0, arg1) {
|
|
453
453
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
454
454
|
}, arguments); }
|
|
455
|
-
export function
|
|
455
|
+
export function __wbg_get_31af05bd4842a84f() { return handleError(function (arg0, arg1) {
|
|
456
456
|
const ret = Reflect.get(arg0, arg1);
|
|
457
457
|
return ret;
|
|
458
458
|
}, arguments); }
|
|
459
|
-
export function
|
|
459
|
+
export function __wbg_get_6c896e0571ddae51(arg0, arg1) {
|
|
460
460
|
const ret = arg0[arg1 >>> 0];
|
|
461
461
|
return ret;
|
|
462
462
|
}
|
|
463
|
-
export function
|
|
463
|
+
export function __wbg_instanceof_Float32Array_595afb0f28b828c9(arg0) {
|
|
464
464
|
let result;
|
|
465
465
|
try {
|
|
466
466
|
result = arg0 instanceof Float32Array;
|
|
@@ -470,15 +470,15 @@ export function __wbg_instanceof_Float32Array_31e80d3e88752523(arg0) {
|
|
|
470
470
|
const ret = result;
|
|
471
471
|
return ret;
|
|
472
472
|
}
|
|
473
|
-
export function
|
|
473
|
+
export function __wbg_isArray_e15a2ff68ffdbef2(arg0) {
|
|
474
474
|
const ret = Array.isArray(arg0);
|
|
475
475
|
return ret;
|
|
476
476
|
}
|
|
477
|
-
export function
|
|
477
|
+
export function __wbg_length_58572db4c38f3c3e(arg0) {
|
|
478
478
|
const ret = arg0.length;
|
|
479
479
|
return ret;
|
|
480
480
|
}
|
|
481
|
-
export function
|
|
481
|
+
export function __wbg_length_d4bdea10311bd9cf(arg0) {
|
|
482
482
|
const ret = arg0.length;
|
|
483
483
|
return ret;
|
|
484
484
|
}
|
|
@@ -486,18 +486,18 @@ export function __wbg_new_227d7c05414eb861() {
|
|
|
486
486
|
const ret = new Error();
|
|
487
487
|
return ret;
|
|
488
488
|
}
|
|
489
|
-
export function
|
|
489
|
+
export function __wbg_new_from_slice_ca6ad97db1f4779a(arg0, arg1) {
|
|
490
490
|
const ret = new Float32Array(getArrayF32FromWasm0(arg0, arg1));
|
|
491
491
|
return ret;
|
|
492
492
|
}
|
|
493
|
-
export function
|
|
493
|
+
export function __wbg_new_typed_b01cb72a8af741a3(arg0, arg1) {
|
|
494
494
|
try {
|
|
495
495
|
var state0 = {a: arg0, b: arg1};
|
|
496
496
|
var cb0 = (arg0, arg1) => {
|
|
497
497
|
const a = state0.a;
|
|
498
498
|
state0.a = 0;
|
|
499
499
|
try {
|
|
500
|
-
return
|
|
500
|
+
return wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
501
501
|
} finally {
|
|
502
502
|
state0.a = a;
|
|
503
503
|
}
|
|
@@ -508,30 +508,30 @@ export function __wbg_new_typed_6f8b0d724fe26c07(arg0, arg1) {
|
|
|
508
508
|
state0.a = 0;
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
|
-
export function
|
|
511
|
+
export function __wbg_prototypesetcall_8b03c01e2c0f8066(arg0, arg1, arg2) {
|
|
512
512
|
Float32Array.prototype.set.call(getArrayF32FromWasm0(arg0, arg1), arg2);
|
|
513
513
|
}
|
|
514
|
-
export function
|
|
514
|
+
export function __wbg_queueMicrotask_9833f9a49df95a49(arg0) {
|
|
515
515
|
const ret = arg0.queueMicrotask;
|
|
516
516
|
return ret;
|
|
517
517
|
}
|
|
518
|
-
export function
|
|
518
|
+
export function __wbg_queueMicrotask_a72f977e97f23c5f(arg0) {
|
|
519
519
|
queueMicrotask(arg0);
|
|
520
520
|
}
|
|
521
|
-
export function
|
|
521
|
+
export function __wbg_resolve_0076e10020304ede(arg0) {
|
|
522
522
|
const ret = Promise.resolve(arg0);
|
|
523
523
|
return ret;
|
|
524
524
|
}
|
|
525
|
-
export function
|
|
526
|
-
const ret = arg0.run(arg1
|
|
525
|
+
export function __wbg_run_4c132b775c51d03d() { return handleError(function (arg0, arg1) {
|
|
526
|
+
const ret = arg0.run(arg1);
|
|
527
527
|
return ret;
|
|
528
528
|
}, arguments); }
|
|
529
|
-
export function
|
|
529
|
+
export function __wbg_run_d4e57a147ae36374() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
530
530
|
const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
|
|
531
531
|
return ret;
|
|
532
532
|
}, arguments); }
|
|
533
|
-
export function
|
|
534
|
-
const ret = arg0.run(arg1);
|
|
533
|
+
export function __wbg_run_e6815e2366ad4914() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
534
|
+
const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
535
535
|
return ret;
|
|
536
536
|
}, arguments); }
|
|
537
537
|
export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
|
|
@@ -541,37 +541,37 @@ export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
|
|
|
541
541
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
542
542
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
543
543
|
}
|
|
544
|
-
export function
|
|
544
|
+
export function __wbg_static_accessor_GLOBAL_266715b9d96ba635() {
|
|
545
545
|
const ret = typeof global === 'undefined' ? null : global;
|
|
546
546
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
547
547
|
}
|
|
548
|
-
export function
|
|
548
|
+
export function __wbg_static_accessor_GLOBAL_THIS_10fb7dc1ae063179() {
|
|
549
549
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
550
550
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
551
551
|
}
|
|
552
|
-
export function
|
|
552
|
+
export function __wbg_static_accessor_SELF_0b583911f537483a() {
|
|
553
553
|
const ret = typeof self === 'undefined' ? null : self;
|
|
554
554
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
555
555
|
}
|
|
556
|
-
export function
|
|
556
|
+
export function __wbg_static_accessor_WINDOW_d7f903d1508cbdc4() {
|
|
557
557
|
const ret = typeof window === 'undefined' ? null : window;
|
|
558
558
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
559
559
|
}
|
|
560
|
-
export function
|
|
560
|
+
export function __wbg_step_2bfd58a7229dc47c() { return handleError(function (arg0, arg1) {
|
|
561
561
|
const ret = arg0.step(arg1);
|
|
562
562
|
return ret;
|
|
563
563
|
}, arguments); }
|
|
564
|
-
export function
|
|
564
|
+
export function __wbg_then_c949d5a25a4e78f8(arg0, arg1, arg2) {
|
|
565
565
|
const ret = arg0.then(arg1, arg2);
|
|
566
566
|
return ret;
|
|
567
567
|
}
|
|
568
|
-
export function
|
|
568
|
+
export function __wbg_then_e71170d78fcf8954(arg0, arg1) {
|
|
569
569
|
const ret = arg0.then(arg1);
|
|
570
570
|
return ret;
|
|
571
571
|
}
|
|
572
572
|
export function __wbindgen_generic_0000000000000001(arg0, arg1) {
|
|
573
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
574
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
573
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 88, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
574
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___wasm_bindgen_509e76adb2d3e8ed___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_509e76adb2d3e8ed___JsError___true_);
|
|
575
575
|
return ret;
|
|
576
576
|
}
|
|
577
577
|
export function __wbindgen_generic_0000000000000002(arg0, arg1) {
|
|
@@ -588,15 +588,15 @@ export function __wbindgen_init_externref_table() {
|
|
|
588
588
|
table.set(offset + 2, true);
|
|
589
589
|
table.set(offset + 3, false);
|
|
590
590
|
}
|
|
591
|
-
function
|
|
592
|
-
const ret = wasm.
|
|
591
|
+
function wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___wasm_bindgen_509e76adb2d3e8ed___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_509e76adb2d3e8ed___JsError___true_(arg0, arg1, arg2) {
|
|
592
|
+
const ret = wasm.wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___wasm_bindgen_509e76adb2d3e8ed___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_509e76adb2d3e8ed___JsError___true_(arg0, arg1, arg2);
|
|
593
593
|
if (ret[1]) {
|
|
594
594
|
throw takeFromExternrefTable0(ret[0]);
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
-
function
|
|
599
|
-
wasm.
|
|
598
|
+
function wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
599
|
+
wasm.wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
600
600
|
}
|
|
601
601
|
|
|
602
602
|
const DigitalConverterFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
Binary file
|
|
@@ -36,8 +36,8 @@ export const djvu_pixmap_free: (a: number) => void;
|
|
|
36
36
|
export const djvu_pixmap_height: (a: number) => number;
|
|
37
37
|
export const djvu_pixmap_width: (a: number) => number;
|
|
38
38
|
export const djvu_text_free: (a: number) => void;
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
39
|
+
export const wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
40
|
+
export const wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___wasm_bindgen_509e76adb2d3e8ed___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_509e76adb2d3e8ed___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
41
41
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
42
42
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
43
43
|
export const __wbindgen_exn_store: (a: number) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docling.rs-wasm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.70.1",
|
|
4
4
|
"description": "In-browser document conversion: DOCX, HTML, XLSX, PPTX, EPUB, Markdown, … and the text layer of PDFs → Markdown / docling JSON / DocLang, fully client-side (docling.rs compiled to WebAssembly)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
package/web/docling_wasm.d.ts
CHANGED
|
@@ -181,8 +181,8 @@ export interface InitOutput {
|
|
|
181
181
|
readonly djvu_pixmap_height: (a: number) => number;
|
|
182
182
|
readonly djvu_pixmap_width: (a: number) => number;
|
|
183
183
|
readonly djvu_text_free: (a: number) => void;
|
|
184
|
-
readonly
|
|
185
|
-
readonly
|
|
184
|
+
readonly wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
185
|
+
readonly wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___wasm_bindgen_509e76adb2d3e8ed___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_509e76adb2d3e8ed___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
186
186
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
187
187
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
188
188
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/web/docling_wasm.js
CHANGED
|
@@ -400,46 +400,46 @@ export function version() {
|
|
|
400
400
|
function __wbg_get_imports() {
|
|
401
401
|
const import0 = {
|
|
402
402
|
__proto__: null,
|
|
403
|
-
|
|
403
|
+
__wbg_Error_30c8987f7c2ed4e2: function(arg0, arg1) {
|
|
404
404
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
405
405
|
return ret;
|
|
406
406
|
},
|
|
407
|
-
|
|
407
|
+
__wbg___wbindgen_debug_string_4687d8d8c2017d52: function(arg0, arg1) {
|
|
408
408
|
const ret = debugString(arg1);
|
|
409
409
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
410
410
|
const len1 = WASM_VECTOR_LEN;
|
|
411
411
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
412
412
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
413
413
|
},
|
|
414
|
-
|
|
414
|
+
__wbg___wbindgen_is_function_1f9d30630b8b1d3d: function(arg0) {
|
|
415
415
|
const ret = typeof(arg0) === 'function';
|
|
416
416
|
return ret;
|
|
417
417
|
},
|
|
418
|
-
|
|
418
|
+
__wbg___wbindgen_is_undefined_8865fb403f8fe9d8: function(arg0) {
|
|
419
419
|
const ret = arg0 === undefined;
|
|
420
420
|
return ret;
|
|
421
421
|
},
|
|
422
|
-
|
|
422
|
+
__wbg___wbindgen_number_get_2e0e7dee9f701a71: function(arg0, arg1) {
|
|
423
423
|
const obj = arg1;
|
|
424
424
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
425
425
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
426
426
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
427
427
|
},
|
|
428
|
-
|
|
428
|
+
__wbg___wbindgen_throw_41e9ee4f547fc59a: function(arg0, arg1) {
|
|
429
429
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
430
430
|
},
|
|
431
|
-
|
|
431
|
+
__wbg__wbg_cb_unref_dcc1a90847f04c41: function(arg0) {
|
|
432
432
|
arg0._wbg_cb_unref();
|
|
433
433
|
},
|
|
434
|
-
|
|
434
|
+
__wbg_bbox_7e29b484bf2e6ac9: function() { return handleError(function (arg0, arg1, arg2) {
|
|
435
435
|
const ret = arg0.bbox(arg1, arg2 >>> 0);
|
|
436
436
|
return ret;
|
|
437
437
|
}, arguments); },
|
|
438
|
-
|
|
438
|
+
__wbg_call_187d372bd5fdd4aa: function() { return handleError(function (arg0, arg1, arg2) {
|
|
439
439
|
const ret = arg0.call(arg1, arg2);
|
|
440
440
|
return ret;
|
|
441
441
|
}, arguments); },
|
|
442
|
-
|
|
442
|
+
__wbg_encode_a36e398f6e0a2192: function() { return handleError(function (arg0, arg1) {
|
|
443
443
|
const ret = arg0.encode(arg1);
|
|
444
444
|
return ret;
|
|
445
445
|
}, arguments); },
|
|
@@ -457,15 +457,15 @@ function __wbg_get_imports() {
|
|
|
457
457
|
__wbg_getRandomValues_436a51d0629d84e1: function() { return handleError(function (arg0, arg1) {
|
|
458
458
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
459
459
|
}, arguments); },
|
|
460
|
-
|
|
460
|
+
__wbg_get_31af05bd4842a84f: function() { return handleError(function (arg0, arg1) {
|
|
461
461
|
const ret = Reflect.get(arg0, arg1);
|
|
462
462
|
return ret;
|
|
463
463
|
}, arguments); },
|
|
464
|
-
|
|
464
|
+
__wbg_get_6c896e0571ddae51: function(arg0, arg1) {
|
|
465
465
|
const ret = arg0[arg1 >>> 0];
|
|
466
466
|
return ret;
|
|
467
467
|
},
|
|
468
|
-
|
|
468
|
+
__wbg_instanceof_Float32Array_595afb0f28b828c9: function(arg0) {
|
|
469
469
|
let result;
|
|
470
470
|
try {
|
|
471
471
|
result = arg0 instanceof Float32Array;
|
|
@@ -475,15 +475,15 @@ function __wbg_get_imports() {
|
|
|
475
475
|
const ret = result;
|
|
476
476
|
return ret;
|
|
477
477
|
},
|
|
478
|
-
|
|
478
|
+
__wbg_isArray_e15a2ff68ffdbef2: function(arg0) {
|
|
479
479
|
const ret = Array.isArray(arg0);
|
|
480
480
|
return ret;
|
|
481
481
|
},
|
|
482
|
-
|
|
482
|
+
__wbg_length_58572db4c38f3c3e: function(arg0) {
|
|
483
483
|
const ret = arg0.length;
|
|
484
484
|
return ret;
|
|
485
485
|
},
|
|
486
|
-
|
|
486
|
+
__wbg_length_d4bdea10311bd9cf: function(arg0) {
|
|
487
487
|
const ret = arg0.length;
|
|
488
488
|
return ret;
|
|
489
489
|
},
|
|
@@ -491,18 +491,18 @@ function __wbg_get_imports() {
|
|
|
491
491
|
const ret = new Error();
|
|
492
492
|
return ret;
|
|
493
493
|
},
|
|
494
|
-
|
|
494
|
+
__wbg_new_from_slice_ca6ad97db1f4779a: function(arg0, arg1) {
|
|
495
495
|
const ret = new Float32Array(getArrayF32FromWasm0(arg0, arg1));
|
|
496
496
|
return ret;
|
|
497
497
|
},
|
|
498
|
-
|
|
498
|
+
__wbg_new_typed_b01cb72a8af741a3: function(arg0, arg1) {
|
|
499
499
|
try {
|
|
500
500
|
var state0 = {a: arg0, b: arg1};
|
|
501
501
|
var cb0 = (arg0, arg1) => {
|
|
502
502
|
const a = state0.a;
|
|
503
503
|
state0.a = 0;
|
|
504
504
|
try {
|
|
505
|
-
return
|
|
505
|
+
return wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
506
506
|
} finally {
|
|
507
507
|
state0.a = a;
|
|
508
508
|
}
|
|
@@ -513,30 +513,30 @@ function __wbg_get_imports() {
|
|
|
513
513
|
state0.a = 0;
|
|
514
514
|
}
|
|
515
515
|
},
|
|
516
|
-
|
|
516
|
+
__wbg_prototypesetcall_8b03c01e2c0f8066: function(arg0, arg1, arg2) {
|
|
517
517
|
Float32Array.prototype.set.call(getArrayF32FromWasm0(arg0, arg1), arg2);
|
|
518
518
|
},
|
|
519
|
-
|
|
519
|
+
__wbg_queueMicrotask_9833f9a49df95a49: function(arg0) {
|
|
520
520
|
const ret = arg0.queueMicrotask;
|
|
521
521
|
return ret;
|
|
522
522
|
},
|
|
523
|
-
|
|
523
|
+
__wbg_queueMicrotask_a72f977e97f23c5f: function(arg0) {
|
|
524
524
|
queueMicrotask(arg0);
|
|
525
525
|
},
|
|
526
|
-
|
|
526
|
+
__wbg_resolve_0076e10020304ede: function(arg0) {
|
|
527
527
|
const ret = Promise.resolve(arg0);
|
|
528
528
|
return ret;
|
|
529
529
|
},
|
|
530
|
-
|
|
531
|
-
const ret = arg0.run(arg1
|
|
530
|
+
__wbg_run_4c132b775c51d03d: function() { return handleError(function (arg0, arg1) {
|
|
531
|
+
const ret = arg0.run(arg1);
|
|
532
532
|
return ret;
|
|
533
533
|
}, arguments); },
|
|
534
|
-
|
|
534
|
+
__wbg_run_d4e57a147ae36374: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
535
535
|
const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
|
|
536
536
|
return ret;
|
|
537
537
|
}, arguments); },
|
|
538
|
-
|
|
539
|
-
const ret = arg0.run(arg1);
|
|
538
|
+
__wbg_run_e6815e2366ad4914: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
539
|
+
const ret = arg0.run(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
540
540
|
return ret;
|
|
541
541
|
}, arguments); },
|
|
542
542
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
@@ -546,37 +546,37 @@ function __wbg_get_imports() {
|
|
|
546
546
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
547
547
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
548
548
|
},
|
|
549
|
-
|
|
549
|
+
__wbg_static_accessor_GLOBAL_266715b9d96ba635: function() {
|
|
550
550
|
const ret = typeof global === 'undefined' ? null : global;
|
|
551
551
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
552
552
|
},
|
|
553
|
-
|
|
553
|
+
__wbg_static_accessor_GLOBAL_THIS_10fb7dc1ae063179: function() {
|
|
554
554
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
555
555
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
556
556
|
},
|
|
557
|
-
|
|
557
|
+
__wbg_static_accessor_SELF_0b583911f537483a: function() {
|
|
558
558
|
const ret = typeof self === 'undefined' ? null : self;
|
|
559
559
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
560
560
|
},
|
|
561
|
-
|
|
561
|
+
__wbg_static_accessor_WINDOW_d7f903d1508cbdc4: function() {
|
|
562
562
|
const ret = typeof window === 'undefined' ? null : window;
|
|
563
563
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
564
564
|
},
|
|
565
|
-
|
|
565
|
+
__wbg_step_2bfd58a7229dc47c: function() { return handleError(function (arg0, arg1) {
|
|
566
566
|
const ret = arg0.step(arg1);
|
|
567
567
|
return ret;
|
|
568
568
|
}, arguments); },
|
|
569
|
-
|
|
569
|
+
__wbg_then_c949d5a25a4e78f8: function(arg0, arg1, arg2) {
|
|
570
570
|
const ret = arg0.then(arg1, arg2);
|
|
571
571
|
return ret;
|
|
572
572
|
},
|
|
573
|
-
|
|
573
|
+
__wbg_then_e71170d78fcf8954: function(arg0, arg1) {
|
|
574
574
|
const ret = arg0.then(arg1);
|
|
575
575
|
return ret;
|
|
576
576
|
},
|
|
577
577
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
578
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
579
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
578
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 88, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
579
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___wasm_bindgen_509e76adb2d3e8ed___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_509e76adb2d3e8ed___JsError___true_);
|
|
580
580
|
return ret;
|
|
581
581
|
},
|
|
582
582
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
@@ -600,15 +600,15 @@ function __wbg_get_imports() {
|
|
|
600
600
|
};
|
|
601
601
|
}
|
|
602
602
|
|
|
603
|
-
function
|
|
604
|
-
const ret = wasm.
|
|
603
|
+
function wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___wasm_bindgen_509e76adb2d3e8ed___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_509e76adb2d3e8ed___JsError___true_(arg0, arg1, arg2) {
|
|
604
|
+
const ret = wasm.wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___wasm_bindgen_509e76adb2d3e8ed___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_509e76adb2d3e8ed___JsError___true_(arg0, arg1, arg2);
|
|
605
605
|
if (ret[1]) {
|
|
606
606
|
throw takeFromExternrefTable0(ret[0]);
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
|
|
610
|
-
function
|
|
611
|
-
wasm.
|
|
610
|
+
function wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
611
|
+
wasm.wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
612
612
|
}
|
|
613
613
|
|
|
614
614
|
const DigitalConverterFinalization = (typeof FinalizationRegistry === 'undefined')
|
package/web/docling_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -36,8 +36,8 @@ export const djvu_pixmap_free: (a: number) => void;
|
|
|
36
36
|
export const djvu_pixmap_height: (a: number) => number;
|
|
37
37
|
export const djvu_pixmap_width: (a: number) => number;
|
|
38
38
|
export const djvu_text_free: (a: number) => void;
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
39
|
+
export const wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined___js_sys_3f454eead30b7b02___Function_fn_wasm_bindgen_509e76adb2d3e8ed___JsValue_____wasm_bindgen_509e76adb2d3e8ed___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
40
|
+
export const wasm_bindgen_509e76adb2d3e8ed___convert__closures_____invoke___wasm_bindgen_509e76adb2d3e8ed___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_509e76adb2d3e8ed___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
41
41
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
42
42
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
43
43
|
export const __wbindgen_exn_store: (a: number) => void;
|