Unverified Commit 8221c180 authored by Guy Bedford's avatar Guy Bedford Committed by GitHub

ncc 0.25.0 upgrade and fixes (#18873)

This upgrades to ncc@0.25.0 and fixes the previous bugs including:

* ncc not referenced correctly in build
* Babel type errors
* node-fetch, etag, chalk and raw-body dependencies not building with ncc - these have been "un-ncc'd" for now. As they are relatively small dependencies, this doesn't seem too much of an issue and we can follow up in the tracking ncc issue at https://github.com/vercel/ncc/issues/612.
* `yarn dev` issues

Took a lot of bisecting, but the overall diff isn't too bad here in the end.
parent 80468ad4
...@@ -37,9 +37,9 @@ ...@@ -37,9 +37,9 @@
}, },
"pre-commit": "lint-staged", "pre-commit": "lint-staged",
"devDependencies": { "devDependencies": {
"@babel/plugin-proposal-object-rest-spread": "7.11.0", "@babel/plugin-proposal-object-rest-spread": "7.12.1",
"@babel/preset-flow": "7.10.4", "@babel/preset-flow": "7.10.4",
"@babel/preset-react": "7.10.4", "@babel/preset-react": "7.12.5",
"@fullhuman/postcss-purgecss": "1.3.0", "@fullhuman/postcss-purgecss": "1.3.0",
"@mdx-js/loader": "0.18.0", "@mdx-js/loader": "0.18.0",
"@types/cheerio": "0.22.16", "@types/cheerio": "0.22.16",
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
"selenium-webdriver": "4.0.0-alpha.7", "selenium-webdriver": "4.0.0-alpha.7",
"shell-quote": "1.7.2", "shell-quote": "1.7.2",
"styled-components": "5.1.0", "styled-components": "5.1.0",
"styled-jsx-plugin-postcss": "2.0.1", "styled-jsx-plugin-postcss": "3.0.2",
"tailwindcss": "1.1.3", "tailwindcss": "1.1.3",
"taskr": "1.1.0", "taskr": "1.1.0",
"tree-kill": "1.2.2", "tree-kill": "1.2.2",
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
"@types/rimraf": "3.0.0", "@types/rimraf": "3.0.0",
"@types/tar": "4.0.3", "@types/tar": "4.0.3",
"@types/validate-npm-package-name": "3.0.0", "@types/validate-npm-package-name": "3.0.0",
"@zeit/ncc": "0.22.0", "@vercel/ncc": "0.25.0",
"async-retry": "1.3.1", "async-retry": "1.3.1",
"chalk": "2.4.2", "chalk": "2.4.2",
"commander": "2.20.0", "commander": "2.20.0",
......
import { NodePath, PluginObj, types } from '@babel/core' import { NodePath, PluginObj, types } from 'next/dist/compiled/babel/core'
export default function AmpAttributePatcher(): PluginObj { export default function AmpAttributePatcher(): PluginObj {
return { return {
......
import { NodePath, PluginObj, types } from '@babel/core' import { NodePath, PluginObj, types } from 'next/dist/compiled/babel/core'
import commonjsPlugin from '@babel/plugin-transform-modules-commonjs' import commonjsPlugin from 'next/dist/compiled/babel/plugin-transform-modules-commonjs'
// Rewrite imports using next/<something> to next-server/<something> // Rewrite imports using next/<something> to next-server/<something>
export default function NextToNextServer(...args: any): PluginObj { export default function NextToNextServer(...args: any): PluginObj {
......
import { NodePath, PluginObj, types as BabelTypes } from '@babel/core' import {
import jsx from '@babel/plugin-syntax-jsx' NodePath,
PluginObj,
types as BabelTypes,
} from 'next/dist/compiled/babel/core'
import jsx from 'next/dist/compiled/babel/plugin-syntax-jsx'
export default function ({ export default function ({
types: t, types: t,
......
import { NodePath, PluginObj, types as BabelTypes } from '@babel/core' import {
NodePath,
PluginObj,
types as BabelTypes,
} from 'next/dist/compiled/babel/core'
export default function ({ export default function ({
types: t, types: t,
...@@ -14,7 +18,9 @@ export default function ({ ...@@ -14,7 +18,9 @@ export default function ({
const createHookSpecifier = path.get('specifiers').find((specifier) => { const createHookSpecifier = path.get('specifiers').find((specifier) => {
return ( return (
specifier.isImportSpecifier() && specifier.isImportSpecifier() &&
specifier.node.imported.name === 'createHook' (t.isIdentifier(specifier.node.imported)
? specifier.node.imported.name
: specifier.node.imported.value) === 'createHook'
) )
}) })
......
import { NodePath, PluginObj, types as BabelTypes } from '@babel/core' import {
NodePath,
PluginObj,
types as BabelTypes,
} from 'next/dist/compiled/babel/core'
import { PageConfig } from 'next/types' import { PageConfig } from 'next/types'
import { STRING_LITERAL_DROP_BUNDLE } from '../../../next-server/lib/constants' import { STRING_LITERAL_DROP_BUNDLE } from '../../../next-server/lib/constants'
...@@ -48,7 +52,11 @@ export default function nextPageConfig({ ...@@ -48,7 +52,11 @@ export default function nextPageConfig({
BabelTypes.isExportNamedDeclaration(exportPath) && BabelTypes.isExportNamedDeclaration(exportPath) &&
(exportPath.node as BabelTypes.ExportNamedDeclaration).specifiers?.some( (exportPath.node as BabelTypes.ExportNamedDeclaration).specifiers?.some(
(specifier) => { (specifier) => {
return specifier.exported.name === CONFIG_KEY return (
(t.isIdentifier(specifier.exported)
? specifier.exported.name
: specifier.exported.value) === CONFIG_KEY
)
} }
) && ) &&
BabelTypes.isStringLiteral( BabelTypes.isStringLiteral(
...@@ -77,13 +85,20 @@ export default function nextPageConfig({ ...@@ -77,13 +85,20 @@ export default function nextPageConfig({
} }
const config: PageConfig = {} const config: PageConfig = {}
const declarations = [ const declarations: BabelTypes.VariableDeclarator[] = [
...(exportPath.node.declaration?.declarations || []), ...((exportPath.node
exportPath.scope.getBinding(CONFIG_KEY)?.path.node, .declaration as BabelTypes.VariableDeclaration)
?.declarations || []),
exportPath.scope.getBinding(CONFIG_KEY)?.path
.node as BabelTypes.VariableDeclarator,
].filter(Boolean) ].filter(Boolean)
for (const specifier of exportPath.node.specifiers) { for (const specifier of exportPath.node.specifiers) {
if (specifier.exported.name === CONFIG_KEY) { if (
(t.isIdentifier(specifier.exported)
? specifier.exported.name
: specifier.exported.value) === CONFIG_KEY
) {
// export {} from 'somewhere' // export {} from 'somewhere'
if (BabelTypes.isStringLiteral(exportPath.node.source)) { if (BabelTypes.isStringLiteral(exportPath.node.source)) {
throw new Error( throw new Error(
...@@ -147,7 +162,7 @@ export default function nextPageConfig({ ...@@ -147,7 +162,7 @@ export default function nextPageConfig({
) )
) )
} }
const { name } = prop.key const { name } = prop.key as BabelTypes.Identifier
if (BabelTypes.isIdentifier(prop.key, { name: 'amp' })) { if (BabelTypes.isIdentifier(prop.key, { name: 'amp' })) {
if (!BabelTypes.isObjectProperty(prop)) { if (!BabelTypes.isObjectProperty(prop)) {
throw new Error( throw new Error(
......
import { NodePath, PluginObj, types } from '@babel/core' import { NodePath, PluginObj, types } from 'next/dist/compiled/babel/core'
export default function NextPageDisallowReExportAllExports(): PluginObj<any> { export default function NextPageDisallowReExportAllExports(): PluginObj<any> {
return { return {
......
import { NodePath, PluginObj, types as BabelTypes } from '@babel/core' import {
NodePath,
PluginObj,
types as BabelTypes,
} from 'next/dist/compiled/babel/core'
import { SERVER_PROPS_SSG_CONFLICT } from '../../../lib/constants' import { SERVER_PROPS_SSG_CONFLICT } from '../../../lib/constants'
import { import {
SERVER_PROPS_ID, SERVER_PROPS_ID,
...@@ -251,7 +255,12 @@ export default function nextTransformSsg({ ...@@ -251,7 +255,12 @@ export default function nextTransformSsg({
if (specifiers.length) { if (specifiers.length) {
specifiers.forEach((s) => { specifiers.forEach((s) => {
if ( if (
isDataIdentifier(s.node.exported.name, exportNamedState) isDataIdentifier(
t.isIdentifier(s.node.exported)
? s.node.exported.name
: s.node.exported.value,
exportNamedState
)
) { ) {
s.remove() s.remove()
} }
......
import { PluginObj, types as BabelTypes } from '@babel/core' import { PluginObj, types as BabelTypes } from 'next/dist/compiled/babel/core'
import chalk from 'next/dist/compiled/chalk' import chalk from 'chalk'
export default function NoAnonymousDefaultExport({ export default function NoAnonymousDefaultExport({
types: t, types: t,
......
import { NodePath, PluginObj, types as BabelTypes } from '@babel/core' import {
NodePath,
PluginObj,
types as BabelTypes,
} from 'next/dist/compiled/babel/core'
// matches any hook-like (the default) // matches any hook-like (the default)
const isHook = /^use[A-Z]/ const isHook = /^use[A-Z]/
......
...@@ -23,7 +23,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWAR ...@@ -23,7 +23,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWAR
// Modified to put `webpack` and `modules` under `loadableGenerated` to be backwards compatible with next/dynamic which has a `modules` key // Modified to put `webpack` and `modules` under `loadableGenerated` to be backwards compatible with next/dynamic which has a `modules` key
// Modified to support `dynamic(import('something'))` and `dynamic(import('something'), options) // Modified to support `dynamic(import('something'))` and `dynamic(import('something'), options)
import { NodePath, PluginObj, types as BabelTypes } from '@babel/core' import {
NodePath,
PluginObj,
types as BabelTypes,
} from 'next/dist/compiled/babel/core'
export default function ({ export default function ({
types: t, types: t,
......
import { PluginItem } from '@babel/core' import { PluginItem } from 'next/dist/compiled/babel/core'
const env = process.env.NODE_ENV const env = process.env.NODE_ENV
const isProduction = env === 'production' const isProduction = env === 'production'
const isDevelopment = env === 'development' const isDevelopment = env === 'development'
...@@ -111,11 +111,11 @@ module.exports = ( ...@@ -111,11 +111,11 @@ module.exports = (
sourceType: 'unambiguous', sourceType: 'unambiguous',
presets: [ presets: [
customModernPreset || [ customModernPreset || [
require('@babel/preset-env').default, require('next/dist/compiled/babel/preset-env'),
presetEnvConfig, presetEnvConfig,
], ],
[ [
require('@babel/preset-react'), require('next/dist/compiled/babel/preset-react'),
{ {
// This adds @babel/plugin-transform-react-jsx-source and // This adds @babel/plugin-transform-react-jsx-source and
// @babel/plugin-transform-react-jsx-self automatically in development // @babel/plugin-transform-react-jsx-self automatically in development
...@@ -125,7 +125,7 @@ module.exports = ( ...@@ -125,7 +125,7 @@ module.exports = (
}, },
], ],
[ [
require('@babel/preset-typescript'), require('next/dist/compiled/babel/preset-typescript'),
{ allowNamespaces: true, ...options['preset-typescript'] }, { allowNamespaces: true, ...options['preset-typescript'] },
], ],
], ],
...@@ -149,20 +149,20 @@ module.exports = ( ...@@ -149,20 +149,20 @@ module.exports = (
lib: true, lib: true,
}, },
], ],
require('@babel/plugin-syntax-dynamic-import'), require('next/dist/compiled/babel/plugin-syntax-dynamic-import'),
require('./plugins/react-loadable-plugin'), require('./plugins/react-loadable-plugin'),
[ [
require('@babel/plugin-proposal-class-properties'), require('next/dist/compiled/babel/plugin-proposal-class-properties'),
options['class-properties'] || {}, options['class-properties'] || {},
], ],
[ [
require('@babel/plugin-proposal-object-rest-spread'), require('next/dist/compiled/babel/plugin-proposal-object-rest-spread'),
{ {
useBuiltIns: true, useBuiltIns: true,
}, },
], ],
!isServer && [ !isServer && [
require('@babel/plugin-transform-runtime'), require('next/dist/compiled/babel/plugin-transform-runtime'),
{ {
corejs: false, corejs: false,
helpers: true, helpers: true,
...@@ -185,11 +185,11 @@ module.exports = ( ...@@ -185,11 +185,11 @@ module.exports = (
removeImport: true, removeImport: true,
}, },
], ],
isServer && require('@babel/plugin-syntax-bigint'), isServer && require('next/dist/compiled/babel/plugin-syntax-bigint'),
// Always compile numeric separator because the resulting number is // Always compile numeric separator because the resulting number is
// smaller. // smaller.
require('@babel/plugin-proposal-numeric-separator'), require('next/dist/compiled/babel/plugin-proposal-numeric-separator'),
require('@babel/plugin-proposal-export-namespace-from'), require('next/dist/compiled/babel/plugin-proposal-export-namespace-from'),
].filter(Boolean), ].filter(Boolean),
} }
} }
import chalk from 'next/dist/compiled/chalk' import chalk from 'chalk'
import { posix, join } from 'path' import { posix, join } from 'path'
import { stringify } from 'querystring' import { stringify } from 'querystring'
import { API_ROUTE, DOT_NEXT_ALIAS, PAGES_DIR_ALIAS } from '../lib/constants' import { API_ROUTE, DOT_NEXT_ALIAS, PAGES_DIR_ALIAS } from '../lib/constants'
......
import crypto from 'crypto' import crypto from 'crypto'
import { promises, writeFileSync } from 'fs' import { promises, writeFileSync } from 'fs'
import Worker from 'jest-worker' import Worker from 'jest-worker'
import chalk from 'next/dist/compiled/chalk' import chalk from 'chalk'
import devalue from 'next/dist/compiled/devalue' import devalue from 'next/dist/compiled/devalue'
import escapeStringRegexp from 'next/dist/compiled/escape-string-regexp' import escapeStringRegexp from 'next/dist/compiled/escape-string-regexp'
import findUp from 'next/dist/compiled/find-up' import findUp from 'next/dist/compiled/find-up'
......
import chalk from 'next/dist/compiled/chalk' import chalk from 'chalk'
import stripAnsi from 'next/dist/compiled/strip-ansi' import stripAnsi from 'next/dist/compiled/strip-ansi'
import textTable from 'next/dist/compiled/text-table' import textTable from 'next/dist/compiled/text-table'
import createStore from 'next/dist/compiled/unistore' import createStore from 'next/dist/compiled/unistore'
......
import chalk from 'next/dist/compiled/chalk' import chalk from 'chalk'
export const prefixes = { export const prefixes = {
wait: chalk.cyan('wait') + ' -', wait: chalk.cyan('wait') + ' -',
......
import '../next-server/server/node-polyfill-fetch' import '../next-server/server/node-polyfill-fetch'
import chalk from 'next/dist/compiled/chalk' import chalk from 'chalk'
import gzipSize from 'next/dist/compiled/gzip-size' import gzipSize from 'next/dist/compiled/gzip-size'
import textTable from 'next/dist/compiled/text-table' import textTable from 'next/dist/compiled/text-table'
import path from 'path' import path from 'path'
......
import { codeFrameColumns } from '@babel/code-frame' import { codeFrameColumns } from 'next/dist/compiled/babel/code-frame'
import ReactRefreshWebpackPlugin from '@next/react-refresh-utils/ReactRefreshWebpackPlugin' import ReactRefreshWebpackPlugin from '@next/react-refresh-utils/ReactRefreshWebpackPlugin'
import crypto from 'crypto' import crypto from 'crypto'
import { readFileSync, realpathSync } from 'fs' import { readFileSync, realpathSync } from 'fs'
import chalk from 'next/dist/compiled/chalk' import chalk from 'chalk'
import semver from 'next/dist/compiled/semver' import semver from 'next/dist/compiled/semver'
import TerserPlugin from 'next/dist/compiled/terser-webpack-plugin' import TerserPlugin from 'next/dist/compiled/terser-webpack-plugin'
import path from 'path' import path from 'path'
......
import chalk from 'next/dist/compiled/chalk' import chalk from 'chalk'
export function getGlobalImportError(file: string | null) { export function getGlobalImportError(file: string | null) {
return `Global CSS ${chalk.bold( return `Global CSS ${chalk.bold(
......
import chalk from 'next/dist/compiled/chalk' import chalk from 'chalk'
import { findConfig } from '../../../../../lib/find-config' import { findConfig } from '../../../../../lib/find-config'
import { resolveRequest } from '../../../../../lib/resolve-request' import { resolveRequest } from '../../../../../lib/resolve-request'
import browserslist from 'browserslist' import browserslist from 'browserslist'
......
import chalk from 'next/dist/compiled/chalk' import chalk from 'chalk'
import loaderUtils from 'loader-utils' import loaderUtils from 'loader-utils'
import path from 'path' import path from 'path'
import { loader } from 'webpack' import { loader } from 'webpack'
......
...@@ -45,7 +45,7 @@ module.exports = babelLoader.custom((babel) => { ...@@ -45,7 +45,7 @@ module.exports = babelLoader.custom((babel) => {
{ type: 'plugin' } { type: 'plugin' }
) )
const commonJsItem = babel.createConfigItem( const commonJsItem = babel.createConfigItem(
require('@babel/plugin-transform-modules-commonjs'), require('next/dist/compiled/babel/plugin-transform-modules-commonjs'),
{ type: 'plugin' } { type: 'plugin' }
) )
......
...@@ -164,7 +164,7 @@ export class NextEsmPlugin implements Plugin { ...@@ -164,7 +164,7 @@ export class NextEsmPlugin implements Plugin {
if (IS_PRESET_ENV.test(name)) { if (IS_PRESET_ENV.test(name)) {
presets.push([ presets.push([
require.resolve('@babel/preset-env'), require('next/dist/compiled/babel/preset-env'),
{ {
bugfixes: true, bugfixes: true,
loose: true, loose: true,
......
import chalk from 'next/dist/compiled/chalk' import chalk from 'chalk'
import { import {
CONFORMANCE_ERROR_PREFIX, CONFORMANCE_ERROR_PREFIX,
CONFORMANCE_WARNING_PREFIX, CONFORMANCE_WARNING_PREFIX,
......
import chalk from 'next/dist/compiled/chalk' import chalk from 'chalk'
const { red, yellow } = chalk const { red, yellow } = chalk
......
import Chalk from 'next/dist/compiled/chalk' import Chalk from 'chalk'
import { SimpleWebpackError } from './simpleWebpackError' import { SimpleWebpackError } from './simpleWebpackError'
const chalk = new Chalk.constructor({ enabled: true }) const chalk = new Chalk.constructor({ enabled: true })
......
import Chalk from 'next/dist/compiled/chalk' import Chalk from 'chalk'
import { SimpleWebpackError } from './simpleWebpackError' import { SimpleWebpackError } from './simpleWebpackError'
const chalk = new Chalk.constructor({ enabled: true }) const chalk = new Chalk.constructor({ enabled: true })
......
import Chalk from 'next/dist/compiled/chalk' import Chalk from 'chalk'
import { SimpleWebpackError } from './simpleWebpackError' import { SimpleWebpackError } from './simpleWebpackError'
import { createOriginalStackFrame } from '@next/react-dev-overlay/lib/middleware' import { createOriginalStackFrame } from '@next/react-dev-overlay/lib/middleware'
......
import { codeFrameColumns } from '@babel/code-frame' import { codeFrameColumns } from 'next/dist/compiled/babel/code-frame'
import Chalk from 'next/dist/compiled/chalk' import Chalk from 'chalk'
import { SimpleWebpackError } from './simpleWebpackError' import { SimpleWebpackError } from './simpleWebpackError'
const chalk = new Chalk.constructor({ enabled: true }) const chalk = new Chalk.constructor({ enabled: true })
......
/* eslint-disable import/no-extraneous-dependencies */
function codeFrame() {
return require('@babel/code-frame')
}
function core() {
return require('@babel/core')
}
function pluginProposalClassProperties() {
return require('@babel/plugin-proposal-class-properties')
}
function pluginProposalExportNamespaceFrom() {
return require('@babel/plugin-proposal-export-namespace-from')
}
function pluginProposalNumericSeparator() {
return require('@babel/plugin-proposal-numeric-separator')
}
function pluginProposalObjectRestSpread() {
return require('@babel/plugin-proposal-object-rest-spread')
}
function pluginSyntaxBigint() {
return require('@babel/plugin-syntax-bigint')
}
function pluginSyntaxDynamicImport() {
return require('@babel/plugin-syntax-dynamic-import')
}
function pluginSyntaxJsx() {
return require('@babel/plugin-syntax-jsx')
}
function pluginTransformModulesCommonjs() {
return require('@babel/plugin-transform-modules-commonjs')
}
function pluginTransformRuntime() {
return require('@babel/plugin-transform-runtime')
}
function presetEnv() {
return require('@babel/preset-env')
}
function presetReact() {
return require('@babel/preset-react')
}
function presetTypescript() {
return require('@babel/preset-typescript')
}
module.exports = {
codeFrame,
core,
pluginProposalClassProperties,
pluginProposalExportNamespaceFrom,
pluginProposalNumericSeparator,
pluginProposalObjectRestSpread,
pluginSyntaxBigint,
pluginSyntaxDynamicImport,
pluginSyntaxJsx,
pluginTransformModulesCommonjs,
pluginTransformRuntime,
presetEnv,
presetReact,
presetTypescript,
}
module.exports = require('./bundle').codeFrame()
module.exports = require('./bundle').core()
module.exports = require('./bundle').pluginProposalClassProperties()
module.exports = require('./bundle').pluginProposalExportNamespaceFrom()
module.exports = require('./bundle').pluginProposalNumericSeparator()
module.exports = require('./bundle').pluginProposalObjectRestSpread()
module.exports = require('./bundle').pluginSyntaxBigint()
module.exports = require('./bundle').pluginSyntaxDynamicImport()
module.exports = require('./bundle').pluginSyntaxJsx()
module.exports = require('./bundle').pluginTransformModulesCommonjs()
module.exports = require('./bundle').pluginTransformRuntime()
module.exports = require('./bundle').presetEnv()
module.exports = require('./bundle').presetReact()
module.exports = require('./bundle').presetTypescript()
#!/usr/bin/env node #!/usr/bin/env node
import chalk from 'next/dist/compiled/chalk' import chalk from 'chalk'
import arg from 'next/dist/compiled/arg/index.js' import arg from 'next/dist/compiled/arg/index.js'
import { printAndExit } from '../server/lib/utils' import { printAndExit } from '../server/lib/utils'
import { cliCommand } from '../bin/next' import { cliCommand } from '../bin/next'
......
module.exports=function(o,c){"use strict";var n={};function __webpack_require__(c){if(n[c]){return n[c].exports}var f=n[c]={i:c,l:false,exports:{}};o[c].call(f.exports,f,f.exports,__webpack_require__);f.l=true;return f.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(706)}return startup()}({706:function(o){const c=Symbol("arg flag");function arg(o,{argv:n,permissive:f=false,stopAtPositional:_=false}={}){if(!o){throw new Error("Argument specification object is required")}const h={_:[]};n=n||process.argv.slice(2);const w={};const k={};for(const n of Object.keys(o)){if(!n){throw new TypeError("Argument key cannot be an empty string")}if(n[0]!=="-"){throw new TypeError(`Argument key must start with '-' but found: '${n}'`)}if(n.length===1){throw new TypeError(`Argument key must have a name; singular '-' keys are not allowed: ${n}`)}if(typeof o[n]==="string"){w[n]=o[n];continue}let f=o[n];let _=false;if(Array.isArray(f)&&f.length===1&&typeof f[0]==="function"){const[o]=f;f=((c,n,f=[])=>{f.push(o(c,n,f[f.length-1]));return f});_=o===Boolean||o[c]===true}else if(typeof f==="function"){_=f===Boolean||f[c]===true}else{throw new TypeError(`Type missing or not a function or valid array type: ${n}`)}if(n[1]!=="-"&&n.length>2){throw new TypeError(`Short argument keys (with a single hyphen) must have only one character: ${n}`)}k[n]=[f,_]}for(let o=0,c=n.length;o<c;o++){const c=n[o];if(_&&h._.length>0){h._=h._.concat(n.slice(o));break}if(c==="--"){h._=h._.concat(n.slice(o+1));break}if(c.length>1&&c[0]==="-"){const _=c[1]==="-"||c.length===2?[c]:c.slice(1).split("").map(o=>`-${o}`);for(let c=0;c<_.length;c++){const b=_[c];const[$,t]=b[1]==="-"?b.split("=",2):[b,undefined];let E=$;while(E in w){E=w[E]}if(!(E in k)){if(f){h._.push(b);continue}else{const o=new Error(`Unknown or unexpected option: ${$}`);o.code="ARG_UNKNOWN_OPTION";throw o}}const[T,q]=k[E];if(!q&&c+1<_.length){throw new TypeError(`Option requires argument (but was followed by another short argument): ${$}`)}if(q){h[E]=T(true,E,h[E])}else if(t===undefined){if(n.length<o+2||n[o+1].length>1&&n[o+1][0]==="-"){const o=$===E?"":` (alias for ${E})`;throw new Error(`Option requires argument: ${$}${o}`)}h[E]=T(n[o+1],E,h[E]);++o}else{h[E]=T(t,E,h[E])}}}else{h._.push(c)}}return h}arg.flag=(o=>{o[c]=true;return o});arg.COUNT=arg.flag((o,c,n)=>(n||0)+1);o.exports=arg}}); module.exports=(()=>{var o={816:o=>{const c=Symbol("arg flag");function arg(o,{argv:n,permissive:f=false,stopAtPositional:_=false}={}){if(!o){throw new Error("Argument specification object is required")}const h={_:[]};n=n||process.argv.slice(2);const w={};const k={};for(const n of Object.keys(o)){if(!n){throw new TypeError("Argument key cannot be an empty string")}if(n[0]!=="-"){throw new TypeError(`Argument key must start with '-' but found: '${n}'`)}if(n.length===1){throw new TypeError(`Argument key must have a name; singular '-' keys are not allowed: ${n}`)}if(typeof o[n]==="string"){w[n]=o[n];continue}let f=o[n];let _=false;if(Array.isArray(f)&&f.length===1&&typeof f[0]==="function"){const[o]=f;f=((c,n,f=[])=>{f.push(o(c,n,f[f.length-1]));return f});_=o===Boolean||o[c]===true}else if(typeof f==="function"){_=f===Boolean||f[c]===true}else{throw new TypeError(`Type missing or not a function or valid array type: ${n}`)}if(n[1]!=="-"&&n.length>2){throw new TypeError(`Short argument keys (with a single hyphen) must have only one character: ${n}`)}k[n]=[f,_]}for(let o=0,c=n.length;o<c;o++){const c=n[o];if(_&&h._.length>0){h._=h._.concat(n.slice(o));break}if(c==="--"){h._=h._.concat(n.slice(o+1));break}if(c.length>1&&c[0]==="-"){const _=c[1]==="-"||c.length===2?[c]:c.slice(1).split("").map(o=>`-${o}`);for(let c=0;c<_.length;c++){const b=_[c];const[$,E]=b[1]==="-"?b.split("=",2):[b,undefined];let T=$;while(T in w){T=w[T]}if(!(T in k)){if(f){h._.push(b);continue}else{const o=new Error(`Unknown or unexpected option: ${$}`);o.code="ARG_UNKNOWN_OPTION";throw o}}const[q,O]=k[T];if(!O&&c+1<_.length){throw new TypeError(`Option requires argument (but was followed by another short argument): ${$}`)}if(O){h[T]=q(true,T,h[T])}else if(E===undefined){if(n.length<o+2||n[o+1].length>1&&n[o+1][0]==="-"){const o=$===T?"":` (alias for ${T})`;throw new Error(`Option requires argument: ${$}${o}`)}h[T]=q(n[o+1],T,h[T]);++o}else{h[T]=q(E,T,h[T])}}}else{h._.push(c)}}return h}arg.flag=(o=>{o[c]=true;return o});arg.COUNT=arg.flag((o,c,n)=>(n||0)+1);o.exports=arg}};var c={};function __webpack_require__(n){if(c[n]){return c[n].exports}var f=c[n]={exports:{}};var _=true;try{o[n](f,f.exports,__webpack_require__);_=false}finally{if(_)delete c[n]}return f.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(816)})();
\ No newline at end of file \ No newline at end of file
module.exports=function(t,r){"use strict";var e={};function __webpack_require__(r){if(e[r]){return e[r].exports}var i=e[r]={i:r,l:false,exports:{}};t[r].call(i.exports,i,i.exports,__webpack_require__);i.l=true;return i.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(90)}return startup()}({90:function(t,r,e){var i=e(879);function retry(t,r){function run(e,o){var n=r||{};var a=i.operation(n);function bail(t){o(t||new Error("Aborted"))}function onError(t,r){if(t.bail){bail(t);return}if(!a.retry(t)){o(a.mainError())}else if(n.onRetry){n.onRetry(t,r)}}function runAttempt(r){var i;try{i=t(bail,r)}catch(t){onError(t,r);return}Promise.resolve(i).then(e).catch(function catchIt(t){onError(t,r)})}a.attempt(runAttempt)}return new Promise(run)}t.exports=retry},167:function(t){function RetryOperation(t,r){if(typeof r==="boolean"){r={forever:r}}this._originalTimeouts=JSON.parse(JSON.stringify(t));this._timeouts=t;this._options=r||{};this._maxRetryTime=r&&r.maxRetryTime||Infinity;this._fn=null;this._errors=[];this._attempts=1;this._operationTimeout=null;this._operationTimeoutCb=null;this._timeout=null;this._operationStart=null;if(this._options.forever){this._cachedTimeouts=this._timeouts.slice(0)}}t.exports=RetryOperation;RetryOperation.prototype.reset=function(){this._attempts=1;this._timeouts=this._originalTimeouts};RetryOperation.prototype.stop=function(){if(this._timeout){clearTimeout(this._timeout)}this._timeouts=[];this._cachedTimeouts=null};RetryOperation.prototype.retry=function(t){if(this._timeout){clearTimeout(this._timeout)}if(!t){return false}var r=(new Date).getTime();if(t&&r-this._operationStart>=this._maxRetryTime){this._errors.unshift(new Error("RetryOperation timeout occurred"));return false}this._errors.push(t);var e=this._timeouts.shift();if(e===undefined){if(this._cachedTimeouts){this._errors.splice(this._errors.length-1,this._errors.length);this._timeouts=this._cachedTimeouts.slice(0);e=this._timeouts.shift()}else{return false}}var i=this;var o=setTimeout(function(){i._attempts++;if(i._operationTimeoutCb){i._timeout=setTimeout(function(){i._operationTimeoutCb(i._attempts)},i._operationTimeout);if(i._options.unref){i._timeout.unref()}}i._fn(i._attempts)},e);if(this._options.unref){o.unref()}return true};RetryOperation.prototype.attempt=function(t,r){this._fn=t;if(r){if(r.timeout){this._operationTimeout=r.timeout}if(r.cb){this._operationTimeoutCb=r.cb}}var e=this;if(this._operationTimeoutCb){this._timeout=setTimeout(function(){e._operationTimeoutCb()},e._operationTimeout)}this._operationStart=(new Date).getTime();this._fn(this._attempts)};RetryOperation.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated");this.attempt(t)};RetryOperation.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated");this.attempt(t)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0){return null}var t={};var r=null;var e=0;for(var i=0;i<this._errors.length;i++){var o=this._errors[i];var n=o.message;var a=(t[n]||0)+1;t[n]=a;if(a>=e){r=o;e=a}}return r}},367:function(t,r,e){var i=e(167);r.operation=function(t){var e=r.timeouts(t);return new i(e,{forever:t&&t.forever,unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};r.timeouts=function(t){if(t instanceof Array){return[].concat(t)}var r={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(var e in t){r[e]=t[e]}if(r.minTimeout>r.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var i=[];for(var o=0;o<r.retries;o++){i.push(this.createTimeout(o,r))}if(t&&t.forever&&!i.length){i.push(this.createTimeout(o,r))}i.sort(function(t,r){return t-r});return i};r.createTimeout=function(t,r){var e=r.randomize?Math.random()+1:1;var i=Math.round(e*r.minTimeout*Math.pow(r.factor,t));i=Math.min(i,r.maxTimeout);return i};r.wrap=function(t,e,i){if(e instanceof Array){i=e;e=null}if(!i){i=[];for(var o in t){if(typeof t[o]==="function"){i.push(o)}}}for(var n=0;n<i.length;n++){var a=i[n];var s=t[a];t[a]=function retryWrapper(i){var o=r.operation(e);var n=Array.prototype.slice.call(arguments,1);var a=n.pop();n.push(function(t){if(o.retry(t)){return}if(t){arguments[0]=o.mainError()}a.apply(this,arguments)});o.attempt(function(){i.apply(t,n)})}.bind(t,s);t[a].options=e}}},879:function(t,r,e){t.exports=e(367)}}); module.exports=(()=>{var t={571:(t,r,e)=>{var i=e(57);function retry(t,r){function run(e,o){var n=r||{};var a=i.operation(n);function bail(t){o(t||new Error("Aborted"))}function onError(t,r){if(t.bail){bail(t);return}if(!a.retry(t)){o(a.mainError())}else if(n.onRetry){n.onRetry(t,r)}}function runAttempt(r){var i;try{i=t(bail,r)}catch(t){onError(t,r);return}Promise.resolve(i).then(e).catch(function catchIt(t){onError(t,r)})}a.attempt(runAttempt)}return new Promise(run)}t.exports=retry},57:(t,r,e)=>{t.exports=e(302)},302:(t,r,e)=>{var i=e(989);r.operation=function(t){var e=r.timeouts(t);return new i(e,{forever:t&&t.forever,unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};r.timeouts=function(t){if(t instanceof Array){return[].concat(t)}var r={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(var e in t){r[e]=t[e]}if(r.minTimeout>r.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var i=[];for(var o=0;o<r.retries;o++){i.push(this.createTimeout(o,r))}if(t&&t.forever&&!i.length){i.push(this.createTimeout(o,r))}i.sort(function(t,r){return t-r});return i};r.createTimeout=function(t,r){var e=r.randomize?Math.random()+1:1;var i=Math.round(e*r.minTimeout*Math.pow(r.factor,t));i=Math.min(i,r.maxTimeout);return i};r.wrap=function(t,e,i){if(e instanceof Array){i=e;e=null}if(!i){i=[];for(var o in t){if(typeof t[o]==="function"){i.push(o)}}}for(var n=0;n<i.length;n++){var a=i[n];var s=t[a];t[a]=function retryWrapper(i){var o=r.operation(e);var n=Array.prototype.slice.call(arguments,1);var a=n.pop();n.push(function(t){if(o.retry(t)){return}if(t){arguments[0]=o.mainError()}a.apply(this,arguments)});o.attempt(function(){i.apply(t,n)})}.bind(t,s);t[a].options=e}}},989:t=>{function RetryOperation(t,r){if(typeof r==="boolean"){r={forever:r}}this._originalTimeouts=JSON.parse(JSON.stringify(t));this._timeouts=t;this._options=r||{};this._maxRetryTime=r&&r.maxRetryTime||Infinity;this._fn=null;this._errors=[];this._attempts=1;this._operationTimeout=null;this._operationTimeoutCb=null;this._timeout=null;this._operationStart=null;if(this._options.forever){this._cachedTimeouts=this._timeouts.slice(0)}}t.exports=RetryOperation;RetryOperation.prototype.reset=function(){this._attempts=1;this._timeouts=this._originalTimeouts};RetryOperation.prototype.stop=function(){if(this._timeout){clearTimeout(this._timeout)}this._timeouts=[];this._cachedTimeouts=null};RetryOperation.prototype.retry=function(t){if(this._timeout){clearTimeout(this._timeout)}if(!t){return false}var r=(new Date).getTime();if(t&&r-this._operationStart>=this._maxRetryTime){this._errors.unshift(new Error("RetryOperation timeout occurred"));return false}this._errors.push(t);var e=this._timeouts.shift();if(e===undefined){if(this._cachedTimeouts){this._errors.splice(this._errors.length-1,this._errors.length);this._timeouts=this._cachedTimeouts.slice(0);e=this._timeouts.shift()}else{return false}}var i=this;var o=setTimeout(function(){i._attempts++;if(i._operationTimeoutCb){i._timeout=setTimeout(function(){i._operationTimeoutCb(i._attempts)},i._operationTimeout);if(i._options.unref){i._timeout.unref()}}i._fn(i._attempts)},e);if(this._options.unref){o.unref()}return true};RetryOperation.prototype.attempt=function(t,r){this._fn=t;if(r){if(r.timeout){this._operationTimeout=r.timeout}if(r.cb){this._operationTimeoutCb=r.cb}}var e=this;if(this._operationTimeoutCb){this._timeout=setTimeout(function(){e._operationTimeoutCb()},e._operationTimeout)}this._operationStart=(new Date).getTime();this._fn(this._attempts)};RetryOperation.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated");this.attempt(t)};RetryOperation.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated");this.attempt(t)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0){return null}var t={};var r=null;var e=0;for(var i=0;i<this._errors.length;i++){var o=this._errors[i];var n=o.message;var a=(t[n]||0)+1;t[n]=a;if(a>=e){r=o;e=a}}return r}}};var r={};function __webpack_require__(e){if(r[e]){return r[e].exports}var i=r[e]={exports:{}};var o=true;try{t[e](i,i.exports,__webpack_require__);o=false}finally{if(o)delete r[e]}return i.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(571)})();
\ No newline at end of file \ No newline at end of file
module.exports=function(t,e){"use strict";var i={};function __webpack_require__(e){if(i[e]){return i[e].exports}var s=i[e]={i:e,l:false,exports:{}};t[e].call(s.exports,s,s.exports,__webpack_require__);s.l=true;return s.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(624)}return startup()}({614:function(t){t.exports=require("events")},624:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:true});const r=s(i(614));function arrayMove(t,e,i,s,r){for(let n=0;n<r;++n){i[n+s]=t[n+e];t[n+e]=void 0}}function pow2AtLeast(t){t=t>>>0;t=t-1;t=t|t>>1;t=t|t>>2;t=t|t>>4;t=t|t>>8;t=t|t>>16;return t+1}function getCapacity(t){return pow2AtLeast(Math.min(Math.max(16,t),1073741824))}class Deque{constructor(t){this._capacity=getCapacity(t);this._length=0;this._front=0;this.arr=[]}push(t){const e=this._length;this.checkCapacity(e+1);const i=this._front+e&this._capacity-1;this.arr[i]=t;this._length=e+1;return e+1}pop(){const t=this._length;if(t===0){return void 0}const e=this._front+t-1&this._capacity-1;const i=this.arr[e];this.arr[e]=void 0;this._length=t-1;return i}shift(){const t=this._length;if(t===0){return void 0}const e=this._front;const i=this.arr[e];this.arr[e]=void 0;this._front=e+1&this._capacity-1;this._length=t-1;return i}get length(){return this._length}checkCapacity(t){if(this._capacity<t){this.resizeTo(getCapacity(this._capacity*1.5+16))}}resizeTo(t){const e=this._capacity;this._capacity=t;const i=this._front;const s=this._length;if(i+s>e){const t=i+s&e-1;arrayMove(this.arr,0,this.arr,e,t)}}}class ReleaseEmitter extends r.default{}function isFn(t){return typeof t==="function"}function defaultInit(){return"1"}class Sema{constructor(t,{initFn:e=defaultInit,pauseFn:i,resumeFn:s,capacity:r=10}={}){if(isFn(i)!==isFn(s)){throw new Error("pauseFn and resumeFn must be both set for pausing")}this.nrTokens=t;this.free=new Deque(t);this.waiting=new Deque(r);this.releaseEmitter=new ReleaseEmitter;this.noTokens=e===defaultInit;this.pauseFn=i;this.resumeFn=s;this.paused=false;this.releaseEmitter.on("release",t=>{const e=this.waiting.shift();if(e){e.resolve(t)}else{if(this.resumeFn&&this.paused){this.paused=false;this.resumeFn()}this.free.push(t)}});for(let i=0;i<t;i++){this.free.push(e())}}async acquire(){let t=this.free.pop();if(t!==void 0){return t}return new Promise((t,e)=>{if(this.pauseFn&&!this.paused){this.paused=true;this.pauseFn()}this.waiting.push({resolve:t,reject:e})})}release(t){this.releaseEmitter.emit("release",this.noTokens?"1":t)}drain(){const t=new Array(this.nrTokens);for(let e=0;e<this.nrTokens;e++){t[e]=this.acquire()}return Promise.all(t)}nrWaiting(){return this.waiting.length}}e.Sema=Sema;function RateLimit(t,{timeUnit:e=1e3,uniformDistribution:i=false}={}){const s=new Sema(i?1:t);const r=i?e/t:e;return async function rl(){await s.acquire();setTimeout(()=>s.release(),r)}}e.RateLimit=RateLimit}}); module.exports=(()=>{"use strict";var t={916:function(t,e,i){var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:true});const r=s(i(614));function arrayMove(t,e,i,s,r){for(let n=0;n<r;++n){i[n+s]=t[n+e];t[n+e]=void 0}}function pow2AtLeast(t){t=t>>>0;t=t-1;t=t|t>>1;t=t|t>>2;t=t|t>>4;t=t|t>>8;t=t|t>>16;return t+1}function getCapacity(t){return pow2AtLeast(Math.min(Math.max(16,t),1073741824))}class Deque{constructor(t){this._capacity=getCapacity(t);this._length=0;this._front=0;this.arr=[]}push(t){const e=this._length;this.checkCapacity(e+1);const i=this._front+e&this._capacity-1;this.arr[i]=t;this._length=e+1;return e+1}pop(){const t=this._length;if(t===0){return void 0}const e=this._front+t-1&this._capacity-1;const i=this.arr[e];this.arr[e]=void 0;this._length=t-1;return i}shift(){const t=this._length;if(t===0){return void 0}const e=this._front;const i=this.arr[e];this.arr[e]=void 0;this._front=e+1&this._capacity-1;this._length=t-1;return i}get length(){return this._length}checkCapacity(t){if(this._capacity<t){this.resizeTo(getCapacity(this._capacity*1.5+16))}}resizeTo(t){const e=this._capacity;this._capacity=t;const i=this._front;const s=this._length;if(i+s>e){const t=i+s&e-1;arrayMove(this.arr,0,this.arr,e,t)}}}class ReleaseEmitter extends r.default{}function isFn(t){return typeof t==="function"}function defaultInit(){return"1"}class Sema{constructor(t,{initFn:e=defaultInit,pauseFn:i,resumeFn:s,capacity:r=10}={}){if(isFn(i)!==isFn(s)){throw new Error("pauseFn and resumeFn must be both set for pausing")}this.nrTokens=t;this.free=new Deque(t);this.waiting=new Deque(r);this.releaseEmitter=new ReleaseEmitter;this.noTokens=e===defaultInit;this.pauseFn=i;this.resumeFn=s;this.paused=false;this.releaseEmitter.on("release",t=>{const e=this.waiting.shift();if(e){e.resolve(t)}else{if(this.resumeFn&&this.paused){this.paused=false;this.resumeFn()}this.free.push(t)}});for(let i=0;i<t;i++){this.free.push(e())}}async acquire(){let t=this.free.pop();if(t!==void 0){return t}return new Promise((t,e)=>{if(this.pauseFn&&!this.paused){this.paused=true;this.pauseFn()}this.waiting.push({resolve:t,reject:e})})}release(t){this.releaseEmitter.emit("release",this.noTokens?"1":t)}drain(){const t=new Array(this.nrTokens);for(let e=0;e<this.nrTokens;e++){t[e]=this.acquire()}return Promise.all(t)}nrWaiting(){return this.waiting.length}}e.Sema=Sema;function RateLimit(t,{timeUnit:e=1e3,uniformDistribution:i=false}={}){const s=new Sema(i?1:t);const r=i?e/t:e;return async function rl(){await s.acquire();setTimeout(()=>s.release(),r)}}e.RateLimit=RateLimit},614:t=>{t.exports=require("events")}};var e={};function __webpack_require__(i){if(e[i]){return e[i].exports}var s=e[i]={exports:{}};var r=true;try{t[i].call(s.exports,s,s.exports,__webpack_require__);r=false}finally{if(r)delete e[i]}return s.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(916)})();
\ No newline at end of file \ No newline at end of file
(The MIT License) MIT License
Copyright (c) 2014-2016 Douglas Christopher Wilson Copyright (c) 2014-present Sebastian McKenzie and other contributors
Permission is hereby granted, free of charge, to any person obtaining Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including "Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish, without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to permit persons to whom the Software is furnished to do so, subject to
...@@ -13,10 +13,10 @@ the following conditions: ...@@ -13,10 +13,10 @@ the following conditions:
The above copyright notice and this permission notice shall be The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software. included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This diff is collapsed.
module.exports = require('./bundle').codeFrame()
module.exports = require('./bundle').core()
{"name":"@babel/core","main":"bundle.js","author":"Sebastian McKenzie <sebmck@gmail.com>","license":"MIT"}
module.exports = require('./bundle').pluginProposalClassProperties()
module.exports = require('./bundle').pluginProposalExportNamespaceFrom()
module.exports = require('./bundle').pluginProposalNumericSeparator()
module.exports = require('./bundle').pluginProposalObjectRestSpread()
module.exports = require('./bundle').pluginSyntaxBigint()
module.exports = require('./bundle').pluginSyntaxDynamicImport()
module.exports = require('./bundle').pluginSyntaxJsx()
module.exports = require('./bundle').pluginTransformModulesCommonjs()
module.exports = require('./bundle').pluginTransformRuntime()
module.exports = require('./bundle').presetEnv()
module.exports = require('./bundle').presetReact()
module.exports = require('./bundle').presetTypescript()
This diff is collapsed.
This diff is collapsed.
MIT License
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This diff is collapsed.
{"name":"chalk","main":"index.js","license":"MIT"}
module.exports=function(n,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var a=t[e]={i:e,l:false,exports:{}};n[e].call(a.exports,a,a.exports,__webpack_require__);a.l=true;return a.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(853)}return startup()}({853:function(n,e,t){"use strict";var a=t(949);var E=process.env;Object.defineProperty(e,"_vendors",{value:a.map(function(n){return n.constant})});e.name=null;e.isPR=null;a.forEach(function(n){var t=Array.isArray(n.env)?n.env:[n.env];var a=t.every(function(n){return checkEnv(n)});e[n.constant]=a;if(a){e.name=n.name;switch(typeof n.pr){case"string":e.isPR=!!E[n.pr];break;case"object":if("env"in n.pr){e.isPR=n.pr.env in E&&E[n.pr.env]!==n.pr.ne}else if("any"in n.pr){e.isPR=n.pr.any.some(function(n){return!!E[n]})}else{e.isPR=checkEnv(n.pr)}break;default:e.isPR=null}}});e.isCI=!!(E.CI||E.CONTINUOUS_INTEGRATION||E.BUILD_NUMBER||E.RUN_ID||e.name||false);function checkEnv(n){if(typeof n==="string")return!!E[n];return Object.keys(n).every(function(e){return E[e]===n[e]})}},949:function(n){n.exports=[{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI",pr:"SYSTEM_PULLREQUEST_PULLREQUESTID"},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"GitHub Actions",constant:"GITHUB_ACTIONS",env:"GITHUB_ACTIONS",pr:{GITHUB_EVENT_NAME:"pull_request"}},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"ZEIT Now",constant:"ZEIT_NOW",env:"NOW_BUILDER"},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Nevercode",constant:"NEVERCODE",env:"NEVERCODE",pr:{env:"NEVERCODE_PULL_REQUEST",ne:"false"}},{name:"Render",constant:"RENDER",env:"RENDER",pr:{IS_PULL_REQUEST:"true"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Shippable",constant:"SHIPPABLE",env:"SHIPPABLE",pr:{IS_PULL_REQUEST:"true"}},{name:"Solano CI",constant:"SOLANO",env:"TDDIUM",pr:"TDDIUM_PR_ID"},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}}]}}); module.exports=(()=>{"use strict";var n={257:(n,e,a)=>{var t=a(253);var E=process.env;Object.defineProperty(e,"_vendors",{value:t.map(function(n){return n.constant})});e.name=null;e.isPR=null;t.forEach(function(n){var a=Array.isArray(n.env)?n.env:[n.env];var t=a.every(function(n){return checkEnv(n)});e[n.constant]=t;if(t){e.name=n.name;switch(typeof n.pr){case"string":e.isPR=!!E[n.pr];break;case"object":if("env"in n.pr){e.isPR=n.pr.env in E&&E[n.pr.env]!==n.pr.ne}else if("any"in n.pr){e.isPR=n.pr.any.some(function(n){return!!E[n]})}else{e.isPR=checkEnv(n.pr)}break;default:e.isPR=null}}});e.isCI=!!(E.CI||E.CONTINUOUS_INTEGRATION||E.BUILD_NUMBER||E.RUN_ID||e.name||false);function checkEnv(n){if(typeof n==="string")return!!E[n];return Object.keys(n).every(function(e){return E[e]===n[e]})}},253:n=>{n.exports=JSON.parse('[{"name":"AppVeyor","constant":"APPVEYOR","env":"APPVEYOR","pr":"APPVEYOR_PULL_REQUEST_NUMBER"},{"name":"Azure Pipelines","constant":"AZURE_PIPELINES","env":"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI","pr":"SYSTEM_PULLREQUEST_PULLREQUESTID"},{"name":"Bamboo","constant":"BAMBOO","env":"bamboo_planKey"},{"name":"Bitbucket Pipelines","constant":"BITBUCKET","env":"BITBUCKET_COMMIT","pr":"BITBUCKET_PR_ID"},{"name":"Bitrise","constant":"BITRISE","env":"BITRISE_IO","pr":"BITRISE_PULL_REQUEST"},{"name":"Buddy","constant":"BUDDY","env":"BUDDY_WORKSPACE_ID","pr":"BUDDY_EXECUTION_PULL_REQUEST_ID"},{"name":"Buildkite","constant":"BUILDKITE","env":"BUILDKITE","pr":{"env":"BUILDKITE_PULL_REQUEST","ne":"false"}},{"name":"CircleCI","constant":"CIRCLE","env":"CIRCLECI","pr":"CIRCLE_PULL_REQUEST"},{"name":"Cirrus CI","constant":"CIRRUS","env":"CIRRUS_CI","pr":"CIRRUS_PR"},{"name":"AWS CodeBuild","constant":"CODEBUILD","env":"CODEBUILD_BUILD_ARN"},{"name":"Codeship","constant":"CODESHIP","env":{"CI_NAME":"codeship"}},{"name":"Drone","constant":"DRONE","env":"DRONE","pr":{"DRONE_BUILD_EVENT":"pull_request"}},{"name":"dsari","constant":"DSARI","env":"DSARI"},{"name":"GitHub Actions","constant":"GITHUB_ACTIONS","env":"GITHUB_ACTIONS","pr":{"GITHUB_EVENT_NAME":"pull_request"}},{"name":"GitLab CI","constant":"GITLAB","env":"GITLAB_CI"},{"name":"GoCD","constant":"GOCD","env":"GO_PIPELINE_LABEL"},{"name":"Hudson","constant":"HUDSON","env":"HUDSON_URL"},{"name":"Jenkins","constant":"JENKINS","env":["JENKINS_URL","BUILD_ID"],"pr":{"any":["ghprbPullId","CHANGE_ID"]}},{"name":"ZEIT Now","constant":"ZEIT_NOW","env":"NOW_BUILDER"},{"name":"Magnum CI","constant":"MAGNUM","env":"MAGNUM"},{"name":"Netlify CI","constant":"NETLIFY","env":"NETLIFY","pr":{"env":"PULL_REQUEST","ne":"false"}},{"name":"Nevercode","constant":"NEVERCODE","env":"NEVERCODE","pr":{"env":"NEVERCODE_PULL_REQUEST","ne":"false"}},{"name":"Render","constant":"RENDER","env":"RENDER","pr":{"IS_PULL_REQUEST":"true"}},{"name":"Sail CI","constant":"SAIL","env":"SAILCI","pr":"SAIL_PULL_REQUEST_NUMBER"},{"name":"Semaphore","constant":"SEMAPHORE","env":"SEMAPHORE","pr":"PULL_REQUEST_NUMBER"},{"name":"Shippable","constant":"SHIPPABLE","env":"SHIPPABLE","pr":{"IS_PULL_REQUEST":"true"}},{"name":"Solano CI","constant":"SOLANO","env":"TDDIUM","pr":"TDDIUM_PR_ID"},{"name":"Strider CD","constant":"STRIDER","env":"STRIDER"},{"name":"TaskCluster","constant":"TASKCLUSTER","env":["TASK_ID","RUN_ID"]},{"name":"TeamCity","constant":"TEAMCITY","env":"TEAMCITY_VERSION"},{"name":"Travis CI","constant":"TRAVIS","env":"TRAVIS","pr":{"env":"TRAVIS_PULL_REQUEST","ne":"false"}}]')}};var e={};function __webpack_require__(a){if(e[a]){return e[a].exports}var t=e[a]={exports:{}};var E=true;try{n[a](t,t.exports,__webpack_require__);E=false}finally{if(E)delete e[a]}return t.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(257)})();
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var a=t[r]={i:r,l:false,exports:{}};e[r].call(a.exports,a,a.exports,__webpack_require__);a.l=true;return a.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(217)}return startup()}({217:function(e,r){"use strict";var t=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g;var a=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/;var n=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;var i=/\\([\u000b\u0020-\u00ff])/g;var o=/([\\"])/g;var u=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;r.format=format;r.parse=parse;function format(e){if(!e||typeof e!=="object"){throw new TypeError("argument obj is required")}var r=e.parameters;var t=e.type;if(!t||!u.test(t)){throw new TypeError("invalid type")}var a=t;if(r&&typeof r==="object"){var i;var o=Object.keys(r).sort();for(var p=0;p<o.length;p++){i=o[p];if(!n.test(i)){throw new TypeError("invalid parameter name")}a+="; "+i+"="+qstring(r[i])}}return a}function parse(e){if(!e){throw new TypeError("argument string is required")}var r=typeof e==="object"?getcontenttype(e):e;if(typeof r!=="string"){throw new TypeError("argument string is required to be a string")}var a=r.indexOf(";");var n=a!==-1?r.substr(0,a).trim():r.trim();if(!u.test(n)){throw new TypeError("invalid media type")}var o=new ContentType(n.toLowerCase());if(a!==-1){var p;var s;var f;t.lastIndex=a;while(s=t.exec(r)){if(s.index!==a){throw new TypeError("invalid parameter format")}a+=s[0].length;p=s[1].toLowerCase();f=s[2];if(f[0]==='"'){f=f.substr(1,f.length-2).replace(i,"$1")}o.parameters[p]=f}if(a!==r.length){throw new TypeError("invalid parameter format")}}return o}function getcontenttype(e){var r;if(typeof e.getHeader==="function"){r=e.getHeader("content-type")}else if(typeof e.headers==="object"){r=e.headers&&e.headers["content-type"]}if(typeof r!=="string"){throw new TypeError("content-type header is missing from object")}return r}function qstring(e){var r=String(e);if(n.test(r)){return r}if(r.length>0&&!a.test(r)){throw new TypeError("invalid parameter value")}return'"'+r.replace(o,"\\$1")+'"'}function ContentType(e){this.parameters=Object.create(null);this.type=e}}}); module.exports=(()=>{"use strict";var e={534:(e,r)=>{var t=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g;var a=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/;var n=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;var i=/\\([\u000b\u0020-\u00ff])/g;var o=/([\\"])/g;var u=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;r.format=format;r.parse=parse;function format(e){if(!e||typeof e!=="object"){throw new TypeError("argument obj is required")}var r=e.parameters;var t=e.type;if(!t||!u.test(t)){throw new TypeError("invalid type")}var a=t;if(r&&typeof r==="object"){var i;var o=Object.keys(r).sort();for(var f=0;f<o.length;f++){i=o[f];if(!n.test(i)){throw new TypeError("invalid parameter name")}a+="; "+i+"="+qstring(r[i])}}return a}function parse(e){if(!e){throw new TypeError("argument string is required")}var r=typeof e==="object"?getcontenttype(e):e;if(typeof r!=="string"){throw new TypeError("argument string is required to be a string")}var a=r.indexOf(";");var n=a!==-1?r.substr(0,a).trim():r.trim();if(!u.test(n)){throw new TypeError("invalid media type")}var o=new ContentType(n.toLowerCase());if(a!==-1){var f;var p;var s;t.lastIndex=a;while(p=t.exec(r)){if(p.index!==a){throw new TypeError("invalid parameter format")}a+=p[0].length;f=p[1].toLowerCase();s=p[2];if(s[0]==='"'){s=s.substr(1,s.length-2).replace(i,"$1")}o.parameters[f]=s}if(a!==r.length){throw new TypeError("invalid parameter format")}}return o}function getcontenttype(e){var r;if(typeof e.getHeader==="function"){r=e.getHeader("content-type")}else if(typeof e.headers==="object"){r=e.headers&&e.headers["content-type"]}if(typeof r!=="string"){throw new TypeError("content-type header is missing from object")}return r}function qstring(e){var r=String(e);if(n.test(r)){return r}if(r.length>0&&!a.test(r)){throw new TypeError("invalid parameter value")}return'"'+r.replace(o,"\\$1")+'"'}function ContentType(e){this.parameters=Object.create(null);this.type=e}}};var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var a=r[t]={exports:{}};var n=true;try{e[t](a,a.exports,__webpack_require__);n=false}finally{if(n)delete r[t]}return a.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(534)})();
\ No newline at end of file \ No newline at end of file
module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var i=t[r]={i:r,l:false,exports:{}};e[r].call(i.exports,i,i.exports,__webpack_require__);i.l=true;return i.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(640)}return startup()}({640:function(e,r){"use strict";r.parse=parse;r.serialize=serialize;var t=decodeURIComponent;var i=encodeURIComponent;var a=/; */;var n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function parse(e,r){if(typeof e!=="string"){throw new TypeError("argument str must be a string")}var i={};var n=r||{};var o=e.split(a);var s=n.decode||t;for(var p=0;p<o.length;p++){var u=o[p];var f=u.indexOf("=");if(f<0){continue}var c=u.substr(0,f).trim();var v=u.substr(++f,u.length).trim();if('"'==v[0]){v=v.slice(1,-1)}if(undefined==i[c]){i[c]=tryDecode(v,s)}}return i}function serialize(e,r,t){var a=t||{};var o=a.encode||i;if(typeof o!=="function"){throw new TypeError("option encode is invalid")}if(!n.test(e)){throw new TypeError("argument name is invalid")}var s=o(r);if(s&&!n.test(s)){throw new TypeError("argument val is invalid")}var p=e+"="+s;if(null!=a.maxAge){var u=a.maxAge-0;if(isNaN(u)||!isFinite(u)){throw new TypeError("option maxAge is invalid")}p+="; Max-Age="+Math.floor(u)}if(a.domain){if(!n.test(a.domain)){throw new TypeError("option domain is invalid")}p+="; Domain="+a.domain}if(a.path){if(!n.test(a.path)){throw new TypeError("option path is invalid")}p+="; Path="+a.path}if(a.expires){if(typeof a.expires.toUTCString!=="function"){throw new TypeError("option expires is invalid")}p+="; Expires="+a.expires.toUTCString()}if(a.httpOnly){p+="; HttpOnly"}if(a.secure){p+="; Secure"}if(a.sameSite){var f=typeof a.sameSite==="string"?a.sameSite.toLowerCase():a.sameSite;switch(f){case true:p+="; SameSite=Strict";break;case"lax":p+="; SameSite=Lax";break;case"strict":p+="; SameSite=Strict";break;case"none":p+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return p}function tryDecode(e,r){try{return r(e)}catch(r){return e}}}}); module.exports=(()=>{"use strict";var e={891:(e,r)=>{r.parse=parse;r.serialize=serialize;var i=decodeURIComponent;var t=encodeURIComponent;var a=/; */;var n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function parse(e,r){if(typeof e!=="string"){throw new TypeError("argument str must be a string")}var t={};var n=r||{};var o=e.split(a);var s=n.decode||i;for(var p=0;p<o.length;p++){var f=o[p];var u=f.indexOf("=");if(u<0){continue}var c=f.substr(0,u).trim();var v=f.substr(++u,f.length).trim();if('"'==v[0]){v=v.slice(1,-1)}if(undefined==t[c]){t[c]=tryDecode(v,s)}}return t}function serialize(e,r,i){var a=i||{};var o=a.encode||t;if(typeof o!=="function"){throw new TypeError("option encode is invalid")}if(!n.test(e)){throw new TypeError("argument name is invalid")}var s=o(r);if(s&&!n.test(s)){throw new TypeError("argument val is invalid")}var p=e+"="+s;if(null!=a.maxAge){var f=a.maxAge-0;if(isNaN(f)||!isFinite(f)){throw new TypeError("option maxAge is invalid")}p+="; Max-Age="+Math.floor(f)}if(a.domain){if(!n.test(a.domain)){throw new TypeError("option domain is invalid")}p+="; Domain="+a.domain}if(a.path){if(!n.test(a.path)){throw new TypeError("option path is invalid")}p+="; Path="+a.path}if(a.expires){if(typeof a.expires.toUTCString!=="function"){throw new TypeError("option expires is invalid")}p+="; Expires="+a.expires.toUTCString()}if(a.httpOnly){p+="; HttpOnly"}if(a.secure){p+="; Secure"}if(a.sameSite){var u=typeof a.sameSite==="string"?a.sameSite.toLowerCase():a.sameSite;switch(u){case true:p+="; SameSite=Strict";break;case"lax":p+="; SameSite=Lax";break;case"strict":p+="; SameSite=Strict";break;case"none":p+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return p}function tryDecode(e,r){try{return r(e)}catch(r){return e}}}};var r={};function __webpack_require__(i){if(r[i]){return r[i].exports}var t=r[i]={exports:{}};var a=true;try{e[i](t,t.exports,__webpack_require__);a=false}finally{if(a)delete r[i]}return t.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(891)})();
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
module.exports=function(r,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var n=t[e]={i:e,l:false,exports:{}};r[e].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(393)}return startup()}({393:function(r){(function(e,t){true?r.exports=t():undefined})(this,function(){"use strict";var r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_$";var e=/[<>\b\f\n\r\t\0\u2028\u2029]/g;var t=/^(?:do|if|in|for|int|let|new|try|var|byte|case|char|else|enum|goto|long|this|void|with|await|break|catch|class|const|final|float|short|super|throw|while|yield|delete|double|export|import|native|return|switch|throws|typeof|boolean|default|extends|finally|package|private|abstract|continue|debugger|function|volatile|interface|protected|transient|implements|instanceof|synchronized)$/;var n={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};var i=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function devalue(r){var e=new Map;function walk(r){if(typeof r==="function"){throw new Error("Cannot stringify a function")}if(e.has(r)){e.set(r,e.get(r)+1);return}e.set(r,1);if(!isPrimitive(r)){var t=getType(r);switch(t){case"Number":case"String":case"Boolean":case"Date":case"RegExp":return;case"Array":r.forEach(walk);break;case"Set":case"Map":Array.from(r).forEach(walk);break;default:var n=Object.getPrototypeOf(r);if(n!==Object.prototype&&n!==null&&Object.getOwnPropertyNames(n).sort().join("\0")!==i){throw new Error("Cannot stringify arbitrary non-POJOs")}if(Object.getOwnPropertySymbols(r).length>0){throw new Error("Cannot stringify POJOs with symbolic keys")}Object.keys(r).forEach(function(e){return walk(r[e])})}}}walk(r);var t=new Map;Array.from(e).filter(function(r){return r[1]>1}).sort(function(r,e){return e[1]-r[1]}).forEach(function(r,e){t.set(r[0],getName(e))});function stringify(r){if(t.has(r)){return t.get(r)}if(isPrimitive(r)){return stringifyPrimitive(r)}var e=getType(r);switch(e){case"Number":case"String":case"Boolean":return"Object("+stringify(r.valueOf())+")";case"RegExp":return"new RegExp("+stringifyString(r.source)+', "'+r.flags+'")';case"Date":return"new Date("+r.getTime()+")";case"Array":var n=r.map(function(e,t){return t in r?stringify(e):""});var i=r.length===0||r.length-1 in r?"":",";return"["+n.join(",")+i+"]";case"Set":case"Map":return"new "+e+"(["+Array.from(r).map(stringify).join(",")+"])";default:var o="{"+Object.keys(r).map(function(e){return safeKey(e)+":"+stringify(r[e])}).join(",")+"}";var f=Object.getPrototypeOf(r);if(f===null){return Object.keys(r).length>0?"Object.assign(Object.create(null),"+o+")":"Object.create(null)"}return o}}var n=stringify(r);if(t.size){var o=[];var f=[];var a=[];t.forEach(function(r,e){o.push(r);if(isPrimitive(e)){a.push(stringifyPrimitive(e));return}var t=getType(e);switch(t){case"Number":case"String":case"Boolean":a.push("Object("+stringify(e.valueOf())+")");break;case"RegExp":a.push(e.toString());break;case"Date":a.push("new Date("+e.getTime()+")");break;case"Array":a.push("Array("+e.length+")");e.forEach(function(e,t){f.push(r+"["+t+"]="+stringify(e))});break;case"Set":a.push("new Set");f.push(r+"."+Array.from(e).map(function(r){return"add("+stringify(r)+")"}).join("."));break;case"Map":a.push("new Map");f.push(r+"."+Array.from(e).map(function(r){var e=r[0],t=r[1];return"set("+stringify(e)+", "+stringify(t)+")"}).join("."));break;default:a.push(Object.getPrototypeOf(e)===null?"Object.create(null)":"{}");Object.keys(e).forEach(function(t){f.push(""+r+safeProp(t)+"="+stringify(e[t]))})}});f.push("return "+n);return"(function("+o.join(",")+"){"+f.join(";")+"}("+a.join(",")+"))"}else{return n}}function getName(e){var n="";do{n=r[e%r.length]+n;e=~~(e/r.length)-1}while(e>=0);return t.test(n)?n+"_":n}function isPrimitive(r){return Object(r)!==r}function stringifyPrimitive(r){if(typeof r==="string")return stringifyString(r);if(r===void 0)return"void 0";if(r===0&&1/r<0)return"-0";var e=String(r);if(typeof r==="number")return e.replace(/^(-)?0\./,"$1.");return e}function getType(r){return Object.prototype.toString.call(r).slice(8,-1)}function escapeUnsafeChar(r){return n[r]||r}function escapeUnsafeChars(r){return r.replace(e,escapeUnsafeChar)}function safeKey(r){return/^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(r)?r:escapeUnsafeChars(JSON.stringify(r))}function safeProp(r){return/^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(r)?"."+r:"["+escapeUnsafeChars(JSON.stringify(r))+"]"}function stringifyString(r){var e='"';for(var t=0;t<r.length;t+=1){var i=r.charAt(t);var o=i.charCodeAt(0);if(i==='"'){e+='\\"'}else if(i in n){e+=n[i]}else if(o>=55296&&o<=57343){var f=r.charCodeAt(t+1);if(o<=56319&&(f>=56320&&f<=57343)){e+=i+r[++t]}else{e+="\\u"+o.toString(16).toUpperCase()}}else{e+=i}}e+='"';return e}return devalue})}}); module.exports=(()=>{var r={178:function(r){(function(e,t){true?r.exports=t():0})(this,function(){"use strict";var r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_$";var e=/[<>\b\f\n\r\t\0\u2028\u2029]/g;var t=/^(?:do|if|in|for|int|let|new|try|var|byte|case|char|else|enum|goto|long|this|void|with|await|break|catch|class|const|final|float|short|super|throw|while|yield|delete|double|export|import|native|return|switch|throws|typeof|boolean|default|extends|finally|package|private|abstract|continue|debugger|function|volatile|interface|protected|transient|implements|instanceof|synchronized)$/;var n={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};var i=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function devalue(r){var e=new Map;function walk(r){if(typeof r==="function"){throw new Error("Cannot stringify a function")}if(e.has(r)){e.set(r,e.get(r)+1);return}e.set(r,1);if(!isPrimitive(r)){var t=getType(r);switch(t){case"Number":case"String":case"Boolean":case"Date":case"RegExp":return;case"Array":r.forEach(walk);break;case"Set":case"Map":Array.from(r).forEach(walk);break;default:var n=Object.getPrototypeOf(r);if(n!==Object.prototype&&n!==null&&Object.getOwnPropertyNames(n).sort().join("\0")!==i){throw new Error("Cannot stringify arbitrary non-POJOs")}if(Object.getOwnPropertySymbols(r).length>0){throw new Error("Cannot stringify POJOs with symbolic keys")}Object.keys(r).forEach(function(e){return walk(r[e])})}}}walk(r);var t=new Map;Array.from(e).filter(function(r){return r[1]>1}).sort(function(r,e){return e[1]-r[1]}).forEach(function(r,e){t.set(r[0],getName(e))});function stringify(r){if(t.has(r)){return t.get(r)}if(isPrimitive(r)){return stringifyPrimitive(r)}var e=getType(r);switch(e){case"Number":case"String":case"Boolean":return"Object("+stringify(r.valueOf())+")";case"RegExp":return"new RegExp("+stringifyString(r.source)+', "'+r.flags+'")';case"Date":return"new Date("+r.getTime()+")";case"Array":var n=r.map(function(e,t){return t in r?stringify(e):""});var i=r.length===0||r.length-1 in r?"":",";return"["+n.join(",")+i+"]";case"Set":case"Map":return"new "+e+"(["+Array.from(r).map(stringify).join(",")+"])";default:var o="{"+Object.keys(r).map(function(e){return safeKey(e)+":"+stringify(r[e])}).join(",")+"}";var f=Object.getPrototypeOf(r);if(f===null){return Object.keys(r).length>0?"Object.assign(Object.create(null),"+o+")":"Object.create(null)"}return o}}var n=stringify(r);if(t.size){var o=[];var f=[];var a=[];t.forEach(function(r,e){o.push(r);if(isPrimitive(e)){a.push(stringifyPrimitive(e));return}var t=getType(e);switch(t){case"Number":case"String":case"Boolean":a.push("Object("+stringify(e.valueOf())+")");break;case"RegExp":a.push(e.toString());break;case"Date":a.push("new Date("+e.getTime()+")");break;case"Array":a.push("Array("+e.length+")");e.forEach(function(e,t){f.push(r+"["+t+"]="+stringify(e))});break;case"Set":a.push("new Set");f.push(r+"."+Array.from(e).map(function(r){return"add("+stringify(r)+")"}).join("."));break;case"Map":a.push("new Map");f.push(r+"."+Array.from(e).map(function(r){var e=r[0],t=r[1];return"set("+stringify(e)+", "+stringify(t)+")"}).join("."));break;default:a.push(Object.getPrototypeOf(e)===null?"Object.create(null)":"{}");Object.keys(e).forEach(function(t){f.push(""+r+safeProp(t)+"="+stringify(e[t]))})}});f.push("return "+n);return"(function("+o.join(",")+"){"+f.join(";")+"}("+a.join(",")+"))"}else{return n}}function getName(e){var n="";do{n=r[e%r.length]+n;e=~~(e/r.length)-1}while(e>=0);return t.test(n)?n+"_":n}function isPrimitive(r){return Object(r)!==r}function stringifyPrimitive(r){if(typeof r==="string")return stringifyString(r);if(r===void 0)return"void 0";if(r===0&&1/r<0)return"-0";var e=String(r);if(typeof r==="number")return e.replace(/^(-)?0\./,"$1.");return e}function getType(r){return Object.prototype.toString.call(r).slice(8,-1)}function escapeUnsafeChar(r){return n[r]||r}function escapeUnsafeChars(r){return r.replace(e,escapeUnsafeChar)}function safeKey(r){return/^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(r)?r:escapeUnsafeChars(JSON.stringify(r))}function safeProp(r){return/^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(r)?"."+r:"["+escapeUnsafeChars(JSON.stringify(r))+"]"}function stringifyString(r){var e='"';for(var t=0;t<r.length;t+=1){var i=r.charAt(t);var o=i.charCodeAt(0);if(i==='"'){e+='\\"'}else if(i in n){e+=n[i]}else if(o>=55296&&o<=57343){var f=r.charCodeAt(t+1);if(o<=56319&&(f>=56320&&f<=57343)){e+=i+r[++t]}else{e+="\\u"+o.toString(16).toUpperCase()}}else{e+=i}}e+='"';return e}return devalue})}};var e={};function __webpack_require__(t){if(e[t]){return e[t].exports}var n=e[t]={exports:{}};var i=true;try{r[t].call(n.exports,n,n.exports,__webpack_require__);i=false}finally{if(i)delete e[t]}return n.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(178)})();
\ No newline at end of file \ No newline at end of file
module.exports=function(r,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var _=t[e]={i:e,l:false,exports:{}};r[e].call(_.exports,_,_.exports,__webpack_require__);_.l=true;return _.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(766)}return startup()}({766:function(r){"use strict";const e=/[|\\{}()[\]^$+*?.-]/g;r.exports=(r=>{if(typeof r!=="string"){throw new TypeError("Expected a string")}return r.replace(e,"\\$&")})}}); module.exports=(()=>{"use strict";var e={3:e=>{const r=/[|\\{}()[\]^$+*?.-]/g;e.exports=(e=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(r,"\\$&")})}};var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var _=r[t]={exports:{}};var a=true;try{e[t](_,_.exports,__webpack_require__);a=false}finally{if(a)delete r[t]}return _.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(3)})();
\ No newline at end of file \ No newline at end of file
module.exports=function(t,e){"use strict";var r={};function __webpack_require__(e){if(r[e]){return r[e].exports}var n=r[e]={i:e,l:false,exports:{}};t[e].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(266)}return startup()}({266:function(t,e,r){"use strict";t.exports=etag;var n=r(417);var i=r(747).Stats;var a=Object.prototype.toString;function entitytag(t){if(t.length===0){return'"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk"'}var e=n.createHash("sha1").update(t,"utf8").digest("base64").substring(0,27);var r=typeof t==="string"?Buffer.byteLength(t,"utf8"):t.length;return'"'+r.toString(16)+"-"+e+'"'}function etag(t,e){if(t==null){throw new TypeError("argument entity is required")}var r=isstats(t);var n=e&&typeof e.weak==="boolean"?e.weak:r;if(!r&&typeof t!=="string"&&!Buffer.isBuffer(t)){throw new TypeError("argument entity must be string, Buffer, or fs.Stats")}var i=r?stattag(t):entitytag(t);return n?"W/"+i:i}function isstats(t){if(typeof i==="function"&&t instanceof i){return true}return t&&typeof t==="object"&&"ctime"in t&&a.call(t.ctime)==="[object Date]"&&"mtime"in t&&a.call(t.mtime)==="[object Date]"&&"ino"in t&&typeof t.ino==="number"&&"size"in t&&typeof t.size==="number"}function stattag(t){var e=t.mtime.getTime().toString(16);var r=t.size.toString(16);return'"'+r+"-"+e+'"'}},417:function(t){t.exports=require("crypto")},747:function(t){t.exports=require("fs")}});
\ No newline at end of file
{"name":"etag","main":"index.js","license":"MIT"}
module.exports=function(e,t){"use strict";var i={};function __webpack_require__(t){if(i[t]){return i[t].exports}var r=i[t]={i:t,l:false,exports:{}};e[t].call(r.exports,r,r.exports,__webpack_require__);r.l=true;return r.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(340)}return startup()}({225:function(e){e.exports=require("next/dist/compiled/schema-utils")},340:function(e,t,i){"use strict";const r=i(712);e.exports=r.default;e.exports.raw=r.raw},622:function(e){e.exports=require("path")},710:function(e){e.exports=require("loader-utils")},712:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loader;t.raw=void 0;var r=_interopRequireDefault(i(622));var o=_interopRequireDefault(i(710));var a=_interopRequireDefault(i(225));var n=_interopRequireDefault(i(813));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function loader(e){const t=o.default.getOptions(this);(0,a.default)(n.default,t,{name:"File Loader",baseDataPath:"options"});const i=t.context||this.rootContext;const s=o.default.interpolateName(this,t.name||"[contenthash].[ext]",{context:i,content:e,regExp:t.regExp});let u=s;if(t.outputPath){if(typeof t.outputPath==="function"){u=t.outputPath(s,this.resourcePath,i)}else{u=r.default.posix.join(t.outputPath,s)}}let p=`__webpack_public_path__ + ${JSON.stringify(u)}`;if(t.publicPath){if(typeof t.publicPath==="function"){p=t.publicPath(s,this.resourcePath,i)}else{p=`${t.publicPath.endsWith("/")?t.publicPath:`${t.publicPath}/`}${s}`}p=JSON.stringify(p)}if(t.postTransformPublicPath){p=t.postTransformPublicPath(p)}if(typeof t.emitFile==="undefined"||t.emitFile){this.emitFile(u,e)}const c=typeof t.esModule!=="undefined"?t.esModule:true;return`${c?"export default":"module.exports ="} ${p};`}const s=true;t.raw=s},813:function(e){e.exports={additionalProperties:true,properties:{name:{description:"The filename template for the target file(s) (https://github.com/webpack-contrib/file-loader#name).",anyOf:[{type:"string"},{instanceof:"Function"}]},outputPath:{description:"A filesystem path where the target file(s) will be placed (https://github.com/webpack-contrib/file-loader#outputpath).",anyOf:[{type:"string"},{instanceof:"Function"}]},publicPath:{description:"A custom public path for the target file(s) (https://github.com/webpack-contrib/file-loader#publicpath).",anyOf:[{type:"string"},{instanceof:"Function"}]},postTransformPublicPath:{description:"A custom transformation function for post-processing the publicPath (https://github.com/webpack-contrib/file-loader#posttransformpublicpath).",instanceof:"Function"},context:{description:"A custom file context (https://github.com/webpack-contrib/file-loader#context).",type:"string"},emitFile:{description:"Enables/Disables emit files (https://github.com/webpack-contrib/file-loader#emitfile).",type:"boolean"},regExp:{description:"A Regular Expression to one or many parts of the target file path. The capture groups can be reused in the name property using [N] placeholder (https://github.com/webpack-contrib/file-loader#regexp).",anyOf:[{type:"string"},{instanceof:"RegExp"}]},esModule:{description:"By default, file-loader generates JS modules that use the ES modules syntax.",type:"boolean"}},type:"object"}}}); module.exports=(()=>{"use strict";var e={809:(e,t,i)=>{const r=i(184);e.exports=r.default;e.exports.raw=r.raw},184:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:true});t.default=loader;t.raw=void 0;var r=_interopRequireDefault(i(622));var o=_interopRequireDefault(i(710));var a=_interopRequireDefault(i(225));var n=_interopRequireDefault(i(764));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function loader(e){const t=o.default.getOptions(this);(0,a.default)(n.default,t,{name:"File Loader",baseDataPath:"options"});const i=t.context||this.rootContext;const s=o.default.interpolateName(this,t.name||"[contenthash].[ext]",{context:i,content:e,regExp:t.regExp});let p=s;if(t.outputPath){if(typeof t.outputPath==="function"){p=t.outputPath(s,this.resourcePath,i)}else{p=r.default.posix.join(t.outputPath,s)}}let u=`__webpack_public_path__ + ${JSON.stringify(p)}`;if(t.publicPath){if(typeof t.publicPath==="function"){u=t.publicPath(s,this.resourcePath,i)}else{u=`${t.publicPath.endsWith("/")?t.publicPath:`${t.publicPath}/`}${s}`}u=JSON.stringify(u)}if(t.postTransformPublicPath){u=t.postTransformPublicPath(u)}if(typeof t.emitFile==="undefined"||t.emitFile){this.emitFile(p,e)}const l=typeof t.esModule!=="undefined"?t.esModule:true;return`${l?"export default":"module.exports ="} ${u};`}const s=true;t.raw=s},764:e=>{e.exports=JSON.parse('{"additionalProperties":true,"properties":{"name":{"description":"The filename template for the target file(s) (https://github.com/webpack-contrib/file-loader#name).","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"outputPath":{"description":"A filesystem path where the target file(s) will be placed (https://github.com/webpack-contrib/file-loader#outputpath).","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"publicPath":{"description":"A custom public path for the target file(s) (https://github.com/webpack-contrib/file-loader#publicpath).","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"postTransformPublicPath":{"description":"A custom transformation function for post-processing the publicPath (https://github.com/webpack-contrib/file-loader#posttransformpublicpath).","instanceof":"Function"},"context":{"description":"A custom file context (https://github.com/webpack-contrib/file-loader#context).","type":"string"},"emitFile":{"description":"Enables/Disables emit files (https://github.com/webpack-contrib/file-loader#emitfile).","type":"boolean"},"regExp":{"description":"A Regular Expression to one or many parts of the target file path. The capture groups can be reused in the name property using [N] placeholder (https://github.com/webpack-contrib/file-loader#regexp).","anyOf":[{"type":"string"},{"instanceof":"RegExp"}]},"esModule":{"description":"By default, file-loader generates JS modules that use the ES modules syntax.","type":"boolean"}},"type":"object"}')},710:e=>{e.exports=require("loader-utils")},225:e=>{e.exports=require("next/dist/compiled/schema-utils")},622:e=>{e.exports=require("path")}};var t={};function __webpack_require__(i){if(t[i]){return t[i].exports}var r=t[i]={exports:{}};var o=true;try{e[i](r,r.exports,__webpack_require__);o=false}finally{if(o)delete t[i]}return r.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(809)})();
\ No newline at end of file \ No newline at end of file
module.exports=function(r,t){"use strict";var e={};function __webpack_require__(t){if(e[t]){return e[t].exports}var n=e[t]={i:t,l:false,exports:{}};r[t].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(472)}return startup()}({67:function(r,t,e){var n=e(622);r.exports=function(r,t){if(t){var e=t.map(function(t){return n.resolve(r,t)})}else{var e=r}var o=e.slice(1).reduce(function(r,t){if(!t.match(/^([A-Za-z]:)?\/|\\/)){throw new Error("relative path without a basedir")}var e=t.split(/\/+|\\+/);for(var n=0;r[n]===e[n]&&n<Math.min(r.length,e.length);n++);return r.slice(0,n)},e[0].split(/\/+|\\+/));return o.length>1?o.join("/"):"/"}},140:function(r,t,e){"use strict";const n=e(622);const o=e(442);const s=async r=>{const t=await o("package.json",{cwd:r});return t&&n.dirname(t)};r.exports=s;r.exports.default=s;r.exports.sync=(r=>{const t=o.sync("package.json",{cwd:r});return t&&n.dirname(t)})},442:function(r){r.exports=require("next/dist/compiled/find-up")},472:function(r,t,e){"use strict";const n=e(622);const o=e(747);const s=e(67);const c=e(140);const i=e(829);const{env:u,cwd:a}=process;const d=r=>{try{o.accessSync(r,o.constants.W_OK);return true}catch(r){return false}};function useDirectory(r,t){if(t.create){i.sync(r)}if(t.thunk){return(...t)=>n.join(r,...t)}return r}function getNodeModuleDirectory(r){const t=n.join(r,"node_modules");if(!d(t)&&(o.existsSync(t)||!d(n.join(r)))){return}return t}r.exports=((r={})=>{if(u.CACHE_DIR&&!["true","false","1","0"].includes(u.CACHE_DIR)){return useDirectory(n.join(u.CACHE_DIR,"find-cache-dir"),r)}let{cwd:t=a()}=r;if(r.files){t=s(t,r.files)}t=c.sync(t);if(!t){return}const e=getNodeModuleDirectory(t);if(!e){return undefined}return useDirectory(n.join(t,"node_modules",".cache",r.name),r)})},519:function(r){r.exports=require("next/dist/compiled/semver")},622:function(r){r.exports=require("path")},669:function(r){r.exports=require("util")},747:function(r){r.exports=require("fs")},829:function(r,t,e){"use strict";const n=e(747);const o=e(622);const{promisify:s}=e(669);const c=e(519);const i=c.satisfies(process.version,">=10.12.0");const u=r=>{if(process.platform==="win32"){const t=/[<>:"|?*]/.test(r.replace(o.parse(r).root,""));if(t){const t=new Error(`Path contains invalid characters: ${r}`);t.code="EINVAL";throw t}}};const a=r=>{const t={mode:511&~process.umask(),fs:n};return{...t,...r}};const d=r=>{const t=new Error(`operation not permitted, mkdir '${r}'`);t.code="EPERM";t.errno=-4048;t.path=r;t.syscall="mkdir";return t};const f=async(r,t)=>{u(r);t=a(t);const e=s(t.fs.mkdir);const c=s(t.fs.stat);if(i&&t.fs.mkdir===n.mkdir){const n=o.resolve(r);await e(n,{mode:t.mode,recursive:true});return n}const f=async r=>{try{await e(r,t.mode);return r}catch(t){if(t.code==="EPERM"){throw t}if(t.code==="ENOENT"){if(o.dirname(r)===r){throw d(r)}if(t.message.includes("null bytes")){throw t}await f(o.dirname(r));return f(r)}try{const e=await c(r);if(!e.isDirectory()){throw new Error("The path is not a directory")}}catch(r){throw t}return r}};return f(o.resolve(r))};r.exports=f;r.exports.sync=((r,t)=>{u(r);t=a(t);if(i&&t.fs.mkdirSync===n.mkdirSync){const e=o.resolve(r);n.mkdirSync(e,{mode:t.mode,recursive:true});return e}const e=r=>{try{t.fs.mkdirSync(r,t.mode)}catch(n){if(n.code==="EPERM"){throw n}if(n.code==="ENOENT"){if(o.dirname(r)===r){throw d(r)}if(n.message.includes("null bytes")){throw n}e(o.dirname(r));return e(r)}try{if(!t.fs.statSync(r).isDirectory()){throw new Error("The path is not a directory")}}catch(r){throw n}}return r};return e(o.resolve(r))})}}); module.exports=(()=>{var r={773:(r,e,t)=>{var s=t(622);r.exports=function(r,e){if(e){var t=e.map(function(e){return s.resolve(r,e)})}else{var t=r}var n=t.slice(1).reduce(function(r,e){if(!e.match(/^([A-Za-z]:)?\/|\\/)){throw new Error("relative path without a basedir")}var t=e.split(/\/+|\\+/);for(var s=0;r[s]===t[s]&&s<Math.min(r.length,t.length);s++);return r.slice(0,s)},t[0].split(/\/+|\\+/));return n.length>1?n.join("/"):"/"}},449:(r,e,t)=>{"use strict";const s=t(622);const n=t(747);const o=t(773);const c=t(402);const i=t(270);const{env:a,cwd:u}=process;const d=r=>{try{n.accessSync(r,n.constants.W_OK);return true}catch(r){return false}};function useDirectory(r,e){if(e.create){i.sync(r)}if(e.thunk){return(...e)=>s.join(r,...e)}return r}function getNodeModuleDirectory(r){const e=s.join(r,"node_modules");if(!d(e)&&(n.existsSync(e)||!d(s.join(r)))){return}return e}r.exports=((r={})=>{if(a.CACHE_DIR&&!["true","false","1","0"].includes(a.CACHE_DIR)){return useDirectory(s.join(a.CACHE_DIR,"find-cache-dir"),r)}let{cwd:e=u()}=r;if(r.files){e=o(e,r.files)}e=c.sync(e);if(!e){return}const t=getNodeModuleDirectory(e);if(!t){return undefined}return useDirectory(s.join(e,"node_modules",".cache",r.name),r)})},270:(r,e,t)=>{"use strict";const s=t(747);const n=t(622);const{promisify:o}=t(669);const c=t(519);const i=c.satisfies(process.version,">=10.12.0");const a=r=>{if(process.platform==="win32"){const e=/[<>:"|?*]/.test(r.replace(n.parse(r).root,""));if(e){const e=new Error(`Path contains invalid characters: ${r}`);e.code="EINVAL";throw e}}};const u=r=>{const e={mode:511&~process.umask(),fs:s};return{...e,...r}};const d=r=>{const e=new Error(`operation not permitted, mkdir '${r}'`);e.code="EPERM";e.errno=-4048;e.path=r;e.syscall="mkdir";return e};const f=async(r,e)=>{a(r);e=u(e);const t=o(e.fs.mkdir);const c=o(e.fs.stat);if(i&&e.fs.mkdir===s.mkdir){const s=n.resolve(r);await t(s,{mode:e.mode,recursive:true});return s}const f=async r=>{try{await t(r,e.mode);return r}catch(e){if(e.code==="EPERM"){throw e}if(e.code==="ENOENT"){if(n.dirname(r)===r){throw d(r)}if(e.message.includes("null bytes")){throw e}await f(n.dirname(r));return f(r)}try{const t=await c(r);if(!t.isDirectory()){throw new Error("The path is not a directory")}}catch(r){throw e}return r}};return f(n.resolve(r))};r.exports=f;r.exports.sync=((r,e)=>{a(r);e=u(e);if(i&&e.fs.mkdirSync===s.mkdirSync){const t=n.resolve(r);s.mkdirSync(t,{mode:e.mode,recursive:true});return t}const t=r=>{try{e.fs.mkdirSync(r,e.mode)}catch(s){if(s.code==="EPERM"){throw s}if(s.code==="ENOENT"){if(n.dirname(r)===r){throw d(r)}if(s.message.includes("null bytes")){throw s}t(n.dirname(r));return t(r)}try{if(!e.fs.statSync(r).isDirectory()){throw new Error("The path is not a directory")}}catch(r){throw s}}return r};return t(n.resolve(r))})},402:(r,e,t)=>{"use strict";const s=t(622);const n=t(442);const o=async r=>{const e=await n("package.json",{cwd:r});return e&&s.dirname(e)};r.exports=o;r.exports.default=o;r.exports.sync=(r=>{const e=n.sync("package.json",{cwd:r});return e&&s.dirname(e)})},747:r=>{"use strict";r.exports=require("fs")},442:r=>{"use strict";r.exports=require("next/dist/compiled/find-up")},519:r=>{"use strict";r.exports=require("next/dist/compiled/semver")},622:r=>{"use strict";r.exports=require("path")},669:r=>{"use strict";r.exports=require("util")}};var e={};function __webpack_require__(t){if(e[t]){return e[t].exports}var s=e[t]={exports:{}};var n=true;try{r[t](s,s.exports,__webpack_require__);n=false}finally{if(n)delete e[t]}return s.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(449)})();
\ No newline at end of file \ No newline at end of file
module.exports=function(t,e){"use strict";var r={};function __webpack_require__(e){if(r[e]){return r[e].exports}var n=r[e]={i:e,l:false,exports:{}};t[e].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(1)}return startup()}({1:function(t,e,r){"use strict";const n=r(622);const s=r(914);const c=r(848);const o=Symbol("findUp.stop");t.exports=(async(t,e={})=>{let r=n.resolve(e.cwd||"");const{root:c}=n.parse(r);const i=[].concat(t);const u=async e=>{if(typeof t!=="function"){return s(i,e)}const r=await t(e.cwd);if(typeof r==="string"){return s([r],e)}return r};while(true){const t=await u({...e,cwd:r});if(t===o){return}if(t){return n.resolve(r,t)}if(r===c){return}r=n.dirname(r)}});t.exports.sync=((t,e={})=>{let r=n.resolve(e.cwd||"");const{root:c}=n.parse(r);const i=[].concat(t);const u=e=>{if(typeof t!=="function"){return s.sync(i,e)}const r=t(e.cwd);if(typeof r==="string"){return s.sync([r],e)}return r};while(true){const t=u({...e,cwd:r});if(t===o){return}if(t){return n.resolve(r,t)}if(r===c){return}r=n.dirname(r)}});t.exports.exists=c;t.exports.sync.exists=c.sync;t.exports.stop=o},429:function(t){"use strict";const e=(t,...e)=>new Promise(r=>{r(t(...e))});t.exports=e;t.exports.default=e},462:function(t,e,r){"use strict";const n=r(495);class EndError extends Error{constructor(t){super();this.value=t}}const s=async(t,e)=>e(await t);const c=async t=>{const e=await Promise.all(t);if(e[1]===true){throw new EndError(e[0])}return false};const o=async(t,e,r)=>{r={concurrency:Infinity,preserveOrder:true,...r};const o=n(r.concurrency);const i=[...t].map(t=>[t,o(s,t,e)]);const u=n(r.preserveOrder?1:Infinity);try{await Promise.all(i.map(t=>u(c,t)))}catch(t){if(t instanceof EndError){return t.value}throw t}};t.exports=o;t.exports.default=o},495:function(t,e,r){"use strict";const n=r(429);const s=t=>{if(!((Number.isInteger(t)||t===Infinity)&&t>0)){return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"))}const e=[];let r=0;const s=()=>{r--;if(e.length>0){e.shift()()}};const c=(t,e,...c)=>{r++;const o=n(t,...c);e(o);o.then(s,s)};const o=(n,s,...o)=>{if(r<t){c(n,s,...o)}else{e.push(c.bind(null,n,s,...o))}};const i=(t,...e)=>new Promise(r=>o(t,r,...e));Object.defineProperties(i,{activeCount:{get:()=>r},pendingCount:{get:()=>e.length},clearQueue:{value:()=>{e.length=0}}});return i};t.exports=s;t.exports.default=s},622:function(t){t.exports=require("path")},669:function(t){t.exports=require("util")},747:function(t){t.exports=require("fs")},848:function(t,e,r){"use strict";const n=r(747);const{promisify:s}=r(669);const c=s(n.access);t.exports=(async t=>{try{await c(t);return true}catch(t){return false}});t.exports.sync=(t=>{try{n.accessSync(t);return true}catch(t){return false}})},914:function(t,e,r){"use strict";const n=r(622);const s=r(747);const{promisify:c}=r(669);const o=r(462);const i=c(s.stat);const u=c(s.lstat);const a={directory:"isDirectory",file:"isFile"};function checkType({type:t}){if(t in a){return}throw new Error(`Invalid type specified: ${t}`)}const p=(t,e)=>t===undefined||e[a[t]]();t.exports=(async(t,e)=>{e={cwd:process.cwd(),type:"file",allowSymlinks:true,...e};checkType(e);const r=e.allowSymlinks?i:u;return o(t,async t=>{try{const s=await r(n.resolve(e.cwd,t));return p(e.type,s)}catch(t){return false}},e)});t.exports.sync=((t,e)=>{e={cwd:process.cwd(),allowSymlinks:true,type:"file",...e};checkType(e);const r=e.allowSymlinks?s.statSync:s.lstatSync;for(const s of t){try{const t=r(n.resolve(e.cwd,s));if(p(e.type,t)){return s}}catch(t){}}})}}); module.exports=(()=>{"use strict";var e={235:(e,t,r)=>{const n=r(404);const s=e=>{if(!((Number.isInteger(e)||e===Infinity)&&e>0)){return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"))}const t=[];let r=0;const s=()=>{r--;if(t.length>0){t.shift()()}};const c=(e,t,...c)=>{r++;const o=n(e,...c);t(o);o.then(s,s)};const o=(n,s,...o)=>{if(r<e){c(n,s,...o)}else{t.push(c.bind(null,n,s,...o))}};const i=(e,...t)=>new Promise(r=>o(e,r,...t));Object.defineProperties(i,{activeCount:{get:()=>r},pendingCount:{get:()=>t.length},clearQueue:{value:()=>{t.length=0}}});return i};e.exports=s;e.exports.default=s},404:e=>{const t=(e,...t)=>new Promise(r=>{r(e(...t))});e.exports=t;e.exports.default=t},21:(e,t,r)=>{const n=r(622);const s=r(387);const c=r(164);const o=Symbol("findUp.stop");e.exports=(async(e,t={})=>{let r=n.resolve(t.cwd||"");const{root:c}=n.parse(r);const i=[].concat(e);const a=async t=>{if(typeof e!=="function"){return s(i,t)}const r=await e(t.cwd);if(typeof r==="string"){return s([r],t)}return r};while(true){const e=await a({...t,cwd:r});if(e===o){return}if(e){return n.resolve(r,e)}if(r===c){return}r=n.dirname(r)}});e.exports.sync=((e,t={})=>{let r=n.resolve(t.cwd||"");const{root:c}=n.parse(r);const i=[].concat(e);const a=t=>{if(typeof e!=="function"){return s.sync(i,t)}const r=e(t.cwd);if(typeof r==="string"){return s.sync([r],t)}return r};while(true){const e=a({...t,cwd:r});if(e===o){return}if(e){return n.resolve(r,e)}if(r===c){return}r=n.dirname(r)}});e.exports.exists=c;e.exports.sync.exists=c.sync;e.exports.stop=o},387:(e,t,r)=>{const n=r(622);const s=r(747);const{promisify:c}=r(669);const o=r(940);const i=c(s.stat);const a=c(s.lstat);const u={directory:"isDirectory",file:"isFile"};function checkType({type:e}){if(e in u){return}throw new Error(`Invalid type specified: ${e}`)}const p=(e,t)=>e===undefined||t[u[e]]();e.exports=(async(e,t)=>{t={cwd:process.cwd(),type:"file",allowSymlinks:true,...t};checkType(t);const r=t.allowSymlinks?i:a;return o(e,async e=>{try{const s=await r(n.resolve(t.cwd,e));return p(t.type,s)}catch(e){return false}},t)});e.exports.sync=((e,t)=>{t={cwd:process.cwd(),allowSymlinks:true,type:"file",...t};checkType(t);const r=t.allowSymlinks?s.statSync:s.lstatSync;for(const s of e){try{const e=r(n.resolve(t.cwd,s));if(p(t.type,e)){return s}}catch(e){}}})},940:(e,t,r)=>{const n=r(235);class EndError extends Error{constructor(e){super();this.value=e}}const s=async(e,t)=>t(await e);const c=async e=>{const t=await Promise.all(e);if(t[1]===true){throw new EndError(t[0])}return false};const o=async(e,t,r)=>{r={concurrency:Infinity,preserveOrder:true,...r};const o=n(r.concurrency);const i=[...e].map(e=>[e,o(s,e,t)]);const a=n(r.preserveOrder?1:Infinity);try{await Promise.all(i.map(e=>a(c,e)))}catch(e){if(e instanceof EndError){return e.value}throw e}};e.exports=o;e.exports.default=o},164:(e,t,r)=>{const n=r(747);const{promisify:s}=r(669);const c=s(n.access);e.exports=(async e=>{try{await c(e);return true}catch(e){return false}});e.exports.sync=(e=>{try{n.accessSync(e);return true}catch(e){return false}})},747:e=>{e.exports=require("fs")},622:e=>{e.exports=require("path")},669:e=>{e.exports=require("util")}};var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var n=t[r]={exports:{}};var s=true;try{e[r](n,n.exports,__webpack_require__);s=false}finally{if(s)delete t[r]}return n.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(21)})();
\ No newline at end of file \ No newline at end of file
module.exports=function(r,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var a=t[e]={i:e,l:false,exports:{}};r[e].call(a.exports,a,a.exports,__webpack_require__);a.l=true;return a.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(566)}return startup()}({566:function(r){"use strict";var e=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;r.exports=fresh;function fresh(r,t){var a=r["if-modified-since"];var s=r["if-none-match"];if(!a&&!s){return false}var n=r["cache-control"];if(n&&e.test(n)){return false}if(s&&s!=="*"){var i=t["etag"];if(!i){return false}var u=true;var f=parseTokenList(s);for(var o=0;o<f.length;o++){var c=f[o];if(c===i||c==="W/"+i||"W/"+c===i){u=false;break}}if(u){return false}}if(a){var p=t["last-modified"];var _=!p||!(parseHttpDate(p)<=parseHttpDate(a));if(_){return false}}return true}function parseHttpDate(r){var e=r&&Date.parse(r);return typeof e==="number"?e:NaN}function parseTokenList(r){var e=0;var t=[];var a=0;for(var s=0,n=r.length;s<n;s++){switch(r.charCodeAt(s)){case 32:if(a===e){a=e=s+1}break;case 44:t.push(r.substring(a,e));a=e=s+1;break;default:e=s+1;break}}t.push(r.substring(a,e));return t}}}); module.exports=(()=>{"use strict";var r={726:r=>{var e=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;r.exports=fresh;function fresh(r,a){var t=r["if-modified-since"];var s=r["if-none-match"];if(!t&&!s){return false}var i=r["cache-control"];if(i&&e.test(i)){return false}if(s&&s!=="*"){var f=a["etag"];if(!f){return false}var n=true;var u=parseTokenList(s);for(var o=0;o<u.length;o++){var p=u[o];if(p===f||p==="W/"+f||"W/"+p===f){n=false;break}}if(n){return false}}if(t){var _=a["last-modified"];var c=!_||!(parseHttpDate(_)<=parseHttpDate(t));if(c){return false}}return true}function parseHttpDate(r){var e=r&&Date.parse(r);return typeof e==="number"?e:NaN}function parseTokenList(r){var e=0;var a=[];var t=0;for(var s=0,i=r.length;s<i;s++){switch(r.charCodeAt(s)){case 32:if(t===e){t=e=s+1}break;case 44:a.push(r.substring(t,e));t=e=s+1;break;default:e=s+1;break}}a.push(r.substring(t,e));return a}}};var e={};function __webpack_require__(a){if(e[a]){return e[a].exports}var t=e[a]={exports:{}};var s=true;try{r[a](t,t.exports,__webpack_require__);s=false}finally{if(s)delete e[a]}return t.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(726)})();
\ No newline at end of file \ No newline at end of file
module.exports=function(n,i){"use strict";var o={};function __webpack_require__(i){if(o[i]){return o[i].exports}var a=o[i]={i:i,l:false,exports:{}};n[i].call(a.exports,a,a.exports,__webpack_require__);a.l=true;return a.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(214)}return startup()}({214:function(n,i,o){"use strict";const a=o(747);const t=o(413);const p=o(761);const f=o(416);const c=o(589);const e=n=>Object.assign({level:9},n);n.exports=((n,i)=>{if(!n){return Promise.resolve(0)}return c(p.gzip)(n,e(i)).then(n=>n.length).catch(n=>0)});n.exports.sync=((n,i)=>p.gzipSync(n,e(i)).length);n.exports.stream=(n=>{const i=new t.PassThrough;const o=new t.PassThrough;const a=f(i,o);let c=0;const d=p.createGzip(e(n)).on("data",n=>{c+=n.length}).on("error",()=>{a.gzipSize=0}).on("end",()=>{a.gzipSize=c;a.emit("gzip-size",c);o.end()});i.pipe(d);i.pipe(o,{end:false});return a});n.exports.file=((i,o)=>{return new Promise((t,p)=>{const f=a.createReadStream(i);f.on("error",p);const c=f.pipe(n.exports.stream(o));c.on("error",p);c.on("gzip-size",t)})});n.exports.fileSync=((i,o)=>n.exports.sync(a.readFileSync(i),o))},413:function(n){n.exports=require("stream")},416:function(n,i,o){var a=o(413);var t=["write","end","destroy"];var p=["resume","pause"];var f=["data","close"];var c=Array.prototype.slice;n.exports=duplex;function forEach(n,i){if(n.forEach){return n.forEach(i)}for(var o=0;o<n.length;o++){i(n[o],o)}}function duplex(n,i){var o=new a;var e=false;forEach(t,proxyWriter);forEach(p,proxyReader);forEach(f,proxyStream);i.on("end",handleEnd);n.on("drain",function(){o.emit("drain")});n.on("error",reemit);i.on("error",reemit);o.writable=n.writable;o.readable=i.readable;return o;function proxyWriter(i){o[i]=method;function method(){return n[i].apply(n,arguments)}}function proxyReader(n){o[n]=method;function method(){o.emit(n);var a=i[n];if(a){return a.apply(i,arguments)}i.emit(n)}}function proxyStream(n){i.on(n,reemit);function reemit(){var i=c.call(arguments);i.unshift(n);o.emit.apply(o,i)}}function handleEnd(){if(e){return}e=true;var n=c.call(arguments);n.unshift("end");o.emit.apply(o,n)}function reemit(n){o.emit("error",n)}}},589:function(n){"use strict";const i=(n,i)=>(function(...o){const a=i.promiseModule;return new a((a,t)=>{if(i.multiArgs){o.push((...n)=>{if(i.errorFirst){if(n[0]){t(n)}else{n.shift();a(n)}}else{a(n)}})}else if(i.errorFirst){o.push((n,i)=>{if(n){t(n)}else{a(i)}})}else{o.push(a)}n.apply(this,o)})});n.exports=((n,o)=>{o=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:true,promiseModule:Promise},o);const a=typeof n;if(!(n!==null&&(a==="object"||a==="function"))){throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${n===null?"null":a}\``)}const t=n=>{const i=i=>typeof i==="string"?n===i:i.test(n);return o.include?o.include.some(i):!o.exclude.some(i)};let p;if(a==="function"){p=function(...a){return o.excludeMain?n(...a):i(n,o).apply(this,a)}}else{p=Object.create(Object.getPrototypeOf(n))}for(const a in n){const f=n[a];p[a]=typeof f==="function"&&t(a)?i(f,o):f}return p})},747:function(n){n.exports=require("fs")},761:function(n){n.exports=require("zlib")}}); module.exports=(()=>{var n={64:(n,i,o)=>{var a=o(413);var p=["write","end","destroy"];var t=["resume","pause"];var f=["data","close"];var e=Array.prototype.slice;n.exports=duplex;function forEach(n,i){if(n.forEach){return n.forEach(i)}for(var o=0;o<n.length;o++){i(n[o],o)}}function duplex(n,i){var o=new a;var c=false;forEach(p,proxyWriter);forEach(t,proxyReader);forEach(f,proxyStream);i.on("end",handleEnd);n.on("drain",function(){o.emit("drain")});n.on("error",reemit);i.on("error",reemit);o.writable=n.writable;o.readable=i.readable;return o;function proxyWriter(i){o[i]=method;function method(){return n[i].apply(n,arguments)}}function proxyReader(n){o[n]=method;function method(){o.emit(n);var a=i[n];if(a){return a.apply(i,arguments)}i.emit(n)}}function proxyStream(n){i.on(n,reemit);function reemit(){var i=e.call(arguments);i.unshift(n);o.emit.apply(o,i)}}function handleEnd(){if(c){return}c=true;var n=e.call(arguments);n.unshift("end");o.emit.apply(o,n)}function reemit(n){o.emit("error",n)}}},661:(n,i,o)=>{"use strict";const a=o(747);const p=o(413);const t=o(761);const f=o(64);const e=o(282);const c=n=>Object.assign({level:9},n);n.exports=((n,i)=>{if(!n){return Promise.resolve(0)}return e(t.gzip)(n,c(i)).then(n=>n.length).catch(n=>0)});n.exports.sync=((n,i)=>t.gzipSync(n,c(i)).length);n.exports.stream=(n=>{const i=new p.PassThrough;const o=new p.PassThrough;const a=f(i,o);let e=0;const d=t.createGzip(c(n)).on("data",n=>{e+=n.length}).on("error",()=>{a.gzipSize=0}).on("end",()=>{a.gzipSize=e;a.emit("gzip-size",e);o.end()});i.pipe(d);i.pipe(o,{end:false});return a});n.exports.file=((i,o)=>{return new Promise((p,t)=>{const f=a.createReadStream(i);f.on("error",t);const e=f.pipe(n.exports.stream(o));e.on("error",t);e.on("gzip-size",p)})});n.exports.fileSync=((i,o)=>n.exports.sync(a.readFileSync(i),o))},282:n=>{"use strict";const i=(n,i)=>(function(...o){const a=i.promiseModule;return new a((a,p)=>{if(i.multiArgs){o.push((...n)=>{if(i.errorFirst){if(n[0]){p(n)}else{n.shift();a(n)}}else{a(n)}})}else if(i.errorFirst){o.push((n,i)=>{if(n){p(n)}else{a(i)}})}else{o.push(a)}n.apply(this,o)})});n.exports=((n,o)=>{o=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:true,promiseModule:Promise},o);const a=typeof n;if(!(n!==null&&(a==="object"||a==="function"))){throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${n===null?"null":a}\``)}const p=n=>{const i=i=>typeof i==="string"?n===i:i.test(n);return o.include?o.include.some(i):!o.exclude.some(i)};let t;if(a==="function"){t=function(...a){return o.excludeMain?n(...a):i(n,o).apply(this,a)}}else{t=Object.create(Object.getPrototypeOf(n))}for(const a in n){const f=n[a];t[a]=typeof f==="function"&&p(a)?i(f,o):f}return t})},747:n=>{"use strict";n.exports=require("fs")},413:n=>{"use strict";n.exports=require("stream")},761:n=>{"use strict";n.exports=require("zlib")}};var i={};function __webpack_require__(o){if(i[o]){return i[o].exports}var a=i[o]={exports:{}};var p=true;try{n[o](a,a.exports,__webpack_require__);p=false}finally{if(p)delete i[o]}return a.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(661)})();
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var _=t[r]={i:r,l:false,exports:{}};e[r].call(_.exports,_,_.exports,__webpack_require__);_.l=true;return _.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(625)}return startup()}({625:function(e){"use strict";e.exports=function(e){this.cacheable&&this.cacheable();return""}}}); module.exports=(()=>{"use strict";var e={445:e=>{e.exports=function(e){this.cacheable&&this.cacheable();return""}}};var r={};function __webpack_require__(_){if(r[_]){return r[_].exports}var t=r[_]={exports:{}};var a=true;try{e[_](t,t.exports,__webpack_require__);a=false}finally{if(a)delete r[_]}return t.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(445)})();
\ No newline at end of file \ No newline at end of file
module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var a=t[r]={i:r,l:false,exports:{}};e[r].call(a.exports,a,a.exports,__webpack_require__);a.l=true;return a.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(535)}return startup()}({245:function(e,r){"use strict";function getDataBlocksLength(e,r){var t=0;while(e[r+t]){t+=e[r+t]+1}return t+1}r.isGIF=function(e){var r=e.slice(0,3).toString("ascii");return r==="GIF"};r.isAnimated=function(e){var r,t,a;var n=0;var i=0;a=e.slice(0,3).toString("ascii");if(a!=="GIF"){return false}r=e[10]&128;t=e[10]&7;n+=6;n+=7;n+=r?3*Math.pow(2,t+1):0;while(i<2&&n<e.length){switch(e[n]){case 44:i+=1;r=e[n+9]&128;t=e[n+9]&7;n+=10;n+=r?3*Math.pow(2,t+1):0;n+=getDataBlocksLength(e,n+1)+1;break;case 33:n+=2;n+=getDataBlocksLength(e,n);break;case 59:n=e.length;break;default:n=e.length;break}}return i>1}},506:function(e,r){r.isPNG=function(e){var r=e.slice(0,8).toString("hex");return r==="89504e470d0a1a0a"};r.isAnimated=function(e){var r=false;var t=false;var a=false;var n=null;var i=8;while(i<e.length){var s=e.readUInt32BE(i);var u=e.slice(i+4,i+8).toString("ascii");switch(u){case"acTL":r=true;break;case"IDAT":if(!r){return false}if(n!=="fcTL"){return false}t=true;break;case"fdAT":if(!t){return false}if(n!=="fcTL"){return false}a=true;break}n=u;i+=4+4+s+4}return r&&t&&a}},535:function(e,r,t){"use strict";var a=t(245);var n=t(506);var i=t(673);function isAnimated(e){if(a.isGIF(e)){return a.isAnimated(e)}if(n.isPNG(e)){return n.isAnimated(e)}if(i.isWebp(e)){return i.isAnimated(e)}return false}e.exports=isAnimated},673:function(e,r){r.isWebp=function(e){var r=[87,69,66,80];for(var t=0;t<r.length;t++){if(e[t+8]!==r[t]){return false}}return true};r.isAnimated=function(e){var r=[65,78,73,77];for(var t=0;t<e.length;t++){for(var a=0;a<r.length;a++){if(e[t+a]!==r[a]){break}}if(a===r.length){return true}}return false}}}); module.exports=(()=>{var e={713:(e,r,t)=>{"use strict";var a=t(641);var i=t(751);var n=t(120);function isAnimated(e){if(a.isGIF(e)){return a.isAnimated(e)}if(i.isPNG(e)){return i.isAnimated(e)}if(n.isWebp(e)){return n.isAnimated(e)}return false}e.exports=isAnimated},641:(e,r)=>{"use strict";function getDataBlocksLength(e,r){var t=0;while(e[r+t]){t+=e[r+t]+1}return t+1}r.isGIF=function(e){var r=e.slice(0,3).toString("ascii");return r==="GIF"};r.isAnimated=function(e){var r,t,a;var i=0;var n=0;a=e.slice(0,3).toString("ascii");if(a!=="GIF"){return false}r=e[10]&128;t=e[10]&7;i+=6;i+=7;i+=r?3*Math.pow(2,t+1):0;while(n<2&&i<e.length){switch(e[i]){case 44:n+=1;r=e[i+9]&128;t=e[i+9]&7;i+=10;i+=r?3*Math.pow(2,t+1):0;i+=getDataBlocksLength(e,i+1)+1;break;case 33:i+=2;i+=getDataBlocksLength(e,i);break;case 59:i=e.length;break;default:i=e.length;break}}return n>1}},751:(e,r)=>{r.isPNG=function(e){var r=e.slice(0,8).toString("hex");return r==="89504e470d0a1a0a"};r.isAnimated=function(e){var r=false;var t=false;var a=false;var i=null;var n=8;while(n<e.length){var s=e.readUInt32BE(n);var u=e.slice(n+4,n+8).toString("ascii");switch(u){case"acTL":r=true;break;case"IDAT":if(!r){return false}if(i!=="fcTL"){return false}t=true;break;case"fdAT":if(!t){return false}if(i!=="fcTL"){return false}a=true;break}i=u;n+=4+4+s+4}return r&&t&&a}},120:(e,r)=>{r.isWebp=function(e){var r=[87,69,66,80];for(var t=0;t<r.length;t++){if(e[t+8]!==r[t]){return false}}return true};r.isAnimated=function(e){var r=[65,78,73,77];for(var t=0;t<e.length;t++){for(var a=0;a<r.length;a++){if(e[t+a]!==r[a]){break}}if(a===r.length){return true}}return false}}};var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var a=r[t]={exports:{}};var i=true;try{e[t](a,a.exports,__webpack_require__);i=false}finally{if(i)delete r[t]}return a.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(713)})();
\ No newline at end of file \ No newline at end of file
module.exports=function(r,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var u=t[e]={i:e,l:false,exports:{}};r[e].call(u.exports,u,u.exports,__webpack_require__);u.l=true;return u.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(383)}return startup()}({383:function(r,e,t){"use strict";const u=t(747);let n;function hasDockerEnv(){try{u.statSync("/.dockerenv");return true}catch(r){return false}}function hasDockerCGroup(){try{return u.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch(r){return false}}r.exports=(()=>{if(n===undefined){n=hasDockerEnv()||hasDockerCGroup()}return n})},747:function(r){r.exports=require("fs")}}); module.exports=(()=>{"use strict";var r={77:(r,e,t)=>{const u=t(747);let n;function hasDockerEnv(){try{u.statSync("/.dockerenv");return true}catch(r){return false}}function hasDockerCGroup(){try{return u.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch(r){return false}}r.exports=(()=>{if(n===undefined){n=hasDockerEnv()||hasDockerCGroup()}return n})},747:r=>{r.exports=require("fs")}};var e={};function __webpack_require__(t){if(e[t]){return e[t].exports}var u=e[t]={exports:{}};var n=true;try{r[t](u,u.exports,__webpack_require__);n=false}finally{if(n)delete e[t]}return u.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(77)})();
\ No newline at end of file \ No newline at end of file
module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var s=t[r]={i:r,l:false,exports:{}};e[r].call(s.exports,s,s.exports,__webpack_require__);s.l=true;return s.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(394)}return startup()}({1:function(e){e.exports=require("next/dist/compiled/is-docker")},87:function(e){e.exports=require("os")},394:function(e,r,t){"use strict";const s=t(87);const o=t(747);const n=t(1);const u=()=>{if(process.platform!=="linux"){return false}if(s.release().toLowerCase().includes("microsoft")){if(n()){return false}return true}try{return o.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!n():false}catch(e){return false}};if(process.env.__IS_WSL_TEST__){e.exports=u}else{e.exports=u()}},747:function(e){e.exports=require("fs")}}); module.exports=(()=>{"use strict";var e={698:(e,r,t)=>{const s=t(87);const o=t(747);const _=t(1);const i=()=>{if(process.platform!=="linux"){return false}if(s.release().toLowerCase().includes("microsoft")){if(_()){return false}return true}try{return o.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!_():false}catch(e){return false}};if(process.env.__IS_WSL_TEST__){e.exports=i}else{e.exports=i()}},747:e=>{e.exports=require("fs")},1:e=>{e.exports=require("next/dist/compiled/is-docker")},87:e=>{e.exports=require("os")}};var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var s=r[t]={exports:{}};var o=true;try{e[t](s,s.exports,__webpack_require__);o=false}finally{if(o)delete r[t]}return s.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(698)})();
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
This diff is collapsed.
module.exports=function(r,e){"use strict";var i={};function __webpack_require__(e){if(i[e]){return i[e].exports}var t=i[e]={i:e,l:false,exports:{}};r[e].call(t.exports,t,t.exports,__webpack_require__);t.l=true;return t.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(17)}return startup()}({17:function(r,e,i){var t=i(622);var n=i(747);var u=parseInt("0777",8);r.exports=mkdirP.mkdirp=mkdirP.mkdirP=mkdirP;function mkdirP(r,e,i,o){if(typeof e==="function"){i=e;e={}}else if(!e||typeof e!=="object"){e={mode:e}}var c=e.mode;var s=e.fs||n;if(c===undefined){c=u&~process.umask()}if(!o)o=null;var a=i||function(){};r=t.resolve(r);s.mkdir(r,c,function(i){if(!i){o=o||r;return a(null,o)}switch(i.code){case"ENOENT":mkdirP(t.dirname(r),e,function(i,t){if(i)a(i,t);else mkdirP(r,e,a,t)});break;default:s.stat(r,function(r,e){if(r||!e.isDirectory())a(i,o);else a(null,o)});break}})}mkdirP.sync=function sync(r,e,i){if(!e||typeof e!=="object"){e={mode:e}}var o=e.mode;var c=e.fs||n;if(o===undefined){o=u&~process.umask()}if(!i)i=null;r=t.resolve(r);try{c.mkdirSync(r,o);i=i||r}catch(n){switch(n.code){case"ENOENT":i=sync(t.dirname(r),e,i);sync(r,e,i);break;default:var s;try{s=c.statSync(r)}catch(r){throw n}if(!s.isDirectory())throw n;break}}return i}},622:function(r){r.exports=require("path")},747:function(r){r.exports=require("fs")}}); module.exports=(()=>{var r={828:(r,e,i)=>{var t=i(622);var n=i(747);var s=parseInt("0777",8);r.exports=mkdirP.mkdirp=mkdirP.mkdirP=mkdirP;function mkdirP(r,e,i,a){if(typeof e==="function"){i=e;e={}}else if(!e||typeof e!=="object"){e={mode:e}}var u=e.mode;var c=e.fs||n;if(u===undefined){u=s&~process.umask()}if(!a)a=null;var o=i||function(){};r=t.resolve(r);c.mkdir(r,u,function(i){if(!i){a=a||r;return o(null,a)}switch(i.code){case"ENOENT":mkdirP(t.dirname(r),e,function(i,t){if(i)o(i,t);else mkdirP(r,e,o,t)});break;default:c.stat(r,function(r,e){if(r||!e.isDirectory())o(i,a);else o(null,a)});break}})}mkdirP.sync=function sync(r,e,i){if(!e||typeof e!=="object"){e={mode:e}}var a=e.mode;var u=e.fs||n;if(a===undefined){a=s&~process.umask()}if(!i)i=null;r=t.resolve(r);try{u.mkdirSync(r,a);i=i||r}catch(n){switch(n.code){case"ENOENT":i=sync(t.dirname(r),e,i);sync(r,e,i);break;default:var c;try{c=u.statSync(r)}catch(r){throw n}if(!c.isDirectory())throw n;break}}return i}},747:r=>{"use strict";r.exports=require("fs")},622:r=>{"use strict";r.exports=require("path")}};var e={};function __webpack_require__(i){if(e[i]){return e[i].exports}var t=e[i]={exports:{}};var n=true;try{r[i](t,t.exports,__webpack_require__);n=false}finally{if(n)delete e[i]}return t.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(828)})();
\ No newline at end of file \ No newline at end of file
module.exports=function(r,n){"use strict";var a={};function __webpack_require__(n){if(a[n]){return a[n].exports}var i=a[n]={i:n,l:false,exports:{}};r[n].call(i.exports,i,i.exports,__webpack_require__);i.l=true;return i.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(162)}return startup()}({162:function(r,n,a){var i=a(966);var t=a(865);r.exports=function(r){r=r||21;var n=i(r);var a="";while(0<r--){a+=t[n[r]&63]}return a}},417:function(r){r.exports=require("crypto")},865:function(r){r.exports="ModuleSymbhasOwnPr-0123456789ABCDEFGHIJKLNQRTUVWXYZ_cfgijkpqtvxz"},966:function(r,n,a){var i=a(417);if(i.randomFillSync){var t={};r.exports=function(r){var n=t[r];if(!n){n=Buffer.allocUnsafe(r);if(r<=255)t[r]=n}return i.randomFillSync(n)}}else{r.exports=i.randomBytes}}}); module.exports=(()=>{var r={172:(r,a,_)=>{var i=_(760);var n=_(787);r.exports=function(r){r=r||21;var a=i(r);var _="";while(0<r--){_+=n[a[r]&63]}return _}},760:(r,a,_)=>{var i=_(417);if(i.randomFillSync){var n={};r.exports=function(r){var a=n[r];if(!a){a=Buffer.allocUnsafe(r);if(r<=255)n[r]=a}return i.randomFillSync(a)}}else{r.exports=i.randomBytes}},787:r=>{r.exports="ModuleSymbhasOwnPr-0123456789ABCDEFGHIJKLNQRTUVWXYZ_cfgijkpqtvxz"},417:r=>{"use strict";r.exports=require("crypto")}};var a={};function __webpack_require__(_){if(a[_]){return a[_].exports}var i=a[_]={exports:{}};var n=true;try{r[_](i,i.exports,__webpack_require__);n=false}finally{if(n)delete a[_]}return i.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(172)})();
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment