/* Metro module 1847; source: modules/keyboard/KeyboardStateDebugging.tsx; dependencies: [3, 478, 2] */ import Logger from '../debug/Logger.tsx'; /* Metro dependency 3 */ import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as PlatformUtilsModule from '../../external/discord_common/js/shared/utils/PlatformUtils.tsx'; /* Metro dependency 478 */ function _fun19989(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#19989, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:6, offset: 0x00ebbcb4, size: 237 bytes, params: 8, frame: 18 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = Logger; value = new value('KeyboardStateDebugging'); object = {channelSafeAreaBottomLayoutHeightChanged: channelSafeAreaBottomLayoutHeightChanged, channelSafeAreaBottomLayoutHeightMismatch: channelSafeAreaBottomLayoutHeightMismatch, keyboardControllerKeyboardWillShow: keyboardControllerKeyboardWillShow, keyboardControllerKeyboardDidShow: keyboardControllerKeyboardDidShow, keyboardControllerWorkletEvent: keyboardControllerWorkletEvent, keyboardControllerKeyboardWillHide: keyboardControllerKeyboardWillHide, keyboardControllerKeyboardDidHide: keyboardControllerKeyboardDidHide, reactNativeKeyboardDidShow: reactNativeKeyboardDidShow, reactNativeKeyboardDidHide: reactNativeKeyboardDidHide, markPotentialBadState: markPotentialBadState}; (FileImportTrackerModule).fileFinishedImporting('modules/keyboard/KeyboardStateDebugging.tsx'); exports.default = object; function channelSafeAreaBottomLayoutHeightChanged(a0) { // fn#19990, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:140, offset: 0x00ebbda1, size: 72 bytes, params: 2, frame: 14 if (!PlatformUtilsModule.isIOS()) { env0_2.info('ChannelSafeAreaBottom layout height changed.', {layoutHeight: a0}); } } function channelSafeAreaBottomLayoutHeightMismatch(a0, a1) { // fn#19991, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:274, offset: 0x00ebbde9, size: 81 bytes, params: 3, frame: 14 if (!PlatformUtilsModule.isIOS()) { env0_2.warn('ChannelSafeAreaBottom layout height mismatch.', {layoutHeight: a0, reportedKeyboardHeight: a1}); } } function keyboardControllerKeyboardWillShow(a0) { // fn#19992, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:437, offset: 0x00ebbe3a, size: 71 bytes, params: 2, frame: 14 if (!PlatformUtilsModule.isIOS()) { env0_2.info('KeyboardController keyboardWillShow.', {height: a0}); } } function keyboardControllerKeyboardDidShow(a0) { // fn#19993, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:551, offset: 0x00ebbe81, size: 85 bytes, params: 2, frame: 15 var binding; const value = a1; const r1 = value !== undefined ? value : false; if (!PlatformUtilsModule.isIOS()) { binding = env0_2; binding.info('KeyboardController keyboardDidShow.', {height: a0, rootProvider: r1}); } } function keyboardControllerWorkletEvent(a0, a1) { // fn#19994, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:683, offset: 0x00ebbed6, size: 111 bytes, params: 3, frame: 17 var binding; const value = a2; const r5 = value !== undefined ? value : false; if (!PlatformUtilsModule.isIOS()) { binding = env0_2; binding.info('KeyboardController worklet ' + a0 + '.', {height: a1, rootProvider: r5}); } } function keyboardControllerKeyboardWillHide() { // fn#19995, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:811, offset: 0x00ebbf45, size: 61 bytes, params: 1, frame: 12 if (!PlatformUtilsModule.isIOS()) { env0_2.info('KeyboardController keyboardWillHide.'); } } function keyboardControllerKeyboardDidHide() { // fn#19996, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:913, offset: 0x00ebbf82, size: 78 bytes, params: 1, frame: 15 var binding; const value = a0; const r1 = value !== undefined ? value : false; if (!PlatformUtilsModule.isIOS()) { binding = env0_2; binding.info('KeyboardController keyboardDidHide.', {rootProvider: r1}); } } function reactNativeKeyboardDidShow(a0, a1) { // fn#19997, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:1034, offset: 0x00ebbfd0, size: 78 bytes, params: 3, frame: 14 if (!PlatformUtilsModule.isIOS()) { env0_2.info('ReactNativeKeyboard didShow.', {height: a0, location: a1}); } } function reactNativeKeyboardDidHide(a0) { // fn#19998, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:1145, offset: 0x00ebc01e, size: 71 bytes, params: 2, frame: 14 if (!PlatformUtilsModule.isIOS()) { env0_2.info('ReactNativeKeyboard didHide.', {location: a0}); } } function markPotentialBadState() { // fn#19999, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:1245, offset: 0x00ebc065, size: 60 bytes, params: 1, frame: 12 if (!PlatformUtilsModule.isIOS()) { env0_2.warn('Marking potential bad state from user, check logs above.'); } } } global.__d(_fun19989, 1847, [3, 478, 2]) /* metro module 1847, dependencies: [3, 478, 2] */;