/* Metro module 7718; source: unknown; dependencies: [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 = (require(27) /* metro dependency 27 */).NativeModules; let env0_0 = NativeModules.Orientation; (require(27) /* metro dependency 27 */).Platform; const env0_1 = (require(27) /* metro dependency 27 */).DeviceEventEmitter; 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(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 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 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(a0)] = DeviceEventEmitter.addListener('orientationDidChange', _fun61753); } 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(a0)] = DeviceEventEmitter.addListener('orientationDegreesDidChange', _fun61755); } 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 = getKey(a0); if (env0_2[key]) { binding = env0_2; binding[key].remove(); binding[key] = 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(a0)] = DeviceEventEmitter.addListener('specificOrientationDidChange', _fun61758); } 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 _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 _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 _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); }