decord/source/modules/chat/native/Chat.android.tsx

47 lines
2 KiB
TypeScript
Raw Normal View History

2026-08-13 07:00:46 +00:00
// Module ID: 11343
// Function ID: 11344
2026-07-20 16:05:17 +00:00
// Name: DCDChatList
2026-08-13 07:00:46 +00:00
// Dependencies: [19, 4334, 21, 4342, 1367, 5467, 11344, 11345, 589, 10982, 2]
2026-07-20 16:05:17 +00:00
2026-08-13 07:00:46 +00:00
// Module 11343 (DCDChatList)
2026-07-29 08:29:29 +00:00
import importAllResult from "noop";
import maybeApplyNoTextColorForLightCustomTheme from "maybeApplyNoTextColorForLightCustomTheme";
2026-07-23 10:11:24 +00:00
import jsxProd from "jsxProd";
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey";
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
let c5;
2026-07-23 10:11:24 +00:00
let closure_6;
const require = arg1;
2026-07-20 16:05:17 +00:00
function DCDChatList() {
2026-08-11 06:20:06 +00:00
let obj = require(1367) /* useIsMobileVisualRefreshExperimentEnabled */;
2026-07-20 16:05:17 +00:00
const memo = importAllResult.useMemo(() => {
2026-07-29 08:29:29 +00:00
const Gesture = callback(table[5]).Gesture;
2026-07-20 16:05:17 +00:00
const NativeResult = Gesture.Native();
return Gesture.Native().disallowInterruption(true).shouldCancelWhenOutside(false);
}, []);
2026-07-29 08:29:29 +00:00
obj = { gesture: memo, children: null };
obj = { style: callback3().chatList, floatingChatInputEnabled: obj.useMobileVisualRefreshConfig({ location: "DCDChatList" }).chatInputFloating, children: null };
2026-07-20 16:05:17 +00:00
const tmp = callback3();
2026-08-13 07:00:46 +00:00
obj[2] = callback(require(11345) /* TTIFirstContentfulPaint */.TTIFirstContentfulPaint, { label: "chat_list_android" });
obj[1] = callback(importDefault(11344), obj);
return callback(require(5467) /* LegacyBaseButton */.GestureDetector, obj);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
let c3 = importAllResult;
({ jsx: c5, jsxs: closure_6 } = jsxProd);
let closure_7 = createCacheKey.createStyles({ chatList: { flex: 1 } });
const forwardRefResult = importAllResult.forwardRef((children, ref) => {
let obj = require(589) /* initialize */;
const items = [maybeApplyNoTextColorForLightCustomTheme];
const stateFromStores = obj.useStateFromStores(items, () => roleStyle.roleStyle);
2026-07-20 16:05:17 +00:00
obj = {};
const merged = Object.assign(children);
2026-07-29 08:29:29 +00:00
obj.roleStyle = stateFromStores;
obj.ref = ref;
2026-07-20 16:05:17 +00:00
const items1 = [callback(DCDChatList, {}), children.children];
2026-07-29 08:29:29 +00:00
obj.children = items1;
2026-08-13 07:00:46 +00:00
return callback2(importDefault(10982), obj);
2026-07-20 16:05:17 +00:00
});
2026-07-23 10:11:24 +00:00
const result = require("jsxProd").fileFinishedImporting("modules/chat/native/Chat.android.tsx");
2026-07-20 16:05:17 +00:00
export default forwardRefResult;