/* Metro module 9928; source: modules/feedback/native/FeedbackModal.tsx; dependencies: [57, 31, 27, 33, 4501, 7972, 1244, 6766, 1948, 4578, 5080, 5280, 5282, 2] */ import Module00057 from '../../../by-id/module-00057.js'; /* Metro dependency 57 */ import ModalActionCreators from '../../../actions/ModalActionCreators.tsx'; /* Metro dependency 5080 */ import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ReactNativeModule from '../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */ import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */ import * as CreateStylesModule from '../../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */ import * as ButtonNativeModule from '../../../design/components/Button/native/Button.native.tsx'; /* Metro dependency 4578 */ import * as NavigatorNativeModule from '../../../design/components/Navigator/native/Navigator.native.tsx'; /* Metro dependency 5280 */ import * as NativeModule from '../../../design/void/Form/native/index.tsx'; /* Metro dependency 7972 */ function _fun77724(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77724, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10114:6, offset: 0x01e08948, size: 289 bytes, params: 8, frame: 20 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = ReactNativeModule; const env0_5 = value.View; const env0_6 = value.ScrollView; value = require(33) /* metro dependency 33 */; const env0_7 = value.jsx; const env0_8 = value.jsxs; const env0_9 = (CreateStylesModule).createStyles({helpDeskLabel: {'lineHeight': 16, 'marginTop': 8}, bottomContainer: {paddingHorizontal: 16}, submitButton: {'marginTop': 24, 'marginBottom': 24}}); (FileImportTrackerModule).fileFinishedImporting('modules/feedback/native/FeedbackModal.tsx'); exports.default = FeedbackModal; function FeedbackForm_77725({result, trackReport, titleLabel, descriptionLabel, hideHelpdeskLink}) { // fn#77725, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10114:328, offset: 0x01e08a69, size: 841 bytes, params: 2, frame: 36 var r9; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; var TextWithIOSLinkWorkaround; var format; var ybi2tD; var object2; const styles = useStyles(); const reason = result.reason; const [property, property2] = Module00057(ReactModule.useState(''), 2); const FormSection = (NativeModule).FormSection; const FormInput = (NativeModule).FormInput; const items2 = [ , ]; const FormDivider = (NativeModule).FormDivider; items2[1] = ; items2[2] = ( ); const formSection = ( {items2} ); if (hideHelpdeskLink) { r9 = !hideHelpdeskLink; } else { TextWithIOSLinkWorkaround = (require(6766) /* metro dependency 6766: TextWithIOSLinkWorkaround */).TextWithIOSLinkWorkaround; var textWithIOSLinkWorkaroundProps = {'style': null, 'variant': 'text-xs/medium', 'color': 'text-muted', style: styles.helpDeskLabel}; format = intl.format; ybi2tD = (require(1244) /* metro dependency 1244: indexNative */).t.ybi2tD; object2 = {}; object2.helpdeskURL = (importDefault(1948) /* metro dependency 1948: HelpdeskUtils */).getSubmitRequestURL(); r9 = ( {Reflect.apply(format, intl, [ybi2tD, object2])} ); } const Button = (ButtonNativeModule).Button; return ( {formSection} {r9}