/* Metro module 4665; source: modules/native_permissions/NativePermissionUtils.null.tsx; dependencies: [6, 7, 15, 17, 18, 4666, 2] */ import ClassCallCheck from '../../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */ import CreateClass from '../../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */ import PossibleConstructorReturn from '../../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */ import Module00017 from '../../by-id/module-00017.js'; /* Metro dependency 17 */ import Inherits from '../../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */ import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as NativePermissionBaseUtilsModule from './NativePermissionBaseUtils.tsx'; /* Metro dependency 4666 */ function _fun40381(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#40381, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4843:6, offset: 0x010ff22f, size: 220 bytes, params: 8, frame: 19 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const NativePermissionBaseUtils = (NativePermissionBaseUtilsModule).NativePermissionBaseUtils; let value = _fun40385(NativePermissionBaseUtils); value = new value(); (FileImportTrackerModule).fileFinishedImporting('modules/native_permissions/NativePermissionUtils.null.tsx'); exports.default = value; function _isNativeReflectConstruct_40382() { // fn#40382, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4843:148, offset: 0x010ff30b, size: 94 bytes, params: 1, frame: 18 var Boolean; var prototype; var valueOf; var call; var Reflect; var construct; var closure; var value; var error; try { Boolean = global.Boolean; prototype = Boolean.prototype; valueOf = prototype.valueOf; call = valueOf.call; Reflect = global.Reflect; construct = Reflect.construct; Boolean = global.Boolean; closure = function() { }; value = Reflect.apply(construct, Reflect, [Boolean, [], closure]); value = Reflect.apply(call, valueOf, [value]); var result = !value; } catch (error) { } return (_isNativeReflectConstruct_40382_isNativeReflectConstruct = function() { return !!result; })(); } function _fun40385(a0) { // fn#40385, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4843:347, offset: 0x010ff369, size: 166 bytes, params: 2, frame: 16 const NativePermissionDesktopNullUtils2 = NativePermissionDesktopNullUtils; Inherits(NativePermissionDesktopNullUtils2, a0); return CreateClass(NativePermissionDesktopNullUtils2, [{key: 'requestPermissionCore', value: function() { var Promise = global.Promise; return Promise.resolve(true); }}, {key: 'hasPermissionCore', value: function() { var Promise = global.Promise; return Promise.resolve(true); }}, {key: 'openSettings', value: function() { }}, {key: 'didHavePermission', value: function() { return true; }}, {key: 'openAlertModal', value: function() { }}]); function NativePermissionDesktopNullUtils() { // fn#40386, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4843:359, offset: 0x00df47c4, size: 113 bytes, params: 1, frame: 20 const value = environment.__proto__; env1_0(this, NativePermissionDesktopNullUtils); const value3 = env1_3(NativePermissionDesktopNullUtils); return env1_2(this, _isNativeReflectConstruct_40382() ? global.Reflect.construct(value3, arguments, env1_3(this).constructor) : value3.apply(this, arguments)); } } } global.__d(_fun40381, 4665, [6, 7, 15, 17, 18, 4666, 2]) /* metro module 4665, dependencies: [6, 7, 15, 17, 18, 4666, 2] */;