Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
58 lines
2.9 KiB
TypeScript
58 lines
2.9 KiB
TypeScript
// Module ID: 13454
|
|
// Function ID: 13455
|
|
// Name: VibegrationsCustomWidgetAddOption
|
|
// Dependencies: [19, 17, 21, 4829, 576, 8589, 13455, 4796, 13456, 5427, 1115, 3714, 10498, 4825, 7542, 2]
|
|
// Exports: default
|
|
|
|
// Module 13454 (VibegrationsCustomWidgetAddOption)
|
|
import nativeDefault from "native" /* 576 */;
|
|
import ActionSheetActionCreators from "ActionSheetActionCreators" /* 4796 */;
|
|
import UserProfileSharedStylesDefault from "UserProfileSharedStyles" /* 8589 */;
|
|
import VibegrationsCustomWidget from "VibegrationsCustomWidget" /* 13455 */;
|
|
import VibegrationsCustomWidgetSheet from "VibegrationsCustomWidgetSheet" /* 13456 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
require = fn;
|
|
const View = fn(17).View;
|
|
const jsxProd = fn(21);
|
|
({ jsx: hasOwnProperty, jsxs: metroRequire } = jsxProd);
|
|
const createStyles = fn(4829);
|
|
let obj2 = { row: { flexDirection: "row", alignItems: "center", gap: nativeDefault.space.PX_12, marginBottom: nativeDefault.space.PX_16 }, copy: null };
|
|
let obj3 = { flexDirection: "row", alignItems: "center", gap: nativeDefault.space.PX_12, marginBottom: nativeDefault.space.PX_16 };
|
|
obj2.copy = { flex: 1, gap: nativeDefault.space.PX_4 };
|
|
let closure_7 = createStyles.createStyles(obj2);
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/vibegrations/native/VibegrationsCustomWidgetAddOption.tsx");
|
|
|
|
export default function VibegrationsCustomWidgetAddOption() {
|
|
const tmp = closure_7();
|
|
const tmp4 = UserProfileSharedStylesDefault();
|
|
const canConjureVibegrationsCustomWidget = VibegrationsCustomWidget.useCanConjureVibegrationsCustomWidget("VibegrationsCustomWidgetAddOption");
|
|
let tmp8 = null;
|
|
if (canConjureVibegrationsCustomWidget) {
|
|
const obj2 = { accessibilityRole: "button", accessibilityLabel: null, style: null, onPress: null, children: null };
|
|
const intl = tmp5(1115).intl;
|
|
obj2.accessibilityLabel = intl.string(tmp2(3714)["27bu14"]);
|
|
const items = [tmp4.card, tmp.row];
|
|
obj2.style = items;
|
|
obj2.onPress = tmp7;
|
|
const obj3 = { size: "sm", color: tmp2(576).colors.ICON_MUTED };
|
|
const items1 = [hasOwnProperty(tmp5(10498).MagicWandIcon, obj3), , ];
|
|
const obj4 = { style: tmp.copy, children: null };
|
|
const obj5 = { variant: "text-sm/semibold", color: "text-strong", children: null };
|
|
const intl2 = tmp5(1115).intl;
|
|
obj5.children = intl2.string(tmp2(3714)["4OR+L+"]);
|
|
const items2 = [hasOwnProperty(tmp5(4825).Text, obj5), ];
|
|
const obj6 = { variant: "text-xs/normal", color: "text-muted", children: null };
|
|
const intl3 = tmp5(1115).intl;
|
|
obj6.children = intl3.string(tmp2(3714)["27bu14"]);
|
|
items2[1] = hasOwnProperty(tmp5(4825).Text, obj6);
|
|
obj4.children = items2;
|
|
items1[1] = timestampProducer(View, obj4);
|
|
const obj7 = { size: "xs", color: tmp2(576).colors.ICON_MUTED };
|
|
items1[2] = hasOwnProperty(tmp5(7542).ChevronSmallRightIcon, obj7);
|
|
obj2.children = items1;
|
|
tmp8 = timestampProducer(tmp5(5427).PressableOpacity, obj2);
|
|
}
|
|
return tmp8;
|
|
};
|