1402 lines
53 KiB
TypeScript
1402 lines
53 KiB
TypeScript
/* Metro module 8971; source: modules/auth/native/components/Login.tsx; dependencies: [5, 57, 31, 27, 8972, 1226, 661, 33, 4501, 5278, 4573, 4496, 1244, 477, 4671, 8973, 1484, 566, 1487, 5076, 8975, 4497, 8976, 8977, 8978, 4131, 8979, 8983, 8984, 8986, 8987, 8980, 4578, 8988, 1305, 1581, 8990, 8992, 7981, 8998, 8999, 9001, 4572, 9005, 8970, 2] */
|
|
function _fun69920(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#69920, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:6, offset: 0x01ce8672, size: 319 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 = importDefault(57) /* metro dependency 57 */;
|
|
const env0_5 = importAll(31) /* metro dependency 31 */;
|
|
const env0_6 = (require(27) /* metro dependency 27 */).View;
|
|
const phoneStore = importDefault(8972) /* metro dependency 8972: PhoneStore */;
|
|
const authenticationStore = importDefault(1226) /* metro dependency 1226: AuthenticationStore */;
|
|
const env0_9 = (require(661) /* metro dependency 661: Constants */).AuthStates;
|
|
const value = require(33) /* metro dependency 33 */;
|
|
const env0_10 = value.jsx;
|
|
const env0_11 = value.jsxs;
|
|
const env0_12 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(function(a0) {
|
|
return {password: {marginTop: 24}, button: {'width': '100%', 'marginTop': 16}, hint: {marginTop: 4},
|
|
link: {'alignSelf': 'flex-start', 'paddingVertical': 4}, separator: {'paddingHorizontal': 16,
|
|
'paddingVertical': 4}, content: {marginTop: 32, marginBottom: a0 ? 12 : 0}};
|
|
});
|
|
const closure = LinkButton_69924;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/auth/native/components/Login.tsx');
|
|
exports.default = Login;
|
|
exports.LinkButton = closure;
|
|
}
|
|
|
|
function handlePressPasswordManagerHint() { // fn#69921, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:752, offset: 0x01ce87b1, size: 261 bytes, params: 1, frame: 18
|
|
const defaultImport = importDefault(4496) /* metro dependency 4496: AlertActionCreators */;
|
|
const show = defaultImport.show;
|
|
const object2 = {};
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
const string = intl.string;
|
|
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
|
object2.title = Reflect.apply(string, intl, [t.lzsy7t]);
|
|
object2.body = intl.string(t['TYqh/t']);
|
|
object2.confirmText = intl.string(t['9x0iKe']);
|
|
object2.cancelText = intl.string(t['ETE/oC']);
|
|
object2.onConfirm = onConfirm;
|
|
Reflect.apply(show, defaultImport, [object2]);
|
|
}
|
|
|
|
function LinkButton_69924({onPress, text, containerStyle, textStyle, variant, textColor}) { // fn#69924, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:475, offset: 0x01ce8973, size: 189 bytes, params: 2, frame: 22
|
|
variant = variant === undefined ? 'text-xs/medium' : variant;
|
|
textColor = textColor === undefined ? 'text-link' : textColor;
|
|
const PressableOpacity = (require(5278) /* metro dependency 5278: Pressables */).PressableOpacity;
|
|
const items2 = [containerStyle];
|
|
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
|
return (
|
|
<PressableOpacity
|
|
style={items2}
|
|
hitSlop={{'top': 8, 'right': 8, 'bottom': 8}}
|
|
accessibilityRole="button"
|
|
onPress={onPress}
|
|
>
|
|
<Text
|
|
style={textStyle}
|
|
variant={variant}
|
|
color={textColor}
|
|
>
|
|
{text}
|
|
</Text>
|
|
</PressableOpacity>
|
|
);
|
|
}
|
|
|
|
function Login({isMultiAccount}) { // fn#69925, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:1172, offset: 0x01ce8a30, size: 2897 bytes, params: 2, frame: 41
|
|
var button;
|
|
var r8;
|
|
var r5;
|
|
var Button;
|
|
var LINK;
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
var moduleValue6;
|
|
isMultiAccount = !(isMultiAccount === undefined) && isMultiAccount;
|
|
let env0_4 = undefined;
|
|
let env0_5 = undefined;
|
|
var value;
|
|
const styles = useStyles((importDefault(8973) /* metro dependency 8973: useWideAuthView */)());
|
|
const value3 = (require(1484) /* metro dependency 1484: useNavigationNative */).useNavigation();
|
|
const fluxModule = require(566) /* metro dependency 566: flux */;
|
|
const useStateFromStores = fluxModule.useStateFromStores;
|
|
let object = [PhoneStore];
|
|
const countryCode = Reflect.apply(useStateFromStores, fluxModule, [object, function() {
|
|
return PhoneStore.getCountryCode();
|
|
}]);
|
|
const value4 = countryCode.code.split(' ');
|
|
let binding = env0_4;
|
|
const property = binding(value4, 1)[0];
|
|
const binding2 = env0_5;
|
|
const value7 = binding2.useRef(null);
|
|
let useState = binding2.useState;
|
|
const value9 = binding(Reflect.apply(useState, binding2, [false]), 2);
|
|
const property2 = value9[0];
|
|
const env0_3 = value9[1];
|
|
useState = binding2.useState;
|
|
const value10 = binding(Reflect.apply(useState, binding2, [false]), 2);
|
|
const property3 = value10[0];
|
|
env0_4 = value10[1];
|
|
useState = binding2.useState;
|
|
const value11 = binding(Reflect.apply(useState, binding2, [{}]), 2);
|
|
const property4 = value11[0];
|
|
env0_5 = value11[1];
|
|
useState = binding2.useState;
|
|
const value12 = binding(Reflect.apply(useState, binding2, ['']), 2);
|
|
const property5 = value12[0];
|
|
const env0_7 = value12[1];
|
|
useState = binding2.useState;
|
|
const value13 = binding(Reflect.apply(useState, binding2, ['']), 2);
|
|
const env0_8 = value13[0];
|
|
const property6 = value13[1];
|
|
useState = binding2.useState;
|
|
const value14 = binding(Reflect.apply(useState, binding2, [false]), 2);
|
|
const property7 = value14[0];
|
|
const env0_10 = value14[1];
|
|
const env0_11 = binding2.useRef(undefined);
|
|
binding2.useEffect(function() {
|
|
return _fun69928;
|
|
}, []);
|
|
let useCallback = binding2.useCallback;
|
|
const value15 = Reflect.apply(useCallback, binding2, [_fun69929, []]);
|
|
const moduleValue3 = require(1487) /* metro dependency 1487 */;
|
|
const useFocusEffect = moduleValue3.useFocusEffect;
|
|
useCallback = binding2.useCallback;
|
|
Reflect.apply(useFocusEffect, moduleValue3, [Reflect.apply(useCallback, binding2, [_fun69931, []])]);
|
|
useCallback = binding2.useCallback;
|
|
binding = env0_3;
|
|
const env0_13 = Reflect.apply(useCallback, binding2, [binding(_fun69933), [value15, property5]]);
|
|
const value18 = binding2.useCallback(_fun69934(), [value15, isMultiAccount]);
|
|
const value20 = binding2.useCallback(binding(_fun69939), [value15, property7]);
|
|
(importDefault(8983) /* metro dependency 8983: useLoginReset */)();
|
|
(importDefault(8984) /* metro dependency 8984: useWithPostLoginRouting */)(value3, value18);
|
|
const r28 = (importDefault(8986) /* metro dependency 8986: getError */)('login',
|
|
property4) ?? (importDefault(8986) /* metro dependency 8986: getError */)('email', property4);
|
|
const value23 = (importDefault(8986) /* metro dependency 8986: getError */)('password', property4);
|
|
const {newButton,
|
|
canDisable} = (importDefault(8987) /* metro dependency 8987: PasskeyButtonUpdateExperiment */).useConfig({location: 'Login'});
|
|
const r10 = canDisable && (property3 || property7);
|
|
if ((require(8980) /* metro dependency 8980: MFAUtils */).hasWebAuthn) {
|
|
if (newButton) {
|
|
Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
|
|
button = <Button icon={((KeyIcon) => <KeyIcon />)((require(8988) /* metro dependency 8988: KeyIcon */).KeyIcon)} size="lg" variant="tertiary" disabled={r10} text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t.EiwJkN)} onPress={value20} />;
|
|
} else {
|
|
Button = (require(1305) /* metro dependency 1305: native */).Button;
|
|
object = {shrink: true};
|
|
LINK = (require(1305) /* metro dependency 1305: native */).Button.Looks.LINK;
|
|
object.look = LINK;
|
|
LINK = (require(1305) /* metro dependency 1305: native */).Button.Colors.LINK;
|
|
object.color = LINK;
|
|
object.size = (require(1305) /* metro dependency 1305: native */).Button.Sizes.MEDIUM;
|
|
object.style = styles.button;
|
|
object.text = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['/kpMDt']);
|
|
object.onPress = value20;
|
|
object.disabled = r10;
|
|
button = <Button {...object} />;
|
|
}
|
|
r8 = button;
|
|
} else {
|
|
r8 = null;
|
|
}
|
|
const metaQuestUtilsAndroidModule = require(1581) /* metro dependency 1581: MetaQuestUtilsAndroid */;
|
|
if (metaQuestUtilsAndroidModule.isMetaQuest()) {
|
|
Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
|
|
r8 = <Button icon={((MobilePhoneIcon) => <MobilePhoneIcon color="control-primary-text-default" />)((require(8990) /* metro dependency 8990: MobilePhoneIcon */).MobilePhoneIcon)} size="lg" variant="primary" disabled={property3} text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t.Cc4Mc9)} onPress={onPress_69940} />;
|
|
}
|
|
const PhoneOrEmailInput = importDefault(8992) /* metro dependency 8992: PhoneOrEmailInput */;
|
|
const items3 = [<PhoneOrEmailInput autoFocus textContentType="emailAddress" keyboardType="email-address" alpha2={countryCode.alpha2} countryCode={property} onChange={onChange_69941} onSubmitEditing={onSubmitEditing_69942} returnKeyType="next" autoCapitalize="none" label={intl.string((require(1244) /* metro dependency 1244: indexNative */).t.tUjnxr)} errorMessage={r28} testID="login_login_input" onPressCountrySelector={onPressCountrySelector} isClearable autoComplete="username" />];
|
|
const TextInput = (require(7981) /* metro dependency 7981: TextInputNative */).TextInput;
|
|
const textInputProps2 = {containerStyle: styles.password, ref: value7, textContentType: 'password',
|
|
secureTextEntry: !property2, onChange: property6, autoCapitalize: 'none',
|
|
onSubmitEditing: onSubmitEditing_69944,
|
|
label: intl.string((require(1244) /* metro dependency 1244: indexNative */).t['CIGa+7']),
|
|
trailingIcon: property2 ? (require(8998) /* metro dependency 8998: EyeSlashIcon */).EyeSlashIcon : (require(8999) /* metro dependency 8999: EyeIcon */).EyeIcon};
|
|
const string = intl.string;
|
|
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
|
textInputProps2.trailingPressableProps = {accessibilityLabel: property2 ? Reflect.apply(string, intl,
|
|
[t.Nusip4]) : Reflect.apply(string, intl, [t.nFzpM5]), onPress: onPress_69945, hitSlop: {'top': 8, 'bottom': 8}};
|
|
textInputProps2.returnKeyType = 'done';
|
|
textInputProps2.errorMessage = value23;
|
|
textInputProps2.testID = 'login_password_input';
|
|
textInputProps2.autoComplete = 'current-password';
|
|
items3[1] = <TextInput {...textInputProps2} />;
|
|
items3[2] = <LinkButton_69924 containerStyle={styles.link} onPress={onPress_69947} text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t.wWIufs)} />;
|
|
const platformUtilsModule = require(477) /* metro dependency 477: PlatformUtils */;
|
|
if (platformUtilsModule.isAndroid()) {
|
|
moduleValue6 = metaQuestUtilsAndroidModule;
|
|
if (moduleValue6.isMetaQuest()) {
|
|
r5 = null;
|
|
} else {
|
|
r5 = <LinkButton_69924 containerStyle={styles.link} onPress={handlePressPasswordManagerHint} text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t.RL5Fy2)} textColor="text-link" />;
|
|
}
|
|
} else {
|
|
r5 = null;
|
|
}
|
|
items3[3] = r5;
|
|
Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
|
|
items3[4] = <View style={styles.button}><Button size="lg" variant={metaQuestUtilsAndroidModule.isMetaQuest() ? 'tertiary' : 'primary'} disabled={property7} loading={property3} text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t.dKhVQN)} onPress={onPress_69948} /></View>;
|
|
const view = <View>{items3}</View>;
|
|
const AuthFormView = importDefault(9001) /* metro dependency 9001: AuthFormView */;
|
|
const authFormViewProps = {headerText: intl.string((require(1244) /* metro dependency 1244: indexNative */).t['7fNJgA'])};
|
|
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
|
authFormViewProps.subHeader = <Text variant="text-sm/medium" color="text-default">{intl.string((require(1244) /* metro dependency 1244: indexNative */).t.euS7r4)}</Text>;
|
|
const moduleValue8 = metaQuestUtilsAndroidModule;
|
|
const items2 = [moduleValue8.isMetaQuest() ? r8 : view];
|
|
const moduleValue9 = metaQuestUtilsAndroidModule;
|
|
items2[1] = moduleValue9.isMetaQuest() || newButton ? ((Stack) => <Stack style={styles.separator}>{((OrSeparator) => <OrSeparator />)((require(9005) /* metro dependency 9005: JoinServer */).OrSeparator)}</Stack>)((require(4572) /* metro dependency 4572: StackNative */).Stack) : null;
|
|
const moduleValue10 = metaQuestUtilsAndroidModule;
|
|
r8 = moduleValue10.isMetaQuest() ? view : r8;
|
|
items2[2] = r8;
|
|
if (property4.message != null) {
|
|
if (property4.message === '') {
|
|
r8 = null;
|
|
} else {
|
|
value = importDefault(8970) /* metro dependency 8970: FreeFormErrorLabel */;
|
|
value = ((Component) => <Component style={styles.hint}>{property4.message}</Component>)(value);
|
|
r8 = value;
|
|
}
|
|
} else {
|
|
r8 = null;
|
|
}
|
|
items2[3] = r8;
|
|
return (
|
|
<AuthFormView {...authFormViewProps}>
|
|
<View style={styles.content}>
|
|
{items2}
|
|
</View>
|
|
</AuthFormView>
|
|
);
|
|
}
|
|
|
|
function handlePressPasswordManagerHintOnConfirm() { // fn#69922, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:1012, owner: handlePressPasswordManagerHint.onConfirm, offset: 0x01ce88b6, size: 72 bytes, params: 1, frame: 12
|
|
const value = environment.__proto__;
|
|
const platformUtilsModule = require(477) /* metro dependency 477: PlatformUtils */;
|
|
if (platformUtilsModule.isAndroid()) {
|
|
(importDefault(4671) /* metro dependency 4671: NativeDeviceSettingsModule */).openAccessibilitySettings();
|
|
}
|
|
}
|
|
|
|
function _fun69927() { // fn#69927, offset: 0x01ce9594, size: 11 bytes, params: 1, frame: 1
|
|
return _fun69928;
|
|
}
|
|
|
|
function _fun69929(a0) { // fn#69929, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:1704, offset: 0x01ce95bc, size: 111 bytes, params: 2, frame: 15
|
|
env0_5(a0);
|
|
if (a0.retry_after != null) {
|
|
global.clearTimeout(env0_11.current);
|
|
env0_10(true);
|
|
env0_11.current = global.setTimeout(_fun69930, 1000 * a0.retry_after);
|
|
}
|
|
}
|
|
|
|
function* _fun69933() { // fn#69933, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:1906, offset: 0x01ce965a, size: 469 bytes, params: 1, frame: 24
|
|
var value;
|
|
var value2;
|
|
var binding;
|
|
var value3;
|
|
var binding2;
|
|
var property;
|
|
var value4;
|
|
var forgotPassword;
|
|
var value5;
|
|
var value6;
|
|
var value7;
|
|
var value8;
|
|
var binding3;
|
|
var value9;
|
|
var PasswordResetMethods;
|
|
var ONE_TIME_LOGIN;
|
|
var value10;
|
|
var binding4;
|
|
var value11;
|
|
var show;
|
|
var object3;
|
|
var value12;
|
|
var intl;
|
|
var string;
|
|
var value13;
|
|
var t;
|
|
var f5Pi7A;
|
|
var value14;
|
|
var value15;
|
|
var format;
|
|
var value16;
|
|
var object4;
|
|
var value17;
|
|
var binding5;
|
|
var value18;
|
|
var openAlert;
|
|
var binding6;
|
|
var value19;
|
|
var value20;
|
|
var error;
|
|
var binding7;
|
|
var value21;
|
|
var getAuthenticationErrorsFromV6OrEarlierAPIError;
|
|
var value22;
|
|
exceptionLanding89: while (true) {
|
|
value = undefined;
|
|
value2 = false;
|
|
if (value2) {
|
|
return value;
|
|
}
|
|
value = environment.__proto__;
|
|
env1_4(true);
|
|
binding = env1_5;
|
|
binding({});
|
|
value3 = environment.__proto__.__proto__;
|
|
reducibleJoin4: while (true) {
|
|
reduciblePort88: while (true) {
|
|
exceptionLanding77: while (true) {
|
|
try {
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
break reducibleJoin4;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
binding7 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
property = binding7[23];
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
value21 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
getAuthenticationErrorsFromV6OrEarlierAPIError = value21.getAuthenticationErrorsFromV6OrEarlierAPIError;
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
value22 = Reflect.apply(getAuthenticationErrorsFromV6OrEarlierAPIError, value21, [error]);
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
useStyles(value22);
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
break reduciblePort88;
|
|
}
|
|
env1_4(false);
|
|
return undefined;
|
|
}
|
|
try {
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
property = binding2[19];
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
value4 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
forgotPassword = value4.forgotPassword;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
value5 = Reflect.apply(forgotPassword, value4, [View]);
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
yield value5;
|
|
try {
|
|
try {
|
|
value6 = undefined;
|
|
value7 = false;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
if (value7) {
|
|
env1_4(false);
|
|
return value6;
|
|
}
|
|
try {
|
|
try {
|
|
value8 = value6 === false;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
if (value8) {
|
|
env1_4(false);
|
|
return undefined;
|
|
}
|
|
try {
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
binding3 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
property = binding3[20];
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
value9 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
PasswordResetMethods = value9.PasswordResetMethods;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
ONE_TIME_LOGIN = PasswordResetMethods.ONE_TIME_LOGIN;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
value10 = value6 === ONE_TIME_LOGIN;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
if (value10) {
|
|
try {
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
binding5 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
property = binding5[21];
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
value18 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
openAlert = value18.openAlert;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
binding = env2_10;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
binding6 = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
property = binding5[22];
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
value19 = binding6(property);
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
object3 = {};
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
value20 = binding(value19, object3);
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
Reflect.apply(openAlert, value18, ['one-time-login-forgot-password-confirm', value20]);
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
} else {
|
|
try {
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
binding4 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
property = binding4[11];
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
value11 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
show = value11.show;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
object3 = {};
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
property = binding4[12];
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
value12 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
intl = value12.intl;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
string = intl.string;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
property = binding4[12];
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
value13 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
t = value13.t;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
f5Pi7A = t.f5Pi7A;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
value14 = Reflect.apply(string, intl, [f5Pi7A]);
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
object3.title = value14;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
property = binding4[12];
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
value15 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
intl = value15.intl;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
format = intl.format;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
property = binding4[12];
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
value16 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
t = value16.t;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
property = t['6u5hQ9'];
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
object4 = {};
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
object4.email = View;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
value17 = Reflect.apply(format, intl, [property, object4]);
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
object3.body = value17;
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
try {
|
|
try {
|
|
Reflect.apply(show, value11, [object3]);
|
|
} catch (error) {
|
|
break exceptionLanding77;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding89;
|
|
}
|
|
}
|
|
env1_4(false);
|
|
return undefined;
|
|
}
|
|
env1_4(false);
|
|
throw error;
|
|
}
|
|
|
|
function _fun69934() { // fn#69934, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:2356, offset: 0x01ce982f, size: 36 bytes, params: 1, frame: 12
|
|
const env0_0 = env1_3(_fun69936);
|
|
return _fun69937;
|
|
}
|
|
|
|
function* _fun69939() { // fn#69939, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:2651, offset: 0x01ce9942, size: 344 bytes, params: 1, frame: 17
|
|
var value;
|
|
var value2;
|
|
var value3;
|
|
var binding;
|
|
var getIsPasswordlessActive;
|
|
var value4;
|
|
var getPasskeyAuthenticator;
|
|
var value5;
|
|
var binding2;
|
|
var property;
|
|
var value6;
|
|
var authenticatePasswordless;
|
|
var object2;
|
|
var value7;
|
|
var value8;
|
|
var value9;
|
|
var error;
|
|
var binding3;
|
|
var value10;
|
|
var APIError;
|
|
var value11;
|
|
var binding4;
|
|
var value12;
|
|
var IgnorableWebAuthnError;
|
|
var value13;
|
|
var message;
|
|
var binding5;
|
|
var value14;
|
|
var getAuthenticationErrorsFromAPIError;
|
|
var value15;
|
|
exceptionLanding54: while (true) {
|
|
value = undefined;
|
|
value2 = false;
|
|
if (value2) {
|
|
return value;
|
|
}
|
|
value = environment.__proto__;
|
|
if (!AuthStates) {
|
|
value3 = environment.__proto__.__proto__;
|
|
binding = env2_8;
|
|
getIsPasswordlessActive = binding.getIsPasswordlessActive;
|
|
reducibleJoin55: while (true) {
|
|
if (Reflect.apply(getIsPasswordlessActive, binding, [])) {
|
|
break reducibleJoin55;
|
|
}
|
|
binding = env2_1;
|
|
value4 = binding(env2_2[24]);
|
|
getPasskeyAuthenticator = value4.getPasskeyAuthenticator;
|
|
value5 = Reflect.apply(getPasskeyAuthenticator, value4, []);
|
|
env1_4(true);
|
|
binding = env1_5;
|
|
binding({});
|
|
reducibleJoin5: while (true) {
|
|
reduciblePort53: while (true) {
|
|
exceptionLanding18: while (true) {
|
|
try {
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding18;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
break reducibleJoin5;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
binding3 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
property = binding3[25];
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
value10 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
APIError = value10.APIError;
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
value11 = error instanceof APIError;
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
if (value11) {
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
binding5 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
property = binding5[23];
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
value14 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
getAuthenticationErrorsFromAPIError = value14.getAuthenticationErrorsFromAPIError;
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
value15 = Reflect.apply(getAuthenticationErrorsFromAPIError, value14, [error]);
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
useStyles(value15);
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
} else {
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
binding4 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
property = binding4[26];
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
value12 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
IgnorableWebAuthnError = value12.IgnorableWebAuthnError;
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
value13 = error instanceof IgnorableWebAuthnError;
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
reducibleJoin53: while (true) {
|
|
if (value13) {
|
|
break reducibleJoin53;
|
|
}
|
|
try {
|
|
binding = env1_5;
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
message = error.message;
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
object2.message = message;
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
binding(object2);
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
break reducibleJoin53;
|
|
}
|
|
}
|
|
break reduciblePort53;
|
|
}
|
|
env1_4(false);
|
|
break reducibleJoin55;
|
|
}
|
|
try {
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding18;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
try {
|
|
property = binding2[19];
|
|
} catch (error) {
|
|
break exceptionLanding18;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
try {
|
|
value6 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding18;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
try {
|
|
authenticatePasswordless = value6.authenticatePasswordless;
|
|
} catch (error) {
|
|
break exceptionLanding18;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
break exceptionLanding18;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
try {
|
|
object2.authenticateFunc = value5;
|
|
} catch (error) {
|
|
break exceptionLanding18;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
try {
|
|
try {
|
|
value7 = Reflect.apply(authenticatePasswordless, value6, [object2]);
|
|
} catch (error) {
|
|
break exceptionLanding18;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
yield value7;
|
|
try {
|
|
try {
|
|
value8 = undefined;
|
|
value9 = false;
|
|
} catch (error) {
|
|
break exceptionLanding18;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding54;
|
|
}
|
|
if (value9) {
|
|
env1_4(false);
|
|
return value8;
|
|
}
|
|
env1_4(false);
|
|
break reducibleJoin55;
|
|
}
|
|
}
|
|
return undefined;
|
|
}
|
|
env1_4(false);
|
|
throw error;
|
|
}
|
|
|
|
function LoginOnPress() { // fn#69940, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:3817, owner: Login.onPress, offset: 0x01ce9a9a, size: 32 bytes, params: 1, frame: 11
|
|
const binding = env0_1;
|
|
const push = binding.push;
|
|
const COMPANION_REMOTE_AUTH = AuthStates.COMPANION_REMOTE_AUTH;
|
|
return Reflect.apply(push, binding, [COMPANION_REMOTE_AUTH]);
|
|
}
|
|
|
|
function LoginOnChange(a0, a1) { // fn#69941, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:4000, owner: Login.onChange, offset: 0x01ce9aba, size: 26 bytes, params: 3, frame: 11
|
|
env0_7(a1 + a0);
|
|
}
|
|
|
|
function LoginOnSubmitEditing() { // fn#69942, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:4032, owner: Login.onSubmitEditing, offset: 0x01ce9ad4, size: 35 bytes, params: 1, frame: 10
|
|
return env0_2.current?.focus();
|
|
}
|
|
|
|
function LoginOnPressCountrySelector() { // fn#69943, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:4243, owner: Login.onPressCountrySelector, offset: 0x01ce9af7, size: 32 bytes, params: 1, frame: 11
|
|
const binding = env0_1;
|
|
const push = binding.push;
|
|
const COUNTRY_SELECT = AuthStates.COUNTRY_SELECT;
|
|
return Reflect.apply(push, binding, [COUNTRY_SELECT]);
|
|
}
|
|
|
|
function LoginOnSubmitEditing_69944() { // fn#69944, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:4462, owner: Login.onSubmitEditing, offset: 0x01ce9b17, size: 25 bytes, params: 1, frame: 13
|
|
return env0_14(env0_6, env0_8);
|
|
}
|
|
|
|
function LoginOnPress_69945() { // fn#69945, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:4709, owner: Login.onPress, offset: 0x01ce9b30, size: 25 bytes, params: 1, frame: 11
|
|
return env0_3(function(a0) {
|
|
return !a0;
|
|
});
|
|
}
|
|
|
|
function _fun69928() { // fn#69928, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:1648, offset: 0x01ce959f, size: 29 bytes, params: 1, frame: 11
|
|
global.clearTimeout(env1_11.current);
|
|
}
|
|
|
|
function _fun69930() { // fn#69930, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:1787, offset: 0x01ce962b, size: 18 bytes, params: 1, frame: 11
|
|
env1_10(false);
|
|
}
|
|
|
|
async function _fun69936(a0, a1) { // fn#69936, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9156:2376, offset: 0x01ce9867, size: 208 bytes, params: 3, frame: 18
|
|
var binding2;
|
|
var property;
|
|
var value6;
|
|
var login;
|
|
var object2;
|
|
var value7;
|
|
var value8;
|
|
var value9;
|
|
var error;
|
|
var value10;
|
|
var authenticationErrorsFromV6OrEarlierAPIError;
|
|
let value = a2;
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
const r1 = value !== undefined ? value : false;
|
|
await undefined;
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
value = environment.__proto__.__proto__;
|
|
env2_4(true);
|
|
let binding = env2_5;
|
|
binding({});
|
|
try {
|
|
binding = env3_1;
|
|
} catch (error) {
|
|
env2_4(false);
|
|
binding = env3_0;
|
|
value10 = binding(env3_2[23]);
|
|
authenticationErrorsFromV6OrEarlierAPIError = value10.getAuthenticationErrorsFromV6OrEarlierAPIError(error);
|
|
useStyles(authenticationErrorsFromV6OrEarlierAPIError);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding2 = env3_2;
|
|
} catch (error) {
|
|
env2_4(false);
|
|
binding = env3_0;
|
|
value10 = binding(env3_2[23]);
|
|
authenticationErrorsFromV6OrEarlierAPIError = value10.getAuthenticationErrorsFromV6OrEarlierAPIError(error);
|
|
useStyles(authenticationErrorsFromV6OrEarlierAPIError);
|
|
return undefined;
|
|
}
|
|
try {
|
|
property = binding2[19];
|
|
} catch (error) {
|
|
env2_4(false);
|
|
binding = env3_0;
|
|
value10 = binding(env3_2[23]);
|
|
authenticationErrorsFromV6OrEarlierAPIError = value10.getAuthenticationErrorsFromV6OrEarlierAPIError(error);
|
|
useStyles(authenticationErrorsFromV6OrEarlierAPIError);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value6 = binding(property);
|
|
} catch (error) {
|
|
env2_4(false);
|
|
binding = env3_0;
|
|
value10 = binding(env3_2[23]);
|
|
authenticationErrorsFromV6OrEarlierAPIError = value10.getAuthenticationErrorsFromV6OrEarlierAPIError(error);
|
|
useStyles(authenticationErrorsFromV6OrEarlierAPIError);
|
|
return undefined;
|
|
}
|
|
try {
|
|
login = value6.login;
|
|
} catch (error) {
|
|
env2_4(false);
|
|
binding = env3_0;
|
|
value10 = binding(env3_2[23]);
|
|
authenticationErrorsFromV6OrEarlierAPIError = value10.getAuthenticationErrorsFromV6OrEarlierAPIError(error);
|
|
useStyles(authenticationErrorsFromV6OrEarlierAPIError);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
env2_4(false);
|
|
binding = env3_0;
|
|
value10 = binding(env3_2[23]);
|
|
authenticationErrorsFromV6OrEarlierAPIError = value10.getAuthenticationErrorsFromV6OrEarlierAPIError(error);
|
|
useStyles(authenticationErrorsFromV6OrEarlierAPIError);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object2.login = a0;
|
|
} catch (error) {
|
|
env2_4(false);
|
|
binding = env3_0;
|
|
value10 = binding(env3_2[23]);
|
|
authenticationErrorsFromV6OrEarlierAPIError = value10.getAuthenticationErrorsFromV6OrEarlierAPIError(error);
|
|
useStyles(authenticationErrorsFromV6OrEarlierAPIError);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object2.password = a1;
|
|
} catch (error) {
|
|
env2_4(false);
|
|
binding = env3_0;
|
|
value10 = binding(env3_2[23]);
|
|
authenticationErrorsFromV6OrEarlierAPIError = value10.getAuthenticationErrorsFromV6OrEarlierAPIError(error);
|
|
useStyles(authenticationErrorsFromV6OrEarlierAPIError);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object2.undelete = r1;
|
|
} catch (error) {
|
|
env2_4(false);
|
|
binding = env3_0;
|
|
value10 = binding(env3_2[23]);
|
|
authenticationErrorsFromV6OrEarlierAPIError = value10.getAuthenticationErrorsFromV6OrEarlierAPIError(error);
|
|
useStyles(authenticationErrorsFromV6OrEarlierAPIError);
|
|
return undefined;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
env2_4(false);
|
|
binding = env3_0;
|
|
value10 = binding(env3_2[23]);
|
|
authenticationErrorsFromV6OrEarlierAPIError = value10.getAuthenticationErrorsFromV6OrEarlierAPIError(error);
|
|
useStyles(authenticationErrorsFromV6OrEarlierAPIError);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object2.isMultiAccount = require;
|
|
} catch (error) {
|
|
env2_4(false);
|
|
binding = env3_0;
|
|
value10 = binding(env3_2[23]);
|
|
authenticationErrorsFromV6OrEarlierAPIError = value10.getAuthenticationErrorsFromV6OrEarlierAPIError(error);
|
|
useStyles(authenticationErrorsFromV6OrEarlierAPIError);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value7 = Reflect.apply(login, value6, [object2]);
|
|
} catch (error) {
|
|
env2_4(false);
|
|
binding = env3_0;
|
|
value10 = binding(env3_2[23]);
|
|
authenticationErrorsFromV6OrEarlierAPIError = value10.getAuthenticationErrorsFromV6OrEarlierAPIError(error);
|
|
useStyles(authenticationErrorsFromV6OrEarlierAPIError);
|
|
return undefined;
|
|
}
|
|
await value7;
|
|
try {
|
|
value8 = undefined;
|
|
value9 = false;
|
|
} catch (error) {
|
|
env2_4(false);
|
|
binding = env3_0;
|
|
value10 = binding(env3_2[23]);
|
|
authenticationErrorsFromV6OrEarlierAPIError = value10.getAuthenticationErrorsFromV6OrEarlierAPIError(error);
|
|
useStyles(authenticationErrorsFromV6OrEarlierAPIError);
|
|
return undefined;
|
|
}
|
|
return value9 ? value8 : undefined;
|
|
}
|
|
|