420 lines
13 KiB
JavaScript
420 lines
13 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
0 && (module.exports = {
|
|
MODERN_BROWSERSLIST_TARGET: null,
|
|
COMPILER_NAMES: null,
|
|
INTERNAL_HEADERS: null,
|
|
COMPILER_INDEXES: null,
|
|
PHASE_EXPORT: null,
|
|
PHASE_PRODUCTION_BUILD: null,
|
|
PHASE_PRODUCTION_SERVER: null,
|
|
PHASE_DEVELOPMENT_SERVER: null,
|
|
PHASE_TEST: null,
|
|
PHASE_INFO: null,
|
|
PAGES_MANIFEST: null,
|
|
APP_PATHS_MANIFEST: null,
|
|
APP_PATH_ROUTES_MANIFEST: null,
|
|
BUILD_MANIFEST: null,
|
|
APP_BUILD_MANIFEST: null,
|
|
FUNCTIONS_CONFIG_MANIFEST: null,
|
|
SUBRESOURCE_INTEGRITY_MANIFEST: null,
|
|
NEXT_FONT_MANIFEST: null,
|
|
EXPORT_MARKER: null,
|
|
EXPORT_DETAIL: null,
|
|
PRERENDER_MANIFEST: null,
|
|
ROUTES_MANIFEST: null,
|
|
IMAGES_MANIFEST: null,
|
|
SERVER_FILES_MANIFEST: null,
|
|
DEV_CLIENT_PAGES_MANIFEST: null,
|
|
MIDDLEWARE_MANIFEST: null,
|
|
DEV_MIDDLEWARE_MANIFEST: null,
|
|
REACT_LOADABLE_MANIFEST: null,
|
|
FONT_MANIFEST: null,
|
|
SERVER_DIRECTORY: null,
|
|
CONFIG_FILES: null,
|
|
BUILD_ID_FILE: null,
|
|
BLOCKED_PAGES: null,
|
|
CLIENT_PUBLIC_FILES_PATH: null,
|
|
CLIENT_STATIC_FILES_PATH: null,
|
|
STRING_LITERAL_DROP_BUNDLE: null,
|
|
NEXT_BUILTIN_DOCUMENT: null,
|
|
BARREL_OPTIMIZATION_PREFIX: null,
|
|
CLIENT_REFERENCE_MANIFEST: null,
|
|
SERVER_REFERENCE_MANIFEST: null,
|
|
MIDDLEWARE_BUILD_MANIFEST: null,
|
|
MIDDLEWARE_REACT_LOADABLE_MANIFEST: null,
|
|
CLIENT_STATIC_FILES_RUNTIME_MAIN: null,
|
|
CLIENT_STATIC_FILES_RUNTIME_MAIN_APP: null,
|
|
APP_CLIENT_INTERNALS: null,
|
|
CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH: null,
|
|
CLIENT_STATIC_FILES_RUNTIME_AMP: null,
|
|
CLIENT_STATIC_FILES_RUNTIME_WEBPACK: null,
|
|
CLIENT_STATIC_FILES_RUNTIME_POLYFILLS: null,
|
|
CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL: null,
|
|
EDGE_RUNTIME_WEBPACK: null,
|
|
TEMPORARY_REDIRECT_STATUS: null,
|
|
PERMANENT_REDIRECT_STATUS: null,
|
|
STATIC_PROPS_ID: null,
|
|
SERVER_PROPS_ID: null,
|
|
PAGE_SEGMENT_KEY: null,
|
|
GOOGLE_FONT_PROVIDER: null,
|
|
OPTIMIZED_FONT_PROVIDERS: null,
|
|
DEFAULT_SERIF_FONT: null,
|
|
DEFAULT_SANS_SERIF_FONT: null,
|
|
STATIC_STATUS_PAGES: null,
|
|
TRACE_OUTPUT_VERSION: null,
|
|
TURBO_TRACE_DEFAULT_MEMORY_LIMIT: null,
|
|
RSC_MODULE_TYPES: null,
|
|
EDGE_UNSUPPORTED_NODE_APIS: null,
|
|
SYSTEM_ENTRYPOINTS: null
|
|
});
|
|
function _export(target, all) {
|
|
for(var name in all)Object.defineProperty(target, name, {
|
|
enumerable: true,
|
|
get: all[name]
|
|
});
|
|
}
|
|
_export(exports, {
|
|
MODERN_BROWSERSLIST_TARGET: function() {
|
|
return _modernbrowserslisttarget.default;
|
|
},
|
|
COMPILER_NAMES: function() {
|
|
return COMPILER_NAMES;
|
|
},
|
|
INTERNAL_HEADERS: function() {
|
|
return INTERNAL_HEADERS;
|
|
},
|
|
COMPILER_INDEXES: function() {
|
|
return COMPILER_INDEXES;
|
|
},
|
|
PHASE_EXPORT: function() {
|
|
return PHASE_EXPORT;
|
|
},
|
|
PHASE_PRODUCTION_BUILD: function() {
|
|
return PHASE_PRODUCTION_BUILD;
|
|
},
|
|
PHASE_PRODUCTION_SERVER: function() {
|
|
return PHASE_PRODUCTION_SERVER;
|
|
},
|
|
PHASE_DEVELOPMENT_SERVER: function() {
|
|
return PHASE_DEVELOPMENT_SERVER;
|
|
},
|
|
PHASE_TEST: function() {
|
|
return PHASE_TEST;
|
|
},
|
|
PHASE_INFO: function() {
|
|
return PHASE_INFO;
|
|
},
|
|
PAGES_MANIFEST: function() {
|
|
return PAGES_MANIFEST;
|
|
},
|
|
APP_PATHS_MANIFEST: function() {
|
|
return APP_PATHS_MANIFEST;
|
|
},
|
|
APP_PATH_ROUTES_MANIFEST: function() {
|
|
return APP_PATH_ROUTES_MANIFEST;
|
|
},
|
|
BUILD_MANIFEST: function() {
|
|
return BUILD_MANIFEST;
|
|
},
|
|
APP_BUILD_MANIFEST: function() {
|
|
return APP_BUILD_MANIFEST;
|
|
},
|
|
FUNCTIONS_CONFIG_MANIFEST: function() {
|
|
return FUNCTIONS_CONFIG_MANIFEST;
|
|
},
|
|
SUBRESOURCE_INTEGRITY_MANIFEST: function() {
|
|
return SUBRESOURCE_INTEGRITY_MANIFEST;
|
|
},
|
|
NEXT_FONT_MANIFEST: function() {
|
|
return NEXT_FONT_MANIFEST;
|
|
},
|
|
EXPORT_MARKER: function() {
|
|
return EXPORT_MARKER;
|
|
},
|
|
EXPORT_DETAIL: function() {
|
|
return EXPORT_DETAIL;
|
|
},
|
|
PRERENDER_MANIFEST: function() {
|
|
return PRERENDER_MANIFEST;
|
|
},
|
|
ROUTES_MANIFEST: function() {
|
|
return ROUTES_MANIFEST;
|
|
},
|
|
IMAGES_MANIFEST: function() {
|
|
return IMAGES_MANIFEST;
|
|
},
|
|
SERVER_FILES_MANIFEST: function() {
|
|
return SERVER_FILES_MANIFEST;
|
|
},
|
|
DEV_CLIENT_PAGES_MANIFEST: function() {
|
|
return DEV_CLIENT_PAGES_MANIFEST;
|
|
},
|
|
MIDDLEWARE_MANIFEST: function() {
|
|
return MIDDLEWARE_MANIFEST;
|
|
},
|
|
DEV_MIDDLEWARE_MANIFEST: function() {
|
|
return DEV_MIDDLEWARE_MANIFEST;
|
|
},
|
|
REACT_LOADABLE_MANIFEST: function() {
|
|
return REACT_LOADABLE_MANIFEST;
|
|
},
|
|
FONT_MANIFEST: function() {
|
|
return FONT_MANIFEST;
|
|
},
|
|
SERVER_DIRECTORY: function() {
|
|
return SERVER_DIRECTORY;
|
|
},
|
|
CONFIG_FILES: function() {
|
|
return CONFIG_FILES;
|
|
},
|
|
BUILD_ID_FILE: function() {
|
|
return BUILD_ID_FILE;
|
|
},
|
|
BLOCKED_PAGES: function() {
|
|
return BLOCKED_PAGES;
|
|
},
|
|
CLIENT_PUBLIC_FILES_PATH: function() {
|
|
return CLIENT_PUBLIC_FILES_PATH;
|
|
},
|
|
CLIENT_STATIC_FILES_PATH: function() {
|
|
return CLIENT_STATIC_FILES_PATH;
|
|
},
|
|
STRING_LITERAL_DROP_BUNDLE: function() {
|
|
return STRING_LITERAL_DROP_BUNDLE;
|
|
},
|
|
NEXT_BUILTIN_DOCUMENT: function() {
|
|
return NEXT_BUILTIN_DOCUMENT;
|
|
},
|
|
BARREL_OPTIMIZATION_PREFIX: function() {
|
|
return BARREL_OPTIMIZATION_PREFIX;
|
|
},
|
|
CLIENT_REFERENCE_MANIFEST: function() {
|
|
return CLIENT_REFERENCE_MANIFEST;
|
|
},
|
|
SERVER_REFERENCE_MANIFEST: function() {
|
|
return SERVER_REFERENCE_MANIFEST;
|
|
},
|
|
MIDDLEWARE_BUILD_MANIFEST: function() {
|
|
return MIDDLEWARE_BUILD_MANIFEST;
|
|
},
|
|
MIDDLEWARE_REACT_LOADABLE_MANIFEST: function() {
|
|
return MIDDLEWARE_REACT_LOADABLE_MANIFEST;
|
|
},
|
|
CLIENT_STATIC_FILES_RUNTIME_MAIN: function() {
|
|
return CLIENT_STATIC_FILES_RUNTIME_MAIN;
|
|
},
|
|
CLIENT_STATIC_FILES_RUNTIME_MAIN_APP: function() {
|
|
return CLIENT_STATIC_FILES_RUNTIME_MAIN_APP;
|
|
},
|
|
APP_CLIENT_INTERNALS: function() {
|
|
return APP_CLIENT_INTERNALS;
|
|
},
|
|
CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH: function() {
|
|
return CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH;
|
|
},
|
|
CLIENT_STATIC_FILES_RUNTIME_AMP: function() {
|
|
return CLIENT_STATIC_FILES_RUNTIME_AMP;
|
|
},
|
|
CLIENT_STATIC_FILES_RUNTIME_WEBPACK: function() {
|
|
return CLIENT_STATIC_FILES_RUNTIME_WEBPACK;
|
|
},
|
|
CLIENT_STATIC_FILES_RUNTIME_POLYFILLS: function() {
|
|
return CLIENT_STATIC_FILES_RUNTIME_POLYFILLS;
|
|
},
|
|
CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL: function() {
|
|
return CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL;
|
|
},
|
|
EDGE_RUNTIME_WEBPACK: function() {
|
|
return EDGE_RUNTIME_WEBPACK;
|
|
},
|
|
TEMPORARY_REDIRECT_STATUS: function() {
|
|
return TEMPORARY_REDIRECT_STATUS;
|
|
},
|
|
PERMANENT_REDIRECT_STATUS: function() {
|
|
return PERMANENT_REDIRECT_STATUS;
|
|
},
|
|
STATIC_PROPS_ID: function() {
|
|
return STATIC_PROPS_ID;
|
|
},
|
|
SERVER_PROPS_ID: function() {
|
|
return SERVER_PROPS_ID;
|
|
},
|
|
PAGE_SEGMENT_KEY: function() {
|
|
return PAGE_SEGMENT_KEY;
|
|
},
|
|
GOOGLE_FONT_PROVIDER: function() {
|
|
return GOOGLE_FONT_PROVIDER;
|
|
},
|
|
OPTIMIZED_FONT_PROVIDERS: function() {
|
|
return OPTIMIZED_FONT_PROVIDERS;
|
|
},
|
|
DEFAULT_SERIF_FONT: function() {
|
|
return DEFAULT_SERIF_FONT;
|
|
},
|
|
DEFAULT_SANS_SERIF_FONT: function() {
|
|
return DEFAULT_SANS_SERIF_FONT;
|
|
},
|
|
STATIC_STATUS_PAGES: function() {
|
|
return STATIC_STATUS_PAGES;
|
|
},
|
|
TRACE_OUTPUT_VERSION: function() {
|
|
return TRACE_OUTPUT_VERSION;
|
|
},
|
|
TURBO_TRACE_DEFAULT_MEMORY_LIMIT: function() {
|
|
return TURBO_TRACE_DEFAULT_MEMORY_LIMIT;
|
|
},
|
|
RSC_MODULE_TYPES: function() {
|
|
return RSC_MODULE_TYPES;
|
|
},
|
|
EDGE_UNSUPPORTED_NODE_APIS: function() {
|
|
return EDGE_UNSUPPORTED_NODE_APIS;
|
|
},
|
|
SYSTEM_ENTRYPOINTS: function() {
|
|
return SYSTEM_ENTRYPOINTS;
|
|
}
|
|
});
|
|
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
const _modernbrowserslisttarget = /*#__PURE__*/ _interop_require_default._(require("./modern-browserslist-target"));
|
|
const COMPILER_NAMES = {
|
|
client: "client",
|
|
server: "server",
|
|
edgeServer: "edge-server"
|
|
};
|
|
const INTERNAL_HEADERS = [
|
|
"x-invoke-path",
|
|
"x-invoke-status",
|
|
"x-invoke-error",
|
|
"x-invoke-query",
|
|
"x-middleware-invoke"
|
|
];
|
|
const COMPILER_INDEXES = {
|
|
[COMPILER_NAMES.client]: 0,
|
|
[COMPILER_NAMES.server]: 1,
|
|
[COMPILER_NAMES.edgeServer]: 2
|
|
};
|
|
const PHASE_EXPORT = "phase-export";
|
|
const PHASE_PRODUCTION_BUILD = "phase-production-build";
|
|
const PHASE_PRODUCTION_SERVER = "phase-production-server";
|
|
const PHASE_DEVELOPMENT_SERVER = "phase-development-server";
|
|
const PHASE_TEST = "phase-test";
|
|
const PHASE_INFO = "phase-info";
|
|
const PAGES_MANIFEST = "pages-manifest.json";
|
|
const APP_PATHS_MANIFEST = "app-paths-manifest.json";
|
|
const APP_PATH_ROUTES_MANIFEST = "app-path-routes-manifest.json";
|
|
const BUILD_MANIFEST = "build-manifest.json";
|
|
const APP_BUILD_MANIFEST = "app-build-manifest.json";
|
|
const FUNCTIONS_CONFIG_MANIFEST = "functions-config-manifest.json";
|
|
const SUBRESOURCE_INTEGRITY_MANIFEST = "subresource-integrity-manifest";
|
|
const NEXT_FONT_MANIFEST = "next-font-manifest";
|
|
const EXPORT_MARKER = "export-marker.json";
|
|
const EXPORT_DETAIL = "export-detail.json";
|
|
const PRERENDER_MANIFEST = "prerender-manifest.json";
|
|
const ROUTES_MANIFEST = "routes-manifest.json";
|
|
const IMAGES_MANIFEST = "images-manifest.json";
|
|
const SERVER_FILES_MANIFEST = "required-server-files.json";
|
|
const DEV_CLIENT_PAGES_MANIFEST = "_devPagesManifest.json";
|
|
const MIDDLEWARE_MANIFEST = "middleware-manifest.json";
|
|
const DEV_MIDDLEWARE_MANIFEST = "_devMiddlewareManifest.json";
|
|
const REACT_LOADABLE_MANIFEST = "react-loadable-manifest.json";
|
|
const FONT_MANIFEST = "font-manifest.json";
|
|
const SERVER_DIRECTORY = "server";
|
|
const CONFIG_FILES = [
|
|
"next.config.js",
|
|
"next.config.mjs"
|
|
];
|
|
const BUILD_ID_FILE = "BUILD_ID";
|
|
const BLOCKED_PAGES = [
|
|
"/_document",
|
|
"/_app",
|
|
"/_error"
|
|
];
|
|
const CLIENT_PUBLIC_FILES_PATH = "public";
|
|
const CLIENT_STATIC_FILES_PATH = "static";
|
|
const STRING_LITERAL_DROP_BUNDLE = "__NEXT_DROP_CLIENT_FILE__";
|
|
const NEXT_BUILTIN_DOCUMENT = "__NEXT_BUILTIN_DOCUMENT__";
|
|
const BARREL_OPTIMIZATION_PREFIX = "__barrel_optimize__";
|
|
const CLIENT_REFERENCE_MANIFEST = "client-reference-manifest";
|
|
const SERVER_REFERENCE_MANIFEST = "server-reference-manifest";
|
|
const MIDDLEWARE_BUILD_MANIFEST = "middleware-build-manifest";
|
|
const MIDDLEWARE_REACT_LOADABLE_MANIFEST = "middleware-react-loadable-manifest";
|
|
const CLIENT_STATIC_FILES_RUNTIME_MAIN = "main";
|
|
const CLIENT_STATIC_FILES_RUNTIME_MAIN_APP = "" + CLIENT_STATIC_FILES_RUNTIME_MAIN + "-app";
|
|
const APP_CLIENT_INTERNALS = "app-pages-internals";
|
|
const CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH = "react-refresh";
|
|
const CLIENT_STATIC_FILES_RUNTIME_AMP = "amp";
|
|
const CLIENT_STATIC_FILES_RUNTIME_WEBPACK = "webpack";
|
|
const CLIENT_STATIC_FILES_RUNTIME_POLYFILLS = "polyfills";
|
|
const CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL = Symbol(CLIENT_STATIC_FILES_RUNTIME_POLYFILLS);
|
|
const EDGE_RUNTIME_WEBPACK = "edge-runtime-webpack";
|
|
const TEMPORARY_REDIRECT_STATUS = 307;
|
|
const PERMANENT_REDIRECT_STATUS = 308;
|
|
const STATIC_PROPS_ID = "__N_SSG";
|
|
const SERVER_PROPS_ID = "__N_SSP";
|
|
const PAGE_SEGMENT_KEY = "__PAGE__";
|
|
const GOOGLE_FONT_PROVIDER = "https://fonts.googleapis.com/";
|
|
const OPTIMIZED_FONT_PROVIDERS = [
|
|
{
|
|
url: GOOGLE_FONT_PROVIDER,
|
|
preconnect: "https://fonts.gstatic.com"
|
|
},
|
|
{
|
|
url: "https://use.typekit.net",
|
|
preconnect: "https://use.typekit.net"
|
|
}
|
|
];
|
|
const DEFAULT_SERIF_FONT = {
|
|
name: "Times New Roman",
|
|
xAvgCharWidth: 821,
|
|
azAvgWidth: 854.3953488372093,
|
|
unitsPerEm: 2048
|
|
};
|
|
const DEFAULT_SANS_SERIF_FONT = {
|
|
name: "Arial",
|
|
xAvgCharWidth: 904,
|
|
azAvgWidth: 934.5116279069767,
|
|
unitsPerEm: 2048
|
|
};
|
|
const STATIC_STATUS_PAGES = [
|
|
"/500"
|
|
];
|
|
const TRACE_OUTPUT_VERSION = 1;
|
|
const TURBO_TRACE_DEFAULT_MEMORY_LIMIT = 6000;
|
|
const RSC_MODULE_TYPES = {
|
|
client: "client",
|
|
server: "server"
|
|
};
|
|
const EDGE_UNSUPPORTED_NODE_APIS = [
|
|
"clearImmediate",
|
|
"setImmediate",
|
|
"BroadcastChannel",
|
|
"ByteLengthQueuingStrategy",
|
|
"CompressionStream",
|
|
"CountQueuingStrategy",
|
|
"DecompressionStream",
|
|
"DomException",
|
|
"MessageChannel",
|
|
"MessageEvent",
|
|
"MessagePort",
|
|
"ReadableByteStreamController",
|
|
"ReadableStreamBYOBRequest",
|
|
"ReadableStreamDefaultController",
|
|
"TransformStreamDefaultController",
|
|
"WritableStreamDefaultController"
|
|
];
|
|
const SYSTEM_ENTRYPOINTS = new Set([
|
|
CLIENT_STATIC_FILES_RUNTIME_MAIN,
|
|
CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH,
|
|
CLIENT_STATIC_FILES_RUNTIME_AMP,
|
|
CLIENT_STATIC_FILES_RUNTIME_MAIN_APP
|
|
]);
|
|
|
|
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
|
Object.defineProperty(exports.default, '__esModule', { value: true });
|
|
Object.assign(exports.default, exports);
|
|
module.exports = exports.default;
|
|
}
|
|
|
|
//# sourceMappingURL=constants.js.map
|