2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 11114
|
|
|
|
|
// Function ID: 11115
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: TTIFirstContentfulPaint
|
2026-08-24 06:08:38 +00:00
|
|
|
// Dependencies: [19, 21, 4234, 9, 5420, 11115, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: TTIFirstContentfulPaint
|
|
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 11114 (TTIFirstContentfulPaint)
|
|
|
|
|
import closure_3 from "noop" /* 19 */;
|
|
|
|
|
import { jsx } from "jsxProd" /* 21 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
const require = arg1;
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/tti_analytics/native/TTIFirstContentfulPaint.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const TTIFirstContentfulPaint = function TTIFirstContentfulPaint(checkFocusedScreen) {
|
|
|
|
|
checkFocusedScreen = checkFocusedScreen.checkFocusedScreen;
|
|
|
|
|
const items = [checkFocusedScreen];
|
|
|
|
|
const onMeasurement = React.useCallback((nativeEvent) => {
|
|
|
|
|
if (null != checkFocusedScreen) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const rootNavigationRef = checkFocusedScreen(closure_1_2[2]).getRootNavigationRef();
|
2026-07-20 16:05:17 +00:00
|
|
|
let currentRoute;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (rootNavigationRef != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
currentRoute = rootNavigationRef.getCurrentRoute();
|
|
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
const obj = checkFocusedScreen(closure_1_2[2]);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
const firstContentfulPaint = closure_1_1(closure_1_2[3]).firstContentfulPaint;
|
2026-07-20 16:05:17 +00:00
|
|
|
firstContentfulPaint.record(nativeEvent.nativeEvent.timestamp);
|
2026-08-24 06:08:38 +00:00
|
|
|
checkFocusedScreen(closure_1_2[4]).notifyAboutTTI();
|
2026-07-20 16:05:17 +00:00
|
|
|
}, items);
|
2026-08-24 06:08:38 +00:00
|
|
|
return jsx(checkFocusedScreen(11115).TTIMeasurementView, { onMeasurement });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|