maquinaweb-ui 2.67.0 → 2.69.0
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/dist/actions.js +3 -5
- package/dist/actions.js.map +1 -1
- package/dist/container-animation/container-animation.d.ts +2 -2
- package/dist/container-animation/container-animation.d.ts.map +1 -1
- package/dist/date-field/DateField.d.ts +2 -2
- package/dist/date-hour-field/DateHourField.d.ts +2 -2
- package/dist/input-suggest/input-suggest.d.ts +2 -2
- package/dist/landing-text/client-landing-text.js +2 -3
- package/dist/landing-text/client-landing-text.js.map +1 -1
- package/dist/landing-text/landing-content.d.ts.map +1 -1
- package/dist/landing-text/landing-content.js +4 -1
- package/dist/landing-text/landing-content.js.map +1 -1
- package/dist/landing-text/landing-text.d.ts +2 -2
- package/dist/landing-text/server-landing-text.d.ts +2 -2
- package/dist/landing-text/server-landing-text.d.ts.map +1 -1
- package/dist/page-header/page-header.d.ts +2 -2
- package/dist/remote-selector/remote-selector.d.ts +3 -3
- package/dist/text-field/TextField.d.ts +5 -5
- package/dist/toggle-field/ToggleGroup.d.ts +2 -2
- package/package.json +1 -1
- package/dist/_virtual/rolldown_runtime.js +0 -31
- package/dist/node_modules/next/cache.js +0 -79
- package/dist/node_modules/next/cache.js.map +0 -1
- package/dist/node_modules/next/dist/build/output/log.js +0 -119
- package/dist/node_modules/next/dist/build/output/log.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/app-router-headers.js +0 -119
- package/dist/node_modules/next/dist/client/components/app-router-headers.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js +0 -41
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +0 -41
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js.map +0 -1
- package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js +0 -312
- package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js.map +0 -1
- package/dist/node_modules/next/dist/compiled/@opentelemetry/api/index.js +0 -1286
- package/dist/node_modules/next/dist/compiled/@opentelemetry/api/index.js.map +0 -1
- package/dist/node_modules/next/dist/lib/batcher.js +0 -63
- package/dist/node_modules/next/dist/lib/batcher.js.map +0 -1
- package/dist/node_modules/next/dist/lib/constants.js +0 -325
- package/dist/node_modules/next/dist/lib/constants.js.map +0 -1
- package/dist/node_modules/next/dist/lib/detached-promise.js +0 -30
- package/dist/node_modules/next/dist/lib/detached-promise.js.map +0 -1
- package/dist/node_modules/next/dist/lib/framework/boundary-constants.js +0 -36
- package/dist/node_modules/next/dist/lib/framework/boundary-constants.js.map +0 -1
- package/dist/node_modules/next/dist/lib/picocolors.js +0 -141
- package/dist/node_modules/next/dist/lib/picocolors.js.map +0 -1
- package/dist/node_modules/next/dist/lib/scheduler.js +0 -49
- package/dist/node_modules/next/dist/lib/scheduler.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +0 -67
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +0 -763
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +0 -19
- package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/staged-rendering.js +0 -215
- package/dist/node_modules/next/dist/server/app-render/staged-rendering.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +0 -20
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +0 -20
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +0 -20
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +0 -214
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js.map +0 -1
- package/dist/node_modules/next/dist/server/base-http/helpers.js +0 -36
- package/dist/node_modules/next/dist/server/base-http/helpers.js.map +0 -1
- package/dist/node_modules/next/dist/server/client-component-renderer-logger.js +0 -65
- package/dist/node_modules/next/dist/server/client-component-renderer-logger.js.map +0 -1
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +0 -85
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js.map +0 -1
- package/dist/node_modules/next/dist/server/lib/clone-response.js +0 -55
- package/dist/node_modules/next/dist/server/lib/clone-response.js.map +0 -1
- package/dist/node_modules/next/dist/server/lib/dedupe-fetch.js +0 -106
- package/dist/node_modules/next/dist/server/lib/dedupe-fetch.js.map +0 -1
- package/dist/node_modules/next/dist/server/lib/lru-cache.js +0 -179
- package/dist/node_modules/next/dist/server/lib/lru-cache.js.map +0 -1
- package/dist/node_modules/next/dist/server/lib/patch-fetch.js +0 -703
- package/dist/node_modules/next/dist/server/lib/patch-fetch.js.map +0 -1
- package/dist/node_modules/next/dist/server/lib/trace/constants.js +0 -186
- package/dist/node_modules/next/dist/server/lib/trace/constants.js.map +0 -1
- package/dist/node_modules/next/dist/server/lib/trace/tracer.js +0 -229
- package/dist/node_modules/next/dist/server/lib/trace/tracer.js.map +0 -1
- package/dist/node_modules/next/dist/server/pipe-readable.js +0 -112
- package/dist/node_modules/next/dist/server/pipe-readable.js.map +0 -1
- package/dist/node_modules/next/dist/server/render-result.js +0 -156
- package/dist/node_modules/next/dist/server/render-result.js.map +0 -1
- package/dist/node_modules/next/dist/server/request-meta.js +0 -54
- package/dist/node_modules/next/dist/server/request-meta.js.map +0 -1
- package/dist/node_modules/next/dist/server/response-cache/index.js +0 -255
- package/dist/node_modules/next/dist/server/response-cache/index.js.map +0 -1
- package/dist/node_modules/next/dist/server/response-cache/types.js +0 -43
- package/dist/node_modules/next/dist/server/response-cache/types.js.map +0 -1
- package/dist/node_modules/next/dist/server/response-cache/utils.js +0 -100
- package/dist/node_modules/next/dist/server/response-cache/utils.js.map +0 -1
- package/dist/node_modules/next/dist/server/route-kind.js +0 -38
- package/dist/node_modules/next/dist/server/route-kind.js.map +0 -1
- package/dist/node_modules/next/dist/server/stream-utils/encoded-tags.js +0 -115
- package/dist/node_modules/next/dist/server/stream-utils/encoded-tags.js.map +0 -1
- package/dist/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +0 -635
- package/dist/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js.map +0 -1
- package/dist/node_modules/next/dist/server/stream-utils/uint8array-helpers.js +0 -58
- package/dist/node_modules/next/dist/server/stream-utils/uint8array-helpers.js.map +0 -1
- package/dist/node_modules/next/dist/server/use-cache/cache-life.js +0 -140
- package/dist/node_modules/next/dist/server/use-cache/cache-life.js.map +0 -1
- package/dist/node_modules/next/dist/server/use-cache/cache-tag.js +0 -52
- package/dist/node_modules/next/dist/server/use-cache/cache-tag.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/error.js +0 -55
- package/dist/node_modules/next/dist/server/web/error.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/next-url.js +0 -203
- package/dist/node_modules/next/dist/server/web/next-url.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js +0 -103
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js +0 -31
- package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/spec-extension/request.js +0 -98
- package/dist/node_modules/next/dist/server/web/spec-extension/request.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/spec-extension/revalidate.js +0 -162
- package/dist/node_modules/next/dist/server/web/spec-extension/revalidate.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/spec-extension/unstable-cache.js +0 -187
- package/dist/node_modules/next/dist/server/web/spec-extension/unstable-cache.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/spec-extension/unstable-no-store.js +0 -49
- package/dist/node_modules/next/dist/server/web/spec-extension/unstable-no-store.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/utils.js +0 -113
- package/dist/node_modules/next/dist/server/web/utils.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/errors/constants.js +0 -24
- package/dist/node_modules/next/dist/shared/lib/errors/constants.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/get-hostname.js +0 -25
- package/dist/node_modules/next/dist/shared/lib/get-hostname.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/hash.js +0 -37
- package/dist/node_modules/next/dist/shared/lib/hash.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -23
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -43
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/invariant-error.js +0 -24
- package/dist/node_modules/next/dist/shared/lib/invariant-error.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/is-thenable.js +0 -21
- package/dist/node_modules/next/dist/shared/lib/is-thenable.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +0 -36
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -21
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js +0 -31
- package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -31
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -25
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js +0 -25
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -52
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js +0 -29
- package/dist/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js +0 -52
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -93
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -27
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -25
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js +0 -26
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -21
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -168
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/segment.js +0 -85
- package/dist/node_modules/next/dist/shared/lib/segment.js.map +0 -1
|
@@ -1,255 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require_scheduler } from "../../lib/scheduler.js";
|
|
3
|
-
import { require_batcher } from "../../lib/batcher.js";
|
|
4
|
-
import { require_lru_cache } from "../lib/lru-cache.js";
|
|
5
|
-
import { require_log } from "../../build/output/log.js";
|
|
6
|
-
import { require_types } from "./types.js";
|
|
7
|
-
import { require_utils } from "./utils.js";
|
|
8
|
-
|
|
9
|
-
//#region node_modules/next/dist/server/response-cache/index.js
|
|
10
|
-
var require_response_cache = /* @__PURE__ */ __commonJS({ "node_modules/next/dist/server/response-cache/index.js": ((exports) => {
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
Object.defineProperty(exports, "default", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function() {
|
|
15
|
-
return ResponseCache;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
const _batcher = require_batcher();
|
|
19
|
-
const _lrucache = require_lru_cache();
|
|
20
|
-
const _log = require_log();
|
|
21
|
-
const _scheduler = require_scheduler();
|
|
22
|
-
const _utils = require_utils();
|
|
23
|
-
_export_star(require_types(), exports);
|
|
24
|
-
function _export_star(from, to) {
|
|
25
|
-
Object.keys(from).forEach(function(k) {
|
|
26
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) Object.defineProperty(to, k, {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: function() {
|
|
29
|
-
return from[k];
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
return from;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Parses an environment variable as a positive integer, returning the fallback
|
|
37
|
-
* if the value is missing, not a number, or not positive.
|
|
38
|
-
*/ function parsePositiveInt(envValue, fallback) {
|
|
39
|
-
if (!envValue) return fallback;
|
|
40
|
-
const parsed = parseInt(envValue, 10);
|
|
41
|
-
return Number.isFinite(parsed) && parsed > 0 ? parsed : fallback;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Default TTL (in milliseconds) for minimal mode response cache entries.
|
|
45
|
-
* Used for cache hit validation as a fallback for providers that don't
|
|
46
|
-
* send the x-invocation-id header yet.
|
|
47
|
-
*
|
|
48
|
-
* 10 seconds chosen because:
|
|
49
|
-
* - Long enough to dedupe rapid successive requests (e.g., page + data)
|
|
50
|
-
* - Short enough to not serve stale data across unrelated requests
|
|
51
|
-
*
|
|
52
|
-
* Can be configured via `NEXT_PRIVATE_RESPONSE_CACHE_TTL` environment variable.
|
|
53
|
-
*/ const DEFAULT_TTL_MS = parsePositiveInt(process.env.NEXT_PRIVATE_RESPONSE_CACHE_TTL, 1e4);
|
|
54
|
-
/**
|
|
55
|
-
* Default maximum number of entries in the response cache.
|
|
56
|
-
* Can be configured via `NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE` environment variable.
|
|
57
|
-
*/ const DEFAULT_MAX_SIZE = parsePositiveInt(process.env.NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE, 150);
|
|
58
|
-
/**
|
|
59
|
-
* Separator used in compound cache keys to join pathname and invocationID.
|
|
60
|
-
* Using null byte (\0) since it cannot appear in valid URL paths or UUIDs.
|
|
61
|
-
*/ const KEY_SEPARATOR = "\0";
|
|
62
|
-
/**
|
|
63
|
-
* Sentinel value used for TTL-based cache entries (when invocationID is undefined).
|
|
64
|
-
* Chosen to be a clearly reserved marker for internal cache keys.
|
|
65
|
-
*/ const TTL_SENTINEL = "__ttl_sentinel__";
|
|
66
|
-
/**
|
|
67
|
-
* Creates a compound cache key from pathname and invocationID.
|
|
68
|
-
*/ function createCacheKey(pathname, invocationID) {
|
|
69
|
-
return `${pathname}${KEY_SEPARATOR}${invocationID ?? TTL_SENTINEL}`;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Extracts the invocationID from a compound cache key.
|
|
73
|
-
* Returns undefined if the key used TTL_SENTINEL.
|
|
74
|
-
*/ function extractInvocationID(compoundKey) {
|
|
75
|
-
const separatorIndex = compoundKey.lastIndexOf(KEY_SEPARATOR);
|
|
76
|
-
if (separatorIndex === -1) return void 0;
|
|
77
|
-
const invocationID = compoundKey.slice(separatorIndex + 1);
|
|
78
|
-
return invocationID === TTL_SENTINEL ? void 0 : invocationID;
|
|
79
|
-
}
|
|
80
|
-
var ResponseCache = class {
|
|
81
|
-
constructor(minimal_mode, maxSize = DEFAULT_MAX_SIZE, ttl = DEFAULT_TTL_MS) {
|
|
82
|
-
this.getBatcher = _batcher.Batcher.create({
|
|
83
|
-
cacheKeyFn: ({ key, isOnDemandRevalidate }) => `${key}-${isOnDemandRevalidate ? "1" : "0"}`,
|
|
84
|
-
schedulerFn: _scheduler.scheduleOnNextTick
|
|
85
|
-
});
|
|
86
|
-
this.revalidateBatcher = _batcher.Batcher.create({ schedulerFn: _scheduler.scheduleOnNextTick });
|
|
87
|
-
/**
|
|
88
|
-
* Set of invocation IDs that have had cache entries evicted.
|
|
89
|
-
* Used to detect when the cache size may be too small.
|
|
90
|
-
* Bounded to prevent memory growth.
|
|
91
|
-
*/ this.evictedInvocationIDs = /* @__PURE__ */ new Set();
|
|
92
|
-
this.minimal_mode = minimal_mode;
|
|
93
|
-
this.maxSize = maxSize;
|
|
94
|
-
this.ttl = ttl;
|
|
95
|
-
this.cache = new _lrucache.LRUCache(maxSize, void 0, (compoundKey) => {
|
|
96
|
-
const invocationID = extractInvocationID(compoundKey);
|
|
97
|
-
if (invocationID) {
|
|
98
|
-
if (this.evictedInvocationIDs.size >= 100) {
|
|
99
|
-
const first = this.evictedInvocationIDs.values().next().value;
|
|
100
|
-
if (first) this.evictedInvocationIDs.delete(first);
|
|
101
|
-
}
|
|
102
|
-
this.evictedInvocationIDs.add(invocationID);
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Gets the response cache entry for the given key.
|
|
108
|
-
*
|
|
109
|
-
* @param key - The key to get the response cache entry for.
|
|
110
|
-
* @param responseGenerator - The response generator to use to generate the response cache entry.
|
|
111
|
-
* @param context - The context for the get request.
|
|
112
|
-
* @returns The response cache entry.
|
|
113
|
-
*/ async get(key, responseGenerator, context) {
|
|
114
|
-
if (!key) return responseGenerator({
|
|
115
|
-
hasResolved: false,
|
|
116
|
-
previousCacheEntry: null
|
|
117
|
-
});
|
|
118
|
-
if (this.minimal_mode) {
|
|
119
|
-
const cacheKey = createCacheKey(key, context.invocationID);
|
|
120
|
-
const cachedItem = this.cache.get(cacheKey);
|
|
121
|
-
if (cachedItem) {
|
|
122
|
-
if (context.invocationID !== void 0) return (0, _utils.toResponseCacheEntry)(cachedItem.entry);
|
|
123
|
-
const now = Date.now();
|
|
124
|
-
if (cachedItem.expiresAt > now) return (0, _utils.toResponseCacheEntry)(cachedItem.entry);
|
|
125
|
-
this.cache.remove(cacheKey);
|
|
126
|
-
}
|
|
127
|
-
if (context.invocationID && this.evictedInvocationIDs.has(context.invocationID)) (0, _log.warnOnce)(`Response cache entry was evicted for invocation ${context.invocationID}. Consider increasing NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE (current: ${this.maxSize}).`);
|
|
128
|
-
}
|
|
129
|
-
const { incrementalCache, isOnDemandRevalidate = false, isFallback = false, isRoutePPREnabled = false, isPrefetch = false, waitUntil, routeKind, invocationID } = context;
|
|
130
|
-
const response = await this.getBatcher.batch({
|
|
131
|
-
key,
|
|
132
|
-
isOnDemandRevalidate
|
|
133
|
-
}, ({ resolve }) => {
|
|
134
|
-
const promise = this.handleGet(key, responseGenerator, {
|
|
135
|
-
incrementalCache,
|
|
136
|
-
isOnDemandRevalidate,
|
|
137
|
-
isFallback,
|
|
138
|
-
isRoutePPREnabled,
|
|
139
|
-
isPrefetch,
|
|
140
|
-
routeKind,
|
|
141
|
-
invocationID
|
|
142
|
-
}, resolve);
|
|
143
|
-
if (waitUntil) waitUntil(promise);
|
|
144
|
-
return promise;
|
|
145
|
-
});
|
|
146
|
-
return (0, _utils.toResponseCacheEntry)(response);
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* Handles the get request for the response cache.
|
|
150
|
-
*
|
|
151
|
-
* @param key - The key to get the response cache entry for.
|
|
152
|
-
* @param responseGenerator - The response generator to use to generate the response cache entry.
|
|
153
|
-
* @param context - The context for the get request.
|
|
154
|
-
* @param resolve - The resolve function to use to resolve the response cache entry.
|
|
155
|
-
* @returns The response cache entry.
|
|
156
|
-
*/ async handleGet(key, responseGenerator, context, resolve) {
|
|
157
|
-
let previousIncrementalCacheEntry = null;
|
|
158
|
-
let resolved = false;
|
|
159
|
-
try {
|
|
160
|
-
previousIncrementalCacheEntry = !this.minimal_mode ? await context.incrementalCache.get(key, {
|
|
161
|
-
kind: (0, _utils.routeKindToIncrementalCacheKind)(context.routeKind),
|
|
162
|
-
isRoutePPREnabled: context.isRoutePPREnabled,
|
|
163
|
-
isFallback: context.isFallback
|
|
164
|
-
}) : null;
|
|
165
|
-
if (previousIncrementalCacheEntry && !context.isOnDemandRevalidate) {
|
|
166
|
-
resolve(previousIncrementalCacheEntry);
|
|
167
|
-
resolved = true;
|
|
168
|
-
if (!previousIncrementalCacheEntry.isStale || context.isPrefetch) return previousIncrementalCacheEntry;
|
|
169
|
-
}
|
|
170
|
-
const incrementalResponseCacheEntry = await this.revalidate(key, context.incrementalCache, context.isRoutePPREnabled, context.isFallback, responseGenerator, previousIncrementalCacheEntry, previousIncrementalCacheEntry !== null && !context.isOnDemandRevalidate, void 0, context.invocationID);
|
|
171
|
-
if (!incrementalResponseCacheEntry) {
|
|
172
|
-
if (this.minimal_mode) {
|
|
173
|
-
const cacheKey = createCacheKey(key, context.invocationID);
|
|
174
|
-
this.cache.remove(cacheKey);
|
|
175
|
-
}
|
|
176
|
-
return null;
|
|
177
|
-
}
|
|
178
|
-
if (context.isOnDemandRevalidate && !resolved) return incrementalResponseCacheEntry;
|
|
179
|
-
return incrementalResponseCacheEntry;
|
|
180
|
-
} catch (err) {
|
|
181
|
-
if (resolved) {
|
|
182
|
-
console.error(err);
|
|
183
|
-
return null;
|
|
184
|
-
}
|
|
185
|
-
throw err;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Revalidates the cache entry for the given key.
|
|
190
|
-
*
|
|
191
|
-
* @param key - The key to revalidate the cache entry for.
|
|
192
|
-
* @param incrementalCache - The incremental cache to use to revalidate the cache entry.
|
|
193
|
-
* @param isRoutePPREnabled - Whether the route is PPR enabled.
|
|
194
|
-
* @param isFallback - Whether the route is a fallback.
|
|
195
|
-
* @param responseGenerator - The response generator to use to generate the response cache entry.
|
|
196
|
-
* @param previousIncrementalCacheEntry - The previous cache entry to use to revalidate the cache entry.
|
|
197
|
-
* @param hasResolved - Whether the response has been resolved.
|
|
198
|
-
* @param waitUntil - Optional function to register background work.
|
|
199
|
-
* @param invocationID - The invocation ID for cache key scoping.
|
|
200
|
-
* @returns The revalidated cache entry.
|
|
201
|
-
*/ async revalidate(key, incrementalCache, isRoutePPREnabled, isFallback, responseGenerator, previousIncrementalCacheEntry, hasResolved, waitUntil, invocationID) {
|
|
202
|
-
return this.revalidateBatcher.batch(key, () => {
|
|
203
|
-
const promise = this.handleRevalidate(key, incrementalCache, isRoutePPREnabled, isFallback, responseGenerator, previousIncrementalCacheEntry, hasResolved, invocationID);
|
|
204
|
-
if (waitUntil) waitUntil(promise);
|
|
205
|
-
return promise;
|
|
206
|
-
});
|
|
207
|
-
}
|
|
208
|
-
async handleRevalidate(key, incrementalCache, isRoutePPREnabled, isFallback, responseGenerator, previousIncrementalCacheEntry, hasResolved, invocationID) {
|
|
209
|
-
try {
|
|
210
|
-
const responseCacheEntry = await responseGenerator({
|
|
211
|
-
hasResolved,
|
|
212
|
-
previousCacheEntry: previousIncrementalCacheEntry,
|
|
213
|
-
isRevalidating: true
|
|
214
|
-
});
|
|
215
|
-
if (!responseCacheEntry) return null;
|
|
216
|
-
const incrementalResponseCacheEntry = await (0, _utils.fromResponseCacheEntry)({
|
|
217
|
-
...responseCacheEntry,
|
|
218
|
-
isMiss: !previousIncrementalCacheEntry
|
|
219
|
-
});
|
|
220
|
-
if (incrementalResponseCacheEntry.cacheControl) if (this.minimal_mode) {
|
|
221
|
-
const cacheKey = createCacheKey(key, invocationID);
|
|
222
|
-
this.cache.set(cacheKey, {
|
|
223
|
-
entry: incrementalResponseCacheEntry,
|
|
224
|
-
expiresAt: Date.now() + this.ttl
|
|
225
|
-
});
|
|
226
|
-
} else await incrementalCache.set(key, incrementalResponseCacheEntry.value, {
|
|
227
|
-
cacheControl: incrementalResponseCacheEntry.cacheControl,
|
|
228
|
-
isRoutePPREnabled,
|
|
229
|
-
isFallback
|
|
230
|
-
});
|
|
231
|
-
return incrementalResponseCacheEntry;
|
|
232
|
-
} catch (err) {
|
|
233
|
-
if (previousIncrementalCacheEntry == null ? void 0 : previousIncrementalCacheEntry.cacheControl) {
|
|
234
|
-
const revalidate = Math.min(Math.max(previousIncrementalCacheEntry.cacheControl.revalidate || 3, 3), 30);
|
|
235
|
-
const expire = previousIncrementalCacheEntry.cacheControl.expire === void 0 ? void 0 : Math.max(revalidate + 3, previousIncrementalCacheEntry.cacheControl.expire);
|
|
236
|
-
await incrementalCache.set(key, previousIncrementalCacheEntry.value, {
|
|
237
|
-
cacheControl: {
|
|
238
|
-
revalidate,
|
|
239
|
-
expire
|
|
240
|
-
},
|
|
241
|
-
isRoutePPREnabled,
|
|
242
|
-
isFallback
|
|
243
|
-
});
|
|
244
|
-
}
|
|
245
|
-
throw err;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
};
|
|
249
|
-
}) });
|
|
250
|
-
|
|
251
|
-
//#endregion
|
|
252
|
-
export default require_response_cache();
|
|
253
|
-
|
|
254
|
-
export { require_response_cache };
|
|
255
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../node_modules/next/dist/server/response-cache/index.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return ResponseCache;\n }\n});\n0 && __export(require(\"./types\"));\nconst _batcher = require(\"../../lib/batcher\");\nconst _lrucache = require(\"../lib/lru-cache\");\nconst _log = require(\"../../build/output/log\");\nconst _scheduler = require(\"../../lib/scheduler\");\nconst _utils = require(\"./utils\");\n_export_star(require(\"./types\"), exports);\nfunction _export_star(from, to) {\n Object.keys(from).forEach(function(k) {\n if (k !== \"default\" && !Object.prototype.hasOwnProperty.call(to, k)) {\n Object.defineProperty(to, k, {\n enumerable: true,\n get: function() {\n return from[k];\n }\n });\n }\n });\n return from;\n}\n/**\n * Parses an environment variable as a positive integer, returning the fallback\n * if the value is missing, not a number, or not positive.\n */ function parsePositiveInt(envValue, fallback) {\n if (!envValue) return fallback;\n const parsed = parseInt(envValue, 10);\n return Number.isFinite(parsed) && parsed > 0 ? parsed : fallback;\n}\n/**\n * Default TTL (in milliseconds) for minimal mode response cache entries.\n * Used for cache hit validation as a fallback for providers that don't\n * send the x-invocation-id header yet.\n *\n * 10 seconds chosen because:\n * - Long enough to dedupe rapid successive requests (e.g., page + data)\n * - Short enough to not serve stale data across unrelated requests\n *\n * Can be configured via `NEXT_PRIVATE_RESPONSE_CACHE_TTL` environment variable.\n */ const DEFAULT_TTL_MS = parsePositiveInt(process.env.NEXT_PRIVATE_RESPONSE_CACHE_TTL, 10000);\n/**\n * Default maximum number of entries in the response cache.\n * Can be configured via `NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE` environment variable.\n */ const DEFAULT_MAX_SIZE = parsePositiveInt(process.env.NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE, 150);\n/**\n * Separator used in compound cache keys to join pathname and invocationID.\n * Using null byte (\\0) since it cannot appear in valid URL paths or UUIDs.\n */ const KEY_SEPARATOR = '\\0';\n/**\n * Sentinel value used for TTL-based cache entries (when invocationID is undefined).\n * Chosen to be a clearly reserved marker for internal cache keys.\n */ const TTL_SENTINEL = '__ttl_sentinel__';\n/**\n * Creates a compound cache key from pathname and invocationID.\n */ function createCacheKey(pathname, invocationID) {\n return `${pathname}${KEY_SEPARATOR}${invocationID ?? TTL_SENTINEL}`;\n}\n/**\n * Extracts the invocationID from a compound cache key.\n * Returns undefined if the key used TTL_SENTINEL.\n */ function extractInvocationID(compoundKey) {\n const separatorIndex = compoundKey.lastIndexOf(KEY_SEPARATOR);\n if (separatorIndex === -1) return undefined;\n const invocationID = compoundKey.slice(separatorIndex + 1);\n return invocationID === TTL_SENTINEL ? undefined : invocationID;\n}\nclass ResponseCache {\n constructor(minimal_mode, maxSize = DEFAULT_MAX_SIZE, ttl = DEFAULT_TTL_MS){\n this.getBatcher = _batcher.Batcher.create({\n // Ensure on-demand revalidate doesn't block normal requests, it should be\n // safe to run an on-demand revalidate for the same key as a normal request.\n cacheKeyFn: ({ key, isOnDemandRevalidate })=>`${key}-${isOnDemandRevalidate ? '1' : '0'}`,\n // We wait to do any async work until after we've added our promise to\n // `pendingResponses` to ensure that any any other calls will reuse the\n // same promise until we've fully finished our work.\n schedulerFn: _scheduler.scheduleOnNextTick\n });\n this.revalidateBatcher = _batcher.Batcher.create({\n // We wait to do any async work until after we've added our promise to\n // `pendingResponses` to ensure that any any other calls will reuse the\n // same promise until we've fully finished our work.\n schedulerFn: _scheduler.scheduleOnNextTick\n });\n /**\n * Set of invocation IDs that have had cache entries evicted.\n * Used to detect when the cache size may be too small.\n * Bounded to prevent memory growth.\n */ this.evictedInvocationIDs = new Set();\n this.minimal_mode = minimal_mode;\n this.maxSize = maxSize;\n this.ttl = ttl;\n // Create the LRU cache with eviction tracking\n this.cache = new _lrucache.LRUCache(maxSize, undefined, (compoundKey)=>{\n const invocationID = extractInvocationID(compoundKey);\n if (invocationID) {\n // Bound to 100 entries to prevent unbounded memory growth.\n // FIFO eviction is acceptable here because:\n // 1. Invocations are short-lived (single request lifecycle), so older\n // invocations are unlikely to still be active after 100 newer ones\n // 2. This warning mechanism is best-effort for developer guidance—\n // missing occasional eviction warnings doesn't affect correctness\n // 3. If a long-running invocation is somehow evicted and then has\n // another cache entry evicted, it will simply be re-added\n if (this.evictedInvocationIDs.size >= 100) {\n const first = this.evictedInvocationIDs.values().next().value;\n if (first) this.evictedInvocationIDs.delete(first);\n }\n this.evictedInvocationIDs.add(invocationID);\n }\n });\n }\n /**\n * Gets the response cache entry for the given key.\n *\n * @param key - The key to get the response cache entry for.\n * @param responseGenerator - The response generator to use to generate the response cache entry.\n * @param context - The context for the get request.\n * @returns The response cache entry.\n */ async get(key, responseGenerator, context) {\n // If there is no key for the cache, we can't possibly look this up in the\n // cache so just return the result of the response generator.\n if (!key) {\n return responseGenerator({\n hasResolved: false,\n previousCacheEntry: null\n });\n }\n // Check minimal mode cache before doing any other work.\n if (this.minimal_mode) {\n const cacheKey = createCacheKey(key, context.invocationID);\n const cachedItem = this.cache.get(cacheKey);\n if (cachedItem) {\n // With invocationID: exact match found - always a hit\n // With TTL mode: must check expiration\n if (context.invocationID !== undefined) {\n return (0, _utils.toResponseCacheEntry)(cachedItem.entry);\n }\n // TTL mode: check expiration\n const now = Date.now();\n if (cachedItem.expiresAt > now) {\n return (0, _utils.toResponseCacheEntry)(cachedItem.entry);\n }\n // TTL expired - clean up\n this.cache.remove(cacheKey);\n }\n // Warn if this invocation had entries evicted - indicates cache may be too small.\n if (context.invocationID && this.evictedInvocationIDs.has(context.invocationID)) {\n (0, _log.warnOnce)(`Response cache entry was evicted for invocation ${context.invocationID}. ` + `Consider increasing NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE (current: ${this.maxSize}).`);\n }\n }\n const { incrementalCache, isOnDemandRevalidate = false, isFallback = false, isRoutePPREnabled = false, isPrefetch = false, waitUntil, routeKind, invocationID } = context;\n const response = await this.getBatcher.batch({\n key,\n isOnDemandRevalidate\n }, ({ resolve })=>{\n const promise = this.handleGet(key, responseGenerator, {\n incrementalCache,\n isOnDemandRevalidate,\n isFallback,\n isRoutePPREnabled,\n isPrefetch,\n routeKind,\n invocationID\n }, resolve);\n // We need to ensure background revalidates are passed to waitUntil.\n if (waitUntil) waitUntil(promise);\n return promise;\n });\n return (0, _utils.toResponseCacheEntry)(response);\n }\n /**\n * Handles the get request for the response cache.\n *\n * @param key - The key to get the response cache entry for.\n * @param responseGenerator - The response generator to use to generate the response cache entry.\n * @param context - The context for the get request.\n * @param resolve - The resolve function to use to resolve the response cache entry.\n * @returns The response cache entry.\n */ async handleGet(key, responseGenerator, context, resolve) {\n let previousIncrementalCacheEntry = null;\n let resolved = false;\n try {\n // Get the previous cache entry if not in minimal mode\n previousIncrementalCacheEntry = !this.minimal_mode ? await context.incrementalCache.get(key, {\n kind: (0, _utils.routeKindToIncrementalCacheKind)(context.routeKind),\n isRoutePPREnabled: context.isRoutePPREnabled,\n isFallback: context.isFallback\n }) : null;\n if (previousIncrementalCacheEntry && !context.isOnDemandRevalidate) {\n resolve(previousIncrementalCacheEntry);\n resolved = true;\n if (!previousIncrementalCacheEntry.isStale || context.isPrefetch) {\n // The cached value is still valid, so we don't need to update it yet.\n return previousIncrementalCacheEntry;\n }\n }\n // Revalidate the cache entry\n const incrementalResponseCacheEntry = await this.revalidate(key, context.incrementalCache, context.isRoutePPREnabled, context.isFallback, responseGenerator, previousIncrementalCacheEntry, previousIncrementalCacheEntry !== null && !context.isOnDemandRevalidate, undefined, context.invocationID);\n // Handle null response\n if (!incrementalResponseCacheEntry) {\n // Remove the cache item if it was set so we don't use it again.\n if (this.minimal_mode) {\n const cacheKey = createCacheKey(key, context.invocationID);\n this.cache.remove(cacheKey);\n }\n return null;\n }\n // Resolve for on-demand revalidation or if not already resolved\n if (context.isOnDemandRevalidate && !resolved) {\n return incrementalResponseCacheEntry;\n }\n return incrementalResponseCacheEntry;\n } catch (err) {\n // If we've already resolved the cache entry, we can't reject as we\n // already resolved the cache entry so log the error here.\n if (resolved) {\n console.error(err);\n return null;\n }\n throw err;\n }\n }\n /**\n * Revalidates the cache entry for the given key.\n *\n * @param key - The key to revalidate the cache entry for.\n * @param incrementalCache - The incremental cache to use to revalidate the cache entry.\n * @param isRoutePPREnabled - Whether the route is PPR enabled.\n * @param isFallback - Whether the route is a fallback.\n * @param responseGenerator - The response generator to use to generate the response cache entry.\n * @param previousIncrementalCacheEntry - The previous cache entry to use to revalidate the cache entry.\n * @param hasResolved - Whether the response has been resolved.\n * @param waitUntil - Optional function to register background work.\n * @param invocationID - The invocation ID for cache key scoping.\n * @returns The revalidated cache entry.\n */ async revalidate(key, incrementalCache, isRoutePPREnabled, isFallback, responseGenerator, previousIncrementalCacheEntry, hasResolved, waitUntil, invocationID) {\n return this.revalidateBatcher.batch(key, ()=>{\n const promise = this.handleRevalidate(key, incrementalCache, isRoutePPREnabled, isFallback, responseGenerator, previousIncrementalCacheEntry, hasResolved, invocationID);\n // We need to ensure background revalidates are passed to waitUntil.\n if (waitUntil) waitUntil(promise);\n return promise;\n });\n }\n async handleRevalidate(key, incrementalCache, isRoutePPREnabled, isFallback, responseGenerator, previousIncrementalCacheEntry, hasResolved, invocationID) {\n try {\n // Generate the response cache entry using the response generator.\n const responseCacheEntry = await responseGenerator({\n hasResolved,\n previousCacheEntry: previousIncrementalCacheEntry,\n isRevalidating: true\n });\n if (!responseCacheEntry) {\n return null;\n }\n // Convert the response cache entry to an incremental response cache entry.\n const incrementalResponseCacheEntry = await (0, _utils.fromResponseCacheEntry)({\n ...responseCacheEntry,\n isMiss: !previousIncrementalCacheEntry\n });\n // We want to persist the result only if it has a cache control value\n // defined.\n if (incrementalResponseCacheEntry.cacheControl) {\n if (this.minimal_mode) {\n // Set TTL expiration for cache hit validation. Entries are validated\n // by invocationID when available, with TTL as a fallback for providers\n // that don't send x-invocation-id. Memory is managed by LRU eviction.\n const cacheKey = createCacheKey(key, invocationID);\n this.cache.set(cacheKey, {\n entry: incrementalResponseCacheEntry,\n expiresAt: Date.now() + this.ttl\n });\n } else {\n await incrementalCache.set(key, incrementalResponseCacheEntry.value, {\n cacheControl: incrementalResponseCacheEntry.cacheControl,\n isRoutePPREnabled,\n isFallback\n });\n }\n }\n return incrementalResponseCacheEntry;\n } catch (err) {\n // When a path is erroring we automatically re-set the existing cache\n // with new revalidate and expire times to prevent non-stop retrying.\n if (previousIncrementalCacheEntry == null ? void 0 : previousIncrementalCacheEntry.cacheControl) {\n const revalidate = Math.min(Math.max(previousIncrementalCacheEntry.cacheControl.revalidate || 3, 3), 30);\n const expire = previousIncrementalCacheEntry.cacheControl.expire === undefined ? undefined : Math.max(revalidate + 3, previousIncrementalCacheEntry.cacheControl.expire);\n await incrementalCache.set(key, previousIncrementalCacheEntry.value, {\n cacheControl: {\n revalidate: revalidate,\n expire: expire\n },\n isRoutePPREnabled,\n isFallback\n });\n }\n // We haven't resolved yet, so let's throw to indicate an error.\n throw err;\n }\n }\n}\n\n//# sourceMappingURL=index.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EACzC,OAAO,MACV,CAAC;AACF,QAAO,eAAe,SAAS,WAAW;EACtC,YAAY;EACZ,KAAK,WAAW;AACZ,UAAO;;EAEd,CAAC;CAEF,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;AACN,+BAAiC,QAAQ;CACzC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AI;IAEA,MAAM,qBAAqB,MAAM,kBAAkB;KAC/C;KACA,oBAAoB;KACpB,gBAAgB;KACnB,CAAC;AACF,QAAI,CAAC,mBACD,QAAO;IAGX,MAAM,gCAAgC,OAAO,GAAG,OAAO,wBAAwB;KAC3E,GAAG;KACH,QAAQ,CAAC;KACZ,CAAC;AAGF,QAAI,8BAA8B,aAC9B,KAAI,KAAK,cAAc;KAInB,MAAM,WAAW,eAAe,KAAK,aAAa;AAClD,UAAK,MAAM,IAAI,UAAU;MACrB,OAAO;MACP,WAAW,KAAK,KAAK,GAAG,KAAK;MAChC,CAAC;UAEF,OAAM,iBAAiB,IAAI,KAAK,8BAA8B,OAAO;KACjE,cAAc,8BAA8B;KAC5C;KACA;KACH,CAAC;AAGV,WAAO;YACF,KAAK;AAGV,QAAI,iCAAiC,OAAO,KAAK,IAAI,8BAA8B,cAAc;KAC7F,MAAM,aAAa,KAAK,IAAI,KAAK,IAAI,8BAA8B,aAAa,cAAc,GAAG,EAAE,EAAE,GAAG;KACxG,MAAM,SAAS,8BAA8B,aAAa,WAAW,SAAY,SAAY,KAAK,IAAI,aAAa,GAAG,8BAA8B,aAAa,OAAO;AACxK,WAAM,iBAAiB,IAAI,KAAK,8BAA8B,OAAO;MACjE,cAAc;OACE;OACJ;OACX;MACD;MACA;MACH,CAAC;;AAGN,UAAM"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region node_modules/next/dist/server/response-cache/types.js
|
|
4
|
-
var require_types = /* @__PURE__ */ __commonJS({ "node_modules/next/dist/server/response-cache/types.js": ((exports) => {
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
function _export(target, all) {
|
|
7
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: all[name]
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
_export(exports, {
|
|
13
|
-
CachedRouteKind: function() {
|
|
14
|
-
return CachedRouteKind;
|
|
15
|
-
},
|
|
16
|
-
IncrementalCacheKind: function() {
|
|
17
|
-
return IncrementalCacheKind;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
var CachedRouteKind = /* @__PURE__ */ function(CachedRouteKind$1) {
|
|
21
|
-
CachedRouteKind$1["APP_PAGE"] = "APP_PAGE";
|
|
22
|
-
CachedRouteKind$1["APP_ROUTE"] = "APP_ROUTE";
|
|
23
|
-
CachedRouteKind$1["PAGES"] = "PAGES";
|
|
24
|
-
CachedRouteKind$1["FETCH"] = "FETCH";
|
|
25
|
-
CachedRouteKind$1["REDIRECT"] = "REDIRECT";
|
|
26
|
-
CachedRouteKind$1["IMAGE"] = "IMAGE";
|
|
27
|
-
return CachedRouteKind$1;
|
|
28
|
-
}({});
|
|
29
|
-
var IncrementalCacheKind = /* @__PURE__ */ function(IncrementalCacheKind$1) {
|
|
30
|
-
IncrementalCacheKind$1["APP_PAGE"] = "APP_PAGE";
|
|
31
|
-
IncrementalCacheKind$1["APP_ROUTE"] = "APP_ROUTE";
|
|
32
|
-
IncrementalCacheKind$1["PAGES"] = "PAGES";
|
|
33
|
-
IncrementalCacheKind$1["FETCH"] = "FETCH";
|
|
34
|
-
IncrementalCacheKind$1["IMAGE"] = "IMAGE";
|
|
35
|
-
return IncrementalCacheKind$1;
|
|
36
|
-
}({});
|
|
37
|
-
}) });
|
|
38
|
-
|
|
39
|
-
//#endregion
|
|
40
|
-
export default require_types();
|
|
41
|
-
|
|
42
|
-
export { require_types };
|
|
43
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["CachedRouteKind","IncrementalCacheKind"],"sources":["../../../../../../node_modules/next/dist/server/response-cache/types.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n CachedRouteKind: null,\n IncrementalCacheKind: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n CachedRouteKind: function() {\n return CachedRouteKind;\n },\n IncrementalCacheKind: function() {\n return IncrementalCacheKind;\n }\n});\nvar CachedRouteKind = /*#__PURE__*/ function(CachedRouteKind) {\n CachedRouteKind[\"APP_PAGE\"] = \"APP_PAGE\";\n CachedRouteKind[\"APP_ROUTE\"] = \"APP_ROUTE\";\n CachedRouteKind[\"PAGES\"] = \"PAGES\";\n CachedRouteKind[\"FETCH\"] = \"FETCH\";\n CachedRouteKind[\"REDIRECT\"] = \"REDIRECT\";\n CachedRouteKind[\"IMAGE\"] = \"IMAGE\";\n return CachedRouteKind;\n}({});\nvar IncrementalCacheKind = /*#__PURE__*/ function(IncrementalCacheKind) {\n IncrementalCacheKind[\"APP_PAGE\"] = \"APP_PAGE\";\n IncrementalCacheKind[\"APP_ROUTE\"] = \"APP_ROUTE\";\n IncrementalCacheKind[\"PAGES\"] = \"PAGES\";\n IncrementalCacheKind[\"FETCH\"] = \"FETCH\";\n IncrementalCacheKind[\"IMAGE\"] = \"IMAGE\";\n return IncrementalCacheKind;\n}({});\n\n//# sourceMappingURL=types.js.map"],"x_google_ignoreList":[0],"mappings":";;;;AACA,QAAO,eAAe,SAAS,cAAc,EACzC,OAAO,MACV,CAAC;CAKF,SAAS,QAAQ,QAAQ,KAAK;AAC1B,OAAI,IAAI,QAAQ,IAAI,QAAO,eAAe,QAAQ,MAAM;GACpD,YAAY;GACZ,KAAK,IAAI;GACZ,CAAC;;AAEN,SAAQ,SAAS;EACb,iBAAiB,WAAW;AACxB,UAAO;;EAEX,sBAAsB,WAAW;AAC7B,UAAO;;EAEd,CAAC;CACF,IAAI,kBAAgC,yBAAS,mBAAiB;AAC1D,oBAAgB,cAAc;AAC9B,oBAAgB,eAAe;AAC/B,oBAAgB,WAAW;AAC3B,oBAAgB,WAAW;AAC3B,oBAAgB,cAAc;AAC9B,oBAAgB,WAAW;AAC3B,SAAOA;GACT,EAAE,CAAC;CACL,IAAI,uBAAqC,yBAAS,wBAAsB;AACpE,yBAAqB,cAAc;AACnC,yBAAqB,eAAe;AACpC,yBAAqB,WAAW;AAChC,yBAAqB,WAAW;AAChC,yBAAqB,WAAW;AAChC,SAAOC;GACT,EAAE,CAAC"}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require_constants } from "../../lib/constants.js";
|
|
3
|
-
import { require_types } from "./types.js";
|
|
4
|
-
import { require_render_result } from "../render-result.js";
|
|
5
|
-
import { require_route_kind } from "../route-kind.js";
|
|
6
|
-
|
|
7
|
-
//#region node_modules/next/dist/server/response-cache/utils.js
|
|
8
|
-
var require_utils = /* @__PURE__ */ __commonJS({ "node_modules/next/dist/server/response-cache/utils.js": ((exports) => {
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
function _export(target, all) {
|
|
11
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: all[name]
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
_export(exports, {
|
|
17
|
-
fromResponseCacheEntry: function() {
|
|
18
|
-
return fromResponseCacheEntry;
|
|
19
|
-
},
|
|
20
|
-
routeKindToIncrementalCacheKind: function() {
|
|
21
|
-
return routeKindToIncrementalCacheKind;
|
|
22
|
-
},
|
|
23
|
-
toResponseCacheEntry: function() {
|
|
24
|
-
return toResponseCacheEntry;
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
const _types = require_types();
|
|
28
|
-
const _renderresult = /* @__PURE__ */ _interop_require_default(require_render_result());
|
|
29
|
-
const _routekind = require_route_kind();
|
|
30
|
-
const _constants = require_constants();
|
|
31
|
-
function _interop_require_default(obj) {
|
|
32
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
|
33
|
-
}
|
|
34
|
-
async function fromResponseCacheEntry(cacheEntry) {
|
|
35
|
-
var _cacheEntry_value, _cacheEntry_value1;
|
|
36
|
-
return {
|
|
37
|
-
...cacheEntry,
|
|
38
|
-
value: ((_cacheEntry_value = cacheEntry.value) == null ? void 0 : _cacheEntry_value.kind) === _types.CachedRouteKind.PAGES ? {
|
|
39
|
-
kind: _types.CachedRouteKind.PAGES,
|
|
40
|
-
html: await cacheEntry.value.html.toUnchunkedString(true),
|
|
41
|
-
pageData: cacheEntry.value.pageData,
|
|
42
|
-
headers: cacheEntry.value.headers,
|
|
43
|
-
status: cacheEntry.value.status
|
|
44
|
-
} : ((_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind) === _types.CachedRouteKind.APP_PAGE ? {
|
|
45
|
-
kind: _types.CachedRouteKind.APP_PAGE,
|
|
46
|
-
html: await cacheEntry.value.html.toUnchunkedString(true),
|
|
47
|
-
postponed: cacheEntry.value.postponed,
|
|
48
|
-
rscData: cacheEntry.value.rscData,
|
|
49
|
-
headers: cacheEntry.value.headers,
|
|
50
|
-
status: cacheEntry.value.status,
|
|
51
|
-
segmentData: cacheEntry.value.segmentData
|
|
52
|
-
} : cacheEntry.value
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
async function toResponseCacheEntry(response) {
|
|
56
|
-
var _response_value, _response_value1;
|
|
57
|
-
if (!response) return null;
|
|
58
|
-
return {
|
|
59
|
-
isMiss: response.isMiss,
|
|
60
|
-
isStale: response.isStale,
|
|
61
|
-
cacheControl: response.cacheControl,
|
|
62
|
-
isFallback: response.isFallback,
|
|
63
|
-
value: ((_response_value = response.value) == null ? void 0 : _response_value.kind) === _types.CachedRouteKind.PAGES ? {
|
|
64
|
-
kind: _types.CachedRouteKind.PAGES,
|
|
65
|
-
html: _renderresult.default.fromStatic(response.value.html, _constants.HTML_CONTENT_TYPE_HEADER),
|
|
66
|
-
pageData: response.value.pageData,
|
|
67
|
-
headers: response.value.headers,
|
|
68
|
-
status: response.value.status
|
|
69
|
-
} : ((_response_value1 = response.value) == null ? void 0 : _response_value1.kind) === _types.CachedRouteKind.APP_PAGE ? {
|
|
70
|
-
kind: _types.CachedRouteKind.APP_PAGE,
|
|
71
|
-
html: _renderresult.default.fromStatic(response.value.html, _constants.HTML_CONTENT_TYPE_HEADER),
|
|
72
|
-
rscData: response.value.rscData,
|
|
73
|
-
headers: response.value.headers,
|
|
74
|
-
status: response.value.status,
|
|
75
|
-
postponed: response.value.postponed,
|
|
76
|
-
segmentData: response.value.segmentData
|
|
77
|
-
} : response.value
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
function routeKindToIncrementalCacheKind(routeKind) {
|
|
81
|
-
switch (routeKind) {
|
|
82
|
-
case _routekind.RouteKind.PAGES: return _types.IncrementalCacheKind.PAGES;
|
|
83
|
-
case _routekind.RouteKind.APP_PAGE: return _types.IncrementalCacheKind.APP_PAGE;
|
|
84
|
-
case _routekind.RouteKind.IMAGE: return _types.IncrementalCacheKind.IMAGE;
|
|
85
|
-
case _routekind.RouteKind.APP_ROUTE: return _types.IncrementalCacheKind.APP_ROUTE;
|
|
86
|
-
case _routekind.RouteKind.PAGES_API: throw Object.defineProperty(/* @__PURE__ */ new Error(`Unexpected route kind ${routeKind}`), "__NEXT_ERROR_CODE", {
|
|
87
|
-
value: "E64",
|
|
88
|
-
enumerable: false,
|
|
89
|
-
configurable: true
|
|
90
|
-
});
|
|
91
|
-
default: return routeKind;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}) });
|
|
95
|
-
|
|
96
|
-
//#endregion
|
|
97
|
-
export default require_utils();
|
|
98
|
-
|
|
99
|
-
export { require_utils };
|
|
100
|
-
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","names":[],"sources":["../../../../../../node_modules/next/dist/server/response-cache/utils.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n fromResponseCacheEntry: null,\n routeKindToIncrementalCacheKind: null,\n toResponseCacheEntry: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n fromResponseCacheEntry: function() {\n return fromResponseCacheEntry;\n },\n routeKindToIncrementalCacheKind: function() {\n return routeKindToIncrementalCacheKind;\n },\n toResponseCacheEntry: function() {\n return toResponseCacheEntry;\n }\n});\nconst _types = require(\"./types\");\nconst _renderresult = /*#__PURE__*/ _interop_require_default(require(\"../render-result\"));\nconst _routekind = require(\"../route-kind\");\nconst _constants = require(\"../../lib/constants\");\nfunction _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nasync function fromResponseCacheEntry(cacheEntry) {\n var _cacheEntry_value, _cacheEntry_value1;\n return {\n ...cacheEntry,\n value: ((_cacheEntry_value = cacheEntry.value) == null ? void 0 : _cacheEntry_value.kind) === _types.CachedRouteKind.PAGES ? {\n kind: _types.CachedRouteKind.PAGES,\n html: await cacheEntry.value.html.toUnchunkedString(true),\n pageData: cacheEntry.value.pageData,\n headers: cacheEntry.value.headers,\n status: cacheEntry.value.status\n } : ((_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind) === _types.CachedRouteKind.APP_PAGE ? {\n kind: _types.CachedRouteKind.APP_PAGE,\n html: await cacheEntry.value.html.toUnchunkedString(true),\n postponed: cacheEntry.value.postponed,\n rscData: cacheEntry.value.rscData,\n headers: cacheEntry.value.headers,\n status: cacheEntry.value.status,\n segmentData: cacheEntry.value.segmentData\n } : cacheEntry.value\n };\n}\nasync function toResponseCacheEntry(response) {\n var _response_value, _response_value1;\n if (!response) return null;\n return {\n isMiss: response.isMiss,\n isStale: response.isStale,\n cacheControl: response.cacheControl,\n isFallback: response.isFallback,\n value: ((_response_value = response.value) == null ? void 0 : _response_value.kind) === _types.CachedRouteKind.PAGES ? {\n kind: _types.CachedRouteKind.PAGES,\n html: _renderresult.default.fromStatic(response.value.html, _constants.HTML_CONTENT_TYPE_HEADER),\n pageData: response.value.pageData,\n headers: response.value.headers,\n status: response.value.status\n } : ((_response_value1 = response.value) == null ? void 0 : _response_value1.kind) === _types.CachedRouteKind.APP_PAGE ? {\n kind: _types.CachedRouteKind.APP_PAGE,\n html: _renderresult.default.fromStatic(response.value.html, _constants.HTML_CONTENT_TYPE_HEADER),\n rscData: response.value.rscData,\n headers: response.value.headers,\n status: response.value.status,\n postponed: response.value.postponed,\n segmentData: response.value.segmentData\n } : response.value\n };\n}\nfunction routeKindToIncrementalCacheKind(routeKind) {\n switch(routeKind){\n case _routekind.RouteKind.PAGES:\n return _types.IncrementalCacheKind.PAGES;\n case _routekind.RouteKind.APP_PAGE:\n return _types.IncrementalCacheKind.APP_PAGE;\n case _routekind.RouteKind.IMAGE:\n return _types.IncrementalCacheKind.IMAGE;\n case _routekind.RouteKind.APP_ROUTE:\n return _types.IncrementalCacheKind.APP_ROUTE;\n case _routekind.RouteKind.PAGES_API:\n // Pages Router API routes are not cached in the incremental cache.\n throw Object.defineProperty(new Error(`Unexpected route kind ${routeKind}`), \"__NEXT_ERROR_CODE\", {\n value: \"E64\",\n enumerable: false,\n configurable: true\n });\n default:\n return routeKind;\n }\n}\n\n//# sourceMappingURL=utils.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EACzC,OAAO,MACV,CAAC;CAMF,SAAS,QAAQ,QAAQ,KAAK;AAC1B,OAAI,IAAI,QAAQ,IAAI,QAAO,eAAe,QAAQ,MAAM;GACpD,YAAY;GACZ,KAAK,IAAI;GACZ,CAAC;;AAEN,SAAQ,SAAS;EACb,wBAAwB,WAAW;AAC/B,UAAO;;EAEX,iCAAiC,WAAW;AACxC,UAAO;;EAEX,sBAAsB,WAAW;AAC7B,UAAO;;EAEd,CAAC;CACF,MAAM;CACN,MAAM,gBAA8B,iEAAqD;CACzF,MAAM;CACN,MAAM;CACN,SAAS,yB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M,cAAc,QAAQ,WAAW,SAAS,MAAM,MAAM,WAAW,yBAAyB;IAChG,SAAS,SAAS,MAAM;IACxB,SAAS,SAAS,MAAM;IACxB,QAAQ,SAAS,MAAM;IACvB,WAAW,SAAS,MAAM;IAC1B,aAAa,SAAS,MAAM;IAC/B,GAAG,SAAS;GAChB;;CAEL,SAAS,gCAAgC,WAAW;AAChD,UAAO,WAAP;GACI,KAAK,WAAW,UAAU,MACtB,QAAO,OAAO,qBAAqB;GACvC,KAAK,WAAW,UAAU,SACtB,QAAO,OAAO,qBAAqB;GACvC,KAAK,WAAW,UAAU,MACtB,QAAO,OAAO,qBAAqB;GACvC,KAAK,WAAW,UAAU,UACtB,QAAO,OAAO,qBAAqB;GACvC,KAAK,WAAW,UAAU,UAEtB,OAAM,OAAO,+BAAe,IAAI,MAAM,yBAAyB,YAAY,EAAE,qBAAqB;IAC9F,OAAO;IACP,YAAY;IACZ,cAAc;IACjB,CAAC;GACN,QACI,QAAO"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region node_modules/next/dist/server/route-kind.js
|
|
4
|
-
var require_route_kind = /* @__PURE__ */ __commonJS({ "node_modules/next/dist/server/route-kind.js": ((exports) => {
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
Object.defineProperty(exports, "RouteKind", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function() {
|
|
9
|
-
return RouteKind;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
var RouteKind = /* @__PURE__ */ function(RouteKind$1) {
|
|
13
|
-
/**
|
|
14
|
-
* `PAGES` represents all the React pages that are under `pages/`.
|
|
15
|
-
*/ RouteKind$1["PAGES"] = "PAGES";
|
|
16
|
-
/**
|
|
17
|
-
* `PAGES_API` represents all the API routes under `pages/api/`.
|
|
18
|
-
*/ RouteKind$1["PAGES_API"] = "PAGES_API";
|
|
19
|
-
/**
|
|
20
|
-
* `APP_PAGE` represents all the React pages that are under `app/` with the
|
|
21
|
-
* filename of `page.{j,t}s{,x}`.
|
|
22
|
-
*/ RouteKind$1["APP_PAGE"] = "APP_PAGE";
|
|
23
|
-
/**
|
|
24
|
-
* `APP_ROUTE` represents all the API routes and metadata routes that are under `app/` with the
|
|
25
|
-
* filename of `route.{j,t}s{,x}`.
|
|
26
|
-
*/ RouteKind$1["APP_ROUTE"] = "APP_ROUTE";
|
|
27
|
-
/**
|
|
28
|
-
* `IMAGE` represents all the images that are generated by `next/image`.
|
|
29
|
-
*/ RouteKind$1["IMAGE"] = "IMAGE";
|
|
30
|
-
return RouteKind$1;
|
|
31
|
-
}({});
|
|
32
|
-
}) });
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
export default require_route_kind();
|
|
36
|
-
|
|
37
|
-
export { require_route_kind };
|
|
38
|
-
//# sourceMappingURL=route-kind.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"route-kind.js","names":["RouteKind"],"sources":["../../../../../node_modules/next/dist/server/route-kind.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"RouteKind\", {\n enumerable: true,\n get: function() {\n return RouteKind;\n }\n});\nvar RouteKind = /*#__PURE__*/ function(RouteKind) {\n /**\n * `PAGES` represents all the React pages that are under `pages/`.\n */ RouteKind[\"PAGES\"] = \"PAGES\";\n /**\n * `PAGES_API` represents all the API routes under `pages/api/`.\n */ RouteKind[\"PAGES_API\"] = \"PAGES_API\";\n /**\n * `APP_PAGE` represents all the React pages that are under `app/` with the\n * filename of `page.{j,t}s{,x}`.\n */ RouteKind[\"APP_PAGE\"] = \"APP_PAGE\";\n /**\n * `APP_ROUTE` represents all the API routes and metadata routes that are under `app/` with the\n * filename of `route.{j,t}s{,x}`.\n */ RouteKind[\"APP_ROUTE\"] = \"APP_ROUTE\";\n /**\n * `IMAGE` represents all the images that are generated by `next/image`.\n */ RouteKind[\"IMAGE\"] = \"IMAGE\";\n return RouteKind;\n}({});\n\n//# sourceMappingURL=route-kind.js.map"],"x_google_ignoreList":[0],"mappings":";;;;AACA,QAAO,eAAe,SAAS,cAAc,EACzC,OAAO,MACV,CAAC;AACF,QAAO,eAAe,SAAS,aAAa;EACxC,YAAY;EACZ,KAAK,WAAW;AACZ,UAAO;;EAEd,CAAC;CACF,IAAI,YAA0B,yBAAS,aAAW;;;IAG5C,aAAU,WAAW;;;IAGrB,aAAU,eAAe;;;;IAIzB,aAAU,cAAc;;;;IAIxB,aAAU,eAAe;;;IAGzB,aAAU,WAAW;AACvB,SAAOA;GACT,EAAE,CAAC"}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region node_modules/next/dist/server/stream-utils/encoded-tags.js
|
|
4
|
-
var require_encoded_tags = /* @__PURE__ */ __commonJS({ "node_modules/next/dist/server/stream-utils/encoded-tags.js": ((exports) => {
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
Object.defineProperty(exports, "ENCODED_TAGS", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function() {
|
|
9
|
-
return ENCODED_TAGS;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
const ENCODED_TAGS = {
|
|
13
|
-
OPENING: {
|
|
14
|
-
HTML: new Uint8Array([
|
|
15
|
-
60,
|
|
16
|
-
104,
|
|
17
|
-
116,
|
|
18
|
-
109,
|
|
19
|
-
108
|
|
20
|
-
]),
|
|
21
|
-
HEAD: new Uint8Array([
|
|
22
|
-
60,
|
|
23
|
-
104,
|
|
24
|
-
101,
|
|
25
|
-
97,
|
|
26
|
-
100
|
|
27
|
-
]),
|
|
28
|
-
BODY: new Uint8Array([
|
|
29
|
-
60,
|
|
30
|
-
98,
|
|
31
|
-
111,
|
|
32
|
-
100,
|
|
33
|
-
121
|
|
34
|
-
])
|
|
35
|
-
},
|
|
36
|
-
CLOSED: {
|
|
37
|
-
HEAD: new Uint8Array([
|
|
38
|
-
60,
|
|
39
|
-
47,
|
|
40
|
-
104,
|
|
41
|
-
101,
|
|
42
|
-
97,
|
|
43
|
-
100,
|
|
44
|
-
62
|
|
45
|
-
]),
|
|
46
|
-
BODY: new Uint8Array([
|
|
47
|
-
60,
|
|
48
|
-
47,
|
|
49
|
-
98,
|
|
50
|
-
111,
|
|
51
|
-
100,
|
|
52
|
-
121,
|
|
53
|
-
62
|
|
54
|
-
]),
|
|
55
|
-
HTML: new Uint8Array([
|
|
56
|
-
60,
|
|
57
|
-
47,
|
|
58
|
-
104,
|
|
59
|
-
116,
|
|
60
|
-
109,
|
|
61
|
-
108,
|
|
62
|
-
62
|
|
63
|
-
]),
|
|
64
|
-
BODY_AND_HTML: new Uint8Array([
|
|
65
|
-
60,
|
|
66
|
-
47,
|
|
67
|
-
98,
|
|
68
|
-
111,
|
|
69
|
-
100,
|
|
70
|
-
121,
|
|
71
|
-
62,
|
|
72
|
-
60,
|
|
73
|
-
47,
|
|
74
|
-
104,
|
|
75
|
-
116,
|
|
76
|
-
109,
|
|
77
|
-
108,
|
|
78
|
-
62
|
|
79
|
-
])
|
|
80
|
-
},
|
|
81
|
-
META: { ICON_MARK: new Uint8Array([
|
|
82
|
-
60,
|
|
83
|
-
109,
|
|
84
|
-
101,
|
|
85
|
-
116,
|
|
86
|
-
97,
|
|
87
|
-
32,
|
|
88
|
-
110,
|
|
89
|
-
97,
|
|
90
|
-
109,
|
|
91
|
-
101,
|
|
92
|
-
61,
|
|
93
|
-
34,
|
|
94
|
-
194,
|
|
95
|
-
171,
|
|
96
|
-
110,
|
|
97
|
-
120,
|
|
98
|
-
116,
|
|
99
|
-
45,
|
|
100
|
-
105,
|
|
101
|
-
99,
|
|
102
|
-
111,
|
|
103
|
-
110,
|
|
104
|
-
194,
|
|
105
|
-
187,
|
|
106
|
-
34
|
|
107
|
-
]) }
|
|
108
|
-
};
|
|
109
|
-
}) });
|
|
110
|
-
|
|
111
|
-
//#endregion
|
|
112
|
-
export default require_encoded_tags();
|
|
113
|
-
|
|
114
|
-
export { require_encoded_tags };
|
|
115
|
-
//# sourceMappingURL=encoded-tags.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"encoded-tags.js","names":[],"sources":["../../../../../../node_modules/next/dist/server/stream-utils/encoded-tags.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"ENCODED_TAGS\", {\n enumerable: true,\n get: function() {\n return ENCODED_TAGS;\n }\n});\nconst ENCODED_TAGS = {\n // opening tags do not have the closing `>` since they can contain other attributes such as `<body className=''>`\n OPENING: {\n // <html\n HTML: new Uint8Array([\n 60,\n 104,\n 116,\n 109,\n 108\n ]),\n // <head\n HEAD: new Uint8Array([\n 60,\n 104,\n 101,\n 97,\n 100\n ]),\n // <body\n BODY: new Uint8Array([\n 60,\n 98,\n 111,\n 100,\n 121\n ])\n },\n CLOSED: {\n // </head>\n HEAD: new Uint8Array([\n 60,\n 47,\n 104,\n 101,\n 97,\n 100,\n 62\n ]),\n // </body>\n BODY: new Uint8Array([\n 60,\n 47,\n 98,\n 111,\n 100,\n 121,\n 62\n ]),\n // </html>\n HTML: new Uint8Array([\n 60,\n 47,\n 104,\n 116,\n 109,\n 108,\n 62\n ]),\n // </body></html>\n BODY_AND_HTML: new Uint8Array([\n 60,\n 47,\n 98,\n 111,\n 100,\n 121,\n 62,\n 60,\n 47,\n 104,\n 116,\n 109,\n 108,\n 62\n ])\n },\n META: {\n // Only the match the prefix cause the suffix can be different wether it's xml compatible or not \">\" or \"/>\"\n // <meta name=\"«nxt-icon»\"\n // This is a special mark that will be replaced by the icon insertion script tag.\n ICON_MARK: new Uint8Array([\n 60,\n 109,\n 101,\n 116,\n 97,\n 32,\n 110,\n 97,\n 109,\n 101,\n 61,\n 34,\n 194,\n 171,\n 110,\n 120,\n 116,\n 45,\n 105,\n 99,\n 111,\n 110,\n 194,\n 187,\n 34\n ])\n }\n};\n\n//# sourceMappingURL=encoded-tags.js.map"],"x_google_ignoreList":[0],"mappings":";;;;AACA,QAAO,eAAe,SAAS,cAAc,EACzC,OAAO,MACV,CAAC;AACF,QAAO,eAAe,SAAS,gBAAgB;EAC3C,YAAY;EACZ,KAAK,WAAW;AACZ,UAAO;;EAEd,CAAC;CACF,MAAM,eAAe;EAEjB,SAAS;GAEL,MAAM,IAAI,WAAW;IACjB;IACA;IACA;IACA;IACA;IACH,CAAC;GAEF,MAAM,IAAI,WAAW;IACjB;IACA;IACA;IACA;IACA;IACH,CAAC;GAEF,MAAM,IAAI,WAAW;IACjB;IACA;IACA;IACA;IACA;IACH,CAAC;GACL;EACD,QAAQ;GAEJ,MAAM,IAAI,WAAW;IACjB;IACA;IACA;IACA;IACA;IACA;IACA;IACH,CAAC;GAEF,MAAM,IAAI,WAAW;IACjB;IACA;IACA;IACA;IACA;IACA;IACA;IACH,CAAC;GAEF,MAAM,IAAI,WAAW;IACjB;IACA;IACA;IACA;IACA;IACA;IACA;IACH,CAAC;GAEF,eAAe,IAAI,WAAW;IAC1B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACH,CAAC;GACL;EACD,MAAM,EAIF,WAAW,IAAI,WAAW;GACtB;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACH,CAAC,EACL;EACJ"}
|