2026-07-29 08:29:29 +00:00
|
|
|
// Module ID: 286
|
|
|
|
|
// Function ID: 287
|
|
|
|
|
// Name: _isNativeReflectConstruct
|
|
|
|
|
// Dependencies: [41, 42, 93, 95, 96, 98, 133]
|
|
|
|
|
|
|
|
|
|
// Module 286 (_isNativeReflectConstruct)
|
|
|
|
|
import LegacySyntheticEvent from "_classCallCheck";
|
|
|
|
|
import _possibleConstructorReturn from "_possibleConstructorReturn";
|
|
|
|
|
import _getPrototypeOf from "_getPrototypeOf";
|
|
|
|
|
import _get from "_get";
|
|
|
|
|
import importDefaultResult from "_createClass";
|
|
|
|
|
|
|
|
|
|
function _isNativeReflectConstruct() {
|
|
|
|
|
try {
|
|
|
|
|
const _Boolean = Boolean;
|
|
|
|
|
const call = valueOf.call;
|
|
|
|
|
const _Reflect = Reflect;
|
|
|
|
|
const _Boolean2 = Boolean;
|
|
|
|
|
if (typeof call === "unknown") {
|
|
|
|
|
let callResult = valueOf();
|
|
|
|
|
} else {
|
|
|
|
|
callResult = call(constructResult);
|
|
|
|
|
}
|
|
|
|
|
let closure_0 = !callResult;
|
|
|
|
|
function _isNativeReflectConstruct() {
|
|
|
|
|
return closure_0;
|
|
|
|
|
}
|
|
|
|
|
return _isNativeReflectConstruct();
|
|
|
|
|
} catch (err) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
class LegacySyntheticEvent {
|
|
|
|
|
constructor(arg0, arg1, arg2, arg3) {
|
|
|
|
|
self = this;
|
|
|
|
|
tmp = LegacySyntheticEvent(this, LegacySyntheticEvent);
|
|
|
|
|
items = [, ];
|
|
|
|
|
items[0] = global;
|
|
|
|
|
items[1] = arg1;
|
|
|
|
|
tmp2 = __esModule;
|
|
|
|
|
obj = __esModule(LegacySyntheticEvent);
|
|
|
|
|
tmp3 = __esModule;
|
|
|
|
|
if (_isNativeReflectConstruct()) {
|
|
|
|
|
tmp5 = globalThis;
|
|
|
|
|
_Reflect = Reflect;
|
|
|
|
|
constructResult = Reflect.construct(obj, items, tmp2(self).constructor);
|
|
|
|
|
} else {
|
|
|
|
|
constructResult = obj.apply(self, items);
|
|
|
|
|
}
|
|
|
|
|
tmp6 = importAll;
|
|
|
|
|
tmp3Result = tmp3(self, constructResult);
|
|
|
|
|
tmp3Result._nativeEvent = importDefault;
|
|
|
|
|
tmp3Result._propagationStopped = false;
|
|
|
|
|
if (importAll == null) {
|
|
|
|
|
tmp6 = null;
|
|
|
|
|
}
|
|
|
|
|
tmp3Result._dispatchConfig = tmp6;
|
|
|
|
|
return tmp3Result;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
require("_inherits")(LegacySyntheticEvent, require("Event"));
|
|
|
|
|
let items = [
|
|
|
|
|
{
|
|
|
|
|
key: "nativeEvent",
|
|
|
|
|
get() {
|
|
|
|
|
return this._nativeEvent;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "dispatchConfig",
|
|
|
|
|
get() {
|
|
|
|
|
return this._dispatchConfig;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "stopPropagation",
|
|
|
|
|
value: function stopPropagation() {
|
|
|
|
|
const self = this;
|
|
|
|
|
let fn = callback2(callback(self.prototype), "stopPropagation", this);
|
2026-08-04 21:03:28 +00:00
|
|
|
if (typeof fn === "function") {
|
2026-07-29 08:29:29 +00:00
|
|
|
fn = (arg0) => fn.apply(self, arg0);
|
|
|
|
|
}
|
|
|
|
|
fn([]);
|
|
|
|
|
this._propagationStopped = true;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "stopImmediatePropagation",
|
|
|
|
|
value: function stopImmediatePropagation() {
|
|
|
|
|
const self = this;
|
|
|
|
|
let fn = callback2(callback(self.prototype), "stopImmediatePropagation", this);
|
2026-08-04 21:03:28 +00:00
|
|
|
if (typeof fn === "function") {
|
2026-07-29 08:29:29 +00:00
|
|
|
fn = (arg0) => fn.apply(self, arg0);
|
|
|
|
|
}
|
|
|
|
|
fn([]);
|
|
|
|
|
this._propagationStopped = true;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "persist",
|
|
|
|
|
value: function persist() {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "isDefaultPrevented",
|
|
|
|
|
value: function isDefaultPrevented() {
|
|
|
|
|
return this.defaultPrevented;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "isPropagationStopped",
|
|
|
|
|
value: function isPropagationStopped() {
|
|
|
|
|
return this._propagationStopped;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
export default importDefaultResult(LegacySyntheticEvent, items);
|