decord/source/5274__isNativeReflectConstruct.js

72 lines
2.1 KiB
JavaScript
Raw Normal View History

2026-07-22 07:54:56 +00:00
// Module ID: 5274
2026-07-27 11:26:19 +00:00
// Function ID: 45511
2026-07-21 06:55:02 +00:00
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 15, 17, 18, 5256]
2026-07-21 06:55:02 +00:00
2026-07-22 07:54:56 +00:00
// Module 5274 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import _classCallCheck from "_classCallCheck";
import _defineProperties from "_defineProperties";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
2026-07-21 06:55:02 +00:00
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
let _classCallCheck = !valueOf.call(Reflect.construct(Boolean, [], () => {
2026-07-21 06:55:02 +00:00
}));
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
return _classCallCheck;
2026-07-21 06:55:02 +00:00
}
const result = _isNativeReflectConstruct();
}
2026-07-23 10:11:24 +00:00
export const LongPressGesture = ((BaseGesture) => {
class LongPressGesture {
2026-07-21 06:55:02 +00:00
constructor() {
self = this;
2026-07-23 10:11:24 +00:00
tmp = LongPressGesture(this, LongPressGesture);
obj = outer1_3(LongPressGesture);
tmp2 = outer1_2;
if (outer1_5()) {
2026-07-21 06:55:02 +00:00
tmp4 = globalThis;
_Reflect = Reflect;
2026-07-23 10:11:24 +00:00
tmp5 = outer1_3;
constructResult = Reflect.construct(obj, [], outer1_3(self).constructor);
2026-07-21 06:55:02 +00:00
} else {
constructResult = obj.apply(self, undefined);
}
tmp2Result = tmp2(self, constructResult);
2026-07-23 10:11:24 +00:00
tmp2Result.config = {};
tmp2Result.handlerName = "LongPressGestureHandler";
result = tmp2Result.shouldCancelWhenOutside(true);
2026-07-21 06:55:02 +00:00
return tmp2Result;
}
}
2026-07-23 10:11:24 +00:00
callback2(LongPressGesture, BaseGesture);
let obj = {
key: "minDuration",
value: function minDuration(CONTEXT_MENU_LONG_PRESS_DURATION_MS) {
this.config.minDurationMs = CONTEXT_MENU_LONG_PRESS_DURATION_MS;
return this;
}
};
const items = [obj, , ];
obj = {
key: "maxDistance",
value: function maxDistance(maxDist) {
this.config.maxDist = maxDist;
return this;
}
};
items[1] = obj;
obj = {
key: "numberOfPointers",
value: function numberOfPointers(numberOfPointers) {
this.config.numberOfPointers = numberOfPointers;
return this;
2026-07-21 06:55:02 +00:00
}
2026-07-23 10:11:24 +00:00
};
items[2] = obj;
return callback(LongPressGesture, items);
})(require("_callSuper").BaseGesture);