58 lines
1.7 KiB
JavaScript
58 lines
1.7 KiB
JavaScript
// Module ID: 7361
|
|
// Function ID: 59360
|
|
// Name: getApplicationFlags
|
|
// Dependencies: []
|
|
// Exports: hasApplicationFlag
|
|
|
|
// Module 7361 (getApplicationFlags)
|
|
function getApplicationFlags(application) {
|
|
if (null == application) {
|
|
let flags2 = importAll(dependencyMap[1]).deserialize(0);
|
|
const obj2 = importAll(dependencyMap[1]);
|
|
} else {
|
|
let tmp5 = null != application;
|
|
if (tmp5) {
|
|
let tmp2 = application instanceof closure_2;
|
|
if (!tmp2) {
|
|
let tmp3 = "flags" in application;
|
|
if (tmp3) {
|
|
tmp3 = "bigint" === typeof application.flags;
|
|
}
|
|
tmp2 = tmp3;
|
|
}
|
|
if (!tmp2) {
|
|
let tmp4 = "flags" in application && null != application.flags;
|
|
if (tmp4) {
|
|
tmp4 = "object" === typeof application.flags;
|
|
}
|
|
if (tmp4) {
|
|
tmp4 = "parts" in application.flags;
|
|
}
|
|
tmp2 = tmp4;
|
|
}
|
|
tmp5 = tmp2;
|
|
}
|
|
if (tmp5) {
|
|
flags2 = application.flags;
|
|
} else {
|
|
let flags = application.flags_new;
|
|
if (null == flags) {
|
|
flags = application.flags;
|
|
}
|
|
let num2 = 0;
|
|
if (null != flags) {
|
|
num2 = flags;
|
|
}
|
|
flags2 = importAll(dependencyMap[1]).deserialize(num2);
|
|
const obj = importAll(dependencyMap[1]);
|
|
}
|
|
}
|
|
return flags2;
|
|
}
|
|
let closure_2 = importDefault(dependencyMap[0]);
|
|
const result = arg1(dependencyMap[2]).fileFinishedImporting("modules/applications/utils/ApplicationFlagUtils.tsx");
|
|
|
|
export { getApplicationFlags };
|
|
export const hasApplicationFlag = function hasApplicationFlag(application, EMBEDDED) {
|
|
return importAll(dependencyMap[1]).has(getApplicationFlags(application), EMBEDDED);
|
|
};
|