51 lines
3.7 KiB
TypeScript
51 lines
3.7 KiB
TypeScript
/* Metro module 13443; source: modules/parent_tools/native/FamilyCenterParentalControlsContentAndSocial.tsx; dependencies: [31, 27, 661, 8224, 33, 9692, 1244, 1948, 13170, 2] */
|
|
function _fun102232(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#102232, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13633:6, offset: 0x022335ba, size: 203 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 */).View;
|
|
const env0_4 = (require(661) /* metro dependency 661: Constants */).HelpdeskArticles;
|
|
const env0_5 = (require(8224) /* metro dependency 8224: SettingsConstants */).MobileSetting;
|
|
const env0_6 = (require(33) /* metro dependency 33 */).jsx;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/parent_tools/native/FamilyCenterParentalControlsContentAndSocial.tsx');
|
|
exports.default = FamilyCenterParentalControlsContentAndSocial;
|
|
}
|
|
|
|
function FamilyCenterParentalControlsContentAndSocial() { // fn#102233, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13633:304, offset: 0x02233685, size: 396 bytes, params: 1, frame: 27
|
|
const settingBuildersModule = require(9692) /* metro dependency 9692: SettingBuilders */;
|
|
const createList = settingBuildersModule.createList;
|
|
const object = {};
|
|
const PARENTAL_CONTROLS_SENSITIVE_CONTENT_FILTERS = MobileSetting.PARENTAL_CONTROLS_SENSITIVE_CONTENT_FILTERS;
|
|
object.settings = [PARENTAL_CONTROLS_SENSITIVE_CONTENT_FILTERS];
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
const format = intl.format;
|
|
const dliU4j = (require(1244) /* metro dependency 1244: indexNative */).t.dliU4j;
|
|
const defaultImport = importDefault(1948) /* metro dependency 1948: HelpdeskUtils */;
|
|
const getArticleURL = defaultImport.getArticleURL;
|
|
const EXPLICIT_MEDIA_REDACTION = HelpdeskArticles.EXPLICIT_MEDIA_REDACTION;
|
|
object.subLabel = Reflect.apply(format, intl, [dliU4j, {learnMoreLink: Reflect.apply(getArticleURL, defaultImport,
|
|
[EXPLICIT_MEDIA_REDACTION])}]);
|
|
const items2 = [object];
|
|
let string = intl.string;
|
|
const MeYuqs = (require(1244) /* metro dependency 1244: indexNative */).t.MeYuqs;
|
|
const PARENTAL_CONTROLS_DIRECT_MESSAGES = MobileSetting.PARENTAL_CONTROLS_DIRECT_MESSAGES;
|
|
const PARENTAL_CONTROLS_MESSAGE_REQUESTS = MobileSetting.PARENTAL_CONTROLS_MESSAGE_REQUESTS;
|
|
items2[1] = {label: Reflect.apply(string, intl, [MeYuqs]), settings: [PARENTAL_CONTROLS_DIRECT_MESSAGES,
|
|
PARENTAL_CONTROLS_MESSAGE_REQUESTS]};
|
|
string = intl.string;
|
|
const XlGG9c = (require(1244) /* metro dependency 1244: indexNative */).t.XlGG9c;
|
|
const PARENTAL_CONTROLS_FRIEND_REQUESTS_EVERYONE = MobileSetting.PARENTAL_CONTROLS_FRIEND_REQUESTS_EVERYONE;
|
|
const PARENTAL_CONTROLS_FRIEND_REQUESTS_MUTUAL_FRIENDS = MobileSetting.PARENTAL_CONTROLS_FRIEND_REQUESTS_MUTUAL_FRIENDS;
|
|
const PARENTAL_CONTROLS_FRIEND_REQUESTS_MUTUAL_GUILDS = MobileSetting.PARENTAL_CONTROLS_FRIEND_REQUESTS_MUTUAL_GUILDS;
|
|
items2[2] = {label: Reflect.apply(string, intl, [XlGG9c]), settings: [PARENTAL_CONTROLS_FRIEND_REQUESTS_EVERYONE,
|
|
PARENTAL_CONTROLS_FRIEND_REQUESTS_MUTUAL_FRIENDS, PARENTAL_CONTROLS_FRIEND_REQUESTS_MUTUAL_GUILDS]};
|
|
return (
|
|
<View>
|
|
{((Component) => <Component node={Reflect.apply(createList, settingBuildersModule,
|
|
[{sections: items2}])} />)(importDefault(13170) /* metro dependency 13170: SettingLayout */)}
|
|
</View>
|
|
);
|
|
}
|
|
|