decord/source/13759___exportStarResult10.js
2026-08-26 06:04:24 +00:00

29 lines
851 B
JavaScript

// Module ID: 13759
// Function ID: 13760
// Name: __exportStarResult10
// Dependencies: [13756]
// Module 13759 (__exportStarResult10)
import __exportStarResult7 from "__exportStarResult7" /* 13756 */;
require = arg1;
const dependencyMap = arg6;
arg5.IsWellFormedUnitIdentifier = function IsWellFormedUnitIdentifier(GetOptionResult3) {
const str = GetOptionResult3.replace(/([A-Z])/g, (arg0, str) => str.toLowerCase());
if (__exportStarResult7.IsSanctionedSimpleUnitIdentifier(str)) {
return true;
} else {
const parts = str.split("-per-");
if (2 !== parts.length) {
return false;
} else {
[tmp3, tmp4] = parts;
if (tmp(13756).IsSanctionedSimpleUnitIdentifier(tmp3)) {
if (tmp(13756).IsSanctionedSimpleUnitIdentifier(tmp4)) {
return true;
}
}
return false;
}
}
};