Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,8 @@
|
||||
/* Metro module 12380; source: modules/guild_limited_access/GuildLimitedAccessConstants.tsx; dependencies: [2] */
|
||||
function _fun94329(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#94329, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12566:6, offset: 0x02114208, size: 84 bytes, params: 8, frame: 15
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_limited_access/GuildLimitedAccessConstants.tsx');
|
||||
exports.GUILD_LIMITED_ACCESS_HC_LINK = 'https://support.discord.com/hc/en-us/articles/6461420677527-Limited-Access-FAQ';
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
/* Metro module 15641; source: modules/guild_limited_access/GuildLimitedAccessUtils.tsx; dependencies: [661, 2] */
|
||||
function _fun119778(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#119778, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15849:6, offset: 0x02519314, size: 109 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_0 = (require(661) /* metro dependency 661: Constants */).AbortCodes;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_limited_access/GuildLimitedAccessUtils.tsx');
|
||||
exports.isLimitedAccessErrorCode = isLimitedAccessErrorCode_119779;
|
||||
}
|
||||
|
||||
function isLimitedAccessErrorCode_119779(a0, a1) { // fn#119779, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15849:234, offset: 0x02519381, size: 67 bytes, params: 3, frame: 3
|
||||
return a0 === 403 && a1 != null && a1 >= AbortCodes.GUILD_LIMITED_ACCESS_DEFAULT && a1 <= AbortCodes.GUILD_LIMITED_ACCESS_MAX;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/* Metro module 12379; source: modules/guild_limited_access/native/GuildLimitedAccessInfoAlert.tsx; dependencies: [31, 1867, 12380, 661, 33, 4501, 6597, 697, 1244, 4596, 1305, 4573, 2] */
|
||||
function _fun94327(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#94327, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12565:6, offset: 0x02113f3c, size: 331 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 guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */;
|
||||
const env0_4 = (require(12380) /* metro dependency 12380: GuildLimitedAccessConstants */).GUILD_LIMITED_ACCESS_HC_LINK;
|
||||
const Fonts = (require(661) /* metro dependency 661: Constants */).Fonts;
|
||||
let value = require(33) /* metro dependency 33 */;
|
||||
const env0_5 = value.jsx;
|
||||
const env0_6 = 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_7 = Reflect.apply(createStyles, value, [{header: object, text: {'textAlign': 'center',
|
||||
'marginVertical': 8}}]);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_limited_access/native/GuildLimitedAccessInfoAlert.tsx');
|
||||
exports.default = _default_94328;
|
||||
}
|
||||
|
||||
function _default_94328({guildId, onClose}) { // fn#94328, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12565:393, offset: 0x02114087, size: 385 bytes, params: 2, frame: 23
|
||||
const styles = useStyles();
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
const format = intl.format;
|
||||
const ZqkXsC = (require(1244) /* metro dependency 1244: indexNative */).t.ZqkXsC;
|
||||
const value2 = Reflect.apply(format, intl, [ZqkXsC, {helpdeskArticle: GUILD_LIMITED_ACCESS_HC_LINK}]);
|
||||
const guild = GuildStore.getGuild(guildId);
|
||||
const r8 = guild == null ? value2 : intl.format((require(1244) /* metro dependency 1244: indexNative */).t.jn0Xyx,
|
||||
{guildName: guild.name, helpdeskArticle: GUILD_LIMITED_ACCESS_HC_LINK});
|
||||
const Alert = importDefault(4596) /* metro dependency 4596: Alert */;
|
||||
const LegacyText = (require(1305) /* metro dependency 1305: native */).LegacyText;
|
||||
const legacyText = <LegacyText style={styles.header}>{intl.string((require(1244) /* metro dependency 1244: indexNative */).t.kJwpBW)}</LegacyText>;
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
return (
|
||||
<Alert onClose={onClose}>
|
||||
{legacyText}
|
||||
<Text style={styles.text} variant="text-md/medium">
|
||||
{r8}
|
||||
</Text>
|
||||
</Alert>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
/* Metro module 4495; source: modules/guild_limited_access/openGuildLimitedAccessInfoModal.native.tsx; dependencies: [31, 27, 33, 4015, 4496, 12379, 1962, 2] */
|
||||
function _fun38351(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38351, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4673:6, offset: 0x010bd99e, 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/guild_limited_access/openGuildLimitedAccessInfoModal.native.tsx');
|
||||
exports.default = openGuildLimitedAccessInfoModal;
|
||||
}
|
||||
|
||||
function openGuildLimitedAccessInfoModal(a0) { // fn#38352, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4673:252, offset: 0x010bda3c, size: 119 bytes, params: 2, frame: 13
|
||||
const env0_0 = a0;
|
||||
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_38353});
|
||||
}
|
||||
|
||||
function openGuildLimitedAccessInfoModalImporter() { // fn#38353, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4673:390, owner: openGuildLimitedAccessInfoModal.importer, offset: 0x010bdab3, 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 _fun38355;
|
||||
});
|
||||
}
|
||||
|
||||
function _fun38354({default: env0_0}) { // fn#38354, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4673:422, offset: 0x010bdaf1, size: 21 bytes, params: 2, frame: 2
|
||||
return _fun38355;
|
||||
}
|
||||
|
||||
function _fun38355(a0) { // fn#38355, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4673:437, offset: 0x010bdb06, size: 52 bytes, params: 2, frame: 14
|
||||
return ((Component) => <Component {...a0} {...{['guildId']: env2_0}} />)(env0_0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user