decord/source/5052__isNativeReflectConstruct.js

63 lines
1.8 KiB
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 5052
2026-07-21 22:01:30 +00:00
// Function ID: 43134
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-21 06:55:02 +00:00
// Dependencies: []
2026-07-20 16:05:17 +00:00
// Module 5052 (_isNativeReflectConstruct)
function _isNativeReflectConstruct() {
2026-07-21 06:55:02 +00:00
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
2026-07-20 16:05:17 +00:00
}));
function _isNativeReflectConstruct() {
2026-07-21 06:55:02 +00:00
return closure_0;
2026-07-20 16:05:17 +00:00
}
const result = _isNativeReflectConstruct();
}
2026-07-21 06:55:02 +00:00
let closure_0 = importDefault(dependencyMap[0]);
let closure_1 = importDefault(dependencyMap[1]);
let closure_2 = importDefault(dependencyMap[2]);
let closure_3 = importDefault(dependencyMap[3]);
let closure_4 = importDefault(dependencyMap[4]);
2026-07-20 16:05:17 +00:00
2026-07-21 22:01:30 +00:00
export const NativeGesture = (BaseGesture) => {
class NativeGesture {
2026-07-20 16:05:17 +00:00
constructor() {
self = this;
2026-07-21 22:01:30 +00:00
tmp = NativeGesture(this, NativeGesture);
obj = closure_3(NativeGesture);
2026-07-20 16:05:17 +00:00
tmp2 = closure_2;
2026-07-21 22:01:30 +00:00
if (closure_5()) {
2026-07-20 16:05:17 +00:00
tmp4 = globalThis;
_Reflect = Reflect;
tmp5 = closure_3;
constructResult = Reflect.construct(obj, [], closure_3(self).constructor);
} else {
constructResult = obj.apply(self, undefined);
}
tmp2Result = tmp2(self, constructResult);
2026-07-21 06:55:02 +00:00
tmp2Result.config = {};
2026-07-21 22:01:30 +00:00
tmp2Result.handlerName = "NativeViewGestureHandler";
2026-07-20 16:05:17 +00:00
return tmp2Result;
}
}
2026-07-21 22:01:30 +00:00
let closure_0 = NativeGesture;
callback2(NativeGesture, BaseGesture);
2026-07-21 06:55:02 +00:00
let obj = {
2026-07-21 22:01:30 +00:00
key: "shouldActivateOnStart",
value: function shouldActivateOnStart(shouldActivateOnStart) {
this.config.shouldActivateOnStart = shouldActivateOnStart;
2026-07-21 06:55:02 +00:00
return this;
}
};
2026-07-21 22:01:30 +00:00
const items = [obj, ];
2026-07-21 06:55:02 +00:00
obj = {
2026-07-21 22:01:30 +00:00
key: "disallowInterruption",
value: function disallowInterruption(disallowInterruption) {
this.config.disallowInterruption = disallowInterruption;
2026-07-21 06:55:02 +00:00
return this;
}
};
items[1] = obj;
2026-07-21 22:01:30 +00:00
return callback(NativeGesture, items);
}(arg1(dependencyMap[5]).BaseGesture);