Deployed the page to Github Pages.
This commit is contained in:
parent
1d79754e93
commit
2c89899458
62797 changed files with 6551425 additions and 15279 deletions
16
node_modules/@babel/plugin-transform-runtime/lib/get-runtime-path/browser.js
generated
vendored
Normal file
16
node_modules/@babel/plugin-transform-runtime/lib/get-runtime-path/browser.js
generated
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _default;
|
||||
exports.resolveFSPath = resolveFSPath;
|
||||
function _default(moduleName, dirname, absoluteRuntime) {
|
||||
if (absoluteRuntime === false) return moduleName;
|
||||
resolveFSPath();
|
||||
}
|
||||
function resolveFSPath() {
|
||||
throw new Error("The 'absoluteRuntime' option is not supported when using @babel/standalone.");
|
||||
}
|
||||
|
||||
//# sourceMappingURL=browser.js.map
|
40
node_modules/@babel/plugin-transform-runtime/lib/get-runtime-path/index.js
generated
vendored
Normal file
40
node_modules/@babel/plugin-transform-runtime/lib/get-runtime-path/index.js
generated
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _default;
|
||||
exports.resolveFSPath = resolveFSPath;
|
||||
var _path = require("path");
|
||||
var _module = require("module");
|
||||
function _default(moduleName, dirname, absoluteRuntime) {
|
||||
if (absoluteRuntime === false) return moduleName;
|
||||
return resolveAbsoluteRuntime(moduleName, _path.resolve(dirname, absoluteRuntime === true ? "." : absoluteRuntime));
|
||||
}
|
||||
function resolveAbsoluteRuntime(moduleName, dirname) {
|
||||
try {
|
||||
return _path.dirname((((v, w) => (v = v.split("."), w = w.split("."), +v[0] > +w[0] || v[0] == w[0] && +v[1] >= +w[1]))(process.versions.node, "8.9") ? require.resolve : (r, {
|
||||
paths: [b]
|
||||
}, M = require("module")) => {
|
||||
let f = M._findPath(r, M._nodeModulePaths(b).concat(b));
|
||||
if (f) return f;
|
||||
f = new Error(`Cannot resolve module '${r}'`);
|
||||
f.code = "MODULE_NOT_FOUND";
|
||||
throw f;
|
||||
})(`${moduleName}/package.json`, {
|
||||
paths: [dirname]
|
||||
})).replace(/\\/g, "/");
|
||||
} catch (err) {
|
||||
if (err.code !== "MODULE_NOT_FOUND") throw err;
|
||||
throw Object.assign(new Error(`Failed to resolve "${moduleName}" relative to "${dirname}"`), {
|
||||
code: "BABEL_RUNTIME_NOT_FOUND",
|
||||
runtime: moduleName,
|
||||
dirname
|
||||
});
|
||||
}
|
||||
}
|
||||
function resolveFSPath(path) {
|
||||
return require.resolve(path).replace(/\\/g, "/");
|
||||
}
|
||||
|
||||
//# sourceMappingURL=index.js.map
|
14
node_modules/@babel/plugin-transform-runtime/lib/helpers.js
generated
vendored
Normal file
14
node_modules/@babel/plugin-transform-runtime/lib/helpers.js
generated
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.hasMinVersion = hasMinVersion;
|
||||
var _semver = require("semver");
|
||||
function hasMinVersion(minVersion, runtimeVersion) {
|
||||
if (!runtimeVersion) return true;
|
||||
if (_semver.valid(runtimeVersion)) runtimeVersion = `^${runtimeVersion}`;
|
||||
return !_semver.intersects(`<${minVersion}`, runtimeVersion) && !_semver.intersects(`>=8.0.0`, runtimeVersion);
|
||||
}
|
||||
|
||||
//# sourceMappingURL=helpers.js.map
|
109
node_modules/@babel/plugin-transform-runtime/lib/index.js
generated
vendored
Normal file
109
node_modules/@babel/plugin-transform-runtime/lib/index.js
generated
vendored
Normal file
|
@ -0,0 +1,109 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _helperPluginUtils = require("@babel/helper-plugin-utils");
|
||||
var _helperModuleImports = require("@babel/helper-module-imports");
|
||||
var _core = require("@babel/core");
|
||||
var _helpers = require("./helpers.js");
|
||||
var _index = require("./get-runtime-path/index.js");
|
||||
var _index2 = require("./babel-7/index.cjs");
|
||||
var _default = exports.default = (0, _helperPluginUtils.declare)((api, options, dirname) => {
|
||||
api.assertVersion(7);
|
||||
const {
|
||||
version: runtimeVersion = "7.0.0-beta.0",
|
||||
absoluteRuntime = false,
|
||||
moduleName = null
|
||||
} = options;
|
||||
if (typeof absoluteRuntime !== "boolean" && typeof absoluteRuntime !== "string") {
|
||||
throw new Error("The 'absoluteRuntime' option must be undefined, a boolean, or a string.");
|
||||
}
|
||||
if (typeof runtimeVersion !== "string") {
|
||||
throw new Error(`The 'version' option must be a version string.`);
|
||||
}
|
||||
if (moduleName !== null && typeof moduleName !== "string") {
|
||||
throw new Error("The 'moduleName' option must be null or a string.");
|
||||
}
|
||||
{
|
||||
const DUAL_MODE_RUNTIME = "7.13.0";
|
||||
var supportsCJSDefault = (0, _helpers.hasMinVersion)(DUAL_MODE_RUNTIME, runtimeVersion);
|
||||
}
|
||||
if (hasOwnProperty.call(options, "useBuiltIns")) {
|
||||
if (options["useBuiltIns"]) {
|
||||
throw new Error("The 'useBuiltIns' option has been removed. The @babel/runtime " + "module now uses builtins by default.");
|
||||
} else {
|
||||
throw new Error("The 'useBuiltIns' option has been removed. Use the 'corejs'" + "option to polyfill with `core-js` via @babel/runtime.");
|
||||
}
|
||||
}
|
||||
if (hasOwnProperty.call(options, "polyfill")) {
|
||||
if (options["polyfill"] === false) {
|
||||
throw new Error("The 'polyfill' option has been removed. The @babel/runtime " + "module now skips polyfilling by default.");
|
||||
} else {
|
||||
throw new Error("The 'polyfill' option has been removed. Use the 'corejs'" + "option to polyfill with `core-js` via @babel/runtime.");
|
||||
}
|
||||
}
|
||||
;
|
||||
{
|
||||
const {
|
||||
useESModules = false
|
||||
} = options;
|
||||
if (typeof useESModules !== "boolean" && useESModules !== "auto") {
|
||||
throw new Error("The 'useESModules' option must be undefined, or a boolean, or 'auto'.");
|
||||
}
|
||||
var esModules = useESModules === "auto" ? api.caller(caller => !!(caller != null && caller.supportsStaticESM)) : useESModules;
|
||||
}
|
||||
{
|
||||
var {
|
||||
helpers: useRuntimeHelpers = true
|
||||
} = options;
|
||||
if (typeof useRuntimeHelpers !== "boolean") {
|
||||
throw new Error("The 'helpers' option must be undefined, or a boolean.");
|
||||
}
|
||||
}
|
||||
const HEADER_HELPERS = new Set(["interopRequireWildcard", "interopRequireDefault"]);
|
||||
return {
|
||||
name: "transform-runtime",
|
||||
inherits: _index2.createPolyfillPlugins(options, runtimeVersion, absoluteRuntime),
|
||||
pre(file) {
|
||||
if (!useRuntimeHelpers) return;
|
||||
let modulePath;
|
||||
file.set("helperGenerator", name => {
|
||||
var _modulePath, _ref;
|
||||
(_modulePath = modulePath) != null ? _modulePath : modulePath = (0, _index.default)((_ref = moduleName != null ? moduleName : file.get("runtimeHelpersModuleName")) != null ? _ref : "@babel/runtime", dirname, absoluteRuntime);
|
||||
{
|
||||
if (!(file.availableHelper != null && file.availableHelper(name, runtimeVersion))) {
|
||||
if (name === "regeneratorRuntime") {
|
||||
return _core.types.arrowFunctionExpression([], _core.types.identifier("regeneratorRuntime"));
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
const blockHoist = HEADER_HELPERS.has(name) && !(0, _helperModuleImports.isModule)(file.path) ? 4 : undefined;
|
||||
let helperPath = `${modulePath}/helpers/${esModules && file.path.node.sourceType === "module" ? "esm/" + name : name}`;
|
||||
if (absoluteRuntime) helperPath = (0, _index.resolveFSPath)(helperPath);
|
||||
return addDefaultImport(helperPath, name, blockHoist, true);
|
||||
});
|
||||
const cache = new Map();
|
||||
function addDefaultImport(source, nameHint, blockHoist, isHelper = false) {
|
||||
const cacheKey = (0, _helperModuleImports.isModule)(file.path);
|
||||
const key = `${source}:${nameHint}:${cacheKey || ""}`;
|
||||
let cached = cache.get(key);
|
||||
if (cached) {
|
||||
cached = _core.types.cloneNode(cached);
|
||||
} else {
|
||||
cached = (0, _helperModuleImports.addDefault)(file.path, source, {
|
||||
importedInterop: isHelper && supportsCJSDefault ? "compiled" : "uncompiled",
|
||||
nameHint,
|
||||
blockHoist
|
||||
});
|
||||
cache.set(key, cached);
|
||||
}
|
||||
return cached;
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
//# sourceMappingURL=index.js.map
|
Loading…
Add table
Add a link
Reference in a new issue