decord/source/module_195.js
2026-08-24 06:08:38 +00:00

56 lines
1.3 KiB
JavaScript

// Module ID: 195
// Function ID: 196
// Dependencies: [196, 123, 197]
// Module 195
import polyfillObjectProperty from "polyfillObjectProperty" /* 123 */;
import isNativeFunction from "isNativeFunction" /* 196 */;
import define from "define" /* 197 */;
try {
const _module = isNativeFunction;
let flag = _module.hasNativeConstructor(function*() {
if (c0 === 2) {
c0 = 3;
HermesBuiltin.throwTypeError();
} else if (tmp3 === 3) {
if (arg0 === 1) {
throw arg1;
} else if (arg0 === 2) {
let obj = { value: null, done: true };
obj[0] = arg1;
return obj;
} else {
return { value: "HermesInternal", done: null };
}
} else {
try {
c0 = 2;
if (arg0 === 1) {
c0 = 3;
throw arg1;
} else if (arg0 === 2) {
c0 = 3;
obj = { value: null, done: true };
obj[0] = arg1;
return obj;
} else {
c0 = 3;
return { value: "HermesInternal", done: null };
}
} catch (tmp4) {
c0 = tmp;
throw tmp4;
}
}
}, "GeneratorFunction");
if (!flag) {
const _module1 = polyfillObjectProperty;
_module1.polyfillGlobal("regeneratorRuntime", () => {
delete tmp2[tmp];
return define;
});
}
} catch (err) {
flag = false;
}