decord/source/modules/frames/utils/canLaunchFrame.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

29 lines
1,018 B
TypeScript

// Module ID: 9511
// Function ID: 9512
// Name: canLaunchFrame
// Dependencies: [1074, 9294, 8861, 2]
// Exports: canLaunchFrame
// Module 9511 (canLaunchFrame)
import set from "set" /* 2 */;
import ME from "ME" /* 1074 */;
import getShelfBadgeTypeIfActive from "getShelfBadgeTypeIfActive" /* 9294 */;
const ApplicationFlags = ME.ApplicationFlags;
const result = set.fileFinishedImporting("modules/frames/utils/canLaunchFrame.tsx");
export const canLaunchFrame = function canLaunchFrame(application) {
if (null != application) {
if (obj.isRealApplication(application)) {
let tmpResult = tmp(8861);
let hasApplicationFlagResult = tmpResult.hasApplicationFlag(application, ApplicationFlags.EMBEDDED);
tmpResult = tmp(8861);
if (hasApplicationFlagResult) {
hasApplicationFlagResult = tmpResult.hasApplicationFlag(application, ApplicationFlags.CONTEXTLESS_ACTIVITY);
}
return hasApplicationFlagResult;
}
obj = getShelfBadgeTypeIfActive;
}
return false;
};