Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,98 @@
|
||||
/* Metro module 16212; source: modules/safety_flows/native/tasks/AgeVerificationScreen.tsx; dependencies: [31, 27, 1878, 661, 33, 4501, 491, 16204, 566, 6253, 16199, 1909, 5074, 16208, 5473, 1244, 2486, 2742, 5263, 1948, 12807, 5076, 4573, 6260, 2] */
|
||||
function _fun125278(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#125278, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16420:6, offset: 0x025d3583, size: 245 bytes, params: 8, frame: 20
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importAll(31) /* metro dependency 31 */;
|
||||
const env0_4 = (require(27) /* metro dependency 27 */).Pressable;
|
||||
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
|
||||
const env0_6 = (require(661) /* metro dependency 661: Constants */).HelpdeskArticles;
|
||||
const env0_7 = (require(33) /* metro dependency 33 */).jsx;
|
||||
const env0_8 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({helpLink: {textAlign: 'center'}});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/safety_flows/native/tasks/AgeVerificationScreen.tsx');
|
||||
exports.default = AgeVerificationScreen;
|
||||
}
|
||||
|
||||
function AgeVerificationScreen() { // fn#125279, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16420:239, offset: 0x025d3678, size: 606 bytes, params: 1, frame: 27
|
||||
var object3;
|
||||
const binding = env0_3;
|
||||
const value2 = binding.useMemo(_fun125280, []);
|
||||
const styles = useStyles();
|
||||
const value3 = (require(16204) /* metro dependency 16204: SafetyFlowsUtils */).useOnTaskComplete();
|
||||
const currentUser = (require(566) /* metro dependency 566: flux */).useStateFromStores([UserStore], function() {
|
||||
return UserStore.getCurrentUser();
|
||||
});
|
||||
const {loading,
|
||||
ageVerificationMethods} = (importDefault(6253) /* metro dependency 6253: useAgeVerificationMethods */)({onClose: onClose_125282});
|
||||
binding.useEffect(_fun125283, [value3, currentUser]);
|
||||
binding.useEffect(_fun125284, [value2]);
|
||||
const SafetyFlowTaskScreen = importDefault(16208) /* metro dependency 16208: SafetyFlowTaskScreen */;
|
||||
object3 = {};
|
||||
const ShieldSpotIllustration = (require(5473) /* metro dependency 5473: native */).ShieldSpotIllustration;
|
||||
object3.ImageComponent = <ShieldSpotIllustration />;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
object3.title = intl.string((importDefault(2486) /* metro dependency 2486: SafetyFlowsMessages */)['dSkE/A']);
|
||||
const format = intl.format;
|
||||
const RpMIT0 = (importDefault(2742) /* metro dependency 2742: AgeAssuranceMessages */).RpMIT0;
|
||||
object3.subtitle = Reflect.apply(format, intl, [RpMIT0, {handleOnHelpUrlHook: function() {
|
||||
importDefault(dependencyMap[18]).openUrl(importDefault(dependencyMap[19]).getArticleURL(HelpdeskArticles.TIGGER_PAWTECT_LEARN_MORE));
|
||||
}}]);
|
||||
const ModalDisclaimer = (require(12807) /* metro dependency 12807: ModalDisclaimerNative */).ModalDisclaimer;
|
||||
const object2 = {accessibilityRole: 'button', onPress: onPress_125286};
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
object3.footer = <ModalDisclaimer><Pressable {...object2}><Text variant="text-sm/medium" color="text-link" style={styles.helpLink}>{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['2jxGer'])}</Text></Pressable></ModalDisclaimer>;
|
||||
object3.submitting = loading;
|
||||
const AgeVerificationMethodsContainer = (require(6260) /* metro dependency 6260: AgeVerificationMethodsContainer */).AgeVerificationMethodsContainer;
|
||||
return (
|
||||
<SafetyFlowTaskScreen {...object3}>
|
||||
<AgeVerificationMethodsContainer ageVerificationMethods={ageVerificationMethods} modalSessionId={value2} />
|
||||
</SafetyFlowTaskScreen>
|
||||
);
|
||||
}
|
||||
|
||||
function _fun125280() { // fn#125280, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16420:289, offset: 0x025d38d6, size: 37 bytes, params: 1, frame: 11
|
||||
const value = environment.__proto__;
|
||||
return (require(491) /* metro dependency 491 */).v4();
|
||||
}
|
||||
|
||||
function AgeVerificationScreenOnClose() { // fn#125282, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16420:425, owner: AgeVerificationScreen.onClose, offset: 0x025d38fb, size: 57 bytes, params: 1, frame: 13
|
||||
const binding = env0_1;
|
||||
const TaskInputType = (require(16199) /* metro dependency 16199: types */).TaskInputType;
|
||||
const Empty = TaskInputType.Empty;
|
||||
return binding({type: Empty});
|
||||
}
|
||||
|
||||
function _fun125283() { // fn#125283, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16420:529, offset: 0x025d3934, size: 118 bytes, params: 1, frame: 15
|
||||
var binding;
|
||||
var object2;
|
||||
const currentUserBinding = currentUser;
|
||||
const value2 = undefined;
|
||||
const ageVerificationStatus = currentUserBinding == null ? value2 : currentUser.ageVerificationStatus;
|
||||
const AgeVerificationStatusUkAndAusOnly = (require(1909) /* metro dependency 1909: Server */).AgeVerificationStatusUkAndAusOnly;
|
||||
const UNVERIFIED = AgeVerificationStatusUkAndAusOnly.UNVERIFIED;
|
||||
if (ageVerificationStatus !== UNVERIFIED) {
|
||||
binding = env0_1;
|
||||
object2 = {};
|
||||
object2.type = (require(16199) /* metro dependency 16199: types */).TaskInputType.Empty;
|
||||
binding(object2);
|
||||
}
|
||||
return value2;
|
||||
}
|
||||
|
||||
function _fun125284() { // fn#125284, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16420:693, offset: 0x025d39aa, size: 89 bytes, params: 1, frame: 18
|
||||
let value = environment.__proto__;
|
||||
value = require(5074) /* metro dependency 5074: AgeVerificationAnalyticsUtils */;
|
||||
const trackAgeVerificationModalViewed = value.trackAgeVerificationModalViewed;
|
||||
const binding = env0_0;
|
||||
const AgeVerificationModalVersion = (require(5074) /* metro dependency 5074: AgeVerificationAnalyticsUtils */).AgeVerificationModalVersion;
|
||||
const EXPRESSIVE_PRIMARY = AgeVerificationModalVersion.EXPRESSIVE_PRIMARY;
|
||||
const AgeVerificationModalEntryPoint = (require(5074) /* metro dependency 5074: AgeVerificationAnalyticsUtils */).AgeVerificationModalEntryPoint;
|
||||
const SAFETY_FLOWS = AgeVerificationModalEntryPoint.SAFETY_FLOWS;
|
||||
Reflect.apply(trackAgeVerificationModalViewed, value, [binding, EXPRESSIVE_PRIMARY, SAFETY_FLOWS]);
|
||||
}
|
||||
|
||||
function AgeVerificationScreenOnPress() { // fn#125286, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16420:1199, owner: AgeVerificationScreen.onPress, offset: 0x025d3a4a, size: 44 bytes, params: 1, frame: 12
|
||||
const value = environment.__proto__;
|
||||
(importDefault(5076) /* metro dependency 5076: AuthenticationActionCreators */).logout('age_verification_screen');
|
||||
}
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/* Metro module 16207; source: modules/safety_flows/native/tasks/EnterEmailScreen.tsx; dependencies: [57, 31, 33, 1484, 16208, 1244, 2486, 16199, 4572, 7981, 2] */
|
||||
function _fun125256(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#125256, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16415:6, offset: 0x025d24b7, size: 158 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importDefault(57) /* metro dependency 57 */;
|
||||
const env0_4 = importAll(31) /* metro dependency 31 */;
|
||||
const env0_5 = (require(33) /* metro dependency 33 */).jsx;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/safety_flows/native/tasks/EnterEmailScreen.tsx');
|
||||
exports.default = EnterEmailScreen;
|
||||
}
|
||||
|
||||
function EnterEmailScreen() { // fn#125257, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16415:136, offset: 0x025d2555, size: 302 bytes, params: 1, frame: 24
|
||||
const env0_0 = (require(1484) /* metro dependency 1484: useNavigationNative */).useNavigation();
|
||||
const [property, property2] = env0_3(env0_4.useState(''), 2);
|
||||
const SafetyFlowTaskScreen = importDefault(16208) /* metro dependency 16208: SafetyFlowTaskScreen */;
|
||||
const object2 = {};
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
let string = intl.string;
|
||||
object2.title = Reflect.apply(string, intl,
|
||||
[(importDefault(2486) /* metro dependency 2486: SafetyFlowsMessages */).bFbsV6]);
|
||||
string = intl.string;
|
||||
const RRBNpv = (importDefault(2486) /* metro dependency 2486: SafetyFlowsMessages */).RRBNpv;
|
||||
object2.action = Reflect.apply(string, intl, [RRBNpv]);
|
||||
object2.onAction = onAction;
|
||||
const Stack = (require(4572) /* metro dependency 4572: StackNative */).Stack;
|
||||
const TextInput = (require(7981) /* metro dependency 7981: TextInputNative */).TextInput;
|
||||
return (
|
||||
<SafetyFlowTaskScreen {...object2}>
|
||||
<Stack>
|
||||
<TextInput
|
||||
label="Email"
|
||||
value={property}
|
||||
onChange={property2}
|
||||
/>
|
||||
</Stack>
|
||||
</SafetyFlowTaskScreen>
|
||||
);
|
||||
}
|
||||
|
||||
function onAction() { // fn#125258, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16415:346, owner: EnterEmailScreen.onAction, offset: 0x025d2683, size: 56 bytes, params: 1, frame: 13
|
||||
const binding = env0_0;
|
||||
const push = binding.push;
|
||||
const SafetyFlowScreens = (require(16199) /* metro dependency 16199: types */).SafetyFlowScreens;
|
||||
const VERIFY_EMAIL = SafetyFlowScreens.VERIFY_EMAIL;
|
||||
Reflect.apply(push, binding, [VERIFY_EMAIL]);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,388 @@
|
||||
/* Metro module 16210; source: modules/safety_flows/native/tasks/ResendVerificationCodeButton.tsx; dependencies: [5, 57, 31, 27, 33, 16200, 3856, 3857, 1244, 2486, 13436, 4066, 4573, 2] */
|
||||
function _fun125267(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#125267, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16418:6, offset: 0x025d2eba, size: 196 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 */).Pressable;
|
||||
const env0_7 = (require(33) /* metro dependency 33 */).jsx;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/safety_flows/native/tasks/ResendVerificationCodeButton.tsx');
|
||||
exports.default = _default_125268;
|
||||
}
|
||||
|
||||
function _default_125268({flowId, setLoading}) { // fn#125268, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16418:171, offset: 0x025d2f7e, size: 454 bytes, params: 2, frame: 24
|
||||
var object2;
|
||||
const binding = env0_5;
|
||||
const [property, env0_3] = env0_4(binding.useState(0), 2);
|
||||
binding.useEffect(_fun125269, [property]);
|
||||
object2 = {onPress: binding.useCallback(env0_3(_fun125274), [setLoading, property, flowId]), disabled: property > 0,
|
||||
accessibilityRole: 'button'};
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
object2.accessibilityLabel = intl.string((importDefault(2486) /* metro dependency 2486: SafetyFlowsMessages */).ah0EUu);
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
return (
|
||||
<Pressable {...object2}>
|
||||
<Text
|
||||
variant="text-sm/medium"
|
||||
color="text-link"
|
||||
accessibilityLabel={intl.string((importDefault(2486) /* metro dependency 2486: SafetyFlowsMessages */).ah0EUu)}
|
||||
importantForAccessibility="no"
|
||||
>
|
||||
{property > 0 ? intl.format((importDefault(2486) /* metro dependency 2486: SafetyFlowsMessages */)['2+Lyn0'],
|
||||
{countdown: property}) : intl.string((importDefault(2486) /* metro dependency 2486: SafetyFlowsMessages */).ah0EUu)}
|
||||
</Text>
|
||||
</Pressable>
|
||||
);
|
||||
}
|
||||
|
||||
function _fun125269() { // fn#125269, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16418:255, offset: 0x025d3144, size: 61 bytes, params: 1, frame: 14
|
||||
if (env0_2 > 0) {
|
||||
var env0_0 = global.setInterval(_fun125270, 1000);
|
||||
return _fun125272;
|
||||
}
|
||||
}
|
||||
|
||||
function* _fun125274() { // fn#125274, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16418:369, offset: 0x025d31a5, size: 336 bytes, params: 1, frame: 20
|
||||
var value;
|
||||
var value2;
|
||||
var value3;
|
||||
var binding;
|
||||
var binding2;
|
||||
var property;
|
||||
var value4;
|
||||
var resendVerificationCode;
|
||||
var value5;
|
||||
var value6;
|
||||
var value7;
|
||||
var binding3;
|
||||
var value8;
|
||||
var showVerificationSent;
|
||||
var error;
|
||||
var binding4;
|
||||
var value9;
|
||||
var open;
|
||||
var object2;
|
||||
var binding5;
|
||||
var value10;
|
||||
var intl;
|
||||
var string;
|
||||
var value11;
|
||||
var value12;
|
||||
var value13;
|
||||
var value14;
|
||||
var XLargeIcon;
|
||||
exceptionLanding63: while (true) {
|
||||
value = undefined;
|
||||
value2 = false;
|
||||
if (value2) {
|
||||
return value;
|
||||
}
|
||||
value = environment.__proto__;
|
||||
if (!(dependencyMap > 0)) {
|
||||
importDefault(true);
|
||||
value3 = environment.__proto__.__proto__;
|
||||
reducibleJoin5: while (true) {
|
||||
reduciblePort62: while (true) {
|
||||
exceptionLanding27: while (true) {
|
||||
try {
|
||||
try {
|
||||
binding = env2_0;
|
||||
} catch (error) {
|
||||
break exceptionLanding27;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
break reducibleJoin5;
|
||||
}
|
||||
try {
|
||||
binding = env2_1;
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
binding4 = env2_2;
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
property = binding4[7];
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
value9 = binding(property);
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
open = value9.open;
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
object2 = {};
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
object2.key = 'SAFETY_FLOWS_VERIFY_EMAIL_ERROR';
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
binding5 = env2_0;
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
property = binding4[8];
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
value10 = binding5(property);
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
intl = value10.intl;
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
string = intl.string;
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
property = binding4[9];
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
value11 = binding(property);
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
property = value11['3AXMYu'];
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
value12 = Reflect.apply(string, intl, [property]);
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
object2.content = value12;
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
property = binding4[10];
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
value13 = binding(property);
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
object2.icon = value13;
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
property = binding4[11];
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
value14 = binding5(property);
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
XLargeIcon = value14.XLargeIcon;
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
object2.IconComponent = XLargeIcon;
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
object2.iconColor = 'icon-feedback-critical';
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
Reflect.apply(open, value9, [object2]);
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
break reduciblePort62;
|
||||
}
|
||||
importDefault(false);
|
||||
return undefined;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
binding2 = env2_2;
|
||||
} catch (error) {
|
||||
break exceptionLanding27;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
property = binding2[5];
|
||||
} catch (error) {
|
||||
break exceptionLanding27;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
value4 = binding(property);
|
||||
} catch (error) {
|
||||
break exceptionLanding27;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
resendVerificationCode = value4.resendVerificationCode;
|
||||
} catch (error) {
|
||||
break exceptionLanding27;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
} catch (error) {
|
||||
break exceptionLanding27;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
value5 = Reflect.apply(resendVerificationCode, value4, [require]);
|
||||
} catch (error) {
|
||||
break exceptionLanding27;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
yield value5;
|
||||
try {
|
||||
try {
|
||||
value6 = undefined;
|
||||
value7 = false;
|
||||
} catch (error) {
|
||||
break exceptionLanding27;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
if (value7) {
|
||||
importDefault(false);
|
||||
return value6;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
binding = env2_0;
|
||||
} catch (error) {
|
||||
break exceptionLanding27;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
binding3 = env2_2;
|
||||
} catch (error) {
|
||||
break exceptionLanding27;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
property = binding3[6];
|
||||
} catch (error) {
|
||||
break exceptionLanding27;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
value8 = binding(property);
|
||||
} catch (error) {
|
||||
break exceptionLanding27;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
showVerificationSent = value8.showVerificationSent;
|
||||
} catch (error) {
|
||||
break exceptionLanding27;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
Reflect.apply(showVerificationSent, value8, []);
|
||||
} catch (error) {
|
||||
break exceptionLanding27;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
binding = env1_3;
|
||||
} catch (error) {
|
||||
break exceptionLanding27;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
binding(30);
|
||||
} catch (error) {
|
||||
break exceptionLanding27;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding63;
|
||||
}
|
||||
importDefault(false);
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
importDefault(false);
|
||||
throw error;
|
||||
}
|
||||
|
||||
function _fun125270() { // fn#125270, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16418:287, offset: 0x025d3181, size: 25 bytes, params: 1, frame: 11
|
||||
env1_3(function(a0) {
|
||||
return a0 - 1;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -0,0 +1,223 @@
|
||||
/* Metro module 16209; source: modules/safety_flows/native/tasks/VerifyEmailScreen.tsx; dependencies: [5, 57, 31, 33, 16203, 16204, 16199, 3857, 1244, 2486, 16208, 4572, 697, 4573, 7981, 16210, 2] */
|
||||
function _fun125261(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#125261, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16417:6, offset: 0x025d2993, size: 183 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 value = require(33) /* metro dependency 33 */;
|
||||
const env0_6 = value.jsx;
|
||||
const env0_7 = value.jsxs;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/safety_flows/native/tasks/VerifyEmailScreen.tsx');
|
||||
exports.default = _default_125262;
|
||||
}
|
||||
|
||||
function _default_125262() { // fn#125262, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16417:162, offset: 0x025d2a4a, size: 795 bytes, params: 1, frame: 32
|
||||
var object2;
|
||||
const value2 = undefined;
|
||||
const safetyFlowsTaskContextModule = require(16203) /* metro dependency 16203: SafetyFlowsTaskContext */;
|
||||
const useSafetyFlowTask = safetyFlowsTaskContextModule.useSafetyFlowTask;
|
||||
const task = Reflect.apply(useSafetyFlowTask, safetyFlowsTaskContextModule, []).task;
|
||||
const value3 = (require(16204) /* metro dependency 16204: SafetyFlowsUtils */).useOnTaskComplete();
|
||||
const binding = env0_5;
|
||||
const env0_1 = binding.useRef('');
|
||||
let useState = binding.useState;
|
||||
const value4 = Reflect.apply(useState, binding, ['']);
|
||||
const binding2 = env0_4;
|
||||
const value5 = binding2(value4, 2);
|
||||
const property = value5[0];
|
||||
const property2 = value5[1];
|
||||
useState = binding.useState;
|
||||
const value6 = binding2(Reflect.apply(useState, binding, [false]), 2);
|
||||
const property3 = value6[0];
|
||||
const property4 = value6[1];
|
||||
const env0_3 = property4;
|
||||
useState = binding.useState;
|
||||
const value7 = binding2(Reflect.apply(useState, binding, [false]), 2);
|
||||
const property5 = value7[0];
|
||||
var env0_5 = value7[1];
|
||||
const value9 = binding.useCallback(env0_3(_fun125264), [value3]);
|
||||
binding.useEffect(_fun125265, [property]);
|
||||
binding.useEffect(_fun125266, [property, property5, value9]);
|
||||
const SafetyFlowTaskScreen = importDefault(16208) /* metro dependency 16208: SafetyFlowTaskScreen */;
|
||||
object2 = {};
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
object2.title = intl.string((importDefault(2486) /* metro dependency 2486: SafetyFlowsMessages */)['Qm6K/s']);
|
||||
object2.action = intl.string((importDefault(2486) /* metro dependency 2486: SafetyFlowsMessages */).wq2RDq);
|
||||
object2.onAction = value9;
|
||||
object2.submitting = property3;
|
||||
const Stack = (require(4572) /* metro dependency 4572: StackNative */).Stack;
|
||||
const PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
const items3 = [<Text variant="text-sm/medium" color="text-subtle">{intl.string((importDefault(2486) /* metro dependency 2486: SafetyFlowsMessages */).aveKoG)}</Text>];
|
||||
const Stack2 = (require(4572) /* metro dependency 4572: StackNative */).Stack;
|
||||
const PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8;
|
||||
const TextInput = (require(7981) /* metro dependency 7981: TextInputNative */).TextInput;
|
||||
const items2 = [<TextInput placeholder={intl.string((importDefault(2486) /* metro dependency 2486: SafetyFlowsMessages */).d9Ykjr)} maxLength={6} returnKeyType="done" value={property} onChange={property2} />];
|
||||
const ResendVerificationCodeButton = importDefault(16210) /* metro dependency 16210: ResendVerificationCodeButton */;
|
||||
const flow_context = task.flow_context;
|
||||
items2[1] = <ResendVerificationCodeButton setLoading={property4} flowId={flow_context == null ? value2 : flow_context.flow_id} />;
|
||||
items3[1] = <Stack2 spacing={PX_8}>{items2}</Stack2>;
|
||||
return (
|
||||
<SafetyFlowTaskScreen {...object2}>
|
||||
<Stack spacing={PX_16}>
|
||||
{items3}
|
||||
</Stack>
|
||||
</SafetyFlowTaskScreen>
|
||||
);
|
||||
}
|
||||
|
||||
function* _fun125264() { // fn#125264, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16417:392, offset: 0x025d2d70, size: 287 bytes, params: 1, frame: 18
|
||||
var current;
|
||||
var binding;
|
||||
var object2;
|
||||
var value3;
|
||||
var binding2;
|
||||
var property;
|
||||
var value4;
|
||||
var TaskInputType;
|
||||
var VerificationCode;
|
||||
var moduleValue;
|
||||
var value5;
|
||||
var value6;
|
||||
var error;
|
||||
var binding3;
|
||||
var value7;
|
||||
var open;
|
||||
var binding4;
|
||||
var intl;
|
||||
var string;
|
||||
var PfbG6H;
|
||||
if (true) {
|
||||
reduciblePort29: while (true) {
|
||||
exceptionLanding28: while (true) {
|
||||
value = environment.__proto__;
|
||||
current = importDefault.current;
|
||||
if (current == null) {
|
||||
break reduciblePort29;
|
||||
}
|
||||
if (current === '') {
|
||||
break reduciblePort29;
|
||||
}
|
||||
try {
|
||||
binding = env1_3;
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
try {
|
||||
binding(true);
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
try {
|
||||
binding = env1_5;
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
try {
|
||||
binding(true);
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
try {
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
try {
|
||||
object2 = {};
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
try {
|
||||
object2.verification_code = current;
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
value3 = environment.__proto__.__proto__;
|
||||
try {
|
||||
binding = env2_0;
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
try {
|
||||
binding2 = env2_2;
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
try {
|
||||
property = binding2[6];
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
try {
|
||||
value4 = binding(property);
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
try {
|
||||
TaskInputType = value4.TaskInputType;
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
try {
|
||||
VerificationCode = TaskInputType.VerificationCode;
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
try {
|
||||
object2.type = VerificationCode;
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
try {
|
||||
moduleValue = require(object2);
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
yield moduleValue;
|
||||
try {
|
||||
value5 = undefined;
|
||||
value6 = false;
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
if (value6) {
|
||||
return value5;
|
||||
}
|
||||
try {
|
||||
binding = env1_3;
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
try {
|
||||
binding(false);
|
||||
} catch (error) {
|
||||
break exceptionLanding28;
|
||||
}
|
||||
break reduciblePort29;
|
||||
}
|
||||
env1_3(false);
|
||||
env1_5(false);
|
||||
value = environment.__proto__.__proto__;
|
||||
binding = env2_1;
|
||||
binding3 = env2_2;
|
||||
value7 = binding(binding3[7]);
|
||||
open = value7.open;
|
||||
binding4 = env2_0;
|
||||
intl = binding4(binding3[8]).intl;
|
||||
string = intl.string;
|
||||
PfbG6H = binding(binding3[9]).PfbG6H;
|
||||
Reflect.apply(open, value7, [{key: 'SAFETY_FLOWS_VERIFY_EMAIL_ERROR', content: Reflect.apply(string, intl,
|
||||
[PfbG6H])}]);
|
||||
break reduciblePort29;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function _fun125266() { // fn#125266, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16417:721, offset: 0x025d2e8f, size: 43 bytes, params: 1, frame: 10
|
||||
if (!(env0_2.length !== 6 || env0_4)) {
|
||||
env0_6();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user