180 lines
11 KiB
TypeScript
180 lines
11 KiB
TypeScript
/* Metro module 12626; source: modules/parent_tools/native/FamilyCenterDataConfirmation.tsx; dependencies: [31, 33, 1244, 2224, 12627, 4050, 9390, 6699, 12628, 12630, 8665, 7002, 6238, 4572, 4573, 6231, 6696, 2] */
|
|
function _fun96894(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#96894, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12816:6, offset: 0x0216aaff, size: 157 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 value = require(33) /* metro dependency 33 */;
|
|
const env0_3 = value.jsx;
|
|
const env0_4 = value.Fragment;
|
|
const env0_5 = value.jsxs;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/parent_tools/native/FamilyCenterDataConfirmation.tsx');
|
|
exports.default = FamilyCenterDataConfirmation;
|
|
}
|
|
|
|
function FamilyCenterDataConfirmation({source}) { // fn#96895, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12816:249, offset: 0x0216ab9c, size: 2178 bytes, params: 2, frame: 38
|
|
const TableRowGroup = (require(6231) /* metro dependency 6231: TableRowGroupNative */).TableRowGroup;
|
|
var r6;
|
|
var Stack2;
|
|
let value = source === 'request-modal';
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
let string = intl.string;
|
|
const value3 = Reflect.apply(string, intl,
|
|
[(importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['+yrQhd']]);
|
|
string = intl.string;
|
|
const WGz9Dc = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).WGz9Dc;
|
|
const value4 = Reflect.apply(string, intl, [WGz9Dc]);
|
|
const useAgeSpecificTextModule = require(12627) /* metro dependency 12627: useAgeSpecificText */;
|
|
let useAgeSpecificText = useAgeSpecificTextModule.useAgeSpecificText;
|
|
const value5 = Reflect.apply(useAgeSpecificText, useAgeSpecificTextModule, [value3, value4]);
|
|
const value7 = useAgeSpecificTextModule.useAgeSpecificText((require(1244) /* metro dependency 1244: indexNative */).intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['TCzk/e']),
|
|
intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['2OqtJJ']));
|
|
const moduleValue3 = useAgeSpecificTextModule;
|
|
useAgeSpecificText = moduleValue3.useAgeSpecificText;
|
|
string = intl.string;
|
|
const ASf7XN = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).ASf7XN;
|
|
const value9 = Reflect.apply(useAgeSpecificText, moduleValue3, [Reflect.apply(string, intl, [ASf7XN]),
|
|
intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['82y87X'])]);
|
|
const value11 = useAgeSpecificTextModule.useAgeSpecificText((require(1244) /* metro dependency 1244: indexNative */).intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['0QDVFN']),
|
|
intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['1xBHHV']));
|
|
const value12 = (require(1244) /* metro dependency 1244: indexNative */).intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['JvJ3P/']);
|
|
const moduleValue5 = useAgeSpecificTextModule;
|
|
useAgeSpecificText = moduleValue5.useAgeSpecificText;
|
|
const value13 = intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).l0ChgF);
|
|
string = intl.string;
|
|
const S2ss5X = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).S2ss5X;
|
|
const value14 = Reflect.apply(useAgeSpecificText, moduleValue5, [value13, Reflect.apply(string, intl, [S2ss5X])]);
|
|
const moduleValue6 = useAgeSpecificTextModule;
|
|
useAgeSpecificText = moduleValue6.useAgeSpecificText;
|
|
string = intl.string;
|
|
const LDu4Uk = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).LDu4Uk;
|
|
const value16 = Reflect.apply(useAgeSpecificText, moduleValue6, [Reflect.apply(string, intl, [LDu4Uk]),
|
|
intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).fEgtLV)]);
|
|
const value17 = (require(1244) /* metro dependency 1244: indexNative */).intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['4SCALu']);
|
|
const value18 = intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).oYf9P7);
|
|
const value20 = useAgeSpecificTextModule.useAgeSpecificText((require(1244) /* metro dependency 1244: indexNative */).intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['dES/2r']),
|
|
intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).ep6mdN));
|
|
const value22 = useAgeSpecificTextModule.useAgeSpecificText((require(1244) /* metro dependency 1244: indexNative */).intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['30+sih']),
|
|
intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['0cuLn1']));
|
|
const moduleValue9 = useAgeSpecificTextModule;
|
|
useAgeSpecificText = moduleValue9.useAgeSpecificText;
|
|
const value23 = intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).tHTyRh);
|
|
string = intl.string;
|
|
const TeNlMb = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).TeNlMb;
|
|
const value24 = Reflect.apply(useAgeSpecificText, moduleValue9, [value23, Reflect.apply(string, intl, [TeNlMb])]);
|
|
const value26 = useAgeSpecificTextModule.useAgeSpecificText(intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).wZejZr),
|
|
intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).tdgcf1));
|
|
let object2 = {header: value12, description: value14};
|
|
const UserPlusIcon = (require(4050) /* metro dependency 4050: UserPlusIcon */).UserPlusIcon;
|
|
object2.IconComponent = UserPlusIcon;
|
|
object2.source = source;
|
|
const items4 = [object2];
|
|
object2 = {header: (require(1244) /* metro dependency 1244: indexNative */).intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['44NEx6']),
|
|
description: value16};
|
|
const ServerIcon = (require(9390) /* metro dependency 9390: ServerIcon */).ServerIcon;
|
|
object2.IconComponent = ServerIcon;
|
|
object2.source = source;
|
|
items4[1] = object2;
|
|
object2 = {header: value17, description: value18};
|
|
const GroupIcon = (require(6699) /* metro dependency 6699: GroupIcon */).GroupIcon;
|
|
object2.IconComponent = GroupIcon;
|
|
object2.source = source;
|
|
items4[2] = object2;
|
|
object2 = {};
|
|
const intl3 = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
string = intl3.string;
|
|
const GNs2ZH = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).GNs2ZH;
|
|
object2.header = Reflect.apply(string, intl3, [GNs2ZH]);
|
|
const intl4 = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
string = intl4.string;
|
|
const Ief2xc = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).Ief2xc;
|
|
object2.description = Reflect.apply(string, intl4, [Ief2xc]);
|
|
const PhoneIcon = (require(12628) /* metro dependency 12628: PhoneIcon */).PhoneIcon;
|
|
object2.IconComponent = PhoneIcon;
|
|
object2.source = source;
|
|
const items2 = [object2];
|
|
object2 = {};
|
|
const intl5 = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
string = intl5.string;
|
|
const PjM3r5 = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).PjM3r5;
|
|
object2.header = Reflect.apply(string, intl5, [PjM3r5]);
|
|
object2.description = value20;
|
|
const CreditCardIcon = (require(12630) /* metro dependency 12630: CreditCardIcon */).CreditCardIcon;
|
|
object2.IconComponent = CreditCardIcon;
|
|
object2.source = source;
|
|
items2[1] = object2;
|
|
object2 = {header: value22, description: value24};
|
|
const FlagIcon = (require(8665) /* metro dependency 8665: FlagIcon */).FlagIcon;
|
|
object2.IconComponent = FlagIcon;
|
|
object2.source = source;
|
|
items2[2] = object2;
|
|
object2 = {};
|
|
const intl6 = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
string = intl6.string;
|
|
const UCuHM8 = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).UCuHM8;
|
|
object2.header = Reflect.apply(string, intl6, [UCuHM8]);
|
|
object2.description = value26;
|
|
const SettingsIcon = (require(7002) /* metro dependency 7002: SettingsIcon */).SettingsIcon;
|
|
object2.IconComponent = SettingsIcon;
|
|
object2.source = source;
|
|
items2[3] = object2;
|
|
const jsxRuntimeEnv0_4Binding = jsxRuntimeEnv0_4;
|
|
const items3 = [];
|
|
arraySpread(items3, items2, arraySpread(items3, items4, 0, intl), intl);
|
|
const fragment = <>{items3.map(_fun96896)}</>;
|
|
const Stack = (require(4572) /* metro dependency 4572: StackNative */).Stack;
|
|
if (value) {
|
|
Stack2 = (require(4572) /* metro dependency 4572: StackNative */).Stack;
|
|
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
|
value = <Text accessibilityRole="header" variant="text-sm/semibold" color="text-muted">{intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['05xZPR'])}</Text>;
|
|
value = <Stack2 spacing={8}>{value}<TableRowGroup hasIcons>{fragment}</TableRowGroup></Stack2>;
|
|
r6 = value;
|
|
} else {
|
|
r6 = <TableRowGroup title={value5} hasIcons>{fragment}</TableRowGroup>;
|
|
}
|
|
const object3 = {header: value9, description: value11};
|
|
const ForumLockIcon = (require(6696) /* metro dependency 6696: ForumLockIcon */).ForumLockIcon;
|
|
object3.IconComponent = ForumLockIcon;
|
|
object3.source = source;
|
|
object3.negative = true;
|
|
return (
|
|
<Stack spacing={24}>
|
|
{r6}
|
|
<TableRowGroup title={value7} hasIcons>
|
|
{[object3].map(_fun96897)}
|
|
</TableRowGroup>
|
|
</Stack>
|
|
);
|
|
}
|
|
|
|
function _fun96896({header, description, IconComponent}) { // fn#96896, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12816:2189, offset: 0x0216b41e, size: 133 bytes, params: 2, frame: 21
|
|
const value = environment.__proto__;
|
|
const TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
|
|
const TableRow2 = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
|
|
const Icon = TableRow2.Icon;
|
|
return (
|
|
<TableRow
|
|
label={header}
|
|
subLabel={description}
|
|
icon={<Icon variant={result ? 'default' : 'text-status-online'} IconComponent={IconComponent} />}
|
|
key={header}
|
|
/>
|
|
);
|
|
}
|
|
|
|
function _fun96897({header, description, IconComponent, negative}) { // fn#96897, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12816:2855, offset: 0x0216b4a3, size: 145 bytes, params: 2, frame: 22
|
|
const value = environment.__proto__;
|
|
const TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
|
|
const TableRow2 = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
|
|
const Icon = TableRow2.Icon;
|
|
return (
|
|
<TableRow
|
|
label={header}
|
|
subLabel={description}
|
|
icon={<Icon variant={result ? 'default' : negative === true ? 'text-status-dnd' : 'default'} IconComponent={IconComponent} />}
|
|
key={header}
|
|
/>
|
|
);
|
|
}
|
|
|