vibebusiness 1.2.72 → 1.2.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/app-build-manifest.json +29 -29
- package/.next/standalone/.next/app-path-routes-manifest.json +1 -1
- package/.next/standalone/.next/build-manifest.json +2 -2
- package/.next/standalone/.next/prerender-manifest.json +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +1 -1
- package/.next/standalone/.next/server/app/goals/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/goals/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/hypotheses/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/hypotheses/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/ideas/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/roadmap/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/roadmap/investors/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/roadmap/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/roadmap/public/page.js +1 -1
- package/.next/standalone/.next/server/app/roadmap/public/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings.html +1 -1
- package/.next/standalone/.next/server/app/settings.rsc +1 -1
- package/.next/standalone/.next/server/app/social/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/social.html +1 -1
- package/.next/standalone/.next/server/app/social.rsc +1 -1
- package/.next/standalone/.next/server/app/updates/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/updates/new/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/updates/new.html +1 -1
- package/.next/standalone/.next/server/app/updates/new.rsc +1 -1
- package/.next/standalone/.next/server/app/updates/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app-paths-manifest.json +16 -16
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/data/business-context.json +1 -1
- package/.next/standalone/data/heartbeat-sessions.json +247 -0
- package/.next/standalone/data/ideas.json +623 -12
- package/.next/standalone/data/implementations.json +421 -0
- package/.next/standalone/data/roadmap.json +1 -1
- package/.next/standalone/node_modules/.cache/webpack/remotion-production-4.0.428/c99d23d3548030c8ff8de678c71eeb15/0.pack +0 -0
- package/.next/standalone/node_modules/.cache/webpack/remotion-production-4.0.428/c99d23d3548030c8ff8de678c71eeb15/index.pack +0 -0
- package/.next/standalone/node_modules/@esbuild/darwin-arm64/bin/esbuild +0 -0
- package/.next/standalone/node_modules/@esbuild/darwin-arm64/package.json +20 -0
- package/.next/standalone/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js +358 -0
- package/.next/standalone/node_modules/@jridgewell/gen-mapping/package.json +67 -0
- package/.next/standalone/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js +240 -0
- package/.next/standalone/node_modules/@jridgewell/resolve-uri/package.json +69 -0
- package/.next/standalone/node_modules/@jridgewell/source-map/dist/source-map.umd.js +152 -0
- package/.next/standalone/node_modules/@jridgewell/source-map/package.json +68 -0
- package/.next/standalone/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +464 -0
- package/.next/standalone/node_modules/@jridgewell/sourcemap-codec/package.json +63 -0
- package/.next/standalone/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +559 -0
- package/.next/standalone/node_modules/@jridgewell/trace-mapping/package.json +67 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/clone.js +11 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/index.js +129 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/node-helpers.js +107 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/node-path.js +148 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/nodes.js +1144 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/signatures.js +207 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/transform/ast-module-to-module-context/index.js +389 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/traverse.js +105 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/lib/utils.js +315 -0
- package/.next/standalone/node_modules/@webassemblyjs/ast/package.json +32 -0
- package/.next/standalone/node_modules/@webassemblyjs/floating-point-hex-parser/lib/index.js +49 -0
- package/.next/standalone/node_modules/@webassemblyjs/floating-point-hex-parser/package.json +24 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-api-error/lib/index.js +78 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-api-error/package.json +18 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-buffer/lib/index.js +89 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-buffer/package.json +24 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-numbers/lib/index.js +117 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-numbers/package.json +25 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-bytecode/lib/index.js +430 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-bytecode/lib/section.js +38 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-bytecode/package.json +20 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-section/lib/create.js +123 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-section/lib/index.js +35 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-section/lib/remove.js +45 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-section/lib/resize.js +90 -0
- package/.next/standalone/node_modules/@webassemblyjs/helper-wasm-section/package.json +29 -0
- package/.next/standalone/node_modules/@webassemblyjs/ieee754/lib/index.js +52 -0
- package/.next/standalone/node_modules/@webassemblyjs/ieee754/package.json +23 -0
- package/.next/standalone/node_modules/@webassemblyjs/leb128/lib/bits.js +156 -0
- package/.next/standalone/node_modules/@webassemblyjs/leb128/lib/bufs.js +246 -0
- package/.next/standalone/node_modules/@webassemblyjs/leb128/lib/index.js +59 -0
- package/.next/standalone/node_modules/@webassemblyjs/leb128/lib/leb.js +347 -0
- package/.next/standalone/node_modules/@webassemblyjs/leb128/package.json +23 -0
- package/.next/standalone/node_modules/@webassemblyjs/utf8/lib/decoder.js +74 -0
- package/.next/standalone/node_modules/@webassemblyjs/utf8/lib/encoder.js +67 -0
- package/.next/standalone/node_modules/@webassemblyjs/utf8/lib/index.js +21 -0
- package/.next/standalone/node_modules/@webassemblyjs/utf8/package.json +20 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-edit/lib/apply.js +318 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-edit/lib/index.js +134 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-edit/package.json +33 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-gen/lib/encoder/index.js +372 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-gen/lib/index.js +68 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-gen/package.json +27 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-opt/lib/index.js +66 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-opt/lib/leb128.js +56 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-opt/package.json +26 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-parser/lib/decoder.js +1970 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-parser/lib/index.js +262 -0
- package/.next/standalone/node_modules/@webassemblyjs/wasm-parser/package.json +44 -0
- package/.next/standalone/node_modules/@xtuc/ieee754/dist/index.cjs.js +96 -0
- package/.next/standalone/node_modules/@xtuc/ieee754/package.json +42 -0
- package/.next/standalone/node_modules/@xtuc/long/package.json +36 -0
- package/.next/standalone/node_modules/@xtuc/long/src/long.js +1405 -0
- package/.next/standalone/node_modules/acorn/dist/acorn.js +6262 -0
- package/.next/standalone/node_modules/acorn/package.json +50 -0
- package/.next/standalone/node_modules/acorn-import-phases/package.json +46 -0
- package/.next/standalone/node_modules/acorn-import-phases/src/index.cjs +5 -0
- package/.next/standalone/node_modules/acorn-import-phases/src/plugin.cjs +125 -0
- package/.next/standalone/node_modules/ajv-formats/dist/formats.js +173 -0
- package/.next/standalone/node_modules/ajv-formats/dist/index.js +37 -0
- package/.next/standalone/node_modules/ajv-formats/dist/limit.js +69 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js +50 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js +123 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js +242 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js +28 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js +26 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js +178 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/core.js +618 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/refs/data.json +13 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/ajv/package.json +127 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/json-schema-traverse/index.js +93 -0
- package/.next/standalone/node_modules/ajv-formats/node_modules/json-schema-traverse/package.json +43 -0
- package/.next/standalone/node_modules/ajv-formats/package.json +74 -0
- package/.next/standalone/node_modules/baseline-browser-mapping/dist/index.cjs +1 -0
- package/.next/standalone/node_modules/baseline-browser-mapping/package.json +64 -0
- package/.next/standalone/node_modules/browserslist/error.js +12 -0
- package/.next/standalone/node_modules/browserslist/index.js +1335 -0
- package/.next/standalone/node_modules/browserslist/node.js +502 -0
- package/.next/standalone/node_modules/browserslist/package.json +45 -0
- package/.next/standalone/node_modules/browserslist/parse.js +78 -0
- package/.next/standalone/node_modules/chrome-trace-event/dist/trace-event.js +170 -0
- package/.next/standalone/node_modules/chrome-trace-event/package.json +38 -0
- package/.next/standalone/node_modules/electron-to-chromium/package.json +44 -0
- package/.next/standalone/node_modules/electron-to-chromium/versions.js +229 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/AliasFieldPlugin.js +103 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/AliasPlugin.js +47 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/AliasUtils.js +172 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/AppendPlugin.js +49 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js +677 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/CloneBasenamePlugin.js +53 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ConditionalPlugin.js +59 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js +98 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/DescriptionFileUtils.js +200 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js +68 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ExportsFieldPlugin.js +206 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ExtensionAliasPlugin.js +100 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/FileExistsPlugin.js +61 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ImportsFieldPlugin.js +223 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/JoinRequestPartPlugin.js +75 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/JoinRequestPlugin.js +45 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/LogInfoPlugin.js +58 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/MainFieldPlugin.js +87 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ModulesInHierarchicalDirectoriesPlugin.js +47 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js +49 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ModulesUtils.js +83 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/NextPlugin.js +33 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ParsePlugin.js +77 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/PnpPlugin.js +134 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/Resolver.js +820 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ResolverFactory.js +745 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/RestrictionsPlugin.js +70 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/ResultPlugin.js +43 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/RootsPlugin.js +69 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/SelfReferencePlugin.js +82 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/SymlinkPlugin.js +101 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/SyncAsyncFileSystemDecorator.js +258 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/TryNextPlugin.js +41 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/TsconfigPathsPlugin.js +560 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js +114 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/UseFilePlugin.js +55 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/createInnerContext.js +46 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/forEachBail.js +50 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/getInnerRequest.js +39 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/getPaths.js +45 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/index.js +229 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/util/entrypoints.js +577 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/util/fs.js +38 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/util/identifier.js +77 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/util/memoize.js +37 -0
- package/.next/standalone/node_modules/enhanced-resolve/lib/util/path.js +250 -0
- package/.next/standalone/node_modules/enhanced-resolve/package.json +76 -0
- package/.next/standalone/node_modules/esbuild/lib/main.js +2242 -0
- package/.next/standalone/node_modules/esbuild/package.json +49 -0
- package/.next/standalone/node_modules/eslint-scope/lib/definition.js +86 -0
- package/.next/standalone/node_modules/eslint-scope/lib/index.js +165 -0
- package/.next/standalone/node_modules/eslint-scope/lib/pattern-visitor.js +152 -0
- package/.next/standalone/node_modules/eslint-scope/lib/reference.js +167 -0
- package/.next/standalone/node_modules/eslint-scope/lib/referencer.js +629 -0
- package/.next/standalone/node_modules/eslint-scope/lib/scope-manager.js +247 -0
- package/.next/standalone/node_modules/eslint-scope/lib/scope.js +748 -0
- package/.next/standalone/node_modules/eslint-scope/lib/variable.js +88 -0
- package/.next/standalone/node_modules/eslint-scope/package.json +48 -0
- package/.next/standalone/node_modules/esrecurse/esrecurse.js +117 -0
- package/.next/standalone/node_modules/esrecurse/node_modules/estraverse/estraverse.js +805 -0
- package/.next/standalone/node_modules/esrecurse/node_modules/estraverse/package.json +40 -0
- package/.next/standalone/node_modules/esrecurse/package.json +52 -0
- package/.next/standalone/node_modules/estraverse/estraverse.js +782 -0
- package/.next/standalone/node_modules/estraverse/package.json +40 -0
- package/.next/standalone/node_modules/fast-deep-equal/index.js +46 -0
- package/.next/standalone/node_modules/fast-deep-equal/package.json +61 -0
- package/.next/standalone/node_modules/fast-uri/index.js +340 -0
- package/.next/standalone/node_modules/fast-uri/lib/schemes.js +267 -0
- package/.next/standalone/node_modules/fast-uri/lib/utils.js +336 -0
- package/.next/standalone/node_modules/fast-uri/package.json +69 -0
- package/.next/standalone/node_modules/glob-to-regexp/index.js +130 -0
- package/.next/standalone/node_modules/glob-to-regexp/package.json +23 -0
- package/.next/standalone/node_modules/has-flag/index.js +8 -0
- package/.next/standalone/node_modules/has-flag/package.json +46 -0
- package/.next/standalone/node_modules/jest-worker/build/Farm.js +206 -0
- package/.next/standalone/node_modules/jest-worker/build/FifoQueue.js +171 -0
- package/.next/standalone/node_modules/jest-worker/build/PriorityQueue.js +188 -0
- package/.next/standalone/node_modules/jest-worker/build/WorkerPool.js +49 -0
- package/.next/standalone/node_modules/jest-worker/build/base/BaseWorkerPool.js +201 -0
- package/.next/standalone/node_modules/jest-worker/build/index.js +223 -0
- package/.next/standalone/node_modules/jest-worker/build/types.js +39 -0
- package/.next/standalone/node_modules/jest-worker/build/workers/ChildProcessWorker.js +333 -0
- package/.next/standalone/node_modules/jest-worker/build/workers/NodeThreadsWorker.js +344 -0
- package/.next/standalone/node_modules/jest-worker/build/workers/messageParent.js +38 -0
- package/.next/standalone/node_modules/jest-worker/build/workers/processChild.js +148 -0
- package/.next/standalone/node_modules/jest-worker/package.json +38 -0
- package/.next/standalone/node_modules/json-parse-even-better-errors/index.js +121 -0
- package/.next/standalone/node_modules/json-parse-even-better-errors/package.json +33 -0
- package/.next/standalone/node_modules/loader-runner/lib/LoaderLoadingError.js +13 -0
- package/.next/standalone/node_modules/loader-runner/lib/LoaderRunner.js +515 -0
- package/.next/standalone/node_modules/loader-runner/lib/loadLoader.js +80 -0
- package/.next/standalone/node_modules/loader-runner/package.json +57 -0
- package/.next/standalone/node_modules/merge-stream/index.js +41 -0
- package/.next/standalone/node_modules/merge-stream/package.json +19 -0
- package/.next/standalone/node_modules/mime-db/db.json +8519 -0
- package/.next/standalone/node_modules/mime-db/index.js +12 -0
- package/.next/standalone/node_modules/mime-db/package.json +60 -0
- package/.next/standalone/node_modules/mime-types/index.js +188 -0
- package/.next/standalone/node_modules/mime-types/package.json +44 -0
- package/.next/standalone/node_modules/neo-async/async.js +9184 -0
- package/.next/standalone/node_modules/neo-async/package.json +57 -0
- package/.next/standalone/node_modules/node-releases/data/processed/envs.json +1 -0
- package/.next/standalone/node_modules/node-releases/data/release-schedule/release-schedule.json +1 -0
- package/.next/standalone/node_modules/randombytes/index.js +1 -0
- package/.next/standalone/node_modules/randombytes/package.json +36 -0
- package/.next/standalone/node_modules/serialize-javascript/index.js +268 -0
- package/.next/standalone/node_modules/serialize-javascript/package.json +36 -0
- package/.next/standalone/node_modules/supports-color/index.js +152 -0
- package/.next/standalone/node_modules/supports-color/package.json +58 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncParallelBailHook.js +87 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncParallelHook.js +37 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncSeriesBailHook.js +42 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncSeriesHook.js +37 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncSeriesLoopHook.js +37 -0
- package/.next/standalone/node_modules/tapable/lib/AsyncSeriesWaterfallHook.js +48 -0
- package/.next/standalone/node_modules/tapable/lib/Hook.js +183 -0
- package/.next/standalone/node_modules/tapable/lib/HookCodeFactory.js +454 -0
- package/.next/standalone/node_modules/tapable/lib/HookMap.js +69 -0
- package/.next/standalone/node_modules/tapable/lib/MultiHook.js +52 -0
- package/.next/standalone/node_modules/tapable/lib/SyncBailHook.js +51 -0
- package/.next/standalone/node_modules/tapable/lib/SyncHook.js +46 -0
- package/.next/standalone/node_modules/tapable/lib/SyncLoopHook.js +46 -0
- package/.next/standalone/node_modules/tapable/lib/SyncWaterfallHook.js +58 -0
- package/.next/standalone/node_modules/tapable/lib/index.js +19 -0
- package/.next/standalone/node_modules/tapable/package.json +60 -0
- package/.next/standalone/node_modules/terser/dist/bundle.min.js +33769 -0
- package/.next/standalone/node_modules/terser/dist/package.json +10 -0
- package/.next/standalone/node_modules/terser/package.json +158 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/dist/index.js +706 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/dist/minify.js +49 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/dist/options.json +164 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/dist/utils.js +678 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/ajv.js +50 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/errors.js +123 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/index.js +242 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/names.js +28 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/rules.js +26 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/util.js +178 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/core.js +618 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/refs/data.json +13 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv/package.json +127 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/_range.js +28 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/_required.js +23 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/_util.js +19 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/allRequired.js +21 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/anyRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/deepProperties.js +54 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/deepRequired.js +33 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/dynamicDefaults.js +84 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/exclusiveRange.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/instanceof.js +54 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/oneRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/patternRequired.js +42 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/prohibited.js +23 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/range.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/regexp.js +40 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/select.js +63 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/transform.js +78 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/typeof.js +25 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/definitions/uniqueItemProperties.js +65 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/index.js +32 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/allRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/anyRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/deepProperties.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/deepRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/dynamicDefaults.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/exclusiveRange.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/index.js +43 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/instanceof.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/oneRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/patternRequired.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/prohibited.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/range.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/regexp.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/select.js +13 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/transform.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/typeof.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/dist/keywords/uniqueItemProperties.js +10 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/ajv-keywords/package.json +74 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/json-schema-traverse/index.js +93 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/json-schema-traverse/package.json +43 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/ValidationError.js +1061 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/index.js +23 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/keywords/absolutePath.js +83 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/keywords/limit.js +167 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/keywords/undefinedAsNull.js +34 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/util/Range.js +143 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/util/hints.js +85 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/util/memorize.js +34 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/validate.js +215 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/node_modules/schema-utils/package.json +89 -0
- package/.next/standalone/node_modules/terser-webpack-plugin/package.json +129 -0
- package/.next/standalone/node_modules/watchpack/lib/DirectoryWatcher.js +965 -0
- package/.next/standalone/node_modules/watchpack/lib/LinkResolver.js +114 -0
- package/.next/standalone/node_modules/watchpack/lib/getWatcherManager.js +80 -0
- package/.next/standalone/node_modules/watchpack/lib/index.js +554 -0
- package/.next/standalone/node_modules/watchpack/lib/reducePlan.js +138 -0
- package/.next/standalone/node_modules/watchpack/lib/watchEventSource.js +449 -0
- package/.next/standalone/node_modules/watchpack/package.json +74 -0
- package/.next/standalone/node_modules/webpack/hot/emitter-event-target.js +7 -0
- package/.next/standalone/node_modules/webpack/hot/lazy-compilation-node.js +66 -0
- package/.next/standalone/node_modules/webpack/hot/lazy-compilation-universal.js +18 -0
- package/.next/standalone/node_modules/webpack/hot/lazy-compilation-web.js +93 -0
- package/.next/standalone/node_modules/webpack/hot/load-http.js +7 -0
- package/.next/standalone/node_modules/webpack/lib/APIPlugin.js +392 -0
- package/.next/standalone/node_modules/webpack/lib/AbstractMethodError.js +56 -0
- package/.next/standalone/node_modules/webpack/lib/AsyncDependenciesBlock.js +125 -0
- package/.next/standalone/node_modules/webpack/lib/AsyncDependencyToInitialChunkError.js +32 -0
- package/.next/standalone/node_modules/webpack/lib/AutomaticPrefetchPlugin.js +66 -0
- package/.next/standalone/node_modules/webpack/lib/BannerPlugin.js +136 -0
- package/.next/standalone/node_modules/webpack/lib/Cache.js +168 -0
- package/.next/standalone/node_modules/webpack/lib/CacheFacade.js +349 -0
- package/.next/standalone/node_modules/webpack/lib/CaseSensitiveModulesWarning.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/Chunk.js +899 -0
- package/.next/standalone/node_modules/webpack/lib/ChunkGraph.js +1968 -0
- package/.next/standalone/node_modules/webpack/lib/ChunkGroup.js +615 -0
- package/.next/standalone/node_modules/webpack/lib/ChunkRenderError.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/ChunkTemplate.js +181 -0
- package/.next/standalone/node_modules/webpack/lib/CleanPlugin.js +494 -0
- package/.next/standalone/node_modules/webpack/lib/CodeGenerationError.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/CodeGenerationResults.js +167 -0
- package/.next/standalone/node_modules/webpack/lib/CommentCompilationWarning.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/CompatibilityPlugin.js +240 -0
- package/.next/standalone/node_modules/webpack/lib/Compilation.js +5870 -0
- package/.next/standalone/node_modules/webpack/lib/Compiler.js +1413 -0
- package/.next/standalone/node_modules/webpack/lib/ConcatenationScope.js +181 -0
- package/.next/standalone/node_modules/webpack/lib/ConcurrentCompilationError.js +18 -0
- package/.next/standalone/node_modules/webpack/lib/ConditionalInitFragment.js +120 -0
- package/.next/standalone/node_modules/webpack/lib/ConstPlugin.js +567 -0
- package/.next/standalone/node_modules/webpack/lib/ContextExclusionPlugin.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/ContextModule.js +1405 -0
- package/.next/standalone/node_modules/webpack/lib/ContextModuleFactory.js +514 -0
- package/.next/standalone/node_modules/webpack/lib/ContextReplacementPlugin.js +227 -0
- package/.next/standalone/node_modules/webpack/lib/CssModule.js +179 -0
- package/.next/standalone/node_modules/webpack/lib/DefinePlugin.js +873 -0
- package/.next/standalone/node_modules/webpack/lib/DelegatedModule.js +279 -0
- package/.next/standalone/node_modules/webpack/lib/DelegatedModuleFactoryPlugin.js +116 -0
- package/.next/standalone/node_modules/webpack/lib/DelegatedPlugin.js +49 -0
- package/.next/standalone/node_modules/webpack/lib/DependenciesBlock.js +120 -0
- package/.next/standalone/node_modules/webpack/lib/Dependency.js +390 -0
- package/.next/standalone/node_modules/webpack/lib/DependencyTemplate.js +71 -0
- package/.next/standalone/node_modules/webpack/lib/DependencyTemplates.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/DllEntryPlugin.js +76 -0
- package/.next/standalone/node_modules/webpack/lib/DllModule.js +175 -0
- package/.next/standalone/node_modules/webpack/lib/DllModuleFactory.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/DllPlugin.js +73 -0
- package/.next/standalone/node_modules/webpack/lib/DllReferencePlugin.js +189 -0
- package/.next/standalone/node_modules/webpack/lib/DotenvPlugin.js +468 -0
- package/.next/standalone/node_modules/webpack/lib/DynamicEntryPlugin.js +87 -0
- package/.next/standalone/node_modules/webpack/lib/EntryOptionPlugin.js +98 -0
- package/.next/standalone/node_modules/webpack/lib/EntryPlugin.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/Entrypoint.js +120 -0
- package/.next/standalone/node_modules/webpack/lib/EnvironmentNotSupportAsyncWarning.js +50 -0
- package/.next/standalone/node_modules/webpack/lib/EnvironmentPlugin.js +74 -0
- package/.next/standalone/node_modules/webpack/lib/ErrorHelpers.js +100 -0
- package/.next/standalone/node_modules/webpack/lib/EvalDevToolModulePlugin.js +132 -0
- package/.next/standalone/node_modules/webpack/lib/EvalSourceMapDevToolPlugin.js +245 -0
- package/.next/standalone/node_modules/webpack/lib/ExportsInfo.js +1693 -0
- package/.next/standalone/node_modules/webpack/lib/ExportsInfoApiPlugin.js +87 -0
- package/.next/standalone/node_modules/webpack/lib/ExternalModule.js +1169 -0
- package/.next/standalone/node_modules/webpack/lib/ExternalModuleFactoryPlugin.js +363 -0
- package/.next/standalone/node_modules/webpack/lib/ExternalsPlugin.js +92 -0
- package/.next/standalone/node_modules/webpack/lib/FalseIIFEUmdWarning.js +20 -0
- package/.next/standalone/node_modules/webpack/lib/FileSystemInfo.js +4131 -0
- package/.next/standalone/node_modules/webpack/lib/FlagAllModulesAsUsedPlugin.js +55 -0
- package/.next/standalone/node_modules/webpack/lib/FlagDependencyExportsPlugin.js +437 -0
- package/.next/standalone/node_modules/webpack/lib/FlagDependencyUsagePlugin.js +348 -0
- package/.next/standalone/node_modules/webpack/lib/Generator.js +188 -0
- package/.next/standalone/node_modules/webpack/lib/GraphHelpers.js +46 -0
- package/.next/standalone/node_modules/webpack/lib/HarmonyLinkingError.js +17 -0
- package/.next/standalone/node_modules/webpack/lib/HookWebpackError.js +121 -0
- package/.next/standalone/node_modules/webpack/lib/HotModuleReplacementPlugin.js +930 -0
- package/.next/standalone/node_modules/webpack/lib/HotUpdateChunk.js +16 -0
- package/.next/standalone/node_modules/webpack/lib/IgnoreErrorModuleFactory.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/IgnorePlugin.js +105 -0
- package/.next/standalone/node_modules/webpack/lib/IgnoreWarningsPlugin.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/InitFragment.js +204 -0
- package/.next/standalone/node_modules/webpack/lib/InvalidDependenciesModuleWarning.js +44 -0
- package/.next/standalone/node_modules/webpack/lib/JavascriptMetaInfoPlugin.js +78 -0
- package/.next/standalone/node_modules/webpack/lib/LibManifestPlugin.js +144 -0
- package/.next/standalone/node_modules/webpack/lib/LibraryTemplatePlugin.js +48 -0
- package/.next/standalone/node_modules/webpack/lib/LoaderOptionsPlugin.js +81 -0
- package/.next/standalone/node_modules/webpack/lib/LoaderTargetPlugin.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/MainTemplate.js +371 -0
- package/.next/standalone/node_modules/webpack/lib/ManifestPlugin.js +238 -0
- package/.next/standalone/node_modules/webpack/lib/Module.js +1279 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleBuildError.js +83 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleDependencyError.js +44 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleDependencyWarning.js +49 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleError.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleFactory.js +57 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleFilenameHelpers.js +387 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleGraph.js +1024 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleGraphConnection.js +208 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleHashingError.js +31 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleInfoHeaderPlugin.js +318 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleNotFoundError.js +90 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleParseError.js +125 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleProfile.js +108 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleRestoreError.js +46 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleSourceTypeConstants.js +179 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleStoreError.js +45 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleTemplate.js +173 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleTypeConstants.js +190 -0
- package/.next/standalone/node_modules/webpack/lib/ModuleWarning.js +68 -0
- package/.next/standalone/node_modules/webpack/lib/MultiCompiler.js +678 -0
- package/.next/standalone/node_modules/webpack/lib/MultiStats.js +213 -0
- package/.next/standalone/node_modules/webpack/lib/MultiWatching.js +77 -0
- package/.next/standalone/node_modules/webpack/lib/NoEmitOnErrorsPlugin.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/NoModeWarning.js +23 -0
- package/.next/standalone/node_modules/webpack/lib/NodeStuffInWebError.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/NodeStuffPlugin.js +587 -0
- package/.next/standalone/node_modules/webpack/lib/NormalModule.js +1796 -0
- package/.next/standalone/node_modules/webpack/lib/NormalModuleFactory.js +1455 -0
- package/.next/standalone/node_modules/webpack/lib/NormalModuleReplacementPlugin.js +75 -0
- package/.next/standalone/node_modules/webpack/lib/OptimizationStages.js +10 -0
- package/.next/standalone/node_modules/webpack/lib/OptionsApply.js +24 -0
- package/.next/standalone/node_modules/webpack/lib/Parser.js +40 -0
- package/.next/standalone/node_modules/webpack/lib/PlatformPlugin.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/PrefetchPlugin.js +56 -0
- package/.next/standalone/node_modules/webpack/lib/ProgressPlugin.js +712 -0
- package/.next/standalone/node_modules/webpack/lib/ProvidePlugin.js +121 -0
- package/.next/standalone/node_modules/webpack/lib/RawModule.js +180 -0
- package/.next/standalone/node_modules/webpack/lib/RecordIdsPlugin.js +216 -0
- package/.next/standalone/node_modules/webpack/lib/RequestShortener.js +36 -0
- package/.next/standalone/node_modules/webpack/lib/RequireJsStuffPlugin.js +84 -0
- package/.next/standalone/node_modules/webpack/lib/ResolverFactory.js +156 -0
- package/.next/standalone/node_modules/webpack/lib/RuntimeGlobals.js +450 -0
- package/.next/standalone/node_modules/webpack/lib/RuntimeModule.js +225 -0
- package/.next/standalone/node_modules/webpack/lib/RuntimePlugin.js +547 -0
- package/.next/standalone/node_modules/webpack/lib/RuntimeTemplate.js +1288 -0
- package/.next/standalone/node_modules/webpack/lib/SelfModuleFactory.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/SizeFormatHelpers.js +25 -0
- package/.next/standalone/node_modules/webpack/lib/SourceMapDevToolModuleOptionsPlugin.js +51 -0
- package/.next/standalone/node_modules/webpack/lib/SourceMapDevToolPlugin.js +638 -0
- package/.next/standalone/node_modules/webpack/lib/Stats.js +88 -0
- package/.next/standalone/node_modules/webpack/lib/Template.js +427 -0
- package/.next/standalone/node_modules/webpack/lib/TemplatedPathPlugin.js +400 -0
- package/.next/standalone/node_modules/webpack/lib/UnhandledSchemeError.js +34 -0
- package/.next/standalone/node_modules/webpack/lib/UnsupportedFeatureWarning.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/UseStrictPlugin.js +81 -0
- package/.next/standalone/node_modules/webpack/lib/WarnCaseSensitiveModulesPlugin.js +64 -0
- package/.next/standalone/node_modules/webpack/lib/WarnDeprecatedOptionPlugin.js +60 -0
- package/.next/standalone/node_modules/webpack/lib/WarnNoModeSetPlugin.js +27 -0
- package/.next/standalone/node_modules/webpack/lib/WatchIgnorePlugin.js +155 -0
- package/.next/standalone/node_modules/webpack/lib/Watching.js +531 -0
- package/.next/standalone/node_modules/webpack/lib/WebpackError.js +81 -0
- package/.next/standalone/node_modules/webpack/lib/WebpackIsIncludedPlugin.js +93 -0
- package/.next/standalone/node_modules/webpack/lib/WebpackOptionsApply.js +931 -0
- package/.next/standalone/node_modules/webpack/lib/WebpackOptionsDefaulter.js +26 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetBytesGenerator.js +172 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetBytesParser.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetGenerator.js +807 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetModulesPlugin.js +343 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetParser.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetSourceGenerator.js +171 -0
- package/.next/standalone/node_modules/webpack/lib/asset/AssetSourceParser.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/asset/RawDataUrlModule.js +175 -0
- package/.next/standalone/node_modules/webpack/lib/async-modules/AsyncModuleHelpers.js +52 -0
- package/.next/standalone/node_modules/webpack/lib/async-modules/AwaitDependenciesInitFragment.js +90 -0
- package/.next/standalone/node_modules/webpack/lib/async-modules/InferAsyncModulesPlugin.js +54 -0
- package/.next/standalone/node_modules/webpack/lib/buildChunkGraph.js +1392 -0
- package/.next/standalone/node_modules/webpack/lib/cache/AddBuildDependenciesPlugin.js +32 -0
- package/.next/standalone/node_modules/webpack/lib/cache/AddManagedPathsPlugin.js +40 -0
- package/.next/standalone/node_modules/webpack/lib/cache/IdleFileCachePlugin.js +242 -0
- package/.next/standalone/node_modules/webpack/lib/cache/MemoryCachePlugin.js +57 -0
- package/.next/standalone/node_modules/webpack/lib/cache/MemoryWithGcCachePlugin.js +142 -0
- package/.next/standalone/node_modules/webpack/lib/cache/PackFileCacheStrategy.js +1600 -0
- package/.next/standalone/node_modules/webpack/lib/cache/ResolverCachePlugin.js +450 -0
- package/.next/standalone/node_modules/webpack/lib/cache/getLazyHashedEtag.js +91 -0
- package/.next/standalone/node_modules/webpack/lib/cache/mergeEtags.js +71 -0
- package/.next/standalone/node_modules/webpack/lib/cli.js +859 -0
- package/.next/standalone/node_modules/webpack/lib/config/browserslistTargetHandler.js +388 -0
- package/.next/standalone/node_modules/webpack/lib/config/defaults.js +2086 -0
- package/.next/standalone/node_modules/webpack/lib/config/normalization.js +681 -0
- package/.next/standalone/node_modules/webpack/lib/config/target.js +389 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerEntryDependency.js +47 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerEntryModule.js +300 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerEntryModuleFactory.js +27 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerExposedDependency.js +61 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerPlugin.js +118 -0
- package/.next/standalone/node_modules/webpack/lib/container/ContainerReferencePlugin.js +139 -0
- package/.next/standalone/node_modules/webpack/lib/container/FallbackDependency.js +65 -0
- package/.next/standalone/node_modules/webpack/lib/container/FallbackItemDependency.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/container/FallbackModule.js +191 -0
- package/.next/standalone/node_modules/webpack/lib/container/FallbackModuleFactory.js +27 -0
- package/.next/standalone/node_modules/webpack/lib/container/HoistContainerReferencesPlugin.js +256 -0
- package/.next/standalone/node_modules/webpack/lib/container/ModuleFederationPlugin.js +131 -0
- package/.next/standalone/node_modules/webpack/lib/container/RemoteModule.js +203 -0
- package/.next/standalone/node_modules/webpack/lib/container/RemoteRuntimeModule.js +144 -0
- package/.next/standalone/node_modules/webpack/lib/container/RemoteToExternalDependency.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/container/options.js +105 -0
- package/.next/standalone/node_modules/webpack/lib/css/CssGenerator.js +580 -0
- package/.next/standalone/node_modules/webpack/lib/css/CssLoadingRuntimeModule.js +513 -0
- package/.next/standalone/node_modules/webpack/lib/css/CssMergeStyleSheetsRuntimeModule.js +56 -0
- package/.next/standalone/node_modules/webpack/lib/css/CssModulesPlugin.js +932 -0
- package/.next/standalone/node_modules/webpack/lib/css/CssParser.js +2621 -0
- package/.next/standalone/node_modules/webpack/lib/css/walkCssTokens.js +1740 -0
- package/.next/standalone/node_modules/webpack/lib/debug/ProfilingPlugin.js +589 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDDefineDependency.js +267 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDDefineDependencyParserPlugin.js +504 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDPlugin.js +243 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireArrayDependency.js +124 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireContextDependency.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlock.js +28 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlockParserPlugin.js +425 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireDependency.js +189 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRequireItemDependency.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/AMDRuntimeModules.js +50 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CachedConstDependency.js +135 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsDependencyHelpers.js +65 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsExportRequireDependency.js +412 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsExportsDependency.js +184 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsExportsParserPlugin.js +425 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsFullRequireDependency.js +162 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsImportsParserPlugin.js +805 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsPlugin.js +316 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsRequireContextDependency.js +73 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CommonJsSelfReferenceDependency.js +156 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ConstDependency.js +118 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ContextDependency.js +183 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ContextDependencyHelpers.js +277 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsId.js +63 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall.js +62 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ContextElementDependency.js +147 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CreateScriptUrlDependency.js +75 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CriticalDependencyWarning.js +29 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CssIcssExportDependency.js +537 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CssIcssImportDependency.js +183 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CssIcssSymbolDependency.js +131 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CssImportDependency.js +120 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/CssUrlDependency.js +189 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/DelegatedSourceDependency.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/DllEntryDependency.js +61 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/DynamicExports.js +73 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/EntryDependency.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ExportsInfoDependency.js +161 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ExternalModuleDependency.js +109 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ExternalModuleInitFragment.js +137 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ExternalModuleInitFragmentDependency.js +87 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyAcceptDependency.js +237 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyAcceptImportDependency.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyCompatibilityDependency.js +91 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyDetectionParserPlugin.js +103 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency.js +164 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportDependencyParserPlugin.js +258 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportExpressionDependency.js +211 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportHeaderDependency.js +78 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency.js +1494 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportInitFragment.js +191 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExportSpecifierDependency.js +127 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyExports.js +46 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyImportDependency.js +429 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyImportDependencyParserPlugin.js +669 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyImportSideEffectDependency.js +85 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js +514 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyModulesPlugin.js +154 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/HarmonyTopLevelThisParserPlugin.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportContextDependency.js +81 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportDependency.js +158 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportEagerDependency.js +76 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaContextDependency.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaContextDependencyParserPlugin.js +312 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaContextPlugin.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaHotAcceptDependency.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaHotDeclineDependency.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportMetaPlugin.js +447 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportParserPlugin.js +612 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportPhase.js +121 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportPlugin.js +98 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ImportWeakDependency.js +74 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/JsonExportsDependency.js +137 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LoaderDependency.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LoaderImportDependency.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LoaderPlugin.js +294 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LocalModule.js +60 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LocalModuleDependency.js +84 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/LocalModulesHelpers.js +68 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleDecoratorDependency.js +136 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleDependency.js +100 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsId.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleHotAcceptDependency.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleHotDeclineDependency.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ModuleInitFragmentDependency.js +87 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/NullDependency.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/PrefetchDependency.js +27 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/ProvidedDependency.js +156 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/PureExpressionDependency.js +161 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireContextDependency.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireContextDependencyParserPlugin.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireContextPlugin.js +167 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlock.js +29 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin.js +145 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireEnsureDependency.js +115 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireEnsureItemDependency.js +36 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireEnsurePlugin.js +86 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireHeaderDependency.js +70 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireIncludeDependency.js +79 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireIncludeDependencyParserPlugin.js +100 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireIncludePlugin.js +63 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireResolveContextDependency.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireResolveDependency.js +58 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RequireResolveHeaderDependency.js +81 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/RuntimeRequirementsDependency.js +85 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/StaticExportsDependency.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/SystemPlugin.js +168 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/SystemRuntimeModule.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/URLContextDependency.js +65 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/URLDependency.js +165 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/URLPlugin.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/UnsupportedDependency.js +82 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/WebAssemblyExportImportedDependency.js +93 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/WebAssemblyImportDependency.js +108 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/WebpackIsIncludedDependency.js +84 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/WorkerDependency.js +141 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/WorkerPlugin.js +565 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/getFunctionExpression.js +66 -0
- package/.next/standalone/node_modules/webpack/lib/dependencies/processExportInfo.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/electron/ElectronTargetPlugin.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/errors/BuildCycleError.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/esm/ExportWebpackRequireRuntimeModule.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/esm/ModuleChunkFormatPlugin.js +273 -0
- package/.next/standalone/node_modules/webpack/lib/esm/ModuleChunkLoadingPlugin.js +143 -0
- package/.next/standalone/node_modules/webpack/lib/esm/ModuleChunkLoadingRuntimeModule.js +426 -0
- package/.next/standalone/node_modules/webpack/lib/formatLocation.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/HotModuleReplacement.runtime.js +419 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/HotModuleReplacementRuntimeModule.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/JavascriptHotModuleReplacement.runtime.js +471 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/JavascriptHotModuleReplacementHelper.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/LazyCompilationPlugin.js +473 -0
- package/.next/standalone/node_modules/webpack/lib/hmr/lazyCompilationBackend.js +167 -0
- package/.next/standalone/node_modules/webpack/lib/ids/ChunkModuleIdRangePlugin.js +94 -0
- package/.next/standalone/node_modules/webpack/lib/ids/DeterministicChunkIdsPlugin.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/ids/DeterministicModuleIdsPlugin.js +97 -0
- package/.next/standalone/node_modules/webpack/lib/ids/HashedModuleIdsPlugin.js +90 -0
- package/.next/standalone/node_modules/webpack/lib/ids/IdHelpers.js +492 -0
- package/.next/standalone/node_modules/webpack/lib/ids/NamedChunkIdsPlugin.js +90 -0
- package/.next/standalone/node_modules/webpack/lib/ids/NamedModuleIdsPlugin.js +67 -0
- package/.next/standalone/node_modules/webpack/lib/ids/NaturalChunkIdsPlugin.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/ids/NaturalModuleIdsPlugin.js +40 -0
- package/.next/standalone/node_modules/webpack/lib/ids/OccurrenceChunkIdsPlugin.js +86 -0
- package/.next/standalone/node_modules/webpack/lib/ids/OccurrenceModuleIdsPlugin.js +168 -0
- package/.next/standalone/node_modules/webpack/lib/ids/SyncModuleIdsPlugin.js +155 -0
- package/.next/standalone/node_modules/webpack/lib/index.js +681 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/ArrayPushCallbackChunkFormatPlugin.js +153 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/BasicEvaluatedExpression.js +603 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/ChunkFormatHelpers.js +70 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/ChunkHelpers.js +45 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/CommonJsChunkFormatPlugin.js +148 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/EnableChunkLoadingPlugin.js +127 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/JavascriptGenerator.js +277 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js +1852 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/JavascriptParser.js +5476 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/JavascriptParserHelpers.js +129 -0
- package/.next/standalone/node_modules/webpack/lib/javascript/StartupHelpers.js +178 -0
- package/.next/standalone/node_modules/webpack/lib/json/JsonData.js +74 -0
- package/.next/standalone/node_modules/webpack/lib/json/JsonGenerator.js +233 -0
- package/.next/standalone/node_modules/webpack/lib/json/JsonModulesPlugin.js +66 -0
- package/.next/standalone/node_modules/webpack/lib/json/JsonParser.js +92 -0
- package/.next/standalone/node_modules/webpack/lib/library/AbstractLibraryPlugin.js +339 -0
- package/.next/standalone/node_modules/webpack/lib/library/AmdLibraryPlugin.js +181 -0
- package/.next/standalone/node_modules/webpack/lib/library/AssignLibraryPlugin.js +445 -0
- package/.next/standalone/node_modules/webpack/lib/library/EnableLibraryPlugin.js +306 -0
- package/.next/standalone/node_modules/webpack/lib/library/ExportPropertyLibraryPlugin.js +116 -0
- package/.next/standalone/node_modules/webpack/lib/library/JsonpLibraryPlugin.js +92 -0
- package/.next/standalone/node_modules/webpack/lib/library/ModuleLibraryPlugin.js +438 -0
- package/.next/standalone/node_modules/webpack/lib/library/SystemLibraryPlugin.js +256 -0
- package/.next/standalone/node_modules/webpack/lib/library/UmdLibraryPlugin.js +355 -0
- package/.next/standalone/node_modules/webpack/lib/logging/Logger.js +219 -0
- package/.next/standalone/node_modules/webpack/lib/logging/createConsoleLogger.js +216 -0
- package/.next/standalone/node_modules/webpack/lib/logging/truncateArgs.js +83 -0
- package/.next/standalone/node_modules/webpack/lib/node/CommonJsChunkLoadingPlugin.js +119 -0
- package/.next/standalone/node_modules/webpack/lib/node/NodeEnvironmentPlugin.js +72 -0
- package/.next/standalone/node_modules/webpack/lib/node/NodeSourcePlugin.js +19 -0
- package/.next/standalone/node_modules/webpack/lib/node/NodeTargetPlugin.js +94 -0
- package/.next/standalone/node_modules/webpack/lib/node/NodeTemplatePlugin.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/node/NodeWatchFileSystem.js +195 -0
- package/.next/standalone/node_modules/webpack/lib/node/ReadFileChunkLoadingRuntimeModule.js +285 -0
- package/.next/standalone/node_modules/webpack/lib/node/ReadFileCompileAsyncWasmPlugin.js +122 -0
- package/.next/standalone/node_modules/webpack/lib/node/ReadFileCompileWasmPlugin.js +126 -0
- package/.next/standalone/node_modules/webpack/lib/node/RequireChunkLoadingRuntimeModule.js +238 -0
- package/.next/standalone/node_modules/webpack/lib/node/nodeConsole.js +185 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/AggressiveMergingPlugin.js +98 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/AggressiveSplittingPlugin.js +347 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/ConcatenatedModule.js +2287 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/EnsureChunkConditionsPlugin.js +88 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/FlagIncludedChunksPlugin.js +137 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/InnerGraph.js +368 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/InnerGraphPlugin.js +455 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/LimitChunkCountPlugin.js +301 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/MangleExportsPlugin.js +194 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/MergeDuplicateChunksPlugin.js +137 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/MinChunkSizePlugin.js +121 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/MinMaxSizeWarning.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js +968 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/RealContentHashPlugin.js +486 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/RemoveEmptyChunksPlugin.js +60 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/RemoveParentModulesPlugin.js +216 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/RuntimeChunkPlugin.js +54 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/SideEffectsFlagPlugin.js +417 -0
- package/.next/standalone/node_modules/webpack/lib/optimize/SplitChunksPlugin.js +1829 -0
- package/.next/standalone/node_modules/webpack/lib/performance/AssetsOverSizeLimitWarning.js +36 -0
- package/.next/standalone/node_modules/webpack/lib/performance/EntrypointsOverSizeLimitWarning.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/performance/NoAsyncChunksWarning.js +21 -0
- package/.next/standalone/node_modules/webpack/lib/performance/SizeLimitsPlugin.js +182 -0
- package/.next/standalone/node_modules/webpack/lib/prefetch/ChunkPrefetchFunctionRuntimeModule.js +44 -0
- package/.next/standalone/node_modules/webpack/lib/prefetch/ChunkPrefetchPreloadPlugin.js +95 -0
- package/.next/standalone/node_modules/webpack/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js +54 -0
- package/.next/standalone/node_modules/webpack/lib/prefetch/ChunkPrefetchTriggerRuntimeModule.js +51 -0
- package/.next/standalone/node_modules/webpack/lib/prefetch/ChunkPreloadTriggerRuntimeModule.js +45 -0
- package/.next/standalone/node_modules/webpack/lib/rules/BasicEffectRulePlugin.js +56 -0
- package/.next/standalone/node_modules/webpack/lib/rules/BasicMatcherRulePlugin.js +68 -0
- package/.next/standalone/node_modules/webpack/lib/rules/ObjectMatcherRulePlugin.js +79 -0
- package/.next/standalone/node_modules/webpack/lib/rules/RuleSetCompiler.js +443 -0
- package/.next/standalone/node_modules/webpack/lib/rules/UseEffectRulePlugin.js +236 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/AsyncModuleRuntimeModule.js +199 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/AutoPublicPathRuntimeModule.js +90 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/BaseUriRuntimeModule.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/ChunkNameRuntimeModule.js +28 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/CompatGetDefaultExportRuntimeModule.js +40 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/CompatRuntimeModule.js +83 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/CreateFakeNamespaceObjectRuntimeModule.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/CreateScriptRuntimeModule.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/CreateScriptUrlRuntimeModule.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/DefinePropertyGettersRuntimeModule.js +42 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/EnsureChunkRuntimeModule.js +69 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/GetChunkFilenameRuntimeModule.js +298 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/GetFullHashRuntimeModule.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/GetMainFilenameRuntimeModule.js +49 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/GetTrustedTypesPolicyRuntimeModule.js +99 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/GlobalRuntimeModule.js +47 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/HasOwnPropertyRuntimeModule.js +35 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/HelperRuntimeModule.js +18 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/LoadScriptRuntimeModule.js +174 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/MakeDeferredNamespaceObjectRuntime.js +231 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/MakeNamespaceObjectRuntimeModule.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/NonceRuntimeModule.js +24 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/OnChunksLoadedRuntimeModule.js +78 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/PublicPathRuntimeModule.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/RelativeUrlRuntimeModule.js +44 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/RuntimeIdRuntimeModule.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/StartupChunkDependenciesPlugin.js +88 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/StartupChunkDependenciesRuntimeModule.js +77 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/StartupEntrypointRuntimeModule.js +54 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/SystemContextRuntimeModule.js +23 -0
- package/.next/standalone/node_modules/webpack/lib/runtime/ToBinaryRuntimeModule.js +64 -0
- package/.next/standalone/node_modules/webpack/lib/schemes/DataUriPlugin.js +47 -0
- package/.next/standalone/node_modules/webpack/lib/schemes/FileUriPlugin.js +54 -0
- package/.next/standalone/node_modules/webpack/lib/schemes/HttpUriPlugin.js +1411 -0
- package/.next/standalone/node_modules/webpack/lib/schemes/VirtualUrlPlugin.js +227 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/AggregateErrorSerializer.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/ArraySerializer.js +38 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/BinaryMiddleware.js +1164 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/DateObjectSerializer.js +28 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/ErrorObjectSerializer.js +49 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/FileMiddleware.js +766 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/MapObjectSerializer.js +48 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/NullPrototypeObjectSerializer.js +53 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/ObjectMiddleware.js +877 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/PlainObjectSerializer.js +119 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/RegExpObjectSerializer.js +29 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/Serializer.js +82 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/SerializerMiddleware.js +226 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/SetObjectSerializer.js +40 -0
- package/.next/standalone/node_modules/webpack/lib/serialization/SingleItemMiddleware.js +36 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ConsumeSharedFallbackDependency.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ConsumeSharedModule.js +327 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ConsumeSharedPlugin.js +380 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ConsumeSharedRuntimeModule.js +358 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ProvideForSharedDependency.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ProvideSharedDependency.js +80 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ProvideSharedModule.js +196 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ProvideSharedModuleFactory.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ProvideSharedPlugin.js +248 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/SharePlugin.js +91 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/ShareRuntimeModule.js +152 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/resolveMatchedConfigs.js +106 -0
- package/.next/standalone/node_modules/webpack/lib/sharing/utils.js +421 -0
- package/.next/standalone/node_modules/webpack/lib/stats/DefaultStatsFactoryPlugin.js +2785 -0
- package/.next/standalone/node_modules/webpack/lib/stats/DefaultStatsPresetPlugin.js +417 -0
- package/.next/standalone/node_modules/webpack/lib/stats/DefaultStatsPrinterPlugin.js +1860 -0
- package/.next/standalone/node_modules/webpack/lib/stats/StatsFactory.js +406 -0
- package/.next/standalone/node_modules/webpack/lib/stats/StatsPrinter.js +300 -0
- package/.next/standalone/node_modules/webpack/lib/url/URLParserPlugin.js +265 -0
- package/.next/standalone/node_modules/webpack/lib/util/AppendOnlyStackedSet.js +57 -0
- package/.next/standalone/node_modules/webpack/lib/util/ArrayHelpers.js +46 -0
- package/.next/standalone/node_modules/webpack/lib/util/ArrayQueue.js +104 -0
- package/.next/standalone/node_modules/webpack/lib/util/AsyncQueue.js +411 -0
- package/.next/standalone/node_modules/webpack/lib/util/Hash.js +68 -0
- package/.next/standalone/node_modules/webpack/lib/util/IterableHelpers.js +46 -0
- package/.next/standalone/node_modules/webpack/lib/util/LazyBucketSortedSet.js +272 -0
- package/.next/standalone/node_modules/webpack/lib/util/LazySet.js +236 -0
- package/.next/standalone/node_modules/webpack/lib/util/MapHelpers.js +34 -0
- package/.next/standalone/node_modules/webpack/lib/util/ParallelismFactorCalculator.js +70 -0
- package/.next/standalone/node_modules/webpack/lib/util/Queue.js +52 -0
- package/.next/standalone/node_modules/webpack/lib/util/SetHelpers.js +94 -0
- package/.next/standalone/node_modules/webpack/lib/util/SortableSet.js +176 -0
- package/.next/standalone/node_modules/webpack/lib/util/StackedCacheMap.js +140 -0
- package/.next/standalone/node_modules/webpack/lib/util/StackedMap.js +164 -0
- package/.next/standalone/node_modules/webpack/lib/util/StringXor.js +103 -0
- package/.next/standalone/node_modules/webpack/lib/util/TupleQueue.js +70 -0
- package/.next/standalone/node_modules/webpack/lib/util/TupleSet.js +185 -0
- package/.next/standalone/node_modules/webpack/lib/util/URLAbsoluteSpecifier.js +86 -0
- package/.next/standalone/node_modules/webpack/lib/util/WeakTupleMap.js +227 -0
- package/.next/standalone/node_modules/webpack/lib/util/binarySearchBounds.js +136 -0
- package/.next/standalone/node_modules/webpack/lib/util/chainedImports.js +99 -0
- package/.next/standalone/node_modules/webpack/lib/util/cleverMerge.js +676 -0
- package/.next/standalone/node_modules/webpack/lib/util/comparators.js +645 -0
- package/.next/standalone/node_modules/webpack/lib/util/compileBooleanMatcher.js +313 -0
- package/.next/standalone/node_modules/webpack/lib/util/concatenate.js +232 -0
- package/.next/standalone/node_modules/webpack/lib/util/conventions.js +126 -0
- package/.next/standalone/node_modules/webpack/lib/util/create-schema-validation.js +41 -0
- package/.next/standalone/node_modules/webpack/lib/util/createHash.js +91 -0
- package/.next/standalone/node_modules/webpack/lib/util/dataURL.js +39 -0
- package/.next/standalone/node_modules/webpack/lib/util/deprecation.js +350 -0
- package/.next/standalone/node_modules/webpack/lib/util/deterministicGrouping.js +561 -0
- package/.next/standalone/node_modules/webpack/lib/util/extractSourceMap.js +318 -0
- package/.next/standalone/node_modules/webpack/lib/util/extractUrlAndGlobal.js +18 -0
- package/.next/standalone/node_modules/webpack/lib/util/findGraphRoots.js +241 -0
- package/.next/standalone/node_modules/webpack/lib/util/fs.js +675 -0
- package/.next/standalone/node_modules/webpack/lib/util/generateDebugId.js +33 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/BatchedHash.js +114 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/BulkUpdateHash.js +144 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/DebugHash.js +75 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/hash-digest.js +217 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/md4.js +20 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/wasm-hash.js +231 -0
- package/.next/standalone/node_modules/webpack/lib/util/hash/xxhash64.js +20 -0
- package/.next/standalone/node_modules/webpack/lib/util/identifier.js +471 -0
- package/.next/standalone/node_modules/webpack/lib/util/internalSerializables.js +222 -0
- package/.next/standalone/node_modules/webpack/lib/util/magicComment.js +25 -0
- package/.next/standalone/node_modules/webpack/lib/util/makeSerializable.js +60 -0
- package/.next/standalone/node_modules/webpack/lib/util/memoize.js +36 -0
- package/.next/standalone/node_modules/webpack/lib/util/nonNumericOnlyHash.js +22 -0
- package/.next/standalone/node_modules/webpack/lib/util/numberHash.js +95 -0
- package/.next/standalone/node_modules/webpack/lib/util/processAsyncTree.js +68 -0
- package/.next/standalone/node_modules/webpack/lib/util/propertyAccess.js +30 -0
- package/.next/standalone/node_modules/webpack/lib/util/propertyName.js +76 -0
- package/.next/standalone/node_modules/webpack/lib/util/registerExternalSerializer.js +334 -0
- package/.next/standalone/node_modules/webpack/lib/util/removeBOM.js +25 -0
- package/.next/standalone/node_modules/webpack/lib/util/runtime.js +717 -0
- package/.next/standalone/node_modules/webpack/lib/util/semver.js +604 -0
- package/.next/standalone/node_modules/webpack/lib/util/serialization.js +153 -0
- package/.next/standalone/node_modules/webpack/lib/util/smartGrouping.js +221 -0
- package/.next/standalone/node_modules/webpack/lib/util/source.js +62 -0
- package/.next/standalone/node_modules/webpack/lib/util/traverseDestructuringAssignmentProperties.js +45 -0
- package/.next/standalone/node_modules/webpack/lib/validateSchema.js +177 -0
- package/.next/standalone/node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js +145 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/AsyncWasmLoadingRuntimeModule.js +154 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyGenerator.js +74 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js +212 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js +209 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyParser.js +80 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-async/UniversalCompileAsyncWasmPlugin.js +107 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/UnsupportedWebAssemblyFeatureError.js +20 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js +422 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WasmFinalizeExportsPlugin.js +91 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js +535 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyInInitialChunkError.js +111 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyJavascriptGenerator.js +236 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyModulesPlugin.js +151 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyParser.js +201 -0
- package/.next/standalone/node_modules/webpack/lib/wasm-sync/WebAssemblyUtils.js +66 -0
- package/.next/standalone/node_modules/webpack/lib/web/FetchCompileAsyncWasmPlugin.js +70 -0
- package/.next/standalone/node_modules/webpack/lib/web/FetchCompileWasmPlugin.js +86 -0
- package/.next/standalone/node_modules/webpack/lib/web/JsonpChunkLoadingPlugin.js +101 -0
- package/.next/standalone/node_modules/webpack/lib/web/JsonpChunkLoadingRuntimeModule.js +455 -0
- package/.next/standalone/node_modules/webpack/lib/web/JsonpTemplatePlugin.js +37 -0
- package/.next/standalone/node_modules/webpack/lib/webpack.js +225 -0
- package/.next/standalone/node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingPlugin.js +110 -0
- package/.next/standalone/node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingRuntimeModule.js +229 -0
- package/.next/standalone/node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js +26 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/ajv.js +50 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/errors.js +123 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/index.js +242 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/names.js +28 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/rules.js +26 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/util.js +178 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/core.js +618 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/refs/data.json +13 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv/package.json +127 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/_range.js +28 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/_required.js +23 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/_util.js +19 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/allRequired.js +21 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/anyRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/deepProperties.js +54 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/deepRequired.js +33 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/dynamicDefaults.js +84 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/exclusiveRange.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/instanceof.js +54 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/oneRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/patternRequired.js +42 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/prohibited.js +23 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/range.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/regexp.js +40 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/select.js +63 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/transform.js +78 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/typeof.js +25 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/definitions/uniqueItemProperties.js +65 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/index.js +32 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/allRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/anyRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/deepProperties.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/deepRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/dynamicDefaults.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/exclusiveRange.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/index.js +43 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/instanceof.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/oneRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/patternRequired.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/prohibited.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/range.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/regexp.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/select.js +13 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/transform.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/typeof.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/dist/keywords/uniqueItemProperties.js +10 -0
- package/.next/standalone/node_modules/webpack/node_modules/ajv-keywords/package.json +74 -0
- package/.next/standalone/node_modules/webpack/node_modules/es-module-lexer/dist/lexer.cjs +1 -0
- package/.next/standalone/node_modules/webpack/node_modules/es-module-lexer/package.json +57 -0
- package/.next/standalone/node_modules/webpack/node_modules/json-schema-traverse/index.js +93 -0
- package/.next/standalone/node_modules/webpack/node_modules/json-schema-traverse/package.json +43 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/ValidationError.js +1061 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/index.js +23 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/keywords/absolutePath.js +83 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/keywords/limit.js +167 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/keywords/undefinedAsNull.js +34 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/util/Range.js +143 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/util/hints.js +85 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/util/memorize.js +34 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/dist/validate.js +215 -0
- package/.next/standalone/node_modules/webpack/node_modules/schema-utils/package.json +89 -0
- package/.next/standalone/node_modules/webpack/package.json +204 -0
- package/.next/standalone/node_modules/webpack/schemas/WebpackOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/WebpackOptions.json +6179 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/BannerPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/BannerPlugin.json +115 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/DllPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/DllPlugin.json +36 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/DllReferencePlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/DllReferencePlugin.json +206 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/IgnorePlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/IgnorePlugin.json +34 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.json +27 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ManifestPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ManifestPlugin.json +98 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ProgressPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ProgressPlugin.json +65 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.json +168 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/WatchIgnorePlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/WatchIgnorePlugin.json +25 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/asset/AssetGeneratorOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/asset/AssetInlineGeneratorOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/asset/AssetParserOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/asset/AssetResourceGeneratorOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ContainerPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ContainerPlugin.json +294 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.json +132 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ExternalsType.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.json +525 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/css/CssGeneratorOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/css/CssModuleGeneratorOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/css/CssModuleParserOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/css/CssParserOptions.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.json +12 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/HashedModuleIdsPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/HashedModuleIdsPlugin.json +57 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.json +11 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.json +11 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/json/JsonModulesPluginGenerator.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/json/JsonModulesPluginGenerator.json +3 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/json/JsonModulesPluginParser.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/json/JsonModulesPluginParser.json +3 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.json +23 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.json +21 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/MergeDuplicateChunksPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/MergeDuplicateChunksPlugin.json +11 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.json +20 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.json +74 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.json +120 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.check.js +6 -0
- package/.next/standalone/node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.json +94 -0
- package/.next/standalone/node_modules/webpack-sources/lib/CachedSource.js +419 -0
- package/.next/standalone/node_modules/webpack-sources/lib/CompatSource.js +109 -0
- package/.next/standalone/node_modules/webpack-sources/lib/ConcatSource.js +398 -0
- package/.next/standalone/node_modules/webpack-sources/lib/OriginalSource.js +202 -0
- package/.next/standalone/node_modules/webpack-sources/lib/PrefixSource.js +162 -0
- package/.next/standalone/node_modules/webpack-sources/lib/RawSource.js +140 -0
- package/.next/standalone/node_modules/webpack-sources/lib/ReplaceSource.js +557 -0
- package/.next/standalone/node_modules/webpack-sources/lib/SizeOnlySource.js +71 -0
- package/.next/standalone/node_modules/webpack-sources/lib/Source.js +89 -0
- package/.next/standalone/node_modules/webpack-sources/lib/SourceMapSource.js +367 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/createMappingsSerializer.js +225 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js +159 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js +44 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/getSource.js +24 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/readMappings.js +120 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/splitIntoLines.js +33 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/splitIntoPotentialTokens.js +53 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/streamAndGetSourceAndMap.js +123 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/streamChunks.js +62 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/streamChunksOfCombinedSourceMap.js +366 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js +54 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js +499 -0
- package/.next/standalone/node_modules/webpack-sources/lib/helpers/stringBufferUtils.js +117 -0
- package/.next/standalone/node_modules/webpack-sources/lib/index.js +120 -0
- package/.next/standalone/node_modules/webpack-sources/package.json +51 -0
- package/.next/standalone/package.json +5 -1
- package/dist/scripts/heartbeat.js +404 -327
- package/package.json +5 -1
- package/scripts/lib/video/compositions/AdVideo.tsx +37 -0
- package/scripts/lib/video/compositions/Root.tsx +90 -0
- package/scripts/lib/video/compositions/ShipVideo.tsx +37 -0
- package/scripts/lib/video/compositions/Slide.tsx +260 -0
- /package/.next/static/{qWTqRsgVgvrJaCLjUfRzd → DcXwb-73WeaaqPvwbu_dd}/_buildManifest.js +0 -0
- /package/.next/static/{qWTqRsgVgvrJaCLjUfRzd → DcXwb-73WeaaqPvwbu_dd}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,2287 @@
|
|
|
1
|
+
/*
|
|
2
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
3
|
+
Author Tobias Koppers @sokra
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
|
|
8
|
+
const eslintScope = require("eslint-scope");
|
|
9
|
+
const Referencer = require("eslint-scope/lib/referencer");
|
|
10
|
+
const { SyncBailHook } = require("tapable");
|
|
11
|
+
const {
|
|
12
|
+
CachedSource,
|
|
13
|
+
ConcatSource,
|
|
14
|
+
ReplaceSource
|
|
15
|
+
} = require("webpack-sources");
|
|
16
|
+
const ConcatenationScope = require("../ConcatenationScope");
|
|
17
|
+
const { UsageState } = require("../ExportsInfo");
|
|
18
|
+
const Module = require("../Module");
|
|
19
|
+
const {
|
|
20
|
+
JAVASCRIPT_TYPE,
|
|
21
|
+
JAVASCRIPT_TYPES
|
|
22
|
+
} = require("../ModuleSourceTypeConstants");
|
|
23
|
+
const { JAVASCRIPT_MODULE_TYPE_ESM } = require("../ModuleTypeConstants");
|
|
24
|
+
const RuntimeGlobals = require("../RuntimeGlobals");
|
|
25
|
+
const Template = require("../Template");
|
|
26
|
+
const { DEFAULTS } = require("../config/defaults");
|
|
27
|
+
const HarmonyImportDependency = require("../dependencies/HarmonyImportDependency");
|
|
28
|
+
const { ImportPhaseUtils } = require("../dependencies/ImportPhase");
|
|
29
|
+
const JavascriptParser = require("../javascript/JavascriptParser");
|
|
30
|
+
const {
|
|
31
|
+
getMakeDeferredNamespaceModeFromExportsType,
|
|
32
|
+
getOptimizedDeferredModule
|
|
33
|
+
} = require("../runtime/MakeDeferredNamespaceObjectRuntime");
|
|
34
|
+
const { equals } = require("../util/ArrayHelpers");
|
|
35
|
+
const LazySet = require("../util/LazySet");
|
|
36
|
+
const { concatComparators } = require("../util/comparators");
|
|
37
|
+
const {
|
|
38
|
+
RESERVED_NAMES,
|
|
39
|
+
addScopeSymbols,
|
|
40
|
+
findNewName,
|
|
41
|
+
getAllReferences,
|
|
42
|
+
getPathInAst,
|
|
43
|
+
getUsedNamesInScopeInfo
|
|
44
|
+
} = require("../util/concatenate");
|
|
45
|
+
const createHash = require("../util/createHash");
|
|
46
|
+
const { makePathsRelative } = require("../util/identifier");
|
|
47
|
+
const makeSerializable = require("../util/makeSerializable");
|
|
48
|
+
const propertyAccess = require("../util/propertyAccess");
|
|
49
|
+
const { propertyName } = require("../util/propertyName");
|
|
50
|
+
const {
|
|
51
|
+
filterRuntime,
|
|
52
|
+
intersectRuntime,
|
|
53
|
+
mergeRuntimeCondition,
|
|
54
|
+
mergeRuntimeConditionNonFalse,
|
|
55
|
+
runtimeConditionToString,
|
|
56
|
+
subtractRuntimeCondition
|
|
57
|
+
} = require("../util/runtime");
|
|
58
|
+
|
|
59
|
+
/** @typedef {import("eslint-scope").Reference} Reference */
|
|
60
|
+
/** @typedef {import("eslint-scope").Scope} Scope */
|
|
61
|
+
/** @typedef {import("eslint-scope").Variable} Variable */
|
|
62
|
+
/** @typedef {import("webpack-sources").Source} Source */
|
|
63
|
+
/** @typedef {import("../config/defaults").WebpackOptionsNormalizedWithDefaults} WebpackOptions */
|
|
64
|
+
/** @typedef {import("../ChunkGraph")} ChunkGraph */
|
|
65
|
+
/** @typedef {import("../CodeGenerationResults")} CodeGenerationResults */
|
|
66
|
+
/** @typedef {import("../Compilation")} Compilation */
|
|
67
|
+
/** @typedef {import("../Dependency").UpdateHashContext} UpdateHashContext */
|
|
68
|
+
/** @typedef {import("../DependencyTemplates")} DependencyTemplates */
|
|
69
|
+
/** @typedef {import("../ExportsInfo").ExportInfo} ExportInfo */
|
|
70
|
+
/** @typedef {import("../Module").BuildCallback} BuildCallback */
|
|
71
|
+
/** @typedef {import("../Module").BuildInfo} BuildInfo */
|
|
72
|
+
/** @typedef {import("../Module").FileSystemDependencies} FileSystemDependencies */
|
|
73
|
+
/** @typedef {import("../Module").BuildMeta} BuildMeta */
|
|
74
|
+
/** @typedef {import("../Module").CodeGenerationContext} CodeGenerationContext */
|
|
75
|
+
/** @typedef {import("../Module").CodeGenerationResultData} CodeGenerationResultData */
|
|
76
|
+
/** @typedef {import("../Module").CodeGenerationResult} CodeGenerationResult */
|
|
77
|
+
/** @typedef {import("../Module").LibIdentOptions} LibIdentOptions */
|
|
78
|
+
/** @typedef {import("../Module").LibIdent} LibIdent */
|
|
79
|
+
/** @typedef {import("../Module").NameForCondition} NameForCondition */
|
|
80
|
+
/** @typedef {import("../Module").ReadOnlyRuntimeRequirements} ReadOnlyRuntimeRequirements */
|
|
81
|
+
/** @typedef {import("../Module").RuntimeRequirements} RuntimeRequirements */
|
|
82
|
+
/** @typedef {import("../Module").SourceTypes} SourceTypes */
|
|
83
|
+
/** @typedef {import("../ModuleGraph")} ModuleGraph */
|
|
84
|
+
/** @typedef {import("../ModuleGraphConnection")} ModuleGraphConnection */
|
|
85
|
+
/** @typedef {import("../ModuleGraphConnection").ConnectionState} ConnectionState */
|
|
86
|
+
/** @typedef {import("../RequestShortener")} RequestShortener */
|
|
87
|
+
/** @typedef {import("../ResolverFactory").ResolverWithOptions} ResolverWithOptions */
|
|
88
|
+
/** @typedef {import("../RuntimeTemplate")} RuntimeTemplate */
|
|
89
|
+
/** @typedef {import("../javascript/JavascriptModulesPlugin").ChunkRenderContext} ChunkRenderContext */
|
|
90
|
+
/** @typedef {import("../javascript/JavascriptParser").Program} Program */
|
|
91
|
+
/** @typedef {import("../javascript/JavascriptParser").Range} Range */
|
|
92
|
+
/** @typedef {import("../serialization/ObjectMiddleware").ObjectDeserializerContext} ObjectDeserializerContext */
|
|
93
|
+
/** @typedef {import("../util/Hash")} Hash */
|
|
94
|
+
/** @typedef {import("../util/Hash").HashFunction} HashFunction */
|
|
95
|
+
/** @typedef {import("../util/concatenate").UsedNames} UsedNames */
|
|
96
|
+
/** @typedef {import("../util/concatenate").ScopeInfo} ScopeInfo */
|
|
97
|
+
/** @typedef {import("../util/fs").InputFileSystem} InputFileSystem */
|
|
98
|
+
/** @typedef {import("../util/identifier").AssociatedObjectForCache} AssociatedObjectForCache */
|
|
99
|
+
/** @typedef {import("../util/runtime").RuntimeSpec} RuntimeSpec */
|
|
100
|
+
/**
|
|
101
|
+
* @template T
|
|
102
|
+
* @typedef {import("../InitFragment")<T>} InitFragment
|
|
103
|
+
*/
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @template T
|
|
107
|
+
* @typedef {import("../util/comparators").Comparator<T>} Comparator
|
|
108
|
+
*/
|
|
109
|
+
|
|
110
|
+
// fix eslint-scope to support class properties correctly
|
|
111
|
+
// cspell:word Referencer
|
|
112
|
+
const ReferencerClass = Referencer;
|
|
113
|
+
if (!ReferencerClass.prototype.PropertyDefinition) {
|
|
114
|
+
ReferencerClass.prototype.PropertyDefinition =
|
|
115
|
+
ReferencerClass.prototype.Property;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/** @typedef {RawBinding | SymbolBinding} Binding */
|
|
119
|
+
|
|
120
|
+
/** @typedef {string[]} ExportName */
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @typedef {object} RawBinding
|
|
124
|
+
* @property {ModuleInfo} info
|
|
125
|
+
* @property {string} rawName
|
|
126
|
+
* @property {string=} comment
|
|
127
|
+
* @property {ExportName} ids
|
|
128
|
+
* @property {ExportName} exportName
|
|
129
|
+
*/
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @typedef {object} SymbolBinding
|
|
133
|
+
* @property {ConcatenatedModuleInfo} info
|
|
134
|
+
* @property {string} name
|
|
135
|
+
* @property {string=} comment
|
|
136
|
+
* @property {ExportName} ids
|
|
137
|
+
* @property {ExportName} exportName
|
|
138
|
+
*/
|
|
139
|
+
|
|
140
|
+
/** @typedef {ConcatenatedModuleInfo | ExternalModuleInfo} ModuleInfo */
|
|
141
|
+
/** @typedef {ConcatenatedModuleInfo | ExternalModuleInfo | ReferenceToModuleInfo} ModuleInfoOrReference */
|
|
142
|
+
|
|
143
|
+
/** @typedef {Map<string, string>} ExportMap */
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @typedef {object} ConcatenatedModuleInfo
|
|
147
|
+
* @property {"concatenated"} type
|
|
148
|
+
* @property {Module} module
|
|
149
|
+
* @property {number} index
|
|
150
|
+
* @property {Program | undefined} ast
|
|
151
|
+
* @property {Source | undefined} internalSource
|
|
152
|
+
* @property {ReplaceSource | undefined} source
|
|
153
|
+
* @property {InitFragment<ChunkRenderContext>[]=} chunkInitFragments
|
|
154
|
+
* @property {ReadOnlyRuntimeRequirements | undefined} runtimeRequirements
|
|
155
|
+
* @property {Scope | undefined} globalScope
|
|
156
|
+
* @property {Scope | undefined} moduleScope
|
|
157
|
+
* @property {Map<string, string>} internalNames
|
|
158
|
+
* @property {ExportMap | undefined} exportMap
|
|
159
|
+
* @property {ExportMap | undefined} rawExportMap
|
|
160
|
+
* @property {string=} namespaceExportSymbol
|
|
161
|
+
* @property {string | undefined} namespaceObjectName
|
|
162
|
+
* @property {ConcatenationScope | undefined} concatenationScope
|
|
163
|
+
* @property {boolean} interopNamespaceObjectUsed "default-with-named" namespace
|
|
164
|
+
* @property {string | undefined} interopNamespaceObjectName "default-with-named" namespace
|
|
165
|
+
* @property {boolean} interopNamespaceObject2Used "default-only" namespace
|
|
166
|
+
* @property {string | undefined} interopNamespaceObject2Name "default-only" namespace
|
|
167
|
+
* @property {boolean} interopDefaultAccessUsed runtime namespace object that detects "__esModule"
|
|
168
|
+
* @property {string | undefined} interopDefaultAccessName runtime namespace object that detects "__esModule"
|
|
169
|
+
*/
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* @typedef {object} ExternalModuleInfo
|
|
173
|
+
* @property {"external"} type
|
|
174
|
+
* @property {Module} module
|
|
175
|
+
* @property {RuntimeSpec | boolean} runtimeCondition
|
|
176
|
+
* @property {NonDeferAccess} nonDeferAccess
|
|
177
|
+
* @property {number} index
|
|
178
|
+
* @property {string | undefined} name module.exports / harmony namespace object
|
|
179
|
+
* @property {string | undefined} deferredName deferred module.exports / harmony namespace object
|
|
180
|
+
* @property {boolean} deferred the module is deferred at least once
|
|
181
|
+
* @property {boolean} deferredNamespaceObjectUsed deferred namespace object that being used in a not-analyzable way so it must be materialized
|
|
182
|
+
* @property {string | undefined} deferredNamespaceObjectName deferred namespace object that being used in a not-analyzable way so it must be materialized
|
|
183
|
+
* @property {boolean} interopNamespaceObjectUsed "default-with-named" namespace
|
|
184
|
+
* @property {string | undefined} interopNamespaceObjectName "default-with-named" namespace
|
|
185
|
+
* @property {boolean} interopNamespaceObject2Used "default-only" namespace
|
|
186
|
+
* @property {string | undefined} interopNamespaceObject2Name "default-only" namespace
|
|
187
|
+
* @property {boolean} interopDefaultAccessUsed runtime namespace object that detects "__esModule"
|
|
188
|
+
* @property {string | undefined} interopDefaultAccessName runtime namespace object that detects "__esModule"
|
|
189
|
+
*/
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* @typedef {object} ReferenceToModuleInfo
|
|
193
|
+
* @property {"reference"} type
|
|
194
|
+
* @property {RuntimeSpec | boolean} runtimeCondition
|
|
195
|
+
* @property {NonDeferAccess} nonDeferAccess
|
|
196
|
+
* @property {ModuleInfo} target
|
|
197
|
+
*/
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @template T
|
|
201
|
+
* @param {string} property property
|
|
202
|
+
* @param {(a: T[keyof T], b: T[keyof T]) => 0 | 1 | -1} comparator comparator
|
|
203
|
+
* @returns {Comparator<T>} comparator
|
|
204
|
+
*/
|
|
205
|
+
|
|
206
|
+
const createComparator = (property, comparator) => (a, b) =>
|
|
207
|
+
comparator(
|
|
208
|
+
a[/** @type {keyof T} */ (property)],
|
|
209
|
+
b[/** @type {keyof T} */ (property)]
|
|
210
|
+
);
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @param {number} a a
|
|
214
|
+
* @param {number} b b
|
|
215
|
+
* @returns {0 | 1 | -1} result
|
|
216
|
+
*/
|
|
217
|
+
const compareNumbers = (a, b) => {
|
|
218
|
+
if (Number.isNaN(a)) {
|
|
219
|
+
if (!Number.isNaN(b)) {
|
|
220
|
+
return 1;
|
|
221
|
+
}
|
|
222
|
+
} else {
|
|
223
|
+
if (Number.isNaN(b)) {
|
|
224
|
+
return -1;
|
|
225
|
+
}
|
|
226
|
+
if (a !== b) {
|
|
227
|
+
return a < b ? -1 : 1;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
return 0;
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
const bySourceOrder = createComparator("sourceOrder", compareNumbers);
|
|
234
|
+
const byRangeStart = createComparator("rangeStart", compareNumbers);
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* @param {Iterable<string>} iterable iterable object
|
|
238
|
+
* @returns {string} joined iterable object
|
|
239
|
+
*/
|
|
240
|
+
const joinIterableWithComma = (iterable) => {
|
|
241
|
+
// This is more performant than Array.from().join(", ")
|
|
242
|
+
// as it doesn't create an array
|
|
243
|
+
let str = "";
|
|
244
|
+
let first = true;
|
|
245
|
+
for (const item of iterable) {
|
|
246
|
+
if (first) {
|
|
247
|
+
first = false;
|
|
248
|
+
} else {
|
|
249
|
+
str += ", ";
|
|
250
|
+
}
|
|
251
|
+
str += item;
|
|
252
|
+
}
|
|
253
|
+
return str;
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
/** @typedef {boolean} NonDeferAccess */
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* @param {NonDeferAccess} a a
|
|
260
|
+
* @param {NonDeferAccess} b b
|
|
261
|
+
* @returns {NonDeferAccess} merged
|
|
262
|
+
*/
|
|
263
|
+
const mergeNonDeferAccess = (a, b) => a || b;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* @param {NonDeferAccess} a first
|
|
267
|
+
* @param {NonDeferAccess} b second
|
|
268
|
+
* @returns {NonDeferAccess} first - second
|
|
269
|
+
*/
|
|
270
|
+
const subtractNonDeferAccess = (a, b) => a && !b;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @typedef {object} ConcatenationEntry
|
|
274
|
+
* @property {"concatenated" | "external"} type
|
|
275
|
+
* @property {Module} module
|
|
276
|
+
* @property {RuntimeSpec | boolean} runtimeCondition
|
|
277
|
+
* @property {NonDeferAccess} nonDeferAccess
|
|
278
|
+
*/
|
|
279
|
+
|
|
280
|
+
/** @typedef {Set<ConcatenatedModuleInfo>} NeededNamespaceObjects */
|
|
281
|
+
|
|
282
|
+
/** @typedef {Map<Module, ModuleInfo>} ModuleToInfoMap */
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* @param {ModuleGraph} moduleGraph the module graph
|
|
286
|
+
* @param {ModuleInfo} info module info
|
|
287
|
+
* @param {ExportName} exportName exportName
|
|
288
|
+
* @param {ModuleToInfoMap} moduleToInfoMap moduleToInfoMap
|
|
289
|
+
* @param {RuntimeSpec} runtime for which runtime
|
|
290
|
+
* @param {RequestShortener} requestShortener the request shortener
|
|
291
|
+
* @param {RuntimeTemplate} runtimeTemplate the runtime template
|
|
292
|
+
* @param {NeededNamespaceObjects} neededNamespaceObjects modules for which a namespace object should be generated
|
|
293
|
+
* @param {boolean} asCall asCall
|
|
294
|
+
* @param {boolean} depDeferred the dependency is deferred
|
|
295
|
+
* @param {boolean | undefined} strictHarmonyModule strictHarmonyModule
|
|
296
|
+
* @param {boolean | undefined} asiSafe asiSafe
|
|
297
|
+
* @param {Set<ExportInfo>} alreadyVisited alreadyVisited
|
|
298
|
+
* @returns {Binding} the final variable
|
|
299
|
+
*/
|
|
300
|
+
const getFinalBinding = (
|
|
301
|
+
moduleGraph,
|
|
302
|
+
info,
|
|
303
|
+
exportName,
|
|
304
|
+
moduleToInfoMap,
|
|
305
|
+
runtime,
|
|
306
|
+
requestShortener,
|
|
307
|
+
runtimeTemplate,
|
|
308
|
+
neededNamespaceObjects,
|
|
309
|
+
asCall,
|
|
310
|
+
depDeferred,
|
|
311
|
+
strictHarmonyModule,
|
|
312
|
+
asiSafe,
|
|
313
|
+
alreadyVisited = new Set()
|
|
314
|
+
) => {
|
|
315
|
+
const exportsType = info.module.getExportsType(
|
|
316
|
+
moduleGraph,
|
|
317
|
+
strictHarmonyModule
|
|
318
|
+
);
|
|
319
|
+
const moduleDeferred =
|
|
320
|
+
info.type === "external" &&
|
|
321
|
+
info.deferred &&
|
|
322
|
+
!(/** @type {BuildMeta} */ (info.module.buildMeta).async);
|
|
323
|
+
const deferred = depDeferred && moduleDeferred;
|
|
324
|
+
if (exportName.length === 0) {
|
|
325
|
+
switch (exportsType) {
|
|
326
|
+
case "default-only":
|
|
327
|
+
if (deferred) info.deferredNamespaceObjectUsed = true;
|
|
328
|
+
else info.interopNamespaceObject2Used = true;
|
|
329
|
+
return {
|
|
330
|
+
info,
|
|
331
|
+
rawName: /** @type {string} */ (
|
|
332
|
+
deferred
|
|
333
|
+
? info.deferredNamespaceObjectName
|
|
334
|
+
: info.interopNamespaceObject2Name
|
|
335
|
+
),
|
|
336
|
+
ids: exportName,
|
|
337
|
+
exportName
|
|
338
|
+
};
|
|
339
|
+
case "default-with-named":
|
|
340
|
+
if (deferred) info.deferredNamespaceObjectUsed = true;
|
|
341
|
+
else info.interopNamespaceObjectUsed = true;
|
|
342
|
+
return {
|
|
343
|
+
info,
|
|
344
|
+
rawName: /** @type {string} */ (
|
|
345
|
+
deferred
|
|
346
|
+
? info.deferredNamespaceObjectName
|
|
347
|
+
: info.interopNamespaceObjectName
|
|
348
|
+
),
|
|
349
|
+
ids: exportName,
|
|
350
|
+
exportName
|
|
351
|
+
};
|
|
352
|
+
case "namespace":
|
|
353
|
+
case "dynamic":
|
|
354
|
+
break;
|
|
355
|
+
default:
|
|
356
|
+
throw new Error(`Unexpected exportsType ${exportsType}`);
|
|
357
|
+
}
|
|
358
|
+
} else {
|
|
359
|
+
switch (exportsType) {
|
|
360
|
+
case "namespace":
|
|
361
|
+
break;
|
|
362
|
+
case "default-with-named":
|
|
363
|
+
switch (exportName[0]) {
|
|
364
|
+
case "default":
|
|
365
|
+
exportName = exportName.slice(1);
|
|
366
|
+
break;
|
|
367
|
+
case "__esModule":
|
|
368
|
+
return {
|
|
369
|
+
info,
|
|
370
|
+
rawName: "/* __esModule */true",
|
|
371
|
+
ids: exportName.slice(1),
|
|
372
|
+
exportName
|
|
373
|
+
};
|
|
374
|
+
}
|
|
375
|
+
break;
|
|
376
|
+
case "default-only": {
|
|
377
|
+
const exportId = exportName[0];
|
|
378
|
+
if (exportId === "__esModule") {
|
|
379
|
+
return {
|
|
380
|
+
info,
|
|
381
|
+
rawName: "/* __esModule */true",
|
|
382
|
+
ids: exportName.slice(1),
|
|
383
|
+
exportName
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
exportName = exportName.slice(1);
|
|
387
|
+
if (exportId !== "default") {
|
|
388
|
+
return {
|
|
389
|
+
info,
|
|
390
|
+
rawName:
|
|
391
|
+
"/* non-default import from default-exporting module */undefined",
|
|
392
|
+
ids: exportName,
|
|
393
|
+
exportName
|
|
394
|
+
};
|
|
395
|
+
}
|
|
396
|
+
break;
|
|
397
|
+
}
|
|
398
|
+
case "dynamic":
|
|
399
|
+
switch (exportName[0]) {
|
|
400
|
+
case "default": {
|
|
401
|
+
exportName = exportName.slice(1);
|
|
402
|
+
if (deferred) {
|
|
403
|
+
return {
|
|
404
|
+
info,
|
|
405
|
+
rawName: `${info.deferredName}.a`,
|
|
406
|
+
ids: exportName,
|
|
407
|
+
exportName
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
if (moduleDeferred) {
|
|
411
|
+
return {
|
|
412
|
+
info,
|
|
413
|
+
rawName: /** @type {string} */ (info.name),
|
|
414
|
+
ids: exportName,
|
|
415
|
+
exportName
|
|
416
|
+
};
|
|
417
|
+
}
|
|
418
|
+
info.interopDefaultAccessUsed = true;
|
|
419
|
+
const defaultExport = asCall
|
|
420
|
+
? `${info.interopDefaultAccessName}()`
|
|
421
|
+
: asiSafe
|
|
422
|
+
? `(${info.interopDefaultAccessName}())`
|
|
423
|
+
: asiSafe === false
|
|
424
|
+
? `;(${info.interopDefaultAccessName}())`
|
|
425
|
+
: `${info.interopDefaultAccessName}.a`;
|
|
426
|
+
return {
|
|
427
|
+
info,
|
|
428
|
+
rawName: defaultExport,
|
|
429
|
+
ids: exportName,
|
|
430
|
+
exportName
|
|
431
|
+
};
|
|
432
|
+
}
|
|
433
|
+
case "__esModule":
|
|
434
|
+
return {
|
|
435
|
+
info,
|
|
436
|
+
rawName: "/* __esModule */true",
|
|
437
|
+
ids: exportName.slice(1),
|
|
438
|
+
exportName
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
break;
|
|
442
|
+
default:
|
|
443
|
+
throw new Error(`Unexpected exportsType ${exportsType}`);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
if (exportName.length === 0) {
|
|
447
|
+
switch (info.type) {
|
|
448
|
+
case "concatenated":
|
|
449
|
+
neededNamespaceObjects.add(info);
|
|
450
|
+
return {
|
|
451
|
+
info,
|
|
452
|
+
rawName:
|
|
453
|
+
/** @type {NonNullable<ConcatenatedModuleInfo["namespaceObjectName"]>} */
|
|
454
|
+
(info.namespaceObjectName),
|
|
455
|
+
ids: exportName,
|
|
456
|
+
exportName
|
|
457
|
+
};
|
|
458
|
+
case "external":
|
|
459
|
+
if (deferred) {
|
|
460
|
+
info.deferredNamespaceObjectUsed = true;
|
|
461
|
+
return {
|
|
462
|
+
info,
|
|
463
|
+
rawName: /** @type {string} */ (info.deferredNamespaceObjectName),
|
|
464
|
+
ids: exportName,
|
|
465
|
+
exportName
|
|
466
|
+
};
|
|
467
|
+
}
|
|
468
|
+
return {
|
|
469
|
+
info,
|
|
470
|
+
rawName:
|
|
471
|
+
/** @type {NonNullable<ExternalModuleInfo["name"]>} */
|
|
472
|
+
(info.name),
|
|
473
|
+
ids: exportName,
|
|
474
|
+
exportName
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
const exportsInfo = moduleGraph.getExportsInfo(info.module);
|
|
479
|
+
const exportInfo = exportsInfo.getExportInfo(exportName[0]);
|
|
480
|
+
if (alreadyVisited.has(exportInfo)) {
|
|
481
|
+
return {
|
|
482
|
+
info,
|
|
483
|
+
rawName: "/* circular reexport */ Object(function x() { x() }())",
|
|
484
|
+
ids: [],
|
|
485
|
+
exportName
|
|
486
|
+
};
|
|
487
|
+
}
|
|
488
|
+
alreadyVisited.add(exportInfo);
|
|
489
|
+
switch (info.type) {
|
|
490
|
+
case "concatenated": {
|
|
491
|
+
const exportId = exportName[0];
|
|
492
|
+
if (exportInfo.provided === false) {
|
|
493
|
+
// It's not provided, but it could be on the prototype
|
|
494
|
+
neededNamespaceObjects.add(info);
|
|
495
|
+
return {
|
|
496
|
+
info,
|
|
497
|
+
rawName: /** @type {string} */ (info.namespaceObjectName),
|
|
498
|
+
ids: exportName,
|
|
499
|
+
exportName
|
|
500
|
+
};
|
|
501
|
+
}
|
|
502
|
+
const directExport = info.exportMap && info.exportMap.get(exportId);
|
|
503
|
+
if (directExport) {
|
|
504
|
+
const usedName = /** @type {ExportName} */ (
|
|
505
|
+
exportsInfo.getUsedName(exportName, runtime)
|
|
506
|
+
);
|
|
507
|
+
if (!usedName) {
|
|
508
|
+
return {
|
|
509
|
+
info,
|
|
510
|
+
rawName: "/* unused export */ undefined",
|
|
511
|
+
ids: exportName.slice(1),
|
|
512
|
+
exportName
|
|
513
|
+
};
|
|
514
|
+
}
|
|
515
|
+
return {
|
|
516
|
+
info,
|
|
517
|
+
name: directExport,
|
|
518
|
+
ids: usedName.slice(1),
|
|
519
|
+
exportName
|
|
520
|
+
};
|
|
521
|
+
}
|
|
522
|
+
const rawExport = info.rawExportMap && info.rawExportMap.get(exportId);
|
|
523
|
+
if (rawExport) {
|
|
524
|
+
return {
|
|
525
|
+
info,
|
|
526
|
+
rawName: rawExport,
|
|
527
|
+
ids: exportName.slice(1),
|
|
528
|
+
exportName
|
|
529
|
+
};
|
|
530
|
+
}
|
|
531
|
+
const reexport = exportInfo.findTarget(moduleGraph, (module) =>
|
|
532
|
+
moduleToInfoMap.has(module)
|
|
533
|
+
);
|
|
534
|
+
if (reexport === false) {
|
|
535
|
+
throw new Error(
|
|
536
|
+
`Target module of reexport from '${info.module.readableIdentifier(
|
|
537
|
+
requestShortener
|
|
538
|
+
)}' is not part of the concatenation (export '${exportId}')\nModules in the concatenation:\n${Array.from(
|
|
539
|
+
moduleToInfoMap,
|
|
540
|
+
([m, info]) =>
|
|
541
|
+
` * ${info.type} ${m.readableIdentifier(requestShortener)}`
|
|
542
|
+
).join("\n")}`
|
|
543
|
+
);
|
|
544
|
+
}
|
|
545
|
+
if (reexport) {
|
|
546
|
+
const refInfo = moduleToInfoMap.get(reexport.module);
|
|
547
|
+
return getFinalBinding(
|
|
548
|
+
moduleGraph,
|
|
549
|
+
/** @type {ModuleInfo} */ (refInfo),
|
|
550
|
+
reexport.export
|
|
551
|
+
? [...reexport.export, ...exportName.slice(1)]
|
|
552
|
+
: exportName.slice(1),
|
|
553
|
+
moduleToInfoMap,
|
|
554
|
+
runtime,
|
|
555
|
+
requestShortener,
|
|
556
|
+
runtimeTemplate,
|
|
557
|
+
neededNamespaceObjects,
|
|
558
|
+
asCall,
|
|
559
|
+
reexport.deferred,
|
|
560
|
+
/** @type {BuildMeta} */
|
|
561
|
+
(info.module.buildMeta).strictHarmonyModule,
|
|
562
|
+
asiSafe,
|
|
563
|
+
alreadyVisited
|
|
564
|
+
);
|
|
565
|
+
}
|
|
566
|
+
if (info.namespaceExportSymbol) {
|
|
567
|
+
const usedName = /** @type {ExportName} */ (
|
|
568
|
+
exportsInfo.getUsedName(exportName, runtime)
|
|
569
|
+
);
|
|
570
|
+
return {
|
|
571
|
+
info,
|
|
572
|
+
rawName: /** @type {string} */ (info.namespaceObjectName),
|
|
573
|
+
ids: usedName,
|
|
574
|
+
exportName
|
|
575
|
+
};
|
|
576
|
+
}
|
|
577
|
+
throw new Error(
|
|
578
|
+
`Cannot get final name for export '${exportName.join(
|
|
579
|
+
"."
|
|
580
|
+
)}' of ${info.module.readableIdentifier(requestShortener)}`
|
|
581
|
+
);
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
case "external": {
|
|
585
|
+
const used = /** @type {ExportName} */ (
|
|
586
|
+
exportsInfo.getUsedName(exportName, runtime)
|
|
587
|
+
);
|
|
588
|
+
if (!used) {
|
|
589
|
+
return {
|
|
590
|
+
info,
|
|
591
|
+
rawName: "/* unused export */ undefined",
|
|
592
|
+
ids: exportName.slice(1),
|
|
593
|
+
exportName
|
|
594
|
+
};
|
|
595
|
+
}
|
|
596
|
+
const comment = equals(used, exportName)
|
|
597
|
+
? ""
|
|
598
|
+
: Template.toNormalComment(`${exportName.join(".")}`);
|
|
599
|
+
return {
|
|
600
|
+
info,
|
|
601
|
+
rawName:
|
|
602
|
+
(deferred ? info.deferredName : info.name) +
|
|
603
|
+
(deferred ? ".a" : "") +
|
|
604
|
+
comment,
|
|
605
|
+
ids: used,
|
|
606
|
+
exportName
|
|
607
|
+
};
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
};
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* @param {ModuleGraph} moduleGraph the module graph
|
|
614
|
+
* @param {ModuleInfo} info module info
|
|
615
|
+
* @param {ExportName} exportName exportName
|
|
616
|
+
* @param {ModuleToInfoMap} moduleToInfoMap moduleToInfoMap
|
|
617
|
+
* @param {RuntimeSpec} runtime for which runtime
|
|
618
|
+
* @param {RequestShortener} requestShortener the request shortener
|
|
619
|
+
* @param {RuntimeTemplate} runtimeTemplate the runtime template
|
|
620
|
+
* @param {NeededNamespaceObjects} neededNamespaceObjects modules for which a namespace object should be generated
|
|
621
|
+
* @param {boolean} asCall asCall
|
|
622
|
+
* @param {boolean} depDeferred the dependency is deferred
|
|
623
|
+
* @param {boolean | undefined} callContext callContext
|
|
624
|
+
* @param {boolean | undefined} strictHarmonyModule strictHarmonyModule
|
|
625
|
+
* @param {boolean | undefined} asiSafe asiSafe
|
|
626
|
+
* @returns {string} the final name
|
|
627
|
+
*/
|
|
628
|
+
const getFinalName = (
|
|
629
|
+
moduleGraph,
|
|
630
|
+
info,
|
|
631
|
+
exportName,
|
|
632
|
+
moduleToInfoMap,
|
|
633
|
+
runtime,
|
|
634
|
+
requestShortener,
|
|
635
|
+
runtimeTemplate,
|
|
636
|
+
neededNamespaceObjects,
|
|
637
|
+
asCall,
|
|
638
|
+
depDeferred,
|
|
639
|
+
callContext,
|
|
640
|
+
strictHarmonyModule,
|
|
641
|
+
asiSafe
|
|
642
|
+
) => {
|
|
643
|
+
const binding = getFinalBinding(
|
|
644
|
+
moduleGraph,
|
|
645
|
+
info,
|
|
646
|
+
exportName,
|
|
647
|
+
moduleToInfoMap,
|
|
648
|
+
runtime,
|
|
649
|
+
requestShortener,
|
|
650
|
+
runtimeTemplate,
|
|
651
|
+
neededNamespaceObjects,
|
|
652
|
+
asCall,
|
|
653
|
+
depDeferred,
|
|
654
|
+
strictHarmonyModule,
|
|
655
|
+
asiSafe
|
|
656
|
+
);
|
|
657
|
+
{
|
|
658
|
+
const { ids, comment } = binding;
|
|
659
|
+
/** @type {string} */
|
|
660
|
+
let reference;
|
|
661
|
+
/** @type {boolean} */
|
|
662
|
+
let isPropertyAccess;
|
|
663
|
+
if ("rawName" in binding) {
|
|
664
|
+
reference = `${binding.rawName}${comment || ""}${propertyAccess(ids)}`;
|
|
665
|
+
isPropertyAccess = ids.length > 0;
|
|
666
|
+
} else {
|
|
667
|
+
const { info, name: exportId } = binding;
|
|
668
|
+
const name = info.internalNames.get(exportId);
|
|
669
|
+
if (!name) {
|
|
670
|
+
throw new Error(
|
|
671
|
+
`The export "${exportId}" in "${info.module.readableIdentifier(
|
|
672
|
+
requestShortener
|
|
673
|
+
)}" has no internal name (existing names: ${
|
|
674
|
+
Array.from(
|
|
675
|
+
info.internalNames,
|
|
676
|
+
([name, symbol]) => `${name}: ${symbol}`
|
|
677
|
+
).join(", ") || "none"
|
|
678
|
+
})`
|
|
679
|
+
);
|
|
680
|
+
}
|
|
681
|
+
reference = `${name}${comment || ""}${propertyAccess(ids)}`;
|
|
682
|
+
isPropertyAccess = ids.length > 1;
|
|
683
|
+
}
|
|
684
|
+
if (isPropertyAccess && asCall && callContext === false) {
|
|
685
|
+
return asiSafe
|
|
686
|
+
? `(0,${reference})`
|
|
687
|
+
: asiSafe === false
|
|
688
|
+
? `;(0,${reference})`
|
|
689
|
+
: `/*#__PURE__*/Object(${reference})`;
|
|
690
|
+
}
|
|
691
|
+
return reference;
|
|
692
|
+
}
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* @typedef {object} ConcatenateModuleHooks
|
|
697
|
+
* @property {SyncBailHook<[ConcatenatedModule, RuntimeSpec[], string, Record<string, string>], boolean>} onDemandExportsGeneration
|
|
698
|
+
* @property {SyncBailHook<[Partial<ConcatenatedModuleInfo>, ConcatenatedModuleInfo], boolean | void>} concatenatedModuleInfo
|
|
699
|
+
*/
|
|
700
|
+
|
|
701
|
+
/** @typedef {BuildInfo["topLevelDeclarations"]} TopLevelDeclarations */
|
|
702
|
+
|
|
703
|
+
/** @type {WeakMap<Compilation, ConcatenateModuleHooks>} */
|
|
704
|
+
const compilationHooksMap = new WeakMap();
|
|
705
|
+
|
|
706
|
+
class ConcatenatedModule extends Module {
|
|
707
|
+
/**
|
|
708
|
+
* @param {Module} rootModule the root module of the concatenation
|
|
709
|
+
* @param {Set<Module>} modules all modules in the concatenation (including the root module)
|
|
710
|
+
* @param {RuntimeSpec} runtime the runtime
|
|
711
|
+
* @param {Compilation} compilation the compilation
|
|
712
|
+
* @param {AssociatedObjectForCache=} associatedObjectForCache object for caching
|
|
713
|
+
* @param {HashFunction=} hashFunction hash function to use
|
|
714
|
+
* @returns {ConcatenatedModule} the module
|
|
715
|
+
*/
|
|
716
|
+
static create(
|
|
717
|
+
rootModule,
|
|
718
|
+
modules,
|
|
719
|
+
runtime,
|
|
720
|
+
compilation,
|
|
721
|
+
associatedObjectForCache,
|
|
722
|
+
hashFunction = DEFAULTS.HASH_FUNCTION
|
|
723
|
+
) {
|
|
724
|
+
const identifier = ConcatenatedModule._createIdentifier(
|
|
725
|
+
rootModule,
|
|
726
|
+
modules,
|
|
727
|
+
associatedObjectForCache,
|
|
728
|
+
hashFunction
|
|
729
|
+
);
|
|
730
|
+
return new ConcatenatedModule({
|
|
731
|
+
identifier,
|
|
732
|
+
rootModule,
|
|
733
|
+
modules,
|
|
734
|
+
runtime,
|
|
735
|
+
compilation
|
|
736
|
+
});
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* @param {Compilation} compilation the compilation
|
|
741
|
+
* @returns {ConcatenateModuleHooks} the attached hooks
|
|
742
|
+
*/
|
|
743
|
+
static getCompilationHooks(compilation) {
|
|
744
|
+
let hooks = compilationHooksMap.get(compilation);
|
|
745
|
+
if (hooks === undefined) {
|
|
746
|
+
hooks = {
|
|
747
|
+
onDemandExportsGeneration: new SyncBailHook([
|
|
748
|
+
"module",
|
|
749
|
+
"runtimes",
|
|
750
|
+
"exportsFinalName",
|
|
751
|
+
"exportsSource"
|
|
752
|
+
]),
|
|
753
|
+
concatenatedModuleInfo: new SyncBailHook([
|
|
754
|
+
"updatedInfo",
|
|
755
|
+
"concatenatedModuleInfo"
|
|
756
|
+
])
|
|
757
|
+
};
|
|
758
|
+
compilationHooksMap.set(compilation, hooks);
|
|
759
|
+
}
|
|
760
|
+
return hooks;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* @param {object} options options
|
|
765
|
+
* @param {string} options.identifier the identifier of the module
|
|
766
|
+
* @param {Module} options.rootModule the root module of the concatenation
|
|
767
|
+
* @param {RuntimeSpec} options.runtime the selected runtime
|
|
768
|
+
* @param {Set<Module>} options.modules all concatenated modules
|
|
769
|
+
* @param {Compilation} options.compilation the compilation
|
|
770
|
+
*/
|
|
771
|
+
constructor({ identifier, rootModule, modules, runtime, compilation }) {
|
|
772
|
+
super(JAVASCRIPT_MODULE_TYPE_ESM, null, rootModule && rootModule.layer);
|
|
773
|
+
|
|
774
|
+
// Info from Factory
|
|
775
|
+
/** @type {string} */
|
|
776
|
+
this._identifier = identifier;
|
|
777
|
+
/** @type {Module} */
|
|
778
|
+
this.rootModule = rootModule;
|
|
779
|
+
/** @type {Set<Module>} */
|
|
780
|
+
this._modules = modules;
|
|
781
|
+
this._runtime = runtime;
|
|
782
|
+
this.factoryMeta = rootModule && rootModule.factoryMeta;
|
|
783
|
+
/** @type {Compilation} */
|
|
784
|
+
this.compilation = compilation;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* Assuming this module is in the cache. Update the (cached) module with
|
|
789
|
+
* the fresh module from the factory. Usually updates internal references
|
|
790
|
+
* and properties.
|
|
791
|
+
* @param {Module} module fresh module
|
|
792
|
+
* @returns {void}
|
|
793
|
+
*/
|
|
794
|
+
updateCacheModule(module) {
|
|
795
|
+
throw new Error("Must not be called");
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* @returns {SourceTypes} types available (do not mutate)
|
|
800
|
+
*/
|
|
801
|
+
getSourceTypes() {
|
|
802
|
+
return JAVASCRIPT_TYPES;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
get modules() {
|
|
806
|
+
return [...this._modules];
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* @returns {string} a unique identifier of the module
|
|
811
|
+
*/
|
|
812
|
+
identifier() {
|
|
813
|
+
return this._identifier;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
/**
|
|
817
|
+
* @param {RequestShortener} requestShortener the request shortener
|
|
818
|
+
* @returns {string} a user readable identifier of the module
|
|
819
|
+
*/
|
|
820
|
+
readableIdentifier(requestShortener) {
|
|
821
|
+
return `${this.rootModule.readableIdentifier(
|
|
822
|
+
requestShortener
|
|
823
|
+
)} + ${this._modules.size - 1} modules`;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* @param {LibIdentOptions} options options
|
|
828
|
+
* @returns {LibIdent | null} an identifier for library inclusion
|
|
829
|
+
*/
|
|
830
|
+
libIdent(options) {
|
|
831
|
+
return this.rootModule.libIdent(options);
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* @returns {NameForCondition | null} absolute path which should be used for condition matching (usually the resource path)
|
|
836
|
+
*/
|
|
837
|
+
nameForCondition() {
|
|
838
|
+
return this.rootModule.nameForCondition();
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* @param {ModuleGraph} moduleGraph the module graph
|
|
843
|
+
* @returns {ConnectionState} how this module should be connected to referencing modules when consumed for side-effects only
|
|
844
|
+
*/
|
|
845
|
+
getSideEffectsConnectionState(moduleGraph) {
|
|
846
|
+
return this.rootModule.getSideEffectsConnectionState(moduleGraph);
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* @param {WebpackOptions} options webpack options
|
|
851
|
+
* @param {Compilation} compilation the compilation
|
|
852
|
+
* @param {ResolverWithOptions} resolver the resolver
|
|
853
|
+
* @param {InputFileSystem} fs the file system
|
|
854
|
+
* @param {BuildCallback} callback callback function
|
|
855
|
+
* @returns {void}
|
|
856
|
+
*/
|
|
857
|
+
build(options, compilation, resolver, fs, callback) {
|
|
858
|
+
const { rootModule } = this;
|
|
859
|
+
const { moduleArgument, exportsArgument } =
|
|
860
|
+
/** @type {BuildInfo} */
|
|
861
|
+
(rootModule.buildInfo);
|
|
862
|
+
/** @type {BuildInfo} */
|
|
863
|
+
this.buildInfo = {
|
|
864
|
+
strict: true,
|
|
865
|
+
cacheable: true,
|
|
866
|
+
moduleArgument,
|
|
867
|
+
exportsArgument,
|
|
868
|
+
fileDependencies: new LazySet(),
|
|
869
|
+
contextDependencies: new LazySet(),
|
|
870
|
+
missingDependencies: new LazySet(),
|
|
871
|
+
topLevelDeclarations: new Set(),
|
|
872
|
+
assets: undefined
|
|
873
|
+
};
|
|
874
|
+
this.buildMeta = rootModule.buildMeta;
|
|
875
|
+
this.clearDependenciesAndBlocks();
|
|
876
|
+
this.clearWarningsAndErrors();
|
|
877
|
+
|
|
878
|
+
for (const m of this._modules) {
|
|
879
|
+
// populate cacheable
|
|
880
|
+
if (!(/** @type {BuildInfo} */ (m.buildInfo).cacheable)) {
|
|
881
|
+
this.buildInfo.cacheable = false;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
// populate dependencies
|
|
885
|
+
for (const d of m.dependencies.filter(
|
|
886
|
+
(dep) =>
|
|
887
|
+
!(dep instanceof HarmonyImportDependency) ||
|
|
888
|
+
!this._modules.has(
|
|
889
|
+
/** @type {Module} */
|
|
890
|
+
(compilation.moduleGraph.getModule(dep))
|
|
891
|
+
)
|
|
892
|
+
)) {
|
|
893
|
+
this.dependencies.push(d);
|
|
894
|
+
}
|
|
895
|
+
// populate blocks
|
|
896
|
+
for (const d of m.blocks) {
|
|
897
|
+
this.blocks.push(d);
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
// populate warnings
|
|
901
|
+
const warnings = m.getWarnings();
|
|
902
|
+
if (warnings !== undefined) {
|
|
903
|
+
for (const warning of warnings) {
|
|
904
|
+
this.addWarning(warning);
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
// populate errors
|
|
909
|
+
const errors = m.getErrors();
|
|
910
|
+
if (errors !== undefined) {
|
|
911
|
+
for (const error of errors) {
|
|
912
|
+
this.addError(error);
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
const { assets, assetsInfo, topLevelDeclarations, needCreateRequire } =
|
|
917
|
+
/** @type {BuildInfo} */ (m.buildInfo);
|
|
918
|
+
|
|
919
|
+
const buildInfo = this.buildInfo;
|
|
920
|
+
|
|
921
|
+
// populate topLevelDeclarations
|
|
922
|
+
if (topLevelDeclarations) {
|
|
923
|
+
const topLevelDeclarations = buildInfo.topLevelDeclarations;
|
|
924
|
+
if (topLevelDeclarations !== undefined) {
|
|
925
|
+
for (const decl of topLevelDeclarations) {
|
|
926
|
+
topLevelDeclarations.add(decl);
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
} else {
|
|
930
|
+
buildInfo.topLevelDeclarations = undefined;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
// populate needCreateRequire
|
|
934
|
+
if (needCreateRequire) {
|
|
935
|
+
this.buildInfo.needCreateRequire = true;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
// populate assets
|
|
939
|
+
if (assets) {
|
|
940
|
+
if (buildInfo.assets === undefined) {
|
|
941
|
+
buildInfo.assets = Object.create(null);
|
|
942
|
+
}
|
|
943
|
+
Object.assign(
|
|
944
|
+
/** @type {NonNullable<BuildInfo["assets"]>} */
|
|
945
|
+
(buildInfo.assets),
|
|
946
|
+
assets
|
|
947
|
+
);
|
|
948
|
+
}
|
|
949
|
+
if (assetsInfo) {
|
|
950
|
+
if (buildInfo.assetsInfo === undefined) {
|
|
951
|
+
buildInfo.assetsInfo = new Map();
|
|
952
|
+
}
|
|
953
|
+
for (const [key, value] of assetsInfo) {
|
|
954
|
+
buildInfo.assetsInfo.set(key, value);
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
callback();
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* @param {string=} type the source type for which the size should be estimated
|
|
963
|
+
* @returns {number} the estimated size of the module (must be non-zero)
|
|
964
|
+
*/
|
|
965
|
+
size(type) {
|
|
966
|
+
// Guess size from embedded modules
|
|
967
|
+
let size = 0;
|
|
968
|
+
for (const module of this._modules) {
|
|
969
|
+
size += module.size(type);
|
|
970
|
+
}
|
|
971
|
+
return size;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* @private
|
|
976
|
+
* @param {Module} rootModule the root of the concatenation
|
|
977
|
+
* @param {Set<Module>} modulesSet a set of modules which should be concatenated
|
|
978
|
+
* @param {RuntimeSpec} runtime for this runtime
|
|
979
|
+
* @param {ModuleGraph} moduleGraph the module graph
|
|
980
|
+
* @returns {ConcatenationEntry[]} concatenation list
|
|
981
|
+
*/
|
|
982
|
+
_createConcatenationList(rootModule, modulesSet, runtime, moduleGraph) {
|
|
983
|
+
/** @type {ConcatenationEntry[]} */
|
|
984
|
+
const list = [];
|
|
985
|
+
/** @type {Map<Module, { runtimeCondition: RuntimeSpec | true, nonDeferAccess: NonDeferAccess }>} */
|
|
986
|
+
const existingEntries = new Map();
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* @param {Module} module a module
|
|
990
|
+
* @returns {Iterable<{ connection: ModuleGraphConnection, runtimeCondition: RuntimeSpec | true, nonDeferAccess: NonDeferAccess }>} imported modules in order
|
|
991
|
+
*/
|
|
992
|
+
const getConcatenatedImports = (module) => {
|
|
993
|
+
const connections = [...moduleGraph.getOutgoingConnections(module)];
|
|
994
|
+
if (module === rootModule) {
|
|
995
|
+
for (const c of moduleGraph.getOutgoingConnections(this)) {
|
|
996
|
+
connections.push(c);
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
/**
|
|
1000
|
+
* @type {{ connection: ModuleGraphConnection, sourceOrder: number, rangeStart: number | undefined, defer?: boolean }[]}
|
|
1001
|
+
*/
|
|
1002
|
+
const references = connections
|
|
1003
|
+
.filter((connection) => {
|
|
1004
|
+
if (!(connection.dependency instanceof HarmonyImportDependency)) {
|
|
1005
|
+
return false;
|
|
1006
|
+
}
|
|
1007
|
+
return (
|
|
1008
|
+
connection &&
|
|
1009
|
+
connection.resolvedOriginModule === module &&
|
|
1010
|
+
connection.module &&
|
|
1011
|
+
connection.isTargetActive(runtime)
|
|
1012
|
+
);
|
|
1013
|
+
})
|
|
1014
|
+
.map((connection) => {
|
|
1015
|
+
const dep =
|
|
1016
|
+
/** @type {HarmonyImportDependency} */
|
|
1017
|
+
(connection.dependency);
|
|
1018
|
+
return {
|
|
1019
|
+
connection,
|
|
1020
|
+
sourceOrder: /** @type {number} */ (dep.sourceOrder),
|
|
1021
|
+
rangeStart: dep.range && dep.range[0],
|
|
1022
|
+
defer: ImportPhaseUtils.isDefer(dep.phase)
|
|
1023
|
+
};
|
|
1024
|
+
});
|
|
1025
|
+
/**
|
|
1026
|
+
* bySourceOrder
|
|
1027
|
+
* @example
|
|
1028
|
+
* import a from "a"; // sourceOrder=1
|
|
1029
|
+
* import b from "b"; // sourceOrder=2
|
|
1030
|
+
*
|
|
1031
|
+
* byRangeStart
|
|
1032
|
+
* @example
|
|
1033
|
+
* import {a, b} from "a"; // sourceOrder=1
|
|
1034
|
+
* a.a(); // first range
|
|
1035
|
+
* b.b(); // second range
|
|
1036
|
+
*
|
|
1037
|
+
* If there is no reexport, we have the same source.
|
|
1038
|
+
* If there is reexport, but module has side effects, this will lead to reexport module only.
|
|
1039
|
+
* If there is side-effects-free reexport, we can get simple deterministic result with range start comparison.
|
|
1040
|
+
*/
|
|
1041
|
+
references.sort(concatComparators(bySourceOrder, byRangeStart));
|
|
1042
|
+
/** @type {Map<Module, { connection: ModuleGraphConnection, runtimeCondition: RuntimeSpec | true, nonDeferAccess: NonDeferAccess }>} */
|
|
1043
|
+
const referencesMap = new Map();
|
|
1044
|
+
for (const { connection, defer } of references) {
|
|
1045
|
+
const runtimeCondition = filterRuntime(runtime, (r) =>
|
|
1046
|
+
connection.isTargetActive(r)
|
|
1047
|
+
);
|
|
1048
|
+
if (runtimeCondition === false) continue;
|
|
1049
|
+
const nonDeferAccess = !defer;
|
|
1050
|
+
const module = connection.module;
|
|
1051
|
+
const entry = referencesMap.get(module);
|
|
1052
|
+
if (entry === undefined) {
|
|
1053
|
+
referencesMap.set(module, {
|
|
1054
|
+
connection,
|
|
1055
|
+
runtimeCondition,
|
|
1056
|
+
nonDeferAccess
|
|
1057
|
+
});
|
|
1058
|
+
continue;
|
|
1059
|
+
}
|
|
1060
|
+
entry.runtimeCondition = mergeRuntimeConditionNonFalse(
|
|
1061
|
+
entry.runtimeCondition,
|
|
1062
|
+
runtimeCondition,
|
|
1063
|
+
runtime
|
|
1064
|
+
);
|
|
1065
|
+
entry.nonDeferAccess = mergeNonDeferAccess(
|
|
1066
|
+
entry.nonDeferAccess,
|
|
1067
|
+
nonDeferAccess
|
|
1068
|
+
);
|
|
1069
|
+
}
|
|
1070
|
+
return referencesMap.values();
|
|
1071
|
+
};
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* @param {ModuleGraphConnection} connection graph connection
|
|
1075
|
+
* @param {RuntimeSpec | true} runtimeCondition runtime condition
|
|
1076
|
+
* @param {NonDeferAccess} nonDeferAccess non-defer access
|
|
1077
|
+
* @returns {void}
|
|
1078
|
+
*/
|
|
1079
|
+
const enterModule = (connection, runtimeCondition, nonDeferAccess) => {
|
|
1080
|
+
const module = connection.module;
|
|
1081
|
+
if (!module) return;
|
|
1082
|
+
const existingEntry = existingEntries.get(module);
|
|
1083
|
+
if (
|
|
1084
|
+
existingEntry &&
|
|
1085
|
+
existingEntry.runtimeCondition === true &&
|
|
1086
|
+
existingEntry.nonDeferAccess === true
|
|
1087
|
+
) {
|
|
1088
|
+
return;
|
|
1089
|
+
}
|
|
1090
|
+
if (modulesSet.has(module)) {
|
|
1091
|
+
existingEntries.set(module, {
|
|
1092
|
+
runtimeCondition: true,
|
|
1093
|
+
nonDeferAccess: true
|
|
1094
|
+
});
|
|
1095
|
+
if (runtimeCondition !== true) {
|
|
1096
|
+
throw new Error(
|
|
1097
|
+
`Cannot runtime-conditional concatenate a module (${module.identifier()} in ${this.rootModule.identifier()}, ${runtimeConditionToString(
|
|
1098
|
+
runtimeCondition
|
|
1099
|
+
)}). This should not happen.`
|
|
1100
|
+
);
|
|
1101
|
+
}
|
|
1102
|
+
if (nonDeferAccess !== true) {
|
|
1103
|
+
throw new Error(
|
|
1104
|
+
`Cannot deferred concatenate a module (${module.identifier()} in ${this.rootModule.identifier()}. This should not happen.`
|
|
1105
|
+
);
|
|
1106
|
+
}
|
|
1107
|
+
const imports = getConcatenatedImports(module);
|
|
1108
|
+
for (const {
|
|
1109
|
+
connection,
|
|
1110
|
+
runtimeCondition,
|
|
1111
|
+
nonDeferAccess
|
|
1112
|
+
} of imports) {
|
|
1113
|
+
enterModule(connection, runtimeCondition, nonDeferAccess);
|
|
1114
|
+
}
|
|
1115
|
+
list.push({
|
|
1116
|
+
type: "concatenated",
|
|
1117
|
+
module: connection.module,
|
|
1118
|
+
runtimeCondition,
|
|
1119
|
+
nonDeferAccess
|
|
1120
|
+
});
|
|
1121
|
+
} else {
|
|
1122
|
+
/** @type {RuntimeSpec | boolean} */
|
|
1123
|
+
let reducedRuntimeCondition;
|
|
1124
|
+
/** @type {NonDeferAccess} */
|
|
1125
|
+
let reducedNonDeferAccess;
|
|
1126
|
+
if (existingEntry !== undefined) {
|
|
1127
|
+
reducedRuntimeCondition = subtractRuntimeCondition(
|
|
1128
|
+
runtimeCondition,
|
|
1129
|
+
existingEntry.runtimeCondition,
|
|
1130
|
+
runtime
|
|
1131
|
+
);
|
|
1132
|
+
reducedNonDeferAccess = subtractNonDeferAccess(
|
|
1133
|
+
nonDeferAccess,
|
|
1134
|
+
existingEntry.nonDeferAccess
|
|
1135
|
+
);
|
|
1136
|
+
if (
|
|
1137
|
+
reducedRuntimeCondition === false &&
|
|
1138
|
+
reducedNonDeferAccess === false
|
|
1139
|
+
) {
|
|
1140
|
+
return;
|
|
1141
|
+
}
|
|
1142
|
+
if (reducedRuntimeCondition !== false) {
|
|
1143
|
+
existingEntry.runtimeCondition = mergeRuntimeConditionNonFalse(
|
|
1144
|
+
existingEntry.runtimeCondition,
|
|
1145
|
+
reducedRuntimeCondition,
|
|
1146
|
+
runtime
|
|
1147
|
+
);
|
|
1148
|
+
}
|
|
1149
|
+
if (reducedNonDeferAccess !== false) {
|
|
1150
|
+
existingEntry.nonDeferAccess = mergeNonDeferAccess(
|
|
1151
|
+
existingEntry.nonDeferAccess,
|
|
1152
|
+
reducedNonDeferAccess
|
|
1153
|
+
);
|
|
1154
|
+
}
|
|
1155
|
+
} else {
|
|
1156
|
+
reducedRuntimeCondition = runtimeCondition;
|
|
1157
|
+
reducedNonDeferAccess = nonDeferAccess;
|
|
1158
|
+
existingEntries.set(connection.module, {
|
|
1159
|
+
runtimeCondition,
|
|
1160
|
+
nonDeferAccess
|
|
1161
|
+
});
|
|
1162
|
+
}
|
|
1163
|
+
if (list.length > 0) {
|
|
1164
|
+
const lastItem = list[list.length - 1];
|
|
1165
|
+
if (
|
|
1166
|
+
lastItem.type === "external" &&
|
|
1167
|
+
lastItem.module === connection.module
|
|
1168
|
+
) {
|
|
1169
|
+
lastItem.runtimeCondition = mergeRuntimeCondition(
|
|
1170
|
+
lastItem.runtimeCondition,
|
|
1171
|
+
reducedRuntimeCondition,
|
|
1172
|
+
runtime
|
|
1173
|
+
);
|
|
1174
|
+
lastItem.nonDeferAccess = mergeNonDeferAccess(
|
|
1175
|
+
lastItem.nonDeferAccess,
|
|
1176
|
+
reducedNonDeferAccess
|
|
1177
|
+
);
|
|
1178
|
+
return;
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
list.push({
|
|
1182
|
+
type: "external",
|
|
1183
|
+
get module() {
|
|
1184
|
+
// We need to use a getter here, because the module in the dependency
|
|
1185
|
+
// could be replaced by some other process (i. e. also replaced with a
|
|
1186
|
+
// concatenated module)
|
|
1187
|
+
return connection.module;
|
|
1188
|
+
},
|
|
1189
|
+
runtimeCondition: reducedRuntimeCondition,
|
|
1190
|
+
nonDeferAccess: reducedNonDeferAccess
|
|
1191
|
+
});
|
|
1192
|
+
}
|
|
1193
|
+
};
|
|
1194
|
+
|
|
1195
|
+
existingEntries.set(rootModule, {
|
|
1196
|
+
runtimeCondition: true,
|
|
1197
|
+
nonDeferAccess: true
|
|
1198
|
+
});
|
|
1199
|
+
const imports = getConcatenatedImports(rootModule);
|
|
1200
|
+
for (const { connection, runtimeCondition, nonDeferAccess } of imports) {
|
|
1201
|
+
enterModule(connection, runtimeCondition, nonDeferAccess);
|
|
1202
|
+
}
|
|
1203
|
+
list.push({
|
|
1204
|
+
type: "concatenated",
|
|
1205
|
+
module: rootModule,
|
|
1206
|
+
runtimeCondition: true,
|
|
1207
|
+
nonDeferAccess: true
|
|
1208
|
+
});
|
|
1209
|
+
|
|
1210
|
+
return list;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* @param {Module} rootModule the root module of the concatenation
|
|
1215
|
+
* @param {Set<Module>} modules all modules in the concatenation (including the root module)
|
|
1216
|
+
* @param {AssociatedObjectForCache=} associatedObjectForCache object for caching
|
|
1217
|
+
* @param {HashFunction=} hashFunction hash function to use
|
|
1218
|
+
* @returns {string} the identifier
|
|
1219
|
+
*/
|
|
1220
|
+
static _createIdentifier(
|
|
1221
|
+
rootModule,
|
|
1222
|
+
modules,
|
|
1223
|
+
associatedObjectForCache,
|
|
1224
|
+
hashFunction = DEFAULTS.HASH_FUNCTION
|
|
1225
|
+
) {
|
|
1226
|
+
const cachedMakePathsRelative = makePathsRelative.bindContextCache(
|
|
1227
|
+
/** @type {string} */ (rootModule.context),
|
|
1228
|
+
associatedObjectForCache
|
|
1229
|
+
);
|
|
1230
|
+
/** @type {string[]} */
|
|
1231
|
+
const identifiers = [];
|
|
1232
|
+
for (const module of modules) {
|
|
1233
|
+
identifiers.push(cachedMakePathsRelative(module.identifier()));
|
|
1234
|
+
}
|
|
1235
|
+
identifiers.sort();
|
|
1236
|
+
const hash = createHash(hashFunction);
|
|
1237
|
+
hash.update(identifiers.join(" "));
|
|
1238
|
+
return `${rootModule.identifier()}|${hash.digest("hex")}`;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* @param {FileSystemDependencies} fileDependencies set where file dependencies are added to
|
|
1243
|
+
* @param {FileSystemDependencies} contextDependencies set where context dependencies are added to
|
|
1244
|
+
* @param {FileSystemDependencies} missingDependencies set where missing dependencies are added to
|
|
1245
|
+
* @param {FileSystemDependencies} buildDependencies set where build dependencies are added to
|
|
1246
|
+
*/
|
|
1247
|
+
addCacheDependencies(
|
|
1248
|
+
fileDependencies,
|
|
1249
|
+
contextDependencies,
|
|
1250
|
+
missingDependencies,
|
|
1251
|
+
buildDependencies
|
|
1252
|
+
) {
|
|
1253
|
+
for (const module of this._modules) {
|
|
1254
|
+
module.addCacheDependencies(
|
|
1255
|
+
fileDependencies,
|
|
1256
|
+
contextDependencies,
|
|
1257
|
+
missingDependencies,
|
|
1258
|
+
buildDependencies
|
|
1259
|
+
);
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* @param {CodeGenerationContext} context context for code generation
|
|
1265
|
+
* @returns {CodeGenerationResult} result
|
|
1266
|
+
*/
|
|
1267
|
+
codeGeneration({
|
|
1268
|
+
dependencyTemplates,
|
|
1269
|
+
runtimeTemplate,
|
|
1270
|
+
moduleGraph,
|
|
1271
|
+
chunkGraph,
|
|
1272
|
+
runtime: generationRuntime,
|
|
1273
|
+
runtimes,
|
|
1274
|
+
codeGenerationResults
|
|
1275
|
+
}) {
|
|
1276
|
+
const { concatenatedModuleInfo } = ConcatenatedModule.getCompilationHooks(
|
|
1277
|
+
this.compilation
|
|
1278
|
+
);
|
|
1279
|
+
|
|
1280
|
+
/** @type {RuntimeRequirements} */
|
|
1281
|
+
const runtimeRequirements = new Set();
|
|
1282
|
+
const runtime = intersectRuntime(generationRuntime, this._runtime);
|
|
1283
|
+
|
|
1284
|
+
const requestShortener = runtimeTemplate.requestShortener;
|
|
1285
|
+
// Meta info for each module
|
|
1286
|
+
const [modulesWithInfo, moduleToInfoMap] = this._getModulesWithInfo(
|
|
1287
|
+
moduleGraph,
|
|
1288
|
+
runtime
|
|
1289
|
+
);
|
|
1290
|
+
|
|
1291
|
+
// Set with modules that need a generated namespace object
|
|
1292
|
+
/** @type {NeededNamespaceObjects} */
|
|
1293
|
+
const neededNamespaceObjects = new Set();
|
|
1294
|
+
|
|
1295
|
+
// List of all used names to avoid conflicts
|
|
1296
|
+
const allUsedNames = new Set(RESERVED_NAMES);
|
|
1297
|
+
|
|
1298
|
+
// Generate source code and analyse scopes
|
|
1299
|
+
// Prepare a ReplaceSource for the final source
|
|
1300
|
+
for (const info of moduleToInfoMap.values()) {
|
|
1301
|
+
this._analyseModule(
|
|
1302
|
+
moduleToInfoMap,
|
|
1303
|
+
info,
|
|
1304
|
+
dependencyTemplates,
|
|
1305
|
+
runtimeTemplate,
|
|
1306
|
+
moduleGraph,
|
|
1307
|
+
chunkGraph,
|
|
1308
|
+
runtime,
|
|
1309
|
+
runtimes,
|
|
1310
|
+
/** @type {CodeGenerationResults} */
|
|
1311
|
+
(codeGenerationResults),
|
|
1312
|
+
allUsedNames
|
|
1313
|
+
);
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
// Updated Top level declarations are created by renaming
|
|
1317
|
+
/** @type {TopLevelDeclarations} */
|
|
1318
|
+
const topLevelDeclarations = new Set();
|
|
1319
|
+
|
|
1320
|
+
// List of additional names in scope for module references
|
|
1321
|
+
/** @type {Map<string, ScopeInfo>} */
|
|
1322
|
+
const usedNamesInScopeInfo = new Map();
|
|
1323
|
+
|
|
1324
|
+
// Set of already checked scopes
|
|
1325
|
+
/** @type {Set<Scope>} */
|
|
1326
|
+
const ignoredScopes = new Set();
|
|
1327
|
+
|
|
1328
|
+
// get all global names
|
|
1329
|
+
for (const info of modulesWithInfo) {
|
|
1330
|
+
if (info.type === "concatenated") {
|
|
1331
|
+
// ignore symbols from moduleScope
|
|
1332
|
+
if (info.moduleScope) {
|
|
1333
|
+
ignoredScopes.add(info.moduleScope);
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
// The super class expression in class scopes behaves weird
|
|
1337
|
+
// We get ranges of all super class expressions to make
|
|
1338
|
+
// renaming to work correctly
|
|
1339
|
+
/** @typedef {{ range: Range, variables: Variable[] }} ClassInfo */
|
|
1340
|
+
/** @type {WeakMap<Scope, ClassInfo[]>} */
|
|
1341
|
+
const superClassCache = new WeakMap();
|
|
1342
|
+
/**
|
|
1343
|
+
* @param {Scope} scope scope
|
|
1344
|
+
* @returns {ClassInfo[]} result
|
|
1345
|
+
*/
|
|
1346
|
+
const getSuperClassExpressions = (scope) => {
|
|
1347
|
+
const cacheEntry = superClassCache.get(scope);
|
|
1348
|
+
if (cacheEntry !== undefined) return cacheEntry;
|
|
1349
|
+
/** @type {ClassInfo[]} */
|
|
1350
|
+
const superClassExpressions = [];
|
|
1351
|
+
for (const childScope of scope.childScopes) {
|
|
1352
|
+
if (childScope.type !== "class") continue;
|
|
1353
|
+
const block = childScope.block;
|
|
1354
|
+
if (
|
|
1355
|
+
(block.type === "ClassDeclaration" ||
|
|
1356
|
+
block.type === "ClassExpression") &&
|
|
1357
|
+
block.superClass
|
|
1358
|
+
) {
|
|
1359
|
+
superClassExpressions.push({
|
|
1360
|
+
range: /** @type {Range} */ (block.superClass.range),
|
|
1361
|
+
variables: childScope.variables
|
|
1362
|
+
});
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
superClassCache.set(scope, superClassExpressions);
|
|
1366
|
+
return superClassExpressions;
|
|
1367
|
+
};
|
|
1368
|
+
|
|
1369
|
+
// add global symbols
|
|
1370
|
+
if (info.globalScope) {
|
|
1371
|
+
for (const reference of info.globalScope.through) {
|
|
1372
|
+
const name = reference.identifier.name;
|
|
1373
|
+
if (ConcatenationScope.isModuleReference(name)) {
|
|
1374
|
+
const match = ConcatenationScope.matchModuleReference(name);
|
|
1375
|
+
if (!match) continue;
|
|
1376
|
+
const referencedInfo = modulesWithInfo[match.index];
|
|
1377
|
+
if (referencedInfo.type === "reference") {
|
|
1378
|
+
throw new Error("Module reference can't point to a reference");
|
|
1379
|
+
}
|
|
1380
|
+
const binding = getFinalBinding(
|
|
1381
|
+
moduleGraph,
|
|
1382
|
+
referencedInfo,
|
|
1383
|
+
match.ids,
|
|
1384
|
+
moduleToInfoMap,
|
|
1385
|
+
runtime,
|
|
1386
|
+
requestShortener,
|
|
1387
|
+
runtimeTemplate,
|
|
1388
|
+
neededNamespaceObjects,
|
|
1389
|
+
false,
|
|
1390
|
+
match.deferredImport,
|
|
1391
|
+
/** @type {BuildMeta} */
|
|
1392
|
+
(info.module.buildMeta).strictHarmonyModule,
|
|
1393
|
+
true
|
|
1394
|
+
);
|
|
1395
|
+
if (!binding.ids) continue;
|
|
1396
|
+
const { usedNames, alreadyCheckedScopes } =
|
|
1397
|
+
getUsedNamesInScopeInfo(
|
|
1398
|
+
usedNamesInScopeInfo,
|
|
1399
|
+
binding.info.module.identifier(),
|
|
1400
|
+
"name" in binding ? binding.name : ""
|
|
1401
|
+
);
|
|
1402
|
+
for (const expr of getSuperClassExpressions(reference.from)) {
|
|
1403
|
+
if (
|
|
1404
|
+
expr.range[0] <=
|
|
1405
|
+
/** @type {Range} */ (reference.identifier.range)[0] &&
|
|
1406
|
+
expr.range[1] >=
|
|
1407
|
+
/** @type {Range} */ (reference.identifier.range)[1]
|
|
1408
|
+
) {
|
|
1409
|
+
for (const variable of expr.variables) {
|
|
1410
|
+
usedNames.add(variable.name);
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
addScopeSymbols(
|
|
1415
|
+
reference.from,
|
|
1416
|
+
usedNames,
|
|
1417
|
+
alreadyCheckedScopes,
|
|
1418
|
+
ignoredScopes
|
|
1419
|
+
);
|
|
1420
|
+
} else {
|
|
1421
|
+
allUsedNames.add(name);
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* @param {string} name the name to find a new name for
|
|
1430
|
+
* @param {ConcatenatedModuleInfo} info the info of the module
|
|
1431
|
+
* @param {Reference[]} references the references to the name
|
|
1432
|
+
* @returns {string | undefined} the new name or undefined if the name is not found
|
|
1433
|
+
*/
|
|
1434
|
+
const _findNewName = (name, info, references) => {
|
|
1435
|
+
const { usedNames, alreadyCheckedScopes } = getUsedNamesInScopeInfo(
|
|
1436
|
+
usedNamesInScopeInfo,
|
|
1437
|
+
info.module.identifier(),
|
|
1438
|
+
name
|
|
1439
|
+
);
|
|
1440
|
+
if (allUsedNames.has(name) || usedNames.has(name)) {
|
|
1441
|
+
for (const ref of references) {
|
|
1442
|
+
addScopeSymbols(
|
|
1443
|
+
ref.from,
|
|
1444
|
+
usedNames,
|
|
1445
|
+
alreadyCheckedScopes,
|
|
1446
|
+
ignoredScopes
|
|
1447
|
+
);
|
|
1448
|
+
}
|
|
1449
|
+
const newName = findNewName(
|
|
1450
|
+
name,
|
|
1451
|
+
allUsedNames,
|
|
1452
|
+
usedNames,
|
|
1453
|
+
info.module.readableIdentifier(requestShortener)
|
|
1454
|
+
);
|
|
1455
|
+
allUsedNames.add(newName);
|
|
1456
|
+
info.internalNames.set(name, newName);
|
|
1457
|
+
topLevelDeclarations.add(newName);
|
|
1458
|
+
return newName;
|
|
1459
|
+
}
|
|
1460
|
+
};
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* @param {string} name the name to find a new name for
|
|
1464
|
+
* @param {ConcatenatedModuleInfo} info the info of the module
|
|
1465
|
+
* @param {Reference[]} references the references to the name
|
|
1466
|
+
* @returns {string | undefined} the new name or undefined if the name is not found
|
|
1467
|
+
*/
|
|
1468
|
+
const _findNewNameForSpecifier = (name, info, references) => {
|
|
1469
|
+
const { usedNames: moduleUsedNames, alreadyCheckedScopes } =
|
|
1470
|
+
getUsedNamesInScopeInfo(
|
|
1471
|
+
usedNamesInScopeInfo,
|
|
1472
|
+
info.module.identifier(),
|
|
1473
|
+
name
|
|
1474
|
+
);
|
|
1475
|
+
/** @type {UsedNames} */
|
|
1476
|
+
const referencesUsedNames = new Set();
|
|
1477
|
+
for (const ref of references) {
|
|
1478
|
+
addScopeSymbols(
|
|
1479
|
+
ref.from,
|
|
1480
|
+
referencesUsedNames,
|
|
1481
|
+
alreadyCheckedScopes,
|
|
1482
|
+
ignoredScopes
|
|
1483
|
+
);
|
|
1484
|
+
}
|
|
1485
|
+
if (moduleUsedNames.has(name) || referencesUsedNames.has(name)) {
|
|
1486
|
+
const newName = findNewName(
|
|
1487
|
+
name,
|
|
1488
|
+
allUsedNames,
|
|
1489
|
+
new Set([...moduleUsedNames, ...referencesUsedNames]),
|
|
1490
|
+
info.module.readableIdentifier(requestShortener)
|
|
1491
|
+
);
|
|
1492
|
+
allUsedNames.add(newName);
|
|
1493
|
+
topLevelDeclarations.add(newName);
|
|
1494
|
+
return newName;
|
|
1495
|
+
}
|
|
1496
|
+
};
|
|
1497
|
+
|
|
1498
|
+
// generate names for symbols
|
|
1499
|
+
for (const info of moduleToInfoMap.values()) {
|
|
1500
|
+
const { usedNames: namespaceObjectUsedNames } = getUsedNamesInScopeInfo(
|
|
1501
|
+
usedNamesInScopeInfo,
|
|
1502
|
+
info.module.identifier(),
|
|
1503
|
+
""
|
|
1504
|
+
);
|
|
1505
|
+
switch (info.type) {
|
|
1506
|
+
case "concatenated": {
|
|
1507
|
+
const variables = /** @type {Scope} */ (info.moduleScope).variables;
|
|
1508
|
+
for (const variable of variables) {
|
|
1509
|
+
const name = variable.name;
|
|
1510
|
+
const references = getAllReferences(variable);
|
|
1511
|
+
const newName = _findNewName(name, info, references);
|
|
1512
|
+
if (newName) {
|
|
1513
|
+
const source = /** @type {ReplaceSource} */ (info.source);
|
|
1514
|
+
const allIdentifiers = new Set([
|
|
1515
|
+
...references.map((r) => r.identifier),
|
|
1516
|
+
...variable.identifiers
|
|
1517
|
+
]);
|
|
1518
|
+
for (const identifier of allIdentifiers) {
|
|
1519
|
+
const r = /** @type {Range} */ (identifier.range);
|
|
1520
|
+
const path = getPathInAst(
|
|
1521
|
+
/** @type {NonNullable<ConcatenatedModuleInfo["ast"]>} */
|
|
1522
|
+
(info.ast),
|
|
1523
|
+
identifier
|
|
1524
|
+
);
|
|
1525
|
+
if (path && path.length > 1) {
|
|
1526
|
+
const maybeProperty =
|
|
1527
|
+
path[1].type === "AssignmentPattern" &&
|
|
1528
|
+
path[1].left === path[0]
|
|
1529
|
+
? path[2]
|
|
1530
|
+
: path[1];
|
|
1531
|
+
if (
|
|
1532
|
+
maybeProperty.type === "Property" &&
|
|
1533
|
+
maybeProperty.shorthand
|
|
1534
|
+
) {
|
|
1535
|
+
source.insert(r[1], `: ${newName}`);
|
|
1536
|
+
continue;
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
source.replace(r[0], r[1] - 1, newName);
|
|
1540
|
+
}
|
|
1541
|
+
} else {
|
|
1542
|
+
allUsedNames.add(name);
|
|
1543
|
+
info.internalNames.set(name, name);
|
|
1544
|
+
topLevelDeclarations.add(name);
|
|
1545
|
+
}
|
|
1546
|
+
}
|
|
1547
|
+
/** @type {string} */
|
|
1548
|
+
let namespaceObjectName;
|
|
1549
|
+
if (info.namespaceExportSymbol) {
|
|
1550
|
+
namespaceObjectName =
|
|
1551
|
+
/** @type {string} */
|
|
1552
|
+
(info.internalNames.get(info.namespaceExportSymbol));
|
|
1553
|
+
} else {
|
|
1554
|
+
namespaceObjectName = findNewName(
|
|
1555
|
+
"namespaceObject",
|
|
1556
|
+
allUsedNames,
|
|
1557
|
+
namespaceObjectUsedNames,
|
|
1558
|
+
info.module.readableIdentifier(requestShortener)
|
|
1559
|
+
);
|
|
1560
|
+
allUsedNames.add(namespaceObjectName);
|
|
1561
|
+
}
|
|
1562
|
+
info.namespaceObjectName = namespaceObjectName;
|
|
1563
|
+
topLevelDeclarations.add(namespaceObjectName);
|
|
1564
|
+
break;
|
|
1565
|
+
}
|
|
1566
|
+
case "external": {
|
|
1567
|
+
const externalName = findNewName(
|
|
1568
|
+
"",
|
|
1569
|
+
allUsedNames,
|
|
1570
|
+
namespaceObjectUsedNames,
|
|
1571
|
+
info.module.readableIdentifier(requestShortener)
|
|
1572
|
+
);
|
|
1573
|
+
allUsedNames.add(externalName);
|
|
1574
|
+
info.name = externalName;
|
|
1575
|
+
topLevelDeclarations.add(externalName);
|
|
1576
|
+
|
|
1577
|
+
if (info.deferred) {
|
|
1578
|
+
const externalName = findNewName(
|
|
1579
|
+
"deferred",
|
|
1580
|
+
allUsedNames,
|
|
1581
|
+
namespaceObjectUsedNames,
|
|
1582
|
+
info.module.readableIdentifier(requestShortener)
|
|
1583
|
+
);
|
|
1584
|
+
allUsedNames.add(externalName);
|
|
1585
|
+
info.deferredName = externalName;
|
|
1586
|
+
topLevelDeclarations.add(externalName);
|
|
1587
|
+
|
|
1588
|
+
const externalNameInterop = findNewName(
|
|
1589
|
+
"deferredNamespaceObject",
|
|
1590
|
+
allUsedNames,
|
|
1591
|
+
namespaceObjectUsedNames,
|
|
1592
|
+
info.module.readableIdentifier(requestShortener)
|
|
1593
|
+
);
|
|
1594
|
+
allUsedNames.add(externalNameInterop);
|
|
1595
|
+
info.deferredNamespaceObjectName = externalNameInterop;
|
|
1596
|
+
topLevelDeclarations.add(externalNameInterop);
|
|
1597
|
+
}
|
|
1598
|
+
break;
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
const buildMeta = /** @type {BuildMeta} */ (info.module.buildMeta);
|
|
1602
|
+
if (buildMeta.exportsType !== "namespace") {
|
|
1603
|
+
const externalNameInterop = findNewName(
|
|
1604
|
+
"namespaceObject",
|
|
1605
|
+
allUsedNames,
|
|
1606
|
+
namespaceObjectUsedNames,
|
|
1607
|
+
info.module.readableIdentifier(requestShortener)
|
|
1608
|
+
);
|
|
1609
|
+
allUsedNames.add(externalNameInterop);
|
|
1610
|
+
info.interopNamespaceObjectName = externalNameInterop;
|
|
1611
|
+
topLevelDeclarations.add(externalNameInterop);
|
|
1612
|
+
}
|
|
1613
|
+
if (
|
|
1614
|
+
buildMeta.exportsType === "default" &&
|
|
1615
|
+
buildMeta.defaultObject !== "redirect" &&
|
|
1616
|
+
info.interopNamespaceObject2Used
|
|
1617
|
+
) {
|
|
1618
|
+
const externalNameInterop = findNewName(
|
|
1619
|
+
"namespaceObject2",
|
|
1620
|
+
allUsedNames,
|
|
1621
|
+
namespaceObjectUsedNames,
|
|
1622
|
+
info.module.readableIdentifier(requestShortener)
|
|
1623
|
+
);
|
|
1624
|
+
allUsedNames.add(externalNameInterop);
|
|
1625
|
+
info.interopNamespaceObject2Name = externalNameInterop;
|
|
1626
|
+
topLevelDeclarations.add(externalNameInterop);
|
|
1627
|
+
}
|
|
1628
|
+
if (buildMeta.exportsType === "dynamic" || !buildMeta.exportsType) {
|
|
1629
|
+
const externalNameInterop = findNewName(
|
|
1630
|
+
"default",
|
|
1631
|
+
allUsedNames,
|
|
1632
|
+
namespaceObjectUsedNames,
|
|
1633
|
+
info.module.readableIdentifier(requestShortener)
|
|
1634
|
+
);
|
|
1635
|
+
allUsedNames.add(externalNameInterop);
|
|
1636
|
+
info.interopDefaultAccessName = externalNameInterop;
|
|
1637
|
+
topLevelDeclarations.add(externalNameInterop);
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
// Find and replace references to modules
|
|
1642
|
+
for (const info of moduleToInfoMap.values()) {
|
|
1643
|
+
if (info.type === "concatenated") {
|
|
1644
|
+
const globalScope = /** @type {Scope} */ (info.globalScope);
|
|
1645
|
+
// group references by name
|
|
1646
|
+
/** @type {Map<string, Reference[]>} */
|
|
1647
|
+
const referencesByName = new Map();
|
|
1648
|
+
for (const reference of globalScope.through) {
|
|
1649
|
+
const name = reference.identifier.name;
|
|
1650
|
+
if (!referencesByName.has(name)) {
|
|
1651
|
+
referencesByName.set(name, []);
|
|
1652
|
+
}
|
|
1653
|
+
/** @type {Reference[]} */
|
|
1654
|
+
(referencesByName.get(name)).push(reference);
|
|
1655
|
+
}
|
|
1656
|
+
for (const [name, references] of referencesByName) {
|
|
1657
|
+
const match = ConcatenationScope.matchModuleReference(name);
|
|
1658
|
+
if (match) {
|
|
1659
|
+
const referencedInfo = modulesWithInfo[match.index];
|
|
1660
|
+
if (referencedInfo.type === "reference") {
|
|
1661
|
+
throw new Error("Module reference can't point to a reference");
|
|
1662
|
+
}
|
|
1663
|
+
const concatenationScope = /** @type {ConcatenatedModuleInfo} */ (
|
|
1664
|
+
referencedInfo
|
|
1665
|
+
).concatenationScope;
|
|
1666
|
+
const exportId = match.ids[0];
|
|
1667
|
+
const specifier =
|
|
1668
|
+
concatenationScope && concatenationScope.getRawExport(exportId);
|
|
1669
|
+
if (specifier) {
|
|
1670
|
+
const newName = _findNewNameForSpecifier(
|
|
1671
|
+
specifier,
|
|
1672
|
+
info,
|
|
1673
|
+
references
|
|
1674
|
+
);
|
|
1675
|
+
const initFragmentChanged =
|
|
1676
|
+
newName &&
|
|
1677
|
+
concatenatedModuleInfo.call(
|
|
1678
|
+
{
|
|
1679
|
+
rawExportMap: new Map([
|
|
1680
|
+
[exportId, /** @type {string} */ (newName)]
|
|
1681
|
+
])
|
|
1682
|
+
},
|
|
1683
|
+
/** @type {ConcatenatedModuleInfo} */ (referencedInfo)
|
|
1684
|
+
);
|
|
1685
|
+
if (initFragmentChanged) {
|
|
1686
|
+
concatenationScope.setRawExportMap(exportId, newName);
|
|
1687
|
+
}
|
|
1688
|
+
}
|
|
1689
|
+
const finalName = getFinalName(
|
|
1690
|
+
moduleGraph,
|
|
1691
|
+
referencedInfo,
|
|
1692
|
+
match.ids,
|
|
1693
|
+
moduleToInfoMap,
|
|
1694
|
+
runtime,
|
|
1695
|
+
requestShortener,
|
|
1696
|
+
runtimeTemplate,
|
|
1697
|
+
neededNamespaceObjects,
|
|
1698
|
+
match.call,
|
|
1699
|
+
match.deferredImport,
|
|
1700
|
+
!match.directImport,
|
|
1701
|
+
/** @type {BuildMeta} */
|
|
1702
|
+
(info.module.buildMeta).strictHarmonyModule,
|
|
1703
|
+
match.asiSafe
|
|
1704
|
+
);
|
|
1705
|
+
|
|
1706
|
+
for (const reference of references) {
|
|
1707
|
+
const r = /** @type {Range} */ (reference.identifier.range);
|
|
1708
|
+
const source = /** @type {ReplaceSource} */ (info.source);
|
|
1709
|
+
// range is extended by 2 chars to cover the appended "._"
|
|
1710
|
+
source.replace(r[0], r[1] + 1, finalName);
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
// Map with all root exposed used exports
|
|
1718
|
+
/** @type {Map<string, (requestShortener: RequestShortener) => string>} */
|
|
1719
|
+
const exportsMap = new Map();
|
|
1720
|
+
|
|
1721
|
+
// Set with all root exposed unused exports
|
|
1722
|
+
/** @type {Set<string>} */
|
|
1723
|
+
const unusedExports = new Set();
|
|
1724
|
+
|
|
1725
|
+
const rootInfo =
|
|
1726
|
+
/** @type {ConcatenatedModuleInfo} */
|
|
1727
|
+
(moduleToInfoMap.get(this.rootModule));
|
|
1728
|
+
const strictHarmonyModule =
|
|
1729
|
+
/** @type {BuildMeta} */
|
|
1730
|
+
(rootInfo.module.buildMeta).strictHarmonyModule;
|
|
1731
|
+
const exportsInfo = moduleGraph.getExportsInfo(rootInfo.module);
|
|
1732
|
+
/** @type {Record<string, string>} */
|
|
1733
|
+
const exportsFinalName = {};
|
|
1734
|
+
for (const exportInfo of exportsInfo.orderedExports) {
|
|
1735
|
+
const name = exportInfo.name;
|
|
1736
|
+
if (exportInfo.provided === false) continue;
|
|
1737
|
+
const used = exportInfo.getUsedName(undefined, runtime);
|
|
1738
|
+
if (!used) {
|
|
1739
|
+
unusedExports.add(name);
|
|
1740
|
+
continue;
|
|
1741
|
+
}
|
|
1742
|
+
exportsMap.set(used, (requestShortener) => {
|
|
1743
|
+
try {
|
|
1744
|
+
const finalName = getFinalName(
|
|
1745
|
+
moduleGraph,
|
|
1746
|
+
rootInfo,
|
|
1747
|
+
[name],
|
|
1748
|
+
moduleToInfoMap,
|
|
1749
|
+
runtime,
|
|
1750
|
+
requestShortener,
|
|
1751
|
+
runtimeTemplate,
|
|
1752
|
+
neededNamespaceObjects,
|
|
1753
|
+
false,
|
|
1754
|
+
false,
|
|
1755
|
+
false,
|
|
1756
|
+
strictHarmonyModule,
|
|
1757
|
+
true
|
|
1758
|
+
);
|
|
1759
|
+
exportsFinalName[used] = finalName;
|
|
1760
|
+
return `/* ${
|
|
1761
|
+
exportInfo.isReexport() ? "reexport" : "binding"
|
|
1762
|
+
} */ ${finalName}`;
|
|
1763
|
+
} catch (err) {
|
|
1764
|
+
/** @type {Error} */
|
|
1765
|
+
(err).message +=
|
|
1766
|
+
`\nwhile generating the root export '${name}' (used name: '${used}')`;
|
|
1767
|
+
throw err;
|
|
1768
|
+
}
|
|
1769
|
+
});
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
const result = new ConcatSource();
|
|
1773
|
+
|
|
1774
|
+
// add harmony compatibility flag (must be first because of possible circular dependencies)
|
|
1775
|
+
let shouldAddHarmonyFlag = false;
|
|
1776
|
+
const rootExportsInfo = moduleGraph.getExportsInfo(this);
|
|
1777
|
+
if (
|
|
1778
|
+
rootExportsInfo.otherExportsInfo.getUsed(runtime) !== UsageState.Unused ||
|
|
1779
|
+
rootExportsInfo.getReadOnlyExportInfo("__esModule").getUsed(runtime) !==
|
|
1780
|
+
UsageState.Unused
|
|
1781
|
+
) {
|
|
1782
|
+
shouldAddHarmonyFlag = true;
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
// define exports
|
|
1786
|
+
if (exportsMap.size > 0) {
|
|
1787
|
+
/** @type {string[]} */
|
|
1788
|
+
const definitions = [];
|
|
1789
|
+
for (const [key, value] of exportsMap) {
|
|
1790
|
+
definitions.push(
|
|
1791
|
+
`\n ${propertyName(key)}: ${runtimeTemplate.returningFunction(
|
|
1792
|
+
value(requestShortener)
|
|
1793
|
+
)}`
|
|
1794
|
+
);
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
runtimeRequirements.add(RuntimeGlobals.exports);
|
|
1798
|
+
runtimeRequirements.add(RuntimeGlobals.definePropertyGetters);
|
|
1799
|
+
|
|
1800
|
+
if (shouldAddHarmonyFlag) {
|
|
1801
|
+
result.add("// ESM COMPAT FLAG\n");
|
|
1802
|
+
result.add(
|
|
1803
|
+
runtimeTemplate.defineEsModuleFlagStatement({
|
|
1804
|
+
exportsArgument: this.exportsArgument,
|
|
1805
|
+
runtimeRequirements
|
|
1806
|
+
})
|
|
1807
|
+
);
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
const exportsSource =
|
|
1811
|
+
"\n// EXPORTS\n" +
|
|
1812
|
+
`${RuntimeGlobals.definePropertyGetters}(${this.exportsArgument}, {${definitions.join(
|
|
1813
|
+
","
|
|
1814
|
+
)}\n});\n`;
|
|
1815
|
+
|
|
1816
|
+
const { onDemandExportsGeneration } =
|
|
1817
|
+
ConcatenatedModule.getCompilationHooks(this.compilation);
|
|
1818
|
+
|
|
1819
|
+
if (
|
|
1820
|
+
!onDemandExportsGeneration.call(
|
|
1821
|
+
this,
|
|
1822
|
+
runtimes,
|
|
1823
|
+
exportsSource,
|
|
1824
|
+
exportsFinalName
|
|
1825
|
+
)
|
|
1826
|
+
) {
|
|
1827
|
+
result.add(exportsSource);
|
|
1828
|
+
}
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
// list unused exports
|
|
1832
|
+
if (unusedExports.size > 0) {
|
|
1833
|
+
result.add(
|
|
1834
|
+
`\n// UNUSED EXPORTS: ${joinIterableWithComma(unusedExports)}\n`
|
|
1835
|
+
);
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
// generate namespace objects
|
|
1839
|
+
/** @type {Map<ConcatenatedModuleInfo, string>} */
|
|
1840
|
+
const namespaceObjectSources = new Map();
|
|
1841
|
+
for (const info of neededNamespaceObjects) {
|
|
1842
|
+
if (info.namespaceExportSymbol) continue;
|
|
1843
|
+
/** @type {string[]} */
|
|
1844
|
+
const nsObj = [];
|
|
1845
|
+
const exportsInfo = moduleGraph.getExportsInfo(info.module);
|
|
1846
|
+
for (const exportInfo of exportsInfo.orderedExports) {
|
|
1847
|
+
if (exportInfo.provided === false) continue;
|
|
1848
|
+
const usedName = exportInfo.getUsedName(undefined, runtime);
|
|
1849
|
+
if (usedName) {
|
|
1850
|
+
const finalName = getFinalName(
|
|
1851
|
+
moduleGraph,
|
|
1852
|
+
info,
|
|
1853
|
+
[exportInfo.name],
|
|
1854
|
+
moduleToInfoMap,
|
|
1855
|
+
runtime,
|
|
1856
|
+
requestShortener,
|
|
1857
|
+
runtimeTemplate,
|
|
1858
|
+
neededNamespaceObjects,
|
|
1859
|
+
false,
|
|
1860
|
+
false,
|
|
1861
|
+
undefined,
|
|
1862
|
+
/** @type {BuildMeta} */
|
|
1863
|
+
(info.module.buildMeta).strictHarmonyModule,
|
|
1864
|
+
true
|
|
1865
|
+
);
|
|
1866
|
+
nsObj.push(
|
|
1867
|
+
`\n ${propertyName(usedName)}: ${runtimeTemplate.returningFunction(
|
|
1868
|
+
finalName
|
|
1869
|
+
)}`
|
|
1870
|
+
);
|
|
1871
|
+
}
|
|
1872
|
+
}
|
|
1873
|
+
const name = info.namespaceObjectName;
|
|
1874
|
+
const defineGetters =
|
|
1875
|
+
nsObj.length > 0
|
|
1876
|
+
? `${RuntimeGlobals.definePropertyGetters}(${name}, {${nsObj.join(
|
|
1877
|
+
","
|
|
1878
|
+
)}\n});\n`
|
|
1879
|
+
: "";
|
|
1880
|
+
if (nsObj.length > 0) {
|
|
1881
|
+
runtimeRequirements.add(RuntimeGlobals.definePropertyGetters);
|
|
1882
|
+
}
|
|
1883
|
+
namespaceObjectSources.set(
|
|
1884
|
+
info,
|
|
1885
|
+
`
|
|
1886
|
+
// NAMESPACE OBJECT: ${info.module.readableIdentifier(requestShortener)}
|
|
1887
|
+
var ${name} = {};
|
|
1888
|
+
${RuntimeGlobals.makeNamespaceObject}(${name});
|
|
1889
|
+
${defineGetters}`
|
|
1890
|
+
);
|
|
1891
|
+
runtimeRequirements.add(RuntimeGlobals.makeNamespaceObject);
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
// define required namespace objects (must be before evaluation modules)
|
|
1895
|
+
for (const info of modulesWithInfo) {
|
|
1896
|
+
if (info.type === "concatenated") {
|
|
1897
|
+
const source = namespaceObjectSources.get(info);
|
|
1898
|
+
if (!source) continue;
|
|
1899
|
+
result.add(source);
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
if (info.type === "external" && info.deferred) {
|
|
1903
|
+
const moduleId = JSON.stringify(chunkGraph.getModuleId(info.module));
|
|
1904
|
+
const loader = getOptimizedDeferredModule(
|
|
1905
|
+
moduleId,
|
|
1906
|
+
info.module.getExportsType(
|
|
1907
|
+
moduleGraph,
|
|
1908
|
+
/** @type {BuildMeta} */
|
|
1909
|
+
(this.rootModule.buildMeta).strictHarmonyModule
|
|
1910
|
+
),
|
|
1911
|
+
// an async module will opt-out of the concat module optimization.
|
|
1912
|
+
[],
|
|
1913
|
+
runtimeRequirements
|
|
1914
|
+
);
|
|
1915
|
+
runtimeRequirements.add(RuntimeGlobals.require);
|
|
1916
|
+
result.add(
|
|
1917
|
+
`\n// DEFERRED EXTERNAL MODULE: ${info.module.readableIdentifier(requestShortener)}\nvar ${info.deferredName} = ${loader};`
|
|
1918
|
+
);
|
|
1919
|
+
if (info.deferredNamespaceObjectUsed) {
|
|
1920
|
+
runtimeRequirements.add(RuntimeGlobals.makeDeferredNamespaceObject);
|
|
1921
|
+
result.add(
|
|
1922
|
+
`\nvar ${info.deferredNamespaceObjectName} = /*#__PURE__*/${
|
|
1923
|
+
RuntimeGlobals.makeDeferredNamespaceObject
|
|
1924
|
+
}(${JSON.stringify(
|
|
1925
|
+
chunkGraph.getModuleId(info.module)
|
|
1926
|
+
)}, ${getMakeDeferredNamespaceModeFromExportsType(
|
|
1927
|
+
info.module.getExportsType(moduleGraph, strictHarmonyModule)
|
|
1928
|
+
)});`
|
|
1929
|
+
);
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
/** @type {InitFragment<ChunkRenderContext>[]} */
|
|
1935
|
+
const chunkInitFragments = [];
|
|
1936
|
+
|
|
1937
|
+
// evaluate modules in order
|
|
1938
|
+
for (const rawInfo of modulesWithInfo) {
|
|
1939
|
+
/** @type {undefined | string} */
|
|
1940
|
+
let name;
|
|
1941
|
+
let isConditional = false;
|
|
1942
|
+
const info = rawInfo.type === "reference" ? rawInfo.target : rawInfo;
|
|
1943
|
+
switch (info.type) {
|
|
1944
|
+
case "concatenated": {
|
|
1945
|
+
result.add(
|
|
1946
|
+
`\n;// ${info.module.readableIdentifier(requestShortener)}\n`
|
|
1947
|
+
);
|
|
1948
|
+
result.add(/** @type {ReplaceSource} */ (info.source));
|
|
1949
|
+
if (info.chunkInitFragments) {
|
|
1950
|
+
for (const f of info.chunkInitFragments) chunkInitFragments.push(f);
|
|
1951
|
+
}
|
|
1952
|
+
if (info.runtimeRequirements) {
|
|
1953
|
+
for (const r of info.runtimeRequirements) {
|
|
1954
|
+
runtimeRequirements.add(r);
|
|
1955
|
+
}
|
|
1956
|
+
}
|
|
1957
|
+
name = info.namespaceObjectName;
|
|
1958
|
+
break;
|
|
1959
|
+
}
|
|
1960
|
+
case "external": {
|
|
1961
|
+
// deferred case is handled in the "const info of modulesWithInfo" loop above
|
|
1962
|
+
if (!info.deferred) {
|
|
1963
|
+
result.add(
|
|
1964
|
+
`\n// EXTERNAL MODULE: ${info.module.readableIdentifier(
|
|
1965
|
+
requestShortener
|
|
1966
|
+
)}\n`
|
|
1967
|
+
);
|
|
1968
|
+
runtimeRequirements.add(RuntimeGlobals.require);
|
|
1969
|
+
const { runtimeCondition } =
|
|
1970
|
+
/** @type {ExternalModuleInfo | ReferenceToModuleInfo} */
|
|
1971
|
+
(rawInfo);
|
|
1972
|
+
const condition = runtimeTemplate.runtimeConditionExpression({
|
|
1973
|
+
chunkGraph,
|
|
1974
|
+
runtimeCondition,
|
|
1975
|
+
runtime,
|
|
1976
|
+
runtimeRequirements
|
|
1977
|
+
});
|
|
1978
|
+
if (condition !== "true") {
|
|
1979
|
+
isConditional = true;
|
|
1980
|
+
result.add(`if (${condition}) {\n`);
|
|
1981
|
+
}
|
|
1982
|
+
const moduleId = JSON.stringify(
|
|
1983
|
+
chunkGraph.getModuleId(info.module)
|
|
1984
|
+
);
|
|
1985
|
+
result.add(`var ${info.name} = __webpack_require__(${moduleId});`);
|
|
1986
|
+
name = info.name;
|
|
1987
|
+
}
|
|
1988
|
+
// If a module is deferred in other places, but used as non-deferred here,
|
|
1989
|
+
// the module itself will be emitted as mod_deferred (in the case "external"),
|
|
1990
|
+
// we need to emit an extra import declaration to evaluate it in order.
|
|
1991
|
+
const { nonDeferAccess } =
|
|
1992
|
+
/** @type {ExternalModuleInfo | ReferenceToModuleInfo} */
|
|
1993
|
+
(rawInfo);
|
|
1994
|
+
if (info.deferred && nonDeferAccess) {
|
|
1995
|
+
result.add(
|
|
1996
|
+
`\n// non-deferred import to a deferred module (${info.module.readableIdentifier(requestShortener)})\nvar ${info.name} = ${info.deferredName}.a;`
|
|
1997
|
+
);
|
|
1998
|
+
}
|
|
1999
|
+
break;
|
|
2000
|
+
}
|
|
2001
|
+
default:
|
|
2002
|
+
// @ts-expect-error never is expected here
|
|
2003
|
+
throw new Error(`Unsupported concatenation entry type ${info.type}`);
|
|
2004
|
+
}
|
|
2005
|
+
if (info.interopNamespaceObjectUsed) {
|
|
2006
|
+
runtimeRequirements.add(RuntimeGlobals.createFakeNamespaceObject);
|
|
2007
|
+
result.add(
|
|
2008
|
+
`\nvar ${info.interopNamespaceObjectName} = /*#__PURE__*/${RuntimeGlobals.createFakeNamespaceObject}(${name}, 2);`
|
|
2009
|
+
);
|
|
2010
|
+
}
|
|
2011
|
+
if (info.interopNamespaceObject2Used) {
|
|
2012
|
+
runtimeRequirements.add(RuntimeGlobals.createFakeNamespaceObject);
|
|
2013
|
+
result.add(
|
|
2014
|
+
`\nvar ${info.interopNamespaceObject2Name} = /*#__PURE__*/${RuntimeGlobals.createFakeNamespaceObject}(${name});`
|
|
2015
|
+
);
|
|
2016
|
+
}
|
|
2017
|
+
if (info.interopDefaultAccessUsed) {
|
|
2018
|
+
runtimeRequirements.add(RuntimeGlobals.compatGetDefaultExport);
|
|
2019
|
+
result.add(
|
|
2020
|
+
`\nvar ${info.interopDefaultAccessName} = /*#__PURE__*/${RuntimeGlobals.compatGetDefaultExport}(${name});`
|
|
2021
|
+
);
|
|
2022
|
+
}
|
|
2023
|
+
if (isConditional) {
|
|
2024
|
+
result.add("\n}");
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
/** @type {CodeGenerationResultData} */
|
|
2029
|
+
const data = new Map();
|
|
2030
|
+
if (chunkInitFragments.length > 0) {
|
|
2031
|
+
data.set("chunkInitFragments", chunkInitFragments);
|
|
2032
|
+
}
|
|
2033
|
+
data.set("topLevelDeclarations", topLevelDeclarations);
|
|
2034
|
+
|
|
2035
|
+
/** @type {CodeGenerationResult} */
|
|
2036
|
+
const resultEntry = {
|
|
2037
|
+
sources: new Map([[JAVASCRIPT_TYPE, new CachedSource(result)]]),
|
|
2038
|
+
data,
|
|
2039
|
+
runtimeRequirements
|
|
2040
|
+
};
|
|
2041
|
+
|
|
2042
|
+
return resultEntry;
|
|
2043
|
+
}
|
|
2044
|
+
|
|
2045
|
+
/**
|
|
2046
|
+
* @param {ModuleToInfoMap} modulesMap modulesMap
|
|
2047
|
+
* @param {ModuleInfo} info info
|
|
2048
|
+
* @param {DependencyTemplates} dependencyTemplates dependencyTemplates
|
|
2049
|
+
* @param {RuntimeTemplate} runtimeTemplate runtimeTemplate
|
|
2050
|
+
* @param {ModuleGraph} moduleGraph moduleGraph
|
|
2051
|
+
* @param {ChunkGraph} chunkGraph chunkGraph
|
|
2052
|
+
* @param {RuntimeSpec} runtime runtime
|
|
2053
|
+
* @param {RuntimeSpec[]} runtimes runtimes
|
|
2054
|
+
* @param {CodeGenerationResults} codeGenerationResults codeGenerationResults
|
|
2055
|
+
* @param {UsedNames} usedNames used names
|
|
2056
|
+
*/
|
|
2057
|
+
_analyseModule(
|
|
2058
|
+
modulesMap,
|
|
2059
|
+
info,
|
|
2060
|
+
dependencyTemplates,
|
|
2061
|
+
runtimeTemplate,
|
|
2062
|
+
moduleGraph,
|
|
2063
|
+
chunkGraph,
|
|
2064
|
+
runtime,
|
|
2065
|
+
runtimes,
|
|
2066
|
+
codeGenerationResults,
|
|
2067
|
+
usedNames
|
|
2068
|
+
) {
|
|
2069
|
+
if (info.type === "concatenated") {
|
|
2070
|
+
const m = info.module;
|
|
2071
|
+
try {
|
|
2072
|
+
// Create a concatenation scope to track and capture information
|
|
2073
|
+
const concatenationScope = new ConcatenationScope(
|
|
2074
|
+
modulesMap,
|
|
2075
|
+
info,
|
|
2076
|
+
usedNames
|
|
2077
|
+
);
|
|
2078
|
+
|
|
2079
|
+
// TODO cache codeGeneration results
|
|
2080
|
+
const codeGenResult = m.codeGeneration({
|
|
2081
|
+
dependencyTemplates,
|
|
2082
|
+
runtimeTemplate,
|
|
2083
|
+
moduleGraph,
|
|
2084
|
+
chunkGraph,
|
|
2085
|
+
runtime,
|
|
2086
|
+
runtimes,
|
|
2087
|
+
concatenationScope,
|
|
2088
|
+
codeGenerationResults,
|
|
2089
|
+
sourceTypes: JAVASCRIPT_TYPES
|
|
2090
|
+
});
|
|
2091
|
+
const source =
|
|
2092
|
+
/** @type {Source} */
|
|
2093
|
+
(codeGenResult.sources.get(JAVASCRIPT_TYPE));
|
|
2094
|
+
const data = codeGenResult.data;
|
|
2095
|
+
const chunkInitFragments = data && data.get("chunkInitFragments");
|
|
2096
|
+
const code = source.source().toString();
|
|
2097
|
+
|
|
2098
|
+
/** @type {Program} */
|
|
2099
|
+
let ast;
|
|
2100
|
+
|
|
2101
|
+
try {
|
|
2102
|
+
({ ast } = JavascriptParser._parse(
|
|
2103
|
+
code,
|
|
2104
|
+
{
|
|
2105
|
+
sourceType: "module",
|
|
2106
|
+
ranges: true
|
|
2107
|
+
},
|
|
2108
|
+
JavascriptParser._getModuleParseFunction(this.compilation, m)
|
|
2109
|
+
));
|
|
2110
|
+
} catch (_err) {
|
|
2111
|
+
const err =
|
|
2112
|
+
/** @type {Error & { loc?: { line: number, column: number } }} */
|
|
2113
|
+
(_err);
|
|
2114
|
+
if (
|
|
2115
|
+
err.loc &&
|
|
2116
|
+
typeof err.loc === "object" &&
|
|
2117
|
+
typeof err.loc.line === "number"
|
|
2118
|
+
) {
|
|
2119
|
+
const lineNumber = err.loc.line;
|
|
2120
|
+
const lines = code.split("\n");
|
|
2121
|
+
err.message += `\n| ${lines
|
|
2122
|
+
.slice(Math.max(0, lineNumber - 3), lineNumber + 2)
|
|
2123
|
+
.join("\n| ")}`;
|
|
2124
|
+
}
|
|
2125
|
+
throw err;
|
|
2126
|
+
}
|
|
2127
|
+
const scopeManager = eslintScope.analyze(ast, {
|
|
2128
|
+
ecmaVersion: 6,
|
|
2129
|
+
sourceType: "module",
|
|
2130
|
+
optimistic: true,
|
|
2131
|
+
ignoreEval: true,
|
|
2132
|
+
impliedStrict: true
|
|
2133
|
+
});
|
|
2134
|
+
const globalScope = /** @type {Scope} */ (scopeManager.acquire(ast));
|
|
2135
|
+
const moduleScope = globalScope.childScopes[0];
|
|
2136
|
+
const resultSource = new ReplaceSource(source);
|
|
2137
|
+
info.runtimeRequirements =
|
|
2138
|
+
/** @type {ReadOnlyRuntimeRequirements} */
|
|
2139
|
+
(codeGenResult.runtimeRequirements);
|
|
2140
|
+
info.ast = ast;
|
|
2141
|
+
info.internalSource = source;
|
|
2142
|
+
info.source = resultSource;
|
|
2143
|
+
info.chunkInitFragments = chunkInitFragments;
|
|
2144
|
+
info.globalScope = globalScope;
|
|
2145
|
+
info.moduleScope = moduleScope;
|
|
2146
|
+
info.concatenationScope = concatenationScope;
|
|
2147
|
+
} catch (err) {
|
|
2148
|
+
/** @type {Error} */
|
|
2149
|
+
(err).message +=
|
|
2150
|
+
`\nwhile analyzing module ${m.identifier()} for concatenation`;
|
|
2151
|
+
throw err;
|
|
2152
|
+
}
|
|
2153
|
+
}
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
/**
|
|
2157
|
+
* @param {ModuleGraph} moduleGraph the module graph
|
|
2158
|
+
* @param {RuntimeSpec} runtime the runtime
|
|
2159
|
+
* @returns {[ModuleInfoOrReference[], ModuleToInfoMap]} module info items
|
|
2160
|
+
*/
|
|
2161
|
+
_getModulesWithInfo(moduleGraph, runtime) {
|
|
2162
|
+
const orderedConcatenationList = this._createConcatenationList(
|
|
2163
|
+
this.rootModule,
|
|
2164
|
+
this._modules,
|
|
2165
|
+
runtime,
|
|
2166
|
+
moduleGraph
|
|
2167
|
+
);
|
|
2168
|
+
/** @type {ModuleToInfoMap} */
|
|
2169
|
+
const map = new Map();
|
|
2170
|
+
const list = orderedConcatenationList.map((info, index) => {
|
|
2171
|
+
let item = map.get(info.module);
|
|
2172
|
+
if (item === undefined) {
|
|
2173
|
+
switch (info.type) {
|
|
2174
|
+
case "concatenated":
|
|
2175
|
+
item = {
|
|
2176
|
+
type: "concatenated",
|
|
2177
|
+
module: info.module,
|
|
2178
|
+
index,
|
|
2179
|
+
ast: undefined,
|
|
2180
|
+
internalSource: undefined,
|
|
2181
|
+
runtimeRequirements: undefined,
|
|
2182
|
+
source: undefined,
|
|
2183
|
+
globalScope: undefined,
|
|
2184
|
+
moduleScope: undefined,
|
|
2185
|
+
internalNames: new Map(),
|
|
2186
|
+
exportMap: undefined,
|
|
2187
|
+
rawExportMap: undefined,
|
|
2188
|
+
namespaceExportSymbol: undefined,
|
|
2189
|
+
namespaceObjectName: undefined,
|
|
2190
|
+
interopNamespaceObjectUsed: false,
|
|
2191
|
+
interopNamespaceObjectName: undefined,
|
|
2192
|
+
interopNamespaceObject2Used: false,
|
|
2193
|
+
interopNamespaceObject2Name: undefined,
|
|
2194
|
+
interopDefaultAccessUsed: false,
|
|
2195
|
+
interopDefaultAccessName: undefined,
|
|
2196
|
+
concatenationScope: undefined
|
|
2197
|
+
};
|
|
2198
|
+
break;
|
|
2199
|
+
case "external":
|
|
2200
|
+
item = {
|
|
2201
|
+
type: "external",
|
|
2202
|
+
module: info.module,
|
|
2203
|
+
runtimeCondition: info.runtimeCondition,
|
|
2204
|
+
nonDeferAccess: info.nonDeferAccess,
|
|
2205
|
+
index,
|
|
2206
|
+
name: undefined,
|
|
2207
|
+
deferredName: undefined,
|
|
2208
|
+
interopNamespaceObjectUsed: false,
|
|
2209
|
+
interopNamespaceObjectName: undefined,
|
|
2210
|
+
interopNamespaceObject2Used: false,
|
|
2211
|
+
interopNamespaceObject2Name: undefined,
|
|
2212
|
+
interopDefaultAccessUsed: false,
|
|
2213
|
+
interopDefaultAccessName: undefined,
|
|
2214
|
+
deferred: moduleGraph.isDeferred(info.module),
|
|
2215
|
+
deferredNamespaceObjectName: undefined,
|
|
2216
|
+
deferredNamespaceObjectUsed: false
|
|
2217
|
+
};
|
|
2218
|
+
break;
|
|
2219
|
+
default:
|
|
2220
|
+
throw new Error(
|
|
2221
|
+
`Unsupported concatenation entry type ${info.type}`
|
|
2222
|
+
);
|
|
2223
|
+
}
|
|
2224
|
+
map.set(
|
|
2225
|
+
/** @type {ModuleInfo} */ (item).module,
|
|
2226
|
+
/** @type {ModuleInfo} */ (item)
|
|
2227
|
+
);
|
|
2228
|
+
return /** @type {ModuleInfo} */ (item);
|
|
2229
|
+
}
|
|
2230
|
+
/** @type {ReferenceToModuleInfo} */
|
|
2231
|
+
const ref = {
|
|
2232
|
+
type: "reference",
|
|
2233
|
+
runtimeCondition: info.runtimeCondition,
|
|
2234
|
+
nonDeferAccess: info.nonDeferAccess,
|
|
2235
|
+
target: item
|
|
2236
|
+
};
|
|
2237
|
+
return ref;
|
|
2238
|
+
});
|
|
2239
|
+
return [list, map];
|
|
2240
|
+
}
|
|
2241
|
+
|
|
2242
|
+
/**
|
|
2243
|
+
* @param {Hash} hash the hash used to track dependencies
|
|
2244
|
+
* @param {UpdateHashContext} context context
|
|
2245
|
+
* @returns {void}
|
|
2246
|
+
*/
|
|
2247
|
+
updateHash(hash, context) {
|
|
2248
|
+
const { chunkGraph, runtime } = context;
|
|
2249
|
+
for (const info of this._createConcatenationList(
|
|
2250
|
+
this.rootModule,
|
|
2251
|
+
this._modules,
|
|
2252
|
+
intersectRuntime(runtime, this._runtime),
|
|
2253
|
+
chunkGraph.moduleGraph
|
|
2254
|
+
)) {
|
|
2255
|
+
switch (info.type) {
|
|
2256
|
+
case "concatenated":
|
|
2257
|
+
info.module.updateHash(hash, context);
|
|
2258
|
+
break;
|
|
2259
|
+
case "external":
|
|
2260
|
+
hash.update(`${chunkGraph.getModuleId(info.module)}`);
|
|
2261
|
+
// TODO runtimeCondition
|
|
2262
|
+
break;
|
|
2263
|
+
}
|
|
2264
|
+
}
|
|
2265
|
+
super.updateHash(hash, context);
|
|
2266
|
+
}
|
|
2267
|
+
|
|
2268
|
+
/**
|
|
2269
|
+
* @param {ObjectDeserializerContext} context context
|
|
2270
|
+
* @returns {ConcatenatedModule} ConcatenatedModule
|
|
2271
|
+
*/
|
|
2272
|
+
static deserialize(context) {
|
|
2273
|
+
const obj = new ConcatenatedModule({
|
|
2274
|
+
identifier: /** @type {EXPECTED_ANY} */ (undefined),
|
|
2275
|
+
rootModule: /** @type {EXPECTED_ANY} */ (undefined),
|
|
2276
|
+
modules: /** @type {EXPECTED_ANY} */ (undefined),
|
|
2277
|
+
runtime: undefined,
|
|
2278
|
+
compilation: /** @type {EXPECTED_ANY} */ (undefined)
|
|
2279
|
+
});
|
|
2280
|
+
obj.deserialize(context);
|
|
2281
|
+
return obj;
|
|
2282
|
+
}
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
makeSerializable(ConcatenatedModule, "webpack/lib/optimize/ConcatenatedModule");
|
|
2286
|
+
|
|
2287
|
+
module.exports = ConcatenatedModule;
|