// Module ID: 12282 // Function ID: 12283 // Name: PortalKeyboardPlaceholder // Dependencies: [19, 17, 21, 4574, 1115, 576, 1609, 1611, 6959, 1477, 5593, 7886, 4441, 1877, 2] // Module 12282 (PortalKeyboardPlaceholder) import nativeDefault from "native" /* 576 */; import PlatformUtils from "PlatformUtils" /* 1115 */; import useWindowDimensionsDefault from "useWindowDimensions" /* 1477 */; import KeyboardTypes from "KeyboardTypes" /* 1609 */; import useSafeAreaInsetsDefault from "useSafeAreaInsets" /* 1611 */; import useSystemKeyboardHeightDefault from "useSystemKeyboardHeight" /* 1877 */; import useKeyboardTypeDefault from "useKeyboardType" /* 4441 */; import useCustomKeyboardHeightDefault from "useCustomKeyboardHeight" /* 5593 */; import useIsWindowLargeDefault from "useIsWindowLarge" /* 6959 */; import ClientThemesOverrides from "ClientThemesOverrides" /* 7886 */; import noop from "module_19" /* 19 */; require = fn; function PortalKeyboardPlaceholderInner(keyboardType) { const rect = useSafeAreaInsetsDefault(); const tmp = useIsWindowLargeDefault(); const tmp2 = useWindowDimensionsDefault(); const tmp3 = closure_6(keyboardType.keyboardType, useWindowDimensionsDefault().width - rect.left - rect.right, useCustomKeyboardHeightDefault(), tmp); const obj2 = { style: null }; const items = [tmp3.container, ClientThemesOverrides.useGradientBottom()]; obj2.style = items; return ; } get_ActivityIndicator = fn(17); ({ View: c3, StyleSheet: closure_4 } = get_ActivityIndicator); const jsx = fn(21).jsx; const createStyles = fn(4574); let closure_6 = createStyles.createStyles((arg0, arg1, arg2, arg3) => { let absoluteFillObject = null; if (obj.isIOS()) { absoluteFillObject = React4.absoluteFillObject; } const obj2 = {}; const merged = Object.assign(absoluteFillObject); obj2.borderTopWidth = React4.hairlineWidth; obj2.borderTopColor = nativeDefault.colors.BORDER_SUBTLE; let BORDER_SUBTLE; if (arg3) { BORDER_SUBTLE = tmp7(576).colors.BORDER_SUBTLE; } obj2.borderRightColor = BORDER_SUBTLE; let hairlineWidth; if (arg3) { hairlineWidth = tmp6.hairlineWidth; } obj2.borderRightWidth = hairlineWidth; let BORDER_SUBTLE1; if (arg3) { BORDER_SUBTLE1 = tmp7(576).colors.BORDER_SUBTLE; } obj2.borderLeftColor = BORDER_SUBTLE1; let hairlineWidth1; if (arg3) { hairlineWidth1 = tmp6.hairlineWidth; } obj2.borderLeftWidth = hairlineWidth1; const APP_LAUNCHER = tmp(1609).KeyboardTypes.APP_LAUNCHER; obj2.backgroundColor = nativeDefault.colors.BACKGROUND_BASE_LOW; obj = PlatformUtils; if (tmpResult.isIOS()) { const tmp12 = arg1; } obj2.width = tmp12; tmpResult = PlatformUtils; if (tmpResult2.isIOS()) { const tmp13 = arg2; } obj2.height = tmp13; return { container: obj2 }; }); const size = fn(2); const result = size.fileFinishedImporting("modules/keyboard/native/PortalKeyboardPlaceholder.tsx"); export const PORTAL_KEYBOARD_PLACEHOLDER_INSTANCE = jsx(function PortalKeyboardPlaceholder() { const tmp2 = useKeyboardTypeDefault(); let isAndroidResult = useSystemKeyboardHeightDefault() > 0; if (isAndroidResult) { isAndroidResult = PlatformUtils.isAndroid(); } if (tmp2 !== KeyboardTypes.KeyboardTypes.SYSTEM) { let tmp6 = null; if (!isAndroidResult) { const obj2 = { keyboardType: tmp2 }; tmp6 = ; } } else { tmp6 = null; const tmp5Result = PlatformUtils; } return tmp6; }, {});