/* Metro module 13437; source: modules/parent_tools/native/FamilyCenterPendingLinks.tsx; dependencies: [31, 27, 5117, 33, 4501, 697, 8170, 12627, 1244, 2224, 4573, 8171, 5278, 5080, 13438, 1962, 1305, 8096, 13439, 13436, 13440, 13431, 2] */ function _fun102183(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#102183, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13627:6, offset: 0x0223107d, size: 486 bytes, params: 8, frame: 23 var object2; 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(5117) /* metro dependency 5117: FamilyCenterConstants */).UserLinkStatus; let value = require(33) /* metro dependency 33 */; const env0_5 = value.jsx; const env0_6 = value.jsxs; const env0_7 = value.Fragment; value = require(4501) /* metro dependency 4501: createStyles */; let createStyles = value.createStyles; const object4 = {'display': 'flex', 'justifyContent': 'center'}; const BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW; object4.backgroundColor = BACKGROUND_BASE_LOW; object4.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.md; const env0_8 = Reflect.apply(createStyles, value, [{container: {marginTop: 24}, content: object4, header: {marginBottom: 10}}]); value = require(4501) /* metro dependency 4501: createStyles */; createStyles = value.createStyles; object2 = {}; const object6 = {'backgroundColor': null, 'tintColor': null, 'borderRadius': null, 'alignItems': 'center', 'justifyContent': 'center', 'height': 32, 'width': 32}; const BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH; object6.backgroundColor = BACKGROUND_SURFACE_HIGH; const INTERACTIVE_TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_TEXT_DEFAULT; object6.tintColor = INTERACTIVE_TEXT_DEFAULT; object6.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round; object2.actionButton = object6; const PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8; object2.actionButtonFirst = {marginRight: PX_8}; const env0_9 = Reflect.apply(createStyles, value, [object2]); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/parent_tools/native/FamilyCenterPendingLinks.tsx'); exports.default = FamilyCenterPendingLinks; } function FamilyCenterPendingLinkRow({otherUser}) { // fn#102184, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13627:687, offset: 0x02231263, size: 941 bytes, params: 2, frame: 28 var r9; var r4; var jsxRuntimeEnv0_7Binding; var value5; const PressableOpacity = (require(5278) /* metro dependency 5278: Pressables */).PressableOpacity; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; var formatToPlainString; var jc1Ip7; var object; var items2; var property; var object2; var oUpA6X; var object4; const styles = useStyles(); const value3 = (importDefault(8171) /* metro dependency 8171: useIsInAdultAgeGroup */)(); const value4 = (require(8170) /* metro dependency 8170: useUserLinks */).useHasMaxConnections(); if (otherUser === undefined) { return null; } if (value3) { formatToPlainString = intl.formatToPlainString; oUpA6X = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).oUpA6X; object4 = {}; object4.name = otherUser?.toString(); r4 = {((Icon) => )((require(1305) /* metro dependency 1305: native */).Icon)}; } else { jsxRuntimeEnv0_7Binding = jsxRuntimeEnv0_7; value5 = null; if (value4) { r9 = value5; } else { formatToPlainString = intl.formatToPlainString; jc1Ip7 = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).jc1Ip7; object = {}; object.name = value5 == otherUser ? undefined : otherUser.toString(); r9 = {((Icon) => )((require(1305) /* metro dependency 1305: native */).Icon)}; } items2 = [r9]; formatToPlainString = intl.formatToPlainString; property = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['4GtllP']; object2 = {}; object2.name = value5 == otherUser ? undefined : otherUser.toString(); items2[1] = {((Icon) => )((require(1305) /* metro dependency 1305: native */).Icon)}; r4 = <>{items2}; } return ((Component) => )(importDefault(13431) /* metro dependency 13431: FamilyCenterLinkRow */); } function FamilyCenterPendingLinks() { // fn#102188, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13627:2054, offset: 0x02231715, size: 361 bytes, params: 1, frame: 25 const styles = useStyles(); const useUserLinksModule = require(8170) /* metro dependency 8170: useUserLinks */; const useUsersForLinkStatus = useUserLinksModule.useUsersForLinkStatus; const PENDING = UserLinkStatus.PENDING; const value2 = Reflect.apply(useUsersForLinkStatus, useUserLinksModule, [PENDING]); const useAgeSpecificTextModule = require(12627) /* metro dependency 12627: useAgeSpecificText */; const useAgeSpecificText = useAgeSpecificTextModule.useAgeSpecificText; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; let formatToPlainString = intl.formatToPlainString; const IkAgkG = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).IkAgkG; const value3 = Reflect.apply(formatToPlainString, intl, [IkAgkG, {count: value2.length}]); formatToPlainString = intl.formatToPlainString; const Q8XnAa = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).Q8XnAa; ({}).count = value2.length; return value2.length === 0 ? null : {((Text) => {Reflect.apply(useAgeSpecificText, useAgeSpecificTextModule, [value3, Reflect.apply(formatToPlainString, intl, [Q8XnAa, viewBindingProps])])})((require(4573) /* metro dependency 4573: Text */).Text)}{value2.map(_fun102189)}; } function FamilyCenterPendingLinkRowOnPress() { // fn#102185, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13627:995, owner: FamilyCenterPendingLinkRow.onPress, offset: 0x02231610, size: 87 bytes, params: 1, frame: 15 let value = environment.__proto__; const defaultImport = importDefault(dependencyMap[13]); const pushLazy = defaultImport.pushLazy; value = require(dependencyMap[15]); value = value(dependencyMap[20], dependencyMap.paths); Reflect.apply(pushLazy, defaultImport, [value, {otherUser: otherUser}]); } function FamilyCenterPendingLinkRowOnPress_102186() { // fn#102186, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13627:1361, owner: FamilyCenterPendingLinkRow.onPress, offset: 0x02231667, size: 87 bytes, params: 1, frame: 15 let value = environment.__proto__; const defaultImport = importDefault(dependencyMap[13]); const pushLazy = defaultImport.pushLazy; value = require(dependencyMap[15]); value = value(dependencyMap[14], dependencyMap.paths); Reflect.apply(pushLazy, defaultImport, [value, {otherUser: otherUser}]); } function FamilyCenterPendingLinkRowOnPress_102187() { // fn#102187, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13627:1730, owner: FamilyCenterPendingLinkRow.onPress, offset: 0x022316be, size: 87 bytes, params: 1, frame: 15 let value = environment.__proto__; const defaultImport = importDefault(dependencyMap[13]); const pushLazy = defaultImport.pushLazy; value = require(dependencyMap[15]); value = value(dependencyMap[18], dependencyMap.paths); Reflect.apply(pushLazy, defaultImport, [value, {otherUser: otherUser}]); } function _fun102189(a0) { // fn#102189, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13627:2484, offset: 0x0223187e, size: 61 bytes, params: 2, frame: 16 const value = environment.__proto__; return ; }