/* Metro module 6254; source: modules/age_assurance/GoogleWalletActionCreators.native.tsx; dependencies: [5, 661, 507, 6255, 2] */ function _fun49382(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#49382, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6432:6, offset: 0x011f83e0, size: 207 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_3 = importDefault(5) /* metro dependency 5 */; const env0_4 = (require(661) /* metro dependency 661: Constants */).Endpoints; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/age_assurance/GoogleWalletActionCreators.native.tsx'); exports.requestGoogleWalletVerification = function() { return _requestGoogleWalletVerification.apply(this, arguments); }; exports.verifyGoogleWalletCredential = function() { return _verifyGoogleWalletCredential.apply(this, arguments); }; exports.checkGoogleWalletAvailable = function() { return _checkGoogleWalletAvailable.apply(this, arguments); }; exports.getGoogleWalletCredential = function() { return _getGoogleWalletCredential.apply(this, arguments); }; } function _requestGoogleWalletVerification() { // fn#49383, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6432:126, offset: 0x011f84af, size: 48 bytes, params: 1, frame: 14 return env0_3(_fun49385).apply(this, arguments); } function _verifyGoogleWalletCredential() { // fn#49386, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6432:380, offset: 0x011f8551, size: 48 bytes, params: 1, frame: 14 return env0_3(_fun49388).apply(this, arguments); } function _checkGoogleWalletAvailable() { // fn#49389, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6432:632, offset: 0x011f85f8, size: 48 bytes, params: 1, frame: 14 return env0_3(_fun49391).apply(this, arguments); } function _getGoogleWalletCredential() { // fn#49392, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6432:822, offset: 0x011f8695, size: 48 bytes, params: 1, frame: 14 return env0_3(_fun49394).apply(this, arguments); } function* _fun49385() { // fn#49385, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6432:213, offset: 0x011f84e8, size: 105 bytes, params: 1, frame: 14 if (false) { return undefined; } value = environment.__proto__.__proto__; const HTTP = env2_0(env2_2[2]).HTTP; const post = HTTP.post; const GOOGLE_WALLET_REQUEST = env2_4.GOOGLE_WALLET_REQUEST; yield Reflect.apply(post, HTTP, [{url: GOOGLE_WALLET_REQUEST, body: {}, rejectWithError: true, failImmediatelyWhenRateLimited: true}]); value = undefined; if (false) { return value; } return value.body; } function* _fun49388(a0) { // fn#49388, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6432:461, offset: 0x011f858a, size: 110 bytes, params: 2, frame: 15 if (true) { value = environment.__proto__.__proto__; var HTTP = env2_0(env2_2[2]).HTTP; var post = HTTP.post; var GOOGLE_WALLET_VERIFY = env2_4.GOOGLE_WALLET_VERIFY; yield Reflect.apply(post, HTTP, [{url: GOOGLE_WALLET_VERIFY, body: {credential_json: a0}, rejectWithError: true, failImmediatelyWhenRateLimited: true}]); } } function* _fun49391() { // fn#49391, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6432:709, offset: 0x011f8631, size: 100 bytes, params: 1, frame: 15 var binding; var binding2; var property; var value3; var value4; var binding3; var isAvailable; var value5; var error; if (false) { return undefined; } value = environment.__proto__.__proto__; try { binding = env2_1; } catch (error) { return false; } try { binding2 = env2_2; } catch (error) { return false; } try { property = binding2[3]; } catch (error) { return false; } try { value3 = binding(property); } catch (error) { return false; } try { value4 = value3 != null; } catch (error) { return false; } if (value4) { try { binding = env2_1; } catch (error) { return false; } try { binding3 = env2_2; } catch (error) { return false; } try { property = binding3[3]; } catch (error) { return false; } try { value = binding(property); } catch (error) { return false; } try { isAvailable = value.isAvailable; } catch (error) { return false; } try { value = Reflect.apply(isAvailable, value, []); } catch (error) { return false; } yield value; try { value = undefined; value5 = false; } catch (error) { return false; } if (value5) { return value; } return value; } return value4; } function* _fun49394(a0) { // fn#49394, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6432:897, offset: 0x011f86ce, size: 126 bytes, params: 2, frame: 14 if (true) { value = environment.__proto__.__proto__; if (env2_1(env2_2[3]) == null) { throw new global.Error('Digital credential module is not available'); } value = env2_1(env2_2[3]); var getCredential = value.getCredential; yield Reflect.apply(getCredential, value, [a0]); } }