decord/source/modules/frames/utils/canLaunchFrame.tsx
2026-08-13 07:00:46 +00:00

26 lines
919 B
TypeScript

// Module ID: 10567
// Function ID: 10568
// Name: canLaunchFrame
// Dependencies: [676, 8386, 7634, 2]
// Exports: canLaunchFrame
// Module 10567 (canLaunchFrame)
import { ApplicationFlags } from "ME";
const result = require("getApplicationFlags").fileFinishedImporting("modules/frames/utils/canLaunchFrame.tsx");
export const canLaunchFrame = function canLaunchFrame(application) {
if (null != application) {
if (obj.isRealApplication(application)) {
let tmpResult = tmp(7634);
let hasApplicationFlagResult = tmpResult.hasApplicationFlag(application, ApplicationFlags.EMBEDDED);
tmpResult = tmp(7634);
if (hasApplicationFlagResult) {
hasApplicationFlagResult = tmpResult.hasApplicationFlag(application, ApplicationFlags.CONTEXTLESS_ACTIVITY);
}
return hasApplicationFlagResult;
}
obj = require(8386) /* getShelfBadgeTypeIfActive */;
}
return false;
};