Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,28 @@
|
||||
/* Metro module 14216; source: modules/mfa/native/components/BackButton.tsx; dependencies: [33, 1484, 14217, 1244, 14211, 2] */
|
||||
function _fun107503(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#107503, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14413:6, offset: 0x022ff084, size: 123 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/mfa/native/components/BackButton.tsx');
|
||||
exports.default = BackButton;
|
||||
}
|
||||
|
||||
function BackButton({props}) { // fn#107504, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14413:198, offset: 0x022ff0ff, size: 155 bytes, params: 2, frame: 19
|
||||
const env0_1 = (require(1484) /* metro dependency 1484: useNavigationNative */).useNavigation();
|
||||
const button = importDefault(14217) /* metro dependency 14217: button */;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
const string = intl.string;
|
||||
const Tot4EC = (require(1244) /* metro dependency 1244: indexNative */).t.Tot4EC;
|
||||
return ((Component) => <Component variant="secondary" text={Reflect.apply(string, intl,
|
||||
[Tot4EC])} onPress={onPress_107505} />)(button);
|
||||
}
|
||||
|
||||
function BackButtonOnPress() { // fn#107505, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14413:348, owner: BackButton.onPress, offset: 0x022ff19a, size: 61 bytes, params: 1, frame: 15
|
||||
const binding = env0_1;
|
||||
const push = binding.push;
|
||||
const MfaScreens = (require(14211) /* metro dependency 14211: MfaStepsTypes */).MfaScreens;
|
||||
const SELECT = MfaScreens.SELECT;
|
||||
Reflect.apply(push, binding, [SELECT, props]);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,115 @@
|
||||
/* Metro module 14220; source: modules/mfa/native/components/ClipboardCopyInput.tsx; dependencies: [5, 31, 27, 7030, 661, 33, 4501, 566, 8994, 5459, 6797, 7981, 2] */
|
||||
function _fun107527(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#107527, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14417:6, offset: 0x022ffaad, size: 264 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 = importAll(31) /* metro dependency 31 */;
|
||||
const env0_5 = (require(27) /* metro dependency 27 */).View;
|
||||
const appStateStore = importDefault(7030) /* metro dependency 7030: AppStateStore */;
|
||||
const env0_7 = (require(661) /* metro dependency 661: Constants */).AppStates;
|
||||
const env0_8 = (require(33) /* metro dependency 33 */).jsx;
|
||||
const env0_9 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({inputContainer: {'flexDirection': 'column',
|
||||
'alignSelf': 'stretch'}});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/mfa/native/components/ClipboardCopyInput.tsx');
|
||||
exports.default = ClipboardCopyInput;
|
||||
}
|
||||
|
||||
function ClipboardCopyInput({label, placeholder, isValidClipboardCode, maxLength, onChangeCode, error, textContentType, autoComplete, keyboardType, isDisabled, autoFocus}) { // fn#107528, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14417:358, offset: 0x022ffbb5, size: 403 bytes, params: 2, frame: 32
|
||||
autoFocus = autoFocus === undefined || autoFocus;
|
||||
const styles = useStyles();
|
||||
const binding = env0_4;
|
||||
let env0_0 = binding.useRef(null);
|
||||
const value2 = binding.useRef(null);
|
||||
binding.useEffect(function() {
|
||||
var env0_0 = _fun107531;
|
||||
if (state === AppStates.ACTIVE) {
|
||||
_fun107536();
|
||||
}
|
||||
}, [(require(566) /* metro dependency 566: flux */).useStateFromStores([AppStateStore], function() {
|
||||
return AppStateStore.getState();
|
||||
}), (importDefault(8994) /* metro dependency 8994: useStableCallback */)(isValidClipboardCode),
|
||||
(importDefault(8994) /* metro dependency 8994: useStableCallback */)(onChangeCode)]);
|
||||
const TextInput = (require(7981) /* metro dependency 7981: TextInputNative */).TextInput;
|
||||
return (
|
||||
<View style={styles.inputContainer}>
|
||||
<TextInput
|
||||
ref={value2}
|
||||
autoFocus={autoFocus}
|
||||
autoCorrect={false}
|
||||
autoCapitalize="none"
|
||||
errorMessage={error}
|
||||
maxLength={maxLength}
|
||||
onChange={onChangeCode}
|
||||
label={label}
|
||||
accessibilityLabel={label}
|
||||
placeholder={placeholder}
|
||||
isClearable
|
||||
textContentType={textContentType}
|
||||
autoComplete={autoComplete}
|
||||
keyboardType={keyboardType}
|
||||
isDisabled={isDisabled}
|
||||
/>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
function _fun107530() { // fn#107530, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14417:688, offset: 0x022ffd48, size: 54 bytes, params: 1, frame: 10
|
||||
const stateBinding = state;
|
||||
const ACTIVE = AppStates.ACTIVE;
|
||||
if (stateBinding === ACTIVE) {
|
||||
(function() {
|
||||
return _run.apply(this, arguments);
|
||||
})();
|
||||
}
|
||||
}
|
||||
|
||||
function _run() { // fn#107531, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14417:693, offset: 0x022ffd7e, size: 53 bytes, params: 1, frame: 13
|
||||
var environment;
|
||||
const value = environment.__proto__.__proto__;
|
||||
return env2_3(_fun107533).apply(this, arguments);
|
||||
}
|
||||
|
||||
function* _fun107533() { // fn#107533, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14417:724, offset: 0x022ffdbe, size: 240 bytes, params: 1, frame: 16
|
||||
var environment;
|
||||
if (true) {
|
||||
var Promise = global.Promise;
|
||||
var promise = new Promise(function(a0) {
|
||||
return (0, global.setTimeout)(a0, 500);
|
||||
});
|
||||
yield promise;
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
Promise = global.Promise;
|
||||
promise = new Promise(_fun107535);
|
||||
yield promise;
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
promise = environment.__proto__.__proto__.__proto__.__proto__;
|
||||
promise = env4_0(env4_2[10]);
|
||||
var getString = promise.getString;
|
||||
yield Reflect.apply(getString, promise, []);
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
promise = promise.trim();
|
||||
var current = require.current;
|
||||
if (promise !== current) {
|
||||
require.current = promise;
|
||||
if (env3_3(promise)) {
|
||||
current = importDefault.current;
|
||||
if (current != null) {
|
||||
current.setText(promise);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function _fun107535(a0) { // fn#107535, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14417:803, offset: 0x022ffec9, size: 41 bytes, params: 2, frame: 11
|
||||
const value = environment.__proto__.__proto__.__proto__.__proto__.__proto__;
|
||||
return env5_0(env5_2[9]).runAfterInteractions(a0);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
/* Metro module 13262; source: modules/mfa/native/components/KeyImage.tsx; dependencies: [27, 33, 4501, 13263, 2] */
|
||||
function _fun101130(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#101130, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13452:6, offset: 0x022091f3, size: 187 bytes, params: 8, frame: 19
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = (require(27) /* metro dependency 27 */).Image;
|
||||
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
|
||||
const env0_4 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({icon: {'width': 128,
|
||||
'height': 128, 'marginBottom': 8}});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/mfa/native/components/KeyImage.tsx');
|
||||
exports.KeyImage = KeyImage;
|
||||
}
|
||||
|
||||
function KeyImage() { // fn#101131, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13452:282, offset: 0x022092ae, size: 64 bytes, params: 1, frame: 17
|
||||
const styles = useStyles();
|
||||
return <Image source={importDefault(13263) /* metro dependency 13263 */} style={styles.icon} />;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
/* Metro module 14217; source: modules/mfa/native/components/button.tsx; dependencies: [31, 33, 4578, 2] */
|
||||
function _fun107506(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#107506, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14414:6, offset: 0x022ff1d7, size: 131 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const env0_2 = (require(33) /* metro dependency 33 */).jsx;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/mfa/native/components/button.tsx');
|
||||
exports.default = MFAButton;
|
||||
}
|
||||
|
||||
function MFAButton(a0) { // fn#107507, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14414:202, offset: 0x022ff25a, size: 62 bytes, params: 2, frame: 14
|
||||
const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
|
||||
return <Button size="lg" {...a0} />;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user