Updated the files.
This commit is contained in:
parent
1553e6b971
commit
753967d4f5
23418 changed files with 3784666 additions and 0 deletions
49
my-app/node_modules/@babel/helpers/lib/helpers-generated.js
generated
vendored
Executable file
49
my-app/node_modules/@babel/helpers/lib/helpers-generated.js
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
1
my-app/node_modules/@babel/helpers/lib/helpers-generated.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers-generated.js.map
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
1677
my-app/node_modules/@babel/helpers/lib/helpers.js
generated
vendored
Executable file
1677
my-app/node_modules/@babel/helpers/lib/helpers.js
generated
vendored
Executable file
File diff suppressed because it is too large
Load diff
1
my-app/node_modules/@babel/helpers/lib/helpers.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers.js.map
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
92
my-app/node_modules/@babel/helpers/lib/helpers/AsyncGenerator.js
generated
vendored
Executable file
92
my-app/node_modules/@babel/helpers/lib/helpers/AsyncGenerator.js
generated
vendored
Executable file
|
|
@ -0,0 +1,92 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = AsyncGenerator;
|
||||
var _OverloadYield = require("OverloadYield");
|
||||
function AsyncGenerator(gen) {
|
||||
var front, back;
|
||||
function send(key, arg) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
var request = {
|
||||
key: key,
|
||||
arg: arg,
|
||||
resolve: resolve,
|
||||
reject: reject,
|
||||
next: null
|
||||
};
|
||||
if (back) {
|
||||
back = back.next = request;
|
||||
} else {
|
||||
front = back = request;
|
||||
resume(key, arg);
|
||||
}
|
||||
});
|
||||
}
|
||||
function resume(key, arg) {
|
||||
try {
|
||||
var result = gen[key](arg);
|
||||
var value = result.value;
|
||||
var overloaded = value instanceof _OverloadYield;
|
||||
Promise.resolve(overloaded ? value.v : value).then(function (arg) {
|
||||
if (overloaded) {
|
||||
var nextKey = key === "return" ? "return" : "next";
|
||||
if (!value.k || arg.done) {
|
||||
return resume(nextKey, arg);
|
||||
} else {
|
||||
arg = gen[nextKey](arg).value;
|
||||
}
|
||||
}
|
||||
settle(result.done ? "return" : "normal", arg);
|
||||
}, function (err) {
|
||||
resume("throw", err);
|
||||
});
|
||||
} catch (err) {
|
||||
settle("throw", err);
|
||||
}
|
||||
}
|
||||
function settle(type, value) {
|
||||
switch (type) {
|
||||
case "return":
|
||||
front.resolve({
|
||||
value: value,
|
||||
done: true
|
||||
});
|
||||
break;
|
||||
case "throw":
|
||||
front.reject(value);
|
||||
break;
|
||||
default:
|
||||
front.resolve({
|
||||
value: value,
|
||||
done: false
|
||||
});
|
||||
break;
|
||||
}
|
||||
front = front.next;
|
||||
if (front) {
|
||||
resume(front.key, front.arg);
|
||||
} else {
|
||||
back = null;
|
||||
}
|
||||
}
|
||||
this._invoke = send;
|
||||
if (typeof gen.return !== "function") {
|
||||
this.return = undefined;
|
||||
}
|
||||
}
|
||||
AsyncGenerator.prototype[typeof Symbol === "function" && Symbol.asyncIterator || "@@asyncIterator"] = function () {
|
||||
return this;
|
||||
};
|
||||
AsyncGenerator.prototype.next = function (arg) {
|
||||
return this._invoke("next", arg);
|
||||
};
|
||||
AsyncGenerator.prototype.throw = function (arg) {
|
||||
return this._invoke("throw", arg);
|
||||
};
|
||||
AsyncGenerator.prototype.return = function (arg) {
|
||||
return this._invoke("return", arg);
|
||||
};
|
||||
|
||||
//# sourceMappingURL=AsyncGenerator.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/AsyncGenerator.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/AsyncGenerator.js.map
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
12
my-app/node_modules/@babel/helpers/lib/helpers/OverloadYield.js
generated
vendored
Executable file
12
my-app/node_modules/@babel/helpers/lib/helpers/OverloadYield.js
generated
vendored
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _OverloadYield;
|
||||
function _OverloadYield(value, kind) {
|
||||
this.v = value;
|
||||
this.k = kind;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=OverloadYield.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/OverloadYield.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/OverloadYield.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_OverloadYield","value","kind","v","k"],"sources":["../../src/helpers/OverloadYield.js"],"sourcesContent":["/* @minVersion 7.18.14 */\n\n/*\n * 'kind' is an enum:\n * 0 => This yield was an await expression\n * 1 => This yield comes from yield*\n */\nexport default function _OverloadYield(value, kind) {\n this.v = value;\n this.k = kind;\n}\n"],"mappings":";;;;;;AAOe,SAASA,cAAcA,CAACC,KAAK,EAAEC,IAAI,EAAE;EAClD,IAAI,CAACC,CAAC,GAAGF,KAAK;EACd,IAAI,CAACG,CAAC,GAAGF,IAAI;AACf"}
|
||||
459
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs.js
generated
vendored
Executable file
459
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs.js
generated
vendored
Executable file
|
|
@ -0,0 +1,459 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = applyDecs;
|
||||
var _setFunctionName = require("setFunctionName");
|
||||
var _toPropertyKey = require("toPropertyKey");
|
||||
function old_createMetadataMethodsForProperty(metadataMap, kind, property, decoratorFinishedRef) {
|
||||
return {
|
||||
getMetadata: function (key) {
|
||||
old_assertNotFinished(decoratorFinishedRef, "getMetadata");
|
||||
old_assertMetadataKey(key);
|
||||
var metadataForKey = metadataMap[key];
|
||||
if (metadataForKey === void 0) return void 0;
|
||||
if (kind === 1) {
|
||||
var pub = metadataForKey.public;
|
||||
if (pub !== void 0) {
|
||||
return pub[property];
|
||||
}
|
||||
} else if (kind === 2) {
|
||||
var priv = metadataForKey.private;
|
||||
if (priv !== void 0) {
|
||||
return priv.get(property);
|
||||
}
|
||||
} else if (Object.hasOwnProperty.call(metadataForKey, "constructor")) {
|
||||
return metadataForKey.constructor;
|
||||
}
|
||||
},
|
||||
setMetadata: function (key, value) {
|
||||
old_assertNotFinished(decoratorFinishedRef, "setMetadata");
|
||||
old_assertMetadataKey(key);
|
||||
var metadataForKey = metadataMap[key];
|
||||
if (metadataForKey === void 0) {
|
||||
metadataForKey = metadataMap[key] = {};
|
||||
}
|
||||
if (kind === 1) {
|
||||
var pub = metadataForKey.public;
|
||||
if (pub === void 0) {
|
||||
pub = metadataForKey.public = {};
|
||||
}
|
||||
pub[property] = value;
|
||||
} else if (kind === 2) {
|
||||
var priv = metadataForKey.priv;
|
||||
if (priv === void 0) {
|
||||
priv = metadataForKey.private = new Map();
|
||||
}
|
||||
priv.set(property, value);
|
||||
} else {
|
||||
metadataForKey.constructor = value;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
function old_convertMetadataMapToFinal(obj, metadataMap) {
|
||||
var parentMetadataMap = obj[Symbol.metadata || Symbol.for("Symbol.metadata")];
|
||||
var metadataKeys = Object.getOwnPropertySymbols(metadataMap);
|
||||
if (metadataKeys.length === 0) return;
|
||||
for (var i = 0; i < metadataKeys.length; i++) {
|
||||
var key = metadataKeys[i];
|
||||
var metaForKey = metadataMap[key];
|
||||
var parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null;
|
||||
var pub = metaForKey.public;
|
||||
var parentPub = parentMetaForKey ? parentMetaForKey.public : null;
|
||||
if (pub && parentPub) {
|
||||
Object.setPrototypeOf(pub, parentPub);
|
||||
}
|
||||
var priv = metaForKey.private;
|
||||
if (priv) {
|
||||
var privArr = Array.from(priv.values());
|
||||
var parentPriv = parentMetaForKey ? parentMetaForKey.private : null;
|
||||
if (parentPriv) {
|
||||
privArr = privArr.concat(parentPriv);
|
||||
}
|
||||
metaForKey.private = privArr;
|
||||
}
|
||||
if (parentMetaForKey) {
|
||||
Object.setPrototypeOf(metaForKey, parentMetaForKey);
|
||||
}
|
||||
}
|
||||
if (parentMetadataMap) {
|
||||
Object.setPrototypeOf(metadataMap, parentMetadataMap);
|
||||
}
|
||||
obj[Symbol.metadata || Symbol.for("Symbol.metadata")] = metadataMap;
|
||||
}
|
||||
function old_createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
||||
return function addInitializer(initializer) {
|
||||
old_assertNotFinished(decoratorFinishedRef, "addInitializer");
|
||||
old_assertCallable(initializer, "An initializer");
|
||||
initializers.push(initializer);
|
||||
};
|
||||
}
|
||||
function old_memberDec(dec, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value) {
|
||||
var kindStr;
|
||||
switch (kind) {
|
||||
case 1:
|
||||
kindStr = "accessor";
|
||||
break;
|
||||
case 2:
|
||||
kindStr = "method";
|
||||
break;
|
||||
case 3:
|
||||
kindStr = "getter";
|
||||
break;
|
||||
case 4:
|
||||
kindStr = "setter";
|
||||
break;
|
||||
default:
|
||||
kindStr = "field";
|
||||
}
|
||||
var ctx = {
|
||||
kind: kindStr,
|
||||
name: isPrivate ? "#" + name : _toPropertyKey(name),
|
||||
isStatic: isStatic,
|
||||
isPrivate: isPrivate
|
||||
};
|
||||
var decoratorFinishedRef = {
|
||||
v: false
|
||||
};
|
||||
if (kind !== 0) {
|
||||
ctx.addInitializer = old_createAddInitializerMethod(initializers, decoratorFinishedRef);
|
||||
}
|
||||
var metadataKind, metadataName;
|
||||
if (isPrivate) {
|
||||
metadataKind = 2;
|
||||
metadataName = Symbol(name);
|
||||
var access = {};
|
||||
if (kind === 0) {
|
||||
access.get = desc.get;
|
||||
access.set = desc.set;
|
||||
} else if (kind === 2) {
|
||||
access.get = function () {
|
||||
return desc.value;
|
||||
};
|
||||
} else {
|
||||
if (kind === 1 || kind === 3) {
|
||||
access.get = function () {
|
||||
return desc.get.call(this);
|
||||
};
|
||||
}
|
||||
if (kind === 1 || kind === 4) {
|
||||
access.set = function (v) {
|
||||
desc.set.call(this, v);
|
||||
};
|
||||
}
|
||||
}
|
||||
ctx.access = access;
|
||||
} else {
|
||||
metadataKind = 1;
|
||||
metadataName = name;
|
||||
}
|
||||
try {
|
||||
return dec(value, Object.assign(ctx, old_createMetadataMethodsForProperty(metadataMap, metadataKind, metadataName, decoratorFinishedRef)));
|
||||
} finally {
|
||||
decoratorFinishedRef.v = true;
|
||||
}
|
||||
}
|
||||
function old_assertNotFinished(decoratorFinishedRef, fnName) {
|
||||
if (decoratorFinishedRef.v) {
|
||||
throw new Error("attempted to call " + fnName + " after decoration was finished");
|
||||
}
|
||||
}
|
||||
function old_assertMetadataKey(key) {
|
||||
if (typeof key !== "symbol") {
|
||||
throw new TypeError("Metadata keys must be symbols, received: " + key);
|
||||
}
|
||||
}
|
||||
function old_assertCallable(fn, hint) {
|
||||
if (typeof fn !== "function") {
|
||||
throw new TypeError(hint + " must be a function");
|
||||
}
|
||||
}
|
||||
function old_assertValidReturnValue(kind, value) {
|
||||
var type = typeof value;
|
||||
if (kind === 1) {
|
||||
if (type !== "object" || value === null) {
|
||||
throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
|
||||
}
|
||||
if (value.get !== undefined) {
|
||||
old_assertCallable(value.get, "accessor.get");
|
||||
}
|
||||
if (value.set !== undefined) {
|
||||
old_assertCallable(value.set, "accessor.set");
|
||||
}
|
||||
if (value.init !== undefined) {
|
||||
old_assertCallable(value.init, "accessor.init");
|
||||
}
|
||||
if (value.initializer !== undefined) {
|
||||
old_assertCallable(value.initializer, "accessor.initializer");
|
||||
}
|
||||
} else if (type !== "function") {
|
||||
var hint;
|
||||
if (kind === 0) {
|
||||
hint = "field";
|
||||
} else if (kind === 10) {
|
||||
hint = "class";
|
||||
} else {
|
||||
hint = "method";
|
||||
}
|
||||
throw new TypeError(hint + " decorators must return a function or void 0");
|
||||
}
|
||||
}
|
||||
function old_getInit(desc) {
|
||||
var initializer;
|
||||
if ((initializer = desc.init) == null && (initializer = desc.initializer) && typeof console !== "undefined") {
|
||||
console.warn(".initializer has been renamed to .init as of March 2022");
|
||||
}
|
||||
return initializer;
|
||||
}
|
||||
function old_applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers) {
|
||||
var decs = decInfo[0];
|
||||
var desc, initializer, prefix, value;
|
||||
if (isPrivate) {
|
||||
if (kind === 0 || kind === 1) {
|
||||
desc = {
|
||||
get: decInfo[3],
|
||||
set: decInfo[4]
|
||||
};
|
||||
prefix = "get";
|
||||
} else if (kind === 3) {
|
||||
desc = {
|
||||
get: decInfo[3]
|
||||
};
|
||||
prefix = "get";
|
||||
} else if (kind === 4) {
|
||||
desc = {
|
||||
set: decInfo[3]
|
||||
};
|
||||
prefix = "set";
|
||||
} else {
|
||||
desc = {
|
||||
value: decInfo[3]
|
||||
};
|
||||
}
|
||||
if (kind !== 0) {
|
||||
if (kind === 1) {
|
||||
_setFunctionName(decInfo[4], "#" + name, "set");
|
||||
}
|
||||
_setFunctionName(decInfo[3], "#" + name, prefix);
|
||||
}
|
||||
} else if (kind !== 0) {
|
||||
desc = Object.getOwnPropertyDescriptor(base, name);
|
||||
}
|
||||
if (kind === 1) {
|
||||
value = {
|
||||
get: desc.get,
|
||||
set: desc.set
|
||||
};
|
||||
} else if (kind === 2) {
|
||||
value = desc.value;
|
||||
} else if (kind === 3) {
|
||||
value = desc.get;
|
||||
} else if (kind === 4) {
|
||||
value = desc.set;
|
||||
}
|
||||
var newValue, get, set;
|
||||
if (typeof decs === "function") {
|
||||
newValue = old_memberDec(decs, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value);
|
||||
if (newValue !== void 0) {
|
||||
old_assertValidReturnValue(kind, newValue);
|
||||
if (kind === 0) {
|
||||
initializer = newValue;
|
||||
} else if (kind === 1) {
|
||||
initializer = old_getInit(newValue);
|
||||
get = newValue.get || value.get;
|
||||
set = newValue.set || value.set;
|
||||
value = {
|
||||
get: get,
|
||||
set: set
|
||||
};
|
||||
} else {
|
||||
value = newValue;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
for (var i = decs.length - 1; i >= 0; i--) {
|
||||
var dec = decs[i];
|
||||
newValue = old_memberDec(dec, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value);
|
||||
if (newValue !== void 0) {
|
||||
old_assertValidReturnValue(kind, newValue);
|
||||
var newInit;
|
||||
if (kind === 0) {
|
||||
newInit = newValue;
|
||||
} else if (kind === 1) {
|
||||
newInit = old_getInit(newValue);
|
||||
get = newValue.get || value.get;
|
||||
set = newValue.set || value.set;
|
||||
value = {
|
||||
get: get,
|
||||
set: set
|
||||
};
|
||||
} else {
|
||||
value = newValue;
|
||||
}
|
||||
if (newInit !== void 0) {
|
||||
if (initializer === void 0) {
|
||||
initializer = newInit;
|
||||
} else if (typeof initializer === "function") {
|
||||
initializer = [initializer, newInit];
|
||||
} else {
|
||||
initializer.push(newInit);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (kind === 0 || kind === 1) {
|
||||
if (initializer === void 0) {
|
||||
initializer = function (instance, init) {
|
||||
return init;
|
||||
};
|
||||
} else if (typeof initializer !== "function") {
|
||||
var ownInitializers = initializer;
|
||||
initializer = function (instance, init) {
|
||||
var value = init;
|
||||
for (var i = 0; i < ownInitializers.length; i++) {
|
||||
value = ownInitializers[i].call(instance, value);
|
||||
}
|
||||
return value;
|
||||
};
|
||||
} else {
|
||||
var originalInitializer = initializer;
|
||||
initializer = function (instance, init) {
|
||||
return originalInitializer.call(instance, init);
|
||||
};
|
||||
}
|
||||
ret.push(initializer);
|
||||
}
|
||||
if (kind !== 0) {
|
||||
if (kind === 1) {
|
||||
desc.get = value.get;
|
||||
desc.set = value.set;
|
||||
} else if (kind === 2) {
|
||||
desc.value = value;
|
||||
} else if (kind === 3) {
|
||||
desc.get = value;
|
||||
} else if (kind === 4) {
|
||||
desc.set = value;
|
||||
}
|
||||
if (isPrivate) {
|
||||
if (kind === 1) {
|
||||
ret.push(function (instance, args) {
|
||||
return value.get.call(instance, args);
|
||||
});
|
||||
ret.push(function (instance, args) {
|
||||
return value.set.call(instance, args);
|
||||
});
|
||||
} else if (kind === 2) {
|
||||
ret.push(value);
|
||||
} else {
|
||||
ret.push(function (instance, args) {
|
||||
return value.call(instance, args);
|
||||
});
|
||||
}
|
||||
} else {
|
||||
Object.defineProperty(base, name, desc);
|
||||
}
|
||||
}
|
||||
}
|
||||
function old_applyMemberDecs(ret, Class, protoMetadataMap, staticMetadataMap, decInfos) {
|
||||
var protoInitializers;
|
||||
var staticInitializers;
|
||||
var existingProtoNonFields = new Map();
|
||||
var existingStaticNonFields = new Map();
|
||||
for (var i = 0; i < decInfos.length; i++) {
|
||||
var decInfo = decInfos[i];
|
||||
if (!Array.isArray(decInfo)) continue;
|
||||
var kind = decInfo[1];
|
||||
var name = decInfo[2];
|
||||
var isPrivate = decInfo.length > 3;
|
||||
var isStatic = kind >= 5;
|
||||
var base;
|
||||
var metadataMap;
|
||||
var initializers;
|
||||
if (isStatic) {
|
||||
base = Class;
|
||||
metadataMap = staticMetadataMap;
|
||||
kind = kind - 5;
|
||||
if (kind !== 0) {
|
||||
staticInitializers = staticInitializers || [];
|
||||
initializers = staticInitializers;
|
||||
}
|
||||
} else {
|
||||
base = Class.prototype;
|
||||
metadataMap = protoMetadataMap;
|
||||
if (kind !== 0) {
|
||||
protoInitializers = protoInitializers || [];
|
||||
initializers = protoInitializers;
|
||||
}
|
||||
}
|
||||
if (kind !== 0 && !isPrivate) {
|
||||
var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields;
|
||||
var existingKind = existingNonFields.get(name) || 0;
|
||||
if (existingKind === true || existingKind === 3 && kind !== 4 || existingKind === 4 && kind !== 3) {
|
||||
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: " + name);
|
||||
} else if (!existingKind && kind > 2) {
|
||||
existingNonFields.set(name, kind);
|
||||
} else {
|
||||
existingNonFields.set(name, true);
|
||||
}
|
||||
}
|
||||
old_applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers);
|
||||
}
|
||||
old_pushInitializers(ret, protoInitializers);
|
||||
old_pushInitializers(ret, staticInitializers);
|
||||
}
|
||||
function old_pushInitializers(ret, initializers) {
|
||||
if (initializers) {
|
||||
ret.push(function (instance) {
|
||||
for (var i = 0; i < initializers.length; i++) {
|
||||
initializers[i].call(instance);
|
||||
}
|
||||
return instance;
|
||||
});
|
||||
}
|
||||
}
|
||||
function old_applyClassDecs(ret, targetClass, metadataMap, classDecs) {
|
||||
if (classDecs.length > 0) {
|
||||
var initializers = [];
|
||||
var newClass = targetClass;
|
||||
var name = targetClass.name;
|
||||
for (var i = classDecs.length - 1; i >= 0; i--) {
|
||||
var decoratorFinishedRef = {
|
||||
v: false
|
||||
};
|
||||
try {
|
||||
var ctx = Object.assign({
|
||||
kind: "class",
|
||||
name: name,
|
||||
addInitializer: old_createAddInitializerMethod(initializers, decoratorFinishedRef)
|
||||
}, old_createMetadataMethodsForProperty(metadataMap, 0, name, decoratorFinishedRef));
|
||||
var nextNewClass = classDecs[i](newClass, ctx);
|
||||
} finally {
|
||||
decoratorFinishedRef.v = true;
|
||||
}
|
||||
if (nextNewClass !== undefined) {
|
||||
old_assertValidReturnValue(10, nextNewClass);
|
||||
newClass = nextNewClass;
|
||||
}
|
||||
}
|
||||
ret.push(newClass, function () {
|
||||
for (var i = 0; i < initializers.length; i++) {
|
||||
initializers[i].call(newClass);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
function applyDecs(targetClass, memberDecs, classDecs) {
|
||||
var ret = [];
|
||||
var staticMetadataMap = {};
|
||||
var protoMetadataMap = {};
|
||||
old_applyMemberDecs(ret, targetClass, protoMetadataMap, staticMetadataMap, memberDecs);
|
||||
old_convertMetadataMapToFinal(targetClass.prototype, protoMetadataMap);
|
||||
old_applyClassDecs(ret, targetClass, staticMetadataMap, classDecs);
|
||||
old_convertMetadataMapToFinal(targetClass, staticMetadataMap);
|
||||
return ret;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=applyDecs.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs.js.map
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
363
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js
generated
vendored
Executable file
363
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js
generated
vendored
Executable file
|
|
@ -0,0 +1,363 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = applyDecs2203;
|
||||
function applyDecs2203Factory() {
|
||||
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
||||
return function addInitializer(initializer) {
|
||||
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
||||
assertCallable(initializer, "An initializer");
|
||||
initializers.push(initializer);
|
||||
};
|
||||
}
|
||||
function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value) {
|
||||
var kindStr;
|
||||
switch (kind) {
|
||||
case 1:
|
||||
kindStr = "accessor";
|
||||
break;
|
||||
case 2:
|
||||
kindStr = "method";
|
||||
break;
|
||||
case 3:
|
||||
kindStr = "getter";
|
||||
break;
|
||||
case 4:
|
||||
kindStr = "setter";
|
||||
break;
|
||||
default:
|
||||
kindStr = "field";
|
||||
}
|
||||
var ctx = {
|
||||
kind: kindStr,
|
||||
name: isPrivate ? "#" + name : name,
|
||||
static: isStatic,
|
||||
private: isPrivate
|
||||
};
|
||||
var decoratorFinishedRef = {
|
||||
v: false
|
||||
};
|
||||
if (kind !== 0) {
|
||||
ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef);
|
||||
}
|
||||
var get, set;
|
||||
if (kind === 0) {
|
||||
if (isPrivate) {
|
||||
get = desc.get;
|
||||
set = desc.set;
|
||||
} else {
|
||||
get = function () {
|
||||
return this[name];
|
||||
};
|
||||
set = function (v) {
|
||||
this[name] = v;
|
||||
};
|
||||
}
|
||||
} else if (kind === 2) {
|
||||
get = function () {
|
||||
return desc.value;
|
||||
};
|
||||
} else {
|
||||
if (kind === 1 || kind === 3) {
|
||||
get = function () {
|
||||
return desc.get.call(this);
|
||||
};
|
||||
}
|
||||
if (kind === 1 || kind === 4) {
|
||||
set = function (v) {
|
||||
desc.set.call(this, v);
|
||||
};
|
||||
}
|
||||
}
|
||||
ctx.access = get && set ? {
|
||||
get: get,
|
||||
set: set
|
||||
} : get ? {
|
||||
get: get
|
||||
} : {
|
||||
set: set
|
||||
};
|
||||
try {
|
||||
return dec(value, ctx);
|
||||
} finally {
|
||||
decoratorFinishedRef.v = true;
|
||||
}
|
||||
}
|
||||
function assertNotFinished(decoratorFinishedRef, fnName) {
|
||||
if (decoratorFinishedRef.v) {
|
||||
throw new Error("attempted to call " + fnName + " after decoration was finished");
|
||||
}
|
||||
}
|
||||
function assertCallable(fn, hint) {
|
||||
if (typeof fn !== "function") {
|
||||
throw new TypeError(hint + " must be a function");
|
||||
}
|
||||
}
|
||||
function assertValidReturnValue(kind, value) {
|
||||
var type = typeof value;
|
||||
if (kind === 1) {
|
||||
if (type !== "object" || value === null) {
|
||||
throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
|
||||
}
|
||||
if (value.get !== undefined) {
|
||||
assertCallable(value.get, "accessor.get");
|
||||
}
|
||||
if (value.set !== undefined) {
|
||||
assertCallable(value.set, "accessor.set");
|
||||
}
|
||||
if (value.init !== undefined) {
|
||||
assertCallable(value.init, "accessor.init");
|
||||
}
|
||||
} else if (type !== "function") {
|
||||
var hint;
|
||||
if (kind === 0) {
|
||||
hint = "field";
|
||||
} else if (kind === 10) {
|
||||
hint = "class";
|
||||
} else {
|
||||
hint = "method";
|
||||
}
|
||||
throw new TypeError(hint + " decorators must return a function or void 0");
|
||||
}
|
||||
}
|
||||
function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) {
|
||||
var decs = decInfo[0];
|
||||
var desc, init, value;
|
||||
if (isPrivate) {
|
||||
if (kind === 0 || kind === 1) {
|
||||
desc = {
|
||||
get: decInfo[3],
|
||||
set: decInfo[4]
|
||||
};
|
||||
} else if (kind === 3) {
|
||||
desc = {
|
||||
get: decInfo[3]
|
||||
};
|
||||
} else if (kind === 4) {
|
||||
desc = {
|
||||
set: decInfo[3]
|
||||
};
|
||||
} else {
|
||||
desc = {
|
||||
value: decInfo[3]
|
||||
};
|
||||
}
|
||||
} else if (kind !== 0) {
|
||||
desc = Object.getOwnPropertyDescriptor(base, name);
|
||||
}
|
||||
if (kind === 1) {
|
||||
value = {
|
||||
get: desc.get,
|
||||
set: desc.set
|
||||
};
|
||||
} else if (kind === 2) {
|
||||
value = desc.value;
|
||||
} else if (kind === 3) {
|
||||
value = desc.get;
|
||||
} else if (kind === 4) {
|
||||
value = desc.set;
|
||||
}
|
||||
var newValue, get, set;
|
||||
if (typeof decs === "function") {
|
||||
newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value);
|
||||
if (newValue !== void 0) {
|
||||
assertValidReturnValue(kind, newValue);
|
||||
if (kind === 0) {
|
||||
init = newValue;
|
||||
} else if (kind === 1) {
|
||||
init = newValue.init;
|
||||
get = newValue.get || value.get;
|
||||
set = newValue.set || value.set;
|
||||
value = {
|
||||
get: get,
|
||||
set: set
|
||||
};
|
||||
} else {
|
||||
value = newValue;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
for (var i = decs.length - 1; i >= 0; i--) {
|
||||
var dec = decs[i];
|
||||
newValue = memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value);
|
||||
if (newValue !== void 0) {
|
||||
assertValidReturnValue(kind, newValue);
|
||||
var newInit;
|
||||
if (kind === 0) {
|
||||
newInit = newValue;
|
||||
} else if (kind === 1) {
|
||||
newInit = newValue.init;
|
||||
get = newValue.get || value.get;
|
||||
set = newValue.set || value.set;
|
||||
value = {
|
||||
get: get,
|
||||
set: set
|
||||
};
|
||||
} else {
|
||||
value = newValue;
|
||||
}
|
||||
if (newInit !== void 0) {
|
||||
if (init === void 0) {
|
||||
init = newInit;
|
||||
} else if (typeof init === "function") {
|
||||
init = [init, newInit];
|
||||
} else {
|
||||
init.push(newInit);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (kind === 0 || kind === 1) {
|
||||
if (init === void 0) {
|
||||
init = function (instance, init) {
|
||||
return init;
|
||||
};
|
||||
} else if (typeof init !== "function") {
|
||||
var ownInitializers = init;
|
||||
init = function (instance, init) {
|
||||
var value = init;
|
||||
for (var i = 0; i < ownInitializers.length; i++) {
|
||||
value = ownInitializers[i].call(instance, value);
|
||||
}
|
||||
return value;
|
||||
};
|
||||
} else {
|
||||
var originalInitializer = init;
|
||||
init = function (instance, init) {
|
||||
return originalInitializer.call(instance, init);
|
||||
};
|
||||
}
|
||||
ret.push(init);
|
||||
}
|
||||
if (kind !== 0) {
|
||||
if (kind === 1) {
|
||||
desc.get = value.get;
|
||||
desc.set = value.set;
|
||||
} else if (kind === 2) {
|
||||
desc.value = value;
|
||||
} else if (kind === 3) {
|
||||
desc.get = value;
|
||||
} else if (kind === 4) {
|
||||
desc.set = value;
|
||||
}
|
||||
if (isPrivate) {
|
||||
if (kind === 1) {
|
||||
ret.push(function (instance, args) {
|
||||
return value.get.call(instance, args);
|
||||
});
|
||||
ret.push(function (instance, args) {
|
||||
return value.set.call(instance, args);
|
||||
});
|
||||
} else if (kind === 2) {
|
||||
ret.push(value);
|
||||
} else {
|
||||
ret.push(function (instance, args) {
|
||||
return value.call(instance, args);
|
||||
});
|
||||
}
|
||||
} else {
|
||||
Object.defineProperty(base, name, desc);
|
||||
}
|
||||
}
|
||||
}
|
||||
function applyMemberDecs(ret, Class, decInfos) {
|
||||
var protoInitializers;
|
||||
var staticInitializers;
|
||||
var existingProtoNonFields = new Map();
|
||||
var existingStaticNonFields = new Map();
|
||||
for (var i = 0; i < decInfos.length; i++) {
|
||||
var decInfo = decInfos[i];
|
||||
if (!Array.isArray(decInfo)) continue;
|
||||
var kind = decInfo[1];
|
||||
var name = decInfo[2];
|
||||
var isPrivate = decInfo.length > 3;
|
||||
var isStatic = kind >= 5;
|
||||
var base;
|
||||
var initializers;
|
||||
if (isStatic) {
|
||||
base = Class;
|
||||
kind = kind - 5;
|
||||
if (kind !== 0) {
|
||||
staticInitializers = staticInitializers || [];
|
||||
initializers = staticInitializers;
|
||||
}
|
||||
} else {
|
||||
base = Class.prototype;
|
||||
if (kind !== 0) {
|
||||
protoInitializers = protoInitializers || [];
|
||||
initializers = protoInitializers;
|
||||
}
|
||||
}
|
||||
if (kind !== 0 && !isPrivate) {
|
||||
var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields;
|
||||
var existingKind = existingNonFields.get(name) || 0;
|
||||
if (existingKind === true || existingKind === 3 && kind !== 4 || existingKind === 4 && kind !== 3) {
|
||||
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: " + name);
|
||||
} else if (!existingKind && kind > 2) {
|
||||
existingNonFields.set(name, kind);
|
||||
} else {
|
||||
existingNonFields.set(name, true);
|
||||
}
|
||||
}
|
||||
applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers);
|
||||
}
|
||||
pushInitializers(ret, protoInitializers);
|
||||
pushInitializers(ret, staticInitializers);
|
||||
}
|
||||
function pushInitializers(ret, initializers) {
|
||||
if (initializers) {
|
||||
ret.push(function (instance) {
|
||||
for (var i = 0; i < initializers.length; i++) {
|
||||
initializers[i].call(instance);
|
||||
}
|
||||
return instance;
|
||||
});
|
||||
}
|
||||
}
|
||||
function applyClassDecs(ret, targetClass, classDecs) {
|
||||
if (classDecs.length > 0) {
|
||||
var initializers = [];
|
||||
var newClass = targetClass;
|
||||
var name = targetClass.name;
|
||||
for (var i = classDecs.length - 1; i >= 0; i--) {
|
||||
var decoratorFinishedRef = {
|
||||
v: false
|
||||
};
|
||||
try {
|
||||
var nextNewClass = classDecs[i](newClass, {
|
||||
kind: "class",
|
||||
name: name,
|
||||
addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef)
|
||||
});
|
||||
} finally {
|
||||
decoratorFinishedRef.v = true;
|
||||
}
|
||||
if (nextNewClass !== undefined) {
|
||||
assertValidReturnValue(10, nextNewClass);
|
||||
newClass = nextNewClass;
|
||||
}
|
||||
}
|
||||
ret.push(newClass, function () {
|
||||
for (var i = 0; i < initializers.length; i++) {
|
||||
initializers[i].call(newClass);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
return function applyDecs2203Impl(targetClass, memberDecs, classDecs) {
|
||||
var ret = [];
|
||||
applyMemberDecs(ret, targetClass, memberDecs);
|
||||
applyClassDecs(ret, targetClass, classDecs);
|
||||
return ret;
|
||||
};
|
||||
}
|
||||
var applyDecs2203Impl;
|
||||
function applyDecs2203(targetClass, memberDecs, classDecs) {
|
||||
applyDecs2203Impl = applyDecs2203Impl || applyDecs2203Factory();
|
||||
return applyDecs2203Impl(targetClass, memberDecs, classDecs);
|
||||
}
|
||||
|
||||
//# sourceMappingURL=applyDecs2203.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js.map
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
376
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js
generated
vendored
Executable file
376
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js
generated
vendored
Executable file
|
|
@ -0,0 +1,376 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = applyDecs2203R;
|
||||
var _setFunctionName = require("setFunctionName");
|
||||
var _toPropertyKey = require("toPropertyKey");
|
||||
function applyDecs2203RFactory() {
|
||||
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
||||
return function addInitializer(initializer) {
|
||||
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
||||
assertCallable(initializer, "An initializer");
|
||||
initializers.push(initializer);
|
||||
};
|
||||
}
|
||||
function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value) {
|
||||
var kindStr;
|
||||
switch (kind) {
|
||||
case 1:
|
||||
kindStr = "accessor";
|
||||
break;
|
||||
case 2:
|
||||
kindStr = "method";
|
||||
break;
|
||||
case 3:
|
||||
kindStr = "getter";
|
||||
break;
|
||||
case 4:
|
||||
kindStr = "setter";
|
||||
break;
|
||||
default:
|
||||
kindStr = "field";
|
||||
}
|
||||
var ctx = {
|
||||
kind: kindStr,
|
||||
name: isPrivate ? "#" + name : _toPropertyKey(name),
|
||||
static: isStatic,
|
||||
private: isPrivate
|
||||
};
|
||||
var decoratorFinishedRef = {
|
||||
v: false
|
||||
};
|
||||
if (kind !== 0) {
|
||||
ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef);
|
||||
}
|
||||
var get, set;
|
||||
if (kind === 0) {
|
||||
if (isPrivate) {
|
||||
get = desc.get;
|
||||
set = desc.set;
|
||||
} else {
|
||||
get = function () {
|
||||
return this[name];
|
||||
};
|
||||
set = function (v) {
|
||||
this[name] = v;
|
||||
};
|
||||
}
|
||||
} else if (kind === 2) {
|
||||
get = function () {
|
||||
return desc.value;
|
||||
};
|
||||
} else {
|
||||
if (kind === 1 || kind === 3) {
|
||||
get = function () {
|
||||
return desc.get.call(this);
|
||||
};
|
||||
}
|
||||
if (kind === 1 || kind === 4) {
|
||||
set = function (v) {
|
||||
desc.set.call(this, v);
|
||||
};
|
||||
}
|
||||
}
|
||||
ctx.access = get && set ? {
|
||||
get: get,
|
||||
set: set
|
||||
} : get ? {
|
||||
get: get
|
||||
} : {
|
||||
set: set
|
||||
};
|
||||
try {
|
||||
return dec(value, ctx);
|
||||
} finally {
|
||||
decoratorFinishedRef.v = true;
|
||||
}
|
||||
}
|
||||
function assertNotFinished(decoratorFinishedRef, fnName) {
|
||||
if (decoratorFinishedRef.v) {
|
||||
throw new Error("attempted to call " + fnName + " after decoration was finished");
|
||||
}
|
||||
}
|
||||
function assertCallable(fn, hint) {
|
||||
if (typeof fn !== "function") {
|
||||
throw new TypeError(hint + " must be a function");
|
||||
}
|
||||
}
|
||||
function assertValidReturnValue(kind, value) {
|
||||
var type = typeof value;
|
||||
if (kind === 1) {
|
||||
if (type !== "object" || value === null) {
|
||||
throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
|
||||
}
|
||||
if (value.get !== undefined) {
|
||||
assertCallable(value.get, "accessor.get");
|
||||
}
|
||||
if (value.set !== undefined) {
|
||||
assertCallable(value.set, "accessor.set");
|
||||
}
|
||||
if (value.init !== undefined) {
|
||||
assertCallable(value.init, "accessor.init");
|
||||
}
|
||||
} else if (type !== "function") {
|
||||
var hint;
|
||||
if (kind === 0) {
|
||||
hint = "field";
|
||||
} else if (kind === 10) {
|
||||
hint = "class";
|
||||
} else {
|
||||
hint = "method";
|
||||
}
|
||||
throw new TypeError(hint + " decorators must return a function or void 0");
|
||||
}
|
||||
}
|
||||
function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) {
|
||||
var decs = decInfo[0];
|
||||
var desc, init, prefix, value;
|
||||
if (isPrivate) {
|
||||
if (kind === 0 || kind === 1) {
|
||||
desc = {
|
||||
get: decInfo[3],
|
||||
set: decInfo[4]
|
||||
};
|
||||
prefix = "get";
|
||||
} else if (kind === 3) {
|
||||
desc = {
|
||||
get: decInfo[3]
|
||||
};
|
||||
prefix = "get";
|
||||
} else if (kind === 4) {
|
||||
desc = {
|
||||
set: decInfo[3]
|
||||
};
|
||||
prefix = "set";
|
||||
} else {
|
||||
desc = {
|
||||
value: decInfo[3]
|
||||
};
|
||||
}
|
||||
if (kind !== 0) {
|
||||
if (kind === 1) {
|
||||
_setFunctionName(decInfo[4], "#" + name, "set");
|
||||
}
|
||||
_setFunctionName(decInfo[3], "#" + name, prefix);
|
||||
}
|
||||
} else if (kind !== 0) {
|
||||
desc = Object.getOwnPropertyDescriptor(base, name);
|
||||
}
|
||||
if (kind === 1) {
|
||||
value = {
|
||||
get: desc.get,
|
||||
set: desc.set
|
||||
};
|
||||
} else if (kind === 2) {
|
||||
value = desc.value;
|
||||
} else if (kind === 3) {
|
||||
value = desc.get;
|
||||
} else if (kind === 4) {
|
||||
value = desc.set;
|
||||
}
|
||||
var newValue, get, set;
|
||||
if (typeof decs === "function") {
|
||||
newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value);
|
||||
if (newValue !== void 0) {
|
||||
assertValidReturnValue(kind, newValue);
|
||||
if (kind === 0) {
|
||||
init = newValue;
|
||||
} else if (kind === 1) {
|
||||
init = newValue.init;
|
||||
get = newValue.get || value.get;
|
||||
set = newValue.set || value.set;
|
||||
value = {
|
||||
get: get,
|
||||
set: set
|
||||
};
|
||||
} else {
|
||||
value = newValue;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
for (var i = decs.length - 1; i >= 0; i--) {
|
||||
var dec = decs[i];
|
||||
newValue = memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value);
|
||||
if (newValue !== void 0) {
|
||||
assertValidReturnValue(kind, newValue);
|
||||
var newInit;
|
||||
if (kind === 0) {
|
||||
newInit = newValue;
|
||||
} else if (kind === 1) {
|
||||
newInit = newValue.init;
|
||||
get = newValue.get || value.get;
|
||||
set = newValue.set || value.set;
|
||||
value = {
|
||||
get: get,
|
||||
set: set
|
||||
};
|
||||
} else {
|
||||
value = newValue;
|
||||
}
|
||||
if (newInit !== void 0) {
|
||||
if (init === void 0) {
|
||||
init = newInit;
|
||||
} else if (typeof init === "function") {
|
||||
init = [init, newInit];
|
||||
} else {
|
||||
init.push(newInit);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (kind === 0 || kind === 1) {
|
||||
if (init === void 0) {
|
||||
init = function (instance, init) {
|
||||
return init;
|
||||
};
|
||||
} else if (typeof init !== "function") {
|
||||
var ownInitializers = init;
|
||||
init = function (instance, init) {
|
||||
var value = init;
|
||||
for (var i = 0; i < ownInitializers.length; i++) {
|
||||
value = ownInitializers[i].call(instance, value);
|
||||
}
|
||||
return value;
|
||||
};
|
||||
} else {
|
||||
var originalInitializer = init;
|
||||
init = function (instance, init) {
|
||||
return originalInitializer.call(instance, init);
|
||||
};
|
||||
}
|
||||
ret.push(init);
|
||||
}
|
||||
if (kind !== 0) {
|
||||
if (kind === 1) {
|
||||
desc.get = value.get;
|
||||
desc.set = value.set;
|
||||
} else if (kind === 2) {
|
||||
desc.value = value;
|
||||
} else if (kind === 3) {
|
||||
desc.get = value;
|
||||
} else if (kind === 4) {
|
||||
desc.set = value;
|
||||
}
|
||||
if (isPrivate) {
|
||||
if (kind === 1) {
|
||||
ret.push(function (instance, args) {
|
||||
return value.get.call(instance, args);
|
||||
});
|
||||
ret.push(function (instance, args) {
|
||||
return value.set.call(instance, args);
|
||||
});
|
||||
} else if (kind === 2) {
|
||||
ret.push(value);
|
||||
} else {
|
||||
ret.push(function (instance, args) {
|
||||
return value.call(instance, args);
|
||||
});
|
||||
}
|
||||
} else {
|
||||
Object.defineProperty(base, name, desc);
|
||||
}
|
||||
}
|
||||
}
|
||||
function applyMemberDecs(Class, decInfos) {
|
||||
var ret = [];
|
||||
var protoInitializers;
|
||||
var staticInitializers;
|
||||
var existingProtoNonFields = new Map();
|
||||
var existingStaticNonFields = new Map();
|
||||
for (var i = 0; i < decInfos.length; i++) {
|
||||
var decInfo = decInfos[i];
|
||||
if (!Array.isArray(decInfo)) continue;
|
||||
var kind = decInfo[1];
|
||||
var name = decInfo[2];
|
||||
var isPrivate = decInfo.length > 3;
|
||||
var isStatic = kind >= 5;
|
||||
var base;
|
||||
var initializers;
|
||||
if (isStatic) {
|
||||
base = Class;
|
||||
kind = kind - 5;
|
||||
if (kind !== 0) {
|
||||
staticInitializers = staticInitializers || [];
|
||||
initializers = staticInitializers;
|
||||
}
|
||||
} else {
|
||||
base = Class.prototype;
|
||||
if (kind !== 0) {
|
||||
protoInitializers = protoInitializers || [];
|
||||
initializers = protoInitializers;
|
||||
}
|
||||
}
|
||||
if (kind !== 0 && !isPrivate) {
|
||||
var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields;
|
||||
var existingKind = existingNonFields.get(name) || 0;
|
||||
if (existingKind === true || existingKind === 3 && kind !== 4 || existingKind === 4 && kind !== 3) {
|
||||
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: " + name);
|
||||
} else if (!existingKind && kind > 2) {
|
||||
existingNonFields.set(name, kind);
|
||||
} else {
|
||||
existingNonFields.set(name, true);
|
||||
}
|
||||
}
|
||||
applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers);
|
||||
}
|
||||
pushInitializers(ret, protoInitializers);
|
||||
pushInitializers(ret, staticInitializers);
|
||||
return ret;
|
||||
}
|
||||
function pushInitializers(ret, initializers) {
|
||||
if (initializers) {
|
||||
ret.push(function (instance) {
|
||||
for (var i = 0; i < initializers.length; i++) {
|
||||
initializers[i].call(instance);
|
||||
}
|
||||
return instance;
|
||||
});
|
||||
}
|
||||
}
|
||||
function applyClassDecs(targetClass, classDecs) {
|
||||
if (classDecs.length > 0) {
|
||||
var initializers = [];
|
||||
var newClass = targetClass;
|
||||
var name = targetClass.name;
|
||||
for (var i = classDecs.length - 1; i >= 0; i--) {
|
||||
var decoratorFinishedRef = {
|
||||
v: false
|
||||
};
|
||||
try {
|
||||
var nextNewClass = classDecs[i](newClass, {
|
||||
kind: "class",
|
||||
name: name,
|
||||
addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef)
|
||||
});
|
||||
} finally {
|
||||
decoratorFinishedRef.v = true;
|
||||
}
|
||||
if (nextNewClass !== undefined) {
|
||||
assertValidReturnValue(10, nextNewClass);
|
||||
newClass = nextNewClass;
|
||||
}
|
||||
}
|
||||
return [newClass, function () {
|
||||
for (var i = 0; i < initializers.length; i++) {
|
||||
initializers[i].call(newClass);
|
||||
}
|
||||
}];
|
||||
}
|
||||
}
|
||||
return function applyDecs2203R(targetClass, memberDecs, classDecs) {
|
||||
return {
|
||||
e: applyMemberDecs(targetClass, memberDecs),
|
||||
get c() {
|
||||
return applyClassDecs(targetClass, classDecs);
|
||||
}
|
||||
};
|
||||
};
|
||||
}
|
||||
function applyDecs2203R(targetClass, memberDecs, classDecs) {
|
||||
return (exports.default = applyDecs2203R = applyDecs2203RFactory())(targetClass, memberDecs, classDecs);
|
||||
}
|
||||
|
||||
//# sourceMappingURL=applyDecs2203R.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js.map
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
421
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js
generated
vendored
Executable file
421
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js
generated
vendored
Executable file
|
|
@ -0,0 +1,421 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = applyDecs2301;
|
||||
var _checkInRHS = require("checkInRHS");
|
||||
var _setFunctionName = require("setFunctionName");
|
||||
var _toPropertyKey = require("toPropertyKey");
|
||||
function applyDecs2301Factory() {
|
||||
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
||||
return function addInitializer(initializer) {
|
||||
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
||||
assertCallable(initializer, "An initializer");
|
||||
initializers.push(initializer);
|
||||
};
|
||||
}
|
||||
function assertInstanceIfPrivate(has, target) {
|
||||
if (!has(target)) {
|
||||
throw new TypeError("Attempted to access private element on non-instance");
|
||||
}
|
||||
}
|
||||
function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value, hasPrivateBrand) {
|
||||
var kindStr;
|
||||
switch (kind) {
|
||||
case 1:
|
||||
kindStr = "accessor";
|
||||
break;
|
||||
case 2:
|
||||
kindStr = "method";
|
||||
break;
|
||||
case 3:
|
||||
kindStr = "getter";
|
||||
break;
|
||||
case 4:
|
||||
kindStr = "setter";
|
||||
break;
|
||||
default:
|
||||
kindStr = "field";
|
||||
}
|
||||
var ctx = {
|
||||
kind: kindStr,
|
||||
name: isPrivate ? "#" + name : _toPropertyKey(name),
|
||||
static: isStatic,
|
||||
private: isPrivate
|
||||
};
|
||||
var decoratorFinishedRef = {
|
||||
v: false
|
||||
};
|
||||
if (kind !== 0) {
|
||||
ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef);
|
||||
}
|
||||
var get, set;
|
||||
if (!isPrivate && (kind === 0 || kind === 2)) {
|
||||
get = function (target) {
|
||||
return target[name];
|
||||
};
|
||||
if (kind === 0) {
|
||||
set = function (target, v) {
|
||||
target[name] = v;
|
||||
};
|
||||
}
|
||||
} else if (kind === 2) {
|
||||
get = function (target) {
|
||||
assertInstanceIfPrivate(hasPrivateBrand, target);
|
||||
return desc.value;
|
||||
};
|
||||
} else {
|
||||
var t = kind === 0 || kind === 1;
|
||||
if (t || kind === 3) {
|
||||
if (isPrivate) {
|
||||
get = function (target) {
|
||||
assertInstanceIfPrivate(hasPrivateBrand, target);
|
||||
return desc.get.call(target);
|
||||
};
|
||||
} else {
|
||||
get = function (target) {
|
||||
return desc.get.call(target);
|
||||
};
|
||||
}
|
||||
}
|
||||
if (t || kind === 4) {
|
||||
if (isPrivate) {
|
||||
set = function (target, value) {
|
||||
assertInstanceIfPrivate(hasPrivateBrand, target);
|
||||
desc.set.call(target, value);
|
||||
};
|
||||
} else {
|
||||
set = function (target, value) {
|
||||
desc.set.call(target, value);
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
var has = isPrivate ? hasPrivateBrand.bind() : function (target) {
|
||||
return name in target;
|
||||
};
|
||||
ctx.access = get && set ? {
|
||||
get: get,
|
||||
set: set,
|
||||
has: has
|
||||
} : get ? {
|
||||
get: get,
|
||||
has: has
|
||||
} : {
|
||||
set: set,
|
||||
has: has
|
||||
};
|
||||
try {
|
||||
return dec(value, ctx);
|
||||
} finally {
|
||||
decoratorFinishedRef.v = true;
|
||||
}
|
||||
}
|
||||
function assertNotFinished(decoratorFinishedRef, fnName) {
|
||||
if (decoratorFinishedRef.v) {
|
||||
throw new Error("attempted to call " + fnName + " after decoration was finished");
|
||||
}
|
||||
}
|
||||
function assertCallable(fn, hint) {
|
||||
if (typeof fn !== "function") {
|
||||
throw new TypeError(hint + " must be a function");
|
||||
}
|
||||
}
|
||||
function assertValidReturnValue(kind, value) {
|
||||
var type = typeof value;
|
||||
if (kind === 1) {
|
||||
if (type !== "object" || value === null) {
|
||||
throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
|
||||
}
|
||||
if (value.get !== undefined) {
|
||||
assertCallable(value.get, "accessor.get");
|
||||
}
|
||||
if (value.set !== undefined) {
|
||||
assertCallable(value.set, "accessor.set");
|
||||
}
|
||||
if (value.init !== undefined) {
|
||||
assertCallable(value.init, "accessor.init");
|
||||
}
|
||||
} else if (type !== "function") {
|
||||
var hint;
|
||||
if (kind === 0) {
|
||||
hint = "field";
|
||||
} else if (kind === 10) {
|
||||
hint = "class";
|
||||
} else {
|
||||
hint = "method";
|
||||
}
|
||||
throw new TypeError(hint + " decorators must return a function or void 0");
|
||||
}
|
||||
}
|
||||
function curryThis1(fn) {
|
||||
return function () {
|
||||
return fn(this);
|
||||
};
|
||||
}
|
||||
function curryThis2(fn) {
|
||||
return function (value) {
|
||||
fn(this, value);
|
||||
};
|
||||
}
|
||||
function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers, hasPrivateBrand) {
|
||||
var decs = decInfo[0];
|
||||
var desc, init, prefix, value;
|
||||
if (isPrivate) {
|
||||
if (kind === 0 || kind === 1) {
|
||||
desc = {
|
||||
get: curryThis1(decInfo[3]),
|
||||
set: curryThis2(decInfo[4])
|
||||
};
|
||||
prefix = "get";
|
||||
} else {
|
||||
if (kind === 3) {
|
||||
desc = {
|
||||
get: decInfo[3]
|
||||
};
|
||||
prefix = "get";
|
||||
} else if (kind === 4) {
|
||||
desc = {
|
||||
set: decInfo[3]
|
||||
};
|
||||
prefix = "set";
|
||||
} else {
|
||||
desc = {
|
||||
value: decInfo[3]
|
||||
};
|
||||
}
|
||||
}
|
||||
if (kind !== 0) {
|
||||
if (kind === 1) {
|
||||
_setFunctionName(desc.set, "#" + name, "set");
|
||||
}
|
||||
_setFunctionName(desc[prefix || "value"], "#" + name, prefix);
|
||||
}
|
||||
} else if (kind !== 0) {
|
||||
desc = Object.getOwnPropertyDescriptor(base, name);
|
||||
}
|
||||
if (kind === 1) {
|
||||
value = {
|
||||
get: desc.get,
|
||||
set: desc.set
|
||||
};
|
||||
} else if (kind === 2) {
|
||||
value = desc.value;
|
||||
} else if (kind === 3) {
|
||||
value = desc.get;
|
||||
} else if (kind === 4) {
|
||||
value = desc.set;
|
||||
}
|
||||
var newValue, get, set;
|
||||
if (typeof decs === "function") {
|
||||
newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value, hasPrivateBrand);
|
||||
if (newValue !== void 0) {
|
||||
assertValidReturnValue(kind, newValue);
|
||||
if (kind === 0) {
|
||||
init = newValue;
|
||||
} else if (kind === 1) {
|
||||
init = newValue.init;
|
||||
get = newValue.get || value.get;
|
||||
set = newValue.set || value.set;
|
||||
value = {
|
||||
get: get,
|
||||
set: set
|
||||
};
|
||||
} else {
|
||||
value = newValue;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
for (var i = decs.length - 1; i >= 0; i--) {
|
||||
var dec = decs[i];
|
||||
newValue = memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value, hasPrivateBrand);
|
||||
if (newValue !== void 0) {
|
||||
assertValidReturnValue(kind, newValue);
|
||||
var newInit;
|
||||
if (kind === 0) {
|
||||
newInit = newValue;
|
||||
} else if (kind === 1) {
|
||||
newInit = newValue.init;
|
||||
get = newValue.get || value.get;
|
||||
set = newValue.set || value.set;
|
||||
value = {
|
||||
get: get,
|
||||
set: set
|
||||
};
|
||||
} else {
|
||||
value = newValue;
|
||||
}
|
||||
if (newInit !== void 0) {
|
||||
if (init === void 0) {
|
||||
init = newInit;
|
||||
} else if (typeof init === "function") {
|
||||
init = [init, newInit];
|
||||
} else {
|
||||
init.push(newInit);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (kind === 0 || kind === 1) {
|
||||
if (init === void 0) {
|
||||
init = function (instance, init) {
|
||||
return init;
|
||||
};
|
||||
} else if (typeof init !== "function") {
|
||||
var ownInitializers = init;
|
||||
init = function (instance, init) {
|
||||
var value = init;
|
||||
for (var i = 0; i < ownInitializers.length; i++) {
|
||||
value = ownInitializers[i].call(instance, value);
|
||||
}
|
||||
return value;
|
||||
};
|
||||
} else {
|
||||
var originalInitializer = init;
|
||||
init = function (instance, init) {
|
||||
return originalInitializer.call(instance, init);
|
||||
};
|
||||
}
|
||||
ret.push(init);
|
||||
}
|
||||
if (kind !== 0) {
|
||||
if (kind === 1) {
|
||||
desc.get = value.get;
|
||||
desc.set = value.set;
|
||||
} else if (kind === 2) {
|
||||
desc.value = value;
|
||||
} else if (kind === 3) {
|
||||
desc.get = value;
|
||||
} else if (kind === 4) {
|
||||
desc.set = value;
|
||||
}
|
||||
if (isPrivate) {
|
||||
if (kind === 1) {
|
||||
ret.push(function (instance, args) {
|
||||
return value.get.call(instance, args);
|
||||
});
|
||||
ret.push(function (instance, args) {
|
||||
return value.set.call(instance, args);
|
||||
});
|
||||
} else if (kind === 2) {
|
||||
ret.push(value);
|
||||
} else {
|
||||
ret.push(function (instance, args) {
|
||||
return value.call(instance, args);
|
||||
});
|
||||
}
|
||||
} else {
|
||||
Object.defineProperty(base, name, desc);
|
||||
}
|
||||
}
|
||||
}
|
||||
function applyMemberDecs(Class, decInfos, instanceBrand) {
|
||||
var ret = [];
|
||||
var protoInitializers;
|
||||
var staticInitializers;
|
||||
var staticBrand;
|
||||
var existingProtoNonFields = new Map();
|
||||
var existingStaticNonFields = new Map();
|
||||
for (var i = 0; i < decInfos.length; i++) {
|
||||
var decInfo = decInfos[i];
|
||||
if (!Array.isArray(decInfo)) continue;
|
||||
var kind = decInfo[1];
|
||||
var name = decInfo[2];
|
||||
var isPrivate = decInfo.length > 3;
|
||||
var isStatic = kind >= 5;
|
||||
var base;
|
||||
var initializers;
|
||||
var hasPrivateBrand = instanceBrand;
|
||||
if (isStatic) {
|
||||
base = Class;
|
||||
kind = kind - 5;
|
||||
if (kind !== 0) {
|
||||
staticInitializers = staticInitializers || [];
|
||||
initializers = staticInitializers;
|
||||
}
|
||||
if (isPrivate && !staticBrand) {
|
||||
staticBrand = function (_) {
|
||||
return _checkInRHS(_) === Class;
|
||||
};
|
||||
}
|
||||
hasPrivateBrand = staticBrand;
|
||||
} else {
|
||||
base = Class.prototype;
|
||||
if (kind !== 0) {
|
||||
protoInitializers = protoInitializers || [];
|
||||
initializers = protoInitializers;
|
||||
}
|
||||
}
|
||||
if (kind !== 0 && !isPrivate) {
|
||||
var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields;
|
||||
var existingKind = existingNonFields.get(name) || 0;
|
||||
if (existingKind === true || existingKind === 3 && kind !== 4 || existingKind === 4 && kind !== 3) {
|
||||
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: " + name);
|
||||
} else if (!existingKind && kind > 2) {
|
||||
existingNonFields.set(name, kind);
|
||||
} else {
|
||||
existingNonFields.set(name, true);
|
||||
}
|
||||
}
|
||||
applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers, hasPrivateBrand);
|
||||
}
|
||||
pushInitializers(ret, protoInitializers);
|
||||
pushInitializers(ret, staticInitializers);
|
||||
return ret;
|
||||
}
|
||||
function pushInitializers(ret, initializers) {
|
||||
if (initializers) {
|
||||
ret.push(function (instance) {
|
||||
for (var i = 0; i < initializers.length; i++) {
|
||||
initializers[i].call(instance);
|
||||
}
|
||||
return instance;
|
||||
});
|
||||
}
|
||||
}
|
||||
function applyClassDecs(targetClass, classDecs) {
|
||||
if (classDecs.length > 0) {
|
||||
var initializers = [];
|
||||
var newClass = targetClass;
|
||||
var name = targetClass.name;
|
||||
for (var i = classDecs.length - 1; i >= 0; i--) {
|
||||
var decoratorFinishedRef = {
|
||||
v: false
|
||||
};
|
||||
try {
|
||||
var nextNewClass = classDecs[i](newClass, {
|
||||
kind: "class",
|
||||
name: name,
|
||||
addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef)
|
||||
});
|
||||
} finally {
|
||||
decoratorFinishedRef.v = true;
|
||||
}
|
||||
if (nextNewClass !== undefined) {
|
||||
assertValidReturnValue(10, nextNewClass);
|
||||
newClass = nextNewClass;
|
||||
}
|
||||
}
|
||||
return [newClass, function () {
|
||||
for (var i = 0; i < initializers.length; i++) {
|
||||
initializers[i].call(newClass);
|
||||
}
|
||||
}];
|
||||
}
|
||||
}
|
||||
return function applyDecs2301(targetClass, memberDecs, classDecs, instanceBrand) {
|
||||
return {
|
||||
e: applyMemberDecs(targetClass, memberDecs, instanceBrand),
|
||||
get c() {
|
||||
return applyClassDecs(targetClass, classDecs);
|
||||
}
|
||||
};
|
||||
};
|
||||
}
|
||||
function applyDecs2301(targetClass, memberDecs, classDecs, instanceBrand) {
|
||||
return (exports.default = applyDecs2301 = applyDecs2301Factory())(targetClass, memberDecs, classDecs, instanceBrand);
|
||||
}
|
||||
|
||||
//# sourceMappingURL=applyDecs2301.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js.map
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
235
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js
generated
vendored
Executable file
235
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js
generated
vendored
Executable file
|
|
@ -0,0 +1,235 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = applyDecs2305;
|
||||
var _checkInRHS = require("./checkInRHS.js");
|
||||
var _setFunctionName = require("./setFunctionName.js");
|
||||
var _toPropertyKey = require("./toPropertyKey.js");
|
||||
function applyDecs2305(targetClass, memberDecs, classDecs, classDecsHaveThis, instanceBrand, parentClass) {
|
||||
function _bindPropCall(obj, name, before) {
|
||||
return function (_this, value) {
|
||||
if (before) {
|
||||
before(_this);
|
||||
}
|
||||
return obj[name].call(_this, value);
|
||||
};
|
||||
}
|
||||
function runInitializers(initializers, value) {
|
||||
for (var i = 0; i < initializers.length; i++) {
|
||||
initializers[i].call(value);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
function assertCallable(fn, hint1, hint2, throwUndefined) {
|
||||
if (typeof fn !== "function") {
|
||||
if (throwUndefined || fn !== void 0) {
|
||||
throw new TypeError(hint1 + " must " + (hint2 || "be") + " a function" + (throwUndefined ? "" : " or undefined"));
|
||||
}
|
||||
}
|
||||
return fn;
|
||||
}
|
||||
function applyDec(Class, decInfo, decoratorsHaveThis, name, kind, metadata, initializers, ret, isStatic, isPrivate, isField, isAccessor, hasPrivateBrand) {
|
||||
function assertInstanceIfPrivate(target) {
|
||||
if (!hasPrivateBrand(target)) {
|
||||
throw new TypeError("Attempted to access private element on non-instance");
|
||||
}
|
||||
}
|
||||
var decs = decInfo[0],
|
||||
decVal = decInfo[3],
|
||||
_,
|
||||
isClass = !ret;
|
||||
if (!isClass) {
|
||||
if (!decoratorsHaveThis && !Array.isArray(decs)) {
|
||||
decs = [decs];
|
||||
}
|
||||
var desc = {},
|
||||
init = [],
|
||||
key = kind === 3 ? "get" : kind === 4 || isAccessor ? "set" : "value";
|
||||
if (isPrivate) {
|
||||
if (isField || isAccessor) {
|
||||
desc = {
|
||||
get: (0, _setFunctionName.default)(function () {
|
||||
return decVal(this);
|
||||
}, name, "get"),
|
||||
set: function (value) {
|
||||
decInfo[4](this, value);
|
||||
}
|
||||
};
|
||||
} else {
|
||||
desc[key] = decVal;
|
||||
}
|
||||
if (!isField) {
|
||||
(0, _setFunctionName.default)(desc[key], name, kind === 2 ? "" : key);
|
||||
}
|
||||
} else if (!isField) {
|
||||
desc = Object.getOwnPropertyDescriptor(Class, name);
|
||||
}
|
||||
}
|
||||
var newValue = Class;
|
||||
for (var i = decs.length - 1; i >= 0; i -= decoratorsHaveThis ? 2 : 1) {
|
||||
var dec = decs[i],
|
||||
decThis = decoratorsHaveThis ? decs[i - 1] : void 0;
|
||||
var decoratorFinishedRef = {};
|
||||
var ctx = {
|
||||
kind: ["field", "accessor", "method", "getter", "setter", "class"][kind],
|
||||
name: name,
|
||||
metadata: metadata,
|
||||
addInitializer: function (decoratorFinishedRef, initializer) {
|
||||
if (decoratorFinishedRef.v) {
|
||||
throw new Error("attempted to call addInitializer after decoration was finished");
|
||||
}
|
||||
assertCallable(initializer, "An initializer", "be", true);
|
||||
initializers.push(initializer);
|
||||
}.bind(null, decoratorFinishedRef)
|
||||
};
|
||||
try {
|
||||
if (isClass) {
|
||||
if (_ = assertCallable(dec.call(decThis, newValue, ctx), "class decorators", "return")) {
|
||||
newValue = _;
|
||||
}
|
||||
} else {
|
||||
ctx.static = isStatic;
|
||||
ctx.private = isPrivate;
|
||||
var get, set;
|
||||
if (!isPrivate) {
|
||||
get = function (target) {
|
||||
return target[name];
|
||||
};
|
||||
if (kind < 2 || kind === 4) {
|
||||
set = function (target, v) {
|
||||
target[name] = v;
|
||||
};
|
||||
}
|
||||
} else if (kind === 2) {
|
||||
get = function (_this) {
|
||||
assertInstanceIfPrivate(_this);
|
||||
return desc.value;
|
||||
};
|
||||
} else {
|
||||
if (kind < 4) {
|
||||
get = _bindPropCall(desc, "get", assertInstanceIfPrivate);
|
||||
}
|
||||
if (kind !== 3) {
|
||||
set = _bindPropCall(desc, "set", assertInstanceIfPrivate);
|
||||
}
|
||||
}
|
||||
var access = ctx.access = {
|
||||
has: isPrivate ? hasPrivateBrand.bind() : function (target) {
|
||||
return name in target;
|
||||
}
|
||||
};
|
||||
if (get) access.get = get;
|
||||
if (set) access.set = set;
|
||||
newValue = dec.call(decThis, isAccessor ? {
|
||||
get: desc.get,
|
||||
set: desc.set
|
||||
} : desc[key], ctx);
|
||||
if (isAccessor) {
|
||||
if (typeof newValue === "object" && newValue) {
|
||||
if (_ = assertCallable(newValue.get, "accessor.get")) {
|
||||
desc.get = _;
|
||||
}
|
||||
if (_ = assertCallable(newValue.set, "accessor.set")) {
|
||||
desc.set = _;
|
||||
}
|
||||
if (_ = assertCallable(newValue.init, "accessor.init")) {
|
||||
init.push(_);
|
||||
}
|
||||
} else if (newValue !== void 0) {
|
||||
throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
|
||||
}
|
||||
} else if (assertCallable(newValue, (isField ? "field" : "method") + " decorators", "return")) {
|
||||
if (isField) {
|
||||
init.push(newValue);
|
||||
} else {
|
||||
desc[key] = newValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
decoratorFinishedRef.v = true;
|
||||
}
|
||||
}
|
||||
if (isField || isAccessor) {
|
||||
ret.push(function (instance, value) {
|
||||
for (var i = init.length - 1; i >= 0; i--) {
|
||||
value = init[i].call(instance, value);
|
||||
}
|
||||
return value;
|
||||
});
|
||||
}
|
||||
if (!isField && !isClass) {
|
||||
if (isPrivate) {
|
||||
if (isAccessor) {
|
||||
ret.push(_bindPropCall(desc, "get"), _bindPropCall(desc, "set"));
|
||||
} else {
|
||||
ret.push(kind === 2 ? desc[key] : _bindPropCall.call.bind(desc[key]));
|
||||
}
|
||||
} else {
|
||||
Object.defineProperty(Class, name, desc);
|
||||
}
|
||||
}
|
||||
return newValue;
|
||||
}
|
||||
function applyMemberDecs(Class, decInfos, instanceBrand, metadata) {
|
||||
var ret = [];
|
||||
var protoInitializers;
|
||||
var staticInitializers;
|
||||
var staticBrand = function (_) {
|
||||
return (0, _checkInRHS.default)(_) === Class;
|
||||
};
|
||||
var existingNonFields = new Map();
|
||||
function pushInitializers(initializers) {
|
||||
if (initializers) {
|
||||
ret.push(runInitializers.bind(null, initializers));
|
||||
}
|
||||
}
|
||||
for (var i = 0; i < decInfos.length; i++) {
|
||||
var decInfo = decInfos[i];
|
||||
if (!Array.isArray(decInfo)) continue;
|
||||
var kind = decInfo[1];
|
||||
var name = decInfo[2];
|
||||
var isPrivate = decInfo.length > 3;
|
||||
var decoratorsHaveThis = kind & 16;
|
||||
var isStatic = !!(kind & 8);
|
||||
kind &= 7;
|
||||
var isField = kind === 0;
|
||||
var key = name + "/" + isStatic;
|
||||
if (!isField && !isPrivate) {
|
||||
var existingKind = existingNonFields.get(key);
|
||||
if (existingKind === true || existingKind === 3 && kind !== 4 || existingKind === 4 && kind !== 3) {
|
||||
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: " + name);
|
||||
}
|
||||
existingNonFields.set(key, kind > 2 ? kind : true);
|
||||
}
|
||||
applyDec(isStatic ? Class : Class.prototype, decInfo, decoratorsHaveThis, isPrivate ? "#" + name : (0, _toPropertyKey.default)(name), kind, metadata, isStatic ? staticInitializers = staticInitializers || [] : protoInitializers = protoInitializers || [], ret, isStatic, isPrivate, isField, kind === 1, isStatic && isPrivate ? staticBrand : instanceBrand);
|
||||
}
|
||||
pushInitializers(protoInitializers);
|
||||
pushInitializers(staticInitializers);
|
||||
return ret;
|
||||
}
|
||||
function defineMetadata(Class, metadata) {
|
||||
return Object.defineProperty(Class, Symbol.metadata || Symbol.for("Symbol.metadata"), {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
value: metadata
|
||||
});
|
||||
}
|
||||
if (arguments.length >= 6) {
|
||||
var parentMetadata = parentClass[Symbol.metadata || Symbol.for("Symbol.metadata")];
|
||||
}
|
||||
var metadata = Object.create(parentMetadata == null ? null : parentMetadata);
|
||||
var e = applyMemberDecs(targetClass, memberDecs, instanceBrand, metadata);
|
||||
if (!classDecs.length) defineMetadata(targetClass, metadata);
|
||||
return {
|
||||
e: e,
|
||||
get c() {
|
||||
var initializers = [];
|
||||
return classDecs.length && [defineMetadata(applyDec(targetClass, [classDecs], classDecsHaveThis, targetClass.name, 5, metadata, initializers), metadata), runInitializers.bind(null, initializers, targetClass)];
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
//# sourceMappingURL=applyDecs2305.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js.map
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
52
my-app/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js
generated
vendored
Executable file
52
my-app/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js
generated
vendored
Executable file
|
|
@ -0,0 +1,52 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _asyncGeneratorDelegate;
|
||||
var _OverloadYield = require("OverloadYield");
|
||||
function _asyncGeneratorDelegate(inner) {
|
||||
var iter = {},
|
||||
waiting = false;
|
||||
function pump(key, value) {
|
||||
waiting = true;
|
||||
value = new Promise(function (resolve) {
|
||||
resolve(inner[key](value));
|
||||
});
|
||||
return {
|
||||
done: false,
|
||||
value: new _OverloadYield(value, 1)
|
||||
};
|
||||
}
|
||||
iter[typeof Symbol !== "undefined" && Symbol.iterator || "@@iterator"] = function () {
|
||||
return this;
|
||||
};
|
||||
iter.next = function (value) {
|
||||
if (waiting) {
|
||||
waiting = false;
|
||||
return value;
|
||||
}
|
||||
return pump("next", value);
|
||||
};
|
||||
if (typeof inner.throw === "function") {
|
||||
iter.throw = function (value) {
|
||||
if (waiting) {
|
||||
waiting = false;
|
||||
throw value;
|
||||
}
|
||||
return pump("throw", value);
|
||||
};
|
||||
}
|
||||
if (typeof inner.return === "function") {
|
||||
iter.return = function (value) {
|
||||
if (waiting) {
|
||||
waiting = false;
|
||||
return value;
|
||||
}
|
||||
return pump("return", value);
|
||||
};
|
||||
}
|
||||
return iter;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=asyncGeneratorDelegate.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_OverloadYield","require","_asyncGeneratorDelegate","inner","iter","waiting","pump","key","value","Promise","resolve","done","OverloadYield","Symbol","iterator","next","throw","return"],"sources":["../../src/helpers/asyncGeneratorDelegate.js"],"sourcesContent":["/* @minVersion 7.0.0-beta.0 */\n\nimport OverloadYield from \"OverloadYield\";\n\nexport default function _asyncGeneratorDelegate(inner) {\n var iter = {},\n // See the comment in AsyncGenerator to understand what this is.\n waiting = false;\n\n function pump(key, value) {\n waiting = true;\n value = new Promise(function (resolve) {\n resolve(inner[key](value));\n });\n return {\n done: false,\n value: new OverloadYield(value, /* kind: delegate */ 1),\n };\n }\n\n iter[(typeof Symbol !== \"undefined\" && Symbol.iterator) || \"@@iterator\"] =\n function () {\n return this;\n };\n\n iter.next = function (value) {\n if (waiting) {\n waiting = false;\n return value;\n }\n return pump(\"next\", value);\n };\n\n if (typeof inner.throw === \"function\") {\n iter.throw = function (value) {\n if (waiting) {\n waiting = false;\n throw value;\n }\n return pump(\"throw\", value);\n };\n }\n\n if (typeof inner.return === \"function\") {\n iter.return = function (value) {\n if (waiting) {\n waiting = false;\n return value;\n }\n return pump(\"return\", value);\n };\n }\n\n return iter;\n}\n"],"mappings":";;;;;;AAEA,IAAAA,cAAA,GAAAC,OAAA;AAEe,SAASC,uBAAuBA,CAACC,KAAK,EAAE;EACrD,IAAIC,IAAI,GAAG,CAAC,CAAC;IAEXC,OAAO,GAAG,KAAK;EAEjB,SAASC,IAAIA,CAACC,GAAG,EAAEC,KAAK,EAAE;IACxBH,OAAO,GAAG,IAAI;IACdG,KAAK,GAAG,IAAIC,OAAO,CAAC,UAAUC,OAAO,EAAE;MACrCA,OAAO,CAACP,KAAK,CAACI,GAAG,CAAC,CAACC,KAAK,CAAC,CAAC;IAC5B,CAAC,CAAC;IACF,OAAO;MACLG,IAAI,EAAE,KAAK;MACXH,KAAK,EAAE,IAAII,cAAa,CAACJ,KAAK,EAAuB,CAAC;IACxD,CAAC;EACH;EAEAJ,IAAI,CAAE,OAAOS,MAAM,KAAK,WAAW,IAAIA,MAAM,CAACC,QAAQ,IAAK,YAAY,CAAC,GACtE,YAAY;IACV,OAAO,IAAI;EACb,CAAC;EAEHV,IAAI,CAACW,IAAI,GAAG,UAAUP,KAAK,EAAE;IAC3B,IAAIH,OAAO,EAAE;MACXA,OAAO,GAAG,KAAK;MACf,OAAOG,KAAK;IACd;IACA,OAAOF,IAAI,CAAC,MAAM,EAAEE,KAAK,CAAC;EAC5B,CAAC;EAED,IAAI,OAAOL,KAAK,CAACa,KAAK,KAAK,UAAU,EAAE;IACrCZ,IAAI,CAACY,KAAK,GAAG,UAAUR,KAAK,EAAE;MAC5B,IAAIH,OAAO,EAAE;QACXA,OAAO,GAAG,KAAK;QACf,MAAMG,KAAK;MACb;MACA,OAAOF,IAAI,CAAC,OAAO,EAAEE,KAAK,CAAC;IAC7B,CAAC;EACH;EAEA,IAAI,OAAOL,KAAK,CAACc,MAAM,KAAK,UAAU,EAAE;IACtCb,IAAI,CAACa,MAAM,GAAG,UAAUT,KAAK,EAAE;MAC7B,IAAIH,OAAO,EAAE;QACXA,OAAO,GAAG,KAAK;QACf,OAAOG,KAAK;MACd;MACA,OAAOF,IAAI,CAAC,QAAQ,EAAEE,KAAK,CAAC;IAC9B,CAAC;EACH;EAEA,OAAOJ,IAAI;AACb"}
|
||||
70
my-app/node_modules/@babel/helpers/lib/helpers/asyncIterator.js
generated
vendored
Executable file
70
my-app/node_modules/@babel/helpers/lib/helpers/asyncIterator.js
generated
vendored
Executable file
|
|
@ -0,0 +1,70 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _asyncIterator;
|
||||
function _asyncIterator(iterable) {
|
||||
var method,
|
||||
async,
|
||||
sync,
|
||||
retry = 2;
|
||||
if (typeof Symbol !== "undefined") {
|
||||
async = Symbol.asyncIterator;
|
||||
sync = Symbol.iterator;
|
||||
}
|
||||
while (retry--) {
|
||||
if (async && (method = iterable[async]) != null) {
|
||||
return method.call(iterable);
|
||||
}
|
||||
if (sync && (method = iterable[sync]) != null) {
|
||||
return new AsyncFromSyncIterator(method.call(iterable));
|
||||
}
|
||||
async = "@@asyncIterator";
|
||||
sync = "@@iterator";
|
||||
}
|
||||
throw new TypeError("Object is not async iterable");
|
||||
}
|
||||
function AsyncFromSyncIterator(s) {
|
||||
AsyncFromSyncIterator = function (s) {
|
||||
this.s = s;
|
||||
this.n = s.next;
|
||||
};
|
||||
AsyncFromSyncIterator.prototype = {
|
||||
s: null,
|
||||
n: null,
|
||||
next: function () {
|
||||
return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments));
|
||||
},
|
||||
return: function (value) {
|
||||
var ret = this.s.return;
|
||||
if (ret === undefined) {
|
||||
return Promise.resolve({
|
||||
value: value,
|
||||
done: true
|
||||
});
|
||||
}
|
||||
return AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments));
|
||||
},
|
||||
throw: function (value) {
|
||||
var thr = this.s.return;
|
||||
if (thr === undefined) return Promise.reject(value);
|
||||
return AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments));
|
||||
}
|
||||
};
|
||||
function AsyncFromSyncIteratorContinuation(r) {
|
||||
if (Object(r) !== r) {
|
||||
return Promise.reject(new TypeError(r + " is not an object."));
|
||||
}
|
||||
var done = r.done;
|
||||
return Promise.resolve(r.value).then(function (value) {
|
||||
return {
|
||||
value: value,
|
||||
done: done
|
||||
};
|
||||
});
|
||||
}
|
||||
return new AsyncFromSyncIterator(s);
|
||||
}
|
||||
|
||||
//# sourceMappingURL=asyncIterator.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/asyncIterator.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/asyncIterator.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_asyncIterator","iterable","method","async","sync","retry","Symbol","asyncIterator","iterator","call","AsyncFromSyncIterator","TypeError","s","n","next","prototype","AsyncFromSyncIteratorContinuation","apply","arguments","return","value","ret","undefined","Promise","resolve","done","throw","thr","reject","r","Object","then"],"sources":["../../src/helpers/asyncIterator.js"],"sourcesContent":["/* @minVersion 7.15.9 */\n\nexport default function _asyncIterator(iterable) {\n var method,\n async,\n sync,\n retry = 2;\n\n if (typeof Symbol !== \"undefined\") {\n async = Symbol.asyncIterator;\n sync = Symbol.iterator;\n }\n\n while (retry--) {\n if (async && (method = iterable[async]) != null) {\n return method.call(iterable);\n }\n if (sync && (method = iterable[sync]) != null) {\n return new AsyncFromSyncIterator(method.call(iterable));\n }\n\n async = \"@@asyncIterator\";\n sync = \"@@iterator\";\n }\n\n throw new TypeError(\"Object is not async iterable\");\n}\n\nfunction AsyncFromSyncIterator(s) {\n AsyncFromSyncIterator = function (s) {\n this.s = s;\n this.n = s.next;\n };\n AsyncFromSyncIterator.prototype = {\n /* SyncIterator */ s: null,\n /* SyncIterator.[[Next]] */ n: null,\n next: function () {\n return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments));\n },\n return: function (value) {\n var ret = this.s.return;\n if (ret === undefined) {\n return Promise.resolve({ value: value, done: true });\n }\n return AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments));\n },\n throw: function (value) {\n var thr = this.s.return;\n if (thr === undefined) return Promise.reject(value);\n return AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments));\n },\n };\n\n function AsyncFromSyncIteratorContinuation(r) {\n // This step is _before_ calling AsyncFromSyncIteratorContinuation in the spec.\n if (Object(r) !== r) {\n return Promise.reject(new TypeError(r + \" is not an object.\"));\n }\n\n var done = r.done;\n return Promise.resolve(r.value).then(function (value) {\n return { value: value, done: done };\n });\n }\n\n return new AsyncFromSyncIterator(s);\n}\n"],"mappings":";;;;;;AAEe,SAASA,cAAcA,CAACC,QAAQ,EAAE;EAC/C,IAAIC,MAAM;IACRC,KAAK;IACLC,IAAI;IACJC,KAAK,GAAG,CAAC;EAEX,IAAI,OAAOC,MAAM,KAAK,WAAW,EAAE;IACjCH,KAAK,GAAGG,MAAM,CAACC,aAAa;IAC5BH,IAAI,GAAGE,MAAM,CAACE,QAAQ;EACxB;EAEA,OAAOH,KAAK,EAAE,EAAE;IACd,IAAIF,KAAK,IAAI,CAACD,MAAM,GAAGD,QAAQ,CAACE,KAAK,CAAC,KAAK,IAAI,EAAE;MAC/C,OAAOD,MAAM,CAACO,IAAI,CAACR,QAAQ,CAAC;IAC9B;IACA,IAAIG,IAAI,IAAI,CAACF,MAAM,GAAGD,QAAQ,CAACG,IAAI,CAAC,KAAK,IAAI,EAAE;MAC7C,OAAO,IAAIM,qBAAqB,CAACR,MAAM,CAACO,IAAI,CAACR,QAAQ,CAAC,CAAC;IACzD;IAEAE,KAAK,GAAG,iBAAiB;IACzBC,IAAI,GAAG,YAAY;EACrB;EAEA,MAAM,IAAIO,SAAS,CAAC,8BAA8B,CAAC;AACrD;AAEA,SAASD,qBAAqBA,CAACE,CAAC,EAAE;EAChCF,qBAAqB,GAAG,SAAAA,CAAUE,CAAC,EAAE;IACnC,IAAI,CAACA,CAAC,GAAGA,CAAC;IACV,IAAI,CAACC,CAAC,GAAGD,CAAC,CAACE,IAAI;EACjB,CAAC;EACDJ,qBAAqB,CAACK,SAAS,GAAG;IACbH,CAAC,EAAE,IAAI;IACEC,CAAC,EAAE,IAAI;IACnCC,IAAI,EAAE,SAAAA,CAAA,EAAY;MAChB,OAAOE,iCAAiC,CAAC,IAAI,CAACH,CAAC,CAACI,KAAK,CAAC,IAAI,CAACL,CAAC,EAAEM,SAAS,CAAC,CAAC;IAC3E,CAAC;IACDC,MAAM,EAAE,SAAAA,CAAUC,KAAK,EAAE;MACvB,IAAIC,GAAG,GAAG,IAAI,CAACT,CAAC,CAACO,MAAM;MACvB,IAAIE,GAAG,KAAKC,SAAS,EAAE;QACrB,OAAOC,OAAO,CAACC,OAAO,CAAC;UAAEJ,KAAK,EAAEA,KAAK;UAAEK,IAAI,EAAE;QAAK,CAAC,CAAC;MACtD;MACA,OAAOT,iCAAiC,CAACK,GAAG,CAACJ,KAAK,CAAC,IAAI,CAACL,CAAC,EAAEM,SAAS,CAAC,CAAC;IACxE,CAAC;IACDQ,KAAK,EAAE,SAAAA,CAAUN,KAAK,EAAE;MACtB,IAAIO,GAAG,GAAG,IAAI,CAACf,CAAC,CAACO,MAAM;MACvB,IAAIQ,GAAG,KAAKL,SAAS,EAAE,OAAOC,OAAO,CAACK,MAAM,CAACR,KAAK,CAAC;MACnD,OAAOJ,iCAAiC,CAACW,GAAG,CAACV,KAAK,CAAC,IAAI,CAACL,CAAC,EAAEM,SAAS,CAAC,CAAC;IACxE;EACF,CAAC;EAED,SAASF,iCAAiCA,CAACa,CAAC,EAAE;IAE5C,IAAIC,MAAM,CAACD,CAAC,CAAC,KAAKA,CAAC,EAAE;MACnB,OAAON,OAAO,CAACK,MAAM,CAAC,IAAIjB,SAAS,CAACkB,CAAC,GAAG,oBAAoB,CAAC,CAAC;IAChE;IAEA,IAAIJ,IAAI,GAAGI,CAAC,CAACJ,IAAI;IACjB,OAAOF,OAAO,CAACC,OAAO,CAACK,CAAC,CAACT,KAAK,CAAC,CAACW,IAAI,CAAC,UAAUX,KAAK,EAAE;MACpD,OAAO;QAAEA,KAAK,EAAEA,KAAK;QAAEK,IAAI,EAAEA;MAAK,CAAC;IACrC,CAAC,CAAC;EACJ;EAEA,OAAO,IAAIf,qBAAqB,CAACE,CAAC,CAAC;AACrC"}
|
||||
12
my-app/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js
generated
vendored
Executable file
12
my-app/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js
generated
vendored
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _awaitAsyncGenerator;
|
||||
var _OverloadYield = require("OverloadYield");
|
||||
function _awaitAsyncGenerator(value) {
|
||||
return new _OverloadYield(value, 0);
|
||||
}
|
||||
|
||||
//# sourceMappingURL=awaitAsyncGenerator.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_OverloadYield","require","_awaitAsyncGenerator","value","OverloadYield"],"sources":["../../src/helpers/awaitAsyncGenerator.js"],"sourcesContent":["/* @minVersion 7.0.0-beta.0 */\n\nimport OverloadYield from \"OverloadYield\";\n\nexport default function _awaitAsyncGenerator(value) {\n return new OverloadYield(value, /* kind: await */ 0);\n}\n"],"mappings":";;;;;;AAEA,IAAAA,cAAA,GAAAC,OAAA;AAEe,SAASC,oBAAoBA,CAACC,KAAK,EAAE;EAClD,OAAO,IAAIC,cAAa,CAACD,KAAK,EAAoB,CAAC,CAAC;AACtD"}
|
||||
15
my-app/node_modules/@babel/helpers/lib/helpers/callSuper.js
generated
vendored
Executable file
15
my-app/node_modules/@babel/helpers/lib/helpers/callSuper.js
generated
vendored
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _callSuper;
|
||||
var _getPrototypeOf = require("getPrototypeOf");
|
||||
var _isNativeReflectConstruct = require("./isNativeReflectConstruct.js");
|
||||
var _possibleConstructorReturn = require("possibleConstructorReturn");
|
||||
function _callSuper(_this, derived, args) {
|
||||
derived = _getPrototypeOf(derived);
|
||||
return _possibleConstructorReturn(_this, (0, _isNativeReflectConstruct.default)() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
||||
}
|
||||
|
||||
//# sourceMappingURL=callSuper.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/callSuper.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/callSuper.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_getPrototypeOf","require","_isNativeReflectConstruct","_possibleConstructorReturn","_callSuper","_this","derived","args","getPrototypeOf","possibleConstructorReturn","isNativeReflectConstruct","Reflect","construct","constructor","apply"],"sources":["../../src/helpers/callSuper.ts"],"sourcesContent":["/* @minVersion 7.23.8 */\n\n// This is duplicated to packages/babel-plugin-transform-classes/src/inline-callSuper-helpers.ts\n\n// @ts-expect-error helper\nimport getPrototypeOf from \"getPrototypeOf\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.ts\";\n// @ts-expect-error helper\nimport possibleConstructorReturn from \"possibleConstructorReturn\";\n\nexport default function _callSuper(\n _this: Function,\n derived: Function,\n args: any[],\n) {\n // Super\n derived = getPrototypeOf(derived);\n return possibleConstructorReturn(\n _this,\n isNativeReflectConstruct()\n ? // NOTE: This doesn't work if this.__proto__.constructor has been modified.\n Reflect.construct(\n derived,\n args || [],\n getPrototypeOf(_this).constructor,\n )\n : derived.apply(_this, args),\n );\n}\n"],"mappings":";;;;;;AAKA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,yBAAA,GAAAD,OAAA;AAEA,IAAAE,0BAAA,GAAAF,OAAA;AAEe,SAASG,UAAUA,CAChCC,KAAe,EACfC,OAAiB,EACjBC,IAAW,EACX;EAEAD,OAAO,GAAGE,eAAc,CAACF,OAAO,CAAC;EACjC,OAAOG,0BAAyB,CAC9BJ,KAAK,EACL,IAAAK,iCAAwB,EAAC,CAAC,GAEtBC,OAAO,CAACC,SAAS,CACfN,OAAO,EACPC,IAAI,IAAI,EAAE,EACVC,eAAc,CAACH,KAAK,CAAC,CAACQ,WACxB,CAAC,GACDP,OAAO,CAACQ,KAAK,CAACT,KAAK,EAAEE,IAAI,CAC/B,CAAC;AACH"}
|
||||
14
my-app/node_modules/@babel/helpers/lib/helpers/checkInRHS.js
generated
vendored
Executable file
14
my-app/node_modules/@babel/helpers/lib/helpers/checkInRHS.js
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _checkInRHS;
|
||||
function _checkInRHS(value) {
|
||||
if (Object(value) !== value) {
|
||||
throw TypeError("right-hand side of 'in' should be an object, got " + (value !== null ? typeof value : "null"));
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=checkInRHS.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/checkInRHS.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/checkInRHS.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_checkInRHS","value","Object","TypeError"],"sources":["../../src/helpers/checkInRHS.ts"],"sourcesContent":["/* @minVersion 7.20.5 */\n\nexport default function _checkInRHS(value: unknown) {\n if (Object(value) !== value) {\n throw TypeError(\n \"right-hand side of 'in' should be an object, got \" +\n (value !== null ? typeof value : \"null\"),\n );\n }\n return value;\n}\n"],"mappings":";;;;;;AAEe,SAASA,WAAWA,CAACC,KAAc,EAAE;EAClD,IAAIC,MAAM,CAACD,KAAK,CAAC,KAAKA,KAAK,EAAE;IAC3B,MAAME,SAAS,CACb,mDAAmD,IAChDF,KAAK,KAAK,IAAI,GAAG,OAAOA,KAAK,GAAG,MAAM,CAC3C,CAAC;EACH;EACA,OAAOA,KAAK;AACd"}
|
||||
20
my-app/node_modules/@babel/helpers/lib/helpers/construct.js
generated
vendored
Executable file
20
my-app/node_modules/@babel/helpers/lib/helpers/construct.js
generated
vendored
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _construct;
|
||||
var _setPrototypeOf = require("setPrototypeOf");
|
||||
var _isNativeReflectConstruct = require("./isNativeReflectConstruct.js");
|
||||
function _construct(Parent, args, Class) {
|
||||
if ((0, _isNativeReflectConstruct.default)()) {
|
||||
return Reflect.construct.apply(null, arguments);
|
||||
}
|
||||
var a = [null];
|
||||
a.push.apply(a, args);
|
||||
var instance = new (Parent.bind.apply(Parent, a))();
|
||||
if (Class) _setPrototypeOf(instance, Class.prototype);
|
||||
return instance;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=construct.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/construct.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/construct.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_setPrototypeOf","require","_isNativeReflectConstruct","_construct","Parent","args","Class","isNativeReflectConstruct","Reflect","construct","apply","arguments","a","push","instance","bind","setPrototypeOf","prototype"],"sources":["../../src/helpers/construct.ts"],"sourcesContent":["/* @minVersion 7.0.0-beta.0 */\n\n// @ts-expect-error helper\nimport setPrototypeOf from \"setPrototypeOf\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.ts\";\n\nexport default function _construct(\n Parent: Function,\n args: any[],\n Class: Function,\n): any {\n if (isNativeReflectConstruct()) {\n // Avoid issues with Class being present but undefined when it wasn't\n // present in the original call.\n return Reflect.construct.apply(null, arguments as any);\n }\n // NOTE: If Parent !== Class, the correct __proto__ is set *after*\n // calling the constructor.\n var a: any[] = [null];\n a.push.apply(a, args);\n var instance = new (Parent.bind.apply(Parent, a))();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n}\n"],"mappings":";;;;;;AAGA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,yBAAA,GAAAD,OAAA;AAEe,SAASE,UAAUA,CAChCC,MAAgB,EAChBC,IAAW,EACXC,KAAe,EACV;EACL,IAAI,IAAAC,iCAAwB,EAAC,CAAC,EAAE;IAG9B,OAAOC,OAAO,CAACC,SAAS,CAACC,KAAK,CAAC,IAAI,EAAEC,SAAgB,CAAC;EACxD;EAGA,IAAIC,CAAQ,GAAG,CAAC,IAAI,CAAC;EACrBA,CAAC,CAACC,IAAI,CAACH,KAAK,CAACE,CAAC,EAAEP,IAAI,CAAC;EACrB,IAAIS,QAAQ,GAAG,KAAKV,MAAM,CAACW,IAAI,CAACL,KAAK,CAACN,MAAM,EAAEQ,CAAC,CAAC,EAAE,CAAC;EACnD,IAAIN,KAAK,EAAEU,eAAc,CAACF,QAAQ,EAAER,KAAK,CAACW,SAAS,CAAC;EACpD,OAAOH,QAAQ;AACjB"}
|
||||
16
my-app/node_modules/@babel/helpers/lib/helpers/defineAccessor.js
generated
vendored
Executable file
16
my-app/node_modules/@babel/helpers/lib/helpers/defineAccessor.js
generated
vendored
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _defineAccessor;
|
||||
function _defineAccessor(type, obj, key, fn) {
|
||||
var desc = {
|
||||
configurable: true,
|
||||
enumerable: true
|
||||
};
|
||||
desc[type] = fn;
|
||||
return Object.defineProperty(obj, key, desc);
|
||||
}
|
||||
|
||||
//# sourceMappingURL=defineAccessor.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/defineAccessor.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/defineAccessor.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_defineAccessor","type","obj","key","fn","desc","configurable","enumerable","Object","defineProperty"],"sources":["../../src/helpers/defineAccessor.js"],"sourcesContent":["/* @minVersion 7.20.7 */\n\nexport default function _defineAccessor(type, obj, key, fn) {\n var desc = { configurable: true, enumerable: true };\n // type should be \"get\" or \"set\"\n desc[type] = fn;\n return Object.defineProperty(obj, key, desc);\n}\n"],"mappings":";;;;;;AAEe,SAASA,eAAeA,CAACC,IAAI,EAAEC,GAAG,EAAEC,GAAG,EAAEC,EAAE,EAAE;EAC1D,IAAIC,IAAI,GAAG;IAAEC,YAAY,EAAE,IAAI;IAAEC,UAAU,EAAE;EAAK,CAAC;EAEnDF,IAAI,CAACJ,IAAI,CAAC,GAAGG,EAAE;EACf,OAAOI,MAAM,CAACC,cAAc,CAACP,GAAG,EAAEC,GAAG,EAAEE,IAAI,CAAC;AAC9C"}
|
||||
47
my-app/node_modules/@babel/helpers/lib/helpers/dispose.js
generated
vendored
Executable file
47
my-app/node_modules/@babel/helpers/lib/helpers/dispose.js
generated
vendored
Executable file
|
|
@ -0,0 +1,47 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _dispose;
|
||||
function dispose_SuppressedError(error, suppressed) {
|
||||
if (typeof SuppressedError !== "undefined") {
|
||||
dispose_SuppressedError = SuppressedError;
|
||||
} else {
|
||||
dispose_SuppressedError = function SuppressedError(error, suppressed) {
|
||||
this.suppressed = suppressed;
|
||||
this.error = error;
|
||||
this.stack = new Error().stack;
|
||||
};
|
||||
dispose_SuppressedError.prototype = Object.create(Error.prototype, {
|
||||
constructor: {
|
||||
value: dispose_SuppressedError,
|
||||
writable: true,
|
||||
configurable: true
|
||||
}
|
||||
});
|
||||
}
|
||||
return new dispose_SuppressedError(error, suppressed);
|
||||
}
|
||||
function _dispose(stack, error, hasError) {
|
||||
function next() {
|
||||
while (stack.length > 0) {
|
||||
try {
|
||||
var r = stack.pop();
|
||||
var p = r.d.call(r.v);
|
||||
if (r.a) return Promise.resolve(p).then(next, err);
|
||||
} catch (e) {
|
||||
return err(e);
|
||||
}
|
||||
}
|
||||
if (hasError) throw error;
|
||||
}
|
||||
function err(e) {
|
||||
error = hasError ? new dispose_SuppressedError(error, e) : e;
|
||||
hasError = true;
|
||||
return next();
|
||||
}
|
||||
return next();
|
||||
}
|
||||
|
||||
//# sourceMappingURL=dispose.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/dispose.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/dispose.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["dispose_SuppressedError","error","suppressed","SuppressedError","stack","Error","prototype","Object","create","constructor","value","writable","configurable","_dispose","hasError","next","length","r","pop","p","d","call","v","a","Promise","resolve","then","err","e"],"sources":["../../src/helpers/dispose.js"],"sourcesContent":["/* @minVersion 7.22.0 */\nfunction dispose_SuppressedError(error, suppressed) {\n if (typeof SuppressedError !== \"undefined\") {\n // eslint-disable-next-line no-undef\n dispose_SuppressedError = SuppressedError;\n } else {\n dispose_SuppressedError = function SuppressedError(error, suppressed) {\n this.suppressed = suppressed;\n this.error = error;\n this.stack = new Error().stack;\n };\n dispose_SuppressedError.prototype = Object.create(Error.prototype, {\n constructor: {\n value: dispose_SuppressedError,\n writable: true,\n configurable: true,\n },\n });\n }\n return new dispose_SuppressedError(error, suppressed);\n}\n\nexport default function _dispose(stack, error, hasError) {\n function next() {\n while (stack.length > 0) {\n try {\n var r = stack.pop();\n var p = r.d.call(r.v);\n if (r.a) return Promise.resolve(p).then(next, err);\n } catch (e) {\n return err(e);\n }\n }\n if (hasError) throw error;\n }\n\n function err(e) {\n error = hasError ? new dispose_SuppressedError(error, e) : e;\n hasError = true;\n\n return next();\n }\n\n return next();\n}\n"],"mappings":";;;;;;AACA,SAASA,uBAAuBA,CAACC,KAAK,EAAEC,UAAU,EAAE;EAClD,IAAI,OAAOC,eAAe,KAAK,WAAW,EAAE;IAE1CH,uBAAuB,GAAGG,eAAe;EAC3C,CAAC,MAAM;IACLH,uBAAuB,GAAG,SAASG,eAAeA,CAACF,KAAK,EAAEC,UAAU,EAAE;MACpE,IAAI,CAACA,UAAU,GAAGA,UAAU;MAC5B,IAAI,CAACD,KAAK,GAAGA,KAAK;MAClB,IAAI,CAACG,KAAK,GAAG,IAAIC,KAAK,CAAC,CAAC,CAACD,KAAK;IAChC,CAAC;IACDJ,uBAAuB,CAACM,SAAS,GAAGC,MAAM,CAACC,MAAM,CAACH,KAAK,CAACC,SAAS,EAAE;MACjEG,WAAW,EAAE;QACXC,KAAK,EAAEV,uBAAuB;QAC9BW,QAAQ,EAAE,IAAI;QACdC,YAAY,EAAE;MAChB;IACF,CAAC,CAAC;EACJ;EACA,OAAO,IAAIZ,uBAAuB,CAACC,KAAK,EAAEC,UAAU,CAAC;AACvD;AAEe,SAASW,QAAQA,CAACT,KAAK,EAAEH,KAAK,EAAEa,QAAQ,EAAE;EACvD,SAASC,IAAIA,CAAA,EAAG;IACd,OAAOX,KAAK,CAACY,MAAM,GAAG,CAAC,EAAE;MACvB,IAAI;QACF,IAAIC,CAAC,GAAGb,KAAK,CAACc,GAAG,CAAC,CAAC;QACnB,IAAIC,CAAC,GAAGF,CAAC,CAACG,CAAC,CAACC,IAAI,CAACJ,CAAC,CAACK,CAAC,CAAC;QACrB,IAAIL,CAAC,CAACM,CAAC,EAAE,OAAOC,OAAO,CAACC,OAAO,CAACN,CAAC,CAAC,CAACO,IAAI,CAACX,IAAI,EAAEY,GAAG,CAAC;MACpD,CAAC,CAAC,OAAOC,CAAC,EAAE;QACV,OAAOD,GAAG,CAACC,CAAC,CAAC;MACf;IACF;IACA,IAAId,QAAQ,EAAE,MAAMb,KAAK;EAC3B;EAEA,SAAS0B,GAAGA,CAACC,CAAC,EAAE;IACd3B,KAAK,GAAGa,QAAQ,GAAG,IAAId,uBAAuB,CAACC,KAAK,EAAE2B,CAAC,CAAC,GAAGA,CAAC;IAC5Dd,QAAQ,GAAG,IAAI;IAEf,OAAOC,IAAI,CAAC,CAAC;EACf;EAEA,OAAOA,IAAI,CAAC,CAAC;AACf"}
|
||||
35
my-app/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js
generated
vendored
Executable file
35
my-app/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js
generated
vendored
Executable file
|
|
@ -0,0 +1,35 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _importDeferProxy;
|
||||
function _importDeferProxy(init) {
|
||||
var ns = null;
|
||||
var constValue = function (v) {
|
||||
return function () {
|
||||
return v;
|
||||
};
|
||||
};
|
||||
var proxy = function (run) {
|
||||
return function (arg1, arg2, arg3) {
|
||||
if (ns === null) ns = init();
|
||||
return run(ns, arg2, arg3);
|
||||
};
|
||||
};
|
||||
return new Proxy({}, {
|
||||
defineProperty: constValue(false),
|
||||
deleteProperty: constValue(false),
|
||||
get: proxy(Reflect.get),
|
||||
getOwnPropertyDescriptor: proxy(Reflect.getOwnPropertyDescriptor),
|
||||
getPrototypeOf: constValue(null),
|
||||
isExtensible: constValue(false),
|
||||
has: proxy(Reflect.has),
|
||||
ownKeys: proxy(Reflect.ownKeys),
|
||||
preventExtensions: constValue(true),
|
||||
set: constValue(false),
|
||||
setPrototypeOf: constValue(false)
|
||||
});
|
||||
}
|
||||
|
||||
//# sourceMappingURL=importDeferProxy.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_importDeferProxy","init","ns","constValue","v","proxy","run","arg1","arg2","arg3","Proxy","defineProperty","deleteProperty","get","Reflect","getOwnPropertyDescriptor","getPrototypeOf","isExtensible","has","ownKeys","preventExtensions","set","setPrototypeOf"],"sources":["../../src/helpers/importDeferProxy.js"],"sourcesContent":["/* @minVersion 7.23.0 */\nexport default function _importDeferProxy(init) {\n var ns = null;\n var constValue = function (v) {\n return function () {\n return v;\n };\n };\n var proxy = function (run) {\n return function (arg1, arg2, arg3) {\n if (ns === null) ns = init();\n return run(ns, arg2, arg3);\n };\n };\n return new Proxy(\n {},\n {\n defineProperty: constValue(false),\n deleteProperty: constValue(false),\n get: proxy(Reflect.get),\n getOwnPropertyDescriptor: proxy(Reflect.getOwnPropertyDescriptor),\n getPrototypeOf: constValue(null),\n isExtensible: constValue(false),\n has: proxy(Reflect.has),\n ownKeys: proxy(Reflect.ownKeys),\n preventExtensions: constValue(true),\n set: constValue(false),\n setPrototypeOf: constValue(false),\n },\n );\n}\n"],"mappings":";;;;;;AACe,SAASA,iBAAiBA,CAACC,IAAI,EAAE;EAC9C,IAAIC,EAAE,GAAG,IAAI;EACb,IAAIC,UAAU,GAAG,SAAAA,CAAUC,CAAC,EAAE;IAC5B,OAAO,YAAY;MACjB,OAAOA,CAAC;IACV,CAAC;EACH,CAAC;EACD,IAAIC,KAAK,GAAG,SAAAA,CAAUC,GAAG,EAAE;IACzB,OAAO,UAAUC,IAAI,EAAEC,IAAI,EAAEC,IAAI,EAAE;MACjC,IAAIP,EAAE,KAAK,IAAI,EAAEA,EAAE,GAAGD,IAAI,CAAC,CAAC;MAC5B,OAAOK,GAAG,CAACJ,EAAE,EAAEM,IAAI,EAAEC,IAAI,CAAC;IAC5B,CAAC;EACH,CAAC;EACD,OAAO,IAAIC,KAAK,CACd,CAAC,CAAC,EACF;IACEC,cAAc,EAAER,UAAU,CAAC,KAAK,CAAC;IACjCS,cAAc,EAAET,UAAU,CAAC,KAAK,CAAC;IACjCU,GAAG,EAAER,KAAK,CAACS,OAAO,CAACD,GAAG,CAAC;IACvBE,wBAAwB,EAAEV,KAAK,CAACS,OAAO,CAACC,wBAAwB,CAAC;IACjEC,cAAc,EAAEb,UAAU,CAAC,IAAI,CAAC;IAChCc,YAAY,EAAEd,UAAU,CAAC,KAAK,CAAC;IAC/Be,GAAG,EAAEb,KAAK,CAACS,OAAO,CAACI,GAAG,CAAC;IACvBC,OAAO,EAAEd,KAAK,CAACS,OAAO,CAACK,OAAO,CAAC;IAC/BC,iBAAiB,EAAEjB,UAAU,CAAC,IAAI,CAAC;IACnCkB,GAAG,EAAElB,UAAU,CAAC,KAAK,CAAC;IACtBmB,cAAc,EAAEnB,UAAU,CAAC,KAAK;EAClC,CACF,CAAC;AACH"}
|
||||
49
my-app/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js
generated
vendored
Executable file
49
my-app/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js
generated
vendored
Executable file
|
|
@ -0,0 +1,49 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _interopRequireWildcard;
|
||||
function _getRequireWildcardCache(nodeInterop) {
|
||||
if (typeof WeakMap !== "function") return null;
|
||||
var cacheBabelInterop = new WeakMap();
|
||||
var cacheNodeInterop = new WeakMap();
|
||||
return (_getRequireWildcardCache = function (nodeInterop) {
|
||||
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
||||
})(nodeInterop);
|
||||
}
|
||||
function _interopRequireWildcard(obj, nodeInterop) {
|
||||
if (!nodeInterop && obj && obj.__esModule) {
|
||||
return obj;
|
||||
}
|
||||
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
||||
return {
|
||||
default: obj
|
||||
};
|
||||
}
|
||||
var cache = _getRequireWildcardCache(nodeInterop);
|
||||
if (cache && cache.has(obj)) {
|
||||
return cache.get(obj);
|
||||
}
|
||||
var newObj = {
|
||||
__proto__: null
|
||||
};
|
||||
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
||||
for (var key in obj) {
|
||||
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
||||
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
||||
if (desc && (desc.get || desc.set)) {
|
||||
Object.defineProperty(newObj, key, desc);
|
||||
} else {
|
||||
newObj[key] = obj[key];
|
||||
}
|
||||
}
|
||||
}
|
||||
newObj.default = obj;
|
||||
if (cache) {
|
||||
cache.set(obj, newObj);
|
||||
}
|
||||
return newObj;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=interopRequireWildcard.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_interopRequireWildcard","obj","__esModule","default","cache","has","get","newObj","__proto__","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set"],"sources":["../../src/helpers/interopRequireWildcard.js"],"sourcesContent":["/* @minVersion 7.14.0 */\n\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n return (_getRequireWildcardCache = function (nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\n\nexport default function _interopRequireWildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) {\n return obj;\n }\n\n if (obj === null || (typeof obj !== \"object\" && typeof obj !== \"function\")) {\n return { default: obj };\n }\n\n var cache = _getRequireWildcardCache(nodeInterop);\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n\n var newObj = { __proto__: null };\n var hasPropertyDescriptor =\n Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor\n ? Object.getOwnPropertyDescriptor(obj, key)\n : null;\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n newObj.default = obj;\n if (cache) {\n cache.set(obj, newObj);\n }\n return newObj;\n}\n"],"mappings":";;;;;;AAEA,SAASA,wBAAwBA,CAACC,WAAW,EAAE;EAC7C,IAAI,OAAOC,OAAO,KAAK,UAAU,EAAE,OAAO,IAAI;EAE9C,IAAIC,iBAAiB,GAAG,IAAID,OAAO,CAAC,CAAC;EACrC,IAAIE,gBAAgB,GAAG,IAAIF,OAAO,CAAC,CAAC;EACpC,OAAO,CAACF,wBAAwB,GAAG,SAAAA,CAAUC,WAAW,EAAE;IACxD,OAAOA,WAAW,GAAGG,gBAAgB,GAAGD,iBAAiB;EAC3D,CAAC,EAAEF,WAAW,CAAC;AACjB;AAEe,SAASI,uBAAuBA,CAACC,GAAG,EAAEL,WAAW,EAAE;EAChE,IAAI,CAACA,WAAW,IAAIK,GAAG,IAAIA,GAAG,CAACC,UAAU,EAAE;IACzC,OAAOD,GAAG;EACZ;EAEA,IAAIA,GAAG,KAAK,IAAI,IAAK,OAAOA,GAAG,KAAK,QAAQ,IAAI,OAAOA,GAAG,KAAK,UAAW,EAAE;IAC1E,OAAO;MAAEE,OAAO,EAAEF;IAAI,CAAC;EACzB;EAEA,IAAIG,KAAK,GAAGT,wBAAwB,CAACC,WAAW,CAAC;EACjD,IAAIQ,KAAK,IAAIA,KAAK,CAACC,GAAG,CAACJ,GAAG,CAAC,EAAE;IAC3B,OAAOG,KAAK,CAACE,GAAG,CAACL,GAAG,CAAC;EACvB;EAEA,IAAIM,MAAM,GAAG;IAAEC,SAAS,EAAE;EAAK,CAAC;EAChC,IAAIC,qBAAqB,GACvBC,MAAM,CAACC,cAAc,IAAID,MAAM,CAACE,wBAAwB;EAC1D,KAAK,IAAIC,GAAG,IAAIZ,GAAG,EAAE;IACnB,IAAIY,GAAG,KAAK,SAAS,IAAIH,MAAM,CAACI,SAAS,CAACC,cAAc,CAACC,IAAI,CAACf,GAAG,EAAEY,GAAG,CAAC,EAAE;MACvE,IAAII,IAAI,GAAGR,qBAAqB,GAC5BC,MAAM,CAACE,wBAAwB,CAACX,GAAG,EAAEY,GAAG,CAAC,GACzC,IAAI;MACR,IAAII,IAAI,KAAKA,IAAI,CAACX,GAAG,IAAIW,IAAI,CAACC,GAAG,CAAC,EAAE;QAClCR,MAAM,CAACC,cAAc,CAACJ,MAAM,EAAEM,GAAG,EAAEI,IAAI,CAAC;MAC1C,CAAC,MAAM;QACLV,MAAM,CAACM,GAAG,CAAC,GAAGZ,GAAG,CAACY,GAAG,CAAC;MACxB;IACF;EACF;EACAN,MAAM,CAACJ,OAAO,GAAGF,GAAG;EACpB,IAAIG,KAAK,EAAE;IACTA,KAAK,CAACc,GAAG,CAACjB,GAAG,EAAEM,MAAM,CAAC;EACxB;EACA,OAAOA,MAAM;AACf"}
|
||||
16
my-app/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js
generated
vendored
Executable file
16
my-app/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js
generated
vendored
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _isNativeReflectConstruct;
|
||||
function _isNativeReflectConstruct() {
|
||||
try {
|
||||
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
||||
} catch (e) {}
|
||||
return (exports.default = _isNativeReflectConstruct = function () {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
//# sourceMappingURL=isNativeReflectConstruct.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_isNativeReflectConstruct","result","Boolean","prototype","valueOf","call","Reflect","construct","e","exports","default"],"sources":["../../src/helpers/isNativeReflectConstruct.ts"],"sourcesContent":["/* @minVersion 7.9.0 */\n\nexport default function _isNativeReflectConstruct() {\n // Since Reflect.construct can't be properly polyfilled, some\n // implementations (e.g. core-js@2) don't set the correct internal slots.\n // Those polyfills don't allow us to subclass built-ins, so we need to\n // use our fallback implementation.\n try {\n // If the internal slots aren't set, this throws an error similar to\n // TypeError: this is not a Boolean object.\n var result = !Boolean.prototype.valueOf.call(\n Reflect.construct(Boolean, [], function () {}),\n );\n } catch (e) {}\n // @ts-expect-error assign to function\n return (_isNativeReflectConstruct = function () {\n return !!result;\n })();\n}\n"],"mappings":";;;;;;AAEe,SAASA,yBAAyBA,CAAA,EAAG;EAKlD,IAAI;IAGF,IAAIC,MAAM,GAAG,CAACC,OAAO,CAACC,SAAS,CAACC,OAAO,CAACC,IAAI,CAC1CC,OAAO,CAACC,SAAS,CAACL,OAAO,EAAE,EAAE,EAAE,YAAY,CAAC,CAAC,CAC/C,CAAC;EACH,CAAC,CAAC,OAAOM,CAAC,EAAE,CAAC;EAEb,OAAO,CAAAC,OAAA,CAAAC,OAAA,GAACV,yBAAyB,GAAG,SAAAA,CAAA,EAAY;IAC9C,OAAO,CAAC,CAACC,MAAM;EACjB,CAAC,EAAE,CAAC;AACN"}
|
||||
41
my-app/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js
generated
vendored
Executable file
41
my-app/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js
generated
vendored
Executable file
|
|
@ -0,0 +1,41 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _iterableToArrayLimit;
|
||||
function _iterableToArrayLimit(arr, i) {
|
||||
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
||||
if (_i == null) return;
|
||||
var _arr = [];
|
||||
var _n = true;
|
||||
var _d = false;
|
||||
var _s, _e, _x, _r;
|
||||
try {
|
||||
_x = (_i = _i.call(arr)).next;
|
||||
if (i === 0) {
|
||||
if (Object(_i) !== _i) return;
|
||||
_n = false;
|
||||
} else {
|
||||
for (; !(_n = (_s = _x.call(_i)).done); _n = true) {
|
||||
_arr.push(_s.value);
|
||||
if (_arr.length === i) break;
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
_d = true;
|
||||
_e = err;
|
||||
} finally {
|
||||
try {
|
||||
if (!_n && _i["return"] != null) {
|
||||
_r = _i["return"]();
|
||||
if (Object(_r) !== _r) return;
|
||||
}
|
||||
} finally {
|
||||
if (_d) throw _e;
|
||||
}
|
||||
}
|
||||
return _arr;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=iterableToArrayLimit.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_iterableToArrayLimit","arr","i","_i","Symbol","iterator","_arr","_n","_d","_s","_e","_x","_r","call","next","Object","done","push","value","length","err"],"sources":["../../src/helpers/iterableToArrayLimit.js"],"sourcesContent":["/* @minVersion 7.0.0-beta.0 */\n\nexport default function _iterableToArrayLimit(arr, i) {\n // this is an expanded form of \\`for...of\\` that properly supports abrupt completions of\n // iterators etc. variable names have been minimised to reduce the size of this massive\n // helper. sometimes spec compliance is annoying :(\n //\n // _n = _iteratorNormalCompletion\n // _d = _didIteratorError\n // _e = _iteratorError\n // _i = _iterator\n // _s = _step\n // _x = _next\n // _r = _return\n\n var _i =\n arr == null\n ? null\n : (typeof Symbol !== \"undefined\" && arr[Symbol.iterator]) ||\n arr[\"@@iterator\"];\n if (_i == null) return;\n\n var _arr = [];\n var _n = true;\n var _d = false;\n var _s, _e, _x, _r;\n try {\n _x = (_i = _i.call(arr)).next;\n if (i === 0) {\n if (Object(_i) !== _i) return;\n _n = false;\n } else {\n for (; !(_n = (_s = _x.call(_i)).done); _n = true) {\n _arr.push(_s.value);\n if (_arr.length === i) break;\n }\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) {\n _r = _i[\"return\"]();\n // eslint-disable-next-line no-unsafe-finally\n if (Object(_r) !== _r) return;\n }\n } finally {\n // eslint-disable-next-line no-unsafe-finally\n if (_d) throw _e;\n }\n }\n return _arr;\n}\n"],"mappings":";;;;;;AAEe,SAASA,qBAAqBA,CAACC,GAAG,EAAEC,CAAC,EAAE;EAapD,IAAIC,EAAE,GACJF,GAAG,IAAI,IAAI,GACP,IAAI,GACH,OAAOG,MAAM,KAAK,WAAW,IAAIH,GAAG,CAACG,MAAM,CAACC,QAAQ,CAAC,IACtDJ,GAAG,CAAC,YAAY,CAAC;EACvB,IAAIE,EAAE,IAAI,IAAI,EAAE;EAEhB,IAAIG,IAAI,GAAG,EAAE;EACb,IAAIC,EAAE,GAAG,IAAI;EACb,IAAIC,EAAE,GAAG,KAAK;EACd,IAAIC,EAAE,EAAEC,EAAE,EAAEC,EAAE,EAAEC,EAAE;EAClB,IAAI;IACFD,EAAE,GAAG,CAACR,EAAE,GAAGA,EAAE,CAACU,IAAI,CAACZ,GAAG,CAAC,EAAEa,IAAI;IAC7B,IAAIZ,CAAC,KAAK,CAAC,EAAE;MACX,IAAIa,MAAM,CAACZ,EAAE,CAAC,KAAKA,EAAE,EAAE;MACvBI,EAAE,GAAG,KAAK;IACZ,CAAC,MAAM;MACL,OAAO,EAAEA,EAAE,GAAG,CAACE,EAAE,GAAGE,EAAE,CAACE,IAAI,CAACV,EAAE,CAAC,EAAEa,IAAI,CAAC,EAAET,EAAE,GAAG,IAAI,EAAE;QACjDD,IAAI,CAACW,IAAI,CAACR,EAAE,CAACS,KAAK,CAAC;QACnB,IAAIZ,IAAI,CAACa,MAAM,KAAKjB,CAAC,EAAE;MACzB;IACF;EACF,CAAC,CAAC,OAAOkB,GAAG,EAAE;IACZZ,EAAE,GAAG,IAAI;IACTE,EAAE,GAAGU,GAAG;EACV,CAAC,SAAS;IACR,IAAI;MACF,IAAI,CAACb,EAAE,IAAIJ,EAAE,CAAC,QAAQ,CAAC,IAAI,IAAI,EAAE;QAC/BS,EAAE,GAAGT,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEnB,IAAIY,MAAM,CAACH,EAAE,CAAC,KAAKA,EAAE,EAAE;MACzB;IACF,CAAC,SAAS;MAER,IAAIJ,EAAE,EAAE,MAAME,EAAE;IAClB;EACF;EACA,OAAOJ,IAAI;AACb"}
|
||||
18
my-app/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimitLoose.js
generated
vendored
Executable file
18
my-app/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimitLoose.js
generated
vendored
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _iterableToArrayLimitLoose;
|
||||
function _iterableToArrayLimitLoose(arr, i) {
|
||||
var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]);
|
||||
if (_i == null) return;
|
||||
var _arr = [];
|
||||
var _s;
|
||||
for (_i = _i.call(arr); arr.length < i && !(_s = _i.next()).done;) {
|
||||
_arr.push(_s.value);
|
||||
}
|
||||
return _arr;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=iterableToArrayLimitLoose.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimitLoose.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimitLoose.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_iterableToArrayLimitLoose","arr","i","_i","Symbol","iterator","_arr","_s","call","length","next","done","push","value"],"sources":["../../src/helpers/iterableToArrayLimitLoose.js"],"sourcesContent":["/* @minVersion 7.0.0-beta.0 */\n\nexport default function _iterableToArrayLimitLoose(arr, i) {\n var _i =\n arr &&\n ((typeof Symbol !== \"undefined\" && arr[Symbol.iterator]) ||\n arr[\"@@iterator\"]);\n if (_i == null) return;\n\n var _arr = [];\n var _s;\n for (_i = _i.call(arr); arr.length < i && !(_s = _i.next()).done; ) {\n _arr.push(_s.value);\n }\n return _arr;\n}\n"],"mappings":";;;;;;AAEe,SAASA,0BAA0BA,CAACC,GAAG,EAAEC,CAAC,EAAE;EACzD,IAAIC,EAAE,GACJF,GAAG,KACD,OAAOG,MAAM,KAAK,WAAW,IAAIH,GAAG,CAACG,MAAM,CAACC,QAAQ,CAAC,IACrDJ,GAAG,CAAC,YAAY,CAAC,CAAC;EACtB,IAAIE,EAAE,IAAI,IAAI,EAAE;EAEhB,IAAIG,IAAI,GAAG,EAAE;EACb,IAAIC,EAAE;EACN,KAAKJ,EAAE,GAAGA,EAAE,CAACK,IAAI,CAACP,GAAG,CAAC,EAAEA,GAAG,CAACQ,MAAM,GAAGP,CAAC,IAAI,CAAC,CAACK,EAAE,GAAGJ,EAAE,CAACO,IAAI,CAAC,CAAC,EAAEC,IAAI,GAAI;IAClEL,IAAI,CAACM,IAAI,CAACL,EAAE,CAACM,KAAK,CAAC;EACrB;EACA,OAAOP,IAAI;AACb"}
|
||||
47
my-app/node_modules/@babel/helpers/lib/helpers/jsx.js
generated
vendored
Executable file
47
my-app/node_modules/@babel/helpers/lib/helpers/jsx.js
generated
vendored
Executable file
|
|
@ -0,0 +1,47 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _createRawReactElement;
|
||||
var REACT_ELEMENT_TYPE;
|
||||
function _createRawReactElement(type, props, key, children) {
|
||||
if (!REACT_ELEMENT_TYPE) {
|
||||
REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol["for"] && Symbol["for"]("react.element") || 0xeac7;
|
||||
}
|
||||
var defaultProps = type && type.defaultProps;
|
||||
var childrenLength = arguments.length - 3;
|
||||
if (!props && childrenLength !== 0) {
|
||||
props = {
|
||||
children: void 0
|
||||
};
|
||||
}
|
||||
if (childrenLength === 1) {
|
||||
props.children = children;
|
||||
} else if (childrenLength > 1) {
|
||||
var childArray = new Array(childrenLength);
|
||||
for (var i = 0; i < childrenLength; i++) {
|
||||
childArray[i] = arguments[i + 3];
|
||||
}
|
||||
props.children = childArray;
|
||||
}
|
||||
if (props && defaultProps) {
|
||||
for (var propName in defaultProps) {
|
||||
if (props[propName] === void 0) {
|
||||
props[propName] = defaultProps[propName];
|
||||
}
|
||||
}
|
||||
} else if (!props) {
|
||||
props = defaultProps || {};
|
||||
}
|
||||
return {
|
||||
$$typeof: REACT_ELEMENT_TYPE,
|
||||
type: type,
|
||||
key: key === undefined ? null : "" + key,
|
||||
ref: null,
|
||||
props: props,
|
||||
_owner: null
|
||||
};
|
||||
}
|
||||
|
||||
//# sourceMappingURL=jsx.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/jsx.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/jsx.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["REACT_ELEMENT_TYPE","_createRawReactElement","type","props","key","children","Symbol","defaultProps","childrenLength","arguments","length","childArray","Array","i","propName","$$typeof","undefined","ref","_owner"],"sources":["../../src/helpers/jsx.js"],"sourcesContent":["/* @minVersion 7.0.0-beta.0 */\n\nvar REACT_ELEMENT_TYPE;\n\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE =\n (typeof Symbol === \"function\" &&\n // \"for\" is a reserved keyword in ES3 so escaping it here for backward compatibility\n Symbol[\"for\"] &&\n Symbol[\"for\"](\"react.element\")) ||\n 0xeac7;\n }\n\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n\n if (!props && childrenLength !== 0) {\n // If we're going to assign props.children, we create a new object now\n // to avoid mutating defaultProps.\n props = { children: void 0 };\n }\n\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : \"\" + key,\n ref: null,\n props: props,\n _owner: null,\n };\n}\n"],"mappings":";;;;;;AAEA,IAAIA,kBAAkB;AAEP,SAASC,sBAAsBA,CAACC,IAAI,EAAEC,KAAK,EAAEC,GAAG,EAAEC,QAAQ,EAAE;EACzE,IAAI,CAACL,kBAAkB,EAAE;IACvBA,kBAAkB,GACf,OAAOM,MAAM,KAAK,UAAU,IAE3BA,MAAM,CAAC,KAAK,CAAC,IACbA,MAAM,CAAC,KAAK,CAAC,CAAC,eAAe,CAAC,IAChC,MAAM;EACV;EAEA,IAAIC,YAAY,GAAGL,IAAI,IAAIA,IAAI,CAACK,YAAY;EAC5C,IAAIC,cAAc,GAAGC,SAAS,CAACC,MAAM,GAAG,CAAC;EAEzC,IAAI,CAACP,KAAK,IAAIK,cAAc,KAAK,CAAC,EAAE;IAGlCL,KAAK,GAAG;MAAEE,QAAQ,EAAE,KAAK;IAAE,CAAC;EAC9B;EAEA,IAAIG,cAAc,KAAK,CAAC,EAAE;IACxBL,KAAK,CAACE,QAAQ,GAAGA,QAAQ;EAC3B,CAAC,MAAM,IAAIG,cAAc,GAAG,CAAC,EAAE;IAC7B,IAAIG,UAAU,GAAG,IAAIC,KAAK,CAACJ,cAAc,CAAC;IAC1C,KAAK,IAAIK,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGL,cAAc,EAAEK,CAAC,EAAE,EAAE;MACvCF,UAAU,CAACE,CAAC,CAAC,GAAGJ,SAAS,CAACI,CAAC,GAAG,CAAC,CAAC;IAClC;IACAV,KAAK,CAACE,QAAQ,GAAGM,UAAU;EAC7B;EAEA,IAAIR,KAAK,IAAII,YAAY,EAAE;IACzB,KAAK,IAAIO,QAAQ,IAAIP,YAAY,EAAE;MACjC,IAAIJ,KAAK,CAACW,QAAQ,CAAC,KAAK,KAAK,CAAC,EAAE;QAC9BX,KAAK,CAACW,QAAQ,CAAC,GAAGP,YAAY,CAACO,QAAQ,CAAC;MAC1C;IACF;EACF,CAAC,MAAM,IAAI,CAACX,KAAK,EAAE;IACjBA,KAAK,GAAGI,YAAY,IAAI,CAAC,CAAC;EAC5B;EAEA,OAAO;IACLQ,QAAQ,EAAEf,kBAAkB;IAC5BE,IAAI,EAAEA,IAAI;IACVE,GAAG,EAAEA,GAAG,KAAKY,SAAS,GAAG,IAAI,GAAG,EAAE,GAAGZ,GAAG;IACxCa,GAAG,EAAE,IAAI;IACTd,KAAK,EAAEA,KAAK;IACZe,MAAM,EAAE;EACV,CAAC;AACH"}
|
||||
39
my-app/node_modules/@babel/helpers/lib/helpers/objectSpread2.js
generated
vendored
Executable file
39
my-app/node_modules/@babel/helpers/lib/helpers/objectSpread2.js
generated
vendored
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _objectSpread2;
|
||||
var _defineProperty = require("defineProperty");
|
||||
function ownKeys(object, enumerableOnly) {
|
||||
var keys = Object.keys(object);
|
||||
if (Object.getOwnPropertySymbols) {
|
||||
var symbols = Object.getOwnPropertySymbols(object);
|
||||
if (enumerableOnly) {
|
||||
symbols = symbols.filter(function (sym) {
|
||||
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
||||
});
|
||||
}
|
||||
keys.push.apply(keys, symbols);
|
||||
}
|
||||
return keys;
|
||||
}
|
||||
function _objectSpread2(target) {
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
var source = arguments[i] != null ? arguments[i] : {};
|
||||
if (i % 2) {
|
||||
ownKeys(Object(source), true).forEach(function (key) {
|
||||
_defineProperty(target, key, source[key]);
|
||||
});
|
||||
} else if (Object.getOwnPropertyDescriptors) {
|
||||
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
||||
} else {
|
||||
ownKeys(Object(source)).forEach(function (key) {
|
||||
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
||||
});
|
||||
}
|
||||
}
|
||||
return target;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=objectSpread2.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/objectSpread2.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/objectSpread2.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_defineProperty","require","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread2","target","i","arguments","length","source","forEach","key","defineProperty","getOwnPropertyDescriptors","defineProperties"],"sources":["../../src/helpers/objectSpread2.js"],"sourcesContent":["/* @minVersion 7.5.0 */\n\nimport defineProperty from \"defineProperty\";\n\n// This function is different to \"Reflect.ownKeys\". The enumerableOnly\n// filters on symbol properties only. Returned string properties are always\n// enumerable. It is good to use in objectSpread.\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\n\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(\n target,\n key,\n Object.getOwnPropertyDescriptor(source, key),\n );\n });\n }\n }\n return target;\n}\n"],"mappings":";;;;;;AAEA,IAAAA,eAAA,GAAAC,OAAA;AAMA,SAASC,OAAOA,CAACC,MAAM,EAAEC,cAAc,EAAE;EACvC,IAAIC,IAAI,GAAGC,MAAM,CAACD,IAAI,CAACF,MAAM,CAAC;EAC9B,IAAIG,MAAM,CAACC,qBAAqB,EAAE;IAChC,IAAIC,OAAO,GAAGF,MAAM,CAACC,qBAAqB,CAACJ,MAAM,CAAC;IAClD,IAAIC,cAAc,EAAE;MAClBI,OAAO,GAAGA,OAAO,CAACC,MAAM,CAAC,UAAUC,GAAG,EAAE;QACtC,OAAOJ,MAAM,CAACK,wBAAwB,CAACR,MAAM,EAAEO,GAAG,CAAC,CAACE,UAAU;MAChE,CAAC,CAAC;IACJ;IACAP,IAAI,CAACQ,IAAI,CAACC,KAAK,CAACT,IAAI,EAAEG,OAAO,CAAC;EAChC;EACA,OAAOH,IAAI;AACb;AAEe,SAASU,cAAcA,CAACC,MAAM,EAAE;EAC7C,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGC,SAAS,CAACC,MAAM,EAAEF,CAAC,EAAE,EAAE;IACzC,IAAIG,MAAM,GAAGF,SAAS,CAACD,CAAC,CAAC,IAAI,IAAI,GAAGC,SAAS,CAACD,CAAC,CAAC,GAAG,CAAC,CAAC;IACrD,IAAIA,CAAC,GAAG,CAAC,EAAE;MACTf,OAAO,CAACI,MAAM,CAACc,MAAM,CAAC,EAAE,IAAI,CAAC,CAACC,OAAO,CAAC,UAAUC,GAAG,EAAE;QACnDC,eAAc,CAACP,MAAM,EAAEM,GAAG,EAAEF,MAAM,CAACE,GAAG,CAAC,CAAC;MAC1C,CAAC,CAAC;IACJ,CAAC,MAAM,IAAIhB,MAAM,CAACkB,yBAAyB,EAAE;MAC3ClB,MAAM,CAACmB,gBAAgB,CAACT,MAAM,EAAEV,MAAM,CAACkB,yBAAyB,CAACJ,MAAM,CAAC,CAAC;IAC3E,CAAC,MAAM;MACLlB,OAAO,CAACI,MAAM,CAACc,MAAM,CAAC,CAAC,CAACC,OAAO,CAAC,UAAUC,GAAG,EAAE;QAC7ChB,MAAM,CAACiB,cAAc,CACnBP,MAAM,EACNM,GAAG,EACHhB,MAAM,CAACK,wBAAwB,CAACS,MAAM,EAAEE,GAAG,CAC7C,CAAC;MACH,CAAC,CAAC;IACJ;EACF;EACA,OAAON,MAAM;AACf"}
|
||||
499
my-app/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js
generated
vendored
Executable file
499
my-app/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js
generated
vendored
Executable file
|
|
@ -0,0 +1,499 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _regeneratorRuntime;
|
||||
function _regeneratorRuntime() {
|
||||
"use strict";
|
||||
exports.default = _regeneratorRuntime = function () {
|
||||
return _exports;
|
||||
};
|
||||
var _exports = {};
|
||||
var Op = Object.prototype;
|
||||
var hasOwn = Op.hasOwnProperty;
|
||||
var defineProperty = Object.defineProperty || function (obj, key, desc) {
|
||||
obj[key] = desc.value;
|
||||
};
|
||||
var undefined;
|
||||
var $Symbol = typeof Symbol === "function" ? Symbol : {};
|
||||
var iteratorSymbol = $Symbol.iterator || "@@iterator";
|
||||
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
|
||||
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
||||
function define(obj, key, value) {
|
||||
Object.defineProperty(obj, key, {
|
||||
value: value,
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
writable: true
|
||||
});
|
||||
return obj[key];
|
||||
}
|
||||
try {
|
||||
define({}, "");
|
||||
} catch (err) {
|
||||
define = function (obj, key, value) {
|
||||
return obj[key] = value;
|
||||
};
|
||||
}
|
||||
function wrap(innerFn, outerFn, self, tryLocsList) {
|
||||
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
|
||||
var generator = Object.create(protoGenerator.prototype);
|
||||
var context = new Context(tryLocsList || []);
|
||||
defineProperty(generator, "_invoke", {
|
||||
value: makeInvokeMethod(innerFn, self, context)
|
||||
});
|
||||
return generator;
|
||||
}
|
||||
_exports.wrap = wrap;
|
||||
function tryCatch(fn, obj, arg) {
|
||||
try {
|
||||
return {
|
||||
type: "normal",
|
||||
arg: fn.call(obj, arg)
|
||||
};
|
||||
} catch (err) {
|
||||
return {
|
||||
type: "throw",
|
||||
arg: err
|
||||
};
|
||||
}
|
||||
}
|
||||
var GenStateSuspendedStart = "suspendedStart";
|
||||
var GenStateSuspendedYield = "suspendedYield";
|
||||
var GenStateExecuting = "executing";
|
||||
var GenStateCompleted = "completed";
|
||||
var ContinueSentinel = {};
|
||||
function Generator() {}
|
||||
function GeneratorFunction() {}
|
||||
function GeneratorFunctionPrototype() {}
|
||||
var IteratorPrototype = {};
|
||||
define(IteratorPrototype, iteratorSymbol, function () {
|
||||
return this;
|
||||
});
|
||||
var getProto = Object.getPrototypeOf;
|
||||
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
||||
if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
|
||||
IteratorPrototype = NativeIteratorPrototype;
|
||||
}
|
||||
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
||||
GeneratorFunction.prototype = GeneratorFunctionPrototype;
|
||||
defineProperty(Gp, "constructor", {
|
||||
value: GeneratorFunctionPrototype,
|
||||
configurable: true
|
||||
});
|
||||
defineProperty(GeneratorFunctionPrototype, "constructor", {
|
||||
value: GeneratorFunction,
|
||||
configurable: true
|
||||
});
|
||||
GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction");
|
||||
function defineIteratorMethods(prototype) {
|
||||
["next", "throw", "return"].forEach(function (method) {
|
||||
define(prototype, method, function (arg) {
|
||||
return this._invoke(method, arg);
|
||||
});
|
||||
});
|
||||
}
|
||||
_exports.isGeneratorFunction = function (genFun) {
|
||||
var ctor = typeof genFun === "function" && genFun.constructor;
|
||||
return ctor ? ctor === GeneratorFunction || (ctor.displayName || ctor.name) === "GeneratorFunction" : false;
|
||||
};
|
||||
_exports.mark = function (genFun) {
|
||||
if (Object.setPrototypeOf) {
|
||||
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
|
||||
} else {
|
||||
genFun.__proto__ = GeneratorFunctionPrototype;
|
||||
define(genFun, toStringTagSymbol, "GeneratorFunction");
|
||||
}
|
||||
genFun.prototype = Object.create(Gp);
|
||||
return genFun;
|
||||
};
|
||||
_exports.awrap = function (arg) {
|
||||
return {
|
||||
__await: arg
|
||||
};
|
||||
};
|
||||
function AsyncIterator(generator, PromiseImpl) {
|
||||
function invoke(method, arg, resolve, reject) {
|
||||
var record = tryCatch(generator[method], generator, arg);
|
||||
if (record.type === "throw") {
|
||||
reject(record.arg);
|
||||
} else {
|
||||
var result = record.arg;
|
||||
var value = result.value;
|
||||
if (value && typeof value === "object" && hasOwn.call(value, "__await")) {
|
||||
return PromiseImpl.resolve(value.__await).then(function (value) {
|
||||
invoke("next", value, resolve, reject);
|
||||
}, function (err) {
|
||||
invoke("throw", err, resolve, reject);
|
||||
});
|
||||
}
|
||||
return PromiseImpl.resolve(value).then(function (unwrapped) {
|
||||
result.value = unwrapped;
|
||||
resolve(result);
|
||||
}, function (error) {
|
||||
return invoke("throw", error, resolve, reject);
|
||||
});
|
||||
}
|
||||
}
|
||||
var previousPromise;
|
||||
function enqueue(method, arg) {
|
||||
function callInvokeWithMethodAndArg() {
|
||||
return new PromiseImpl(function (resolve, reject) {
|
||||
invoke(method, arg, resolve, reject);
|
||||
});
|
||||
}
|
||||
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
||||
}
|
||||
defineProperty(this, "_invoke", {
|
||||
value: enqueue
|
||||
});
|
||||
}
|
||||
defineIteratorMethods(AsyncIterator.prototype);
|
||||
define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
||||
return this;
|
||||
});
|
||||
_exports.AsyncIterator = AsyncIterator;
|
||||
_exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
||||
if (PromiseImpl === void 0) PromiseImpl = Promise;
|
||||
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
||||
return _exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
||||
return result.done ? result.value : iter.next();
|
||||
});
|
||||
};
|
||||
function makeInvokeMethod(innerFn, self, context) {
|
||||
var state = GenStateSuspendedStart;
|
||||
return function invoke(method, arg) {
|
||||
if (state === GenStateExecuting) {
|
||||
throw new Error("Generator is already running");
|
||||
}
|
||||
if (state === GenStateCompleted) {
|
||||
if (method === "throw") {
|
||||
throw arg;
|
||||
}
|
||||
return doneResult();
|
||||
}
|
||||
context.method = method;
|
||||
context.arg = arg;
|
||||
while (true) {
|
||||
var delegate = context.delegate;
|
||||
if (delegate) {
|
||||
var delegateResult = maybeInvokeDelegate(delegate, context);
|
||||
if (delegateResult) {
|
||||
if (delegateResult === ContinueSentinel) continue;
|
||||
return delegateResult;
|
||||
}
|
||||
}
|
||||
if (context.method === "next") {
|
||||
context.sent = context._sent = context.arg;
|
||||
} else if (context.method === "throw") {
|
||||
if (state === GenStateSuspendedStart) {
|
||||
state = GenStateCompleted;
|
||||
throw context.arg;
|
||||
}
|
||||
context.dispatchException(context.arg);
|
||||
} else if (context.method === "return") {
|
||||
context.abrupt("return", context.arg);
|
||||
}
|
||||
state = GenStateExecuting;
|
||||
var record = tryCatch(innerFn, self, context);
|
||||
if (record.type === "normal") {
|
||||
state = context.done ? GenStateCompleted : GenStateSuspendedYield;
|
||||
if (record.arg === ContinueSentinel) {
|
||||
continue;
|
||||
}
|
||||
return {
|
||||
value: record.arg,
|
||||
done: context.done
|
||||
};
|
||||
} else if (record.type === "throw") {
|
||||
state = GenStateCompleted;
|
||||
context.method = "throw";
|
||||
context.arg = record.arg;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
function maybeInvokeDelegate(delegate, context) {
|
||||
var methodName = context.method;
|
||||
var method = delegate.iterator[methodName];
|
||||
if (method === undefined) {
|
||||
context.delegate = null;
|
||||
if (methodName === "throw" && delegate.iterator["return"]) {
|
||||
context.method = "return";
|
||||
context.arg = undefined;
|
||||
maybeInvokeDelegate(delegate, context);
|
||||
if (context.method === "throw") {
|
||||
return ContinueSentinel;
|
||||
}
|
||||
}
|
||||
if (methodName !== "return") {
|
||||
context.method = "throw";
|
||||
context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method");
|
||||
}
|
||||
return ContinueSentinel;
|
||||
}
|
||||
var record = tryCatch(method, delegate.iterator, context.arg);
|
||||
if (record.type === "throw") {
|
||||
context.method = "throw";
|
||||
context.arg = record.arg;
|
||||
context.delegate = null;
|
||||
return ContinueSentinel;
|
||||
}
|
||||
var info = record.arg;
|
||||
if (!info) {
|
||||
context.method = "throw";
|
||||
context.arg = new TypeError("iterator result is not an object");
|
||||
context.delegate = null;
|
||||
return ContinueSentinel;
|
||||
}
|
||||
if (info.done) {
|
||||
context[delegate.resultName] = info.value;
|
||||
context.next = delegate.nextLoc;
|
||||
if (context.method !== "return") {
|
||||
context.method = "next";
|
||||
context.arg = undefined;
|
||||
}
|
||||
} else {
|
||||
return info;
|
||||
}
|
||||
context.delegate = null;
|
||||
return ContinueSentinel;
|
||||
}
|
||||
defineIteratorMethods(Gp);
|
||||
define(Gp, toStringTagSymbol, "Generator");
|
||||
define(Gp, iteratorSymbol, function () {
|
||||
return this;
|
||||
});
|
||||
define(Gp, "toString", function () {
|
||||
return "[object Generator]";
|
||||
});
|
||||
function pushTryEntry(locs) {
|
||||
var entry = {
|
||||
tryLoc: locs[0]
|
||||
};
|
||||
if (1 in locs) {
|
||||
entry.catchLoc = locs[1];
|
||||
}
|
||||
if (2 in locs) {
|
||||
entry.finallyLoc = locs[2];
|
||||
entry.afterLoc = locs[3];
|
||||
}
|
||||
this.tryEntries.push(entry);
|
||||
}
|
||||
function resetTryEntry(entry) {
|
||||
var record = entry.completion || {};
|
||||
record.type = "normal";
|
||||
delete record.arg;
|
||||
entry.completion = record;
|
||||
}
|
||||
function Context(tryLocsList) {
|
||||
this.tryEntries = [{
|
||||
tryLoc: "root"
|
||||
}];
|
||||
tryLocsList.forEach(pushTryEntry, this);
|
||||
this.reset(true);
|
||||
}
|
||||
_exports.keys = function (val) {
|
||||
var object = Object(val);
|
||||
var keys = [];
|
||||
for (var key in object) {
|
||||
keys.push(key);
|
||||
}
|
||||
keys.reverse();
|
||||
return function next() {
|
||||
while (keys.length) {
|
||||
var key = keys.pop();
|
||||
if (key in object) {
|
||||
next.value = key;
|
||||
next.done = false;
|
||||
return next;
|
||||
}
|
||||
}
|
||||
next.done = true;
|
||||
return next;
|
||||
};
|
||||
};
|
||||
function values(iterable) {
|
||||
if (iterable || iterable === "") {
|
||||
var iteratorMethod = iterable[iteratorSymbol];
|
||||
if (iteratorMethod) {
|
||||
return iteratorMethod.call(iterable);
|
||||
}
|
||||
if (typeof iterable.next === "function") {
|
||||
return iterable;
|
||||
}
|
||||
if (!isNaN(iterable.length)) {
|
||||
var i = -1,
|
||||
next = function next() {
|
||||
while (++i < iterable.length) {
|
||||
if (hasOwn.call(iterable, i)) {
|
||||
next.value = iterable[i];
|
||||
next.done = false;
|
||||
return next;
|
||||
}
|
||||
}
|
||||
next.value = undefined;
|
||||
next.done = true;
|
||||
return next;
|
||||
};
|
||||
return next.next = next;
|
||||
}
|
||||
}
|
||||
throw new TypeError(typeof iterable + " is not iterable");
|
||||
}
|
||||
_exports.values = values;
|
||||
function doneResult() {
|
||||
return {
|
||||
value: undefined,
|
||||
done: true
|
||||
};
|
||||
}
|
||||
Context.prototype = {
|
||||
constructor: Context,
|
||||
reset: function (skipTempReset) {
|
||||
this.prev = 0;
|
||||
this.next = 0;
|
||||
this.sent = this._sent = undefined;
|
||||
this.done = false;
|
||||
this.delegate = null;
|
||||
this.method = "next";
|
||||
this.arg = undefined;
|
||||
this.tryEntries.forEach(resetTryEntry);
|
||||
if (!skipTempReset) {
|
||||
for (var name in this) {
|
||||
if (name.charAt(0) === "t" && hasOwn.call(this, name) && !isNaN(+name.slice(1))) {
|
||||
this[name] = undefined;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
stop: function () {
|
||||
this.done = true;
|
||||
var rootEntry = this.tryEntries[0];
|
||||
var rootRecord = rootEntry.completion;
|
||||
if (rootRecord.type === "throw") {
|
||||
throw rootRecord.arg;
|
||||
}
|
||||
return this.rval;
|
||||
},
|
||||
dispatchException: function (exception) {
|
||||
if (this.done) {
|
||||
throw exception;
|
||||
}
|
||||
var context = this;
|
||||
function handle(loc, caught) {
|
||||
record.type = "throw";
|
||||
record.arg = exception;
|
||||
context.next = loc;
|
||||
if (caught) {
|
||||
context.method = "next";
|
||||
context.arg = undefined;
|
||||
}
|
||||
return !!caught;
|
||||
}
|
||||
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
||||
var entry = this.tryEntries[i];
|
||||
var record = entry.completion;
|
||||
if (entry.tryLoc === "root") {
|
||||
return handle("end");
|
||||
}
|
||||
if (entry.tryLoc <= this.prev) {
|
||||
var hasCatch = hasOwn.call(entry, "catchLoc");
|
||||
var hasFinally = hasOwn.call(entry, "finallyLoc");
|
||||
if (hasCatch && hasFinally) {
|
||||
if (this.prev < entry.catchLoc) {
|
||||
return handle(entry.catchLoc, true);
|
||||
} else if (this.prev < entry.finallyLoc) {
|
||||
return handle(entry.finallyLoc);
|
||||
}
|
||||
} else if (hasCatch) {
|
||||
if (this.prev < entry.catchLoc) {
|
||||
return handle(entry.catchLoc, true);
|
||||
}
|
||||
} else if (hasFinally) {
|
||||
if (this.prev < entry.finallyLoc) {
|
||||
return handle(entry.finallyLoc);
|
||||
}
|
||||
} else {
|
||||
throw new Error("try statement without catch or finally");
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
abrupt: function (type, arg) {
|
||||
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
||||
var entry = this.tryEntries[i];
|
||||
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
||||
var finallyEntry = entry;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (finallyEntry && (type === "break" || type === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) {
|
||||
finallyEntry = null;
|
||||
}
|
||||
var record = finallyEntry ? finallyEntry.completion : {};
|
||||
record.type = type;
|
||||
record.arg = arg;
|
||||
if (finallyEntry) {
|
||||
this.method = "next";
|
||||
this.next = finallyEntry.finallyLoc;
|
||||
return ContinueSentinel;
|
||||
}
|
||||
return this.complete(record);
|
||||
},
|
||||
complete: function (record, afterLoc) {
|
||||
if (record.type === "throw") {
|
||||
throw record.arg;
|
||||
}
|
||||
if (record.type === "break" || record.type === "continue") {
|
||||
this.next = record.arg;
|
||||
} else if (record.type === "return") {
|
||||
this.rval = this.arg = record.arg;
|
||||
this.method = "return";
|
||||
this.next = "end";
|
||||
} else if (record.type === "normal" && afterLoc) {
|
||||
this.next = afterLoc;
|
||||
}
|
||||
return ContinueSentinel;
|
||||
},
|
||||
finish: function (finallyLoc) {
|
||||
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
||||
var entry = this.tryEntries[i];
|
||||
if (entry.finallyLoc === finallyLoc) {
|
||||
this.complete(entry.completion, entry.afterLoc);
|
||||
resetTryEntry(entry);
|
||||
return ContinueSentinel;
|
||||
}
|
||||
}
|
||||
},
|
||||
catch: function (tryLoc) {
|
||||
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
||||
var entry = this.tryEntries[i];
|
||||
if (entry.tryLoc === tryLoc) {
|
||||
var record = entry.completion;
|
||||
if (record.type === "throw") {
|
||||
var thrown = record.arg;
|
||||
resetTryEntry(entry);
|
||||
}
|
||||
return thrown;
|
||||
}
|
||||
}
|
||||
throw new Error("illegal catch attempt");
|
||||
},
|
||||
delegateYield: function (iterable, resultName, nextLoc) {
|
||||
this.delegate = {
|
||||
iterator: values(iterable),
|
||||
resultName: resultName,
|
||||
nextLoc: nextLoc
|
||||
};
|
||||
if (this.method === "next") {
|
||||
this.arg = undefined;
|
||||
}
|
||||
return ContinueSentinel;
|
||||
}
|
||||
};
|
||||
return _exports;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=regeneratorRuntime.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js.map
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
21
my-app/node_modules/@babel/helpers/lib/helpers/setFunctionName.js
generated
vendored
Executable file
21
my-app/node_modules/@babel/helpers/lib/helpers/setFunctionName.js
generated
vendored
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = setFunctionName;
|
||||
function setFunctionName(fn, name, prefix) {
|
||||
if (typeof name === "symbol") {
|
||||
name = name.description;
|
||||
name = name ? "[" + name + "]" : "";
|
||||
}
|
||||
try {
|
||||
Object.defineProperty(fn, "name", {
|
||||
configurable: true,
|
||||
value: prefix ? prefix + " " + name : name
|
||||
});
|
||||
} catch (_) {}
|
||||
return fn;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=setFunctionName.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/setFunctionName.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/setFunctionName.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["setFunctionName","fn","name","prefix","description","Object","defineProperty","configurable","value","_"],"sources":["../../src/helpers/setFunctionName.ts"],"sourcesContent":["/* @minVersion 7.23.6 */\n\n// https://tc39.es/ecma262/#sec-setfunctionname\nexport default function setFunctionName<T extends Function>(\n fn: T,\n name: symbol | string,\n prefix?: string,\n): T {\n if (typeof name === \"symbol\") {\n name = name.description;\n name = name ? \"[\" + name + \"]\" : \"\";\n }\n // In some older browsers .name was non-configurable, here we catch any\n // errors thrown by defineProperty.\n try {\n Object.defineProperty(fn, \"name\", {\n configurable: true,\n value: prefix ? prefix + \" \" + name : name,\n });\n } catch (_) {}\n return fn;\n}\n"],"mappings":";;;;;;AAGe,SAASA,eAAeA,CACrCC,EAAK,EACLC,IAAqB,EACrBC,MAAe,EACZ;EACH,IAAI,OAAOD,IAAI,KAAK,QAAQ,EAAE;IAC5BA,IAAI,GAAGA,IAAI,CAACE,WAAW;IACvBF,IAAI,GAAGA,IAAI,GAAG,GAAG,GAAGA,IAAI,GAAG,GAAG,GAAG,EAAE;EACrC;EAGA,IAAI;IACFG,MAAM,CAACC,cAAc,CAACL,EAAE,EAAE,MAAM,EAAE;MAChCM,YAAY,EAAE,IAAI;MAClBC,KAAK,EAAEL,MAAM,GAAGA,MAAM,GAAG,GAAG,GAAGD,IAAI,GAAGA;IACxC,CAAC,CAAC;EACJ,CAAC,CAAC,OAAOO,CAAC,EAAE,CAAC;EACb,OAAOR,EAAE;AACX"}
|
||||
18
my-app/node_modules/@babel/helpers/lib/helpers/toPrimitive.js
generated
vendored
Executable file
18
my-app/node_modules/@babel/helpers/lib/helpers/toPrimitive.js
generated
vendored
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = toPrimitive;
|
||||
function toPrimitive(input, hint) {
|
||||
if (typeof input !== "object" || !input) return input;
|
||||
var prim = input[Symbol.toPrimitive];
|
||||
if (prim !== undefined) {
|
||||
var res = prim.call(input, hint || "default");
|
||||
if (typeof res !== "object") return res;
|
||||
throw new TypeError("@@toPrimitive must return a primitive value.");
|
||||
}
|
||||
return (hint === "string" ? String : Number)(input);
|
||||
}
|
||||
|
||||
//# sourceMappingURL=toPrimitive.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/toPrimitive.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/toPrimitive.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["toPrimitive","input","hint","prim","Symbol","undefined","res","call","TypeError","String","Number"],"sources":["../../src/helpers/toPrimitive.ts"],"sourcesContent":["/* @minVersion 7.1.5 */\n\n// https://tc39.es/ecma262/#sec-toprimitive\nexport default function toPrimitive(\n input: unknown,\n hint?: \"default\" | \"string\" | \"number\",\n) {\n if (typeof input !== \"object\" || !input) return input;\n // @ts-expect-error Symbol.toPrimitive might not index {}\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (typeof res !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}\n"],"mappings":";;;;;;AAGe,SAASA,WAAWA,CACjCC,KAAc,EACdC,IAAsC,EACtC;EACA,IAAI,OAAOD,KAAK,KAAK,QAAQ,IAAI,CAACA,KAAK,EAAE,OAAOA,KAAK;EAErD,IAAIE,IAAI,GAAGF,KAAK,CAACG,MAAM,CAACJ,WAAW,CAAC;EACpC,IAAIG,IAAI,KAAKE,SAAS,EAAE;IACtB,IAAIC,GAAG,GAAGH,IAAI,CAACI,IAAI,CAACN,KAAK,EAAEC,IAAI,IAAI,SAAS,CAAC;IAC7C,IAAI,OAAOI,GAAG,KAAK,QAAQ,EAAE,OAAOA,GAAG;IACvC,MAAM,IAAIE,SAAS,CAAC,8CAA8C,CAAC;EACrE;EACA,OAAO,CAACN,IAAI,KAAK,QAAQ,GAAGO,MAAM,GAAGC,MAAM,EAAET,KAAK,CAAC;AACrD"}
|
||||
13
my-app/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js
generated
vendored
Executable file
13
my-app/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js
generated
vendored
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = toPropertyKey;
|
||||
var _toPrimitive = require("./toPrimitive.js");
|
||||
function toPropertyKey(arg) {
|
||||
var key = (0, _toPrimitive.default)(arg, "string");
|
||||
return typeof key === "symbol" ? key : String(key);
|
||||
}
|
||||
|
||||
//# sourceMappingURL=toPropertyKey.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_toPrimitive","require","toPropertyKey","arg","key","toPrimitive","String"],"sources":["../../src/helpers/toPropertyKey.ts"],"sourcesContent":["/* @minVersion 7.1.5 */\n\n// https://tc39.es/ecma262/#sec-topropertykey\n\nimport toPrimitive from \"./toPrimitive.ts\";\n\nexport default function toPropertyKey(arg: unknown) {\n var key = toPrimitive(arg, \"string\");\n return typeof key === \"symbol\" ? key : String(key);\n}\n"],"mappings":";;;;;;AAIA,IAAAA,YAAA,GAAAC,OAAA;AAEe,SAASC,aAAaA,CAACC,GAAY,EAAE;EAClD,IAAIC,GAAG,GAAG,IAAAC,oBAAW,EAACF,GAAG,EAAE,QAAQ,CAAC;EACpC,OAAO,OAAOC,GAAG,KAAK,QAAQ,GAAGA,GAAG,GAAGE,MAAM,CAACF,GAAG,CAAC;AACpD"}
|
||||
22
my-app/node_modules/@babel/helpers/lib/helpers/typeof.js
generated
vendored
Executable file
22
my-app/node_modules/@babel/helpers/lib/helpers/typeof.js
generated
vendored
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _typeof;
|
||||
function _typeof(obj) {
|
||||
"@babel/helpers - typeof";
|
||||
|
||||
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
||||
exports.default = _typeof = function (obj) {
|
||||
return typeof obj;
|
||||
};
|
||||
} else {
|
||||
exports.default = _typeof = function (obj) {
|
||||
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
||||
};
|
||||
}
|
||||
return _typeof(obj);
|
||||
}
|
||||
|
||||
//# sourceMappingURL=typeof.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/typeof.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/typeof.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_typeof","obj","Symbol","iterator","exports","default","constructor","prototype"],"sources":["../../src/helpers/typeof.js"],"sourcesContent":["/* @minVersion 7.0.0-beta.0 */\n\n/* eslint-disable no-func-assign */\n\nexport default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj &&\n typeof Symbol === \"function\" &&\n obj.constructor === Symbol &&\n obj !== Symbol.prototype\n ? \"symbol\"\n : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n"],"mappings":";;;;;;AAIe,SAASA,OAAOA,CAACC,GAAG,EAAE;EACnC,yBAAyB;;EAEzB,IAAI,OAAOC,MAAM,KAAK,UAAU,IAAI,OAAOA,MAAM,CAACC,QAAQ,KAAK,QAAQ,EAAE;IACvEC,OAAA,CAAAC,OAAA,GAAAL,OAAO,GAAG,SAAAA,CAAUC,GAAG,EAAE;MACvB,OAAO,OAAOA,GAAG;IACnB,CAAC;EACH,CAAC,MAAM;IACLG,OAAA,CAAAC,OAAA,GAAAL,OAAO,GAAG,SAAAA,CAAUC,GAAG,EAAE;MACvB,OAAOA,GAAG,IACR,OAAOC,MAAM,KAAK,UAAU,IAC5BD,GAAG,CAACK,WAAW,KAAKJ,MAAM,IAC1BD,GAAG,KAAKC,MAAM,CAACK,SAAS,GACtB,QAAQ,GACR,OAAON,GAAG;IAChB,CAAC;EACH;EAEA,OAAOD,OAAO,CAACC,GAAG,CAAC;AACrB"}
|
||||
29
my-app/node_modules/@babel/helpers/lib/helpers/using.js
generated
vendored
Executable file
29
my-app/node_modules/@babel/helpers/lib/helpers/using.js
generated
vendored
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _using;
|
||||
function _using(stack, value, isAwait) {
|
||||
if (value === null || value === void 0) return value;
|
||||
if (Object(value) !== value) {
|
||||
throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");
|
||||
}
|
||||
if (isAwait) {
|
||||
var dispose = value[Symbol.asyncDispose || Symbol.for("Symbol.asyncDispose")];
|
||||
}
|
||||
if (dispose === null || dispose === void 0) {
|
||||
dispose = value[Symbol.dispose || Symbol.for("Symbol.dispose")];
|
||||
}
|
||||
if (typeof dispose !== "function") {
|
||||
throw new TypeError(`Property [Symbol.dispose] is not a function.`);
|
||||
}
|
||||
stack.push({
|
||||
v: value,
|
||||
d: dispose,
|
||||
a: isAwait
|
||||
});
|
||||
return value;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=using.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/using.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/using.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_using","stack","value","isAwait","Object","TypeError","dispose","Symbol","asyncDispose","for","push","v","d","a"],"sources":["../../src/helpers/using.js"],"sourcesContent":["/* @minVersion 7.22.0 */\n\nexport default function _using(stack, value, isAwait) {\n if (value === null || value === void 0) return value;\n if (Object(value) !== value) {\n throw new TypeError(\n \"using declarations can only be used with objects, functions, null, or undefined.\",\n );\n }\n // core-js-pure uses Symbol.for for polyfilling well-known symbols\n if (isAwait) {\n var dispose =\n value[Symbol.asyncDispose || Symbol.for(\"Symbol.asyncDispose\")];\n }\n if (dispose === null || dispose === void 0) {\n dispose = value[Symbol.dispose || Symbol.for(\"Symbol.dispose\")];\n }\n if (typeof dispose !== \"function\") {\n throw new TypeError(`Property [Symbol.dispose] is not a function.`);\n }\n stack.push({ v: value, d: dispose, a: isAwait });\n return value;\n}\n"],"mappings":";;;;;;AAEe,SAASA,MAAMA,CAACC,KAAK,EAAEC,KAAK,EAAEC,OAAO,EAAE;EACpD,IAAID,KAAK,KAAK,IAAI,IAAIA,KAAK,KAAK,KAAK,CAAC,EAAE,OAAOA,KAAK;EACpD,IAAIE,MAAM,CAACF,KAAK,CAAC,KAAKA,KAAK,EAAE;IAC3B,MAAM,IAAIG,SAAS,CACjB,kFACF,CAAC;EACH;EAEA,IAAIF,OAAO,EAAE;IACX,IAAIG,OAAO,GACTJ,KAAK,CAACK,MAAM,CAACC,YAAY,IAAID,MAAM,CAACE,GAAG,CAAC,qBAAqB,CAAC,CAAC;EACnE;EACA,IAAIH,OAAO,KAAK,IAAI,IAAIA,OAAO,KAAK,KAAK,CAAC,EAAE;IAC1CA,OAAO,GAAGJ,KAAK,CAACK,MAAM,CAACD,OAAO,IAAIC,MAAM,CAACE,GAAG,CAAC,gBAAgB,CAAC,CAAC;EACjE;EACA,IAAI,OAAOH,OAAO,KAAK,UAAU,EAAE;IACjC,MAAM,IAAID,SAAS,CAAE,8CAA6C,CAAC;EACrE;EACAJ,KAAK,CAACS,IAAI,CAAC;IAAEC,CAAC,EAAET,KAAK;IAAEU,CAAC,EAAEN,OAAO;IAAEO,CAAC,EAAEV;EAAQ,CAAC,CAAC;EAChD,OAAOD,KAAK;AACd"}
|
||||
68
my-app/node_modules/@babel/helpers/lib/helpers/usingCtx.js
generated
vendored
Executable file
68
my-app/node_modules/@babel/helpers/lib/helpers/usingCtx.js
generated
vendored
Executable file
|
|
@ -0,0 +1,68 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _usingCtx;
|
||||
function _usingCtx() {
|
||||
var _disposeSuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed) {
|
||||
var err = new Error();
|
||||
err.name = "SuppressedError";
|
||||
err.suppressed = suppressed;
|
||||
err.error = error;
|
||||
return err;
|
||||
},
|
||||
empty = {},
|
||||
stack = [];
|
||||
function using(isAwait, value) {
|
||||
if (value != null) {
|
||||
if (Object(value) !== value) {
|
||||
throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");
|
||||
}
|
||||
if (isAwait) {
|
||||
var dispose = value[Symbol.asyncDispose || Symbol.for("Symbol.asyncDispose")];
|
||||
}
|
||||
if (dispose == null) {
|
||||
dispose = value[Symbol.dispose || Symbol.for("Symbol.dispose")];
|
||||
}
|
||||
if (typeof dispose !== "function") {
|
||||
throw new TypeError(`Property [Symbol.dispose] is not a function.`);
|
||||
}
|
||||
stack.push({
|
||||
v: value,
|
||||
d: dispose,
|
||||
a: isAwait
|
||||
});
|
||||
}
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
e: empty,
|
||||
u: using.bind(null, false),
|
||||
a: using.bind(null, true),
|
||||
d: function () {
|
||||
var error = this.e;
|
||||
function next() {
|
||||
while (resource = stack.pop()) {
|
||||
try {
|
||||
var resource,
|
||||
disposalResult = resource.d.call(resource.v);
|
||||
if (resource.a) {
|
||||
return Promise.resolve(disposalResult).then(next, err);
|
||||
}
|
||||
} catch (e) {
|
||||
return err(e);
|
||||
}
|
||||
}
|
||||
if (error !== empty) throw error;
|
||||
}
|
||||
function err(e) {
|
||||
error = error !== empty ? new _disposeSuppressedError(error, e) : e;
|
||||
return next();
|
||||
}
|
||||
return next();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
//# sourceMappingURL=usingCtx.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/usingCtx.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/usingCtx.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_usingCtx","_disposeSuppressedError","SuppressedError","error","suppressed","err","Error","name","empty","stack","using","isAwait","value","Object","TypeError","dispose","Symbol","asyncDispose","for","push","v","d","a","e","u","bind","next","resource","pop","disposalResult","call","Promise","resolve","then"],"sources":["../../src/helpers/usingCtx.ts"],"sourcesContent":["/* @minVersion 7.23.9 */\n\ntype Stack = {\n v: any;\n d: () => any;\n a: boolean;\n};\n\nexport default function _usingCtx() {\n var _disposeSuppressedError =\n typeof SuppressedError === \"function\"\n ? // eslint-disable-next-line no-undef\n SuppressedError\n : (function (error: Error, suppressed: Error) {\n var err = new Error() as SuppressedError;\n err.name = \"SuppressedError\";\n err.suppressed = suppressed;\n err.error = error;\n return err;\n } as SuppressedErrorConstructor),\n empty = {},\n stack: Stack[] = [];\n function using(isAwait: boolean, value: any) {\n if (value != null) {\n if (Object(value) !== value) {\n throw new TypeError(\n \"using declarations can only be used with objects, functions, null, or undefined.\",\n );\n }\n // core-js-pure uses Symbol.for for polyfilling well-known symbols\n if (isAwait) {\n var dispose =\n value[Symbol.asyncDispose || Symbol.for(\"Symbol.asyncDispose\")];\n }\n if (dispose == null) {\n dispose = value[Symbol.dispose || Symbol.for(\"Symbol.dispose\")];\n }\n if (typeof dispose !== \"function\") {\n throw new TypeError(`Property [Symbol.dispose] is not a function.`);\n }\n stack.push({ v: value, d: dispose, a: isAwait });\n }\n return value;\n }\n return {\n // error\n e: empty,\n // using\n u: using.bind(null, false),\n // await using\n a: using.bind(null, true),\n // dispose\n d: function () {\n var error = this.e;\n\n function next(): any {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n while ((resource = stack.pop())) {\n try {\n var resource,\n disposalResult = resource.d.call(resource.v);\n if (resource.a) {\n return Promise.resolve(disposalResult).then(next, err);\n }\n } catch (e) {\n return err(e);\n }\n }\n if (error !== empty) throw error;\n }\n\n function err(e: Error) {\n error = error !== empty ? new _disposeSuppressedError(error, e) : e;\n\n return next();\n }\n\n return next();\n },\n };\n}\n"],"mappings":";;;;;;AAQe,SAASA,SAASA,CAAA,EAAG;EAClC,IAAIC,uBAAuB,GACvB,OAAOC,eAAe,KAAK,UAAU,GAEjCA,eAAe,GACd,UAAUC,KAAY,EAAEC,UAAiB,EAAE;MAC1C,IAAIC,GAAG,GAAG,IAAIC,KAAK,CAAC,CAAoB;MACxCD,GAAG,CAACE,IAAI,GAAG,iBAAiB;MAC5BF,GAAG,CAACD,UAAU,GAAGA,UAAU;MAC3BC,GAAG,CAACF,KAAK,GAAGA,KAAK;MACjB,OAAOE,GAAG;IACZ,CAAgC;IACtCG,KAAK,GAAG,CAAC,CAAC;IACVC,KAAc,GAAG,EAAE;EACrB,SAASC,KAAKA,CAACC,OAAgB,EAAEC,KAAU,EAAE;IAC3C,IAAIA,KAAK,IAAI,IAAI,EAAE;MACjB,IAAIC,MAAM,CAACD,KAAK,CAAC,KAAKA,KAAK,EAAE;QAC3B,MAAM,IAAIE,SAAS,CACjB,kFACF,CAAC;MACH;MAEA,IAAIH,OAAO,EAAE;QACX,IAAII,OAAO,GACTH,KAAK,CAACI,MAAM,CAACC,YAAY,IAAID,MAAM,CAACE,GAAG,CAAC,qBAAqB,CAAC,CAAC;MACnE;MACA,IAAIH,OAAO,IAAI,IAAI,EAAE;QACnBA,OAAO,GAAGH,KAAK,CAACI,MAAM,CAACD,OAAO,IAAIC,MAAM,CAACE,GAAG,CAAC,gBAAgB,CAAC,CAAC;MACjE;MACA,IAAI,OAAOH,OAAO,KAAK,UAAU,EAAE;QACjC,MAAM,IAAID,SAAS,CAAE,8CAA6C,CAAC;MACrE;MACAL,KAAK,CAACU,IAAI,CAAC;QAAEC,CAAC,EAAER,KAAK;QAAES,CAAC,EAAEN,OAAO;QAAEO,CAAC,EAAEX;MAAQ,CAAC,CAAC;IAClD;IACA,OAAOC,KAAK;EACd;EACA,OAAO;IAELW,CAAC,EAAEf,KAAK;IAERgB,CAAC,EAAEd,KAAK,CAACe,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC;IAE1BH,CAAC,EAAEZ,KAAK,CAACe,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;IAEzBJ,CAAC,EAAE,SAAAA,CAAA,EAAY;MACb,IAAIlB,KAAK,GAAG,IAAI,CAACoB,CAAC;MAElB,SAASG,IAAIA,CAAA,EAAQ;QAEnB,OAAQC,QAAQ,GAAGlB,KAAK,CAACmB,GAAG,CAAC,CAAC,EAAG;UAC/B,IAAI;YACF,IAAID,QAAQ;cACVE,cAAc,GAAGF,QAAQ,CAACN,CAAC,CAACS,IAAI,CAACH,QAAQ,CAACP,CAAC,CAAC;YAC9C,IAAIO,QAAQ,CAACL,CAAC,EAAE;cACd,OAAOS,OAAO,CAACC,OAAO,CAACH,cAAc,CAAC,CAACI,IAAI,CAACP,IAAI,EAAErB,GAAG,CAAC;YACxD;UACF,CAAC,CAAC,OAAOkB,CAAC,EAAE;YACV,OAAOlB,GAAG,CAACkB,CAAC,CAAC;UACf;QACF;QACA,IAAIpB,KAAK,KAAKK,KAAK,EAAE,MAAML,KAAK;MAClC;MAEA,SAASE,GAAGA,CAACkB,CAAQ,EAAE;QACrBpB,KAAK,GAAGA,KAAK,KAAKK,KAAK,GAAG,IAAIP,uBAAuB,CAACE,KAAK,EAAEoB,CAAC,CAAC,GAAGA,CAAC;QAEnE,OAAOG,IAAI,CAAC,CAAC;MACf;MAEA,OAAOA,IAAI,CAAC,CAAC;IACf;EACF,CAAC;AACH"}
|
||||
66
my-app/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js
generated
vendored
Executable file
66
my-app/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js
generated
vendored
Executable file
|
|
@ -0,0 +1,66 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _wrapRegExp;
|
||||
var _setPrototypeOf = require("setPrototypeOf");
|
||||
var _inherits = require("inherits");
|
||||
function _wrapRegExp() {
|
||||
exports.default = _wrapRegExp = function (re, groups) {
|
||||
return new BabelRegExp(re, undefined, groups);
|
||||
};
|
||||
var _super = RegExp.prototype;
|
||||
var _groups = new WeakMap();
|
||||
function BabelRegExp(re, flags, groups) {
|
||||
var _this = new RegExp(re, flags);
|
||||
_groups.set(_this, groups || _groups.get(re));
|
||||
return _setPrototypeOf(_this, BabelRegExp.prototype);
|
||||
}
|
||||
_inherits(BabelRegExp, RegExp);
|
||||
BabelRegExp.prototype.exec = function (str) {
|
||||
var result = _super.exec.call(this, str);
|
||||
if (result) {
|
||||
result.groups = buildGroups(result, this);
|
||||
var indices = result.indices;
|
||||
if (indices) indices.groups = buildGroups(indices, this);
|
||||
}
|
||||
return result;
|
||||
};
|
||||
BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {
|
||||
if (typeof substitution === "string") {
|
||||
var groups = _groups.get(this);
|
||||
return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) {
|
||||
var group = groups[name];
|
||||
return "$" + (Array.isArray(group) ? group.join("$") : group);
|
||||
}));
|
||||
} else if (typeof substitution === "function") {
|
||||
var _this = this;
|
||||
return _super[Symbol.replace].call(this, str, function () {
|
||||
var args = arguments;
|
||||
if (typeof args[args.length - 1] !== "object") {
|
||||
args = [].slice.call(args);
|
||||
args.push(buildGroups(args, _this));
|
||||
}
|
||||
return substitution.apply(this, args);
|
||||
});
|
||||
} else {
|
||||
return _super[Symbol.replace].call(this, str, substitution);
|
||||
}
|
||||
};
|
||||
function buildGroups(result, re) {
|
||||
var g = _groups.get(re);
|
||||
return Object.keys(g).reduce(function (groups, name) {
|
||||
var i = g[name];
|
||||
if (typeof i === "number") groups[name] = result[i];else {
|
||||
var k = 0;
|
||||
while (result[i[k]] === undefined && k + 1 < i.length) k++;
|
||||
groups[name] = result[i[k]];
|
||||
}
|
||||
return groups;
|
||||
}, Object.create(null));
|
||||
}
|
||||
return _wrapRegExp.apply(this, arguments);
|
||||
}
|
||||
|
||||
//# sourceMappingURL=wrapRegExp.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js.map
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
241
my-app/node_modules/@babel/helpers/lib/index.js
generated
vendored
Executable file
241
my-app/node_modules/@babel/helpers/lib/index.js
generated
vendored
Executable file
|
|
@ -0,0 +1,241 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
exports.ensure = ensure;
|
||||
exports.get = get;
|
||||
exports.getDependencies = getDependencies;
|
||||
exports.list = void 0;
|
||||
exports.minVersion = minVersion;
|
||||
var _traverse = require("@babel/traverse");
|
||||
var _t = require("@babel/types");
|
||||
var _helpers = require("./helpers.js");
|
||||
const {
|
||||
assignmentExpression,
|
||||
cloneNode,
|
||||
expressionStatement,
|
||||
file,
|
||||
identifier
|
||||
} = _t;
|
||||
function makePath(path) {
|
||||
const parts = [];
|
||||
for (; path.parentPath; path = path.parentPath) {
|
||||
parts.push(path.key);
|
||||
if (path.inList) parts.push(path.listKey);
|
||||
}
|
||||
return parts.reverse().join(".");
|
||||
}
|
||||
let FileClass = undefined;
|
||||
function getHelperMetadata(file) {
|
||||
const globals = new Set();
|
||||
const localBindingNames = new Set();
|
||||
const dependencies = new Map();
|
||||
let exportName;
|
||||
let exportPath;
|
||||
const exportBindingAssignments = [];
|
||||
const importPaths = [];
|
||||
const importBindingsReferences = [];
|
||||
const dependencyVisitor = {
|
||||
ImportDeclaration(child) {
|
||||
const name = child.node.source.value;
|
||||
if (!_helpers.default[name]) {
|
||||
throw child.buildCodeFrameError(`Unknown helper ${name}`);
|
||||
}
|
||||
if (child.get("specifiers").length !== 1 || !child.get("specifiers.0").isImportDefaultSpecifier()) {
|
||||
throw child.buildCodeFrameError("Helpers can only import a default value");
|
||||
}
|
||||
const bindingIdentifier = child.node.specifiers[0].local;
|
||||
dependencies.set(bindingIdentifier, name);
|
||||
importPaths.push(makePath(child));
|
||||
},
|
||||
ExportDefaultDeclaration(child) {
|
||||
const decl = child.get("declaration");
|
||||
if (!decl.isFunctionDeclaration() || !decl.node.id) {
|
||||
throw decl.buildCodeFrameError("Helpers can only export named function declarations");
|
||||
}
|
||||
exportName = decl.node.id.name;
|
||||
exportPath = makePath(child);
|
||||
},
|
||||
ExportAllDeclaration(child) {
|
||||
throw child.buildCodeFrameError("Helpers can only export default");
|
||||
},
|
||||
ExportNamedDeclaration(child) {
|
||||
throw child.buildCodeFrameError("Helpers can only export default");
|
||||
},
|
||||
Statement(child) {
|
||||
if (child.isImportDeclaration() || child.isExportDeclaration()) return;
|
||||
child.skip();
|
||||
}
|
||||
};
|
||||
const referenceVisitor = {
|
||||
Program(path) {
|
||||
const bindings = path.scope.getAllBindings();
|
||||
Object.keys(bindings).forEach(name => {
|
||||
if (name === exportName) return;
|
||||
if (dependencies.has(bindings[name].identifier)) return;
|
||||
localBindingNames.add(name);
|
||||
});
|
||||
},
|
||||
ReferencedIdentifier(child) {
|
||||
const name = child.node.name;
|
||||
const binding = child.scope.getBinding(name);
|
||||
if (!binding) {
|
||||
globals.add(name);
|
||||
} else if (dependencies.has(binding.identifier)) {
|
||||
importBindingsReferences.push(makePath(child));
|
||||
}
|
||||
},
|
||||
AssignmentExpression(child) {
|
||||
const left = child.get("left");
|
||||
if (!(exportName in left.getBindingIdentifiers())) return;
|
||||
if (!left.isIdentifier()) {
|
||||
throw left.buildCodeFrameError("Only simple assignments to exports are allowed in helpers");
|
||||
}
|
||||
const binding = child.scope.getBinding(exportName);
|
||||
if (binding != null && binding.scope.path.isProgram()) {
|
||||
exportBindingAssignments.push(makePath(child));
|
||||
}
|
||||
}
|
||||
};
|
||||
(0, _traverse.default)(file.ast, dependencyVisitor, file.scope);
|
||||
(0, _traverse.default)(file.ast, referenceVisitor, file.scope);
|
||||
if (!exportPath) throw new Error("Helpers must have a default export.");
|
||||
exportBindingAssignments.reverse();
|
||||
return {
|
||||
globals: Array.from(globals),
|
||||
localBindingNames: Array.from(localBindingNames),
|
||||
dependencies,
|
||||
exportBindingAssignments,
|
||||
exportPath,
|
||||
exportName,
|
||||
importBindingsReferences,
|
||||
importPaths
|
||||
};
|
||||
}
|
||||
function permuteHelperAST(file, metadata, id, localBindings, getDependency) {
|
||||
if (localBindings && !id) {
|
||||
throw new Error("Unexpected local bindings for module-based helpers.");
|
||||
}
|
||||
if (!id) return;
|
||||
const {
|
||||
localBindingNames,
|
||||
dependencies,
|
||||
exportBindingAssignments,
|
||||
exportPath,
|
||||
exportName,
|
||||
importBindingsReferences,
|
||||
importPaths
|
||||
} = metadata;
|
||||
const dependenciesRefs = {};
|
||||
dependencies.forEach((name, id) => {
|
||||
dependenciesRefs[id.name] = typeof getDependency === "function" && getDependency(name) || id;
|
||||
});
|
||||
const toRename = {};
|
||||
const bindings = new Set(localBindings || []);
|
||||
if (id.type === "Identifier") bindings.add(id.name);
|
||||
localBindingNames.forEach(name => {
|
||||
let newName = name;
|
||||
while (bindings.has(newName)) newName = "_" + newName;
|
||||
if (newName !== name) toRename[name] = newName;
|
||||
});
|
||||
if (id.type === "Identifier" && exportName !== id.name) {
|
||||
toRename[exportName] = id.name;
|
||||
}
|
||||
const {
|
||||
path
|
||||
} = file;
|
||||
const exp = path.get(exportPath);
|
||||
const imps = importPaths.map(p => path.get(p));
|
||||
const impsBindingRefs = importBindingsReferences.map(p => path.get(p));
|
||||
const decl = exp.get("declaration");
|
||||
if (id.type === "Identifier") {
|
||||
exp.replaceWith(decl);
|
||||
} else if (id.type === "MemberExpression") {
|
||||
exportBindingAssignments.forEach(assignPath => {
|
||||
const assign = path.get(assignPath);
|
||||
assign.replaceWith(assignmentExpression("=", id, assign.node));
|
||||
});
|
||||
exp.replaceWith(decl);
|
||||
path.pushContainer("body", expressionStatement(assignmentExpression("=", id, identifier(exportName))));
|
||||
} else {
|
||||
throw new Error("Unexpected helper format.");
|
||||
}
|
||||
Object.keys(toRename).forEach(name => {
|
||||
path.scope.rename(name, toRename[name]);
|
||||
});
|
||||
for (const path of imps) path.remove();
|
||||
for (const path of impsBindingRefs) {
|
||||
const node = cloneNode(dependenciesRefs[path.node.name]);
|
||||
path.replaceWith(node);
|
||||
}
|
||||
}
|
||||
const helperData = Object.create(null);
|
||||
function loadHelper(name) {
|
||||
if (!helperData[name]) {
|
||||
const helper = _helpers.default[name];
|
||||
if (!helper) {
|
||||
throw Object.assign(new ReferenceError(`Unknown helper ${name}`), {
|
||||
code: "BABEL_HELPER_UNKNOWN",
|
||||
helper: name
|
||||
});
|
||||
}
|
||||
const fn = () => {
|
||||
{
|
||||
if (!FileClass) {
|
||||
const fakeFile = {
|
||||
ast: file(helper.ast()),
|
||||
path: null
|
||||
};
|
||||
(0, _traverse.default)(fakeFile.ast, {
|
||||
Program: path => (fakeFile.path = path).stop()
|
||||
});
|
||||
return fakeFile;
|
||||
}
|
||||
}
|
||||
return new FileClass({
|
||||
filename: `babel-helper://${name}`
|
||||
}, {
|
||||
ast: file(helper.ast()),
|
||||
code: "[internal Babel helper code]",
|
||||
inputMap: null
|
||||
});
|
||||
};
|
||||
let metadata = null;
|
||||
helperData[name] = {
|
||||
minVersion: helper.minVersion,
|
||||
build(getDependency, id, localBindings) {
|
||||
const file = fn();
|
||||
metadata || (metadata = getHelperMetadata(file));
|
||||
permuteHelperAST(file, metadata, id, localBindings, getDependency);
|
||||
return {
|
||||
nodes: file.ast.program.body,
|
||||
globals: metadata.globals
|
||||
};
|
||||
},
|
||||
getDependencies() {
|
||||
metadata || (metadata = getHelperMetadata(fn()));
|
||||
return Array.from(metadata.dependencies.values());
|
||||
}
|
||||
};
|
||||
}
|
||||
return helperData[name];
|
||||
}
|
||||
function get(name, getDependency, id, localBindings) {
|
||||
return loadHelper(name).build(getDependency, id, localBindings);
|
||||
}
|
||||
function minVersion(name) {
|
||||
return loadHelper(name).minVersion;
|
||||
}
|
||||
function getDependencies(name) {
|
||||
return loadHelper(name).getDependencies();
|
||||
}
|
||||
function ensure(name, newFileClass) {
|
||||
FileClass || (FileClass = newFileClass);
|
||||
loadHelper(name);
|
||||
}
|
||||
const list = exports.list = Object.keys(_helpers.default).map(name => name.replace(/^_/, ""));
|
||||
var _default = exports.default = get;
|
||||
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
my-app/node_modules/@babel/helpers/lib/index.js.map
generated
vendored
Executable file
1
my-app/node_modules/@babel/helpers/lib/index.js.map
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue