61 lines
3.6 KiB
TypeScript
61 lines
3.6 KiB
TypeScript
/* Metro module 11493; source: modules/safety_hub/native/AppealIngestionPolicySummary.tsx; dependencies: [31, 27, 33, 4501, 697, 5266, 4000, 4573, 1244, 2] */
|
|
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 JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
|
|
import * as IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */
|
|
import * as ColorUtilsModule from '../../../utils/ColorUtils.tsx'; /* Metro dependency 4000 */
|
|
import * as TextModule from '../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
|
|
import * as SafetyHubUtilsModule from '../SafetyHubUtils.tsx'; /* Metro dependency 5266 */
|
|
|
|
function _fun88061(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#88061, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11679:6, offset: 0x01fd3320, size: 299 bytes, params: 8, frame: 22
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
let value = JsxRuntimeModule;
|
|
const env0_3 = value.jsx;
|
|
const env0_4 = value.jsxs;
|
|
value = require(4501) /* metro dependency 4501: createStyles */;
|
|
const createStyles = value.createStyles;
|
|
object = {};
|
|
object.sectionTitle = {marginBottom: 8};
|
|
object.policy = {marginBottom: 16};
|
|
const MOBILE_TEXT_HEADING_PRIMARY = (importDefault(697) /* metro dependency 697: native */).colors.MOBILE_TEXT_HEADING_PRIMARY;
|
|
object.borderColor = {color: MOBILE_TEXT_HEADING_PRIMARY};
|
|
const object4 = {'marginTop': 8, 'justifyContent': 'flex-start', 'minHeight': 40, 'borderRadius': null,
|
|
'borderWidth': 1, 'padding': 18};
|
|
object4.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.sm;
|
|
object.userContainer = object4;
|
|
const env0_5 = Reflect.apply(createStyles, value, [object]);
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/safety_hub/native/AppealIngestionPolicySummary.tsx');
|
|
exports.default = AppealIngestionPolicySummary;
|
|
function AppealIngestionPolicySummary({classification}) { // fn#88062, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11679:516, offset: 0x01fd344b, size: 343 bytes, params: 2, frame: 25
|
|
const styles = useStyles();
|
|
const value3 = SafetyHubUtilsModule.capitalizeText(classification?.description);
|
|
const value4 = ColorUtilsModule.hexWithOpacity(styles.borderColor.color, 0.08);
|
|
const Text = (TextModule).Text;
|
|
const intl = (IndexNativeModule).intl;
|
|
const text = (
|
|
<Text style={styles.sectionTitle} variant="text-sm/bold">
|
|
{intl.string((IndexNativeModule).t.xsdcxh)}
|
|
</Text>
|
|
);
|
|
const userContainer = styles.userContainer;
|
|
return (
|
|
<View style={styles.policy}>
|
|
{text}
|
|
<View style={[userContainer, {borderColor: value4}]}>
|
|
<Text variant="text-md/semibold">
|
|
{value3}
|
|
</Text>
|
|
</View>
|
|
</View>
|
|
);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun88061, 11493, [31, 27, 33, 4501, 697, 5266, 4000, 4573, 1244,
|
|
2]) /* metro module 11493, dependencies: [31, 27, 33, 4501, 697, 5266, 4000, 4573, 1244, 2] */;
|