decord/source/1165__isNativeReflectConstruct.js

90 lines
2.8 KiB
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 1165
2026-07-24 07:16:23 +00:00
// Function ID: 13259
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 15, 17, 18, 31, 27, 978, 973]
2026-07-20 16:05:17 +00:00
// Exports: getRNSentryOnDrawReporter
// Module 1165 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import getActivityIndicator from "get ActivityIndicator";
import isHermesEnabled from "isHermesEnabled";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
import importAllResult from "result";
import get_ActivityIndicator from "get ActivityIndicator";
2026-07-20 16:05:17 +00:00
let UIManager;
2026-07-23 10:11:24 +00:00
let closure_8;
const require = arg1;
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
}));
function _isNativeReflectConstruct() {
return closure_0;
}
const result = _isNativeReflectConstruct();
}
2026-07-23 10:11:24 +00:00
({ UIManager, View: closure_8 } = get_ActivityIndicator);
2026-07-20 16:05:17 +00:00
let hasViewManagerConfigResult = !tmp4;
if (!!UIManager.hasViewManagerConfig) {
hasViewManagerConfigResult = UIManager.hasViewManagerConfig("RNSentryOnDrawReporter");
}
2026-07-23 10:11:24 +00:00
let closure_11 = ((Component) => {
2026-07-20 16:05:17 +00:00
class RNSentryOnDrawReporterNoop {
constructor() {
self = this;
2026-07-23 10:11:24 +00:00
tmp = outer1_2(this, RNSentryOnDrawReporterNoop);
obj = outer1_5(RNSentryOnDrawReporterNoop);
tmp2 = outer1_4;
if (outer1_12()) {
2026-07-20 16:05:17 +00:00
tmp6 = globalThis;
_Reflect = Reflect;
2026-07-23 10:11:24 +00:00
tmp7 = outer1_5;
2026-07-20 16:05:17 +00:00
tmp8 = arguments;
2026-07-23 10:11:24 +00:00
constructResult = Reflect.construct(obj, arguments, outer1_5(self).constructor);
2026-07-20 16:05:17 +00:00
} else {
tmp3 = arguments;
tmp4 = arguments;
constructResult = obj(...arguments);
}
return tmp2(self, constructResult);
}
}
callback2(RNSentryOnDrawReporterNoop, Component);
const items = [
{
key: "render",
value: function render() {
2026-07-23 10:11:24 +00:00
return <outer1_8 {......Object.assign({}, this.props)} />;
2026-07-20 16:05:17 +00:00
}
}
];
return callback(RNSentryOnDrawReporterNoop, items);
2026-07-23 10:11:24 +00:00
})(importAllResult.Component);
2026-07-20 16:05:17 +00:00
export const nativeComponentExists = hasViewManagerConfigResult;
export const getRNSentryOnDrawReporter = function getRNSentryOnDrawReporter() {
if (result) {
return result;
} else {
if (!obj.isExpoGo()) {
2026-07-23 10:11:24 +00:00
if (closure_10) {
const ReactNative = require(973) /* reactNativeVersion */.ReactNativeLibraries.ReactNative;
2026-07-20 16:05:17 +00:00
let prop;
if (null !== ReactNative) {
if (undefined !== ReactNative) {
prop = ReactNative.requireNativeComponent;
}
}
if (prop) {
2026-07-23 10:11:24 +00:00
const ReactNative2 = require(973) /* reactNativeVersion */.ReactNativeLibraries.ReactNative;
result = ReactNative2.requireNativeComponent("RNSentryOnDrawReporter");
2026-07-20 16:05:17 +00:00
}
}
}
result = closure_11;
2026-07-23 10:11:24 +00:00
obj = require(978) /* isHermesEnabled */;
2026-07-20 16:05:17 +00:00
}
};