decord/source/__polyfill/14xxx/module_14452.js
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

48 lines
1,003 B
JavaScript

// Module ID: 14452
// Function ID: 14453
// Dependencies: [14421, 14453, 14396, 14449]
// Module 14452
import _mod14421 from "module_14421" /* 14421 */;
export default (arg0, arg1, value, arg3) => {
let obj = arg3;
if (!arg3) {
obj = {};
}
let flag = obj.enumerable;
let name = arg1;
if (undefined !== obj.name) {
name = obj.name;
}
if (_mod14421(value)) {
tmp3(14453)(value, name, obj);
}
if (obj.global) {
if (flag) {
arg0[arg1] = value;
} else {
tmp3(14396)(arg1, value);
}
} else {
try {
if (obj.unsafe) {
if (arg0[arg1]) {
flag = true;
}
} else {
delete tmp[tmp2];
}
if (flag) {
arg0[arg1] = value;
} else {
const obj2 = { value, enumerable: false, configurable: !obj.nonConfigurable, writable: !obj.nonWritable };
tmp3(14449).f(arg0, arg1, obj2);
const tmp3Result = tmp3(14449);
}
} catch (err) {
}
}
return arg0;
};