26 lines
627 B
JavaScript
26 lines
627 B
JavaScript
// Module ID: 5030
|
|
// Function ID: 5031
|
|
// Dependencies: []
|
|
|
|
// Module 5030
|
|
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) {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|