Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
424 lines
21 KiB
TypeScript
424 lines
21 KiB
TypeScript
// Module ID: 11950
|
|
// Function ID: 11951
|
|
// Name: ClassificationDetail
|
|
// Dependencies: [19, 17, 2025, 8495, 8484, 1074, 21, 4605, 576, 4601, 8485, 1114, 504, 9119, 4299, 9472, 5025, 11951, 11953, 8494, 8478, 1242, 11954, 7653, 7658, 11956, 7175, 11961, 8483, 2]
|
|
// Exports: default
|
|
|
|
// Module 11950 (ClassificationDetail)
|
|
import initialize from "initialize" /* 504 */;
|
|
import nativeDefault from "native" /* 576 */;
|
|
import util from "util" /* 1114 */;
|
|
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1242 */;
|
|
import LinkingDefault from "Linking" /* 4299 */;
|
|
import Text_Text from "Text/Text" /* 4601 */;
|
|
import components_Button_Button from "components/Button/Button" /* 5025 */;
|
|
import MetricEvents from "MetricEvents" /* 7658 */;
|
|
import SafetyHubModels from "SafetyHubModels" /* 8485 */;
|
|
import TouchableHitBoxDefault from "TouchableHitBox" /* 9119 */;
|
|
import noop from "module_19" /* 19 */;
|
|
import LocaleStore from "LocaleStore" /* 2025 */;
|
|
import SafetyHubStore from "SafetyHubStore" /* 8495 */;
|
|
|
|
require = fn;
|
|
function ClassificationHeader(classificationTypeText) {
|
|
classificationTypeText = classificationTypeText.classificationTypeText;
|
|
const guildMetadata = classificationTypeText.guildMetadata;
|
|
const tmp = closure_16();
|
|
const items = [classificationTypeText, guildMetadata];
|
|
let obj = { style: tmp.header, children: null };
|
|
const memo = noop.useMemo(() => {
|
|
let obj2 = {
|
|
classification_type: classificationTypeText,
|
|
classificationHook(children, arg1) {
|
|
return closure_1_13(classificationTypeText(closure_1_2[9]).Text, { variant: "heading-xl/bold", children }, arg1);
|
|
}
|
|
};
|
|
let tmp3 = null;
|
|
if (null != guildMetadata) {
|
|
let member_type;
|
|
if (tmp2 != tmp3) {
|
|
member_type = tmp2.member_type;
|
|
}
|
|
let X1ngSd = require;
|
|
let obj = dependencyMap;
|
|
if (member_type === SafetyHubModels.MemberType.OWNER) {
|
|
const intl3 = X1ngSd(1114).intl;
|
|
X1ngSd = X1ngSd(1114).t.X1ngSd;
|
|
obj = {};
|
|
const merged = Object.assign(obj2);
|
|
tmp3 = tmp2 == tmp3;
|
|
obj2 = undefined;
|
|
if (!tmp3) {
|
|
obj2 = tmp2.name;
|
|
}
|
|
obj.guildName = obj2;
|
|
let formatResult = intl3.format(X1ngSd, obj);
|
|
} else {
|
|
const intl2 = X1ngSd(1114).intl;
|
|
const obj4 = {};
|
|
const merged1 = Object.assign(obj2);
|
|
let name;
|
|
if (tmp2 != tmp3) {
|
|
name = tmp2.name;
|
|
}
|
|
obj4.guildName = name;
|
|
formatResult = intl2.format(X1ngSd(1114).t.rmpEPD, obj4);
|
|
}
|
|
} else {
|
|
const intl = util.intl;
|
|
return intl.format(util.t["39jfOz"], obj2);
|
|
}
|
|
}, items);
|
|
obj.children = closure_13(classificationTypeText(4601).Text, { variant: "text-lg/normal", style: tmp.headerText, color: "mobile-text-heading-primary", children: memo });
|
|
return closure_13(closure_4, obj);
|
|
}
|
|
function ClassificationActionsTaken(arg0) {
|
|
({ actions, classificationExpiration } = arg0);
|
|
const items = [LocaleStore];
|
|
const stateFromStores = initialize.useStateFromStores(items, () => locale.locale);
|
|
const tmp4 = closure_16();
|
|
const found = actions.filter((descriptions) => descriptions.descriptions.length > 0);
|
|
if (0 !== found.length) {
|
|
const obj2 = { style: tmp4.sectionContainer, children: null };
|
|
const obj3 = { variant: "eyebrow", color: "text-muted", children: null };
|
|
const intl = tmp(1114).intl;
|
|
obj3.children = intl.string(tmp(1114).t["O2nYk+"]);
|
|
const items1 = [map1(tmp(4601).Text, obj3), ];
|
|
const obj4 = { style: null, children: null };
|
|
const items2 = [tmp4.actionsTaken];
|
|
obj4.style = items2;
|
|
const items3 = [found.map((action) => closure_1_13(ClassificationActionsTakenRows, { action }, action.id)), ];
|
|
let tmp6Result = null;
|
|
if (null != classificationExpiration) {
|
|
const obj5 = { style: tmp4.classificationActionDescription, children: null };
|
|
const obj6 = { variant: "text-xs/normal", children: [" ", "\u2022"] };
|
|
const items4 = [tmp6(tmp(4601).Text, obj6), ];
|
|
const obj7 = { variant: "text-xs/normal", children: null };
|
|
const intl2 = tmp(1114).intl;
|
|
const obj8 = { expirationDate: classificationExpiration.toLocaleDateString(stateFromStores, { dateStyle: "medium" }) };
|
|
obj7.children = intl2.format(tmp(1114).t.TByIjT, obj8);
|
|
items4[1] = tmp8(tmp(4601).Text, obj7);
|
|
obj5.children = items4;
|
|
tmp6Result = tmp6(tmp7, obj5, "expiration");
|
|
}
|
|
items3[1] = tmp6Result;
|
|
obj4.children = items3;
|
|
items1[1] = closure_1_14(React4, obj4);
|
|
obj2.children = items1;
|
|
let tmp6Result2 = tmp6(tmp7, obj2);
|
|
tmp8 = map1;
|
|
} else {
|
|
tmp6Result2 = null;
|
|
}
|
|
return tmp6Result2;
|
|
}
|
|
function ClassificationActionsTakenRows(action) {
|
|
closure_0 = closure_16();
|
|
let obj = { children: null };
|
|
const descriptions = action.action.descriptions;
|
|
obj.children = descriptions.map((children, index) => {
|
|
const obj = { style: closure_0.classificationActionDescription, children: null };
|
|
const items = [closure_2_14(Text_Text.Text, { variant: "text-xs/normal", children: [" ", "\u2022"] }), map1(Text_Text.Text, { variant: "text-xs/normal", children })];
|
|
obj.children = items;
|
|
return closure_2_14(React4, obj, index);
|
|
});
|
|
return closure_13(closure_15, obj);
|
|
}
|
|
function ClassificationGuidance(hidePolicyCard) {
|
|
hidePolicyCard = hidePolicyCard.hidePolicyCard;
|
|
let tmp = undefined !== hidePolicyCard;
|
|
({ tosLink, communityGuidelinesLink, classificationTypeText, policyExplainerLink, appealComponent } = hidePolicyCard);
|
|
if (tmp) {
|
|
tmp = hidePolicyCard;
|
|
}
|
|
const obj = { style: closure_16().sectionContainer, children: null };
|
|
const obj2 = { variant: "eyebrow", color: "text-muted", children: null };
|
|
const intl = util.intl;
|
|
obj2.children = intl.string(util.t["977iei"]);
|
|
const items = [map1(Text_Text.Text, obj2), , , ];
|
|
const obj3 = { variant: "text-sm/normal", children: null };
|
|
const intl2 = util.intl;
|
|
obj3.children = intl2.format(util.t["1Z/+aA"], { tosLink, communityGuidelinesLink });
|
|
items[1] = map1(Text_Text.Text, obj3);
|
|
let tmp4Result = !tmp;
|
|
if (!tmp) {
|
|
const obj4 = { classificationTypeText, policyExplainerLink };
|
|
tmp4Result = map1(ClassificationPolicyCard, obj4);
|
|
}
|
|
items[2] = tmp4Result;
|
|
items[3] = appealComponent;
|
|
obj.children = items;
|
|
return closure_1_14(React4, obj);
|
|
}
|
|
function ClassificationPolicyCard(classificationDescription) {
|
|
const policyExplainerLink = classificationDescription.policyExplainerLink;
|
|
const tmp = closure_16();
|
|
const obj = { children: null };
|
|
const obj2 = {
|
|
onPress() {
|
|
LinkingDefault.openURL(policyExplainerLink);
|
|
},
|
|
style: null,
|
|
children: null
|
|
};
|
|
const items = [tmp.classificationPolicyCard];
|
|
obj2.style = items;
|
|
const obj3 = { style: tmp.classificationPolicyCardIcon, children: null };
|
|
const tmp2 = TouchableHitBoxDefault;
|
|
obj3.children = closure_13(policyExplainerLink(9472).ShieldIcon, { size: "sm", color: nativeDefault.colors.TEXT_LINK });
|
|
const items1 = [closure_13(closure_4, obj3), ];
|
|
const obj5 = { style: tmp.classificationPolicyCardContent, children: null };
|
|
const obj6 = { variant: "heading-md/semibold", color: "mobile-text-heading-primary", children: null };
|
|
const intl = policyExplainerLink(1114).intl;
|
|
obj6.children = intl.format(policyExplainerLink(1114).t.zxUdpj, { classificationDescription: classificationDescription.classificationTypeText });
|
|
obj5.children = closure_13(policyExplainerLink(4601).Text, obj6);
|
|
items1[1] = closure_13(closure_4, obj5);
|
|
obj2.children = items1;
|
|
obj.children = closure_14(tmp2, obj2);
|
|
return closure_13(closure_4, obj);
|
|
}
|
|
function AppealStatus() {
|
|
const obj = { variant: "text-md/normal", color: "text-muted", children: null };
|
|
const intl = util.intl;
|
|
obj.children = intl.string(util.t["I2H0/E"]);
|
|
return map1(Text_Text.Text, obj);
|
|
}
|
|
function LetUsKnow(arg0) {
|
|
_require = arg0;
|
|
const obj = { variant: "text-sm/normal", color: "text-muted", children: null };
|
|
const intl = require("util").intl;
|
|
obj.children = intl.format(require("util").t.IFxUaT, {
|
|
letUsKnowHook(children, arg1) {
|
|
return map1(Text_Text.Text, { onPress: onPressLetUsKnow.onPressLetUsKnow, variant: "text-sm/normal", color: "text-link", children }, arg1);
|
|
}
|
|
});
|
|
return closure_13(require("Text/Text").Text, obj);
|
|
}
|
|
function AppealFooter(hasBeenAppealed) {
|
|
const obj = { style: closure_16().letUsKnowContainer, children: null };
|
|
if (hasBeenAppealed.hasBeenAppealed) {
|
|
let tmpResult = tmp(AppealStatus, {});
|
|
} else {
|
|
const obj2 = { onPressLetUsKnow: hasBeenAppealed.onPressLetUsKnow };
|
|
tmpResult = tmp(LetUsKnow, obj2);
|
|
}
|
|
obj.children = tmpResult;
|
|
return map1(React4, obj);
|
|
}
|
|
function ExpressiveModalV2AppealFooter(arg0) {
|
|
_require = arg0;
|
|
const tmp = closure_16();
|
|
const obj = { style: tmp.expressiveModalV2LetUsKnowContainer, children: null };
|
|
const obj2 = { variant: "text-sm/normal", color: "text-muted", style: tmp.expressiveModalV2LetUsKnowText, children: null };
|
|
const intl = require("util").intl;
|
|
obj2.children = intl.format(require("util").t.LeAhOQ, {
|
|
letUsKnowHook(children, arg1) {
|
|
return map1(Text_Text.Text, { onPress: onPressLetUsKnow.onPressLetUsKnow, variant: "text-sm/normal", color: "text-link", children }, arg1);
|
|
}
|
|
});
|
|
obj.children = closure_13(require("Text/Text").Text, obj2);
|
|
return closure_13(closure_4, obj);
|
|
}
|
|
function ClassificationDetailFooter(onClose) {
|
|
const obj = { style: closure_16().redirectButtonWrapper, children: null };
|
|
const obj2 = { size: "md", text: null, onPress: null, grow: true };
|
|
const intl = util.intl;
|
|
obj2.text = intl.string(util.t.elrEjL);
|
|
obj2.onPress = onClose.onClose;
|
|
obj.children = map1(components_Button_Button.Button, obj2);
|
|
return map1(React4, obj);
|
|
}
|
|
get_ActivityIndicator = fn(17);
|
|
({ View: closure_4, ActivityIndicator: hasOwnProperty, ScrollView: metroRequire } = get_ActivityIndicator);
|
|
const SafetyHubConstants = fn(8484);
|
|
({ SafetyHubAnalyticsActionSource: closure_9, SafetyHubAnalyticsActions: c10, SafetyHubLinks: closure_11 } = SafetyHubConstants);
|
|
const AnalyticEvents = fn(1074).AnalyticEvents;
|
|
const jsxProd = fn(21);
|
|
({ jsx: map1, jsxs: closure_14, Fragment: closure_15 } = jsxProd);
|
|
const createStyles = fn(4605);
|
|
let obj2 = { root: { backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOWER }, container: null, header: null, headerText: null, sectionContainer: null, actionsTaken: null, classificationDetailContainer: null, letUsKnowContainer: null, expressiveModalV2LetUsKnowContainer: null, expressiveModalV2LetUsKnowText: null, classificationPolicyCard: null, classificationPolicyCardIcon: null, classificationPolicyCardContent: null, classificationActionDescription: null, redirectButtonWrapper: null };
|
|
let obj3 = { backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOWER };
|
|
obj2.container = { display: "flex", flexDirection: "column", height: "100%", paddingTop: nativeDefault.space.PX_16, paddingHorizontal: nativeDefault.space.PX_16, gap: nativeDefault.space.PX_32 };
|
|
let obj4 = { display: "flex", flexDirection: "column", height: "100%", paddingTop: nativeDefault.space.PX_16, paddingHorizontal: nativeDefault.space.PX_16, gap: nativeDefault.space.PX_32 };
|
|
obj2.header = { display: "flex", textAlign: "center", alignItems: "center", flexDirection: "column", gap: nativeDefault.space.PX_8, marginBottom: nativeDefault.space.PX_8 };
|
|
obj2.headerText = { textAlign: "center", maxWidth: 260 };
|
|
let obj5 = { display: "flex", textAlign: "center", alignItems: "center", flexDirection: "column", gap: nativeDefault.space.PX_8, marginBottom: nativeDefault.space.PX_8 };
|
|
obj2.sectionContainer = { display: "flex", gap: nativeDefault.space.PX_8 };
|
|
let obj6 = { display: "flex", gap: nativeDefault.space.PX_8 };
|
|
obj2.actionsTaken = { display: "flex", paddingLeft: nativeDefault.space.PX_4, flexDirection: "column", gap: nativeDefault.space.PX_8 };
|
|
let obj7 = { display: "flex", paddingLeft: nativeDefault.space.PX_4, flexDirection: "column", gap: nativeDefault.space.PX_8 };
|
|
obj2.classificationDetailContainer = { display: "flex", flexDirection: "column", gap: nativeDefault.space.PX_32 };
|
|
obj2.letUsKnowContainer = { display: "flex", alignItems: "center" };
|
|
let obj8 = { display: "flex", flexDirection: "column", gap: nativeDefault.space.PX_32 };
|
|
obj2.expressiveModalV2LetUsKnowContainer = { display: "flex", alignItems: "center", marginTop: nativeDefault.space.PX_16 };
|
|
obj2.expressiveModalV2LetUsKnowText = { textAlign: "center" };
|
|
let obj9 = { display: "flex", alignItems: "center", marginTop: nativeDefault.space.PX_16 };
|
|
obj2.classificationPolicyCard = { display: "flex", flexDirection: "row", alignItems: "center", justifyContent: "space-between", gap: nativeDefault.space.PX_12, padding: nativeDefault.space.PX_12, marginTop: nativeDefault.space.PX_4, flexShrink: 1, backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOWEST };
|
|
let size = { display: "flex", alignItems: "center", justifyContent: "center", backgroundColor: nativeDefault.colors.BACKGROUND_MOD_STRONG, width: 32, height: 32, borderRadius: nativeDefault.radii.xxl };
|
|
obj2.classificationPolicyCardIcon = size;
|
|
obj2.classificationPolicyCardContent = { flex: 1 };
|
|
let obj10 = { display: "flex", flexDirection: "row", alignItems: "center", justifyContent: "space-between", gap: nativeDefault.space.PX_12, padding: nativeDefault.space.PX_12, marginTop: nativeDefault.space.PX_4, flexShrink: 1, backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOWEST };
|
|
obj2.classificationActionDescription = { display: "flex", flexDirection: "row", gap: nativeDefault.space.PX_8 };
|
|
let obj11 = { display: "flex", flexDirection: "row", gap: nativeDefault.space.PX_8 };
|
|
obj2.redirectButtonWrapper = { width: 300, alignSelf: "center", marginTop: nativeDefault.space.PX_32 };
|
|
let closure_16 = createStyles.createStyles(obj2);
|
|
size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/safety_hub/native/ClassificationDetail.tsx");
|
|
|
|
export default function ConnectedClassificationDetail(classificationId) {
|
|
classificationId = classificationId.classificationId;
|
|
const source = classificationId.source;
|
|
const onClose = classificationId.onClose;
|
|
const safetyHubClassification = classificationId(onClose[17]).useSafetyHubClassification(classificationId);
|
|
const classification = safetyHubClassification.classification;
|
|
const isAppealEligible = safetyHubClassification.isAppealEligible;
|
|
const tmp4 = closure_16();
|
|
let obj = classificationId(onClose[17]);
|
|
let items = [hasItem];
|
|
const stateFromStores = classificationId(onClose[12]).useStateFromStores(items, () => hasItem.getAppealEligibility());
|
|
let flagged_content;
|
|
if (classification != null) {
|
|
flagged_content = classification.flagged_content;
|
|
}
|
|
let tmp6 = null != flagged_content;
|
|
if (tmp6) {
|
|
let length;
|
|
if (classification != null) {
|
|
length = classification.flagged_content.length;
|
|
}
|
|
tmp6 = length > 0;
|
|
}
|
|
const is_violative_content_shown = tmp6;
|
|
const obj2 = classificationId(onClose[12]);
|
|
const safetyHubAccountStanding = classificationId(onClose[18]).useSafetyHubAccountStanding();
|
|
let is_coppa;
|
|
if (classification != null) {
|
|
is_coppa = classification.is_coppa;
|
|
}
|
|
hasItem = is_coppa;
|
|
if (hasItem) {
|
|
hasItem = stateFromStores.includes(tmp(tmp2[10]).AppealEligibility.AGE_VERIFY_ELIGIBLE);
|
|
}
|
|
let is_coppa1;
|
|
if (classification != null) {
|
|
is_coppa1 = classification.is_coppa;
|
|
}
|
|
let hasItem1 = is_coppa1;
|
|
if (hasItem1) {
|
|
hasItem1 = stateFromStores.includes(tmp(tmp2[10]).AppealEligibility.AGE_VERIFY_GLOBAL_ELIGIBLE);
|
|
}
|
|
let tmpResult = classificationId(onClose[18]);
|
|
if (hasItem1) {
|
|
hasItem1 = tmpResult3.useIsExpressiveModalV2Enabled(tmp(tmp2[20]).AgeVerificationModalEntryPoint.AUTOMATED_UNDERAGE_APPEALS);
|
|
}
|
|
let obj3 = { accountStanding: safetyHubAccountStanding, classificationId, classificationState: safetyHubClassification, hasFlaggedContent: tmp6, source };
|
|
const ref = safetyHubClassification.useRef(obj3);
|
|
const effect = safetyHubClassification.useEffect(() => {
|
|
closure_11.current = obj3;
|
|
});
|
|
const items1 = [classification];
|
|
const effect1 = safetyHubClassification.useEffect(() => {
|
|
if (null != classification) {
|
|
const current = ref.current;
|
|
({ classificationState, source } = current);
|
|
({ accountStanding, classificationId, hasFlaggedContent } = current);
|
|
obj3 = { action: closure_2_10.ViewViolationDetail, account_standing: accountStanding.state, classification_ids: null, source: null, is_violative_content_shown: null, is_dsa_eligible: null, violation_type: null };
|
|
const _Number = Number;
|
|
const items = [Number(classificationId)];
|
|
obj3.classification_ids = items;
|
|
if (source == null) {
|
|
source = React7.SystemDM;
|
|
}
|
|
obj3.source = source;
|
|
obj3.is_violative_content_shown = hasFlaggedContent;
|
|
({ isDsaEligible: obj2.is_dsa_eligible, violationType: obj2.violation_type } = classificationState);
|
|
AnalyticsUtilsDefault.track(AnalyticEvents.SAFETY_HUB_ACTION, obj3);
|
|
}
|
|
}, items1);
|
|
if (null == classification) {
|
|
if (safetyHubClassification.classificationRequestState === tmp(tmp2[10]).ClassificationRequestState.FAILED) {
|
|
classificationId.onError();
|
|
let tmp15Result6 = null;
|
|
}
|
|
return tmp15Result6;
|
|
}
|
|
let obj4 = { style: tmp4.root, children: null };
|
|
let obj5 = { style: tmp4.container, bottom: true, children: null };
|
|
if (null == classification) {
|
|
let tmp29Result = tmp15(isAppealEligible, { size: "large" });
|
|
} else {
|
|
const obj6 = { style: null, children: null };
|
|
const items2 = [tmp4.classificationDetailContainer];
|
|
obj6.style = items2;
|
|
({ description: obj17.classificationTypeText, guild_metadata: obj17.guildMetadata } = classification);
|
|
const items3 = [tmp15(ClassificationHeader, { classificationTypeText: null, guildMetadata: null }), , , , ];
|
|
let flagged_content1 = classification.flagged_content;
|
|
if (flagged_content1 == null) {
|
|
flagged_content1 = [];
|
|
}
|
|
function onPressLetUsKnow() {
|
|
obj3 = { action: closure_2_10.ClickLetUsKnow, account_standing: safetyHubAccountStanding.state, classification_ids: null, source: null, is_violative_content_shown: null, is_dsa_eligible: null, violation_type: null };
|
|
const items = [Number(classificationId)];
|
|
obj3.classification_ids = items;
|
|
let SystemDM = source;
|
|
if (source == null) {
|
|
SystemDM = React7.SystemDM;
|
|
}
|
|
obj3.source = SystemDM;
|
|
obj3.is_violative_content_shown = is_violative_content_shown;
|
|
({ isDsaEligible: obj2.is_dsa_eligible, violationType: obj2.violation_type } = safetyHubClassification);
|
|
AnalyticsUtilsDefault.track(AnalyticEvents.SAFETY_HUB_ACTION, obj3);
|
|
if (hasItem1) {
|
|
tmp(11954).openV2(tmp3, onClose);
|
|
const tmpResult = tmp(11954);
|
|
} else if (hasItem) {
|
|
tmp(11954).open(tmp3, onClose);
|
|
const tmpResult5 = tmp(11954);
|
|
} else if (isAppealEligible) {
|
|
const obj4 = { name: MetricEvents.MetricEvents.APPEAL_INGESTION_VIEW };
|
|
tmp(7653).increment(obj4);
|
|
const tmpResult6 = tmp(7653);
|
|
const obj5 = { classificationId: tmp3 };
|
|
tmp(11956).open(obj5);
|
|
const tmpResult7 = tmp(11956);
|
|
} else {
|
|
tmp(4299).openURL(constants.APPEALS_LINK);
|
|
const tmpResult8 = tmp(4299);
|
|
}
|
|
}
|
|
const obj8 = { flaggedContent: flagged_content1 };
|
|
items3[1] = tmp15(source(tmp2[27]), obj8);
|
|
const obj9 = { actions: classification.actions, classificationExpiration: null };
|
|
const obj7 = { classificationTypeText: null, guildMetadata: null };
|
|
const tmp29 = closure_14;
|
|
const tmp30 = classification;
|
|
const tmp33 = source(tmp2[27]);
|
|
obj9.classificationExpiration = tmp(tmp2[28]).getClassificationExpiration(classification);
|
|
items3[2] = tmp15(ClassificationActionsTaken, obj9);
|
|
const obj10 = { appealLink: null, communityGuidelinesLink: null, tosLink: null, classificationTypeText: null, policyExplainerLink: null, hidePolicyCard: null, appealComponent: null };
|
|
({ APPEALS_LINK: obj12.appealLink, COMMUNITY_GUIDELINES: obj12.communityGuidelinesLink, TOS_LINK: obj12.tosLink } = ref);
|
|
({ description: obj12.classificationTypeText, explainer_link: obj12.policyExplainerLink } = classification);
|
|
obj10.hidePolicyCard = hasItem1;
|
|
if (hasItem1) {
|
|
const obj11 = { onPressLetUsKnow };
|
|
let tmp15Result4 = tmp15(ExpressiveModalV2AppealFooter, obj11);
|
|
} else {
|
|
const obj13 = { hasBeenAppealed: null != classification.appeal_status, onPressLetUsKnow };
|
|
tmp15Result4 = tmp15(AppealFooter, obj13);
|
|
}
|
|
obj10.appealComponent = tmp15Result4;
|
|
items3[3] = tmp15(ClassificationGuidance, obj10);
|
|
let tmp15Result5 = !hasItem1;
|
|
if (!hasItem1) {
|
|
const obj14 = { onClose };
|
|
tmp15Result5 = tmp15(ClassificationDetailFooter, obj14);
|
|
}
|
|
items3[4] = tmp15Result5;
|
|
obj6.children = items3;
|
|
tmp29Result = tmp29(tmp30, obj6);
|
|
const tmpResult4 = tmp(tmp2[28]);
|
|
}
|
|
obj5.children = tmp29Result;
|
|
obj4.children = closure_13(classificationId(onClose[26]).SafeAreaPaddingView, obj5);
|
|
tmp15Result6 = tmp15(is_violative_content_shown, obj4);
|
|
};
|