@hpcc-js/wasm 1.20.0 → 2.0.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/README.md +5 -670
- package/bin/{dot-wasm.mjs → dot-wasm.js} +8 -17
- package/bin/dot-wasm.js.map +1 -0
- package/dist/base91.js +2 -0
- package/dist/base91.js.map +1 -0
- package/dist/base91.umd.js +2 -0
- package/dist/base91.umd.js.map +1 -0
- package/dist/expat.js +1 -151
- package/dist/expat.js.map +1 -1
- package/dist/expat.umd.js +2 -0
- package/dist/expat.umd.js.map +1 -0
- package/dist/graphviz.js +1 -206
- package/dist/graphviz.js.map +1 -1
- package/dist/graphviz.umd.js +2 -0
- package/dist/graphviz.umd.js.map +1 -0
- package/dist/zstd.js +1 -175
- package/dist/zstd.js.map +1 -1
- package/dist/zstd.umd.js +2 -0
- package/dist/zstd.umd.js.map +1 -0
- package/package.json +71 -74
- package/types/__bin__/dot-wasm.d.ts +2 -0
- package/types/__bin__/dot-wasm.d.ts.map +1 -0
- package/types/__tests__/graphviz.d.ts +1 -1
- package/types/__tests__/graphviz.d.ts.map +1 -1
- package/types/__tests__/index-browser.d.ts +3 -0
- package/types/__tests__/index-browser.d.ts.map +1 -0
- package/types/__tests__/index-common.d.ts +4 -4
- package/types/__tests__/index-common.d.ts.map +1 -1
- package/types/__tests__/index-node.d.ts +2 -2
- package/types/__tests__/index-node.d.ts.map +1 -1
- package/types/base91.d.ts +37 -2
- package/types/base91.d.ts.map +1 -1
- package/types/expat.d.ts +58 -3
- package/types/expat.d.ts.map +1 -1
- package/types/graphviz.d.ts +145 -28
- package/types/graphviz.d.ts.map +1 -1
- package/types/index.d.ts +9 -1
- package/types/index.d.ts.map +1 -1
- package/types/wasm-library.d.ts +10 -11
- package/types/wasm-library.d.ts.map +1 -1
- package/types/zstd.d.ts +48 -3
- package/types/zstd.d.ts.map +1 -1
- package/bin/dot-wasm.mjs.map +0 -1
- package/bin/sfx-wasm.mjs +0 -52
- package/bin/sfx-wasm.mjs.map +0 -1
- package/dist/base91lib.wasm +0 -0
- package/dist/expat.es6.js +0 -139
- package/dist/expat.es6.js.map +0 -1
- package/dist/expatlib.wasm +0 -0
- package/dist/graphviz.es6.js +0 -194
- package/dist/graphviz.es6.js.map +0 -1
- package/dist/graphvizlib.wasm +0 -0
- package/dist/index.es6.js +0 -474
- package/dist/index.es6.js.map +0 -1
- package/dist/index.js +0 -494
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist/index.node.es6.mjs +0 -483
- package/dist/index.node.es6.mjs.map +0 -1
- package/dist/index.node.js +0 -497
- package/dist/index.node.js.map +0 -1
- package/dist/sfx-graphviz.esm.js +0 -890
- package/dist/sfx-graphviz.esm.js.map +0 -1
- package/dist/sfx-graphviz.js +0 -904
- package/dist/sfx-graphviz.js.map +0 -1
- package/dist/sfx-graphviz.min.js +0 -1
- package/dist/sfx-graphviz.min.js.map +0 -1
- package/dist/zstd.es6.js +0 -166
- package/dist/zstd.es6.js.map +0 -1
- package/dist/zstdlib.wasm +0 -0
- package/types/__bin__/dot-wasm.d.mts +0 -2
- package/types/__bin__/dot-wasm.d.mts.map +0 -1
- package/types/__bin__/sfx-wasm.d.mts +0 -2
- package/types/__bin__/sfx-wasm.d.mts.map +0 -1
- package/types/__tests__/index.d.ts +0 -3
- package/types/__tests__/index.d.ts.map +0 -1
- package/types/fetch-browser.d.ts +0 -2
- package/types/fetch-browser.d.ts.map +0 -1
- package/types/fetch-node.d.ts +0 -3
- package/types/fetch-node.d.ts.map +0 -1
- package/types/index-common.d.ts +0 -6
- package/types/index-common.d.ts.map +0 -1
- package/types/index-node.d.ts +0 -2
- package/types/index-node.d.ts.map +0 -1
- package/types/sfx-graphviz.d.ts +0 -59
- package/types/sfx-graphviz.d.ts.map +0 -1
package/types/wasm-library.d.ts
CHANGED
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
export interface Options {
|
|
2
|
-
wasmFolder?: string;
|
|
3
|
-
wasmBinary?: ArrayBuffer;
|
|
4
|
-
}
|
|
5
1
|
export declare type PTR = number;
|
|
6
2
|
export interface HeapU8 {
|
|
7
3
|
ptr: PTR;
|
|
8
4
|
size: number;
|
|
9
5
|
}
|
|
6
|
+
/**
|
|
7
|
+
* Base class to simplify moving data into and out of Wasm memory.
|
|
8
|
+
*/
|
|
10
9
|
export declare class WasmLibrary {
|
|
11
10
|
protected _module: any;
|
|
12
11
|
protected _exports: any;
|
|
13
12
|
protected constructor(_module: any, _export: any);
|
|
14
|
-
malloc_heapu8(size: number): HeapU8;
|
|
15
|
-
free_heapu8(data: HeapU8): void;
|
|
16
|
-
uint8_heapu8(data: Uint8Array): HeapU8;
|
|
17
|
-
heapu8_view(data: HeapU8): Uint8Array;
|
|
18
|
-
heapu8_uint8(data: HeapU8): Uint8Array;
|
|
19
|
-
string_heapu8(str: string): HeapU8;
|
|
20
|
-
heapu8_string(data: HeapU8): string;
|
|
13
|
+
protected malloc_heapu8(size: number): HeapU8;
|
|
14
|
+
protected free_heapu8(data: HeapU8): void;
|
|
15
|
+
protected uint8_heapu8(data: Uint8Array): HeapU8;
|
|
16
|
+
protected heapu8_view(data: HeapU8): Uint8Array;
|
|
17
|
+
protected heapu8_uint8(data: HeapU8): Uint8Array;
|
|
18
|
+
protected string_heapu8(str: string): HeapU8;
|
|
19
|
+
protected heapu8_string(data: HeapU8): string;
|
|
21
20
|
}
|
|
22
21
|
//# sourceMappingURL=wasm-library.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wasm-library.d.ts","sourceRoot":"","sources":["../src/wasm-library.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"wasm-library.d.ts","sourceRoot":"","sources":["../src/wasm-library.ts"],"names":[],"mappings":"AAAA,oBAAY,GAAG,GAAG,MAAM,CAAC;AACzB,MAAM,WAAW,MAAM;IACnB,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,qBAAa,WAAW;IAEpB,SAAS,CAAC,OAAO,EAAE,GAAG,CAAC;IACvB,SAAS,CAAC,QAAQ,EAAE,GAAG,CAAC;IAExB,SAAS,aAAa,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG;IAKhD,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAQ7C,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM;IAIlC,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM;IAMhD,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU;IAI/C,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU;IAIhD,SAAS,CAAC,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAK5C,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;CAQhD"}
|
package/types/zstd.d.ts
CHANGED
|
@@ -1,10 +1,55 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WasmLibrary } from "./wasm-library.js";
|
|
2
|
+
/**
|
|
3
|
+
* The Zstandard WASM library, provides a simplified wrapper around the Zstandard c++ library.
|
|
4
|
+
*
|
|
5
|
+
* Dee [Zstandard](https://facebook.github.io/zstd/) for more details.
|
|
6
|
+
*
|
|
7
|
+
* ```ts
|
|
8
|
+
* import { Graphviz } from "@hpcc-js/wasm/zstd";
|
|
9
|
+
*
|
|
10
|
+
* const zstd = await Zstd.load();
|
|
11
|
+
*
|
|
12
|
+
* // Generate some "data"
|
|
13
|
+
* const data = new Uint8Array(Array.from({ length: 100000 }, (_, i) => i % 256));
|
|
14
|
+
*
|
|
15
|
+
* const compressed_data = zstd.compress(data);
|
|
16
|
+
* const decompressed_data = zstd.decompress(compressed_data);
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
2
19
|
export declare class Zstd extends WasmLibrary {
|
|
3
20
|
private constructor();
|
|
4
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Compiles and instantiates the raw wasm.
|
|
23
|
+
*
|
|
24
|
+
* ::: info
|
|
25
|
+
* In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing `load` to be asynchronous;
|
|
26
|
+
* :::
|
|
27
|
+
*
|
|
28
|
+
* @returns A promise to an instance of the Zstd class.
|
|
29
|
+
*/
|
|
30
|
+
static load(): Promise<Zstd>;
|
|
31
|
+
/**
|
|
32
|
+
* @returns The Zstd c++ version
|
|
33
|
+
*/
|
|
5
34
|
version(): string;
|
|
35
|
+
/**
|
|
36
|
+
* @param data Data to be compressed
|
|
37
|
+
* @param compressionLevel Compression v Speed tradeoff, when omitted it will default to `zstd.defaultCLevel()` which is currently 3.
|
|
38
|
+
* @returns Compressed data.
|
|
39
|
+
*
|
|
40
|
+
* :::tip
|
|
41
|
+
* A note on compressionLevel: The library supports regular compression levels from 1 up o 22. Levels >= 20, should be used with caution, as they require more memory. The library also offers negative compression levels, which extend the range of speed vs. ratio preferences. The lower the level, the faster the speed (at the cost of compression).
|
|
42
|
+
* :::
|
|
43
|
+
*/
|
|
6
44
|
compress(data: Uint8Array, compressionLevel?: number): Uint8Array;
|
|
7
|
-
|
|
45
|
+
/**
|
|
46
|
+
* @param compressedData Data to be compressed
|
|
47
|
+
* @returns Uncompressed data.
|
|
48
|
+
*/
|
|
49
|
+
decompress(compressedData: Uint8Array): Uint8Array;
|
|
50
|
+
/**
|
|
51
|
+
* @returns Default compression level (see notes above above).
|
|
52
|
+
*/
|
|
8
53
|
defaultCLevel(): number;
|
|
9
54
|
minCLevel(): number;
|
|
10
55
|
maxCLevel(): number;
|
package/types/zstd.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zstd.d.ts","sourceRoot":"","sources":["../src/zstd.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"zstd.d.ts","sourceRoot":"","sources":["../src/zstd.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAOhD;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,IAAK,SAAQ,WAAW;IAEjC,OAAO;IAIP;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAS5B;;OAEG;IACH,OAAO,IAAI,MAAM;IAIjB;;;;;;;;OAQG;IACH,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,gBAAgB,GAAE,MAA6B,GAAG,UAAU;IAgBvF;;;OAGG;IACH,UAAU,CAAC,cAAc,EAAE,UAAU,GAAG,UAAU;IAmBlD;;OAEG;IACH,aAAa,IAAI,MAAM;IAIvB,SAAS,IAAI,MAAM;IAInB,SAAS,IAAI,MAAM;CAGtB"}
|
package/bin/dot-wasm.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dot-wasm.mjs","sources":["../src/__bin__/dot-wasm.mts"],"sourcesContent":["import fs from \"fs\";\r\nimport { exit } from \"process\";\r\nimport yargs from \"yargs\";\r\nimport { hideBin } from 'yargs/helpers'\r\nimport { graphviz, graphvizVersion, Ext, Format, Engine } from \"../index-node\";\r\n\r\nconst myYargs = yargs(hideBin(process.argv)) as yargs.Argv<{ vx: boolean, layout: Engine, format: Format, n: string }>;\r\nmyYargs\r\n .usage(\"Usage: dot-wasm [options] fileOrDot\")\r\n .demandCommand(0, 1)\r\n .example(\"dot-wasm -K neato -T xdot ./input.dot\", \"Execute NEATO layout and outputs XDOT format.\")\r\n .alias(\"K\", \"layout\")\r\n .nargs(\"K\", 1)\r\n .describe(\"K\", \"Set layout engine (circo | dot | fdp | sfdp | neato | osage | patchwork | twopi). By default, dot is used.\")\r\n .alias(\"T\", \"format\")\r\n .nargs(\"T\", 1)\r\n .describe(\"T\", \"Set output language to one of the supported formats (svg | dot | json | dot_json | xdot_json | plain | plain-ext). By default, svg is produced.\")\r\n .alias(\"n\", \"neato-no-op\")\r\n .nargs(\"n\", 1)\r\n .describe(\"n\", \"Sets no-op flag in neato. \\\"-n 1\\\" assumes neato nodes have already been positioned and all nodes have a pos attribute giving the positions. It then performs an optional adjustment to remove node-node overlap, depending on the value of the overlap attribute, computes the edge layouts, depending on the value of the splines attribute, and emits the graph in the appropriate format.\\n\\\"-n 2\\\" Use node positions as specified, with no adjustment to remove node-node overlaps, and use any edge layouts already specified by the pos attribute. neato computes an edge layout for any edge that does not have a pos attribute. As usual, edge layout is guided by the splines attribute.\")\r\n .alias(\"y\", \"invert-y\")\r\n .nargs(\"y\", 0)\r\n .describe(\"y\", \"By default, the coordinate system used in generic output formats, such as attributed dot, extended dot, plain and plain-ext, is the standard cartesian system with the origin in the lower left corner, and with increasing y coordinates as points move from bottom to top. If the -y flag is used, the coordinate system is inverted, so that increasing values of y correspond to movement from top to bottom.\")\r\n .nargs(\"v\", 0)\r\n .describe(\"v\", \"Echo GraphViz library version\")\r\n .help(\"h\")\r\n .alias(\"h\", \"help\")\r\n .epilog(\"https://github.com/hpcc-systems/hpcc-js-wasm\")\r\n ;\r\n\r\nconst argv = await myYargs.argv;\r\n\r\ntry {\r\n let dot;\r\n if (fs.existsSync(argv._[0] as string)) {\r\n dot = fs.readFileSync(argv._[0], \"utf8\");\r\n } else {\r\n dot = argv._[0] as string;\r\n }\r\n\r\n if (argv.v) {\r\n graphvizVersion().then(version => {\r\n console.log(`GraphViz version: ${version}`);\r\n }).catch(e => {\r\n console.error(e.message);\r\n exit(1);\r\n })\r\n } else if (dot) {\r\n\r\n if (argv.n && argv.layout.trim() !== \"neato\") {\r\n throw new Error(\"-n option is only supported with -T neato\");\r\n }\r\n\r\n const ext: Ext = {\r\n };\r\n if (argv.n) {\r\n ext.nop = parseInt(argv.n);\r\n }\r\n if (argv.y) {\r\n ext.yInvert = true;\r\n }\r\n\r\n graphviz.layout(dot, (argv.format?.trim() ?? \"svg\") as Format, (argv.layout?.trim() ?? \"dot\") as Engine, ext).then(response => {\r\n console.log(response);\r\n }).catch(e => {\r\n console.error(e.message);\r\n exit(1);\r\n });\r\n } else {\r\n throw new Error(\"'fileOrDot' is required.\")\r\n }\r\n} catch (e: any) {\r\n console.error(`Error: ${e?.message}\\n`);\r\n myYargs.showHelp();\r\n}\r\n"],"names":[],"mappings":";;;;;;AAMA,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAA2E,CAAC;AACvH,OAAO;KACF,KAAK,CAAC,qCAAqC,CAAC;AAC5C,KAAA,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC;AACnB,KAAA,OAAO,CAAC,uCAAuC,EAAE,+CAA+C,CAAC;AACjG,KAAA,KAAK,CAAC,GAAG,EAAE,QAAQ,CAAC;AACpB,KAAA,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;AACb,KAAA,QAAQ,CAAC,GAAG,EAAE,4GAA4G,CAAC;AAC3H,KAAA,KAAK,CAAC,GAAG,EAAE,QAAQ,CAAC;AACpB,KAAA,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;AACb,KAAA,QAAQ,CAAC,GAAG,EAAE,iJAAiJ,CAAC;AAChK,KAAA,KAAK,CAAC,GAAG,EAAE,aAAa,CAAC;AACzB,KAAA,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;AACb,KAAA,QAAQ,CAAC,GAAG,EAAE,sqBAAsqB,CAAC;AACrrB,KAAA,KAAK,CAAC,GAAG,EAAE,UAAU,CAAC;AACtB,KAAA,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;AACb,KAAA,QAAQ,CAAC,GAAG,EAAE,mZAAmZ,CAAC;AACla,KAAA,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;AACb,KAAA,QAAQ,CAAC,GAAG,EAAE,+BAA+B,CAAC;KAC9C,IAAI,CAAC,GAAG,CAAC;AACT,KAAA,KAAK,CAAC,GAAG,EAAE,M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AA;AAED,QAAA,QAAQ,CAAC,MAAM,CAAC,GAAG,GAAG,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,KAAK,IAAc,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,KAAK,GAAa,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,IAAG;AAC1H,YAAA,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AAC1B,SAAC,CAAC,CAAC,KAAK,CAAC,CAAC,IAAG;AACT,YAAA,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;YACzB,IAAI,CAAC,CAAC,CAAC,CAAC;AACZ,SAAC,CAAC,CAAC;AACN,KAAA;AAAM,SAAA;AACH,QAAA,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;AAC9C,KAAA;AACJ,CAAA;AAAC,OAAO,CAAM,EAAE;IACb,OAAO,CAAC,KAAK,CAAC,CAAA,QAAA,EAAW,CAAC,EAAE,OAAO,CAAI,EAAA,CAAA,CAAC,CAAC;IACzC,OAAO,CAAC,QAAQ,EAAE,CAAC;AACtB"}
|
package/bin/sfx-wasm.mjs
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import fs from 'fs';
|
|
2
|
-
import yargs from 'yargs';
|
|
3
|
-
import { hideBin } from 'yargs/helpers';
|
|
4
|
-
import { Zstd, Base91 } from '../dist/index.node.es6.mjs';
|
|
5
|
-
|
|
6
|
-
const myYargs = yargs(hideBin(process.argv));
|
|
7
|
-
myYargs
|
|
8
|
-
.usage("Usage: sfx-wasm [options] filePath")
|
|
9
|
-
.demandCommand(0, 1)
|
|
10
|
-
.example("sfx-wasm ./input.wasm", "Wrap file in a self extracting JavaScript file.")
|
|
11
|
-
.help("h")
|
|
12
|
-
.alias("h", "help")
|
|
13
|
-
.epilog("https://github.com/hpcc-systems/hpcc-js-wasm");
|
|
14
|
-
const argv = await myYargs.argv;
|
|
15
|
-
try {
|
|
16
|
-
const wasmPath = argv._[0];
|
|
17
|
-
let wasmContent;
|
|
18
|
-
if (fs.existsSync(wasmPath)) {
|
|
19
|
-
wasmContent = fs.readFileSync(wasmPath);
|
|
20
|
-
}
|
|
21
|
-
if (wasmContent) {
|
|
22
|
-
const zstd = await Zstd.load();
|
|
23
|
-
const compressed = zstd.compress(new Uint8Array(wasmContent));
|
|
24
|
-
const base91 = await Base91.load();
|
|
25
|
-
const str = base91.encode(compressed);
|
|
26
|
-
console.log(`\
|
|
27
|
-
import { extract } from "./extract";
|
|
28
|
-
import wrapper from "../${wasmPath.replace(".wasm", ".js")}";
|
|
29
|
-
|
|
30
|
-
const blobStr = '${str}';
|
|
31
|
-
|
|
32
|
-
let g_module;
|
|
33
|
-
export function loadWasm() {
|
|
34
|
-
if (!g_module) {
|
|
35
|
-
g_module = wrapper({
|
|
36
|
-
wasmBinary: extract(blobStr)
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
return g_module;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
`);
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
throw new Error("'filePath' is required.");
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
catch (e) {
|
|
49
|
-
console.error(`Error: ${e?.message}\n`);
|
|
50
|
-
myYargs.showHelp();
|
|
51
|
-
}
|
|
52
|
-
//# sourceMappingURL=sfx-wasm.mjs.map
|
package/bin/sfx-wasm.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sfx-wasm.mjs","sources":["../src/__bin__/sfx-wasm.mts"],"sourcesContent":["import fs from \"fs\";\r\nimport yargs from \"yargs\";\r\nimport { hideBin } from 'yargs/helpers'\r\nimport { Zstd, Base91 } from \"../index-node\";\r\n\r\nconst myYargs = yargs(hideBin(process.argv)) as yargs.Argv<{}>;\r\nmyYargs\r\n .usage(\"Usage: sfx-wasm [options] filePath\")\r\n .demandCommand(0, 1)\r\n .example(\"sfx-wasm ./input.wasm\", \"Wrap file in a self extracting JavaScript file.\")\r\n .help(\"h\")\r\n .alias(\"h\", \"help\")\r\n .epilog(\"https://github.com/hpcc-systems/hpcc-js-wasm\")\r\n ;\r\n\r\nconst argv = await myYargs.argv;\r\n\r\ntry {\r\n const wasmPath = argv._[0] as string;\r\n let wasmContent;\r\n if (fs.existsSync(wasmPath)) {\r\n wasmContent = fs.readFileSync(wasmPath);\r\n }\r\n if (wasmContent) {\r\n const zstd = await Zstd.load();\r\n const compressed = zstd.compress(new Uint8Array(wasmContent))\r\n const base91 = await Base91.load();\r\n const str = base91.encode(compressed);\r\n console.log(`\\\r\nimport { extract } from \"./extract\";\r\nimport wrapper from \"../${wasmPath.replace(\".wasm\", \".js\")}\";\r\n\r\nconst blobStr = '${str}';\r\n\r\nlet g_module;\r\nexport function loadWasm() {\r\n if (!g_module) {\r\n g_module = wrapper({\r\n wasmBinary: extract(blobStr)\r\n });\r\n }\r\n return g_module;\r\n}\r\n\r\n `);\r\n } else {\r\n throw new Error(\"'filePath' is required.\")\r\n }\r\n} catch (e: any) {\r\n console.error(`Error: ${e?.message}\\n`);\r\n myYargs.showHelp();\r\n}\r\n"],"names":[],"mappings":";;;;;AAKA,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAmB,CAAC;AAC/D,OAAO;KACF,KAAK,CAAC,oCAAoC,CAAC;AAC3C,KAAA,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC;AACnB,KAAA,OAAO,CAAC,uBAAuB,EAAE,iDAAiD,CAAC;KACnF,IAAI,CAAC,GAAG,CAAC;AACT,KAAA,KAAK,CAAC,GAAG,EAAE,MAAM,CAAC;KAClB,MAAM,CAAC,8CAA8C,CAAC,CACtD;AAEL,MAAM,IAAI,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC;AAEhC,IAAI;IACA,MAAM,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,CAAW,CAAC;AACrC,IAAA,IAAI,WAAW,CAAC;AAChB,IAAA,IAAI,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;AACzB,QAAA,WAAW,GAAG,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;AAC3C,KAAA;AACD,IAAA,IAAI,WAAW,EAAE;AACb,QAAA,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC;AAC/B,QAAA,MAAM,UAAU,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,UAAU,CAAC,WAAW,CAAC,CAAC,CAAA;AAC7D,QAAA,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,IAAI,EAAE,CAAC;QACnC,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,OAAO,CAAC,GAAG,CAAC,CAAA;;AAEM,wBAAA,EAAA,QAAQ,CAAC,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;;mBAEvC,GAAG,CAAA;;;;;;;;;;;;AAYb,QAAA,CAAA,CAAC,CAAC;AACN,KAAA;AAAM,SAAA;AACH,QAAA,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAA;AAC7C,KAAA;AACJ,CAAA;AAAC,OAAO,CAAM,EAAE;IACb,OAAO,CAAC,KAAK,CAAC,CAAA,QAAA,EAAW,CAAC,EAAE,OAAO,CAAI,EAAA,CAAA,CAAC,CAAC;IACzC,OAAO,CAAC,QAAQ,EAAE,CAAC;AACtB"}
|
package/dist/base91lib.wasm
DELETED
|
Binary file
|
package/dist/expat.es6.js
DELETED
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
var cpp = (() => {
|
|
2
|
-
typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;
|
|
3
|
-
|
|
4
|
-
return (
|
|
5
|
-
function(cpp) {
|
|
6
|
-
cpp = cpp || {};
|
|
7
|
-
|
|
8
|
-
var Module=typeof cpp!="undefined"?cpp:{};var readyPromiseResolve,readyPromiseReject;Module["ready"]=new Promise(function(resolve,reject){readyPromiseResolve=resolve;readyPromiseReject=reject;});var moduleOverrides=Object.assign({},Module);var thisProgram="./this.program";var ENVIRONMENT_IS_WORKER=false;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var readBinary;var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);Object.assign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])Module["quit"];var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];Module["noExitRuntime"]||true;if(typeof WebAssembly!="object"){abort("no native wasm support detected");}var wasmMemory;var ABORT=false;function assert(condition,text){if(!condition){abort(text);}}var UTF8Decoder=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heapOrArray,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heapOrArray[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder){return UTF8Decoder.decode(heapOrArray.subarray(idx,endPtr))}var str="";while(idx<endPtr){var u0=heapOrArray[idx++];if(!(u0&128)){str+=String.fromCharCode(u0);continue}var u1=heapOrArray[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}var u2=heapOrArray[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2;}else {u0=(u0&7)<<18|u1<<12|u2<<6|heapOrArray[idx++]&63;}if(u0<65536){str+=String.fromCharCode(u0);}else {var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023);}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023;}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u;}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63;}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63;}else {if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63;}}heap[outIdx]=0;return outIdx-startIdx}function lengthBytesUTF8(str){var len=0;for(var i=0;i<str.length;++i){var c=str.charCodeAt(i);if(c<=127){len++;}else if(c<=2047){len+=2;}else if(c>=55296&&c<=57343){len+=4;++i;}else {len+=3;}}return len}var buffer,HEAP8,HEAPU8,HEAP32,HEAPU32,HEAPF64;function updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf);}Module["INITIAL_MEMORY"]||16777216;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[];function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift());}}callRuntimeCallbacks(__ATPRERUN__);}function initRuntime(){callRuntimeCallbacks(__ATINIT__);}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift());}}callRuntimeCallbacks(__ATPOSTRUN__);}function addOnPreRun(cb){__ATPRERUN__.unshift(cb);}function addOnInit(cb){__ATINIT__.unshift(cb);}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb);}var runDependencies=0;var dependenciesFulfilled=null;function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies);}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies);}if(runDependencies==0){if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback();}}}function abort(what){{if(Module["onAbort"]){Module["onAbort"](what);}}what="Aborted("+what+")";err(what);ABORT=true;what+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(what);readyPromiseReject(e);throw e}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}function isFileURI(filename){return filename.startsWith("file://")}var wasmBinaryFile;wasmBinaryFile="expatlib.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile);}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary);throw "both async and sync fetching of the wasm failed"}catch(err){abort(err);}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WORKER)){if(typeof fetch=="function"&&!isFileURI(wasmBinaryFile)){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw "failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary(wasmBinaryFile)})}}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmMemory=Module["asm"]["m"];updateGlobalBufferAndViews(wasmMemory.buffer);Module["asm"]["G"];addOnInit(Module["asm"]["n"]);removeRunDependency();}addRunDependency();function receiveInstantiationResult(result){receiveInstance(result["instance"]);}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(function(instance){return instance}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason);})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming=="function"&&!isDataURI(wasmBinaryFile)&&!isFileURI(wasmBinaryFile)&&typeof fetch=="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiationResult,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiationResult)})})}else {return instantiateArrayBuffer(receiveInstantiationResult)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);readyPromiseReject(e);}}instantiateAsync().catch(readyPromiseReject);return {}}var ASM_CONSTS={11554:$0=>{var self=Module["getCache"](Module["CExpatJS"])[$0];if(!self.hasOwnProperty("startElement"))throw "a JSImplementation must implement all functions, you forgot CExpatJS::startElement.";self["startElement"]();},11772:$0=>{var self=Module["getCache"](Module["CExpatJS"])[$0];if(!self.hasOwnProperty("endElement"))throw "a JSImplementation must implement all functions, you forgot CExpatJS::endElement.";self["endElement"]();},11984:$0=>{var self=Module["getCache"](Module["CExpatJS"])[$0];if(!self.hasOwnProperty("characterData"))throw "a JSImplementation must implement all functions, you forgot CExpatJS::characterData.";self["characterData"]();}};function callRuntimeCallbacks(callbacks){while(callbacks.length>0){callbacks.shift()(Module);}}function ___syscall_openat(dirfd,path,flags,varargs){}function _abort(){abort("");}var readAsmConstArgsArray=[];function readAsmConstArgs(sigPtr,buf){readAsmConstArgsArray.length=0;var ch;buf>>=2;while(ch=HEAPU8[sigPtr++]){buf+=ch!=105&buf;readAsmConstArgsArray.push(ch==105?HEAP32[buf]:HEAPF64[buf++>>1]);++buf;}return readAsmConstArgsArray}function _emscripten_asm_const_int(code,sigPtr,argbuf){var args=readAsmConstArgs(sigPtr,argbuf);return ASM_CONSTS[code].apply(null,args)}function _emscripten_date_now(){return Date.now()}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num);}function getHeapMax(){return 2147483648}function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;var maxHeapSize=getHeapMax();if(requestedSize>maxHeapSize){return false}let alignUp=(x,multiple)=>x+(multiple-x%multiple)%multiple;for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var ENV={};function getExecutableName(){return thisProgram||"./this.program"}function getEnvStrings(){if(!getEnvStrings.strings){var lang=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";var env={"USER":"web_user","LOGNAME":"web_user","PATH":"/","PWD":"/","HOME":"/home/web_user","LANG":lang,"_":getExecutableName()};for(var x in ENV){if(ENV[x]===undefined)delete env[x];else env[x]=ENV[x];}var strings=[];for(var x in env){strings.push(x+"="+env[x]);}getEnvStrings.strings=strings;}return getEnvStrings.strings}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i<str.length;++i){HEAP8[buffer++>>0]=str.charCodeAt(i);}if(!dontAddNull)HEAP8[buffer>>0]=0;}function _environ_get(__environ,environ_buf){var bufSize=0;getEnvStrings().forEach(function(string,i){var ptr=environ_buf+bufSize;HEAPU32[__environ+i*4>>2]=ptr;writeAsciiToMemory(string,ptr);bufSize+=string.length+1;});return 0}function _environ_sizes_get(penviron_count,penviron_buf_size){var strings=getEnvStrings();HEAPU32[penviron_count>>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1;});HEAPU32[penviron_buf_size>>2]=bufSize;return 0}function _fd_close(fd){return 52}function _fd_read(fd,iov,iovcnt,pnum){return 52}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){return 70}var printCharBuffers=[null,[],[]];function printChar(stream,curr){var buffer=printCharBuffers[stream];if(curr===0||curr===10){(stream===1?out:err)(UTF8ArrayToString(buffer,0));buffer.length=0;}else {buffer.push(curr);}}function _fd_write(fd,iov,iovcnt,pnum){var num=0;for(var i=0;i<iovcnt;i++){var ptr=HEAPU32[iov>>2];var len=HEAPU32[iov+4>>2];iov+=8;for(var j=0;j<len;j++){printChar(fd,HEAPU8[ptr+j]);}num+=len;}HEAPU32[pnum>>2]=num;return 0}function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}var asmLibraryArg={"g":___syscall_openat,"c":_abort,"a":_emscripten_asm_const_int,"j":_emscripten_date_now,"k":_emscripten_memcpy_big,"e":_emscripten_resize_heap,"h":_environ_get,"i":_environ_sizes_get,"d":_fd_close,"f":_fd_read,"l":_fd_seek,"b":_fd_write};createWasm();Module["___wasm_call_ctors"]=function(){return (Module["___wasm_call_ctors"]=Module["asm"]["n"]).apply(null,arguments)};var _emscripten_bind_CExpat_CExpat_0=Module["_emscripten_bind_CExpat_CExpat_0"]=function(){return (_emscripten_bind_CExpat_CExpat_0=Module["_emscripten_bind_CExpat_CExpat_0"]=Module["asm"]["o"]).apply(null,arguments)};var _emscripten_bind_CExpat_version_0=Module["_emscripten_bind_CExpat_version_0"]=function(){return (_emscripten_bind_CExpat_version_0=Module["_emscripten_bind_CExpat_version_0"]=Module["asm"]["p"]).apply(null,arguments)};var _emscripten_bind_CExpat_create_0=Module["_emscripten_bind_CExpat_create_0"]=function(){return (_emscripten_bind_CExpat_create_0=Module["_emscripten_bind_CExpat_create_0"]=Module["asm"]["q"]).apply(null,arguments)};var _emscripten_bind_CExpat_destroy_0=Module["_emscripten_bind_CExpat_destroy_0"]=function(){return (_emscripten_bind_CExpat_destroy_0=Module["_emscripten_bind_CExpat_destroy_0"]=Module["asm"]["r"]).apply(null,arguments)};var _emscripten_bind_CExpat_parse_1=Module["_emscripten_bind_CExpat_parse_1"]=function(){return (_emscripten_bind_CExpat_parse_1=Module["_emscripten_bind_CExpat_parse_1"]=Module["asm"]["s"]).apply(null,arguments)};var _emscripten_bind_CExpat_tag_0=Module["_emscripten_bind_CExpat_tag_0"]=function(){return (_emscripten_bind_CExpat_tag_0=Module["_emscripten_bind_CExpat_tag_0"]=Module["asm"]["t"]).apply(null,arguments)};var _emscripten_bind_CExpat_attrs_0=Module["_emscripten_bind_CExpat_attrs_0"]=function(){return (_emscripten_bind_CExpat_attrs_0=Module["_emscripten_bind_CExpat_attrs_0"]=Module["asm"]["u"]).apply(null,arguments)};var _emscripten_bind_CExpat_content_0=Module["_emscripten_bind_CExpat_content_0"]=function(){return (_emscripten_bind_CExpat_content_0=Module["_emscripten_bind_CExpat_content_0"]=Module["asm"]["v"]).apply(null,arguments)};var _emscripten_bind_CExpat_startElement_0=Module["_emscripten_bind_CExpat_startElement_0"]=function(){return (_emscripten_bind_CExpat_startElement_0=Module["_emscripten_bind_CExpat_startElement_0"]=Module["asm"]["w"]).apply(null,arguments)};var _emscripten_bind_CExpat_endElement_0=Module["_emscripten_bind_CExpat_endElement_0"]=function(){return (_emscripten_bind_CExpat_endElement_0=Module["_emscripten_bind_CExpat_endElement_0"]=Module["asm"]["x"]).apply(null,arguments)};var _emscripten_bind_CExpat_characterData_0=Module["_emscripten_bind_CExpat_characterData_0"]=function(){return (_emscripten_bind_CExpat_characterData_0=Module["_emscripten_bind_CExpat_characterData_0"]=Module["asm"]["y"]).apply(null,arguments)};var _emscripten_bind_CExpat___destroy___0=Module["_emscripten_bind_CExpat___destroy___0"]=function(){return (_emscripten_bind_CExpat___destroy___0=Module["_emscripten_bind_CExpat___destroy___0"]=Module["asm"]["z"]).apply(null,arguments)};var _emscripten_bind_VoidPtr___destroy___0=Module["_emscripten_bind_VoidPtr___destroy___0"]=function(){return (_emscripten_bind_VoidPtr___destroy___0=Module["_emscripten_bind_VoidPtr___destroy___0"]=Module["asm"]["A"]).apply(null,arguments)};var _emscripten_bind_CExpatJS_CExpatJS_0=Module["_emscripten_bind_CExpatJS_CExpatJS_0"]=function(){return (_emscripten_bind_CExpatJS_CExpatJS_0=Module["_emscripten_bind_CExpatJS_CExpatJS_0"]=Module["asm"]["B"]).apply(null,arguments)};var _emscripten_bind_CExpatJS_startElement_0=Module["_emscripten_bind_CExpatJS_startElement_0"]=function(){return (_emscripten_bind_CExpatJS_startElement_0=Module["_emscripten_bind_CExpatJS_startElement_0"]=Module["asm"]["C"]).apply(null,arguments)};var _emscripten_bind_CExpatJS_endElement_0=Module["_emscripten_bind_CExpatJS_endElement_0"]=function(){return (_emscripten_bind_CExpatJS_endElement_0=Module["_emscripten_bind_CExpatJS_endElement_0"]=Module["asm"]["D"]).apply(null,arguments)};var _emscripten_bind_CExpatJS_characterData_0=Module["_emscripten_bind_CExpatJS_characterData_0"]=function(){return (_emscripten_bind_CExpatJS_characterData_0=Module["_emscripten_bind_CExpatJS_characterData_0"]=Module["asm"]["E"]).apply(null,arguments)};var _emscripten_bind_CExpatJS___destroy___0=Module["_emscripten_bind_CExpatJS___destroy___0"]=function(){return (_emscripten_bind_CExpatJS___destroy___0=Module["_emscripten_bind_CExpatJS___destroy___0"]=Module["asm"]["F"]).apply(null,arguments)};Module["_malloc"]=function(){return (Module["_malloc"]=Module["asm"]["H"]).apply(null,arguments)};Module["___start_em_js"]=11456;Module["___stop_em_js"]=11554;var calledRun;dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller;};function run(args){if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();readyPromiseResolve(Module);if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun();}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("");},1);doRun();},1);}else {doRun();}}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()();}}run();function WrapperObject(){}WrapperObject.prototype=Object.create(WrapperObject.prototype);WrapperObject.prototype.constructor=WrapperObject;WrapperObject.prototype.__class__=WrapperObject;WrapperObject.__cache__={};Module["WrapperObject"]=WrapperObject;function getCache(__class__){return (__class__||WrapperObject).__cache__}Module["getCache"]=getCache;function wrapPointer(ptr,__class__){var cache=getCache(__class__);var ret=cache[ptr];if(ret)return ret;ret=Object.create((__class__||WrapperObject).prototype);ret.ptr=ptr;return cache[ptr]=ret}Module["wrapPointer"]=wrapPointer;function castObject(obj,__class__){return wrapPointer(obj.ptr,__class__)}Module["castObject"]=castObject;Module["NULL"]=wrapPointer(0);function destroy(obj){if(!obj["__destroy__"])throw "Error: Cannot destroy object. (Did you create it yourself?)";obj["__destroy__"]();delete getCache(obj.__class__)[obj.ptr];}Module["destroy"]=destroy;function compare(obj1,obj2){return obj1.ptr===obj2.ptr}Module["compare"]=compare;function getPointer(obj){return obj.ptr}Module["getPointer"]=getPointer;function getClass(obj){return obj.__class__}Module["getClass"]=getClass;var ensureCache={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(ensureCache.needed){for(var i=0;i<ensureCache.temps.length;i++){Module["_free"](ensureCache.temps[i]);}ensureCache.temps.length=0;Module["_free"](ensureCache.buffer);ensureCache.buffer=0;ensureCache.size+=ensureCache.needed;ensureCache.needed=0;}if(!ensureCache.buffer){ensureCache.size+=128;ensureCache.buffer=Module["_malloc"](ensureCache.size);assert(ensureCache.buffer);}ensureCache.pos=0;},alloc:function(array,view){assert(ensureCache.buffer);var bytes=view.BYTES_PER_ELEMENT;var len=array.length*bytes;len=len+7&-8;var ret;if(ensureCache.pos+len>=ensureCache.size){assert(len>0);ensureCache.needed+=len;ret=Module["_malloc"](len);ensureCache.temps.push(ret);}else {ret=ensureCache.buffer+ensureCache.pos;ensureCache.pos+=len;}return ret},copy:function(array,view,offset){offset>>>=0;var bytes=view.BYTES_PER_ELEMENT;switch(bytes){case 2:offset>>>=1;break;case 4:offset>>>=2;break;case 8:offset>>>=3;break}for(var i=0;i<array.length;i++){view[offset+i]=array[i];}}};function ensureString(value){if(typeof value==="string"){var intArray=intArrayFromString(value);var offset=ensureCache.alloc(intArray,HEAP8);ensureCache.copy(intArray,HEAP8,offset);return offset}return value}function CExpat(){this.ptr=_emscripten_bind_CExpat_CExpat_0();getCache(CExpat)[this.ptr]=this;}CExpat.prototype=Object.create(WrapperObject.prototype);CExpat.prototype.constructor=CExpat;CExpat.prototype.__class__=CExpat;CExpat.__cache__={};Module["CExpat"]=CExpat;CExpat.prototype["version"]=CExpat.prototype.version=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_CExpat_version_0(self))};CExpat.prototype["create"]=CExpat.prototype.create=function(){var self=this.ptr;return !!_emscripten_bind_CExpat_create_0(self)};CExpat.prototype["destroy"]=CExpat.prototype.destroy=function(){var self=this.ptr;_emscripten_bind_CExpat_destroy_0(self);};CExpat.prototype["parse"]=CExpat.prototype.parse=function(xml){var self=this.ptr;ensureCache.prepare();if(xml&&typeof xml==="object")xml=xml.ptr;else xml=ensureString(xml);return !!_emscripten_bind_CExpat_parse_1(self,xml)};CExpat.prototype["tag"]=CExpat.prototype.tag=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_CExpat_tag_0(self))};CExpat.prototype["attrs"]=CExpat.prototype.attrs=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_CExpat_attrs_0(self))};CExpat.prototype["content"]=CExpat.prototype.content=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_CExpat_content_0(self))};CExpat.prototype["startElement"]=CExpat.prototype.startElement=function(){var self=this.ptr;_emscripten_bind_CExpat_startElement_0(self);};CExpat.prototype["endElement"]=CExpat.prototype.endElement=function(){var self=this.ptr;_emscripten_bind_CExpat_endElement_0(self);};CExpat.prototype["characterData"]=CExpat.prototype.characterData=function(){var self=this.ptr;_emscripten_bind_CExpat_characterData_0(self);};CExpat.prototype["__destroy__"]=CExpat.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_CExpat___destroy___0(self);};function VoidPtr(){throw "cannot construct a VoidPtr, no constructor in IDL"}VoidPtr.prototype=Object.create(WrapperObject.prototype);VoidPtr.prototype.constructor=VoidPtr;VoidPtr.prototype.__class__=VoidPtr;VoidPtr.__cache__={};Module["VoidPtr"]=VoidPtr;VoidPtr.prototype["__destroy__"]=VoidPtr.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_VoidPtr___destroy___0(self);};function CExpatJS(){this.ptr=_emscripten_bind_CExpatJS_CExpatJS_0();getCache(CExpatJS)[this.ptr]=this;}CExpatJS.prototype=Object.create(CExpat.prototype);CExpatJS.prototype.constructor=CExpatJS;CExpatJS.prototype.__class__=CExpatJS;CExpatJS.__cache__={};Module["CExpatJS"]=CExpatJS;CExpatJS.prototype["startElement"]=CExpatJS.prototype.startElement=function(){var self=this.ptr;_emscripten_bind_CExpatJS_startElement_0(self);};CExpatJS.prototype["endElement"]=CExpatJS.prototype.endElement=function(){var self=this.ptr;_emscripten_bind_CExpatJS_endElement_0(self);};CExpatJS.prototype["characterData"]=CExpatJS.prototype.characterData=function(){var self=this.ptr;_emscripten_bind_CExpatJS_characterData_0(self);};CExpatJS.prototype["__destroy__"]=CExpatJS.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_CExpatJS___destroy___0(self);};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
return cpp.ready
|
|
12
|
-
}
|
|
13
|
-
);
|
|
14
|
-
})();
|
|
15
|
-
|
|
16
|
-
var expatlib = /*#__PURE__*/Object.freeze({
|
|
17
|
-
__proto__: null,
|
|
18
|
-
'default': cpp
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
const interop = {
|
|
22
|
-
doFetch: undefined,
|
|
23
|
-
scriptDir: undefined
|
|
24
|
-
};
|
|
25
|
-
let _wasmFolder = globalThis.__hpcc_wasmFolder || undefined;
|
|
26
|
-
function wasmFolder(_) {
|
|
27
|
-
if (!arguments.length)
|
|
28
|
-
return _wasmFolder;
|
|
29
|
-
const retVal = _wasmFolder;
|
|
30
|
-
_wasmFolder = _;
|
|
31
|
-
return retVal;
|
|
32
|
-
}
|
|
33
|
-
function trimEnd(str, charToRemove) {
|
|
34
|
-
while (str.charAt(str.length - 1) === charToRemove) {
|
|
35
|
-
str = str.substring(0, str.length - 1);
|
|
36
|
-
}
|
|
37
|
-
return str;
|
|
38
|
-
}
|
|
39
|
-
function trimStart(str, charToRemove) {
|
|
40
|
-
while (str.charAt(0) === charToRemove) {
|
|
41
|
-
str = str.substring(1);
|
|
42
|
-
}
|
|
43
|
-
return str;
|
|
44
|
-
}
|
|
45
|
-
const g_wasmCache = {};
|
|
46
|
-
async function _loadWasm(_wasmLib, wasmUrl, wasmBinary) {
|
|
47
|
-
const wasmLib = _wasmLib.default || _wasmLib;
|
|
48
|
-
if (!wasmBinary && interop.doFetch) {
|
|
49
|
-
wasmBinary = await interop.doFetch(wasmUrl);
|
|
50
|
-
}
|
|
51
|
-
return await wasmLib({
|
|
52
|
-
"wasmBinary": wasmBinary,
|
|
53
|
-
locateFile: (path, scriptDirectory) => {
|
|
54
|
-
return wasmUrl;
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
async function loadWasm(_wasmLib, filename, wf, wasmBinary) {
|
|
59
|
-
const wasmUrl = `${trimEnd(wf || wasmFolder() || interop.scriptDir || ".", "/")}/${trimStart(`${filename}.wasm`, "/")}`;
|
|
60
|
-
if (!g_wasmCache[wasmUrl]) {
|
|
61
|
-
g_wasmCache[wasmUrl] = _loadWasm(_wasmLib, wasmUrl, wasmBinary);
|
|
62
|
-
}
|
|
63
|
-
return g_wasmCache[wasmUrl];
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
// @ts-ignore
|
|
67
|
-
class StackElement {
|
|
68
|
-
constructor(tag, attrs) {
|
|
69
|
-
this.tag = tag;
|
|
70
|
-
this.attrs = attrs;
|
|
71
|
-
this._content = "";
|
|
72
|
-
}
|
|
73
|
-
get content() {
|
|
74
|
-
return this._content;
|
|
75
|
-
}
|
|
76
|
-
appendContent(content) {
|
|
77
|
-
this._content += content;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
class StackParser {
|
|
81
|
-
constructor() {
|
|
82
|
-
this._stack = [];
|
|
83
|
-
}
|
|
84
|
-
parse(xml, wasmFolder, wasmBinary) {
|
|
85
|
-
return parse(xml, this, wasmFolder, wasmBinary);
|
|
86
|
-
}
|
|
87
|
-
top() {
|
|
88
|
-
return this._stack[this._stack.length - 1];
|
|
89
|
-
}
|
|
90
|
-
startElement(tag, attrs) {
|
|
91
|
-
const retVal = new StackElement(tag, attrs);
|
|
92
|
-
this._stack.push(retVal);
|
|
93
|
-
return retVal;
|
|
94
|
-
}
|
|
95
|
-
endElement(tag) {
|
|
96
|
-
return this._stack.pop();
|
|
97
|
-
}
|
|
98
|
-
characterData(content) {
|
|
99
|
-
this.top().appendContent(content);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
function parseAttrs(attrs) {
|
|
103
|
-
const retVal = {};
|
|
104
|
-
const keys = attrs;
|
|
105
|
-
const sep = `${String.fromCharCode(1)}`;
|
|
106
|
-
const sep2 = `${sep}${sep}`;
|
|
107
|
-
keys.split(sep2).filter((key) => !!key).forEach((key) => {
|
|
108
|
-
const parts = key.split(sep);
|
|
109
|
-
retVal[parts[0]] = parts[1];
|
|
110
|
-
});
|
|
111
|
-
return retVal;
|
|
112
|
-
}
|
|
113
|
-
function expatVersion(wasmFolder, wasmBinary) {
|
|
114
|
-
return loadWasm(expatlib, "expatlib", wasmFolder, wasmBinary).then(module => {
|
|
115
|
-
return module.CExpat.prototype.version();
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
function parse(xml, callback, wasmFolder, wasmBinary) {
|
|
119
|
-
return loadWasm(expatlib, "expatlib", wasmFolder, wasmBinary).then(module => {
|
|
120
|
-
const parser = new module.CExpatJS();
|
|
121
|
-
parser.startElement = function () {
|
|
122
|
-
callback.startElement(this.tag(), parseAttrs(this.attrs()));
|
|
123
|
-
};
|
|
124
|
-
parser.endElement = function () {
|
|
125
|
-
callback.endElement(this.tag());
|
|
126
|
-
};
|
|
127
|
-
parser.characterData = function () {
|
|
128
|
-
callback.characterData(this.content());
|
|
129
|
-
};
|
|
130
|
-
parser.create();
|
|
131
|
-
const retVal = parser.parse(xml);
|
|
132
|
-
parser.destroy();
|
|
133
|
-
module.destroy(parser);
|
|
134
|
-
return retVal;
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export { StackElement, StackParser, expatVersion, parse };
|
|
139
|
-
//# sourceMappingURL=expat.es6.js.map
|
package/dist/expat.es6.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"expat.es6.js","sources":["../build/cpp/expat/expatlib/expatlib.js","../src/util.ts","../src/expat.ts"],"sourcesContent":["\nvar cpp = (() => {\n var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;\n \n return (\nfunction(cpp) {\n cpp = cpp || {};\n\nvar Module=typeof cpp!=\"undefined\"?cpp:{};var readyPromiseResolve,readyPromiseReject;Module[\"ready\"]=new Promise(function(resolve,reject){readyPromiseResolve=resolve;readyPromiseReject=reject});var moduleOverrides=Object.assign({},Module);var arguments_=[];var thisProgram=\"./this.program\";var quit_=(status,toThrow)=>{throw toThrow};var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var scriptDirectory=\"\";function locateFile(path){if(Module[\"locateFile\"]){return Module[\"locateFile\"](path,scriptDirectory)}return scriptDirectory+path}var readAsync,readBinary;{}var out=Module[\"print\"]||console.log.bind(console);var err=Module[\"printErr\"]||console.warn.bind(console);Object.assign(Module,moduleOverrides);moduleOverrides=null;if(Module[\"arguments\"])arguments_=Module[\"arguments\"];if(Module[\"thisProgram\"])thisProgram=Module[\"thisProgram\"];if(Module[\"quit\"])quit_=Module[\"quit\"];var wasmBinary;if(Module[\"wasmBinary\"])wasmBinary=Module[\"wasmBinary\"];var noExitRuntime=Module[\"noExitRuntime\"]||true;if(typeof WebAssembly!=\"object\"){abort(\"no native wasm support detected\")}var wasmMemory;var ABORT=false;var EXITSTATUS;function assert(condition,text){if(!condition){abort(text)}}var UTF8Decoder=typeof TextDecoder!=\"undefined\"?new TextDecoder(\"utf8\"):undefined;function UTF8ArrayToString(heapOrArray,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heapOrArray[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder){return UTF8Decoder.decode(heapOrArray.subarray(idx,endPtr))}var str=\"\";while(idx<endPtr){var u0=heapOrArray[idx++];if(!(u0&128)){str+=String.fromCharCode(u0);continue}var u1=heapOrArray[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}var u2=heapOrArray[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u0=(u0&7)<<18|u1<<12|u2<<6|heapOrArray[idx++]&63}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):\"\"}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function lengthBytesUTF8(str){var len=0;for(var i=0;i<str.length;++i){var c=str.charCodeAt(i);if(c<=127){len++}else if(c<=2047){len+=2}else if(c>=55296&&c<=57343){len+=4;++i}else{len+=3}}return len}var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferAndViews(buf){buffer=buf;Module[\"HEAP8\"]=HEAP8=new Int8Array(buf);Module[\"HEAP16\"]=HEAP16=new Int16Array(buf);Module[\"HEAP32\"]=HEAP32=new Int32Array(buf);Module[\"HEAPU8\"]=HEAPU8=new Uint8Array(buf);Module[\"HEAPU16\"]=HEAPU16=new Uint16Array(buf);Module[\"HEAPU32\"]=HEAPU32=new Uint32Array(buf);Module[\"HEAPF32\"]=HEAPF32=new Float32Array(buf);Module[\"HEAPF64\"]=HEAPF64=new Float64Array(buf)}var INITIAL_MEMORY=Module[\"INITIAL_MEMORY\"]||16777216;var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;function preRun(){if(Module[\"preRun\"]){if(typeof Module[\"preRun\"]==\"function\")Module[\"preRun\"]=[Module[\"preRun\"]];while(Module[\"preRun\"].length){addOnPreRun(Module[\"preRun\"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function postRun(){if(Module[\"postRun\"]){if(typeof Module[\"postRun\"]==\"function\")Module[\"postRun\"]=[Module[\"postRun\"]];while(Module[\"postRun\"].length){addOnPostRun(Module[\"postRun\"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function addRunDependency(id){runDependencies++;if(Module[\"monitorRunDependencies\"]){Module[\"monitorRunDependencies\"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module[\"monitorRunDependencies\"]){Module[\"monitorRunDependencies\"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}function abort(what){{if(Module[\"onAbort\"]){Module[\"onAbort\"](what)}}what=\"Aborted(\"+what+\")\";err(what);ABORT=true;EXITSTATUS=1;what+=\". Build with -sASSERTIONS for more info.\";var e=new WebAssembly.RuntimeError(what);readyPromiseReject(e);throw e}var dataURIPrefix=\"data:application/octet-stream;base64,\";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}function isFileURI(filename){return filename.startsWith(\"file://\")}var wasmBinaryFile;wasmBinaryFile=\"expatlib.wasm\";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}throw\"both async and sync fetching of the wasm failed\"}catch(err){abort(err)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch==\"function\"&&!isFileURI(wasmBinaryFile)){return fetch(wasmBinaryFile,{credentials:\"same-origin\"}).then(function(response){if(!response[\"ok\"]){throw\"failed to load wasm binary file at '\"+wasmBinaryFile+\"'\"}return response[\"arrayBuffer\"]()}).catch(function(){return getBinary(wasmBinaryFile)})}else{if(readAsync){return new Promise(function(resolve,reject){readAsync(wasmBinaryFile,function(response){resolve(new Uint8Array(response))},reject)})}}}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var info={\"a\":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module[\"asm\"]=exports;wasmMemory=Module[\"asm\"][\"m\"];updateGlobalBufferAndViews(wasmMemory.buffer);wasmTable=Module[\"asm\"][\"G\"];addOnInit(Module[\"asm\"][\"n\"]);removeRunDependency(\"wasm-instantiate\")}addRunDependency(\"wasm-instantiate\");function receiveInstantiationResult(result){receiveInstance(result[\"instance\"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(function(instance){return instance}).then(receiver,function(reason){err(\"failed to asynchronously prepare wasm: \"+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==\"function\"&&!isDataURI(wasmBinaryFile)&&!isFileURI(wasmBinaryFile)&&typeof fetch==\"function\"){return fetch(wasmBinaryFile,{credentials:\"same-origin\"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiationResult,function(reason){err(\"wasm streaming compile failed: \"+reason);err(\"falling back to ArrayBuffer instantiation\");return instantiateArrayBuffer(receiveInstantiationResult)})})}else{return instantiateArrayBuffer(receiveInstantiationResult)}}if(Module[\"instantiateWasm\"]){try{var exports=Module[\"instantiateWasm\"](info,receiveInstance);return exports}catch(e){err(\"Module.instantiateWasm callback failed with error: \"+e);readyPromiseReject(e)}}instantiateAsync().catch(readyPromiseReject);return{}}var ASM_CONSTS={11554:$0=>{var self=Module[\"getCache\"](Module[\"CExpatJS\"])[$0];if(!self.hasOwnProperty(\"startElement\"))throw\"a JSImplementation must implement all functions, you forgot CExpatJS::startElement.\";self[\"startElement\"]()},11772:$0=>{var self=Module[\"getCache\"](Module[\"CExpatJS\"])[$0];if(!self.hasOwnProperty(\"endElement\"))throw\"a JSImplementation must implement all functions, you forgot CExpatJS::endElement.\";self[\"endElement\"]()},11984:$0=>{var self=Module[\"getCache\"](Module[\"CExpatJS\"])[$0];if(!self.hasOwnProperty(\"characterData\"))throw\"a JSImplementation must implement all functions, you forgot CExpatJS::characterData.\";self[\"characterData\"]()}};function callRuntimeCallbacks(callbacks){while(callbacks.length>0){callbacks.shift()(Module)}}var SYSCALLS={varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret}};function ___syscall_openat(dirfd,path,flags,varargs){SYSCALLS.varargs=varargs}function _abort(){abort(\"\")}var readAsmConstArgsArray=[];function readAsmConstArgs(sigPtr,buf){readAsmConstArgsArray.length=0;var ch;buf>>=2;while(ch=HEAPU8[sigPtr++]){buf+=ch!=105&buf;readAsmConstArgsArray.push(ch==105?HEAP32[buf]:HEAPF64[buf++>>1]);++buf}return readAsmConstArgsArray}function _emscripten_asm_const_int(code,sigPtr,argbuf){var args=readAsmConstArgs(sigPtr,argbuf);return ASM_CONSTS[code].apply(null,args)}function _emscripten_date_now(){return Date.now()}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function getHeapMax(){return 2147483648}function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;var maxHeapSize=getHeapMax();if(requestedSize>maxHeapSize){return false}let alignUp=(x,multiple)=>x+(multiple-x%multiple)%multiple;for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var ENV={};function getExecutableName(){return thisProgram||\"./this.program\"}function getEnvStrings(){if(!getEnvStrings.strings){var lang=(typeof navigator==\"object\"&&navigator.languages&&navigator.languages[0]||\"C\").replace(\"-\",\"_\")+\".UTF-8\";var env={\"USER\":\"web_user\",\"LOGNAME\":\"web_user\",\"PATH\":\"/\",\"PWD\":\"/\",\"HOME\":\"/home/web_user\",\"LANG\":lang,\"_\":getExecutableName()};for(var x in ENV){if(ENV[x]===undefined)delete env[x];else env[x]=ENV[x]}var strings=[];for(var x in env){strings.push(x+\"=\"+env[x])}getEnvStrings.strings=strings}return getEnvStrings.strings}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i<str.length;++i){HEAP8[buffer++>>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}function _environ_get(__environ,environ_buf){var bufSize=0;getEnvStrings().forEach(function(string,i){var ptr=environ_buf+bufSize;HEAPU32[__environ+i*4>>2]=ptr;writeAsciiToMemory(string,ptr);bufSize+=string.length+1});return 0}function _environ_sizes_get(penviron_count,penviron_buf_size){var strings=getEnvStrings();HEAPU32[penviron_count>>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAPU32[penviron_buf_size>>2]=bufSize;return 0}function _fd_close(fd){return 52}function _fd_read(fd,iov,iovcnt,pnum){return 52}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){return 70}var printCharBuffers=[null,[],[]];function printChar(stream,curr){var buffer=printCharBuffers[stream];if(curr===0||curr===10){(stream===1?out:err)(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}}function _fd_write(fd,iov,iovcnt,pnum){var num=0;for(var i=0;i<iovcnt;i++){var ptr=HEAPU32[iov>>2];var len=HEAPU32[iov+4>>2];iov+=8;for(var j=0;j<len;j++){printChar(fd,HEAPU8[ptr+j])}num+=len}HEAPU32[pnum>>2]=num;return 0}function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}var asmLibraryArg={\"g\":___syscall_openat,\"c\":_abort,\"a\":_emscripten_asm_const_int,\"j\":_emscripten_date_now,\"k\":_emscripten_memcpy_big,\"e\":_emscripten_resize_heap,\"h\":_environ_get,\"i\":_environ_sizes_get,\"d\":_fd_close,\"f\":_fd_read,\"l\":_fd_seek,\"b\":_fd_write};var asm=createWasm();var ___wasm_call_ctors=Module[\"___wasm_call_ctors\"]=function(){return(___wasm_call_ctors=Module[\"___wasm_call_ctors\"]=Module[\"asm\"][\"n\"]).apply(null,arguments)};var _emscripten_bind_CExpat_CExpat_0=Module[\"_emscripten_bind_CExpat_CExpat_0\"]=function(){return(_emscripten_bind_CExpat_CExpat_0=Module[\"_emscripten_bind_CExpat_CExpat_0\"]=Module[\"asm\"][\"o\"]).apply(null,arguments)};var _emscripten_bind_CExpat_version_0=Module[\"_emscripten_bind_CExpat_version_0\"]=function(){return(_emscripten_bind_CExpat_version_0=Module[\"_emscripten_bind_CExpat_version_0\"]=Module[\"asm\"][\"p\"]).apply(null,arguments)};var _emscripten_bind_CExpat_create_0=Module[\"_emscripten_bind_CExpat_create_0\"]=function(){return(_emscripten_bind_CExpat_create_0=Module[\"_emscripten_bind_CExpat_create_0\"]=Module[\"asm\"][\"q\"]).apply(null,arguments)};var _emscripten_bind_CExpat_destroy_0=Module[\"_emscripten_bind_CExpat_destroy_0\"]=function(){return(_emscripten_bind_CExpat_destroy_0=Module[\"_emscripten_bind_CExpat_destroy_0\"]=Module[\"asm\"][\"r\"]).apply(null,arguments)};var _emscripten_bind_CExpat_parse_1=Module[\"_emscripten_bind_CExpat_parse_1\"]=function(){return(_emscripten_bind_CExpat_parse_1=Module[\"_emscripten_bind_CExpat_parse_1\"]=Module[\"asm\"][\"s\"]).apply(null,arguments)};var _emscripten_bind_CExpat_tag_0=Module[\"_emscripten_bind_CExpat_tag_0\"]=function(){return(_emscripten_bind_CExpat_tag_0=Module[\"_emscripten_bind_CExpat_tag_0\"]=Module[\"asm\"][\"t\"]).apply(null,arguments)};var _emscripten_bind_CExpat_attrs_0=Module[\"_emscripten_bind_CExpat_attrs_0\"]=function(){return(_emscripten_bind_CExpat_attrs_0=Module[\"_emscripten_bind_CExpat_attrs_0\"]=Module[\"asm\"][\"u\"]).apply(null,arguments)};var _emscripten_bind_CExpat_content_0=Module[\"_emscripten_bind_CExpat_content_0\"]=function(){return(_emscripten_bind_CExpat_content_0=Module[\"_emscripten_bind_CExpat_content_0\"]=Module[\"asm\"][\"v\"]).apply(null,arguments)};var _emscripten_bind_CExpat_startElement_0=Module[\"_emscripten_bind_CExpat_startElement_0\"]=function(){return(_emscripten_bind_CExpat_startElement_0=Module[\"_emscripten_bind_CExpat_startElement_0\"]=Module[\"asm\"][\"w\"]).apply(null,arguments)};var _emscripten_bind_CExpat_endElement_0=Module[\"_emscripten_bind_CExpat_endElement_0\"]=function(){return(_emscripten_bind_CExpat_endElement_0=Module[\"_emscripten_bind_CExpat_endElement_0\"]=Module[\"asm\"][\"x\"]).apply(null,arguments)};var _emscripten_bind_CExpat_characterData_0=Module[\"_emscripten_bind_CExpat_characterData_0\"]=function(){return(_emscripten_bind_CExpat_characterData_0=Module[\"_emscripten_bind_CExpat_characterData_0\"]=Module[\"asm\"][\"y\"]).apply(null,arguments)};var _emscripten_bind_CExpat___destroy___0=Module[\"_emscripten_bind_CExpat___destroy___0\"]=function(){return(_emscripten_bind_CExpat___destroy___0=Module[\"_emscripten_bind_CExpat___destroy___0\"]=Module[\"asm\"][\"z\"]).apply(null,arguments)};var _emscripten_bind_VoidPtr___destroy___0=Module[\"_emscripten_bind_VoidPtr___destroy___0\"]=function(){return(_emscripten_bind_VoidPtr___destroy___0=Module[\"_emscripten_bind_VoidPtr___destroy___0\"]=Module[\"asm\"][\"A\"]).apply(null,arguments)};var _emscripten_bind_CExpatJS_CExpatJS_0=Module[\"_emscripten_bind_CExpatJS_CExpatJS_0\"]=function(){return(_emscripten_bind_CExpatJS_CExpatJS_0=Module[\"_emscripten_bind_CExpatJS_CExpatJS_0\"]=Module[\"asm\"][\"B\"]).apply(null,arguments)};var _emscripten_bind_CExpatJS_startElement_0=Module[\"_emscripten_bind_CExpatJS_startElement_0\"]=function(){return(_emscripten_bind_CExpatJS_startElement_0=Module[\"_emscripten_bind_CExpatJS_startElement_0\"]=Module[\"asm\"][\"C\"]).apply(null,arguments)};var _emscripten_bind_CExpatJS_endElement_0=Module[\"_emscripten_bind_CExpatJS_endElement_0\"]=function(){return(_emscripten_bind_CExpatJS_endElement_0=Module[\"_emscripten_bind_CExpatJS_endElement_0\"]=Module[\"asm\"][\"D\"]).apply(null,arguments)};var _emscripten_bind_CExpatJS_characterData_0=Module[\"_emscripten_bind_CExpatJS_characterData_0\"]=function(){return(_emscripten_bind_CExpatJS_characterData_0=Module[\"_emscripten_bind_CExpatJS_characterData_0\"]=Module[\"asm\"][\"E\"]).apply(null,arguments)};var _emscripten_bind_CExpatJS___destroy___0=Module[\"_emscripten_bind_CExpatJS___destroy___0\"]=function(){return(_emscripten_bind_CExpatJS___destroy___0=Module[\"_emscripten_bind_CExpatJS___destroy___0\"]=Module[\"asm\"][\"F\"]).apply(null,arguments)};var _malloc=Module[\"_malloc\"]=function(){return(_malloc=Module[\"_malloc\"]=Module[\"asm\"][\"H\"]).apply(null,arguments)};var ___start_em_js=Module[\"___start_em_js\"]=11456;var ___stop_em_js=Module[\"___stop_em_js\"]=11554;var calledRun;dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module[\"calledRun\"]=true;if(ABORT)return;initRuntime();readyPromiseResolve(Module);if(Module[\"onRuntimeInitialized\"])Module[\"onRuntimeInitialized\"]();postRun()}if(Module[\"setStatus\"]){Module[\"setStatus\"](\"Running...\");setTimeout(function(){setTimeout(function(){Module[\"setStatus\"](\"\")},1);doRun()},1)}else{doRun()}}if(Module[\"preInit\"]){if(typeof Module[\"preInit\"]==\"function\")Module[\"preInit\"]=[Module[\"preInit\"]];while(Module[\"preInit\"].length>0){Module[\"preInit\"].pop()()}}run();function WrapperObject(){}WrapperObject.prototype=Object.create(WrapperObject.prototype);WrapperObject.prototype.constructor=WrapperObject;WrapperObject.prototype.__class__=WrapperObject;WrapperObject.__cache__={};Module[\"WrapperObject\"]=WrapperObject;function getCache(__class__){return(__class__||WrapperObject).__cache__}Module[\"getCache\"]=getCache;function wrapPointer(ptr,__class__){var cache=getCache(__class__);var ret=cache[ptr];if(ret)return ret;ret=Object.create((__class__||WrapperObject).prototype);ret.ptr=ptr;return cache[ptr]=ret}Module[\"wrapPointer\"]=wrapPointer;function castObject(obj,__class__){return wrapPointer(obj.ptr,__class__)}Module[\"castObject\"]=castObject;Module[\"NULL\"]=wrapPointer(0);function destroy(obj){if(!obj[\"__destroy__\"])throw\"Error: Cannot destroy object. (Did you create it yourself?)\";obj[\"__destroy__\"]();delete getCache(obj.__class__)[obj.ptr]}Module[\"destroy\"]=destroy;function compare(obj1,obj2){return obj1.ptr===obj2.ptr}Module[\"compare\"]=compare;function getPointer(obj){return obj.ptr}Module[\"getPointer\"]=getPointer;function getClass(obj){return obj.__class__}Module[\"getClass\"]=getClass;var ensureCache={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(ensureCache.needed){for(var i=0;i<ensureCache.temps.length;i++){Module[\"_free\"](ensureCache.temps[i])}ensureCache.temps.length=0;Module[\"_free\"](ensureCache.buffer);ensureCache.buffer=0;ensureCache.size+=ensureCache.needed;ensureCache.needed=0}if(!ensureCache.buffer){ensureCache.size+=128;ensureCache.buffer=Module[\"_malloc\"](ensureCache.size);assert(ensureCache.buffer)}ensureCache.pos=0},alloc:function(array,view){assert(ensureCache.buffer);var bytes=view.BYTES_PER_ELEMENT;var len=array.length*bytes;len=len+7&-8;var ret;if(ensureCache.pos+len>=ensureCache.size){assert(len>0);ensureCache.needed+=len;ret=Module[\"_malloc\"](len);ensureCache.temps.push(ret)}else{ret=ensureCache.buffer+ensureCache.pos;ensureCache.pos+=len}return ret},copy:function(array,view,offset){offset>>>=0;var bytes=view.BYTES_PER_ELEMENT;switch(bytes){case 2:offset>>>=1;break;case 4:offset>>>=2;break;case 8:offset>>>=3;break}for(var i=0;i<array.length;i++){view[offset+i]=array[i]}}};function ensureString(value){if(typeof value===\"string\"){var intArray=intArrayFromString(value);var offset=ensureCache.alloc(intArray,HEAP8);ensureCache.copy(intArray,HEAP8,offset);return offset}return value}function CExpat(){this.ptr=_emscripten_bind_CExpat_CExpat_0();getCache(CExpat)[this.ptr]=this}CExpat.prototype=Object.create(WrapperObject.prototype);CExpat.prototype.constructor=CExpat;CExpat.prototype.__class__=CExpat;CExpat.__cache__={};Module[\"CExpat\"]=CExpat;CExpat.prototype[\"version\"]=CExpat.prototype.version=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_CExpat_version_0(self))};CExpat.prototype[\"create\"]=CExpat.prototype.create=function(){var self=this.ptr;return!!_emscripten_bind_CExpat_create_0(self)};CExpat.prototype[\"destroy\"]=CExpat.prototype.destroy=function(){var self=this.ptr;_emscripten_bind_CExpat_destroy_0(self)};CExpat.prototype[\"parse\"]=CExpat.prototype.parse=function(xml){var self=this.ptr;ensureCache.prepare();if(xml&&typeof xml===\"object\")xml=xml.ptr;else xml=ensureString(xml);return!!_emscripten_bind_CExpat_parse_1(self,xml)};CExpat.prototype[\"tag\"]=CExpat.prototype.tag=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_CExpat_tag_0(self))};CExpat.prototype[\"attrs\"]=CExpat.prototype.attrs=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_CExpat_attrs_0(self))};CExpat.prototype[\"content\"]=CExpat.prototype.content=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_CExpat_content_0(self))};CExpat.prototype[\"startElement\"]=CExpat.prototype.startElement=function(){var self=this.ptr;_emscripten_bind_CExpat_startElement_0(self)};CExpat.prototype[\"endElement\"]=CExpat.prototype.endElement=function(){var self=this.ptr;_emscripten_bind_CExpat_endElement_0(self)};CExpat.prototype[\"characterData\"]=CExpat.prototype.characterData=function(){var self=this.ptr;_emscripten_bind_CExpat_characterData_0(self)};CExpat.prototype[\"__destroy__\"]=CExpat.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_CExpat___destroy___0(self)};function VoidPtr(){throw\"cannot construct a VoidPtr, no constructor in IDL\"}VoidPtr.prototype=Object.create(WrapperObject.prototype);VoidPtr.prototype.constructor=VoidPtr;VoidPtr.prototype.__class__=VoidPtr;VoidPtr.__cache__={};Module[\"VoidPtr\"]=VoidPtr;VoidPtr.prototype[\"__destroy__\"]=VoidPtr.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_VoidPtr___destroy___0(self)};function CExpatJS(){this.ptr=_emscripten_bind_CExpatJS_CExpatJS_0();getCache(CExpatJS)[this.ptr]=this}CExpatJS.prototype=Object.create(CExpat.prototype);CExpatJS.prototype.constructor=CExpatJS;CExpatJS.prototype.__class__=CExpatJS;CExpatJS.__cache__={};Module[\"CExpatJS\"]=CExpatJS;CExpatJS.prototype[\"startElement\"]=CExpatJS.prototype.startElement=function(){var self=this.ptr;_emscripten_bind_CExpatJS_startElement_0(self)};CExpatJS.prototype[\"endElement\"]=CExpatJS.prototype.endElement=function(){var self=this.ptr;_emscripten_bind_CExpatJS_endElement_0(self)};CExpatJS.prototype[\"characterData\"]=CExpatJS.prototype.characterData=function(){var self=this.ptr;_emscripten_bind_CExpatJS_characterData_0(self)};CExpatJS.prototype[\"__destroy__\"]=CExpatJS.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_CExpatJS___destroy___0(self)};\n\n\n return cpp.ready\n}\n);\n})();\nexport default cpp;","export interface Interop {\r\n doFetch: (wasmUrl: string) => Promise<ArrayBuffer>,\r\n scriptDir: string\r\n}\r\nexport const interop: Interop = {\r\n doFetch: undefined,\r\n scriptDir: undefined\r\n} as any;\r\n\r\nlet _wasmFolder: string | undefined = (globalThis as any).__hpcc_wasmFolder || undefined;\r\nexport function wasmFolder(_?: string): string | undefined {\r\n if (!arguments.length) return _wasmFolder;\r\n const retVal: string | undefined = _wasmFolder;\r\n _wasmFolder = _;\r\n return retVal;\r\n}\r\n\r\nfunction trimEnd(str: string, charToRemove: string) {\r\n while (str.charAt(str.length - 1) === charToRemove) {\r\n str = str.substring(0, str.length - 1);\r\n }\r\n return str;\r\n}\r\n\r\nfunction trimStart(str: string, charToRemove: string) {\r\n while (str.charAt(0) === charToRemove) {\r\n str = str.substring(1);\r\n }\r\n return str;\r\n}\r\n\r\nconst g_wasmCache = {} as { [key: string]: Promise<any> };\r\n\r\nasync function _loadWasm(_wasmLib: any, wasmUrl: string, wasmBinary?: ArrayBuffer): Promise<any> {\r\n const wasmLib = _wasmLib.default || _wasmLib;\r\n if (!wasmBinary && interop.doFetch) {\r\n wasmBinary = await interop.doFetch(wasmUrl);\r\n }\r\n return await wasmLib({\r\n \"wasmBinary\": wasmBinary,\r\n locateFile: (path: string, scriptDirectory: string) => {\r\n return wasmUrl;\r\n }\r\n });\r\n}\r\n\r\nexport async function loadWasm(_wasmLib: any, filename: string, wf?: string, wasmBinary?: ArrayBuffer): Promise<any> {\r\n const wasmUrl = `${trimEnd(wf || wasmFolder() || interop.scriptDir || \".\", \"/\")}/${trimStart(`${filename}.wasm`, \"/\")}`;\r\n if (!g_wasmCache[wasmUrl]) {\r\n g_wasmCache[wasmUrl] = _loadWasm(_wasmLib, wasmUrl, wasmBinary);\r\n }\r\n return g_wasmCache[wasmUrl];\r\n}\r\n","// @ts-ignore\nimport * as expatlib from \"../build/cpp/expat/expatlib/expatlib\";\nimport { loadWasm } from \"./util\";\n\nexport type Attributes = { [key: string]: string };\nexport interface IParser {\n startElement(tag: string, attrs: Attributes): void;\n endElement(tag: string): void;\n characterData(content: string): void;\n}\n\nexport class StackElement {\n\n private _content = \"\";\n get content(): string {\n return this._content;\n }\n\n constructor(readonly tag: string, readonly attrs: Attributes) {\n }\n\n appendContent(content: string) {\n this._content += content;\n }\n}\n\nexport class StackParser implements IParser {\n private _stack: StackElement[] = [];\n\n parse(xml: string, wasmFolder?: string, wasmBinary?: ArrayBuffer): Promise<boolean> {\n return parse(xml, this, wasmFolder, wasmBinary);\n }\n\n top(): StackElement {\n return this._stack[this._stack.length - 1];\n }\n\n startElement(tag: string, attrs: Attributes): StackElement {\n const retVal = new StackElement(tag, attrs);\n this._stack.push(retVal);\n return retVal;\n }\n\n endElement(tag: string): StackElement {\n return this._stack.pop()!;\n }\n\n characterData(content: string): void {\n this.top().appendContent(content);\n }\n}\n\nfunction parseAttrs(attrs: string): Attributes {\n const retVal: Attributes = {};\n const keys = attrs;\n const sep = `${String.fromCharCode(1)}`;\n const sep2 = `${sep}${sep}`;\n keys.split(sep2).filter((key: string) => !!key).forEach((key: string) => {\n const parts = key.split(sep);\n retVal[parts[0]] = parts[1];\n });\n return retVal;\n}\n\nexport function expatVersion(wasmFolder?: string, wasmBinary?: ArrayBuffer) {\n return loadWasm(expatlib, \"expatlib\", wasmFolder, wasmBinary).then(module => {\n return module.CExpat.prototype.version();\n });\n}\n\nexport function parse(xml: string, callback: IParser, wasmFolder?: string, wasmBinary?: ArrayBuffer): Promise<boolean> {\n return loadWasm(expatlib, \"expatlib\", wasmFolder, wasmBinary).then(module => {\n const parser = new module.CExpatJS();\n parser.startElement = function () {\n callback.startElement(this.tag(), parseAttrs(this.attrs()));\n };\n parser.endElement = function () {\n callback.endElement(this.tag());\n };\n parser.characterData = function () {\n callback.characterData(this.content());\n };\n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