/* Metro module 16162; source: modules/webauthn/WebAuthnSignalManager.tsx; dependencies: [5, 6, 7, 15, 17, 18, 1226, 5085, 4860, 2] */ function _fun124919(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#124919, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16370:6, offset: 0x025c74c7, size: 258 bytes, params: 8, frame: 18 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_2 = importDefault(5) /* metro dependency 5 */; const env0_3 = importDefault(6) /* metro dependency 6 */; const env0_4 = importDefault(7) /* metro dependency 7 */; const env0_5 = importDefault(15) /* metro dependency 15 */; const env0_6 = importDefault(17) /* metro dependency 17 */; const env0_7 = importDefault(18) /* metro dependency 18 */; const authenticationStore = importDefault(1226) /* metro dependency 1226: AuthenticationStore */; let value = importDefault(4860) /* metro dependency 4860: AutomaticLifecycleManager */; value = _fun124923(value); value = new value(); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/webauthn/WebAuthnSignalManager.tsx'); exports.default = value; } function _isNativeReflectConstruct_124920() { // fn#124920, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16370:168, offset: 0x025c75c9, size: 98 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_124920_isNativeReflectConstruct = function() { return !!result; })(); } function _fun124923(a0) { // fn#124923, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16370:367, offset: 0x025c762b, size: 178 bytes, params: 2, frame: 17 const closure = WebAuthnSignalManager; env0_7(closure, a0); const binding = env0_4; const binding2 = env0_2; var env0_2 = binding2(_fun124926); const items2 = [{key: 'handleAuthenticatorDelete', value: value_124927}]; const env0_1 = binding2(_fun124929); items2[1] = {key: 'handleWebAuthnCredentialsLoaded', value: value_124930}; const env0_0 = binding2(_fun124932); items2[2] = {key: 'handleCurrentUserUpdate', value: value_124933}; return binding(closure, items2); } function WebAuthnSignalManager(a0) { // fn#124924, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16370:379, offset: 0x025c76dd, size: 171 bytes, params: 2, frame: 19 var r0; var Reflect; let value = copyRestArgs(0, undefined); let binding = env1_3; binding(this, WebAuthnSignalManager); const items = []; arraySpread(items, value, 0, items); value = env1_6(WebAuthnSignalManager); binding = env1_5; if (_isNativeReflectConstruct_124920()) { Reflect = global.Reflect; value = Reflect.construct(value, items, env1_6(this).constructor); r0 = value; } else { value = value.apply(this, items); r0 = value; } value = binding(this, r0); value.actions = {AUTHENTICATOR_DELETE: value.handleAuthenticatorDelete, MFA_WEBAUTHN_CREDENTIALS_LOADED: value.handleWebAuthnCredentialsLoaded, CURRENT_USER_UPDATE: value.handleCurrentUserUpdate}; return value; } async function _fun124926({credential}) { // fn#124926, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16370:907, offset: 0x025c779c, size: 84 bytes, params: 2, frame: 15 if (true) { await undefined; if (false) { return undefined; } value = environment.__proto__.__proto__; value = env2_0(env2_1[7]); await value.signalUnknownCredential(credential); } } async function _fun124929({credentials}) { // fn#124929, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16370:1099, offset: 0x025c7804, size: 99 bytes, params: 2, frame: 17 if (true) { await undefined; if (false) { return undefined; } value = environment.__proto__.__proto__; var id = env2_8.getId(); value = env2_0(env2_1[7]); await value.signalAllAcceptedCredentials(credentials, id); } } async function _fun124932({user}) { // fn#124932, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16370:1313, offset: 0x025c787b, size: 83 bytes, params: 2, frame: 15 if (true) { await undefined; if (false) { return undefined; } value = environment.__proto__.__proto__; value = env2_0(env2_1[7]); await value.signalCurrentUserDetails(user); } }