decord/source/modules/emojis/native/Emoji.tsx

60 lines
1.7 KiB
TypeScript
Raw Normal View History

2026-08-12 06:57:52 +00:00
// Module ID: 5399
// Function ID: 5400
2026-07-20 16:05:17 +00:00
// Name: Emoji
2026-08-12 06:57:52 +00:00
// Dependencies: [19, 17, 1302, 21, 500, 4006, 1297, 5307, 1363, 5400, 5401, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-12 06:57:52 +00:00
// Module 5399 (Emoji)
2026-07-29 08:29:29 +00:00
import "noop";
2026-07-23 10:11:24 +00:00
import { View } from "get ActivityIndicator";
2026-07-29 08:29:29 +00:00
import handleThemeChange from "handleThemeChange";
2026-07-23 10:11:24 +00:00
import { jsx } from "jsxProd";
const require = arg1;
2026-07-29 08:29:29 +00:00
const result = require("handleThemeChange").fileFinishedImporting("modules/emojis/native/Emoji.tsx");
2026-07-20 16:05:17 +00:00
export default function Emoji(arg0) {
let adjustsFontSizeToFit;
let fastImageStyle;
let forceTextEmoji;
let name;
let src;
let style;
let textEmojiStyle;
({ src, name } = arg0);
({ style, textEmojiStyle, fastImageStyle, forceTextEmoji, adjustsFontSizeToFit } = arg0);
2026-07-29 08:29:29 +00:00
let obj = require(500) /* set */;
2026-07-20 16:05:17 +00:00
let uRL = src;
if (obj.isAndroid()) {
uRL = src;
if (null == src) {
2026-08-12 06:57:52 +00:00
let obj1 = importDefault(4006);
2026-07-20 16:05:17 +00:00
uRL = obj1.getURL(name);
}
}
2026-07-29 08:29:29 +00:00
obj = { style, children: null };
2026-07-20 16:05:17 +00:00
if (!forceTextEmoji) {
if (null != uRL) {
if ("" !== uRL) {
2026-07-29 08:29:29 +00:00
obj = { resizeMode: "contain", style: null, placeholder: null, source: null };
obj[1] = fastImageStyle;
2026-08-12 06:57:52 +00:00
const tmp10 = importDefault(5307);
2026-07-29 08:29:29 +00:00
if (tmpResult.isThemeDark(theme.theme)) {
2026-08-12 06:57:52 +00:00
let tmp9Result = tmp9(5400);
2026-07-20 16:05:17 +00:00
} else {
2026-08-12 06:57:52 +00:00
tmp9Result = tmp9(5401);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj[2] = tmp9Result;
obj1 = { uri: null };
obj1[0] = uRL;
obj[3] = obj1;
let tmp6Result = tmp6(tmp10, obj);
2026-08-11 06:20:06 +00:00
tmpResult = tmp(1363);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj[1] = tmp6Result;
return tmp6(tmp7, obj);
2026-07-20 16:05:17 +00:00
}
}
2026-07-29 08:29:29 +00:00
tmp6Result = tmp6(tmp(1297).LegacyText, { style: textEmojiStyle, allowFontScaling: false, adjustsFontSizeToFit, children: name });
2026-07-20 16:05:17 +00:00
};