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.
Files changed (177) hide show
  1. package/dist/actions.js +3 -5
  2. package/dist/actions.js.map +1 -1
  3. package/dist/container-animation/container-animation.d.ts +2 -2
  4. package/dist/container-animation/container-animation.d.ts.map +1 -1
  5. package/dist/date-field/DateField.d.ts +2 -2
  6. package/dist/date-hour-field/DateHourField.d.ts +2 -2
  7. package/dist/input-suggest/input-suggest.d.ts +2 -2
  8. package/dist/landing-text/client-landing-text.js +2 -3
  9. package/dist/landing-text/client-landing-text.js.map +1 -1
  10. package/dist/landing-text/landing-content.d.ts.map +1 -1
  11. package/dist/landing-text/landing-content.js +4 -1
  12. package/dist/landing-text/landing-content.js.map +1 -1
  13. package/dist/landing-text/landing-text.d.ts +2 -2
  14. package/dist/landing-text/server-landing-text.d.ts +2 -2
  15. package/dist/landing-text/server-landing-text.d.ts.map +1 -1
  16. package/dist/page-header/page-header.d.ts +2 -2
  17. package/dist/remote-selector/remote-selector.d.ts +3 -3
  18. package/dist/text-field/TextField.d.ts +5 -5
  19. package/dist/toggle-field/ToggleGroup.d.ts +2 -2
  20. package/package.json +1 -1
  21. package/dist/_virtual/rolldown_runtime.js +0 -31
  22. package/dist/node_modules/next/cache.js +0 -79
  23. package/dist/node_modules/next/cache.js.map +0 -1
  24. package/dist/node_modules/next/dist/build/output/log.js +0 -119
  25. package/dist/node_modules/next/dist/build/output/log.js.map +0 -1
  26. package/dist/node_modules/next/dist/client/components/app-router-headers.js +0 -119
  27. package/dist/node_modules/next/dist/client/components/app-router-headers.js.map +0 -1
  28. package/dist/node_modules/next/dist/client/components/hooks-server-context.js +0 -41
  29. package/dist/node_modules/next/dist/client/components/hooks-server-context.js.map +0 -1
  30. package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +0 -41
  31. package/dist/node_modules/next/dist/client/components/static-generation-bailout.js.map +0 -1
  32. package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js +0 -312
  33. package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js.map +0 -1
  34. package/dist/node_modules/next/dist/compiled/@opentelemetry/api/index.js +0 -1286
  35. package/dist/node_modules/next/dist/compiled/@opentelemetry/api/index.js.map +0 -1
  36. package/dist/node_modules/next/dist/lib/batcher.js +0 -63
  37. package/dist/node_modules/next/dist/lib/batcher.js.map +0 -1
  38. package/dist/node_modules/next/dist/lib/constants.js +0 -325
  39. package/dist/node_modules/next/dist/lib/constants.js.map +0 -1
  40. package/dist/node_modules/next/dist/lib/detached-promise.js +0 -30
  41. package/dist/node_modules/next/dist/lib/detached-promise.js.map +0 -1
  42. package/dist/node_modules/next/dist/lib/framework/boundary-constants.js +0 -36
  43. package/dist/node_modules/next/dist/lib/framework/boundary-constants.js.map +0 -1
  44. package/dist/node_modules/next/dist/lib/picocolors.js +0 -141
  45. package/dist/node_modules/next/dist/lib/picocolors.js.map +0 -1
  46. package/dist/node_modules/next/dist/lib/scheduler.js +0 -49
  47. package/dist/node_modules/next/dist/lib/scheduler.js.map +0 -1
  48. package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +0 -67
  49. package/dist/node_modules/next/dist/server/app-render/async-local-storage.js.map +0 -1
  50. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +0 -763
  51. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js.map +0 -1
  52. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +0 -19
  53. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js.map +0 -1
  54. package/dist/node_modules/next/dist/server/app-render/staged-rendering.js +0 -215
  55. package/dist/node_modules/next/dist/server/app-render/staged-rendering.js.map +0 -1
  56. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +0 -20
  57. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js.map +0 -1
  58. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +0 -20
  59. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js.map +0 -1
  60. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +0 -20
  61. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js.map +0 -1
  62. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +0 -214
  63. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js.map +0 -1
  64. package/dist/node_modules/next/dist/server/base-http/helpers.js +0 -36
  65. package/dist/node_modules/next/dist/server/base-http/helpers.js.map +0 -1
  66. package/dist/node_modules/next/dist/server/client-component-renderer-logger.js +0 -65
  67. package/dist/node_modules/next/dist/server/client-component-renderer-logger.js.map +0 -1
  68. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +0 -85
  69. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js.map +0 -1
  70. package/dist/node_modules/next/dist/server/lib/clone-response.js +0 -55
  71. package/dist/node_modules/next/dist/server/lib/clone-response.js.map +0 -1
  72. package/dist/node_modules/next/dist/server/lib/dedupe-fetch.js +0 -106
  73. package/dist/node_modules/next/dist/server/lib/dedupe-fetch.js.map +0 -1
  74. package/dist/node_modules/next/dist/server/lib/lru-cache.js +0 -179
  75. package/dist/node_modules/next/dist/server/lib/lru-cache.js.map +0 -1
  76. package/dist/node_modules/next/dist/server/lib/patch-fetch.js +0 -703
  77. package/dist/node_modules/next/dist/server/lib/patch-fetch.js.map +0 -1
  78. package/dist/node_modules/next/dist/server/lib/trace/constants.js +0 -186
  79. package/dist/node_modules/next/dist/server/lib/trace/constants.js.map +0 -1
  80. package/dist/node_modules/next/dist/server/lib/trace/tracer.js +0 -229
  81. package/dist/node_modules/next/dist/server/lib/trace/tracer.js.map +0 -1
  82. package/dist/node_modules/next/dist/server/pipe-readable.js +0 -112
  83. package/dist/node_modules/next/dist/server/pipe-readable.js.map +0 -1
  84. package/dist/node_modules/next/dist/server/render-result.js +0 -156
  85. package/dist/node_modules/next/dist/server/render-result.js.map +0 -1
  86. package/dist/node_modules/next/dist/server/request-meta.js +0 -54
  87. package/dist/node_modules/next/dist/server/request-meta.js.map +0 -1
  88. package/dist/node_modules/next/dist/server/response-cache/index.js +0 -255
  89. package/dist/node_modules/next/dist/server/response-cache/index.js.map +0 -1
  90. package/dist/node_modules/next/dist/server/response-cache/types.js +0 -43
  91. package/dist/node_modules/next/dist/server/response-cache/types.js.map +0 -1
  92. package/dist/node_modules/next/dist/server/response-cache/utils.js +0 -100
  93. package/dist/node_modules/next/dist/server/response-cache/utils.js.map +0 -1
  94. package/dist/node_modules/next/dist/server/route-kind.js +0 -38
  95. package/dist/node_modules/next/dist/server/route-kind.js.map +0 -1
  96. package/dist/node_modules/next/dist/server/stream-utils/encoded-tags.js +0 -115
  97. package/dist/node_modules/next/dist/server/stream-utils/encoded-tags.js.map +0 -1
  98. package/dist/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +0 -635
  99. package/dist/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js.map +0 -1
  100. package/dist/node_modules/next/dist/server/stream-utils/uint8array-helpers.js +0 -58
  101. package/dist/node_modules/next/dist/server/stream-utils/uint8array-helpers.js.map +0 -1
  102. package/dist/node_modules/next/dist/server/use-cache/cache-life.js +0 -140
  103. package/dist/node_modules/next/dist/server/use-cache/cache-life.js.map +0 -1
  104. package/dist/node_modules/next/dist/server/use-cache/cache-tag.js +0 -52
  105. package/dist/node_modules/next/dist/server/use-cache/cache-tag.js.map +0 -1
  106. package/dist/node_modules/next/dist/server/web/error.js +0 -55
  107. package/dist/node_modules/next/dist/server/web/error.js.map +0 -1
  108. package/dist/node_modules/next/dist/server/web/next-url.js +0 -203
  109. package/dist/node_modules/next/dist/server/web/next-url.js.map +0 -1
  110. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js +0 -103
  111. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js.map +0 -1
  112. package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js +0 -31
  113. package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js.map +0 -1
  114. package/dist/node_modules/next/dist/server/web/spec-extension/request.js +0 -98
  115. package/dist/node_modules/next/dist/server/web/spec-extension/request.js.map +0 -1
  116. package/dist/node_modules/next/dist/server/web/spec-extension/revalidate.js +0 -162
  117. package/dist/node_modules/next/dist/server/web/spec-extension/revalidate.js.map +0 -1
  118. package/dist/node_modules/next/dist/server/web/spec-extension/unstable-cache.js +0 -187
  119. package/dist/node_modules/next/dist/server/web/spec-extension/unstable-cache.js.map +0 -1
  120. package/dist/node_modules/next/dist/server/web/spec-extension/unstable-no-store.js +0 -49
  121. package/dist/node_modules/next/dist/server/web/spec-extension/unstable-no-store.js.map +0 -1
  122. package/dist/node_modules/next/dist/server/web/utils.js +0 -113
  123. package/dist/node_modules/next/dist/server/web/utils.js.map +0 -1
  124. package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js +0 -32
  125. package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js.map +0 -1
  126. package/dist/node_modules/next/dist/shared/lib/errors/constants.js +0 -24
  127. package/dist/node_modules/next/dist/shared/lib/errors/constants.js.map +0 -1
  128. package/dist/node_modules/next/dist/shared/lib/get-hostname.js +0 -25
  129. package/dist/node_modules/next/dist/shared/lib/get-hostname.js.map +0 -1
  130. package/dist/node_modules/next/dist/shared/lib/hash.js +0 -37
  131. package/dist/node_modules/next/dist/shared/lib/hash.js.map +0 -1
  132. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -23
  133. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js.map +0 -1
  134. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -43
  135. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js.map +0 -1
  136. package/dist/node_modules/next/dist/shared/lib/invariant-error.js +0 -24
  137. package/dist/node_modules/next/dist/shared/lib/invariant-error.js.map +0 -1
  138. package/dist/node_modules/next/dist/shared/lib/is-thenable.js +0 -21
  139. package/dist/node_modules/next/dist/shared/lib/is-thenable.js.map +0 -1
  140. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +0 -36
  141. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js.map +0 -1
  142. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -21
  143. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js.map +0 -1
  144. package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js +0 -31
  145. package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js.map +0 -1
  146. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -31
  147. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js.map +0 -1
  148. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -25
  149. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js.map +0 -1
  150. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js +0 -25
  151. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js.map +0 -1
  152. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -52
  153. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js.map +0 -1
  154. package/dist/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js +0 -29
  155. package/dist/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js.map +0 -1
  156. package/dist/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js +0 -33
  157. package/dist/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js.map +0 -1
  158. package/dist/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js +0 -52
  159. package/dist/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js.map +0 -1
  160. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -33
  161. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js.map +0 -1
  162. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -93
  163. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js.map +0 -1
  164. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -27
  165. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js.map +0 -1
  166. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -33
  167. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js.map +0 -1
  168. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -25
  169. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js.map +0 -1
  170. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js +0 -26
  171. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js.map +0 -1
  172. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -21
  173. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js.map +0 -1
  174. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -168
  175. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js.map +0 -1
  176. package/dist/node_modules/next/dist/shared/lib/segment.js +0 -85
  177. package/dist/node_modules/next/dist/shared/lib/segment.js.map +0 -1
