/* Metro module 1851; source: modules/keyboard/native/useSystemKeyboardHeight.native.tsx; dependencies: [1481, 1482, 2] */ import KeyboardUIStoreNative from './KeyboardUIStore.native.tsx'; /* Metro dependency 1482 */ import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as AppEntryKeyContextModule from '../../window/native/AppEntryKeyContext.tsx'; /* Metro dependency 1481 */ function _fun20008(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#20008, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1978:6, offset: 0x00ebc3fe, size: 125 bytes, params: 8, frame: 18 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); object = {excludeSafeAreaInsets: false}; (FileImportTrackerModule).fileFinishedImporting('modules/keyboard/native/useSystemKeyboardHeight.native.tsx'); exports.default = useSystemKeyboardHeight; exports.getSystemKeyboardHeight = getSystemKeyboardHeight_20011; function useSystemKeyboardHeight() { // fn#20009, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1978:227, offset: 0x00ebc47b, size: 102 bytes, params: 1, frame: 14 const value = a0; if ((value !== undefined ? value : env0_3).excludeSafeAreaInsets !== undefined) { } const env0_1 = (AppEntryKeyContextModule).useAppEntryKey(); return (KeyboardUIStoreNative)(_fun20010); function _fun20010({byAppEntry}) { // fn#20010, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1978:339, offset: 0x00ebc4e1, size: 43 bytes, params: 2, frame: 3 const property = byAppEntry[env0_1]; return excludeSafeAreaInsets ? property.keyboardHeightExcludingSafeAreaInsets : property.keyboardHeight; } } function getSystemKeyboardHeight_20011() { // fn#20011, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1978:461, offset: 0x00ebc50c, size: 128 bytes, params: 1, frame: 14 let value = a0; const r1 = value !== undefined ? value : env0_3; let excludeSafeAreaInsets = r1.excludeSafeAreaInsets; excludeSafeAreaInsets = !(excludeSafeAreaInsets === undefined) && excludeSafeAreaInsets; const appEntryKey = r1.appEntryKey; const r2 = appEntryKey !== undefined ? appEntryKey : (require(1481) /* metro dependency 1481: AppEntryKeyContext */).DEFAULT_APP_ENTRY_KEY; value = importDefault(1482) /* metro dependency 1482: KeyboardUIStoreNative */; const getState = value.getState; const property = Reflect.apply(getState, value, []).byAppEntry[r2]; return excludeSafeAreaInsets ? property.keyboardHeightExcludingSafeAreaInsets : property.keyboardHeight; } } global.__d(_fun20008, 1851, [1481, 1482, 2]) /* metro module 1851, dependencies: [1481, 1482, 2] */;