Files
2026-07-28 01:06:53 +03:00

89 lines
4.9 KiB
TypeScript

/* Metro module 4400; source: stores/HookErrorStore.tsx; dependencies: [6, 7, 15, 17, 18, 661, 566, 694, 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 Flux from '../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */
import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ConstantsModule from '../Constants.tsx'; /* Metro dependency 661 */
function _fun37386(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#37386, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4572:6, offset: 0x010a418c, size: 309 bytes, params: 8, frame: 19
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let env0_6 = {};
const Store = (Flux).Store;
let value = _fun37390(Store);
value.displayName = 'HookErrorStore';
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */,
{MEDIA_ENGINE_SET_GO_LIVE_SOURCE: function() {
env0_6 = {};
}, MEDIA_ENGINE_SOUNDSHARE_TRANSMITTING: MEDIA_ENGINE_SOUNDSHARE_TRANSMITTING,
MEDIA_ENGINE_SOUNDSHARE_FAILED: MEDIA_ENGINE_SOUNDSHARE_FAILED});
(FileImportTrackerModule).fileFinishedImporting('stores/HookErrorStore.tsx');
exports.default = value;
function _isNativeReflectConstruct_37387() { // fn#37387, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4572:179, offset: 0x010a42c1, 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_37387_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun37390(a0) { // fn#37390, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4572:387, offset: 0x010a431f, size: 68 bytes, params: 2, frame: 15
const HookErrorStore2 = HookErrorStore;
Inherits(HookErrorStore2, a0);
return CreateClass(HookErrorStore2, [{key: 'getHookError', value: value_37392}]);
function HookErrorStore() { // fn#37391, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4572:399, offset: 0x00e3db8d, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_0(this, HookErrorStore);
const value3 = env1_3(HookErrorStore);
return env1_2(this, _isNativeReflectConstruct_37387() ? global.Reflect.construct(value3, arguments,
env1_3(this).constructor) : value3.apply(this, arguments));
}
function value_37392(a0) { // fn#37392, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4572:689, offset: 0x00fbe09c, size: 16 bytes, params: 2, frame: 2
return env1_6[a0];
}
}
function MEDIA_ENGINE_SOUNDSHARE_TRANSMITTING() { // fn#37394, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4572:893, offset: 0x010a4370, size: 25 bytes, params: 1, frame: 2
const binding = env0_6;
const SOUND = MediaEngineHookTypes.SOUND;
delete binding[SOUND];
}
function MEDIA_ENGINE_SOUNDSHARE_FAILED({errorMessage, errorCode}) { // fn#37395, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4572:983, offset: 0x010a4389, size: 52 bytes, params: 2, frame: 5
const binding = env0_6;
const SOUND = MediaEngineHookTypes.SOUND;
binding[SOUND] = {errorMessage: errorMessage, errorCode: errorCode};
}
}
global.__d(_fun37386, 4400, [6, 7, 15, 17, 18, 661, 566, 694,
2]) /* metro module 4400, dependencies: [6, 7, 15, 17, 18, 661, 566, 694, 2] */;