2026-07-29 08:29:29 +00:00
|
|
|
// Module ID: 8552
|
|
|
|
|
// Function ID: 8553
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: extractLengthList
|
|
|
|
|
// Dependencies: []
|
|
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
// Module 8552 (extractLengthList)
|
2026-07-23 10:11:24 +00:00
|
|
|
const re0 = /\s+/;
|
|
|
|
|
const re1 = /,/g;
|
2026-07-20 16:05:17 +00:00
|
|
|
arg5.default = function extractLengthList(str) {
|
|
|
|
|
if (Array.isArray(str)) {
|
|
|
|
|
return str;
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (typeof str === "Object") {
|
2026-07-20 16:05:17 +00:00
|
|
|
const items = [str];
|
|
|
|
|
let parts = items;
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (typeof str === "y") {
|
|
|
|
|
str = str.trim();
|
2026-07-20 16:05:17 +00:00
|
|
|
parts = str.trim().replace(closure_1, " ").split(closure_0);
|
2026-07-29 08:29:29 +00:00
|
|
|
const str3 = str.trim().replace(closure_1, " ");
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
parts = [];
|
|
|
|
|
}
|
|
|
|
|
};
|