| 27917 | return array; |
| 27918 | }(); |
| 27919 | var compactQueue = function compactQueue2(queue) { |
| 27920 | while (queue.length > 1) { |
| 27921 | var item = queue.pop(); |
| 27922 | var obj = item.obj[item.prop]; |
| 27923 | if (isArray2(obj)) { |
| 27924 | var compacted = []; |
| 27925 | for (var j4 = 0; j4 < obj.length; ++j4) { |
| 27926 | if (typeof obj[j4] !== "undefined") { |
| 27927 | compacted.push(obj[j4]); |
| 27928 | } |
| 27929 | } |
| 27930 | item.obj[item.prop] = compacted; |
| 27931 | } |
| 27932 | } |
| 27933 | }; |
| 27934 | var arrayToObject2 = function arrayToObject3(source, options) { |
| 27935 | var obj = options && options.plainObjects ? /* @__PURE__ */ Object.create(null) : {}; |
| 27936 | for (var i3 = 0; i3 < source.length; ++i3) { |