| 1 |
import _Reflect$construct from "core-js-pure/stable/reflect/construct.js"; |
| 2 |
import _createClass from "@babel/runtime/helpers/createClass"; |
| 3 |
import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; |
| 4 |
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized"; |
| 5 |
import _inherits from "@babel/runtime/helpers/inherits"; |
| 6 |
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn"; |
| 7 |
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf"; |
| 8 |
import _defineProperty from "@babel/runtime/helpers/defineProperty"; |
| 9 |
import _concatInstanceProperty from "core-js-pure/stable/instance/concat.js"; |
| 10 |
|
| 11 |
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } |
| 12 |
|
| 13 |
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct) return false; if (_Reflect$construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } |
| 14 |
|
| 15 |
let A = function (_B) { |
| 16 |
_inherits(A, _B); |
| 17 |
|
| 18 |
var _super = _createSuper(A); |
| 19 |
|
| 20 |
function A(...args) { |
| 21 |
var _context; |
| 22 |
|
| 23 |
var _this; |
| 24 |
|
| 25 |
_classCallCheck(this, A); |
| 26 |
|
| 27 |
_this = _super.call.apply(_super, _concatInstanceProperty(_context = [this]).call(_context, args)); |
| 28 |
|
| 29 |
_defineProperty(_assertThisInitialized(_this), "b", 1); |
| 30 |
|
| 31 |
return _this; |
| 32 |
} |
| 33 |
|
| 34 |
return _createClass(A); |
| 35 |
}(B); |