2026-09-21 19:31:18 +00:00
|
|
|
// Module ID: 7227
|
|
|
|
|
// Function ID: 7228
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: useCustomKeyboardHeight
|
2026-09-21 19:31:18 +00:00
|
|
|
// Dependencies: [1485, 1486, 558, 568, 2]
|
|
|
|
|
// Exports: getCustomKeyboardHeight
|
2026-09-18 19:45:33 +00:00
|
|
|
|
2026-09-21 19:31:18 +00:00
|
|
|
// Module 7227 (useCustomKeyboardHeight)
|
|
|
|
|
import c from "c" /* 568 */;
|
|
|
|
|
import AppEntryKeyContext from "AppEntryKeyContext" /* 1485 */;
|
|
|
|
|
import KeyboardUIStoreDefault from "KeyboardUIStore" /* 1486 */;
|
|
|
|
|
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
|
|
|
|
const result = size.fileFinishedImporting("modules/keyboard/native/useCustomKeyboardHeight.tsx");
|
|
|
|
|
|
2026-09-21 19:31:18 +00:00
|
|
|
export default ReactCompilerGating.isReactCompilerEnabled() ? (() => {
|
|
|
|
|
const cResult = c.c(2);
|
|
|
|
|
const appEntryKey = AppEntryKeyContext.useAppEntryKey();
|
|
|
|
|
if (cResult[0] !== appEntryKey) {
|
|
|
|
|
const fn = function t(arg0) {
|
|
|
|
|
return arg0.byAppEntry[appEntryKey].customKeyboardHeight;
|
|
|
|
|
};
|
|
|
|
|
cResult[0] = appEntryKey;
|
|
|
|
|
cResult[1] = fn;
|
|
|
|
|
let tmp4 = fn;
|
|
|
|
|
} else {
|
|
|
|
|
tmp4 = cResult[1];
|
|
|
|
|
}
|
|
|
|
|
return KeyboardUIStoreDefault(tmp4);
|
|
|
|
|
}) : (() => {
|
2026-09-18 19:45:33 +00:00
|
|
|
closure_0 = AppEntryKeyContext.useAppEntryKey();
|
|
|
|
|
return KeyboardUIStoreDefault((arg0) => arg0.byAppEntry[closure_0].customKeyboardHeight);
|
2026-09-21 19:31:18 +00:00
|
|
|
});
|
2026-09-18 19:45:33 +00:00
|
|
|
export const getCustomKeyboardHeight = function getCustomKeyboardHeight(appEntryKey) {
|
|
|
|
|
let DEFAULT_APP_ENTRY_KEY = appEntryKey;
|
|
|
|
|
if (appEntryKey === undefined) {
|
|
|
|
|
DEFAULT_APP_ENTRY_KEY = AppEntryKeyContext.DEFAULT_APP_ENTRY_KEY;
|
|
|
|
|
}
|
|
|
|
|
return KeyboardUIStoreDefault.getState().byAppEntry[DEFAULT_APP_ENTRY_KEY].customKeyboardHeight;
|
|
|
|
|
};
|