no message
This commit is contained in:
22
@babel/runtime/helpers/Arrayincludes.js
Normal file
22
@babel/runtime/helpers/Arrayincludes.js
Normal file
@@ -0,0 +1,22 @@
|
||||
Array.prototype.includes ||
|
||||
Object.defineProperty(Array.prototype, "includes", {
|
||||
value: function (r, e) {
|
||||
if (null == this) throw new TypeError('"this" is null or not defined');
|
||||
var t = Object(this),
|
||||
n = t.length >>> 0;
|
||||
if (0 == n) return !1;
|
||||
for (
|
||||
var i, o, a = 0 | e, u = Math.max(0 <= a ? a : n - Math.abs(a), 0);
|
||||
u < n;
|
||||
|
||||
) {
|
||||
if (
|
||||
(i = t[u]) === (o = r) ||
|
||||
("number" == typeof i && "number" == typeof o && isNaN(i) && isNaN(o))
|
||||
)
|
||||
return !0;
|
||||
u++;
|
||||
}
|
||||
return !1;
|
||||
},
|
||||
});
|
||||
9
@babel/runtime/helpers/Objectvalues.js
Normal file
9
@babel/runtime/helpers/Objectvalues.js
Normal file
@@ -0,0 +1,9 @@
|
||||
Object.values ||
|
||||
(Object.values = function (e) {
|
||||
if (e !== Object(e))
|
||||
throw new TypeError("Object.values called on a non-object");
|
||||
var t,
|
||||
r = [];
|
||||
for (t in e) Object.prototype.hasOwnProperty.call(e, t) && r.push(e[t]);
|
||||
return r;
|
||||
});
|
||||
6
@babel/runtime/helpers/arrayLikeToArray.js
Normal file
6
@babel/runtime/helpers/arrayLikeToArray.js
Normal file
@@ -0,0 +1,6 @@
|
||||
function _arrayLikeToArray(r, a) {
|
||||
(null == a || a > r.length) && (a = r.length);
|
||||
for (var e = 0, n = new Array(a); e < a; e++) n[e] = r[e];
|
||||
return n;
|
||||
}
|
||||
module.exports = _arrayLikeToArray;
|
||||
4
@babel/runtime/helpers/arrayWithHoles.js
Normal file
4
@babel/runtime/helpers/arrayWithHoles.js
Normal file
@@ -0,0 +1,4 @@
|
||||
function _arrayWithHoles(r) {
|
||||
if (Array.isArray(r)) return r;
|
||||
}
|
||||
module.exports = _arrayWithHoles;
|
||||
5
@babel/runtime/helpers/arrayWithoutHoles.js
Normal file
5
@babel/runtime/helpers/arrayWithoutHoles.js
Normal file
@@ -0,0 +1,5 @@
|
||||
var arrayLikeToArray = require("./arrayLikeToArray");
|
||||
function _arrayWithoutHoles(r) {
|
||||
if (Array.isArray(r)) return arrayLikeToArray(r);
|
||||
}
|
||||
module.exports = _arrayWithoutHoles;
|
||||
8
@babel/runtime/helpers/assertThisInitialized.js
Normal file
8
@babel/runtime/helpers/assertThisInitialized.js
Normal file
@@ -0,0 +1,8 @@
|
||||
function _assertThisInitialized(e) {
|
||||
if (void 0 === e)
|
||||
throw new ReferenceError(
|
||||
"this hasn't been initialised - super() hasn't been called"
|
||||
);
|
||||
return e;
|
||||
}
|
||||
module.exports = _assertThisInitialized;
|
||||
26
@babel/runtime/helpers/asyncToGenerator.js
Normal file
26
@babel/runtime/helpers/asyncToGenerator.js
Normal file
@@ -0,0 +1,26 @@
|
||||
function asyncGeneratorStep(n, e, r, t, o, a, c) {
|
||||
try {
|
||||
var i = n[a](c),
|
||||
u = i.value;
|
||||
} catch (n) {
|
||||
return void r(n);
|
||||
}
|
||||
i.done ? e(u) : Promise.resolve(u).then(t, o);
|
||||
}
|
||||
function _asyncToGenerator(n) {
|
||||
return function () {
|
||||
var e = this,
|
||||
r = arguments;
|
||||
return new Promise(function (t, o) {
|
||||
var a = n.apply(e, r);
|
||||
function c(n) {
|
||||
asyncGeneratorStep(a, t, o, c, i, "next", n);
|
||||
}
|
||||
function i(n) {
|
||||
asyncGeneratorStep(a, t, o, c, i, "throw", n);
|
||||
}
|
||||
c(void 0);
|
||||
});
|
||||
};
|
||||
}
|
||||
module.exports = _asyncToGenerator;
|
||||
5
@babel/runtime/helpers/classCallCheck.js
Normal file
5
@babel/runtime/helpers/classCallCheck.js
Normal file
@@ -0,0 +1,5 @@
|
||||
function _classCallCheck(a, l) {
|
||||
if (!(a instanceof l))
|
||||
throw new TypeError("Cannot call a class as a function");
|
||||
}
|
||||
module.exports = _classCallCheck;
|
||||
17
@babel/runtime/helpers/construct.js
Normal file
17
@babel/runtime/helpers/construct.js
Normal file
@@ -0,0 +1,17 @@
|
||||
var setPrototypeOf = require("./setPrototypeOf"),
|
||||
isNativeReflectConstruct = require("./isNativeReflectConstruct");
|
||||
function _construct(t, e, r) {
|
||||
return (
|
||||
isNativeReflectConstruct()
|
||||
? (module.exports = _construct = Reflect.construct.bind())
|
||||
: (module.exports = _construct =
|
||||
function (t, e, r) {
|
||||
var o = [null];
|
||||
o.push.apply(o, e);
|
||||
var c = new (Function.bind.apply(t, o))();
|
||||
return r && setPrototypeOf(c, r.prototype), c;
|
||||
}),
|
||||
_construct.apply(null, arguments)
|
||||
);
|
||||
}
|
||||
module.exports = _construct;
|
||||
19
@babel/runtime/helpers/createClass.js
Normal file
19
@babel/runtime/helpers/createClass.js
Normal file
@@ -0,0 +1,19 @@
|
||||
var toPropertyKey = require("./toPropertyKey");
|
||||
function _defineProperties(e, r) {
|
||||
for (var t = 0; t < r.length; t++) {
|
||||
var o = r[t];
|
||||
(o.enumerable = o.enumerable || !1),
|
||||
(o.configurable = !0),
|
||||
"value" in o && (o.writable = !0),
|
||||
Object.defineProperty(e, toPropertyKey(o.key), o);
|
||||
}
|
||||
}
|
||||
function _createClass(e, r, t) {
|
||||
return (
|
||||
r && _defineProperties(e.prototype, r),
|
||||
t && _defineProperties(e, t),
|
||||
Object.defineProperty(e, "prototype", { writable: !1 }),
|
||||
e
|
||||
);
|
||||
}
|
||||
module.exports = _createClass;
|
||||
52
@babel/runtime/helpers/createForOfIteratorHelper.js
Normal file
52
@babel/runtime/helpers/createForOfIteratorHelper.js
Normal file
@@ -0,0 +1,52 @@
|
||||
var unsupportedIterableToArray = require("./unsupportedIterableToArray");
|
||||
function _createForOfIteratorHelper(r, e) {
|
||||
var t =
|
||||
("undefined" != typeof Symbol && r[Symbol.iterator]) || r["@@iterator"];
|
||||
if (!t) {
|
||||
if (
|
||||
Array.isArray(r) ||
|
||||
(t = unsupportedIterableToArray(r)) ||
|
||||
(e && r && "number" == typeof r.length)
|
||||
) {
|
||||
t && (r = t);
|
||||
var n = 0,
|
||||
o = function () {};
|
||||
return {
|
||||
s: o,
|
||||
n: function () {
|
||||
return n >= r.length ? { done: !0 } : { done: !1, value: r[n++] };
|
||||
},
|
||||
e: function (r) {
|
||||
throw r;
|
||||
},
|
||||
f: o,
|
||||
};
|
||||
}
|
||||
throw new TypeError(
|
||||
"Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
|
||||
);
|
||||
}
|
||||
var a,
|
||||
u = !0,
|
||||
i = !1;
|
||||
return {
|
||||
s: function () {
|
||||
t = t.call(r);
|
||||
},
|
||||
n: function () {
|
||||
var r = t.next();
|
||||
return (u = r.done), r;
|
||||
},
|
||||
e: function (r) {
|
||||
(i = !0), (a = r);
|
||||
},
|
||||
f: function () {
|
||||
try {
|
||||
u || null == t.return || t.return();
|
||||
} finally {
|
||||
if (i) throw a;
|
||||
}
|
||||
},
|
||||
};
|
||||
}
|
||||
module.exports = _createForOfIteratorHelper;
|
||||
16
@babel/runtime/helpers/createSuper.js
Normal file
16
@babel/runtime/helpers/createSuper.js
Normal file
@@ -0,0 +1,16 @@
|
||||
var getPrototypeOf = require("./getPrototypeOf"),
|
||||
isNativeReflectConstruct = require("./isNativeReflectConstruct"),
|
||||
possibleConstructorReturn = require("./possibleConstructorReturn");
|
||||
function _createSuper(t) {
|
||||
var e = isNativeReflectConstruct();
|
||||
return function () {
|
||||
var r,
|
||||
o = getPrototypeOf(t);
|
||||
if (e) {
|
||||
var s = getPrototypeOf(this).constructor;
|
||||
r = Reflect.construct(o, arguments, s);
|
||||
} else r = o.apply(this, arguments);
|
||||
return possibleConstructorReturn(this, r);
|
||||
};
|
||||
}
|
||||
module.exports = _createSuper;
|
||||
15
@babel/runtime/helpers/defineProperty.js
Normal file
15
@babel/runtime/helpers/defineProperty.js
Normal file
@@ -0,0 +1,15 @@
|
||||
var toPropertyKey = require("./toPropertyKey");
|
||||
function _defineProperty(e, r, t) {
|
||||
return (
|
||||
(r = toPropertyKey(r)) in e
|
||||
? Object.defineProperty(e, r, {
|
||||
value: t,
|
||||
enumerable: !0,
|
||||
configurable: !0,
|
||||
writable: !0,
|
||||
})
|
||||
: (e[r] = t),
|
||||
e
|
||||
);
|
||||
}
|
||||
module.exports = _defineProperty;
|
||||
12
@babel/runtime/helpers/getPrototypeOf.js
Normal file
12
@babel/runtime/helpers/getPrototypeOf.js
Normal file
@@ -0,0 +1,12 @@
|
||||
function _getPrototypeOf(t) {
|
||||
return (
|
||||
(module.exports = _getPrototypeOf =
|
||||
Object.setPrototypeOf
|
||||
? Object.getPrototypeOf.bind()
|
||||
: function (t) {
|
||||
return t.__proto__ || Object.getPrototypeOf(t);
|
||||
}),
|
||||
_getPrototypeOf(t)
|
||||
);
|
||||
}
|
||||
module.exports = _getPrototypeOf;
|
||||
11
@babel/runtime/helpers/inherits.js
Normal file
11
@babel/runtime/helpers/inherits.js
Normal file
@@ -0,0 +1,11 @@
|
||||
var setPrototypeOf = require("./setPrototypeOf");
|
||||
function _inherits(e, t) {
|
||||
if ("function" != typeof t && null !== t)
|
||||
throw new TypeError("Super expression must either be null or a function");
|
||||
(e.prototype = Object.create(t && t.prototype, {
|
||||
constructor: { value: e, writable: !0, configurable: !0 },
|
||||
})),
|
||||
Object.defineProperty(e, "prototype", { writable: !1 }),
|
||||
t && setPrototypeOf(e, t);
|
||||
}
|
||||
module.exports = _inherits;
|
||||
4
@babel/runtime/helpers/isNativeFunction.js
Normal file
4
@babel/runtime/helpers/isNativeFunction.js
Normal file
@@ -0,0 +1,4 @@
|
||||
function _isNativeFunction(n) {
|
||||
return -1 !== Function.toString.call(n).indexOf("[native code]");
|
||||
}
|
||||
module.exports = _isNativeFunction;
|
||||
16
@babel/runtime/helpers/isNativeReflectConstruct.js
Normal file
16
@babel/runtime/helpers/isNativeReflectConstruct.js
Normal file
@@ -0,0 +1,16 @@
|
||||
function _isNativeReflectConstruct() {
|
||||
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
|
||||
if (Reflect.construct.sham) return !1;
|
||||
if ("function" == typeof Proxy) return !0;
|
||||
try {
|
||||
return (
|
||||
Boolean.prototype.valueOf.call(
|
||||
Reflect.construct(Boolean, [], function () {})
|
||||
),
|
||||
!0
|
||||
);
|
||||
} catch (t) {
|
||||
return !1;
|
||||
}
|
||||
}
|
||||
module.exports = _isNativeReflectConstruct;
|
||||
8
@babel/runtime/helpers/iterableToArray.js
Normal file
8
@babel/runtime/helpers/iterableToArray.js
Normal file
@@ -0,0 +1,8 @@
|
||||
function _iterableToArray(r) {
|
||||
if (
|
||||
("undefined" != typeof Symbol && null != r[Symbol.iterator]) ||
|
||||
null != r["@@iterator"]
|
||||
)
|
||||
return Array.from(r);
|
||||
}
|
||||
module.exports = _iterableToArray;
|
||||
37
@babel/runtime/helpers/iterableToArrayLimit.js
Normal file
37
@babel/runtime/helpers/iterableToArrayLimit.js
Normal file
@@ -0,0 +1,37 @@
|
||||
function _iterableToArrayLimit(r, e) {
|
||||
var l =
|
||||
null == r
|
||||
? null
|
||||
: ("undefined" != typeof Symbol && r[Symbol.iterator]) || r["@@iterator"];
|
||||
if (null != l) {
|
||||
var t,
|
||||
n,
|
||||
i,
|
||||
a,
|
||||
u = [],
|
||||
o = !0,
|
||||
f = !1;
|
||||
try {
|
||||
if (((i = (l = l.call(r)).next), 0 === e)) {
|
||||
if (Object(l) !== l) return;
|
||||
o = !1;
|
||||
} else
|
||||
for (
|
||||
;
|
||||
!(o = (t = i.call(l)).done) && (u.push(t.value), u.length !== e);
|
||||
o = !0
|
||||
);
|
||||
} catch (r) {
|
||||
(f = !0), (n = r);
|
||||
} finally {
|
||||
try {
|
||||
if (!o && null != l.return && ((a = l.return()), Object(a) !== a))
|
||||
return;
|
||||
} finally {
|
||||
if (f) throw n;
|
||||
}
|
||||
}
|
||||
return u;
|
||||
}
|
||||
}
|
||||
module.exports = _iterableToArrayLimit;
|
||||
6
@babel/runtime/helpers/nonIterableRest.js
Normal file
6
@babel/runtime/helpers/nonIterableRest.js
Normal file
@@ -0,0 +1,6 @@
|
||||
function _nonIterableRest() {
|
||||
throw new TypeError(
|
||||
"Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
|
||||
);
|
||||
}
|
||||
module.exports = _nonIterableRest;
|
||||
6
@babel/runtime/helpers/nonIterableSpread.js
Normal file
6
@babel/runtime/helpers/nonIterableSpread.js
Normal file
@@ -0,0 +1,6 @@
|
||||
function _nonIterableSpread() {
|
||||
throw new TypeError(
|
||||
"Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
|
||||
);
|
||||
}
|
||||
module.exports = _nonIterableSpread;
|
||||
29
@babel/runtime/helpers/objectSpread2.js
Normal file
29
@babel/runtime/helpers/objectSpread2.js
Normal file
@@ -0,0 +1,29 @@
|
||||
var defineProperty = require("./defineProperty");
|
||||
function ownKeys(e, r) {
|
||||
var t = Object.keys(e);
|
||||
if (Object.getOwnPropertySymbols) {
|
||||
var o = Object.getOwnPropertySymbols(e);
|
||||
r &&
|
||||
(o = o.filter(function (r) {
|
||||
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
||||
})),
|
||||
t.push.apply(t, o);
|
||||
}
|
||||
return t;
|
||||
}
|
||||
function _objectSpread2(e) {
|
||||
for (var r = 1; r < arguments.length; r++) {
|
||||
var t = null != arguments[r] ? arguments[r] : {};
|
||||
r % 2
|
||||
? ownKeys(Object(t), !0).forEach(function (r) {
|
||||
defineProperty(e, r, t[r]);
|
||||
})
|
||||
: Object.getOwnPropertyDescriptors
|
||||
? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t))
|
||||
: ownKeys(Object(t)).forEach(function (r) {
|
||||
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
||||
});
|
||||
}
|
||||
return e;
|
||||
}
|
||||
module.exports = _objectSpread2;
|
||||
11
@babel/runtime/helpers/possibleConstructorReturn.js
Normal file
11
@babel/runtime/helpers/possibleConstructorReturn.js
Normal file
@@ -0,0 +1,11 @@
|
||||
var _typeof = require("./typeof"),
|
||||
assertThisInitialized = require("./assertThisInitialized");
|
||||
function _possibleConstructorReturn(e, r) {
|
||||
if (r && ("object" === _typeof(r) || "function" == typeof r)) return r;
|
||||
if (void 0 !== r)
|
||||
throw new TypeError(
|
||||
"Derived constructors may only return object or undefined"
|
||||
);
|
||||
return assertThisInitialized(e);
|
||||
}
|
||||
module.exports = _possibleConstructorReturn;
|
||||
406
@babel/runtime/helpers/regeneratorRuntime.js
Normal file
406
@babel/runtime/helpers/regeneratorRuntime.js
Normal file
@@ -0,0 +1,406 @@
|
||||
var t = require("./typeof");
|
||||
function r() {
|
||||
(module.exports = r =
|
||||
function () {
|
||||
return e;
|
||||
}),
|
||||
(module.exports.__esModule = !0),
|
||||
(module.exports.default = module.exports);
|
||||
var e = {},
|
||||
n = Object.prototype,
|
||||
o = n.hasOwnProperty,
|
||||
i =
|
||||
Object.defineProperty ||
|
||||
function (t, r, e) {
|
||||
t[r] = e.value;
|
||||
},
|
||||
a = "function" == typeof Symbol ? Symbol : {},
|
||||
c = a.iterator || "@@iterator",
|
||||
u = a.asyncIterator || "@@asyncIterator",
|
||||
l = a.toStringTag || "@@toStringTag";
|
||||
function h(t, r, e) {
|
||||
return (
|
||||
Object.defineProperty(t, r, {
|
||||
value: e,
|
||||
enumerable: !0,
|
||||
configurable: !0,
|
||||
writable: !0,
|
||||
}),
|
||||
t[r]
|
||||
);
|
||||
}
|
||||
try {
|
||||
h({}, "");
|
||||
} catch (t) {
|
||||
h = function (t, r, e) {
|
||||
return (t[r] = e);
|
||||
};
|
||||
}
|
||||
function f(t, r, e, n) {
|
||||
var o = r && r.prototype instanceof d ? r : d,
|
||||
a = Object.create(o.prototype),
|
||||
c = new k(n || []);
|
||||
return i(a, "_invoke", { value: E(t, e, c) }), a;
|
||||
}
|
||||
function s(t, r, e) {
|
||||
try {
|
||||
return { type: "normal", arg: t.call(r, e) };
|
||||
} catch (t) {
|
||||
return { type: "throw", arg: t };
|
||||
}
|
||||
}
|
||||
e.wrap = f;
|
||||
var p = {};
|
||||
function d() {}
|
||||
function v() {}
|
||||
function y() {}
|
||||
var g = {};
|
||||
h(g, c, function () {
|
||||
return this;
|
||||
});
|
||||
var m = Object.getPrototypeOf,
|
||||
w = m && m(m(G([])));
|
||||
w && w !== n && o.call(w, c) && (g = w);
|
||||
var x = (y.prototype = d.prototype = Object.create(g));
|
||||
function L(t) {
|
||||
["next", "throw", "return"].forEach(function (r) {
|
||||
h(t, r, function (t) {
|
||||
return this._invoke(r, t);
|
||||
});
|
||||
});
|
||||
}
|
||||
function b(r, e) {
|
||||
function n(i, a, c, u) {
|
||||
var l = s(r[i], r, a);
|
||||
if ("throw" !== l.type) {
|
||||
var h = l.arg,
|
||||
f = h.value;
|
||||
return f && "object" == t(f) && o.call(f, "__await")
|
||||
? e.resolve(f.__await).then(
|
||||
function (t) {
|
||||
n("next", t, c, u);
|
||||
},
|
||||
function (t) {
|
||||
n("throw", t, c, u);
|
||||
}
|
||||
)
|
||||
: e.resolve(f).then(
|
||||
function (t) {
|
||||
(h.value = t), c(h);
|
||||
},
|
||||
function (t) {
|
||||
return n("throw", t, c, u);
|
||||
}
|
||||
);
|
||||
}
|
||||
u(l.arg);
|
||||
}
|
||||
var a;
|
||||
i(this, "_invoke", {
|
||||
value: function (t, r) {
|
||||
function o() {
|
||||
return new e(function (e, o) {
|
||||
n(t, r, e, o);
|
||||
});
|
||||
}
|
||||
return (a = a ? a.then(o, o) : o());
|
||||
},
|
||||
});
|
||||
}
|
||||
function E(t, r, e) {
|
||||
var n = "suspendedStart";
|
||||
return function (o, i) {
|
||||
if ("executing" === n) throw new Error("Generator is already running");
|
||||
if ("completed" === n) {
|
||||
if ("throw" === o) throw i;
|
||||
return N();
|
||||
}
|
||||
for (e.method = o, e.arg = i; ; ) {
|
||||
var a = e.delegate;
|
||||
if (a) {
|
||||
var c = _(a, e);
|
||||
if (c) {
|
||||
if (c === p) continue;
|
||||
return c;
|
||||
}
|
||||
}
|
||||
if ("next" === e.method) e.sent = e._sent = e.arg;
|
||||
else if ("throw" === e.method) {
|
||||
if ("suspendedStart" === n) throw ((n = "completed"), e.arg);
|
||||
e.dispatchException(e.arg);
|
||||
} else "return" === e.method && e.abrupt("return", e.arg);
|
||||
n = "executing";
|
||||
var u = s(t, r, e);
|
||||
if ("normal" === u.type) {
|
||||
if (((n = e.done ? "completed" : "suspendedYield"), u.arg === p))
|
||||
continue;
|
||||
return { value: u.arg, done: e.done };
|
||||
}
|
||||
"throw" === u.type &&
|
||||
((n = "completed"), (e.method = "throw"), (e.arg = u.arg));
|
||||
}
|
||||
};
|
||||
}
|
||||
function _(t, r) {
|
||||
var e = r.method,
|
||||
n = t.iterator[e];
|
||||
if (void 0 === n)
|
||||
return (
|
||||
(r.delegate = null),
|
||||
("throw" === e &&
|
||||
t.iterator.return &&
|
||||
((r.method = "return"),
|
||||
(r.arg = void 0),
|
||||
_(t, r),
|
||||
"throw" === r.method)) ||
|
||||
("return" !== e &&
|
||||
((r.method = "throw"),
|
||||
(r.arg = new TypeError(
|
||||
"The iterator does not provide a '" + e + "' method"
|
||||
)))),
|
||||
p
|
||||
);
|
||||
var o = s(n, t.iterator, r.arg);
|
||||
if ("throw" === o.type)
|
||||
return (r.method = "throw"), (r.arg = o.arg), (r.delegate = null), p;
|
||||
var i = o.arg;
|
||||
return i
|
||||
? i.done
|
||||
? ((r[t.resultName] = i.value),
|
||||
(r.next = t.nextLoc),
|
||||
"return" !== r.method && ((r.method = "next"), (r.arg = void 0)),
|
||||
(r.delegate = null),
|
||||
p)
|
||||
: i
|
||||
: ((r.method = "throw"),
|
||||
(r.arg = new TypeError("iterator result is not an object")),
|
||||
(r.delegate = null),
|
||||
p);
|
||||
}
|
||||
function O(t) {
|
||||
var r = { tryLoc: t[0] };
|
||||
1 in t && (r.catchLoc = t[1]),
|
||||
2 in t && ((r.finallyLoc = t[2]), (r.afterLoc = t[3])),
|
||||
this.tryEntries.push(r);
|
||||
}
|
||||
function j(t) {
|
||||
var r = t.completion || {};
|
||||
(r.type = "normal"), delete r.arg, (t.completion = r);
|
||||
}
|
||||
function k(t) {
|
||||
(this.tryEntries = [{ tryLoc: "root" }]),
|
||||
t.forEach(O, this),
|
||||
this.reset(!0);
|
||||
}
|
||||
function G(t) {
|
||||
if (t) {
|
||||
var r = t[c];
|
||||
if (r) return r.call(t);
|
||||
if ("function" == typeof t.next) return t;
|
||||
if (!isNaN(t.length)) {
|
||||
var e = -1,
|
||||
n = function r() {
|
||||
for (; ++e < t.length; )
|
||||
if (o.call(t, e)) return (r.value = t[e]), (r.done = !1), r;
|
||||
return (r.value = void 0), (r.done = !0), r;
|
||||
};
|
||||
return (n.next = n);
|
||||
}
|
||||
}
|
||||
return { next: N };
|
||||
}
|
||||
function N() {
|
||||
return { value: void 0, done: !0 };
|
||||
}
|
||||
return (
|
||||
(v.prototype = y),
|
||||
i(x, "constructor", { value: y, configurable: !0 }),
|
||||
i(y, "constructor", { value: v, configurable: !0 }),
|
||||
(v.displayName = h(y, l, "GeneratorFunction")),
|
||||
(e.isGeneratorFunction = function (t) {
|
||||
var r = "function" == typeof t && t.constructor;
|
||||
return (
|
||||
!!r && (r === v || "GeneratorFunction" === (r.displayName || r.name))
|
||||
);
|
||||
}),
|
||||
(e.mark = function (t) {
|
||||
return (
|
||||
Object.setPrototypeOf
|
||||
? Object.setPrototypeOf(t, y)
|
||||
: ((t.__proto__ = y), h(t, l, "GeneratorFunction")),
|
||||
(t.prototype = Object.create(x)),
|
||||
t
|
||||
);
|
||||
}),
|
||||
(e.awrap = function (t) {
|
||||
return { __await: t };
|
||||
}),
|
||||
L(b.prototype),
|
||||
h(b.prototype, u, function () {
|
||||
return this;
|
||||
}),
|
||||
(e.AsyncIterator = b),
|
||||
(e.async = function (t, r, n, o, i) {
|
||||
void 0 === i && (i = Promise);
|
||||
var a = new b(f(t, r, n, o), i);
|
||||
return e.isGeneratorFunction(r)
|
||||
? a
|
||||
: a.next().then(function (t) {
|
||||
return t.done ? t.value : a.next();
|
||||
});
|
||||
}),
|
||||
L(x),
|
||||
h(x, l, "Generator"),
|
||||
h(x, c, function () {
|
||||
return this;
|
||||
}),
|
||||
h(x, "toString", function () {
|
||||
return "[object Generator]";
|
||||
}),
|
||||
(e.keys = function (t) {
|
||||
var r = Object(t),
|
||||
e = [];
|
||||
for (var n in r) e.push(n);
|
||||
return (
|
||||
e.reverse(),
|
||||
function t() {
|
||||
for (; e.length; ) {
|
||||
var n = e.pop();
|
||||
if (n in r) return (t.value = n), (t.done = !1), t;
|
||||
}
|
||||
return (t.done = !0), t;
|
||||
}
|
||||
);
|
||||
}),
|
||||
(e.values = G),
|
||||
(k.prototype = {
|
||||
constructor: k,
|
||||
reset: function (t) {
|
||||
if (
|
||||
((this.prev = 0),
|
||||
(this.next = 0),
|
||||
(this.sent = this._sent = void 0),
|
||||
(this.done = !1),
|
||||
(this.delegate = null),
|
||||
(this.method = "next"),
|
||||
(this.arg = void 0),
|
||||
this.tryEntries.forEach(j),
|
||||
!t)
|
||||
)
|
||||
for (var r in this)
|
||||
"t" === r.charAt(0) &&
|
||||
o.call(this, r) &&
|
||||
!isNaN(+r.slice(1)) &&
|
||||
(this[r] = void 0);
|
||||
},
|
||||
stop: function () {
|
||||
this.done = !0;
|
||||
var t = this.tryEntries[0].completion;
|
||||
if ("throw" === t.type) throw t.arg;
|
||||
return this.rval;
|
||||
},
|
||||
dispatchException: function (t) {
|
||||
if (this.done) throw t;
|
||||
var r = this;
|
||||
function e(e, n) {
|
||||
return (
|
||||
(a.type = "throw"),
|
||||
(a.arg = t),
|
||||
(r.next = e),
|
||||
n && ((r.method = "next"), (r.arg = void 0)),
|
||||
!!n
|
||||
);
|
||||
}
|
||||
for (var n = this.tryEntries.length - 1; n >= 0; --n) {
|
||||
var i = this.tryEntries[n],
|
||||
a = i.completion;
|
||||
if ("root" === i.tryLoc) return e("end");
|
||||
if (i.tryLoc <= this.prev) {
|
||||
var c = o.call(i, "catchLoc"),
|
||||
u = o.call(i, "finallyLoc");
|
||||
if (c && u) {
|
||||
if (this.prev < i.catchLoc) return e(i.catchLoc, !0);
|
||||
if (this.prev < i.finallyLoc) return e(i.finallyLoc);
|
||||
} else if (c) {
|
||||
if (this.prev < i.catchLoc) return e(i.catchLoc, !0);
|
||||
} else {
|
||||
if (!u) throw new Error("try statement without catch or finally");
|
||||
if (this.prev < i.finallyLoc) return e(i.finallyLoc);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
abrupt: function (t, r) {
|
||||
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
||||
var n = this.tryEntries[e];
|
||||
if (
|
||||
n.tryLoc <= this.prev &&
|
||||
o.call(n, "finallyLoc") &&
|
||||
this.prev < n.finallyLoc
|
||||
) {
|
||||
var i = n;
|
||||
break;
|
||||
}
|
||||
}
|
||||
i &&
|
||||
("break" === t || "continue" === t) &&
|
||||
i.tryLoc <= r &&
|
||||
r <= i.finallyLoc &&
|
||||
(i = null);
|
||||
var a = i ? i.completion : {};
|
||||
return (
|
||||
(a.type = t),
|
||||
(a.arg = r),
|
||||
i
|
||||
? ((this.method = "next"), (this.next = i.finallyLoc), p)
|
||||
: this.complete(a)
|
||||
);
|
||||
},
|
||||
complete: function (t, r) {
|
||||
if ("throw" === t.type) throw t.arg;
|
||||
return (
|
||||
"break" === t.type || "continue" === t.type
|
||||
? (this.next = t.arg)
|
||||
: "return" === t.type
|
||||
? ((this.rval = this.arg = t.arg),
|
||||
(this.method = "return"),
|
||||
(this.next = "end"))
|
||||
: "normal" === t.type && r && (this.next = r),
|
||||
p
|
||||
);
|
||||
},
|
||||
finish: function (t) {
|
||||
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
||||
var e = this.tryEntries[r];
|
||||
if (e.finallyLoc === t)
|
||||
return this.complete(e.completion, e.afterLoc), j(e), p;
|
||||
}
|
||||
},
|
||||
catch: function (t) {
|
||||
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
||||
var e = this.tryEntries[r];
|
||||
if (e.tryLoc === t) {
|
||||
var n = e.completion;
|
||||
if ("throw" === n.type) {
|
||||
var o = n.arg;
|
||||
j(e);
|
||||
}
|
||||
return o;
|
||||
}
|
||||
}
|
||||
throw new Error("illegal catch attempt");
|
||||
},
|
||||
delegateYield: function (t, r, e) {
|
||||
return (
|
||||
(this.delegate = { iterator: G(t), resultName: r, nextLoc: e }),
|
||||
"next" === this.method && (this.arg = void 0),
|
||||
p
|
||||
);
|
||||
},
|
||||
}),
|
||||
e
|
||||
);
|
||||
}
|
||||
(module.exports = r),
|
||||
(module.exports.__esModule = !0),
|
||||
(module.exports.default = module.exports);
|
||||
12
@babel/runtime/helpers/setPrototypeOf.js
Normal file
12
@babel/runtime/helpers/setPrototypeOf.js
Normal file
@@ -0,0 +1,12 @@
|
||||
function _setPrototypeOf(t, e) {
|
||||
return (
|
||||
(module.exports = _setPrototypeOf =
|
||||
Object.setPrototypeOf
|
||||
? Object.setPrototypeOf.bind()
|
||||
: function (t, e) {
|
||||
return (t.__proto__ = e), t;
|
||||
}),
|
||||
_setPrototypeOf(t, e)
|
||||
);
|
||||
}
|
||||
module.exports = _setPrototypeOf;
|
||||
13
@babel/runtime/helpers/slicedToArray.js
Normal file
13
@babel/runtime/helpers/slicedToArray.js
Normal file
@@ -0,0 +1,13 @@
|
||||
var arrayWithHoles = require("./arrayWithHoles"),
|
||||
iterableToArrayLimit = require("./iterableToArrayLimit"),
|
||||
unsupportedIterableToArray = require("./unsupportedIterableToArray"),
|
||||
nonIterableRest = require("./nonIterableRest");
|
||||
function _slicedToArray(r, e) {
|
||||
return (
|
||||
arrayWithHoles(r) ||
|
||||
iterableToArrayLimit(r, e) ||
|
||||
unsupportedIterableToArray(r, e) ||
|
||||
nonIterableRest()
|
||||
);
|
||||
}
|
||||
module.exports = _slicedToArray;
|
||||
13
@babel/runtime/helpers/toConsumableArray.js
Normal file
13
@babel/runtime/helpers/toConsumableArray.js
Normal file
@@ -0,0 +1,13 @@
|
||||
var arrayWithoutHoles = require("./arrayWithoutHoles"),
|
||||
iterableToArray = require("./iterableToArray"),
|
||||
unsupportedIterableToArray = require("./unsupportedIterableToArray"),
|
||||
nonIterableSpread = require("./nonIterableSpread");
|
||||
function _toConsumableArray(r) {
|
||||
return (
|
||||
arrayWithoutHoles(r) ||
|
||||
iterableToArray(r) ||
|
||||
unsupportedIterableToArray(r) ||
|
||||
nonIterableSpread()
|
||||
);
|
||||
}
|
||||
module.exports = _toConsumableArray;
|
||||
12
@babel/runtime/helpers/toPrimitive.js
Normal file
12
@babel/runtime/helpers/toPrimitive.js
Normal file
@@ -0,0 +1,12 @@
|
||||
var _typeof = require("./typeof");
|
||||
function _toPrimitive(r, t) {
|
||||
if ("object" !== _typeof(r) || null === r) return r;
|
||||
var e = r[Symbol.toPrimitive];
|
||||
if (void 0 !== e) {
|
||||
var i = e.call(r, t || "default");
|
||||
if ("object" !== _typeof(i)) return i;
|
||||
throw new TypeError("@@toPrimitive must return a primitive value.");
|
||||
}
|
||||
return ("string" === t ? String : Number)(r);
|
||||
}
|
||||
module.exports = _toPrimitive;
|
||||
7
@babel/runtime/helpers/toPropertyKey.js
Normal file
7
@babel/runtime/helpers/toPropertyKey.js
Normal file
@@ -0,0 +1,7 @@
|
||||
var _typeof = require("./typeof"),
|
||||
toPrimitive = require("./toPrimitive");
|
||||
function _toPropertyKey(r) {
|
||||
var t = toPrimitive(r, "string");
|
||||
return "symbol" === _typeof(t) ? t : String(t);
|
||||
}
|
||||
module.exports = _toPropertyKey;
|
||||
18
@babel/runtime/helpers/typeof.js
Normal file
18
@babel/runtime/helpers/typeof.js
Normal file
@@ -0,0 +1,18 @@
|
||||
function _typeof2(o) {
|
||||
"@babel/helpers - typeof";
|
||||
return (_typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
||||
return typeof o;
|
||||
} : function (o) {
|
||||
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
||||
})(o);
|
||||
}
|
||||
|
||||
function _typeof(o) {
|
||||
return "function" == typeof Symbol && "symbol" === _typeof2(Symbol.iterator) ? module.exports = _typeof = function (o) {
|
||||
return _typeof2(o);
|
||||
} : module.exports = _typeof = function (o) {
|
||||
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : _typeof2(o);
|
||||
}, _typeof(o);
|
||||
}
|
||||
|
||||
module.exports = _typeof;
|
||||
17
@babel/runtime/helpers/unsupportedIterableToArray.js
Normal file
17
@babel/runtime/helpers/unsupportedIterableToArray.js
Normal file
@@ -0,0 +1,17 @@
|
||||
var arrayLikeToArray = require("./arrayLikeToArray");
|
||||
function _unsupportedIterableToArray(r, e) {
|
||||
if (r) {
|
||||
if ("string" == typeof r) return arrayLikeToArray(r, e);
|
||||
var t = Object.prototype.toString.call(r).slice(8, -1);
|
||||
return (
|
||||
"Object" === t && r.constructor && (t = r.constructor.name),
|
||||
"Map" === t || "Set" === t
|
||||
? Array.from(r)
|
||||
: "Arguments" === t ||
|
||||
/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)
|
||||
? arrayLikeToArray(r, e)
|
||||
: void 0
|
||||
);
|
||||
}
|
||||
}
|
||||
module.exports = _unsupportedIterableToArray;
|
||||
37
@babel/runtime/helpers/wrapNativeSuper.js
Normal file
37
@babel/runtime/helpers/wrapNativeSuper.js
Normal file
@@ -0,0 +1,37 @@
|
||||
var getPrototypeOf = require("./getPrototypeOf"),
|
||||
setPrototypeOf = require("./setPrototypeOf"),
|
||||
isNativeFunction = require("./isNativeFunction"),
|
||||
construct = require("./construct");
|
||||
function _wrapNativeSuper(t) {
|
||||
var e = "function" == typeof Map ? new Map() : void 0;
|
||||
return (
|
||||
(module.exports = _wrapNativeSuper =
|
||||
function (t) {
|
||||
if (null === t || !isNativeFunction(t)) return t;
|
||||
if ("function" != typeof t)
|
||||
throw new TypeError(
|
||||
"Super expression must either be null or a function"
|
||||
);
|
||||
if (void 0 !== e) {
|
||||
if (e.has(t)) return e.get(t);
|
||||
e.set(t, r);
|
||||
}
|
||||
function r() {
|
||||
return construct(t, arguments, getPrototypeOf(this).constructor);
|
||||
}
|
||||
return (
|
||||
(r.prototype = Object.create(t.prototype, {
|
||||
constructor: {
|
||||
value: r,
|
||||
enumerable: !1,
|
||||
writable: !0,
|
||||
configurable: !0,
|
||||
},
|
||||
})),
|
||||
setPrototypeOf(r, t)
|
||||
);
|
||||
}),
|
||||
_wrapNativeSuper(t)
|
||||
);
|
||||
}
|
||||
module.exports = _wrapNativeSuper;
|
||||
Reference in New Issue
Block a user