30 lines
1.8 KiB
TypeScript
30 lines
1.8 KiB
TypeScript
/* Metro module 8045; source: modules/frames/utils/canLaunchFrame.tsx; dependencies: [661, 8046, 7504, 2] */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
|
|
|
|
function _fun63764(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63764, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8223:6, offset: 0x01b8f644, size: 115 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/frames/utils/canLaunchFrame.tsx');
|
|
exports.canLaunchFrame = canLaunchFrame;
|
|
function canLaunchFrame(a0) { // fn#63765, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8223:213, offset: 0x01b8f6b7, size: 129 bytes, params: 2, frame: 18
|
|
var moduleValue3;
|
|
if (a0 != null) {
|
|
var hasApplicationFlag;
|
|
var moduleValue = require(8046) /* metro dependency 8046: AppLauncherUtils */;
|
|
if (moduleValue.isRealApplication(a0)) {
|
|
hasApplicationFlag = (require(7504) /* metro dependency 7504: ApplicationFlagUtils */).hasApplicationFlag(a0,
|
|
|
|
ApplicationFlags.EMBEDDED);
|
|
moduleValue3 = require(7504) /* metro dependency 7504: ApplicationFlagUtils */;
|
|
return hasApplicationFlag && moduleValue3.hasApplicationFlag(a0, ApplicationFlags.CONTEXTLESS_ACTIVITY);
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun63764, 8045, [661, 8046, 7504, 2]) /* metro module 8045, dependencies: [661, 8046, 7504, 2] */;
|