bpms_site/.svn/pristine/4e/4e8828eeba2d99680638de5fb3b5fee0f0d2be10.svn-base
2025-11-02 16:38:49 +03:30

16 lines
623 B
Plaintext

"use strict";
var _array_like_to_array = require("./_array_like_to_array.cjs");
exports._ = exports._unsupported_iterable_to_array = _unsupported_iterable_to_array;
function _unsupported_iterable_to_array(o, minLen) {
if (!o) return;
if (typeof o === "string") return _array_like_to_array._(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
if (n === "Map" || n === "Set") return Array.from(n);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array._(o, minLen);
}