/* Metro module 7718; source: unknown; dependencies: [27] */ import * as ReactNativeModule from './module-00027-ReactNative.js'; /* Metro dependency 27 */ function _fun61740(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#61740, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7896:6, offset: 0x01b49ced, size: 259 bytes, params: 8, frame: 14 const NativeModules = (ReactNativeModule).NativeModules; let env0_0 = NativeModules.Orientation; (ReactNativeModule).Platform; const env0_2 = {}; module.exports = {getOrientation: function(a0) { var env0_0 = a0; Orientation.getOrientation(_fun61743); }, getSpecificOrientation: function(a0) { var env0_0 = a0; Orientation.getSpecificOrientation(_fun61745); }, ignoreAutoRotate: function(a0) { Orientation.ignoreAutoRotate(a0); }, lockToPortrait: function() { Orientation.lockToPortrait(); }, lockToLandscape: function() { Orientation.lockToLandscape(); }, lockToLandscapeRight: function() { Orientation.lockToLandscapeRight(); }, lockToLandscapeLeft: function() { Orientation.lockToLandscapeLeft(); }, unlockAllOrientations: function() { Orientation.unlockAllOrientations(); }, addOrientationListener: addOrientationListener, addOrientationDegreesChangeListener: addOrientationDegreesChangeListener, removeOrientationListener: removeOrientationListener, addSpecificOrientationListener: addSpecificOrientationListener, removeSpecificOrientationListener: removeSpecificOrientationListener, getInitialOrientation: function() { return Orientation.initialOrientation; }}; function getKey_61741(a0) { // fn#61741, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7896:145, offset: 0x01b49df0, size: 111 bytes, params: 2, frame: 18 var defineProperty; var binding; var binding2; if (a0.hasOwnProperty(env0_4)) { return a0[env0_4]; } let Object = global.Object; if (Object.isExtensible(a0)) { Object = global.Object; defineProperty = Object.defineProperty; binding = env0_4; binding2 = env0_3; Reflect.apply(defineProperty, Object, [a0, binding, {value: 'L' + (typeof binding2 === 'bigint' ? binding2 + 1n : +binding2 + 1)}]); return a0[env0_4]; } return 'F'; } function getOrientation_61742(a0) { // fn#61742, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7896:308, offset: 0x01b49e5f, size: 36 bytes, params: 2, frame: 11 const env0_0 = a0; Orientation.getOrientation(_fun61743); function _fun61743(a0, a1) { // fn#61743, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7896:353, offset: 0x010aa300, size: 23 bytes, params: 3, frame: 13 env0_0(a0, a1); } } function getSpecificOrientation(a0) { // fn#61744, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7896:401, offset: 0x01b49e83, size: 36 bytes, params: 2, frame: 11 const env0_0 = a0; Orientation.getSpecificOrientation(_fun61745); function _fun61745(a0, a1) { // fn#61745, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7896:462, offset: 0x010aa300, size: 23 bytes, params: 3, frame: 13 env0_0(a0, a1); } } function addOrientationListener(a0) { // fn#61752, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7896:941, offset: 0x01b49f29, size: 60 bytes, params: 2, frame: 16 const env0_0 = a0; env0_2[getKey_61741(a0)] = DeviceEventEmitter.addListener('orientationDidChange', _fun61753); function _fun61753({orientation}) { // fn#61753, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7896:1035, offset: 0x01b49f65, size: 25 bytes, params: 2, frame: 11 env0_0(orientation); } } function addOrientationDegreesChangeListener(a0) { // fn#61754, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7896:1104, offset: 0x01b49f7e, size: 60 bytes, params: 2, frame: 16 const env0_0 = a0; env0_2[getKey_61741(a0)] = DeviceEventEmitter.addListener('orientationDegreesDidChange', _fun61755); function _fun61755({orientationDegrees}) { // fn#61755, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7896:1218, offset: 0x01b49fba, size: 27 bytes, params: 2, frame: 11 env0_0(orientationDegrees); } } function removeOrientationListener(a0) { // fn#61756, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7896:1284, offset: 0x01b49fd5, size: 54 bytes, params: 2, frame: 13 var binding; const key_61741 = getKey_61741(a0); if (env0_2[key_61741]) { binding = env0_2; binding[key_61741].remove(); binding[key_61741] = null; } } function addSpecificOrientationListener(a0) { // fn#61757, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7896:1402, offset: 0x01b4a00b, size: 60 bytes, params: 2, frame: 16 const env0_0 = a0; env0_2[getKey_61741(a0)] = DeviceEventEmitter.addListener('specificOrientationDidChange', _fun61758); function _fun61758({specificOrientation}) { // fn#61758, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7896:1512, offset: 0x01b4a047, size: 27 bytes, params: 2, frame: 11 env0_0(specificOrientation); } } function removeSpecificOrientationListener(a0) { // fn#61759, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7896:1587, offset: 0x01b49fd5, size: 54 bytes, params: 2, frame: 13 var binding; const key_61741 = getKey_61741(a0); if (env0_2[key_61741]) { binding = env0_2; binding[key_61741].remove(); binding[key_61741] = null; } } } global.__d(_fun61740, 7718, [27]) /* metro module 7718, dependencies: [27] */;