/* Metro module 14283; source: modules/screen/useWindowDimensionsSharedValue.native.tsx; dependencies: [4017, 1478, 11534, 11282, 2] */ function _fun108028(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#108028, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14480:6, offset: 0x023127e6, size: 273 bytes, params: 8, frame: 24 var object2; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = require(4017) /* metro dependency 4017: ReanimatedRexport */; let makeMutable = value.makeMutable; object2 = {}; const useWindowDimensionsNativeModule = require(1478) /* metro dependency 1478: useWindowDimensionsNative */; let getWindowDimensions = useWindowDimensionsNativeModule.getWindowDimensions; copyDataProperties(object2, Reflect.apply(getWindowDimensions, useWindowDimensionsNativeModule, []), undefined); const env0_2 = Reflect.apply(makeMutable, value, [object2]); value = require(4017) /* metro dependency 4017: ReanimatedRexport */; makeMutable = value.makeMutable; object2 = {}; const value3 = useWindowDimensionsNativeModule; getWindowDimensions = value3.getWindowDimensions; copyDataProperties(object2, Reflect.apply(getWindowDimensions, value3, [{ignoreKeyboard: true}]), undefined); const env0_3 = Reflect.apply(makeMutable, value, [object2]); (importDefault(11534) /* metro dependency 11534: subscribeToWindowDimensionsNative */)(_fun108029); object2 = {code: 'function getWindowDimensionsWorklet_useWindowDimensionsSharedValueNativeTsx1(params=undefined){const{windowDimensionsSharedValueIgnoringKeyboard,windowDimensionsSharedValue}=this.__closure;return(params===null||params===void 0?void 0:params.ignoreKeyboard)===true?windowDimensionsSharedValueIgnoringKeyboard.get():windowDimensionsSharedValue.get();}'}; value = _fun108030(); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/screen/useWindowDimensionsSharedValue.native.tsx'); exports.default = useWindowDimensionsSharedValue; exports.getWindowDimensionsWorklet = value; } function _fun108029(a0, a1) { // fn#108029, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14480:240, offset: 0x023128f7, size: 62 bytes, params: 3, frame: 17 (importDefault(11282) /* metro dependency 11282: updateSharedValueIfChangedNative */)(env0_2, a0); (importDefault(11282) /* metro dependency 11282: updateSharedValueIfChangedNative */)(env0_3, a1); } function _fun108030() { // fn#108030, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14480:644, offset: 0x02312935, size: 68 bytes, params: 1, frame: 4 const closure = getWindowDimensionsWorklet; closure.__closure = {windowDimensionsSharedValueIgnoringKeyboard: env0_3, windowDimensionsSharedValue: env0_2}; closure.__workletHash = 17271034964949; closure.__initData = env0_4; return closure; } function useWindowDimensionsSharedValue() { // fn#108032, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14480:1114, offset: 0x023129bf, size: 52 bytes, params: 1, frame: 3 const value = a0; const value2 = undefined; let r0 = value !== value2 ? value : value2; r0 = (r0 == null ? value2 : r0.ignoreKeyboard) === true ? env0_3 : env0_2; return r0; } function getWindowDimensionsWorklet() { // fn#108031, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14480:686, offset: 0x02312979, size: 70 bytes, params: 1, frame: 10 let value = a0; const value2 = undefined; let r0 = value !== value2 ? value : value2; if ((r0 == null ? value2 : r0.ignoreKeyboard) === true) { value = environment.__proto__; value = env1_3.get(); r0 = value; } else { value = environment.__proto__; value = env1_2.get(); r0 = value; } return r0; }