Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,8 @@
|
||||
/* Metro module 11910; source: modules/quarantine/QuarantineConstants.tsx; dependencies: [2] */
|
||||
function _fun91390(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#91390, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12096:6, offset: 0x0205dc58, size: 84 bytes, params: 8, frame: 15
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/quarantine/QuarantineConstants.tsx');
|
||||
exports.QUARANTINE_APPEAL_LINK = 'https://dis.gd/appeal';
|
||||
}
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
/* Metro module 6596; source: modules/quarantine/native/QuarantineModeInfoAlert.tsx; dependencies: [31, 661, 33, 4501, 6597, 697, 4596, 1305, 1244, 4573, 2] */
|
||||
function _fun51980(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#51980, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6774:6, offset: 0x012e97c6, size: 294 bytes, params: 8, frame: 23
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const Fonts = (require(661) /* metro dependency 661: Constants */).Fonts;
|
||||
let value = require(33) /* metro dependency 33 */;
|
||||
const env0_3 = value.jsx;
|
||||
const env0_4 = value.jsxs;
|
||||
value = require(4501) /* metro dependency 4501: createStyles */;
|
||||
const createStyles = value.createStyles;
|
||||
const object = {};
|
||||
const textStyles = importDefault(6597) /* metro dependency 6597: TextStyles */;
|
||||
const PRIMARY_BOLD = Fonts.PRIMARY_BOLD;
|
||||
const MOBILE_TEXT_HEADING_PRIMARY = (importDefault(697) /* metro dependency 697: native */).colors.MOBILE_TEXT_HEADING_PRIMARY;
|
||||
copyDataProperties(object, textStyles(PRIMARY_BOLD, MOBILE_TEXT_HEADING_PRIMARY, 24), undefined);
|
||||
object['textAlign'] = 'center';
|
||||
object['marginVertical'] = 12;
|
||||
const env0_5 = Reflect.apply(createStyles, value, [{header: object, text: {'textAlign': 'center',
|
||||
'marginVertical': 8}}]);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/quarantine/native/QuarantineModeInfoAlert.tsx');
|
||||
exports.default = _default_51981;
|
||||
}
|
||||
|
||||
function _default_51981({onClose}) { // fn#51981, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6774:344, offset: 0x012e98ec, size: 263 bytes, params: 2, frame: 23
|
||||
const styles = useStyles();
|
||||
const Alert = importDefault(4596) /* metro dependency 4596: Alert */;
|
||||
const LegacyText = (require(1305) /* metro dependency 1305: native */).LegacyText;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
const string = intl.string;
|
||||
const EouHwv = (require(1244) /* metro dependency 1244: indexNative */).t.EouHwv;
|
||||
const legacyText = <LegacyText style={styles.header}>{Reflect.apply(string, intl, [EouHwv])}</LegacyText>;
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
return (
|
||||
<Alert onClose={onClose}>
|
||||
{legacyText}
|
||||
<Text style={styles.text} variant="text-md/medium">
|
||||
{intl.string((require(1244) /* metro dependency 1244: indexNative */).t.zNPBMA)}
|
||||
</Text>
|
||||
</Alert>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
/* Metro module 6595; source: modules/quarantine/openQuarantineModeInfoModal.native.tsx; dependencies: [31, 27, 33, 4015, 4496, 6596, 1962, 2] */
|
||||
function _fun51975(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#51975, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6773:6, offset: 0x012e9641, size: 158 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_3 = (require(27) /* metro dependency 27 */).Keyboard;
|
||||
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/quarantine/openQuarantineModeInfoModal.native.tsx');
|
||||
exports.default = openQuarantineModeInfoModal;
|
||||
}
|
||||
|
||||
function openQuarantineModeInfoModal() { // fn#51976, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6773:238, offset: 0x012e96df, size: 112 bytes, params: 1, frame: 13
|
||||
Keyboard.dismiss();
|
||||
const bestActiveInput = (require(4015) /* metro dependency 4015: ChatInputUtils */).getBestActiveInput();
|
||||
if (bestActiveInput != null) {
|
||||
bestActiveInput.blur();
|
||||
}
|
||||
const value = importDefault(4496) /* metro dependency 4496: AlertActionCreators */;
|
||||
value.openLazy({importer: importer_51977});
|
||||
}
|
||||
|
||||
function openQuarantineModeInfoModalImporter() { // fn#51977, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6773:371, owner: openQuarantineModeInfoModal.importer, offset: 0x012e974f, size: 62 bytes, params: 1, frame: 13
|
||||
var environment;
|
||||
let value = environment.__proto__;
|
||||
value = require(dependencyMap[6]);
|
||||
value = value(dependencyMap[5], dependencyMap.paths);
|
||||
return value.then(function({default: env0_0}) {
|
||||
return _fun51979;
|
||||
});
|
||||
}
|
||||
|
||||
function _fun51978({default: env0_0}) { // fn#51978, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6773:403, offset: 0x012e978d, size: 21 bytes, params: 2, frame: 2
|
||||
return _fun51979;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
/* Metro module 11889; source: modules/quarantine/useShouldBlockDMInputForQuarantinedUser.tsx; dependencies: [4814, 661, 11787, 566, 2] */
|
||||
function _fun91265(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#91265, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12075:6, offset: 0x020598cd, size: 136 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const messageStore = importDefault(4814) /* metro dependency 4814: MessageStore */;
|
||||
const env0_3 = (require(661) /* metro dependency 661: Constants */).UserFlags;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/quarantine/useShouldBlockDMInputForQuarantinedUser.tsx');
|
||||
exports.default = _default_91266;
|
||||
}
|
||||
|
||||
function _default_91266(a0, a1) { // fn#91266, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12075:135, offset: 0x02059955, size: 146 bytes, params: 3, frame: 19
|
||||
var r1;
|
||||
var r0;
|
||||
const env0_0 = a1;
|
||||
const value2 = (require(11787) /* metro dependency 11787: useShowConvoStarterInDM */).useShowConvoStarterInDM(a1);
|
||||
const value3 = (require(566) /* metro dependency 566: flux */).useStateFromStores([MessageStore], function() {
|
||||
return MessageStore.getMessages(require.id).length > 0;
|
||||
}, [a1]);
|
||||
const value4 = a0 != null;
|
||||
if (value4) {
|
||||
r1 = a0.hasFlag(UserFlags.QUARANTINED) && value2;
|
||||
r1 = r1 && !value3;
|
||||
r0 = r1;
|
||||
} else {
|
||||
r0 = value4;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user