36 lines
1.2 KiB
JavaScript
36 lines
1.2 KiB
JavaScript
// Metro module 152 (f153).
|
|
import _classCallCheck from "./_classCallCheck";
|
|
import _createClass from "./_createClass";
|
|
import _possibleConstructorReturn from "./_possibleConstructorReturn";
|
|
import _getPrototypeOf from "./_getPrototypeOf";
|
|
import _inherits from "./_inherits";
|
|
import Event2 from "./Event";
|
|
let CustomEvent2;
|
|
let env154 = {};
|
|
env154[3] = function _isNativeReflectConstruct() {
|
|
let c12176_0;
|
|
try {
|
|
c12176_0 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
} catch ($e) {}
|
|
const _isNativeReflectConstruct2 = function _isNativeReflectConstruct() {
|
|
return !!c12176_0;
|
|
};
|
|
env154[3] = _isNativeReflectConstruct2;
|
|
return _isNativeReflectConstruct2();
|
|
};
|
|
CustomEvent2 = function(a0, a1) {
|
|
_classCallCheck(this, CustomEvent2);
|
|
const r10 = [a0, a1];
|
|
const r9 = _getPrototypeOf(CustomEvent2);
|
|
const r23 = _possibleConstructorReturn(this, (0, env154[3])() ? Reflect.construct(r9, r10, _getPrototypeOf(this).constructor) : r9.apply(this, r10));
|
|
r23._detail = a1?.detail;
|
|
return r23;
|
|
};
|
|
_inherits(CustomEvent2, Event2);
|
|
export default _createClass(CustomEvent2, [{
|
|
key: "detail",
|
|
get: function get() {
|
|
return this._detail;
|
|
}
|
|
}]);
|