@@ -1,203 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require_detect_domain_locale } from "../../shared/lib/i18n/detect-domain-locale.js";
3
- import { require_format_next_pathname_info } from "../../shared/lib/router/utils/format-next-pathname-info.js";
4
- import { require_get_hostname } from "../../shared/lib/get-hostname.js";
5
- import { require_get_next_pathname_info } from "../../shared/lib/router/utils/get-next-pathname-info.js";
6
-
7
- //#region node_modules/next/dist/server/web/next-url.js
8
- var require_next_url = /* @__PURE__ */ __commonJS({ "node_modules/next/dist/server/web/next-url.js": ((exports) => {
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- Object.defineProperty(exports, "NextURL", {
11
- enumerable: true,
12
- get: function() {
13
- return NextURL;
14
- }
15
- });
16
- const _detectdomainlocale = require_detect_domain_locale();
17
- const _formatnextpathnameinfo = require_format_next_pathname_info();
18
- const _gethostname = require_get_hostname();
19
- const _getnextpathnameinfo = require_get_next_pathname_info();
20
- const REGEX_LOCALHOST_HOSTNAME = /^(?:127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)$/;
21
- function parseURL(url, base) {
22
- const parsed = new URL(String(url), base && String(base));
23
- if (REGEX_LOCALHOST_HOSTNAME.test(parsed.hostname)) parsed.hostname = "localhost";
24
- return parsed;
25
- }
26
- const Internal = Symbol("NextURLInternal");
27
- var NextURL = class NextURL {
28
- constructor(input, baseOrOpts, opts) {
29
- let base;
30
- let options;
31
- if (typeof baseOrOpts === "object" && "pathname" in baseOrOpts || typeof baseOrOpts === "string") {
32
- base = baseOrOpts;
33
- options = opts || {};
34
- } else options = opts || baseOrOpts || {};
35
- this[Internal] = {
36
- url: parseURL(input, base ?? options.base),
37
- options,
38
- basePath: ""
39
- };
40
- this.analyze();
41
- }
42
- analyze() {
43
- var _this_Internal_options_nextConfig_i18n, _this_Internal_options_nextConfig, _this_Internal_domainLocale, _this_Internal_options_nextConfig_i18n1, _this_Internal_options_nextConfig1;
44
- const info = (0, _getnextpathnameinfo.getNextPathnameInfo)(this[Internal].url.pathname, {
45
- nextConfig: this[Internal].options.nextConfig,
46
- parseData: !process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE,
47
- i18nProvider: this[Internal].options.i18nProvider
48
- });
49
- const hostname = (0, _gethostname.getHostname)(this[Internal].url, this[Internal].options.headers);
50
- this[Internal].domainLocale = this[Internal].options.i18nProvider ? this[Internal].options.i18nProvider.detectDomainLocale(hostname) : (0, _detectdomainlocale.detectDomainLocale)((_this_Internal_options_nextConfig = this[Internal].options.nextConfig) == null ? void 0 : (_this_Internal_options_nextConfig_i18n = _this_Internal_options_nextConfig.i18n) == null ? void 0 : _this_Internal_options_nextConfig_i18n.domains, hostname);
51
- const defaultLocale = ((_this_Internal_domainLocale = this[Internal].domainLocale) == null ? void 0 : _this_Internal_domainLocale.defaultLocale) || ((_this_Internal_options_nextConfig1 = this[Internal].options.nextConfig) == null ? void 0 : (_this_Internal_options_nextConfig_i18n1 = _this_Internal_options_nextConfig1.i18n) == null ? void 0 : _this_Internal_options_nextConfig_i18n1.defaultLocale);
52
- this[Internal].url.pathname = info.pathname;
53
- this[Internal].defaultLocale = defaultLocale;
54
- this[Internal].basePath = info.basePath ?? "";
55
- this[Internal].buildId = info.buildId;
56
- this[Internal].locale = info.locale ?? defaultLocale;
57
- this[Internal].trailingSlash = info.trailingSlash;
58
- }
59
- formatPathname() {
60
- return (0, _formatnextpathnameinfo.formatNextPathnameInfo)({
61
- basePath: this[Internal].basePath,
62
- buildId: this[Internal].buildId,
63
- defaultLocale: !this[Internal].options.forceLocale ? this[Internal].defaultLocale : void 0,
64
- locale: this[Internal].locale,
65
- pathname: this[Internal].url.pathname,
66
- trailingSlash: this[Internal].trailingSlash
67
- });
68
- }
69
- formatSearch() {
70
- return this[Internal].url.search;
71
- }
72
- get buildId() {
73
- return this[Internal].buildId;
74
- }
75
- set buildId(buildId) {
76
- this[Internal].buildId = buildId;
77
- }
78
- get locale() {
79
- return this[Internal].locale ?? "";
80
- }
81
- set locale(locale) {
82
- var _this_Internal_options_nextConfig_i18n, _this_Internal_options_nextConfig;
83
- if (!this[Internal].locale || !((_this_Internal_options_nextConfig = this[Internal].options.nextConfig) == null ? void 0 : (_this_Internal_options_nextConfig_i18n = _this_Internal_options_nextConfig.i18n) == null ? void 0 : _this_Internal_options_nextConfig_i18n.locales.includes(locale))) throw Object.defineProperty(/* @__PURE__ */ new TypeError(`The NextURL configuration includes no locale "${locale}"`), "__NEXT_ERROR_CODE", {
84
- value: "E597",
85
- enumerable: false,
86
- configurable: true
87
- });
88
- this[Internal].locale = locale;
89
- }
90
- get defaultLocale() {
91
- return this[Internal].defaultLocale;
92
- }
93
- get domainLocale() {
94
- return this[Internal].domainLocale;
95
- }
96
- get searchParams() {
97
- return this[Internal].url.searchParams;
98
- }
99
- get host() {
100
- return this[Internal].url.host;
101
- }
102
- set host(value) {
103
- this[Internal].url.host = value;
104
- }
105
- get hostname() {
106
- return this[Internal].url.hostname;
107
- }
108
- set hostname(value) {
109
- this[Internal].url.hostname = value;
110
- }
111
- get port() {
112
- return this[Internal].url.port;
113
- }
114
- set port(value) {
115
- this[Internal].url.port = value;
116
- }
117
- get protocol() {
118
- return this[Internal].url.protocol;
119
- }
120
- set protocol(value) {
121
- this[Internal].url.protocol = value;
122
- }
123
- get href() {
124
- const pathname = this.formatPathname();
125
- const search = this.formatSearch();
126
- return `${this.protocol}//${this.host}${pathname}${search}${this.hash}`;
127
- }
128
- set href(url) {
129
- this[Internal].url = parseURL(url);
130
- this.analyze();
131
- }
132
- get origin() {
133
- return this[Internal].url.origin;
134
- }
135
- get pathname() {
136
- return this[Internal].url.pathname;
137
- }
138
- set pathname(value) {
139
- this[Internal].url.pathname = value;
140
- }
141
- get hash() {
142
- return this[Internal].url.hash;
143
- }
144
- set hash(value) {
145
- this[Internal].url.hash = value;
146
- }
147
- get search() {
148
- return this[Internal].url.search;
149
- }
150
- set search(value) {
151
- this[Internal].url.search = value;
152
- }
153
- get password() {
154
- return this[Internal].url.password;
155
- }
156
- set password(value) {
157
- this[Internal].url.password = value;
158
- }
159
- get username() {
160
- return this[Internal].url.username;
161
- }
162
- set username(value) {
163
- this[Internal].url.username = value;
164
- }
165
- get basePath() {
166
- return this[Internal].basePath;
167
- }
168
- set basePath(value) {
169
- this[Internal].basePath = value.startsWith("/") ? value : `/${value}`;
170
- }
171
- toString() {
172
- return this.href;
173
- }
174
- toJSON() {
175
- return this.href;
176
- }
177
- [Symbol.for("edge-runtime.inspect.custom")]() {
178
- return {
179
- href: this.href,
180
- origin: this.origin,
181
- protocol: this.protocol,
182
- username: this.username,
183
- password: this.password,
184
- host: this.host,
185
- hostname: this.hostname,
186
- port: this.port,
187
- pathname: this.pathname,
188
- search: this.search,
189
- searchParams: this.searchParams,
190
- hash: this.hash
191
- };
192
- }
193
- clone() {
194
- return new NextURL(String(this), this[Internal].options);
195
- }
196
- };
197
- }) });
198
-
199
- //#endregion
200
- export default require_next_url();
201
-
202
- export { require_next_url };
203
- //# sourceMappingURL=next-url.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"next-url.js","names":[],"sources":["../../../../../../node_modules/next/dist/server/web/next-url.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"NextURL\", {\n enumerable: true,\n get: function() {\n return NextURL;\n }\n});\nconst _detectdomainlocale = require(\"../../shared/lib/i18n/detect-domain-locale\");\nconst _formatnextpathnameinfo = require(\"../../shared/lib/router/utils/format-next-pathname-info\");\nconst _gethostname = require(\"../../shared/lib/get-hostname\");\nconst _getnextpathnameinfo = require(\"../../shared/lib/router/utils/get-next-pathname-info\");\nconst REGEX_LOCALHOST_HOSTNAME = /^(?:127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\\[::1\\]|localhost)$/;\nfunction parseURL(url, base) {\n const parsed = new URL(String(url), base && String(base));\n if (REGEX_LOCALHOST_HOSTNAME.test(parsed.hostname)) {\n parsed.hostname = 'localhost';\n }\n return parsed;\n}\nconst Internal = Symbol('NextURLInternal');\nclass NextURL {\n constructor(input, baseOrOpts, opts){\n let base;\n let options;\n if (typeof baseOrOpts === 'object' && 'pathname' in baseOrOpts || typeof baseOrOpts === 'string') {\n base = baseOrOpts;\n options = opts || {};\n } else {\n options = opts || baseOrOpts || {};\n }\n this[Internal] = {\n url: parseURL(input, base ?? options.base),\n options: options,\n basePath: ''\n };\n this.analyze();\n }\n analyze() {\n var _this_Internal_options_nextConfig_i18n, _this_Internal_options_nextConfig, _this_Internal_domainLocale, _this_Internal_options_nextConfig_i18n1, _this_Internal_options_nextConfig1;\n const info = (0, _getnextpathnameinfo.getNextPathnameInfo)(this[Internal].url.pathname, {\n nextConfig: this[Internal].options.nextConfig,\n parseData: !process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE,\n i18nProvider: this[Internal].options.i18nProvider\n });\n const hostname = (0, _gethostname.getHostname)(this[Internal].url, this[Internal].options.headers);\n this[Internal].domainLocale = this[Internal].options.i18nProvider ? this[Internal].options.i18nProvider.detectDomainLocale(hostname) : (0, _detectdomainlocale.detectDomainLocale)((_this_Internal_options_nextConfig = this[Internal].options.nextConfig) == null ? void 0 : (_this_Internal_options_nextConfig_i18n = _this_Internal_options_nextConfig.i18n) == null ? void 0 : _this_Internal_options_nextConfig_i18n.domains, hostname);\n const defaultLocale = ((_this_Internal_domainLocale = this[Internal].domainLocale) == null ? void 0 : _this_Internal_domainLocale.defaultLocale) || ((_this_Internal_options_nextConfig1 = this[Internal].options.nextConfig) == null ? void 0 : (_this_Internal_options_nextConfig_i18n1 = _this_Internal_options_nextConfig1.i18n) == null ? void 0 : _this_Internal_options_nextConfig_i18n1.defaultLocale);\n this[Internal].url.pathname = info.pathname;\n this[Internal].defaultLocale = defaultLocale;\n this[Internal].basePath = info.basePath ?? '';\n this[Internal].buildId = info.buildId;\n this[Internal].locale = info.locale ?? defaultLocale;\n this[Internal].trailingSlash = info.trailingSlash;\n }\n formatPathname() {\n return (0, _formatnextpathnameinfo.formatNextPathnameInfo)({\n basePath: this[Internal].basePath,\n buildId: this[Internal].buildId,\n defaultLocale: !this[Internal].options.forceLocale ? this[Internal].defaultLocale : undefined,\n locale: this[Internal].locale,\n pathname: this[Internal].url.pathname,\n trailingSlash: this[Internal].trailingSlash\n });\n }\n formatSearch() {\n return this[Internal].url.search;\n }\n get buildId() {\n return this[Internal].buildId;\n }\n set buildId(buildId) {\n this[Internal].buildId = buildId;\n }\n get locale() {\n return this[Internal].locale ?? '';\n }\n set locale(locale) {\n var _this_Internal_options_nextConfig_i18n, _this_Internal_options_nextConfig;\n if (!this[Internal].locale || !((_this_Internal_options_nextConfig = this[Internal].options.nextConfig) == null ? void 0 : (_this_Internal_options_nextConfig_i18n = _this_Internal_options_nextConfig.i18n) == null ? void 0 : _this_Internal_options_nextConfig_i18n.locales.includes(locale))) {\n throw Object.defineProperty(new TypeError(`The NextURL configuration includes no locale \"${locale}\"`), \"__NEXT_ERROR_CODE\", {\n value: \"E597\",\n enumerable: false,\n configurable: true\n });\n }\n this[Internal].locale = locale;\n }\n get defaultLocale() {\n return this[Internal].defaultLocale;\n }\n get domainLocale() {\n return this[Internal].domainLocale;\n }\n get searchParams() {\n return this[Internal].url.searchParams;\n }\n get host() {\n return this[Internal].url.host;\n }\n set host(value) {\n this[Internal].url.host = value;\n }\n get hostname() {\n return this[Internal].url.hostname;\n }\n set hostname(value) {\n this[Internal].url.hostname = value;\n }\n get port() {\n return this[Internal].url.port;\n }\n set port(value) {\n this[Internal].url.port = value;\n }\n get protocol() {\n return this[Internal].url.protocol;\n }\n set protocol(value) {\n this[Internal].url.protocol = value;\n }\n get href() {\n const pathname = this.formatPathname();\n const search = this.formatSearch();\n return `${this.protocol}//${this.host}${pathname}${search}${this.hash}`;\n }\n set href(url) {\n this[Internal].url = parseURL(url);\n this.analyze();\n }\n get origin() {\n return this[Internal].url.origin;\n }\n get pathname() {\n return this[Internal].url.pathname;\n }\n set pathname(value) {\n this[Internal].url.pathname = value;\n }\n get hash() {\n return this[Internal].url.hash;\n }\n set hash(value) {\n this[Internal].url.hash = value;\n }\n get search() {\n return this[Internal].url.search;\n }\n set search(value) {\n this[Internal].url.search = value;\n }\n get password() {\n return this[Internal].url.password;\n }\n set password(value) {\n this[Internal].url.password = value;\n }\n get username() {\n return this[Internal].url.username;\n }\n set username(value) {\n this[Internal].url.username = value;\n }\n get basePath() {\n return this[Internal].basePath;\n }\n set basePath(value) {\n this[Internal].basePath = value.startsWith('/') ? value : `/${value}`;\n }\n toString() {\n return this.href;\n }\n toJSON() {\n return this.href;\n }\n [Symbol.for('edge-runtime.inspect.custom')]() {\n return {\n href: this.href,\n origin: this.origin,\n protocol: this.protocol,\n username: this.username,\n password: this.password,\n host: this.host,\n hostname: this.hostname,\n port: this.port,\n pathname: this.pathname,\n search: this.search,\n searchParams: this.searchParams,\n hash: this.hash\n };\n }\n clone() {\n return new NextURL(String(this), this[Internal].options);\n }\n}\n\n//# sourceMappingURL=next-url.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;CACF,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM,2BAA2B;CACjC,SAAS,SAAS,KAAK,MAAM;EACzB,MAAM,SAAS,IAAI,IAAI,OAAO,IAAI,EAAE,QAAQ,OAAO,KAAK,CAAC;AACzD,MAAI,yBAAyB,KAAK,OAAO,SAAS,CAC9C,QAAO,WAAW;AAEtB,SAAO;;CAEX,MAAM,WAAW,OAAO,kBAAkB;CAC1C,IAAM,UAAN,MAAM,QAAQ;EACV,YAAY,OAAO,YAAY,MAAK;GAChC,IAAI;GACJ,IAAI;AACJ,OAAI,OAAO,eAAe,YAAY,cAAc,cAAc,OAAO,eAAe,UAAU;AAC9F,WAAO;AACP,cAAU,QAAQ,EAAE;SAEpB,WAAU,QAAQ,cAAc,EAAE;AAEtC,QAAK,YAAY;IACb,KAAK,SAAS,OAAO,QAAQ,QAAQ,KAAK;IACjC;IACT,UAAU;IACb;AACD,QAAK,SAAS;;EAElB,UAAU;GACN,IAAI,wCAAwC,mCAAmC,6BAA6B,yCAAyC;GACrJ,MAAM,QAAQ,GAAG,qBAAqB,qBAAqB,KAAK,UAAU,IAAI,UAAU;IACpF,YAAY,KAAK,UAAU,QAAQ;IACnC,WAAW,CAAC,QAAQ,IAAI;IACxB,cAA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AAW;;EAElC,IAAI,OAAO;AACP,UAAO,KAAK,UAAU,IAAI;;EAE9B,IAAI,KAAK,OAAO;AACZ,QAAK,UAAU,IAAI,OAAO;;EAE9B,IAAI,SAAS;AACT,UAAO,KAAK,UAAU,IAAI;;EAE9B,IAAI,OAAO,OAAO;AACd,QAAK,UAAU,IAAI,SAAS;;EAEhC,IAAI,WAAW;AACX,UAAO,KAAK,UAAU,IAAI;;EAE9B,IAAI,SAAS,OAAO;AAChB,QAAK,UAAU,IAAI,WAAW;;EAElC,IAAI,WAAW;AACX,UAAO,KAAK,UAAU,IAAI;;EAE9B,IAAI,SAAS,OAAO;AAChB,QAAK,UAAU,IAAI,WAAW;;EAElC,IAAI,WAAW;AACX,UAAO,KAAK,UAAU;;EAE1B,IAAI,SAAS,OAAO;AAChB,QAAK,UAAU,WAAW,MAAM,WAAW,IAAI,GAAG,QAAQ,IAAI;;EAElE,WAAW;AACP,UAAO,KAAK;;EAEhB,SAAS;AACL,UAAO,KAAK;;EAEhB,CAAC,OAAO,IAAI,8BAA8B,IAAI;AAC1C,UAAO;IACH,MAAM,KAAK;IACX,QAAQ,KAAK;IACb,UAAU,KAAK;IACf,UAAU,KAAK;IACf,UAAU,KAAK;IACf,MAAM,KAAK;IACX,UAAU,KAAK;IACf,MAAM,KAAK;IACX,UAAU,KAAK;IACf,QAAQ,KAAK;IACb,cAAc,KAAK;IACnB,MAAM,KAAK;IACd;;EAEL,QAAQ;AACJ,UAAO,IAAI,QAAQ,OAAO,KAAK,EAAE,KAAK,UAAU,QAAQ"}
@@ -1,103 +0,0 @@
1
- import { __commonJS } from "../../../../../../../_virtual/rolldown_runtime.js";
2
- import { require_request_meta } from "../../../request-meta.js";
3
- import { require_utils } from "../../utils.js";
4
- import { require_request } from "../request.js";
5
- import { require_helpers } from "../../../base-http/helpers.js";
6
-
7
- //#region node_modules/next/dist/server/web/spec-extension/adapters/next-request.js
8
- var require_next_request = /* @__PURE__ */ __commonJS({ "node_modules/next/dist/server/web/spec-extension/adapters/next-request.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
- NextRequestAdapter: function() {
18
- return NextRequestAdapter;
19
- },
20
- ResponseAborted: function() {
21
- return ResponseAborted;
22
- },
23
- ResponseAbortedName: function() {
24
- return ResponseAbortedName;
25
- },
26
- createAbortController: function() {
27
- return createAbortController;
28
- },
29
- signalFromNodeResponse: function() {
30
- return signalFromNodeResponse;
31
- }
32
- });
33
- const _requestmeta = require_request_meta();
34
- const _utils = require_utils();
35
- const _request = require_request();
36
- const _helpers = require_helpers();
37
- const ResponseAbortedName = "ResponseAborted";
38
- var ResponseAborted = class extends Error {
39
- constructor(...args) {
40
- super(...args), this.name = ResponseAbortedName;
41
- }
42
- };
43
- function createAbortController(response) {
44
- const controller = new AbortController();
45
- response.once("close", () => {
46
- if (response.writableFinished) return;
47
- controller.abort(new ResponseAborted());
48
- });
49
- return controller;
50
- }
51
- function signalFromNodeResponse(response) {
52
- const { errored, destroyed } = response;
53
- if (errored || destroyed) return AbortSignal.abort(errored ?? new ResponseAborted());
54
- const { signal } = createAbortController(response);
55
- return signal;
56
- }
57
- var NextRequestAdapter = class NextRequestAdapter {
58
- static fromBaseNextRequest(request, signal) {
59
- if (process.env.NEXT_RUNTIME === "edge" && (0, _helpers.isWebNextRequest)(request)) return NextRequestAdapter.fromWebNextRequest(request);
60
- else if (process.env.NEXT_RUNTIME !== "edge" && (0, _helpers.isNodeNextRequest)(request)) return NextRequestAdapter.fromNodeNextRequest(request, signal);
61
- else throw Object.defineProperty(/* @__PURE__ */ new Error("Invariant: Unsupported NextRequest type"), "__NEXT_ERROR_CODE", {
62
- value: "E345",
63
- enumerable: false,
64
- configurable: true
65
- });
66
- }
67
- static fromNodeNextRequest(request, signal) {
68
- let body = null;
69
- if (request.method !== "GET" && request.method !== "HEAD" && request.body) body = request.body;
70
- let url;
71
- if (request.url.startsWith("http")) url = new URL(request.url);
72
- else {
73
- const base = (0, _requestmeta.getRequestMeta)(request, "initURL");
74
- if (!base || !base.startsWith("http")) url = new URL(request.url, "http://n");
75
- else url = new URL(request.url, base);
76
- }
77
- return new _request.NextRequest(url, {
78
- method: request.method,
79
- headers: (0, _utils.fromNodeOutgoingHttpHeaders)(request.headers),
80
- duplex: "half",
81
- signal,
82
- ...signal.aborted ? {} : { body }
83
- });
84
- }
85
- static fromWebNextRequest(request) {
86
- let body = null;
87
- if (request.method !== "GET" && request.method !== "HEAD") body = request.body;
88
- return new _request.NextRequest(request.url, {
89
- method: request.method,
90
- headers: (0, _utils.fromNodeOutgoingHttpHeaders)(request.headers),
91
- duplex: "half",
92
- signal: request.request.signal,
93
- ...request.request.signal.aborted ? {} : { body }
94
- });
95
- }
96
- };
97
- }) });
98
-
99
- //#endregion
100
- export default require_next_request();
101
-
102
- export { require_next_request };
103
- //# sourceMappingURL=next-request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"next-request.js","names":[],"sources":["../../../../../../../../node_modules/next/dist/server/web/spec-extension/adapters/next-request.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n NextRequestAdapter: null,\n ResponseAborted: null,\n ResponseAbortedName: null,\n createAbortController: null,\n signalFromNodeResponse: 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 NextRequestAdapter: function() {\n return NextRequestAdapter;\n },\n ResponseAborted: function() {\n return ResponseAborted;\n },\n ResponseAbortedName: function() {\n return ResponseAbortedName;\n },\n createAbortController: function() {\n return createAbortController;\n },\n signalFromNodeResponse: function() {\n return signalFromNodeResponse;\n }\n});\nconst _requestmeta = require(\"../../../request-meta\");\nconst _utils = require(\"../../utils\");\nconst _request = require(\"../request\");\nconst _helpers = require(\"../../../base-http/helpers\");\nconst ResponseAbortedName = 'ResponseAborted';\nclass ResponseAborted extends Error {\n constructor(...args){\n super(...args), this.name = ResponseAbortedName;\n }\n}\nfunction createAbortController(response) {\n const controller = new AbortController();\n // If `finish` fires first, then `res.end()` has been called and the close is\n // just us finishing the stream on our side. If `close` fires first, then we\n // know the client disconnected before we finished.\n response.once('close', ()=>{\n if (response.writableFinished) return;\n controller.abort(new ResponseAborted());\n });\n return controller;\n}\nfunction signalFromNodeResponse(response) {\n const { errored, destroyed } = response;\n if (errored || destroyed) {\n return AbortSignal.abort(errored ?? new ResponseAborted());\n }\n const { signal } = createAbortController(response);\n return signal;\n}\nclass NextRequestAdapter {\n static fromBaseNextRequest(request, signal) {\n if (// The type check here ensures that `req` is correctly typed, and the\n // environment variable check provides dead code elimination.\n process.env.NEXT_RUNTIME === 'edge' && (0, _helpers.isWebNextRequest)(request)) {\n return NextRequestAdapter.fromWebNextRequest(request);\n } else if (// The type check here ensures that `req` is correctly typed, and the\n // environment variable check provides dead code elimination.\n process.env.NEXT_RUNTIME !== 'edge' && (0, _helpers.isNodeNextRequest)(request)) {\n return NextRequestAdapter.fromNodeNextRequest(request, signal);\n } else {\n throw Object.defineProperty(new Error('Invariant: Unsupported NextRequest type'), \"__NEXT_ERROR_CODE\", {\n value: \"E345\",\n enumerable: false,\n configurable: true\n });\n }\n }\n static fromNodeNextRequest(request, signal) {\n // HEAD and GET requests can not have a body.\n let body = null;\n if (request.method !== 'GET' && request.method !== 'HEAD' && request.body) {\n // @ts-expect-error - this is handled by undici, when streams/web land use it instead\n body = request.body;\n }\n let url;\n if (request.url.startsWith('http')) {\n url = new URL(request.url);\n } else {\n // Grab the full URL from the request metadata.\n const base = (0, _requestmeta.getRequestMeta)(request, 'initURL');\n if (!base || !base.startsWith('http')) {\n // Because the URL construction relies on the fact that the URL provided\n // is absolute, we need to provide a base URL. We can't use the request\n // URL because it's relative, so we use a dummy URL instead.\n url = new URL(request.url, 'http://n');\n } else {\n url = new URL(request.url, base);\n }\n }\n return new _request.NextRequest(url, {\n method: request.method,\n headers: (0, _utils.fromNodeOutgoingHttpHeaders)(request.headers),\n duplex: 'half',\n signal,\n // geo\n // ip\n // nextConfig\n // body can not be passed if request was aborted\n // or we get a Request body was disturbed error\n ...signal.aborted ? {} : {\n body\n }\n });\n }\n static fromWebNextRequest(request) {\n // HEAD and GET requests can not have a body.\n let body = null;\n if (request.method !== 'GET' && request.method !== 'HEAD') {\n body = request.body;\n }\n return new _request.NextRequest(request.url, {\n method: request.method,\n headers: (0, _utils.fromNodeOutgoingHttpHeaders)(request.headers),\n duplex: 'half',\n signal: request.request.signal,\n // geo\n // ip\n // nextConfig\n // body can not be passed if request was aborted\n // or we get a Request body was disturbed error\n ...request.request.signal.aborted ? {} : {\n body\n }\n });\n }\n}\n\n//# sourceMappingURL=next-request.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EACzC,OAAO,MACV,CAAC;CAQF,SAAS,QAAQ,QAAQ,KAAK;AAC1B,OAAI,IAAI,QAAQ,IAAI,QAAO,eAAe,QAAQ,MAAM;GACpD,YAAY;GACZ,KAAK,IAAI;GACZ,CAAC;;AAEN,SAAQ,SAAS;EACb,oBAAoB,WAAW;AAC3B,UAAO;;EAEX,iBAAiB,WAAW;AACxB,UAAO;;EAEX,qBAAqB,WAAW;AAC5B,UAAO;;EAEX,uBAAuB,WAAW;AAC9B,UAAO;;EAEX,wBAAwB,WAAW;AAC/B,UAAO;;EAEd,CAAC;CACF,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM,sBAAsB;CAC5B,IAAM,kBAAN,cAA8B,MAAM;EAChC,YAAY,GAAG,MAAK;AAChB,SAAM,GAAG,KAAK,EAAE,KAAK,OAAO;;;CAGpC,SAAS,sBAAsB,UAAU;EACrC,MAAM,aAAa,IAAI,iBAAiB;AAIxC,WAAS,KAAK,eAAa;AACvB,OAAI,SAAS,iBAAkB;AAC/B,cAAW,MAAM,IAAI,iB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OAAO;AACX,OAAI,QAAQ,WAAW,SAAS,QAAQ,WAAW,OAC/C,QAAO,QAAQ;AAEnB,UAAO,IAAI,SAAS,YAAY,QAAQ,KAAK;IACzC,QAAQ,QAAQ;IAChB,UAAU,GAAG,OAAO,6BAA6B,QAAQ,QAAQ;IACjE,QAAQ;IACR,QAAQ,QAAQ,QAAQ;IAMxB,GAAG,QAAQ,QAAQ,OAAO,UAAU,EAAE,GAAG,EACrC,MACH;IACJ,CAAC"}
@@ -1,31 +0,0 @@
1
- import { __commonJS } from "../../../../../../_virtual/rolldown_runtime.js";
2
- import { require_cookies as require_cookies$1 } from "../../../compiled/@edge-runtime/cookies/index.js";
3
-
4
- //#region node_modules/next/dist/server/web/spec-extension/cookies.js
5
- var require_cookies = /* @__PURE__ */ __commonJS({ "node_modules/next/dist/server/web/spec-extension/cookies.js": ((exports) => {
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- function _export(target, all) {
8
- for (var name in all) Object.defineProperty(target, name, {
9
- enumerable: true,
10
- get: all[name]
11
- });
12
- }
13
- _export(exports, {
14
- RequestCookies: function() {
15
- return _cookies.RequestCookies;
16
- },
17
- ResponseCookies: function() {
18
- return _cookies.ResponseCookies;
19
- },
20
- stringifyCookie: function() {
21
- return _cookies.stringifyCookie;
22
- }
23
- });
24
- const _cookies = require_cookies$1();
25
- }) });
26
-
27
- //#endregion
28
- export default require_cookies();
29
-
30
- export { require_cookies };
31
- //# sourceMappingURL=cookies.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cookies.js","names":[],"sources":["../../../../../../../node_modules/next/dist/server/web/spec-extension/cookies.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n RequestCookies: null,\n ResponseCookies: null,\n stringifyCookie: 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 RequestCookies: function() {\n return _cookies.RequestCookies;\n },\n ResponseCookies: function() {\n return _cookies.ResponseCookies;\n },\n stringifyCookie: function() {\n return _cookies.stringifyCookie;\n }\n});\nconst _cookies = require(\"next/dist/compiled/@edge-runtime/cookies\");\n\n//# sourceMappingURL=cookies.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,gBAAgB,WAAW;AACvB,UAAO,SAAS;;EAEpB,iBAAiB,WAAW;AACxB,UAAO,SAAS;;EAEpB,iBAAiB,WAAW;AACxB,UAAO,SAAS;;EAEvB,CAAC;CACF,MAAM"}
@@ -1,98 +0,0 @@
1
- import { __commonJS } from "../../../../../../_virtual/rolldown_runtime.js";
2
- import { require_utils } from "../utils.js";
3
- import { require_next_url } from "../next-url.js";
4
- import { require_error } from "../error.js";
5
- import { require_cookies } from "./cookies.js";
6
-
7
- //#region node_modules/next/dist/server/web/spec-extension/request.js
8
- var require_request = /* @__PURE__ */ __commonJS({ "node_modules/next/dist/server/web/spec-extension/request.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
- INTERNALS: function() {
18
- return INTERNALS;
19
- },
20
- NextRequest: function() {
21
- return NextRequest;
22
- }
23
- });
24
- const _nexturl = require_next_url();
25
- const _utils = require_utils();
26
- const _error = require_error();
27
- const _cookies = require_cookies();
28
- const INTERNALS = Symbol("internal request");
29
- var NextRequest = class extends Request {
30
- constructor(input, init = {}) {
31
- const url = typeof input !== "string" && "url" in input ? input.url : String(input);
32
- (0, _utils.validateURL)(url);
33
- if (process.env.NEXT_RUNTIME !== "edge") {
34
- if (init.body && init.duplex !== "half") init.duplex = "half";
35
- }
36
- if (input instanceof Request) super(input, init);
37
- else super(url, init);
38
- const nextUrl = new _nexturl.NextURL(url, {
39
- headers: (0, _utils.toNodeOutgoingHttpHeaders)(this.headers),
40
- nextConfig: init.nextConfig
41
- });
42
- this[INTERNALS] = {
43
- cookies: new _cookies.RequestCookies(this.headers),
44
- nextUrl,
45
- url: process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE ? url : nextUrl.toString()
46
- };
47
- }
48
- [Symbol.for("edge-runtime.inspect.custom")]() {
49
- return {
50
- cookies: this.cookies,
51
- nextUrl: this.nextUrl,
52
- url: this.url,
53
- bodyUsed: this.bodyUsed,
54
- cache: this.cache,
55
- credentials: this.credentials,
56
- destination: this.destination,
57
- headers: Object.fromEntries(this.headers),
58
- integrity: this.integrity,
59
- keepalive: this.keepalive,
60
- method: this.method,
61
- mode: this.mode,
62
- redirect: this.redirect,
63
- referrer: this.referrer,
64
- referrerPolicy: this.referrerPolicy,
65
- signal: this.signal
66
- };
67
- }
68
- get cookies() {
69
- return this[INTERNALS].cookies;
70
- }
71
- get nextUrl() {
72
- return this[INTERNALS].nextUrl;
73
- }
74
- /**
75
- * @deprecated
76
- * `page` has been deprecated in favour of `URLPattern`.
77
- * Read more: https://nextjs.org/docs/messages/middleware-request-page
78
- */ get page() {
79
- throw new _error.RemovedPageError();
80
- }
81
- /**
82
- * @deprecated
83
- * `ua` has been removed in favour of \`userAgent\` function.
84
- * Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent
85
- */ get ua() {
86
- throw new _error.RemovedUAError();
87
- }
88
- get url() {
89
- return this[INTERNALS].url;
90
- }
91
- };
92
- }) });
93
-
94
- //#endregion
95
- export default require_request();
96
-
97
- export { require_request };
98
- //# sourceMappingURL=request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"request.js","names":[],"sources":["../../../../../../../node_modules/next/dist/server/web/spec-extension/request.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n INTERNALS: null,\n NextRequest: 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 INTERNALS: function() {\n return INTERNALS;\n },\n NextRequest: function() {\n return NextRequest;\n }\n});\nconst _nexturl = require(\"../next-url\");\nconst _utils = require(\"../utils\");\nconst _error = require(\"../error\");\nconst _cookies = require(\"./cookies\");\nconst INTERNALS = Symbol('internal request');\nclass NextRequest extends Request {\n constructor(input, init = {}){\n const url = typeof input !== 'string' && 'url' in input ? input.url : String(input);\n (0, _utils.validateURL)(url);\n // node Request instance requires duplex option when a body\n // is present or it errors, we don't handle this for\n // Request being passed in since it would have already\n // errored if this wasn't configured\n if (process.env.NEXT_RUNTIME !== 'edge') {\n if (init.body && init.duplex !== 'half') {\n init.duplex = 'half';\n }\n }\n if (input instanceof Request) super(input, init);\n else super(url, init);\n const nextUrl = new _nexturl.NextURL(url, {\n headers: (0, _utils.toNodeOutgoingHttpHeaders)(this.headers),\n nextConfig: init.nextConfig\n });\n this[INTERNALS] = {\n cookies: new _cookies.RequestCookies(this.headers),\n nextUrl,\n url: process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE ? url : nextUrl.toString()\n };\n }\n [Symbol.for('edge-runtime.inspect.custom')]() {\n return {\n cookies: this.cookies,\n nextUrl: this.nextUrl,\n url: this.url,\n // rest of props come from Request\n bodyUsed: this.bodyUsed,\n cache: this.cache,\n credentials: this.credentials,\n destination: this.destination,\n headers: Object.fromEntries(this.headers),\n integrity: this.integrity,\n keepalive: this.keepalive,\n method: this.method,\n mode: this.mode,\n redirect: this.redirect,\n referrer: this.referrer,\n referrerPolicy: this.referrerPolicy,\n signal: this.signal\n };\n }\n get cookies() {\n return this[INTERNALS].cookies;\n }\n get nextUrl() {\n return this[INTERNALS].nextUrl;\n }\n /**\n * @deprecated\n * `page` has been deprecated in favour of `URLPattern`.\n * Read more: https://nextjs.org/docs/messages/middleware-request-page\n */ get page() {\n throw new _error.RemovedPageError();\n }\n /**\n * @deprecated\n * `ua` has been removed in favour of \\`userAgent\\` function.\n * Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent\n */ get ua() {\n throw new _error.RemovedUAError();\n }\n get url() {\n return this[INTERNALS].url;\n }\n}\n\n//# sourceMappingURL=request.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,WAAW,WAAW;AAClB,UAAO;;EAEX,aAAa,WAAW;AACpB,UAAO;;EAEd,CAAC;CACF,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM,YAAY,OAAO,mBAAmB;CAC5C,IAAM,cAAN,cAA0B,QAAQ;EAC9B,YAAY,OAAO,OAAO,EAAE,EAAC;GACzB,MAAM,MAAM,OAAO,UAAU,YAAY,SAAS,QAAQ,MAAM,MAAM,OAAO,MAAM;AACnF,IAAC,GAAG,OAAO,aAAa,IAAI;AAK5B,OAAI,QAAQ,IAAI,iBAAiB,QAC7B;QAAI,KAAK,QAAQ,KAAK,WAAW,OAC7B,MAAK,SAAS;;AAGtB,OAAI,iBAAiB,QAAS,OAAM,OAAO,KAAK;OAC3C,OAAM,KAAK,KAAK;GACrB,MAAM,UAAU,IAAI,SAAS,QAAQ,KAAK;IACtC,UAAU,GAAG,OAAO,2BAA2B,KAAK,QAAQ;IAC5D,YAAY,KAAK;IACpB,CAAC;AACF,QAAK,aAAa;IACd,SAAS,IAAI,SAAS,eAAe,KAAK,QAAQ;IAClD;IACA,KAAK,QAAQ,IAAI,qCAAqC,MAAM,QAAQ,UAAU;IACjF;;EAEL,CA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