62 lines
5.0 KiB
JavaScript
62 lines
5.0 KiB
JavaScript
/* Metro module 1801; source: unknown; dependencies: [1610] */
|
|
import * as moduleValue2 from './module-01610.js'; /* Metro dependency 1610 */
|
|
|
|
function _fun19749(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#19749, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1928:6, offset: 0x00eb2ef2, size: 109 bytes, params: 8, frame: 16
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
object = {code: 'function pnpm_reanimatedNativeTs1(event){const{handlers,context}=this.__closure;const{onKeyboardMoveStart:onKeyboardMoveStart,onKeyboardMove:onKeyboardMove,onKeyboardMoveEnd:onKeyboardMoveEnd,onKeyboardMoveInteractive:onKeyboardMoveInteractive}=handlers;if(onKeyboardMoveStart&&event.eventName.endsWith("onKeyboardMoveStart")){onKeyboardMoveStart(event,context);}if(onKeyboardMove&&event.eventName.endsWith("onKeyboardMove")){onKeyboardMove(event,context);}if(onKeyboardMoveEnd&&event.eventName.endsWith("onKeyboardMoveEnd")){onKeyboardMoveEnd(event,context);}if(onKeyboardMoveInteractive&&event.eventName.endsWith("onKeyboardMoveInteractive")){onKeyboardMoveInteractive(event,context);}}'};
|
|
object = {code: 'function pnpm_reanimatedNativeTs2(event){const{handlers,context}=this.__closure;const{onFocusedInputLayoutChanged:onFocusedInputLayoutChanged}=handlers;if(onFocusedInputLayoutChanged&&event.eventName.endsWith("onFocusedInputLayoutChanged")){onFocusedInputLayoutChanged(event,context);}}'};
|
|
exports.useAnimatedKeyboardHandler = useAnimatedKeyboardHandler;
|
|
exports.useFocusedInputLayoutHandler = useFocusedInputLayoutHandler;
|
|
function useAnimatedKeyboardHandler(a0, a1) { // fn#19750, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1928:1123, offset: 0x00eb2f5f, size: 145 bytes, params: 3, frame: 20
|
|
const env0_0 = a0;
|
|
const {context, doDependenciesDiffer} = (moduleValue2).useHandler(a0, a1);
|
|
const useEvent = moduleValue2.useEvent;
|
|
const pnpm_reanimatedNativeTs12 = pnpm_reanimatedNativeTs1;
|
|
pnpm_reanimatedNativeTs12.__closure = {handlers: a0, context: context};
|
|
pnpm_reanimatedNativeTs12.__workletHash = 6092807753388;
|
|
pnpm_reanimatedNativeTs12.__initData = env0_2;
|
|
return Reflect.apply(useEvent, moduleValue2, [pnpm_reanimatedNativeTs12, ['onKeyboardMoveStart', 'onKeyboardMove',
|
|
'onKeyboardMoveEnd', 'onKeyboardMoveInteractive'], doDependenciesDiffer]);
|
|
function pnpm_reanimatedNativeTs1(a0) { // fn#19751, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1928:1261, owner: useAnimatedKeyboardHandler.pnpm_reanimatedNativeTs1, offset: 0x00eb2ff0, size: 206 bytes, params: 2, frame: 19
|
|
const {onKeyboardMoveStart, onKeyboardMove, onKeyboardMoveEnd, onKeyboardMoveInteractive} = env0_0;
|
|
if (onKeyboardMoveStart && a0.eventName.endsWith('onKeyboardMoveStart')) {
|
|
onKeyboardMoveStart(a0, context);
|
|
}
|
|
if (onKeyboardMove && a0.eventName.endsWith('onKeyboardMove')) {
|
|
onKeyboardMove(a0, context);
|
|
}
|
|
if (onKeyboardMoveEnd && a0.eventName.endsWith('onKeyboardMoveEnd')) {
|
|
onKeyboardMoveEnd(a0, context);
|
|
}
|
|
if (onKeyboardMoveInteractive && a0.eventName.endsWith('onKeyboardMoveInteractive')) {
|
|
onKeyboardMoveInteractive(a0, context);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function useFocusedInputLayoutHandler(a0, a1) { // fn#19752, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1928:1823, offset: 0x00eb30be, size: 145 bytes, params: 3, frame: 20
|
|
const env0_0 = a0;
|
|
const {context, doDependenciesDiffer} = (moduleValue2).useHandler(a0, a1);
|
|
const useEvent = moduleValue2.useEvent;
|
|
const pnpm_reanimatedNativeTs22 = pnpm_reanimatedNativeTs2;
|
|
pnpm_reanimatedNativeTs22.__closure = {handlers: a0, context: context};
|
|
pnpm_reanimatedNativeTs22.__workletHash = 9976853307145;
|
|
pnpm_reanimatedNativeTs22.__initData = env0_3;
|
|
return Reflect.apply(useEvent, moduleValue2, [pnpm_reanimatedNativeTs22, ['onFocusedInputLayoutChanged'],
|
|
doDependenciesDiffer]);
|
|
function pnpm_reanimatedNativeTs2(a0) { // fn#19753, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1928:1963, owner: useFocusedInputLayoutHandler.pnpm_reanimatedNativeTs2, offset: 0x00eb314f, size: 62 bytes, params: 2, frame: 16
|
|
const onFocusedInputLayoutChanged = env0_0.onFocusedInputLayoutChanged;
|
|
if (onFocusedInputLayoutChanged && a0.eventName.endsWith('onFocusedInputLayoutChanged')) {
|
|
onFocusedInputLayoutChanged(a0, context);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun19749, 1801, [1610]) /* metro module 1801, dependencies: [1610] */;
|