summaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/runtime/helpers')
-rw-r--r--node_modules/@babel/runtime/helpers/applyDecs.js6
-rw-r--r--node_modules/@babel/runtime/helpers/applyDecs2203.js4
-rw-r--r--node_modules/@babel/runtime/helpers/applyDecs2203R.js4
-rw-r--r--node_modules/@babel/runtime/helpers/applyDecs2301.js4
-rw-r--r--node_modules/@babel/runtime/helpers/applyDecs2305.js4
-rw-r--r--node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js7
-rw-r--r--node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js8
-rw-r--r--node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js4
-rw-r--r--node_modules/@babel/runtime/helpers/classPrivateFieldGet.js4
-rw-r--r--node_modules/@babel/runtime/helpers/classPrivateFieldSet.js4
-rw-r--r--node_modules/@babel/runtime/helpers/classPrivateMethodGet.js5
-rw-r--r--node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js4
-rw-r--r--node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js4
-rw-r--r--node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js4
-rw-r--r--node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js4
-rw-r--r--node_modules/@babel/runtime/helpers/dispose.js4
-rw-r--r--node_modules/@babel/runtime/helpers/esm/applyDecs.js6
-rw-r--r--node_modules/@babel/runtime/helpers/esm/applyDecs2203.js4
-rw-r--r--node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js4
-rw-r--r--node_modules/@babel/runtime/helpers/esm/applyDecs2301.js4
-rw-r--r--node_modules/@babel/runtime/helpers/esm/applyDecs2305.js4
-rw-r--r--node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js7
-rw-r--r--node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js8
-rw-r--r--node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js4
-rw-r--r--node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js4
-rw-r--r--node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js4
-rw-r--r--node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js5
-rw-r--r--node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js4
-rw-r--r--node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js4
-rw-r--r--node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js4
-rw-r--r--node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js4
-rw-r--r--node_modules/@babel/runtime/helpers/esm/dispose.js4
-rw-r--r--node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js2
-rw-r--r--node_modules/@babel/runtime/helpers/esm/jsx.js2
-rw-r--r--node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js11
-rw-r--r--node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js6
-rw-r--r--node_modules/@babel/runtime/helpers/esm/toPropertyKey.js2
-rw-r--r--node_modules/@babel/runtime/helpers/esm/wrapRegExp.js2
-rw-r--r--node_modules/@babel/runtime/helpers/interopRequireWildcard.js2
-rw-r--r--node_modules/@babel/runtime/helpers/jsx.js2
-rw-r--r--node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js11
-rw-r--r--node_modules/@babel/runtime/helpers/regeneratorRuntime.js6
-rw-r--r--node_modules/@babel/runtime/helpers/toPropertyKey.js2
-rw-r--r--node_modules/@babel/runtime/helpers/wrapRegExp.js2
44 files changed, 94 insertions, 104 deletions
diff --git a/node_modules/@babel/runtime/helpers/applyDecs.js b/node_modules/@babel/runtime/helpers/applyDecs.js
index 73cbf9c6..3770c5ae 100644
--- a/node_modules/@babel/runtime/helpers/applyDecs.js
+++ b/node_modules/@babel/runtime/helpers/applyDecs.js
@@ -101,7 +101,7 @@ function old_memberDec(e, t, a, r, o, i, n, l, s) {
}
}
function old_assertNotFinished(e, t) {
- if (e.v) throw new Error("attempted to call " + t + " after decoration was finished");
+ if (e.v) throw Error("attempted to call " + t + " after decoration was finished");
}
function old_assertMetadataKey(e) {
if ("symbol" != _typeof(e)) throw new TypeError("Metadata keys must be symbols, received: " + e);
@@ -118,7 +118,7 @@ function old_assertValidReturnValue(e, t) {
}
function old_getInit(e) {
var t;
- return null == (t = e.init) && (t = e.initializer) && "undefined" != typeof console && console.warn(".initializer has been renamed to .init as of March 2022"), t;
+ return null == (t = e.init) && (t = e.initializer) && void 0 !== console && console.warn(".initializer has been renamed to .init as of March 2022"), t;
}
function old_applyMemberDec(e, t, a, r, o, i, n, l, s) {
var c,
@@ -190,7 +190,7 @@ function old_applyMemberDecs(e, t, a, r, o) {
if (m ? (u = t, f = r, 0 != (v -= 5) && (p = n = n || [])) : (u = t.prototype, f = a, 0 !== v && (p = i = i || [])), 0 !== v && !h) {
var b = m ? s : l,
g = b.get(y) || 0;
- if (!0 === g || 3 === g && 4 !== v || 4 === g && 3 !== v) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + y);
+ if (!0 === g || 3 === g && 4 !== v || 4 === g && 3 !== v) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + y);
!g && v > 2 ? b.set(y, v) : b.set(y, !0);
}
old_applyMemberDec(e, u, d, y, v, m, h, f, p);
diff --git a/node_modules/@babel/runtime/helpers/applyDecs2203.js b/node_modules/@babel/runtime/helpers/applyDecs2203.js
index 75437ddd..d3da3338 100644
--- a/node_modules/@babel/runtime/helpers/applyDecs2203.js
+++ b/node_modules/@babel/runtime/helpers/applyDecs2203.js
@@ -3,7 +3,7 @@ function applyDecs2203Factory() {
function createAddInitializerMethod(e, t) {
return function (r) {
!function (e, t) {
- if (e.v) throw new Error("attempted to call addInitializer after decoration was finished");
+ if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
}(t), assertCallable(r, "An initializer"), e.push(r);
};
}
@@ -146,7 +146,7 @@ function applyDecs2203Factory() {
if (h ? (l = t, 0 != (f -= 5) && (u = n = n || [])) : (l = t.prototype, 0 !== f && (u = a = a || [])), 0 !== f && !d) {
var v = h ? s : i,
g = v.get(p) || 0;
- if (!0 === g || 3 === g && 4 !== f || 4 === g && 3 !== f) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + p);
+ if (!0 === g || 3 === g && 4 !== f || 4 === g && 3 !== f) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + p);
!g && f > 2 ? v.set(p, f) : v.set(p, !0);
}
applyMemberDec(e, l, c, p, f, h, d, u);
diff --git a/node_modules/@babel/runtime/helpers/applyDecs2203R.js b/node_modules/@babel/runtime/helpers/applyDecs2203R.js
index 182038ed..725419b5 100644
--- a/node_modules/@babel/runtime/helpers/applyDecs2203R.js
+++ b/node_modules/@babel/runtime/helpers/applyDecs2203R.js
@@ -5,7 +5,7 @@ function applyDecs2203RFactory() {
function createAddInitializerMethod(e, t) {
return function (r) {
!function (e, t) {
- if (e.v) throw new Error("attempted to call addInitializer after decoration was finished");
+ if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
}(t), assertCallable(r, "An initializer"), e.push(r);
};
}
@@ -141,7 +141,7 @@ function applyDecs2203RFactory() {
if (h ? (l = e, 0 != (f -= 5) && (u = n = n || [])) : (l = e.prototype, 0 !== f && (u = r = r || [])), 0 !== f && !d) {
var v = h ? o : i,
g = v.get(p) || 0;
- if (!0 === g || 3 === g && 4 !== f || 4 === g && 3 !== f) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + p);
+ if (!0 === g || 3 === g && 4 !== f || 4 === g && 3 !== f) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + p);
!g && f > 2 ? v.set(p, f) : v.set(p, !0);
}
applyMemberDec(a, l, c, p, f, h, d, u);
diff --git a/node_modules/@babel/runtime/helpers/applyDecs2301.js b/node_modules/@babel/runtime/helpers/applyDecs2301.js
index 85e1e3e3..fc2c1307 100644
--- a/node_modules/@babel/runtime/helpers/applyDecs2301.js
+++ b/node_modules/@babel/runtime/helpers/applyDecs2301.js
@@ -6,7 +6,7 @@ function applyDecs2301Factory() {
function createAddInitializerMethod(e, t) {
return function (r) {
!function (e, t) {
- if (e.v) throw new Error("attempted to call addInitializer after decoration was finished");
+ if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
}(t), assertCallable(r, "An initializer"), e.push(r);
};
}
@@ -172,7 +172,7 @@ function applyDecs2301Factory() {
}), g = i) : (f = e.prototype, 0 !== d && (p = n = n || [])), 0 !== d && !v) {
var m = y ? c : o,
b = m.get(h) || 0;
- if (!0 === b || 3 === b && 4 !== d || 4 === b && 3 !== d) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
+ if (!0 === b || 3 === b && 4 !== d || 4 === b && 3 !== d) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
!b && d > 2 ? m.set(h, d) : m.set(h, !0);
}
applyMemberDec(s, f, l, h, d, y, v, p, g);
diff --git a/node_modules/@babel/runtime/helpers/applyDecs2305.js b/node_modules/@babel/runtime/helpers/applyDecs2305.js
index 7068db42..744c3521 100644
--- a/node_modules/@babel/runtime/helpers/applyDecs2305.js
+++ b/node_modules/@babel/runtime/helpers/applyDecs2305.js
@@ -47,7 +47,7 @@ function applyDecs2305(e, t, r, n, o, a) {
name: n,
metadata: a,
addInitializer: function (e, t) {
- if (e.v) throw new Error("attempted to call addInitializer after decoration was finished");
+ if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
s(t, "An initializer", "be", !0), c.push(t);
}.bind(null, I)
};
@@ -114,7 +114,7 @@ function applyDecs2305(e, t, r, n, o, a) {
b = h + "/" + v;
if (!g && !m) {
var w = u.get(b);
- if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
+ if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
u.set(b, !(d > 2) || d);
}
applyDec(v ? e : e.prototype, p, y, m ? "#" + h : toPropertyKey(h), d, n, v ? a = a || [] : o = o || [], i, v, m, g, 1 === d, v && m ? s : r);
diff --git a/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js b/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js
index 34876843..6492cc1e 100644
--- a/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js
+++ b/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js
@@ -1,6 +1,5 @@
-function _classCheckPrivateStaticAccess(receiver, classConstructor) {
- if (receiver !== classConstructor) {
- throw new TypeError("Private static access of wrong provenance");
- }
+var assertClassBrand = require("./assertClassBrand.js");
+function _classCheckPrivateStaticAccess(receiver, classConstructor, returnValue) {
+ return assertClassBrand(classConstructor, receiver, returnValue);
}
module.exports = _classCheckPrivateStaticAccess, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js b/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js
index e6f4725a..15345225 100644
--- a/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js
+++ b/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js
@@ -1,7 +1,5 @@
-function _classExtractFieldDescriptor(receiver, privateMap, action) {
- if (!privateMap.has(receiver)) {
- throw new TypeError("attempted to " + action + " private field on non-instance");
- }
- return privateMap.get(receiver);
+var classPrivateFieldGet2 = require("./classPrivateFieldGet2.js");
+function _classExtractFieldDescriptor(receiver, privateMap) {
+ return classPrivateFieldGet2(privateMap, receiver);
}
module.exports = _classExtractFieldDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js b/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js
index 07f777df..2d4486c2 100644
--- a/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js
+++ b/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js
@@ -1,7 +1,7 @@
var classApplyDescriptorDestructureSet = require("./classApplyDescriptorDestructureSet.js");
-var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js");
+var classPrivateFieldGet2 = require("./classPrivateFieldGet2.js");
function _classPrivateFieldDestructureSet(receiver, privateMap) {
- var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
+ var descriptor = classPrivateFieldGet2(privateMap, receiver);
return classApplyDescriptorDestructureSet(receiver, descriptor);
}
module.exports = _classPrivateFieldDestructureSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js b/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js
index a67951e1..16456719 100644
--- a/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js
+++ b/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js
@@ -1,7 +1,7 @@
var classApplyDescriptorGet = require("./classApplyDescriptorGet.js");
-var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js");
+var classPrivateFieldGet2 = require("./classPrivateFieldGet2.js");
function _classPrivateFieldGet(receiver, privateMap) {
- var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get");
+ var descriptor = classPrivateFieldGet2(privateMap, receiver);
return classApplyDescriptorGet(receiver, descriptor);
}
module.exports = _classPrivateFieldGet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js b/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js
index ffb73a10..4f1842f5 100644
--- a/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js
+++ b/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js
@@ -1,7 +1,7 @@
var classApplyDescriptorSet = require("./classApplyDescriptorSet.js");
-var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js");
+var classPrivateFieldGet2 = require("./classPrivateFieldGet2.js");
function _classPrivateFieldSet(receiver, privateMap, value) {
- var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
+ var descriptor = classPrivateFieldGet2(privateMap, receiver);
classApplyDescriptorSet(receiver, descriptor, value);
return value;
}
diff --git a/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js b/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js
index 6a8436da..cfa4e76a 100644
--- a/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js
+++ b/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js
@@ -1,7 +1,6 @@
+var assertClassBrand = require("./assertClassBrand.js");
function _classPrivateMethodGet(receiver, privateSet, fn) {
- if (!privateSet.has(receiver)) {
- throw new TypeError("attempted to get private field on non-instance");
- }
+ assertClassBrand(privateSet, receiver);
return fn;
}
module.exports = _classPrivateMethodGet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js
index 734aaafa..873630f9 100644
--- a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js
+++ b/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js
@@ -1,8 +1,8 @@
var classApplyDescriptorDestructureSet = require("./classApplyDescriptorDestructureSet.js");
-var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js");
+var assertClassBrand = require("./assertClassBrand.js");
var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js");
function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) {
- classCheckPrivateStaticAccess(receiver, classConstructor);
+ assertClassBrand(classConstructor, receiver);
classCheckPrivateStaticFieldDescriptor(descriptor, "set");
return classApplyDescriptorDestructureSet(receiver, descriptor);
}
diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js
index e8e295f4..b8959592 100644
--- a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js
+++ b/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js
@@ -1,8 +1,8 @@
var classApplyDescriptorGet = require("./classApplyDescriptorGet.js");
-var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js");
+var assertClassBrand = require("./assertClassBrand.js");
var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js");
function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
- classCheckPrivateStaticAccess(receiver, classConstructor);
+ assertClassBrand(classConstructor, receiver);
classCheckPrivateStaticFieldDescriptor(descriptor, "get");
return classApplyDescriptorGet(receiver, descriptor);
}
diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
index b02e4c01..e64e859a 100644
--- a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
+++ b/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
@@ -1,8 +1,8 @@
var classApplyDescriptorSet = require("./classApplyDescriptorSet.js");
-var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js");
+var assertClassBrand = require("./assertClassBrand.js");
var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js");
function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
- classCheckPrivateStaticAccess(receiver, classConstructor);
+ assertClassBrand(classConstructor, receiver);
classCheckPrivateStaticFieldDescriptor(descriptor, "set");
classApplyDescriptorSet(receiver, descriptor, value);
return value;
diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js
index d3bb9968..b92343f8 100644
--- a/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js
+++ b/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js
@@ -1,6 +1,6 @@
-var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js");
+var assertClassBrand = require("./assertClassBrand.js");
function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
- classCheckPrivateStaticAccess(receiver, classConstructor);
+ assertClassBrand(classConstructor, receiver);
return method;
}
module.exports = _classStaticPrivateMethodGet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/dispose.js b/node_modules/@babel/runtime/helpers/dispose.js
index 8adb204c..c20193ca 100644
--- a/node_modules/@babel/runtime/helpers/dispose.js
+++ b/node_modules/@babel/runtime/helpers/dispose.js
@@ -1,6 +1,6 @@
function dispose_SuppressedError(r, e) {
return "undefined" != typeof SuppressedError ? dispose_SuppressedError = SuppressedError : (dispose_SuppressedError = function dispose_SuppressedError(r, e) {
- this.suppressed = r, this.error = e, this.stack = new Error().stack;
+ this.suppressed = e, this.error = r, this.stack = Error().stack;
}, dispose_SuppressedError.prototype = Object.create(Error.prototype, {
constructor: {
value: dispose_SuppressedError,
@@ -21,7 +21,7 @@ function _dispose(r, e, s) {
if (s) throw e;
}
function err(r) {
- return e = s ? new dispose_SuppressedError(r, e) : r, s = !0, next();
+ return e = s ? new dispose_SuppressedError(e, r) : r, s = !0, next();
}
return next();
}
diff --git a/node_modules/@babel/runtime/helpers/esm/applyDecs.js b/node_modules/@babel/runtime/helpers/esm/applyDecs.js
index ea771ab2..fe11cde8 100644
--- a/node_modules/@babel/runtime/helpers/esm/applyDecs.js
+++ b/node_modules/@babel/runtime/helpers/esm/applyDecs.js
@@ -101,7 +101,7 @@ function old_memberDec(e, t, a, r, o, i, n, l, s) {
}
}
function old_assertNotFinished(e, t) {
- if (e.v) throw new Error("attempted to call " + t + " after decoration was finished");
+ if (e.v) throw Error("attempted to call " + t + " after decoration was finished");
}
function old_assertMetadataKey(e) {
if ("symbol" != _typeof(e)) throw new TypeError("Metadata keys must be symbols, received: " + e);
@@ -118,7 +118,7 @@ function old_assertValidReturnValue(e, t) {
}
function old_getInit(e) {
var t;
- return null == (t = e.init) && (t = e.initializer) && "undefined" != typeof console && console.warn(".initializer has been renamed to .init as of March 2022"), t;
+ return null == (t = e.init) && (t = e.initializer) && void 0 !== console && console.warn(".initializer has been renamed to .init as of March 2022"), t;
}
function old_applyMemberDec(e, t, a, r, o, i, n, l, s) {
var c,
@@ -190,7 +190,7 @@ function old_applyMemberDecs(e, t, a, r, o) {
if (m ? (u = t, f = r, 0 != (v -= 5) && (p = n = n || [])) : (u = t.prototype, f = a, 0 !== v && (p = i = i || [])), 0 !== v && !h) {
var b = m ? s : l,
g = b.get(y) || 0;
- if (!0 === g || 3 === g && 4 !== v || 4 === g && 3 !== v) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + y);
+ if (!0 === g || 3 === g && 4 !== v || 4 === g && 3 !== v) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + y);
!g && v > 2 ? b.set(y, v) : b.set(y, !0);
}
old_applyMemberDec(e, u, d, y, v, m, h, f, p);
diff --git a/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js b/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js
index 9aa12bdb..d0d076b8 100644
--- a/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js
+++ b/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js
@@ -3,7 +3,7 @@ function applyDecs2203Factory() {
function createAddInitializerMethod(e, t) {
return function (r) {
!function (e, t) {
- if (e.v) throw new Error("attempted to call addInitializer after decoration was finished");
+ if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
}(t), assertCallable(r, "An initializer"), e.push(r);
};
}
@@ -146,7 +146,7 @@ function applyDecs2203Factory() {
if (h ? (l = t, 0 != (f -= 5) && (u = n = n || [])) : (l = t.prototype, 0 !== f && (u = a = a || [])), 0 !== f && !d) {
var v = h ? s : i,
g = v.get(p) || 0;
- if (!0 === g || 3 === g && 4 !== f || 4 === g && 3 !== f) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + p);
+ if (!0 === g || 3 === g && 4 !== f || 4 === g && 3 !== f) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + p);
!g && f > 2 ? v.set(p, f) : v.set(p, !0);
}
applyMemberDec(e, l, c, p, f, h, d, u);
diff --git a/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js b/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js
index fd974d1e..b7edfcf2 100644
--- a/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js
+++ b/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js
@@ -5,7 +5,7 @@ function applyDecs2203RFactory() {
function createAddInitializerMethod(e, t) {
return function (r) {
!function (e, t) {
- if (e.v) throw new Error("attempted to call addInitializer after decoration was finished");
+ if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
}(t), assertCallable(r, "An initializer"), e.push(r);
};
}
@@ -141,7 +141,7 @@ function applyDecs2203RFactory() {
if (h ? (l = e, 0 != (f -= 5) && (u = n = n || [])) : (l = e.prototype, 0 !== f && (u = r = r || [])), 0 !== f && !d) {
var v = h ? o : i,
g = v.get(p) || 0;
- if (!0 === g || 3 === g && 4 !== f || 4 === g && 3 !== f) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + p);
+ if (!0 === g || 3 === g && 4 !== f || 4 === g && 3 !== f) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + p);
!g && f > 2 ? v.set(p, f) : v.set(p, !0);
}
applyMemberDec(a, l, c, p, f, h, d, u);
diff --git a/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js b/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js
index e131b005..7dd52e80 100644
--- a/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js
+++ b/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js
@@ -6,7 +6,7 @@ function applyDecs2301Factory() {
function createAddInitializerMethod(e, t) {
return function (r) {
!function (e, t) {
- if (e.v) throw new Error("attempted to call addInitializer after decoration was finished");
+ if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
}(t), assertCallable(r, "An initializer"), e.push(r);
};
}
@@ -172,7 +172,7 @@ function applyDecs2301Factory() {
}), g = i) : (f = e.prototype, 0 !== d && (p = n = n || [])), 0 !== d && !v) {
var m = y ? c : o,
b = m.get(h) || 0;
- if (!0 === b || 3 === b && 4 !== d || 4 === b && 3 !== d) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
+ if (!0 === b || 3 === b && 4 !== d || 4 === b && 3 !== d) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
!b && d > 2 ? m.set(h, d) : m.set(h, !0);
}
applyMemberDec(s, f, l, h, d, y, v, p, g);
diff --git a/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js b/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js
index 602841af..f4cbda6f 100644
--- a/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js
+++ b/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js
@@ -47,7 +47,7 @@ export default function applyDecs2305(e, t, r, n, o, a) {
name: n,
metadata: a,
addInitializer: function (e, t) {
- if (e.v) throw new Error("attempted to call addInitializer after decoration was finished");
+ if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
s(t, "An initializer", "be", !0), c.push(t);
}.bind(null, I)
};
@@ -114,7 +114,7 @@ export default function applyDecs2305(e, t, r, n, o, a) {
b = h + "/" + v;
if (!g && !m) {
var w = u.get(b);
- if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
+ if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
u.set(b, !(d > 2) || d);
}
applyDec(v ? e : e.prototype, p, y, m ? "#" + h : toPropertyKey(h), d, n, v ? a = a || [] : o = o || [], i, v, m, g, 1 === d, v && m ? s : r);
diff --git a/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js b/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js
index 098ed309..6778e732 100644
--- a/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js
+++ b/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js
@@ -1,5 +1,4 @@
-export default function _classCheckPrivateStaticAccess(receiver, classConstructor) {
- if (receiver !== classConstructor) {
- throw new TypeError("Private static access of wrong provenance");
- }
+import assertClassBrand from "./assertClassBrand.js";
+export default function _classCheckPrivateStaticAccess(receiver, classConstructor, returnValue) {
+ return assertClassBrand(classConstructor, receiver, returnValue);
} \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js b/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js
index 1a8d71ba..72f59f8e 100644
--- a/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js
+++ b/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js
@@ -1,6 +1,4 @@
-export default function _classExtractFieldDescriptor(receiver, privateMap, action) {
- if (!privateMap.has(receiver)) {
- throw new TypeError("attempted to " + action + " private field on non-instance");
- }
- return privateMap.get(receiver);
+import classPrivateFieldGet2 from "./classPrivateFieldGet2.js";
+export default function _classExtractFieldDescriptor(receiver, privateMap) {
+ return classPrivateFieldGet2(privateMap, receiver);
} \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js
index fb588336..f6ca5cdd 100644
--- a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js
+++ b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js
@@ -1,6 +1,6 @@
import classApplyDescriptorDestructureSet from "./classApplyDescriptorDestructureSet.js";
-import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js";
+import classPrivateFieldGet2 from "./classPrivateFieldGet2.js";
export default function _classPrivateFieldDestructureSet(receiver, privateMap) {
- var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
+ var descriptor = classPrivateFieldGet2(privateMap, receiver);
return classApplyDescriptorDestructureSet(receiver, descriptor);
} \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js
index 53cd1379..f5ecf4d3 100644
--- a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js
+++ b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js
@@ -1,6 +1,6 @@
import classApplyDescriptorGet from "./classApplyDescriptorGet.js";
-import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js";
+import classPrivateFieldGet2 from "./classPrivateFieldGet2.js";
export default function _classPrivateFieldGet(receiver, privateMap) {
- var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get");
+ var descriptor = classPrivateFieldGet2(privateMap, receiver);
return classApplyDescriptorGet(receiver, descriptor);
} \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js
index ad91be44..de550c29 100644
--- a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js
+++ b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js
@@ -1,7 +1,7 @@
import classApplyDescriptorSet from "./classApplyDescriptorSet.js";
-import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js";
+import classPrivateFieldGet2 from "./classPrivateFieldGet2.js";
export default function _classPrivateFieldSet(receiver, privateMap, value) {
- var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
+ var descriptor = classPrivateFieldGet2(privateMap, receiver);
classApplyDescriptorSet(receiver, descriptor, value);
return value;
} \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js
index f32a3da8..68d03821 100644
--- a/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js
+++ b/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js
@@ -1,6 +1,5 @@
+import assertClassBrand from "./assertClassBrand.js";
export default function _classPrivateMethodGet(receiver, privateSet, fn) {
- if (!privateSet.has(receiver)) {
- throw new TypeError("attempted to get private field on non-instance");
- }
+ assertClassBrand(privateSet, receiver);
return fn;
} \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js
index 77afcfb1..10243742 100644
--- a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js
+++ b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js
@@ -1,8 +1,8 @@
import classApplyDescriptorDestructureSet from "./classApplyDescriptorDestructureSet.js";
-import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js";
+import assertClassBrand from "./assertClassBrand.js";
import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js";
export default function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) {
- classCheckPrivateStaticAccess(receiver, classConstructor);
+ assertClassBrand(classConstructor, receiver);
classCheckPrivateStaticFieldDescriptor(descriptor, "set");
return classApplyDescriptorDestructureSet(receiver, descriptor);
} \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js
index d253d311..3da1d145 100644
--- a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js
+++ b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js
@@ -1,8 +1,8 @@
import classApplyDescriptorGet from "./classApplyDescriptorGet.js";
-import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js";
+import assertClassBrand from "./assertClassBrand.js";
import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js";
export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
- classCheckPrivateStaticAccess(receiver, classConstructor);
+ assertClassBrand(classConstructor, receiver);
classCheckPrivateStaticFieldDescriptor(descriptor, "get");
return classApplyDescriptorGet(receiver, descriptor);
} \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js
index b0b0cc64..b080552e 100644
--- a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js
+++ b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js
@@ -1,8 +1,8 @@
import classApplyDescriptorSet from "./classApplyDescriptorSet.js";
-import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js";
+import assertClassBrand from "./assertClassBrand.js";
import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js";
export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
- classCheckPrivateStaticAccess(receiver, classConstructor);
+ assertClassBrand(classConstructor, receiver);
classCheckPrivateStaticFieldDescriptor(descriptor, "set");
classApplyDescriptorSet(receiver, descriptor, value);
return value;
diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js
index fddc7b2d..7bdd1690 100644
--- a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js
+++ b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js
@@ -1,5 +1,5 @@
-import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js";
+import assertClassBrand from "./assertClassBrand.js";
export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
- classCheckPrivateStaticAccess(receiver, classConstructor);
+ assertClassBrand(classConstructor, receiver);
return method;
} \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/esm/dispose.js b/node_modules/@babel/runtime/helpers/esm/dispose.js
index 17db67f1..8bcb79d5 100644
--- a/node_modules/@babel/runtime/helpers/esm/dispose.js
+++ b/node_modules/@babel/runtime/helpers/esm/dispose.js
@@ -1,6 +1,6 @@
function dispose_SuppressedError(r, e) {
return "undefined" != typeof SuppressedError ? dispose_SuppressedError = SuppressedError : (dispose_SuppressedError = function dispose_SuppressedError(r, e) {
- this.suppressed = r, this.error = e, this.stack = new Error().stack;
+ this.suppressed = e, this.error = r, this.stack = Error().stack;
}, dispose_SuppressedError.prototype = Object.create(Error.prototype, {
constructor: {
value: dispose_SuppressedError,
@@ -21,7 +21,7 @@ export default function _dispose(r, e, s) {
if (s) throw e;
}
function err(r) {
- return e = s ? new dispose_SuppressedError(r, e) : r, s = !0, next();
+ return e = s ? new dispose_SuppressedError(e, r) : r, s = !0, next();
}
return next();
} \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js b/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js
index c42e2dbe..df1fbc8f 100644
--- a/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js
+++ b/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js
@@ -18,7 +18,7 @@ export default function _interopRequireWildcard(e, r) {
__proto__: null
},
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
- for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
+ for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
}
diff --git a/node_modules/@babel/runtime/helpers/esm/jsx.js b/node_modules/@babel/runtime/helpers/esm/jsx.js
index 46d40c5d..c4fa68c3 100644
--- a/node_modules/@babel/runtime/helpers/esm/jsx.js
+++ b/node_modules/@babel/runtime/helpers/esm/jsx.js
@@ -6,7 +6,7 @@ export default function _createRawReactElement(e, r, E, l) {
if (r || 0 === n || (r = {
children: void 0
}), 1 === n) r.children = l;else if (n > 1) {
- for (var t = new Array(n), f = 0; f < n; f++) t[f] = arguments[f + 3];
+ for (var t = Array(n), f = 0; f < n; f++) t[f] = arguments[f + 3];
r.children = t;
}
if (r && o) for (var i in o) void 0 === r[i] && (r[i] = o[i]);else r || (r = o || {});
diff --git a/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js b/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
index 4b308bde..032d96ca 100644
--- a/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
+++ b/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
@@ -1,12 +1,11 @@
export default function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
var target = {};
- var sourceKeys = Object.keys(source);
- var key, i;
- for (i = 0; i < sourceKeys.length; i++) {
- key = sourceKeys[i];
- if (excluded.indexOf(key) >= 0) continue;
- target[key] = source[key];
+ for (var key in source) {
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
+ if (excluded.indexOf(key) >= 0) continue;
+ target[key] = source[key];
+ }
}
return target;
} \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js b/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
index 108e50c6..2c0a400a 100644
--- a/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
+++ b/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
@@ -108,7 +108,7 @@ export default function _regeneratorRuntime() {
function makeInvokeMethod(e, r, n) {
var o = h;
return function (i, a) {
- if (o === f) throw new Error("Generator is already running");
+ if (o === f) throw Error("Generator is already running");
if (o === s) {
if ("throw" === i) throw a;
return {
@@ -250,7 +250,7 @@ export default function _regeneratorRuntime() {
} else if (c) {
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
} else {
- if (!u) throw new Error("try statement without catch or finally");
+ if (!u) throw Error("try statement without catch or finally");
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
}
}
@@ -290,7 +290,7 @@ export default function _regeneratorRuntime() {
return o;
}
}
- throw new Error("illegal catch attempt");
+ throw Error("illegal catch attempt");
},
delegateYield: function delegateYield(e, r, n) {
return this.delegate = {
diff --git a/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js b/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
index dbbe92bd..3cda5c5c 100644
--- a/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
+++ b/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
@@ -2,5 +2,5 @@ import _typeof from "./typeof.js";
import toPrimitive from "./toPrimitive.js";
export default function toPropertyKey(t) {
var i = toPrimitive(t, "string");
- return "symbol" == _typeof(i) ? i : String(i);
+ return "symbol" == _typeof(i) ? i : i + "";
} \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js b/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js
index f4cff77e..1d22b169 100644
--- a/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js
+++ b/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js
@@ -8,7 +8,7 @@ export default function _wrapRegExp() {
var e = RegExp.prototype,
r = new WeakMap();
function BabelRegExp(e, t, p) {
- var o = new RegExp(e, t);
+ var o = RegExp(e, t);
return r.set(o, p || r.get(e)), setPrototypeOf(o, BabelRegExp.prototype);
}
function buildGroups(e, t) {
diff --git a/node_modules/@babel/runtime/helpers/interopRequireWildcard.js b/node_modules/@babel/runtime/helpers/interopRequireWildcard.js
index 6868bb1f..41411cc3 100644
--- a/node_modules/@babel/runtime/helpers/interopRequireWildcard.js
+++ b/node_modules/@babel/runtime/helpers/interopRequireWildcard.js
@@ -18,7 +18,7 @@ function _interopRequireWildcard(e, r) {
__proto__: null
},
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
- for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
+ for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
}
diff --git a/node_modules/@babel/runtime/helpers/jsx.js b/node_modules/@babel/runtime/helpers/jsx.js
index 1d111a8f..3415eead 100644
--- a/node_modules/@babel/runtime/helpers/jsx.js
+++ b/node_modules/@babel/runtime/helpers/jsx.js
@@ -6,7 +6,7 @@ function _createRawReactElement(e, r, E, l) {
if (r || 0 === n || (r = {
children: void 0
}), 1 === n) r.children = l;else if (n > 1) {
- for (var t = new Array(n), f = 0; f < n; f++) t[f] = arguments[f + 3];
+ for (var t = Array(n), f = 0; f < n; f++) t[f] = arguments[f + 3];
r.children = t;
}
if (r && o) for (var i in o) void 0 === r[i] && (r[i] = o[i]);else r || (r = o || {});
diff --git a/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js b/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
index 3c65a9db..658b254a 100644
--- a/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
+++ b/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
@@ -1,12 +1,11 @@
function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
var target = {};
- var sourceKeys = Object.keys(source);
- var key, i;
- for (i = 0; i < sourceKeys.length; i++) {
- key = sourceKeys[i];
- if (excluded.indexOf(key) >= 0) continue;
- target[key] = source[key];
+ for (var key in source) {
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
+ if (excluded.indexOf(key) >= 0) continue;
+ target[key] = source[key];
+ }
}
return target;
}
diff --git a/node_modules/@babel/runtime/helpers/regeneratorRuntime.js b/node_modules/@babel/runtime/helpers/regeneratorRuntime.js
index 0801b064..f33e4945 100644
--- a/node_modules/@babel/runtime/helpers/regeneratorRuntime.js
+++ b/node_modules/@babel/runtime/helpers/regeneratorRuntime.js
@@ -108,7 +108,7 @@ function _regeneratorRuntime() {
function makeInvokeMethod(e, r, n) {
var o = h;
return function (i, a) {
- if (o === f) throw new Error("Generator is already running");
+ if (o === f) throw Error("Generator is already running");
if (o === s) {
if ("throw" === i) throw a;
return {
@@ -250,7 +250,7 @@ function _regeneratorRuntime() {
} else if (c) {
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
} else {
- if (!u) throw new Error("try statement without catch or finally");
+ if (!u) throw Error("try statement without catch or finally");
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
}
}
@@ -290,7 +290,7 @@ function _regeneratorRuntime() {
return o;
}
}
- throw new Error("illegal catch attempt");
+ throw Error("illegal catch attempt");
},
delegateYield: function delegateYield(e, r, n) {
return this.delegate = {
diff --git a/node_modules/@babel/runtime/helpers/toPropertyKey.js b/node_modules/@babel/runtime/helpers/toPropertyKey.js
index ff3983e8..3ca3d4fc 100644
--- a/node_modules/@babel/runtime/helpers/toPropertyKey.js
+++ b/node_modules/@babel/runtime/helpers/toPropertyKey.js
@@ -2,6 +2,6 @@ var _typeof = require("./typeof.js")["default"];
var toPrimitive = require("./toPrimitive.js");
function toPropertyKey(t) {
var i = toPrimitive(t, "string");
- return "symbol" == _typeof(i) ? i : String(i);
+ return "symbol" == _typeof(i) ? i : i + "";
}
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file
diff --git a/node_modules/@babel/runtime/helpers/wrapRegExp.js b/node_modules/@babel/runtime/helpers/wrapRegExp.js
index b1046638..c5271688 100644
--- a/node_modules/@babel/runtime/helpers/wrapRegExp.js
+++ b/node_modules/@babel/runtime/helpers/wrapRegExp.js
@@ -8,7 +8,7 @@ function _wrapRegExp() {
var e = RegExp.prototype,
r = new WeakMap();
function BabelRegExp(e, t, p) {
- var o = new RegExp(e, t);
+ var o = RegExp(e, t);
return r.set(o, p || r.get(e)), setPrototypeOf(o, BabelRegExp.prototype);
}
function buildGroups(e, t) {