decord/source/__polyfill/00xxx/module_627.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

40 lines
816 B
JavaScript

// Module ID: 627
// Function ID: 628
// Dependencies: [523, 514, 628, 553]
// Module 627
import _mod514 from "module_514" /* 514 */;
import _mod523 from "module_523" /* 523 */;
let prototype;
if (_mod523) {
prototype = _mod523.prototype;
}
let toString;
if (prototype) {
toString = prototype.toString;
}
function baseToString(str) {
if (typeof str === "string") {
return str;
} else if (_mod514(str)) {
return "" + tmp5(628)(str, baseToString);
} else if (tmp5(553)(str)) {
if (!toString) {
return "";
} else {
const call = tmp2.call;
typeof call === "unknown" ? tmp2() : call(str);
}
} else {
const text = `${str}`;
if ("0" !== `${str}`) {
let str2 = text;
} else {
str2 = "-0";
}
return str2;
}
}
export default baseToString;