decord/source/6538_LegacyText.js
2026-08-24 06:08:38 +00:00

62 lines
1.7 KiB
JavaScript

// Module ID: 6538
// Function ID: 6539
// Name: LegacyText
// Dependencies: [109, 19, 17, 21, 6528, 6431]
// Exports: LegacyText
// Module 6538 (LegacyText)
import noopDefault from "noop" /* 19 */;
import closure_3 from "_objectWithoutProperties" /* 109 */;
import noop from "noop" /* 19 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import { jsx } from "jsxProd" /* 21 */;
const require = arg1;
let closure_2 = ["onPress", "onLongPress", "ref"];
({ useEffect: c4, useMemo: c5, useRef: closure_6 } = noop);
noopDefault;
({ Platform, Text: error } = get_ActivityIndicator);
export const LegacyText = (arg0) => {
({ onPress, onLongPress, ref } = arg0);
const tmp = callback(arg0, closure_2);
dependencyMap = callback4(null);
const items = [ref];
const tmp3 = callback3(() => {
function handler(current) {
closure_1.current = current;
if (closure_0) {
if (typeof tmp === "function") {
tmp(current);
} else {
tmp.current = current;
}
}
}
handler.rngh = true;
return handler;
}, items);
callback2(() => {
}, []);
if (!onPress) {
if (!onLongPress) {
let obj = { ref: null };
obj[0] = tmp3;
const merged = Object.assign(tmp);
let tmp10 = <closure_7 ref={null} />;
}
return tmp10;
}
obj = {
gesture: callback3(() => {
const GestureObjects = ref(table[4]).GestureObjects;
return GestureObjects.Native().runOnJS(true);
}, []),
children: null
};
obj = { onPress, onLongPress, ref: tmp3 };
const merged1 = Object.assign(tmp);
obj[1] = <closure_7 onPress={onPress} onLongPress={onLongPress} ref={tmp3} />;
tmp10 = jsx(ref(6431).GestureDetector, { onPress, onLongPress, ref: tmp3 });
};