1021 lines
45 KiB
TypeScript
1021 lines
45 KiB
TypeScript
/* Metro module 9456; source: modules/hub/native/components/HubEmailConnectionPinVerify.tsx; dependencies: [57, 5, 31, 27, 1867, 33, 4501, 3857, 9197, 9457, 8776, 22, 9450, 1244, 4131, 6947, 9444, 9458, 4573, 6766, 9026, 2] */
|
|
import Module00005 from '../../../../by-id/module-00005.js'; /* Metro dependency 5 */
|
|
import Module00022 from '../../../../by-id/module-00022.js'; /* Metro dependency 22 */
|
|
import Module00057 from '../../../../by-id/module-00057.js'; /* Metro dependency 57 */
|
|
import GuildStore from '../../../../stores/GuildStore.tsx'; /* Metro dependency 1867 */
|
|
import ToastActionCreators from '../../../toast/native/ToastActionCreators.tsx'; /* Metro dependency 3857 */
|
|
import Module09197 from '../../../../by-id/module-09197.js'; /* Metro dependency 9197 */
|
|
import HubJoinManager from '../../HubJoinManager.tsx'; /* Metro dependency 9457 */
|
|
import Module09458 from '../../../../by-id/module-09458.js'; /* Metro dependency 9458 */
|
|
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 CreateStylesModule from '../../../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */
|
|
import * as TextModule from '../../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
|
|
import * as TextWithIOSLinkWorkaroundModule from '../../../a11y/native/TextWithIOSLinkWorkaround.tsx'; /* Metro dependency 6766 */
|
|
import * as CodeFieldModule from '../../../phone/native/CodeField.tsx'; /* Metro dependency 9026 */
|
|
import * as HubEmailConnectionModalModule from './HubEmailConnectionModal.tsx'; /* Metro dependency 9444 */
|
|
|
|
function _fun73546(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#73546, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9642:6, offset: 0x01d70f26, size: 355 bytes, params: 8, frame: 20
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = ReactNativeModule;
|
|
const env0_6 = value.View;
|
|
const env0_7 = value.Image;
|
|
value = require(33) /* metro dependency 33 */;
|
|
const env0_9 = value.jsx;
|
|
const env0_10 = value.jsxs;
|
|
const env0_11 = (CreateStylesModule).createStyles({container: {alignItems: 'center'},
|
|
title: {'marginBottom': 8, 'textAlign': 'center'}, description: {'textAlign': 'center', 'marginBottom': 24},
|
|
label: {'textAlign': 'center', 'marginBottom': 12}, error: {'alignSelf': 'center', 'marginVertical': 8}});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/hub/native/components/HubEmailConnectionPinVerify.tsx');
|
|
exports.default = HubEmailConnectionPinVerify;
|
|
function presentResendToast(a0) { // fn#73547, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9642:447, offset: 0x01d71089, size: 73 bytes, params: 2, frame: 15
|
|
ToastActionCreators.open({key: 'HUB_EMAIL_RESET', content: a0, icon: Module09197});
|
|
}
|
|
|
|
function HubEmailConnectionPinVerify({email, guildId, onClose}) { // fn#73548, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9642:619, offset: 0x01d710d2, size: 762 bytes, params: 2, frame: 34
|
|
const styles = useStyles();
|
|
ReactModule.useEffect(_fun73549, [onClose]);
|
|
const defaultImport = Module00022;
|
|
const value3 = defaultImport.throttle(Module00005(_fun73553), 1000);
|
|
const [property, env0_3] = env0_3Binding(ReactModule.useState(null), 2);
|
|
const value6 = _fun73554();
|
|
const HubEmailConnectionScreen = (HubEmailConnectionModalModule).HubEmailConnectionScreen;
|
|
const items2 = [
|
|
<Image source={Module09458} />,
|
|
];
|
|
const Text = (TextModule).Text;
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
const string = intl.string;
|
|
const SJ3Lxc = (require(1244) /* metro dependency 1244: indexNative */).t.SJ3Lxc;
|
|
items2[1] = (
|
|
<Text
|
|
style={styles.title}
|
|
accessibilityRole="header"
|
|
variant="heading-xl/extrabold"
|
|
color="mobile-text-heading-primary"
|
|
>
|
|
{Reflect.apply(string, intl, [SJ3Lxc])}
|
|
</Text>
|
|
);
|
|
const TextWithIOSLinkWorkaround = (TextWithIOSLinkWorkaroundModule).TextWithIOSLinkWorkaround;
|
|
items2[2] = (
|
|
<TextWithIOSLinkWorkaround
|
|
style={styles.description}
|
|
variant="text-sm/medium"
|
|
color="text-default"
|
|
>
|
|
{intl.format((require(1244) /* metro dependency 1244: indexNative */).t['b+W0oq'], {onClick: value3,
|
|
email: email})}
|
|
</TextWithIOSLinkWorkaround>
|
|
);
|
|
items2[3] = (
|
|
<Text
|
|
style={styles.label}
|
|
variant="text-sm/semibold"
|
|
color="text-muted"
|
|
>
|
|
{intl.string((require(1244) /* metro dependency 1244: indexNative */).t.rpWT1s)}
|
|
</Text>
|
|
);
|
|
const CodeBlocks = (CodeFieldModule).CodeBlocks;
|
|
const CodeType = (CodeFieldModule).CodeType;
|
|
const ALPHANUMERIC = CodeType.ALPHANUMERIC;
|
|
items2[4] = (
|
|
<CodeBlocks
|
|
hasError={false}
|
|
count={8}
|
|
onCodeEntered={value6}
|
|
codeType={ALPHANUMERIC}
|
|
/>
|
|
);
|
|
items2[5] = property != null && <Text variant="text-sm/medium" color="text-feedback-critical" style={styles.error}>{property.getAnyErrorMessage()}</Text>;
|
|
return (
|
|
<HubEmailConnectionScreen>
|
|
<View style={styles.container}>
|
|
{items2}
|
|
</View>
|
|
</HubEmailConnectionScreen>
|
|
);
|
|
function _fun73549() { // fn#73549, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9642:710, offset: 0x01d713cc, size: 54 bytes, params: 1, frame: 12
|
|
var environment;
|
|
const value = environment.__proto__;
|
|
(importDefault(9457) /* metro dependency 9457: HubJoinManager */).initialize(function() {
|
|
onClose(true);
|
|
importDefault(dependencyMap[10])();
|
|
});
|
|
return _fun73551;
|
|
function _fun73551() { // fn#73551, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9642:760, offset: 0x01d7142f, size: 37 bytes, params: 1, frame: 11
|
|
const value = environment.__proto__.__proto__;
|
|
(HubJoinManager).terminate();
|
|
}
|
|
|
|
}
|
|
|
|
function* _fun73553() { // fn#73553, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9642:820, offset: 0x01d7145f, size: 314 bytes, params: 1, frame: 21
|
|
var r5;
|
|
var r2;
|
|
var binding;
|
|
var binding2;
|
|
var property;
|
|
var value4;
|
|
var sendVerificationEmail;
|
|
var value6;
|
|
var value7;
|
|
var value8;
|
|
var binding3;
|
|
var binding4;
|
|
var value9;
|
|
var intl;
|
|
var string;
|
|
var value10;
|
|
var t;
|
|
var value11;
|
|
var error;
|
|
var APIError;
|
|
var prototype;
|
|
var value12;
|
|
var aPIError;
|
|
var value13;
|
|
var anyErrorMessage;
|
|
var binding5;
|
|
var binding6;
|
|
var FPzC5z;
|
|
var value15;
|
|
let value = undefined;
|
|
if (true) {
|
|
value = undefined;
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
property = binding2[12];
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
value4 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
sendVerificationEmail = value4.sendVerificationEmail;
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
value6 = Reflect.apply(sendVerificationEmail, value4, [require, true, importDefault]);
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
yield value6;
|
|
try {
|
|
value7 = undefined;
|
|
value8 = false;
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
if (value8) {
|
|
return value7;
|
|
}
|
|
try {
|
|
binding = env2_12;
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
binding3 = env2_0;
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
binding4 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
property = binding4[13];
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
value9 = binding3(property);
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
intl = value9.intl;
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
string = intl.string;
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
property = binding4[13];
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
value10 = binding3(property);
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
t = value10.t;
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
property = t['2bO4dz'];
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
value11 = Reflect.apply(string, intl, [property]);
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
return value;
|
|
}
|
|
try {
|
|
binding(value11);
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
APIError = binding(env2_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value13 = aPIError instanceof Object ? aPIError : value12;
|
|
binding = env2_12;
|
|
if (value13 == null) {
|
|
r5 = value;
|
|
} else {
|
|
anyErrorMessage = value13.getAnyErrorMessage();
|
|
r5 = anyErrorMessage;
|
|
}
|
|
if (r5 != null) {
|
|
r2 = r5;
|
|
} else {
|
|
binding5 = env2_0;
|
|
binding6 = env2_2;
|
|
intl = binding5(binding6[13]).intl;
|
|
string = intl.string;
|
|
t = binding5(binding6[13]).t;
|
|
FPzC5z = t.FPzC5z;
|
|
value15 = Reflect.apply(string, intl, [FPzC5z]);
|
|
r2 = value15;
|
|
}
|
|
binding(r2);
|
|
}
|
|
}
|
|
return value;
|
|
}
|
|
|
|
function _fun73554() { // fn#73554, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9642:1150, offset: 0x01d71599, size: 36 bytes, params: 1, frame: 12
|
|
const env0_0 = env1_4(_fun73556);
|
|
return _fun73557;
|
|
function* _fun73556(a0) { // fn#73556, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9642:1170, offset: 0x01d715c8, size: 229 bytes, params: 2, frame: 20
|
|
var binding;
|
|
var binding2;
|
|
var property;
|
|
var value3;
|
|
var verifyCode;
|
|
var value5;
|
|
var value6;
|
|
var value7;
|
|
var getGuild;
|
|
var value8;
|
|
var value9;
|
|
var binding3;
|
|
var value10;
|
|
var transitionToGuild;
|
|
var id;
|
|
var error;
|
|
var value11;
|
|
var binding4;
|
|
var APIError;
|
|
var prototype;
|
|
var aPIError;
|
|
if (true) {
|
|
value = environment.__proto__.__proto__.__proto__;
|
|
reducibleJoin4: while (true) {
|
|
reduciblePort35: while (true) {
|
|
exceptionLanding34: while (true) {
|
|
try {
|
|
binding = env3_1;
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
break reducibleJoin4;
|
|
}
|
|
value11 = environment.__proto__.__proto__;
|
|
binding = env2_3;
|
|
binding4 = env3_0;
|
|
APIError = binding4(env3_2[14]).APIError;
|
|
prototype = APIError.prototype;
|
|
value = Object.create(prototype, {constructor: {value: APIError}});
|
|
aPIError = new APIError();
|
|
value = aPIError instanceof Object ? aPIError : value;
|
|
binding(value);
|
|
break reduciblePort35;
|
|
}
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding2 = env3_2;
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
property = binding2[12];
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
value3 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
verifyCode = value3.verifyCode;
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
value5 = Reflect.apply(verifyCode, value3, [a0, importDefault, require]);
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
yield value5;
|
|
try {
|
|
value6 = undefined;
|
|
value7 = false;
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
if (value7) {
|
|
return value6;
|
|
}
|
|
try {
|
|
binding = env3_8;
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
getGuild = binding.getGuild;
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
value8 = Reflect.apply(getGuild, binding, [importDefault]);
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
value9 = value8 == null;
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
reducibleJoin35: while (true) {
|
|
if (value9) {
|
|
break reducibleJoin35;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
dependencyMap(true);
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
binding = env3_0;
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
binding3 = env3_2;
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
property = binding3[15];
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
value10 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
transitionToGuild = value10.transitionToGuild;
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
id = value8.id;
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
try {
|
|
Reflect.apply(transitionToGuild, value10, [id]);
|
|
} catch (error) {
|
|
break exceptionLanding34;
|
|
}
|
|
break reducibleJoin35;
|
|
}
|
|
}
|
|
}
|
|
|
|
function _fun73557() { // fn#73557, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9642:1339, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
|
|
return env0_0.apply(this, arguments);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun73546, 9456, [57, 5, 31, 27, 1867, 33, 4501, 3857, 9197, 9457, 8776, 22, 9450, 1244, 4131, 6947,
|
|
9444, 9458, 4573, 6766, 9026,
|
|
2]) /* metro module 9456, dependencies: [57, 5, 31, 27, 1867, 33, 4501, 3857, 9197, 9457, 8776, 22, 9450, 1244, 4131, 6947, 9444, 9458, 4573, 6766, 9026, 2] */;
|