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

46 lines
1.9 KiB
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 9984
2026-07-27 11:26:19 +00:00
// Function ID: 77272
2026-07-20 16:05:17 +00:00
// Name: DCDChatList
2026-07-25 08:10:48 +00:00
// Dependencies: [31, 4123, 33, 4131, 1324, 5217, 9985, 9986, 566, 9398, 2]
2026-07-20 16:05:17 +00:00
2026-07-25 08:10:48 +00:00
// Module 9984 (DCDChatList)
2026-07-23 10:11:24 +00:00
import importAllResult from "result";
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import jsxProd from "jsxProd";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
let closure_5;
let closure_6;
const require = arg1;
2026-07-20 16:05:17 +00:00
function DCDChatList() {
2026-07-23 10:11:24 +00:00
let obj = require(1324) /* useIsMobileVisualRefreshExperimentEnabled */;
2026-07-20 16:05:17 +00:00
const memo = importAllResult.useMemo(() => {
2026-07-23 10:11:24 +00:00
const Gesture = outer1_0(outer1_2[5]).Gesture;
2026-07-20 16:05:17 +00:00
const NativeResult = Gesture.Native();
return Gesture.Native().disallowInterruption(true).shouldCancelWhenOutside(false);
}, []);
obj = { gesture: memo };
obj = { style: callback3().chatList, floatingChatInputEnabled: obj.useMobileVisualRefreshConfig({ location: "DCDChatList" }).chatInputFloating };
const tmp = callback3();
2026-07-25 08:10:48 +00:00
obj.children = callback(require(9986) /* TTIFirstContentfulPaint */.TTIFirstContentfulPaint, { label: "chat_list_android" });
obj.children = callback(importDefault(9985), obj);
2026-07-23 10:11:24 +00:00
return callback(require(5217) /* Directions */.GestureDetector, obj);
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
({ jsx: closure_5, jsxs: closure_6 } = jsxProd);
let closure_7 = _createForOfIteratorHelperLoose.createStyles({ chatList: { flex: 1 } });
2026-07-20 16:05:17 +00:00
const forwardRefResult = importAllResult.forwardRef((children) => {
2026-07-23 10:11:24 +00:00
let obj = require(566) /* initialize */;
const items = [_isNativeReflectConstruct];
const stateFromStores = obj.useStateFromStores(items, () => outer1_4.roleStyle);
2026-07-20 16:05:17 +00:00
obj = {};
const merged = Object.assign(children);
obj["roleStyle"] = stateFromStores;
obj["ref"] = arg1;
const items1 = [callback(DCDChatList, {}), children.children];
obj["children"] = items1;
2026-07-25 08:10:48 +00:00
return callback2(importDefault(9398), 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;