Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
37 lines
1,005 B
JavaScript
37 lines
1,005 B
JavaScript
// Module ID: 6961
|
|
// Function ID: 6962
|
|
// Dependencies: [6962]
|
|
|
|
// Module 6961
|
|
import _mod6962 from "module_6962" /* 6962 */;
|
|
|
|
|
|
export default function _unsupportedIterableToArray(str, arg1) {
|
|
if (str) {
|
|
if (typeof str === "string") {
|
|
return _mod6962(str, arg1);
|
|
} else {
|
|
const toString = {}.toString;
|
|
const call = toString.call;
|
|
const substr = typeof call === "unknown" ? toString() : call(str).slice(8, -1);
|
|
let name = substr;
|
|
if (tmp3) {
|
|
name = str.constructor.name;
|
|
}
|
|
if ("Map" !== name) {
|
|
if ("Set" !== name) {
|
|
if ("Arguments" === name) {
|
|
let arr2 = _mod6962(str, arg1);
|
|
} else {
|
|
const obj = /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/;
|
|
}
|
|
}
|
|
return arr2;
|
|
}
|
|
const _Array = Array;
|
|
arr2 = Array.from(str);
|
|
const arr = typeof call === "unknown" ? toString() : call(str);
|
|
tmp3 = "Object" === substr && str.constructor;
|
|
}
|
|
}
|
|
};
|