2026-10-13 12:43:34 +00:00
|
|
|
// Module ID: 11964
|
|
|
|
|
// Function ID: 11965
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: useKeyboardStateSharedValue
|
2026-10-12 06:59:38 +00:00
|
|
|
// Dependencies: [1499, 4850, 6668, 1897, 4987, 10373, 2]
|
2026-08-12 06:57:52 +00:00
|
|
|
// Exports: default, getKeyboardStateWorklet
|
|
|
|
|
|
2026-10-13 12:43:34 +00:00
|
|
|
// Module 11964 (useKeyboardStateSharedValue)
|
2026-10-12 06:59:38 +00:00
|
|
|
import updateSharedValueIfChangedDefault from "updateSharedValueIfChanged" /* 10373 */;
|
2026-10-09 10:00:15 +00:00
|
|
|
import subscribeToKeyboardUIStore from "subscribeToKeyboardUIStore" /* 1499 */;
|
2026-10-10 08:08:14 +00:00
|
|
|
import ReanimatedRexport from "ReanimatedRexport" /* 4850 */;
|
2026-10-12 06:59:38 +00:00
|
|
|
import useCustomKeyboardHeight_mod from "useCustomKeyboardHeight" /* 6668 */;
|
2026-10-09 10:00:15 +00:00
|
|
|
import useSystemKeyboardHeight_mod from "useSystemKeyboardHeight" /* 1897 */;
|
2026-10-10 08:08:14 +00:00
|
|
|
import useKeyboardType_mod from "useKeyboardType" /* 4987 */;
|
2026-10-03 08:58:59 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-12 06:57:52 +00:00
|
|
|
|
2026-10-03 08:58:59 +00:00
|
|
|
let useCustomKeyboardHeight;
|
|
|
|
|
let useKeyboardType;
|
|
|
|
|
let useSystemKeyboardHeight;
|
|
|
|
|
const makeMutable = ReanimatedRexport.makeMutable;
|
|
|
|
|
const obj = { customKeyboardHeight: useCustomKeyboardHeight.getCustomKeyboardHeight(), keyboardHeight: useSystemKeyboardHeight.getSystemKeyboardHeight(), keyboardType: useKeyboardType.getKeyboardType() };
|
|
|
|
|
useCustomKeyboardHeight = useCustomKeyboardHeight_mod;
|
|
|
|
|
useSystemKeyboardHeight = useSystemKeyboardHeight_mod;
|
|
|
|
|
useKeyboardType = useKeyboardType_mod;
|
|
|
|
|
const mutable = makeMutable(obj);
|
2026-09-10 05:38:07 +00:00
|
|
|
subscribeToKeyboardUIStore((arg0) => {
|
2026-10-03 08:58:59 +00:00
|
|
|
let customKeyboardHeight;
|
|
|
|
|
let keyboardHeight;
|
|
|
|
|
let keyboardType;
|
2026-08-12 06:57:52 +00:00
|
|
|
({ customKeyboardHeight, keyboardHeight, keyboardType } = arg0);
|
2026-09-10 05:38:07 +00:00
|
|
|
updateSharedValueIfChangedDefault(mutable, { customKeyboardHeight, keyboardHeight, keyboardType });
|
2026-08-12 06:57:52 +00:00
|
|
|
});
|
|
|
|
|
function getKeyboardStateWorklet() {
|
2026-09-10 05:38:07 +00:00
|
|
|
return mutable.get();
|
2026-08-12 06:57:52 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
getKeyboardStateWorklet.__closure = { keyboardStateSharedValue: mutable };
|
2026-08-12 06:57:52 +00:00
|
|
|
getKeyboardStateWorklet.__workletHash = 1081829024717;
|
|
|
|
|
getKeyboardStateWorklet.__initData = { code: "function getKeyboardStateWorklet_useKeyboardStateSharedValueNativeTsx1(){const{keyboardStateSharedValue}=this.__closure;return keyboardStateSharedValue.get();}" };
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/keyboard/native/useKeyboardStateSharedValue.native.tsx");
|
2026-08-12 06:57:52 +00:00
|
|
|
|
|
|
|
|
export default function useKeyboardStateSharedValue() {
|
2026-09-10 05:38:07 +00:00
|
|
|
return mutable;
|
2026-08-12 06:57:52 +00:00
|
|
|
};
|
|
|
|
|
export { getKeyboardStateWorklet };
|