34 lines
2.1 KiB
TypeScript
34 lines
2.1 KiB
TypeScript
/* Metro module 15232; source: modules/safe_area/shouldExcludeSafeAreaForModalKey.native.tsx; dependencies: [661, 8871, 7709, 2] */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ConstantsModule from '../../Constants.tsx'; /* Metro dependency 661 */
|
|
import * as ConstantsModule2 from '../oauth2/native/Constants.tsx'; /* Metro dependency 8871 */
|
|
|
|
function _fun116526(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#116526, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15429:6, offset: 0x0248cbf8, size: 196 bytes, params: 8, frame: 21
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const MEDIA_MODAL_KEY = (ConstantsModule).MEDIA_MODAL_KEY;
|
|
const {OAUTH2_AUTHORIZE_MODAL_KEY, OAUTH2_ERROR_RESULT_MODAL_KEY,
|
|
OAUTH2_SUCCESS_RESULT_MODAL_KEY} = ConstantsModule2;
|
|
const Set = global.Set;
|
|
const set = new Set([MEDIA_MODAL_KEY, OAUTH2_AUTHORIZE_MODAL_KEY, OAUTH2_SUCCESS_RESULT_MODAL_KEY,
|
|
OAUTH2_ERROR_RESULT_MODAL_KEY]);
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/safe_area/shouldExcludeSafeAreaForModalKey.native.tsx');
|
|
exports.shouldExcludeSafeAreaForModalKey = shouldExcludeSafeAreaForModalKey;
|
|
function shouldExcludeSafeAreaForModalKey(a0) { // fn#116527, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15429:384, offset: 0x0248ccbc, size: 76 bytes, params: 2, frame: 14
|
|
var r0;
|
|
var isVoiceChannelModalKey2;
|
|
const value = a0 != null;
|
|
if (value) {
|
|
isVoiceChannelModalKey2 = (require(7709) /* metro dependency 7709: PrivateChannelCallUtils */).isVoiceChannelModalKey(a0);
|
|
r0 = isVoiceChannelModalKey2 ? !!isVoiceChannelModalKey2 : env0_2.has(a0);
|
|
} else {
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun116526, 15232, [661, 8871, 7709, 2]) /* metro module 15232, dependencies: [661, 8871, 7709, 2] */;
|