decord/source/__polyfill/14xxx/module_14257.js
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

39 lines
914 B
JavaScript

// Module ID: 14257
// Function ID: 14258
// Dependencies: [14249, 14248, 14256]
// Module 14257
import all from "all" /* 14249 */;
export default (arg0, arg1) => {
if ("string" === arg1) {
const toString = arg0.toString;
if (all(toString)) {
const tmp4 = tmp(14256)(toString, arg0);
if (!tmpResult(tmp4)) {
return tmp4;
}
tmpResult = tmp(14248);
}
}
const valueOf = arg0.valueOf;
if (all(valueOf)) {
let tmp5Result = tmp5(14248);
const tmp8 = tmp5(14256)(valueOf, arg0);
if (!tmp5Result(tmp8)) {
return tmp8;
}
}
if ("string" !== arg1) {
const toString2 = arg0.toString;
if (tmp5(14249)(toString2)) {
tmp5Result = tmp5(14248);
const tmp10 = tmp5(14256)(toString2, arg0);
if (!tmp5Result(tmp10)) {
return tmp10;
}
}
}
throw new TypeError("Can't convert object to primitive value");
};