-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpre.js
52 lines (49 loc) · 1.91 KB
/
pre.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/* eslint-disable */
(function (root, factory) {
function makeESModule (m) {
if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {
try { Object.defineProperty(m, Symbol.toStringTag, { value: 'Module' }); } catch (_) {}
}
try { Object.defineProperty(m, '__esModule', { value: true }); } catch (_) { m.__esModule = true; }
try { Object.defineProperty(m, 'default', { enumerable: true, value: m }); } catch (_) { m['default'] = m; }
return m;
}
var name = 'wzWasm';
var _process = root && root.process;
if(typeof exports === 'object' && typeof module === 'object') {
module.exports = makeESModule(factory(require('@tybys/native-require').tryGetRequireFunction(), _process));
} else if(typeof define === 'function' && define.amd) {
define(['@tybys/native-require'], function (nr) {
return makeESModule(factory(nr.tryGetRequireFunction(), _process));
});
} else if(typeof exports === 'object') {
exports[name] = makeESModule(factory(require('@tybys/native-require').tryGetRequireFunction(), _process));
} else {
root[name] = factory(nr.tryGetRequireFunction(), _process);
}
})((function (defaultValue) {
var g;
g = (function () { return this; })();
try {
g = g || new Function('return this')();
} catch (_) {
if (typeof globalThis !== 'undefined') return globalThis;
if (typeof __webpack_public_path__ === 'undefined') {
if (typeof global !== 'undefined') return global;
}
if (typeof window !== 'undefined') return window;
if (typeof self !== 'undefined') return self;
}
return g || defaultValue;
})(this), function (require, process) {
if (typeof process === "object" && typeof process.versions === "object" && typeof process.versions.node === "string") {
return (function () {
var mod = {};
return {
init: function () {
return Promise.resolve(mod);
},
mod: mod
};
})();
}