Files
discord-decomp/sources/modules/age_assurance/native/GoogleWalletVerificationScreen.tsx
T
2026-07-28 01:06:53 +03:00

1943 lines
89 KiB
TypeScript

/* Metro module 6262; source: modules/age_assurance/native/GoogleWalletVerificationScreen.tsx; dependencies: [5, 57, 31, 27, 33, 1484, 4813, 6254, 4826, 4831, 1244, 2742, 6258, 6259, 4572, 4573, 6261, 4578, 5074, 2] */
import Module00005 from '../../../by-id/module-00005.js'; /* Metro dependency 5 */
import Module00057 from '../../../by-id/module-00057.js'; /* Metro dependency 57 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactNativeModule from '../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */
import * as UseNavigationNativeModule from '../../../design/components/Navigator/native/useNavigation.native.tsx'; /* Metro dependency 1484 */
import * as StackNativeModule from '../../../design/components/Stack/native/Stack.native.tsx'; /* Metro dependency 4572 */
import * as TextModule from '../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
import * as AgeVerificationUtilsModule from '../AgeVerificationUtils.tsx'; /* Metro dependency 4813 */
import * as ModalScreenNativeModule from '../../../design/components/Modal/native/ModalScreen.native.tsx'; /* Metro dependency 6258 */
import * as ModalContentNativeModule from '../../../design/components/Modal/native/ModalContent.native.tsx'; /* Metro dependency 6259 */
function _fun49437(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#49437, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6440:6, offset: 0x011f9785, size: 221 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const value = JsxRuntimeModule;
const env0_7 = value.jsx;
const env0_8 = value.jsxs;
const env0_9 = {'NOT_AVAILABLE': 'not_available', 'FAILED': 'credential_error'};
(FileImportTrackerModule).fileFinishedImporting('modules/age_assurance/native/GoogleWalletVerificationScreen.tsx');
exports.default = GoogleWalletVerificationScreen;
function GoogleWalletVerificationScreen({onClose, modalSessionId}) { // fn#49438, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6440:352, offset: 0x011f9862, size: 806 bytes, params: 2, frame: 30
var modalScreen;
const ModalScreen = (ModalScreenNativeModule).ModalScreen;
const ModalContent = (ModalContentNativeModule).ModalContent;
const Stack = (StackNativeModule).Stack;
const Text = (TextModule).Text;
var items3;
const intl = (IndexNativeModule).intl;
var items2;
const value2 = (UseNavigationNativeModule).useNavigation();
const binding = env0_5;
const [property, env0_2] = Module00057(binding.useState({type: 'loading'}), 2);
(AgeVerificationUtilsModule).useWatchAgeVerificationStatusChange(onClose);
const value5 = binding.useCallback(_fun49439, [value2]);
const value7 = binding.useCallback(value5(_fun49441), [value5]);
var env0_5 = binding.useRef(false);
binding.useEffect(_fun49442, [value2, value7]);
if (property.type === 'loading') {
items2 = [
<ActivityIndicator size="large" />,
];
items2[1] = (
<Text variant="text-md/medium" color="text-strong">
{intl.string((importDefault(2742) /* metro dependency 2742: AgeAssuranceMessages */).MlFuBI)}
</Text>
);
modalScreen = (
<ModalScreen>
<ModalContent>
<Stack
align="center"
justify="center"
spacing={16}
>
{items2}
</Stack>
</ModalContent>
</ModalScreen>
);
} else {
items3 = [
<Text variant="text-md/medium" color="text-strong">
{property.message}
</Text>,
];
items3[1] = ((ButtonGroup) => <ButtonGroup>{((Button) => <Button variant="primary" size="lg" text={intl.string((importDefault(2742) /* metro dependency 2742: AgeAssuranceMessages */).fEUKEv)} onPress={onPress_49446} />)((require(4578) /* metro dependency 4578: ButtonNative */).Button)}</ButtonGroup>)((require(6261) /* metro dependency 6261: ButtonGroupNative */).ButtonGroup);
modalScreen = (
<ModalScreen>
<ModalContent>
<Stack
align="center"
justify="center"
spacing={16}
>
{items3}
</Stack>
</ModalContent>
</ModalScreen>
);
}
return modalScreen;
function _fun49439() { // fn#49439, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6440:574, offset: 0x011f9b88, size: 21 bytes, params: 1, frame: 9
env0_1.goBack();
}
function* _fun49441() { // fn#49441, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6440:616, offset: 0x011f9ba6, size: 786 bytes, params: 1, frame: 19
var code;
var reason;
var status;
var r1;
var r10;
var binding;
var binding2;
var property;
var value4;
var requestGoogleWalletVerification;
var value5;
var value6;
var value7;
var request_json;
var binding3;
var value8;
var getGoogleWalletCredential;
var value9;
var value10;
var value11;
var binding4;
var value12;
var verifyGoogleWalletCredential;
var value13;
var value14;
var value15;
var error;
var body;
var value16;
var value17;
var binding5;
var value18;
var increment;
var object;
var binding6;
var MetricEvents;
var GOOGLE_WALLET_VERIFICATION_FAILED;
var value19;
var value20;
var intl;
var string;
var binding7;
var value21;
var binding8;
var value22;
var Pf5xUq;
var binding9;
var value23;
var value24;
if (false) {
return undefined;
}
value = undefined;
try {
binding = env2_0;
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
try {
binding2 = env2_2;
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
try {
property = binding2[7];
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
try {
value4 = binding(property);
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
try {
requestGoogleWalletVerification = value4.requestGoogleWalletVerification;
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
try {
value5 = Reflect.apply(requestGoogleWalletVerification, value4, []);
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
yield value5;
try {
value6 = undefined;
value7 = false;
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
if (value7) {
return value6;
}
try {
request_json = value6.request_json;
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
try {
binding = env2_0;
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
try {
binding3 = env2_2;
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
try {
property = binding3[7];
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
try {
value8 = binding(property);
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
try {
getGoogleWalletCredential = value8.getGoogleWalletCredential;
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
try {
value9 = Reflect.apply(getGoogleWalletCredential, value8, [request_json]);
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
yield value9;
try {
value10 = undefined;
value11 = false;
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
if (value11) {
return value10;
}
try {
binding = env2_0;
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
try {
binding4 = env2_2;
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
try {
property = binding4[7];
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
try {
value12 = binding(property);
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
try {
verifyGoogleWalletCredential = value12.verifyGoogleWalletCredential;
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
try {
value13 = Reflect.apply(verifyGoogleWalletCredential, value12, [value10]);
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
yield value13;
try {
value14 = undefined;
value15 = false;
} catch (error) {
code = error == null ? value : error.code;
if (code === 'CANCELLED') {
binding = env2_1;
binding9 = env2_2;
value23 = binding(binding9[8]);
increment = value23.increment;
object = {};
binding = env2_0;
object.name = binding(binding9[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:user_cancelled'];
Reflect.apply(increment, value23, [object]);
value24 = environment.__proto__;
env1_3();
return value;
}
if (error == null) {
reason = value;
} else {
body = error.body;
reason = body == null ? value : body.reason;
}
if (reason === 'unsupported_issuing_country') {
binding = env2_1;
binding7 = env2_2;
value21 = binding(binding7[8]);
increment = value21.increment;
object = {};
binding8 = env2_0;
object.name = binding8(binding7[9]).MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
object.tags = ['reason:unsupported_issuing_country'];
Reflect.apply(increment, value21, [object]);
value22 = environment.__proto__;
intl = binding8(binding7[10]).intl;
string = intl.string;
Pf5xUq = binding(binding7[11]).Pf5xUq;
dependencyMap({type: 'error', message: Reflect.apply(string, intl, [Pf5xUq])});
return value;
}
status = error == null ? value : error.status;
value16 = 'rate_limited';
if (status === 429) {
r10 = value16;
} else {
code = error == null ? value : error.code;
value17 = 'unknown';
if (code != null) {
code = error.code;
if (code in env2_9) {
binding = env2_9;
code = error.code;
property = binding[code];
r1 = property;
} else {
r1 = value17;
}
} else {
r1 = value17;
}
r10 = r1;
}
binding = env2_1;
binding5 = env2_2;
value18 = binding(binding5[8]);
increment = value18.increment;
binding6 = env2_0;
MetricEvents = binding6(binding5[9]).MetricEvents;
GOOGLE_WALLET_VERIFICATION_FAILED = MetricEvents.GOOGLE_WALLET_VERIFICATION_FAILED;
value19 = 'reason:' + r10;
Reflect.apply(increment, value18, [{name: GOOGLE_WALLET_VERIFICATION_FAILED, tags: [value19]}]);
value20 = environment.__proto__;
object = {type: 'error'};
intl = binding6(binding5[10]).intl;
object.message = intl.string(binding(binding5[11])['+pwfOA']);
dependencyMap(object);
return value;
}
return value15 ? value14 : value;
}
function _fun49442() { // fn#49442, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6440:1629, offset: 0x011f9eb8, size: 72 bytes, params: 1, frame: 14
const env0_0 = env0_1.addListener('transitionEnd', _fun49443);
var env0_1 = global.setTimeout(_fun49444, 1000);
return _fun49445;
function _fun49443(a0) { // fn#49443, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6440:1671, offset: 0x011f9f00, size: 64 bytes, params: 2, frame: 11
if (!(env1_5.current || a0.data.closing === true)) {
env1_5.current = true;
env1_4();
}
}
function _fun49444() { // fn#49444, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6440:1743, offset: 0x011f9f40, size: 41 bytes, params: 1, frame: 10
if (!env1_5.current) {
env1_5.current = true;
env1_4();
}
}
function _fun49445() { // fn#49445, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6440:1791, offset: 0x011f9f69, size: 32 bytes, params: 1, frame: 11
env0_0();
global.clearTimeout(env0_1);
}
}
function GoogleWalletVerificationScreenOnPress() { // fn#49446, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6440:2473, owner: GoogleWalletVerificationScreen.onPress, offset: 0x011f9f89, size: 97 bytes, params: 1, frame: 19
let value = environment.__proto__;
value = require(5074) /* metro dependency 5074: AgeVerificationAnalyticsUtils */;
const trackAgeVerificationModalClicked = value.trackAgeVerificationModalClicked;
const modalSessionIdBinding = modalSessionId;
const AgeVerificationModalVersion = (require(5074) /* metro dependency 5074: AgeVerificationAnalyticsUtils */).AgeVerificationModalVersion;
const EXPRESSIVE_PRIMARY = AgeVerificationModalVersion.EXPRESSIVE_PRIMARY;
const AgeVerificationModalCta = (require(5074) /* metro dependency 5074: AgeVerificationAnalyticsUtils */).AgeVerificationModalCta;
const METHOD_SELECT = AgeVerificationModalCta.METHOD_SELECT;
Reflect.apply(trackAgeVerificationModalClicked, value, [modalSessionIdBinding, EXPRESSIVE_PRIMARY, METHOD_SELECT]);
Module00005();
}
}
}
global.__d(_fun49437, 6262, [5, 57, 31, 27, 33, 1484, 4813, 6254, 4826, 4831, 1244, 2742, 6258, 6259, 4572, 4573,
6261, 4578, 5074,
2]) /* metro module 6262, dependencies: [5, 57, 31, 27, 33, 1484, 4813, 6254, 4826, 4831, 1244, 2742, 6258, 6259, 4572, 4573, 6261, 4578, 5074, 2] */;