Debian Codegraph @

packages/babel-plugin-transform-runtime/test/fixtures/regression/12863/output.mjs

raw
1 import _Reflect$construct from "@babel/runtime-corejs3/core-js-stable/reflect/construct";
2 import _createClass from "@babel/runtime-corejs3/helpers/createClass";
3 import _classCallCheck from "@babel/runtime-corejs3/helpers/classCallCheck";
4 import _assertThisInitialized from "@babel/runtime-corejs3/helpers/assertThisInitialized";
5 import _inherits from "@babel/runtime-corejs3/helpers/inherits";
6 import _possibleConstructorReturn from "@babel/runtime-corejs3/helpers/possibleConstructorReturn";
7 import _getPrototypeOf from "@babel/runtime-corejs3/helpers/getPrototypeOf";
8 import _defineProperty from "@babel/runtime-corejs3/helpers/defineProperty";
9 import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
10 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); }; }
11 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; } }
12 let B = /*#__PURE__*/function (_A) {
13 _inherits(B, _A);
14 var _super = _createSuper(B);
15 function B(...args) {
16 var _context;
17 var _this;
18 _classCallCheck(this, B);
19 _this = _super.call.apply(_super, _concatInstanceProperty(_context = [this]).call(_context, args));
20 _defineProperty(_assertThisInitialized(_this), "b", 8);
21 return _this;
22 }
23 return _createClass(B);
24 }(A);