decord/beta/source/modules/debug/native/ShareLogsButton.tsx
github-actions 30c0bb2ec3 chore: update source for beta 347.10
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4975.js (118.4 MB)
2026-09-24 16:03:38 +00:00

53 lines
2 KiB
TypeScript

// Module ID: 15842
// Function ID: 15843
// Name: ShareLogsButton
// Dependencies: [19, 21, 558, 568, 5373, 1119, 8669, 7, 13242, 2]
// Module 15842 (ShareLogsButton)
import LogAggregator from "LogAggregator" /* 7 */;
import c from "c" /* 568 */;
import util from "util" /* 1119 */;
import Pressables from "Pressables" /* 5373 */;
import showShareActionSheet from "showShareActionSheet" /* 8669 */;
import ShareIcon from "ShareIcon" /* 13242 */;
import noop from "module_19" /* 19 */;
require = fn;
const jsx = fn(21).jsx;
const ReactCompilerGating = fn(558);
const size = fn(2);
const result = size.fileFinishedImporting("modules/debug/native/ShareLogsButton.tsx");
export default noop.memo(ReactCompilerGating.isReactCompilerEnabled() ? (() => {
const cResult = c.c(1);
if (cResult[0] === Symbol.for("react.memo_cache_sentinel")) {
let obj2 = { accessibilityLabel: null, onPress: null, children: null };
const intl = tmp(1119).intl;
obj2.accessibilityLabel = intl.string(tmp(1119).t["Aw+09z"]);
obj2.onPress = function onPress() {
const obj2 = { message: null };
const obj = showShareActionSheet;
obj2.message = LogAggregator.stringify();
return obj.showShareActionSheet(obj2, "Debug Logs");
};
obj2.children = jsx(tmp(13242).ShareIcon, {});
const tmp6 = jsx(tmp(5373).PressableOpacity, { accessibilityLabel: null, onPress: null, children: null });
cResult[0] = tmp6;
let first = tmp6;
} else {
first = cResult[0];
}
return first;
}) : (() => {
let obj = { accessibilityLabel: null, onPress: null, children: null };
const intl = util.intl;
obj.accessibilityLabel = intl.string(util.t["Aw+09z"]);
obj.onPress = function onPress() {
const obj2 = { message: null };
const obj = showShareActionSheet;
obj2.message = LogAggregator.stringify();
return obj.showShareActionSheet(obj2, "Debug Logs");
};
obj.children = jsx(ShareIcon.ShareIcon, {});
return jsx(Pressables.PressableOpacity, { accessibilityLabel: null, onPress: null, children: null });
}));