decord/stable/source/modules/chat/native/Chat.android.tsx
github-actions 57c2214117 chore: update source for stable 347.12
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
2026-09-29 21:26:22 +00:00

46 lines
2 KiB
TypeScript

// Module ID: 12178
// Function ID: 12179
// Name: Chat
// Dependencies: [19, 4780, 21, 4788, 6929, 12179, 12180, 504, 11567, 2]
// Module 12178 (Chat)
import initialize from "initialize" /* 504 */;
import LegacyBaseButton from "LegacyBaseButton" /* 6929 */;
import ChatNativeComponentDefault from "ChatNativeComponent" /* 11567 */;
import ChatListNativeComponentDefault from "ChatListNativeComponent" /* 12179 */;
import TTIFirstContentfulPaint from "TTIFirstContentfulPaint" /* 12180 */;
import noop from "module_19" /* 19 */;
import AccessibilityStore from "AccessibilityStore" /* 4780 */;
require = fn;
function DCDChatList() {
const memo = noop.useMemo(() => {
const Gesture = LegacyBaseButton.Gesture;
const NativeResult = Gesture.Native();
return Gesture.Native().disallowInterruption(true).shouldCancelWhenOutside(false);
}, []);
const obj = { gesture: memo, children: null };
const obj2 = { style: closure_7().chatList, floatingChatInputEnabled: true, children: null };
const tmp = closure_7();
obj2.children = hasOwnProperty(TTIFirstContentfulPaint.TTIFirstContentfulPaint, { label: "chat_list_android" });
obj.children = hasOwnProperty(ChatListNativeComponentDefault, obj2);
return hasOwnProperty(LegacyBaseButton.GestureDetector, obj);
}
const jsxProd = fn(21);
({ jsx: hasOwnProperty, jsxs: metroRequire } = jsxProd);
const createStyles = fn(4788);
let closure_7 = createStyles.createStyles({ chatList: { flex: 1 } });
const size = fn(2);
const result = size.fileFinishedImporting("modules/chat/native/Chat.android.tsx");
export default noop.forwardRef((children, ref) => {
const items = [AccessibilityStore];
const stateFromStores = initialize.useStateFromStores(items, () => roleStyle.roleStyle);
const obj2 = {};
const merged = Object.assign(children);
obj2.roleStyle = stateFromStores;
obj2.ref = ref;
const items1 = [hasOwnProperty(DCDChatList, {}), children.children];
obj2.children = items1;
return timestampProducer(ChatNativeComponentDefault, obj2);
});