No Description

_rollupPluginBabelHelpers-0494a5d0.js 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. 'use strict';
  2. function _typeof(obj) {
  3. "@babel/helpers - typeof";
  4. if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
  5. _typeof = function (obj) {
  6. return typeof obj;
  7. };
  8. } else {
  9. _typeof = function (obj) {
  10. return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
  11. };
  12. }
  13. return _typeof(obj);
  14. }
  15. function _classCallCheck(instance, Constructor) {
  16. if (!(instance instanceof Constructor)) {
  17. throw new TypeError("Cannot call a class as a function");
  18. }
  19. }
  20. function _defineProperties(target, props) {
  21. for (var i = 0; i < props.length; i++) {
  22. var descriptor = props[i];
  23. descriptor.enumerable = descriptor.enumerable || false;
  24. descriptor.configurable = true;
  25. if ("value" in descriptor) descriptor.writable = true;
  26. Object.defineProperty(target, descriptor.key, descriptor);
  27. }
  28. }
  29. function _createClass(Constructor, protoProps, staticProps) {
  30. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  31. if (staticProps) _defineProperties(Constructor, staticProps);
  32. return Constructor;
  33. }
  34. function _defineProperty(obj, key, value) {
  35. if (key in obj) {
  36. Object.defineProperty(obj, key, {
  37. value: value,
  38. enumerable: true,
  39. configurable: true,
  40. writable: true
  41. });
  42. } else {
  43. obj[key] = value;
  44. }
  45. return obj;
  46. }
  47. function ownKeys(object, enumerableOnly) {
  48. var keys = Object.keys(object);
  49. if (Object.getOwnPropertySymbols) {
  50. var symbols = Object.getOwnPropertySymbols(object);
  51. if (enumerableOnly) symbols = symbols.filter(function (sym) {
  52. return Object.getOwnPropertyDescriptor(object, sym).enumerable;
  53. });
  54. keys.push.apply(keys, symbols);
  55. }
  56. return keys;
  57. }
  58. function _objectSpread2(target) {
  59. for (var i = 1; i < arguments.length; i++) {
  60. var source = arguments[i] != null ? arguments[i] : {};
  61. if (i % 2) {
  62. ownKeys(Object(source), true).forEach(function (key) {
  63. _defineProperty(target, key, source[key]);
  64. });
  65. } else if (Object.getOwnPropertyDescriptors) {
  66. Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
  67. } else {
  68. ownKeys(Object(source)).forEach(function (key) {
  69. Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
  70. });
  71. }
  72. }
  73. return target;
  74. }
  75. function _inherits(subClass, superClass) {
  76. if (typeof superClass !== "function" && superClass !== null) {
  77. throw new TypeError("Super expression must either be null or a function");
  78. }
  79. subClass.prototype = Object.create(superClass && superClass.prototype, {
  80. constructor: {
  81. value: subClass,
  82. writable: true,
  83. configurable: true
  84. }
  85. });
  86. if (superClass) _setPrototypeOf(subClass, superClass);
  87. }
  88. function _getPrototypeOf(o) {
  89. _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
  90. return o.__proto__ || Object.getPrototypeOf(o);
  91. };
  92. return _getPrototypeOf(o);
  93. }
  94. function _setPrototypeOf(o, p) {
  95. _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
  96. o.__proto__ = p;
  97. return o;
  98. };
  99. return _setPrototypeOf(o, p);
  100. }
  101. function _assertThisInitialized(self) {
  102. if (self === void 0) {
  103. throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  104. }
  105. return self;
  106. }
  107. function _possibleConstructorReturn(self, call) {
  108. if (call && (typeof call === "object" || typeof call === "function")) {
  109. return call;
  110. }
  111. return _assertThisInitialized(self);
  112. }
  113. function _slicedToArray(arr, i) {
  114. return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
  115. }
  116. function _arrayWithHoles(arr) {
  117. if (Array.isArray(arr)) return arr;
  118. }
  119. function _iterableToArrayLimit(arr, i) {
  120. if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
  121. return;
  122. }
  123. var _arr = [];
  124. var _n = true;
  125. var _d = false;
  126. var _e = undefined;
  127. try {
  128. for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
  129. _arr.push(_s.value);
  130. if (i && _arr.length === i) break;
  131. }
  132. } catch (err) {
  133. _d = true;
  134. _e = err;
  135. } finally {
  136. try {
  137. if (!_n && _i["return"] != null) _i["return"]();
  138. } finally {
  139. if (_d) throw _e;
  140. }
  141. }
  142. return _arr;
  143. }
  144. function _nonIterableRest() {
  145. throw new TypeError("Invalid attempt to destructure non-iterable instance");
  146. }
  147. exports._assertThisInitialized = _assertThisInitialized;
  148. exports._classCallCheck = _classCallCheck;
  149. exports._createClass = _createClass;
  150. exports._defineProperty = _defineProperty;
  151. exports._getPrototypeOf = _getPrototypeOf;
  152. exports._inherits = _inherits;
  153. exports._objectSpread2 = _objectSpread2;
  154. exports._possibleConstructorReturn = _possibleConstructorReturn;
  155. exports._slicedToArray = _slicedToArray;
  156. exports._typeof = _typeof;
  157. //# sourceMappingURL=_rollupPluginBabelHelpers-0494a5d0.js.map