decord/source/module_5008.js

27 lines
627 B
JavaScript
Raw Normal View History

2026-08-13 07:00:46 +00:00
// Module ID: 5008
// Function ID: 5009
2026-08-12 06:57:52 +00:00
// Dependencies: []
2026-08-13 07:00:46 +00:00
// Module 5008
2026-08-12 06:57:52 +00:00
arg5.default = {
get(arg0) {
if (arg0) {
return arg0;
} else {
if (typeof globalThis.DOMParser !== "undefined") {
const dOMParser = new globalThis.DOMParser();
return dOMParser;
} else {
try {
const result = globalThis.__non_webpack_require__("@xmldom/xmldom");
const obj = { onError: null };
obj[0] = result.onErrorStopParsing;
const dOMParser1 = new result.DOMParser(obj);
return dOMParser1;
} catch (err) {
}
}
}
}
};