@blockscout/ui-toolkit 0.0.1-alpha.0 → 0.0.1-alpha.1
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/_virtual/_commonjsHelpers.js +2 -6
- package/dist/chakra/color-mode.js +5 -5
- package/dist/chakra/link.js +1 -1
- package/dist/node_modules/react-scroll/modules/components/Link.js +1 -1
- package/package.json +4 -2
- package/dist/_virtual/_interop_require_default.js +0 -4
- package/dist/_virtual/_interop_require_wildcard.js +0 -4
- package/dist/_virtual/add-base-path.js +0 -4
- package/dist/_virtual/add-locale.js +0 -4
- package/dist/_virtual/add-locale2.js +0 -4
- package/dist/_virtual/add-path-prefix.js +0 -4
- package/dist/_virtual/app-paths.js +0 -4
- package/dist/_virtual/constants.js +0 -4
- package/dist/_virtual/detect-domain-locale.js +0 -4
- package/dist/_virtual/detect-domain-locale2.js +0 -4
- package/dist/_virtual/ensure-leading-slash.js +0 -4
- package/dist/_virtual/escape-regexp.js +0 -4
- package/dist/_virtual/format-url.js +0 -4
- package/dist/_virtual/get-domain-locale.js +0 -4
- package/dist/_virtual/has-base-path.js +0 -4
- package/dist/_virtual/index5.js +0 -4
- package/dist/_virtual/interception-routes.js +0 -4
- package/dist/_virtual/interpolate-as.js +0 -4
- package/dist/_virtual/is-dynamic.js +0 -4
- package/dist/_virtual/is-local-url.js +0 -4
- package/dist/_virtual/link.js +0 -7
- package/dist/_virtual/link3.js +0 -4
- package/dist/_virtual/normalize-locale-path.js +0 -4
- package/dist/_virtual/normalize-locale-path2.js +0 -4
- package/dist/_virtual/normalize-trailing-slash.js +0 -4
- package/dist/_virtual/omit.js +0 -4
- package/dist/_virtual/parse-path.js +0 -4
- package/dist/_virtual/path-has-prefix.js +0 -4
- package/dist/_virtual/querystring.js +0 -4
- package/dist/_virtual/remove-trailing-slash.js +0 -4
- package/dist/_virtual/request-idle-callback.js +0 -4
- package/dist/_virtual/resolve-href.js +0 -4
- package/dist/_virtual/route-matcher.js +0 -4
- package/dist/_virtual/route-regex.js +0 -4
- package/dist/_virtual/router-context.shared-runtime.js +0 -4
- package/dist/_virtual/segment.js +0 -4
- package/dist/_virtual/sorted-routes.js +0 -4
- package/dist/_virtual/use-intersection.js +0 -4
- package/dist/_virtual/use-merged-ref.js +0 -4
- package/dist/_virtual/utils2.js +0 -4
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -13
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -30
- package/dist/node_modules/next/dist/client/add-base-path.js +0 -24
- package/dist/node_modules/next/dist/client/add-locale.js +0 -25
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -25
- package/dist/node_modules/next/dist/client/get-domain-locale.js +0 -33
- package/dist/node_modules/next/dist/client/has-base-path.js +0 -23
- package/dist/node_modules/next/dist/client/link.js +0 -249
- package/dist/node_modules/next/dist/client/normalize-locale-path.js +0 -23
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -26
- package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -40
- package/dist/node_modules/next/dist/client/resolve-href.js +0 -67
- package/dist/node_modules/next/dist/client/use-intersection.js +0 -85
- package/dist/node_modules/next/dist/client/use-merged-ref.js +0 -44
- package/dist/node_modules/next/dist/lib/constants.js +0 -285
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -21
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -28
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -37
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -20
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -25
- 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/app-paths.js +0 -39
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -57
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -90
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -49
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -22
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -29
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -23
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -29
- 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/querystring.js +0 -64
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -20
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -42
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -167
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -154
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -21
- package/dist/node_modules/next/dist/shared/lib/segment.js +0 -49
- package/dist/node_modules/next/dist/shared/lib/utils.js +0 -166
- package/dist/node_modules/next/link.js +0 -8
- package/dist/node_modules/next-themes/dist/index.js +0 -85
- /package/dist/_virtual/{Link2.js → Link.js} +0 -0
|
@@ -1,285 +0,0 @@
|
|
|
1
|
-
import { __exports as t } from "../../../../_virtual/constants.js";
|
|
2
|
-
var o;
|
|
3
|
-
function se() {
|
|
4
|
-
return o ? t : (o = 1, function(n) {
|
|
5
|
-
Object.defineProperty(n, "__esModule", {
|
|
6
|
-
value: !0
|
|
7
|
-
});
|
|
8
|
-
function s(Ee, _) {
|
|
9
|
-
for (var E in _) Object.defineProperty(Ee, E, {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: _[E]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
s(n, {
|
|
15
|
-
ACTION_SUFFIX: function() {
|
|
16
|
-
return N;
|
|
17
|
-
},
|
|
18
|
-
APP_DIR_ALIAS: function() {
|
|
19
|
-
return U;
|
|
20
|
-
},
|
|
21
|
-
CACHE_ONE_YEAR: function() {
|
|
22
|
-
return m;
|
|
23
|
-
},
|
|
24
|
-
DOT_NEXT_ALIAS: function() {
|
|
25
|
-
return x;
|
|
26
|
-
},
|
|
27
|
-
ESLINT_DEFAULT_DIRS: function() {
|
|
28
|
-
return te;
|
|
29
|
-
},
|
|
30
|
-
GSP_NO_RETURNED_VALUE: function() {
|
|
31
|
-
return q;
|
|
32
|
-
},
|
|
33
|
-
GSSP_COMPONENT_MEMBER_ERROR: function() {
|
|
34
|
-
return J;
|
|
35
|
-
},
|
|
36
|
-
GSSP_NO_RETURNED_VALUE: function() {
|
|
37
|
-
return $;
|
|
38
|
-
},
|
|
39
|
-
INFINITE_CACHE: function() {
|
|
40
|
-
return l;
|
|
41
|
-
},
|
|
42
|
-
INSTRUMENTATION_HOOK_FILENAME: function() {
|
|
43
|
-
return M;
|
|
44
|
-
},
|
|
45
|
-
MATCHED_PATH_HEADER: function() {
|
|
46
|
-
return a;
|
|
47
|
-
},
|
|
48
|
-
MIDDLEWARE_FILENAME: function() {
|
|
49
|
-
return r;
|
|
50
|
-
},
|
|
51
|
-
MIDDLEWARE_LOCATION_REGEXP: function() {
|
|
52
|
-
return G;
|
|
53
|
-
},
|
|
54
|
-
NEXT_BODY_SUFFIX: function() {
|
|
55
|
-
return P;
|
|
56
|
-
},
|
|
57
|
-
NEXT_CACHE_IMPLICIT_TAG_ID: function() {
|
|
58
|
-
return F;
|
|
59
|
-
},
|
|
60
|
-
NEXT_CACHE_REVALIDATED_TAGS_HEADER: function() {
|
|
61
|
-
return O;
|
|
62
|
-
},
|
|
63
|
-
NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER: function() {
|
|
64
|
-
return f;
|
|
65
|
-
},
|
|
66
|
-
NEXT_CACHE_SOFT_TAG_MAX_LENGTH: function() {
|
|
67
|
-
return X;
|
|
68
|
-
},
|
|
69
|
-
NEXT_CACHE_TAGS_HEADER: function() {
|
|
70
|
-
return p;
|
|
71
|
-
},
|
|
72
|
-
NEXT_CACHE_TAG_MAX_ITEMS: function() {
|
|
73
|
-
return L;
|
|
74
|
-
},
|
|
75
|
-
NEXT_CACHE_TAG_MAX_LENGTH: function() {
|
|
76
|
-
return g;
|
|
77
|
-
},
|
|
78
|
-
NEXT_DATA_SUFFIX: function() {
|
|
79
|
-
return C;
|
|
80
|
-
},
|
|
81
|
-
NEXT_INTERCEPTION_MARKER_PREFIX: function() {
|
|
82
|
-
return A;
|
|
83
|
-
},
|
|
84
|
-
NEXT_META_SUFFIX: function() {
|
|
85
|
-
return d;
|
|
86
|
-
},
|
|
87
|
-
NEXT_QUERY_PARAM_PREFIX: function() {
|
|
88
|
-
return R;
|
|
89
|
-
},
|
|
90
|
-
NEXT_RESUME_HEADER: function() {
|
|
91
|
-
return D;
|
|
92
|
-
},
|
|
93
|
-
NON_STANDARD_NODE_ENV: function() {
|
|
94
|
-
return Z;
|
|
95
|
-
},
|
|
96
|
-
PAGES_DIR_ALIAS: function() {
|
|
97
|
-
return v;
|
|
98
|
-
},
|
|
99
|
-
PRERENDER_REVALIDATE_HEADER: function() {
|
|
100
|
-
return i;
|
|
101
|
-
},
|
|
102
|
-
PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER: function() {
|
|
103
|
-
return c;
|
|
104
|
-
},
|
|
105
|
-
PUBLIC_DIR_MIDDLEWARE_CONFLICT: function() {
|
|
106
|
-
return y;
|
|
107
|
-
},
|
|
108
|
-
ROOT_DIR_ALIAS: function() {
|
|
109
|
-
return H;
|
|
110
|
-
},
|
|
111
|
-
RSC_ACTION_CLIENT_WRAPPER_ALIAS: function() {
|
|
112
|
-
return Y;
|
|
113
|
-
},
|
|
114
|
-
RSC_ACTION_ENCRYPTION_ALIAS: function() {
|
|
115
|
-
return b;
|
|
116
|
-
},
|
|
117
|
-
RSC_ACTION_PROXY_ALIAS: function() {
|
|
118
|
-
return w;
|
|
119
|
-
},
|
|
120
|
-
RSC_ACTION_VALIDATE_ALIAS: function() {
|
|
121
|
-
return V;
|
|
122
|
-
},
|
|
123
|
-
RSC_CACHE_WRAPPER_ALIAS: function() {
|
|
124
|
-
return B;
|
|
125
|
-
},
|
|
126
|
-
RSC_MOD_REF_PROXY_ALIAS: function() {
|
|
127
|
-
return h;
|
|
128
|
-
},
|
|
129
|
-
RSC_PREFETCH_SUFFIX: function() {
|
|
130
|
-
return S;
|
|
131
|
-
},
|
|
132
|
-
RSC_SEGMENTS_DIR_SUFFIX: function() {
|
|
133
|
-
return T;
|
|
134
|
-
},
|
|
135
|
-
RSC_SEGMENT_SUFFIX: function() {
|
|
136
|
-
return u;
|
|
137
|
-
},
|
|
138
|
-
RSC_SUFFIX: function() {
|
|
139
|
-
return I;
|
|
140
|
-
},
|
|
141
|
-
SERVER_PROPS_EXPORT_ERROR: function() {
|
|
142
|
-
return k;
|
|
143
|
-
},
|
|
144
|
-
SERVER_PROPS_GET_INIT_PROPS_CONFLICT: function() {
|
|
145
|
-
return j;
|
|
146
|
-
},
|
|
147
|
-
SERVER_PROPS_SSG_CONFLICT: function() {
|
|
148
|
-
return K;
|
|
149
|
-
},
|
|
150
|
-
SERVER_RUNTIME: function() {
|
|
151
|
-
return ne;
|
|
152
|
-
},
|
|
153
|
-
SSG_FALLBACK_EXPORT_ERROR: function() {
|
|
154
|
-
return ee;
|
|
155
|
-
},
|
|
156
|
-
SSG_GET_INITIAL_PROPS_CONFLICT: function() {
|
|
157
|
-
return W;
|
|
158
|
-
},
|
|
159
|
-
STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR: function() {
|
|
160
|
-
return Q;
|
|
161
|
-
},
|
|
162
|
-
UNSTABLE_REVALIDATE_RENAME_ERROR: function() {
|
|
163
|
-
return z;
|
|
164
|
-
},
|
|
165
|
-
WEBPACK_LAYERS: function() {
|
|
166
|
-
return re;
|
|
167
|
-
},
|
|
168
|
-
WEBPACK_RESOURCE_QUERIES: function() {
|
|
169
|
-
return _e;
|
|
170
|
-
}
|
|
171
|
-
});
|
|
172
|
-
const R = "nxtP", A = "nxtI", a = "x-matched-path", i = "x-prerender-revalidate", c = "x-prerender-revalidate-if-generated", S = ".prefetch.rsc", T = ".segments", u = ".segment.rsc", I = ".rsc", N = ".action", C = ".json", d = ".meta", P = ".body", p = "x-next-cache-tags", O = "x-next-revalidated-tags", f = "x-next-revalidate-tag-token", D = "next-resume", L = 128, g = 256, X = 1024, F = "_N_T_", m = 31536e3, l = 4294967294, r = "middleware", G = `(?:src/)?${r}`, M = "instrumentation", v = "private-next-pages", x = "private-dot-next", H = "private-next-root-dir", U = "private-next-app-dir", h = "private-next-rsc-mod-ref-proxy", V = "private-next-rsc-action-validate", w = "private-next-rsc-server-reference", B = "private-next-rsc-cache-wrapper", b = "private-next-rsc-action-encryption", Y = "private-next-rsc-action-client-wrapper", y = "You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict", W = "You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps", j = "You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.", K = "You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps", Q = "can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props", k = "pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export", q = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?", $ = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?", z = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.", J = "can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member", Z = 'You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env', ee = "Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export", te = [
|
|
173
|
-
"app",
|
|
174
|
-
"pages",
|
|
175
|
-
"components",
|
|
176
|
-
"lib",
|
|
177
|
-
"src"
|
|
178
|
-
], ne = {
|
|
179
|
-
edge: "edge",
|
|
180
|
-
experimentalEdge: "experimental-edge",
|
|
181
|
-
nodejs: "nodejs"
|
|
182
|
-
}, e = {
|
|
183
|
-
/**
|
|
184
|
-
* The layer for the shared code between the client and server bundles.
|
|
185
|
-
*/
|
|
186
|
-
shared: "shared",
|
|
187
|
-
/**
|
|
188
|
-
* The layer for server-only runtime and picking up `react-server` export conditions.
|
|
189
|
-
* Including app router RSC pages and app router custom routes and metadata routes.
|
|
190
|
-
*/
|
|
191
|
-
reactServerComponents: "rsc",
|
|
192
|
-
/**
|
|
193
|
-
* Server Side Rendering layer for app (ssr).
|
|
194
|
-
*/
|
|
195
|
-
serverSideRendering: "ssr",
|
|
196
|
-
/**
|
|
197
|
-
* The browser client bundle layer for actions.
|
|
198
|
-
*/
|
|
199
|
-
actionBrowser: "action-browser",
|
|
200
|
-
/**
|
|
201
|
-
* The Node.js bundle layer for the API routes.
|
|
202
|
-
*/
|
|
203
|
-
apiNode: "api-node",
|
|
204
|
-
/**
|
|
205
|
-
* The Edge Lite bundle layer for the API routes.
|
|
206
|
-
*/
|
|
207
|
-
apiEdge: "api-edge",
|
|
208
|
-
/**
|
|
209
|
-
* The layer for the middleware code.
|
|
210
|
-
*/
|
|
211
|
-
middleware: "middleware",
|
|
212
|
-
/**
|
|
213
|
-
* The layer for the instrumentation hooks.
|
|
214
|
-
*/
|
|
215
|
-
instrument: "instrument",
|
|
216
|
-
/**
|
|
217
|
-
* The layer for assets on the edge.
|
|
218
|
-
*/
|
|
219
|
-
edgeAsset: "edge-asset",
|
|
220
|
-
/**
|
|
221
|
-
* The browser client bundle layer for App directory.
|
|
222
|
-
*/
|
|
223
|
-
appPagesBrowser: "app-pages-browser",
|
|
224
|
-
/**
|
|
225
|
-
* The browser client bundle layer for Pages directory.
|
|
226
|
-
*/
|
|
227
|
-
pagesDirBrowser: "pages-dir-browser",
|
|
228
|
-
/**
|
|
229
|
-
* The Edge Lite bundle layer for Pages directory.
|
|
230
|
-
*/
|
|
231
|
-
pagesDirEdge: "pages-dir-edge",
|
|
232
|
-
/**
|
|
233
|
-
* The Node.js bundle layer for Pages directory.
|
|
234
|
-
*/
|
|
235
|
-
pagesDirNode: "pages-dir-node"
|
|
236
|
-
}, re = {
|
|
237
|
-
...e,
|
|
238
|
-
GROUP: {
|
|
239
|
-
builtinReact: [
|
|
240
|
-
e.reactServerComponents,
|
|
241
|
-
e.actionBrowser
|
|
242
|
-
],
|
|
243
|
-
serverOnly: [
|
|
244
|
-
e.reactServerComponents,
|
|
245
|
-
e.actionBrowser,
|
|
246
|
-
e.instrument,
|
|
247
|
-
e.middleware
|
|
248
|
-
],
|
|
249
|
-
neutralTarget: [
|
|
250
|
-
// pages api
|
|
251
|
-
e.apiNode,
|
|
252
|
-
e.apiEdge
|
|
253
|
-
],
|
|
254
|
-
clientOnly: [
|
|
255
|
-
e.serverSideRendering,
|
|
256
|
-
e.appPagesBrowser
|
|
257
|
-
],
|
|
258
|
-
bundled: [
|
|
259
|
-
e.reactServerComponents,
|
|
260
|
-
e.actionBrowser,
|
|
261
|
-
e.serverSideRendering,
|
|
262
|
-
e.appPagesBrowser,
|
|
263
|
-
e.shared,
|
|
264
|
-
e.instrument,
|
|
265
|
-
e.middleware
|
|
266
|
-
],
|
|
267
|
-
appPages: [
|
|
268
|
-
// app router pages and layouts
|
|
269
|
-
e.reactServerComponents,
|
|
270
|
-
e.serverSideRendering,
|
|
271
|
-
e.appPagesBrowser,
|
|
272
|
-
e.actionBrowser
|
|
273
|
-
]
|
|
274
|
-
}
|
|
275
|
-
}, _e = {
|
|
276
|
-
edgeSSREntry: "__next_edge_ssr_entry__",
|
|
277
|
-
metadata: "__next_metadata__",
|
|
278
|
-
metadataRoute: "__next_metadata_route__",
|
|
279
|
-
metadataImageMeta: "__next_metadata_image_meta__"
|
|
280
|
-
};
|
|
281
|
-
}(t), t);
|
|
282
|
-
}
|
|
283
|
-
export {
|
|
284
|
-
se as __require
|
|
285
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __exports as r } from "../../../../../_virtual/escape-regexp.js";
|
|
2
|
-
var n;
|
|
3
|
-
function i() {
|
|
4
|
-
return n ? r : (n = 1, function(t) {
|
|
5
|
-
Object.defineProperty(t, "__esModule", {
|
|
6
|
-
value: !0
|
|
7
|
-
}), Object.defineProperty(t, "escapeStringRegexp", {
|
|
8
|
-
enumerable: !0,
|
|
9
|
-
get: function() {
|
|
10
|
-
return c;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
const p = /[|\\{}()[\]^$+*?.-]/, u = /[|\\{}()[\]^$+*?.-]/g;
|
|
14
|
-
function c(e) {
|
|
15
|
-
return p.test(e) ? e.replace(u, "\\$&") : e;
|
|
16
|
-
}
|
|
17
|
-
}(r), r);
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
i as __require
|
|
21
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { __exports as r } from "../../../../../../_virtual/detect-domain-locale2.js";
|
|
2
|
-
var u;
|
|
3
|
-
function D() {
|
|
4
|
-
return u ? r : (u = 1, function(t) {
|
|
5
|
-
Object.defineProperty(t, "__esModule", {
|
|
6
|
-
value: !0
|
|
7
|
-
}), Object.defineProperty(t, "detectDomainLocale", {
|
|
8
|
-
enumerable: !0,
|
|
9
|
-
get: function() {
|
|
10
|
-
return f;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
function f(n, s, e) {
|
|
14
|
-
if (n) {
|
|
15
|
-
e && (e = e.toLowerCase());
|
|
16
|
-
for (const o of n) {
|
|
17
|
-
var i, a;
|
|
18
|
-
const c = (i = o.domain) == null ? void 0 : i.split(":", 1)[0].toLowerCase();
|
|
19
|
-
if (s === c || e === o.defaultLocale.toLowerCase() || (a = o.locales) != null && a.some((l) => l.toLowerCase() === e))
|
|
20
|
-
return o;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}(r), r);
|
|
25
|
-
}
|
|
26
|
-
export {
|
|
27
|
-
D as __require
|
|
28
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { __exports as n } from "../../../../../../_virtual/normalize-locale-path2.js";
|
|
2
|
-
var s;
|
|
3
|
-
function P() {
|
|
4
|
-
return s ? n : (s = 1, function(i) {
|
|
5
|
-
Object.defineProperty(i, "__esModule", {
|
|
6
|
-
value: !0
|
|
7
|
-
}), Object.defineProperty(i, "normalizeLocalePath", {
|
|
8
|
-
enumerable: !0,
|
|
9
|
-
get: function() {
|
|
10
|
-
return f;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
const u = /* @__PURE__ */ new WeakMap();
|
|
14
|
-
function f(e, r) {
|
|
15
|
-
if (!r) return {
|
|
16
|
-
pathname: e
|
|
17
|
-
};
|
|
18
|
-
let t = u.get(r);
|
|
19
|
-
t || (t = r.map((d) => d.toLowerCase()), u.set(r, t));
|
|
20
|
-
let o;
|
|
21
|
-
const c = e.split("/", 2);
|
|
22
|
-
if (!c[1]) return {
|
|
23
|
-
pathname: e
|
|
24
|
-
};
|
|
25
|
-
const l = c[1].toLowerCase(), a = t.indexOf(l);
|
|
26
|
-
return a < 0 ? {
|
|
27
|
-
pathname: e
|
|
28
|
-
} : (o = r[a], e = e.slice(o.length + 1) || "/", {
|
|
29
|
-
pathname: e,
|
|
30
|
-
detectedLocale: o
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
}(n), n);
|
|
34
|
-
}
|
|
35
|
-
export {
|
|
36
|
-
P as __require
|
|
37
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { __exports as r } from "../../../../../../_virtual/ensure-leading-slash.js";
|
|
2
|
-
var u;
|
|
3
|
-
function s() {
|
|
4
|
-
return u ? r : (u = 1, function(n) {
|
|
5
|
-
Object.defineProperty(n, "__esModule", {
|
|
6
|
-
value: !0
|
|
7
|
-
}), Object.defineProperty(n, "ensureLeadingSlash", {
|
|
8
|
-
enumerable: !0,
|
|
9
|
-
get: function() {
|
|
10
|
-
return t;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
function t(e) {
|
|
14
|
-
return e.startsWith("/") ? e : "/" + e;
|
|
15
|
-
}
|
|
16
|
-
}(r), r);
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
s as __require
|
|
20
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __exports as t } from "../../../../../../../_virtual/add-locale2.js";
|
|
2
|
-
import { __require as _ } from "./add-path-prefix.js";
|
|
3
|
-
import { __require as c } from "./path-has-prefix.js";
|
|
4
|
-
var u;
|
|
5
|
-
function m() {
|
|
6
|
-
return u ? t : (u = 1, function(i) {
|
|
7
|
-
Object.defineProperty(i, "__esModule", {
|
|
8
|
-
value: !0
|
|
9
|
-
}), Object.defineProperty(i, "addLocale", {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: function() {
|
|
12
|
-
return n;
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
const f = _(), a = c();
|
|
16
|
-
function n(e, r, d, s) {
|
|
17
|
-
if (!r || r === d) return e;
|
|
18
|
-
const o = e.toLowerCase();
|
|
19
|
-
return !s && ((0, a.pathHasPrefix)(o, "/api") || (0, a.pathHasPrefix)(o, "/" + r.toLowerCase())) ? e : (0, f.addPathPrefix)(e, "/" + r);
|
|
20
|
-
}
|
|
21
|
-
}(t), t);
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
m as __require
|
|
25
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __exports as r } from "../../../../../../../_virtual/add-path-prefix.js";
|
|
2
|
-
import { __require as o } from "./parse-path.js";
|
|
3
|
-
var i;
|
|
4
|
-
function _() {
|
|
5
|
-
return i ? r : (i = 1, function(t) {
|
|
6
|
-
Object.defineProperty(t, "__esModule", {
|
|
7
|
-
value: !0
|
|
8
|
-
}), Object.defineProperty(t, "addPathPrefix", {
|
|
9
|
-
enumerable: !0,
|
|
10
|
-
get: function() {
|
|
11
|
-
return n;
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
const u = o();
|
|
15
|
-
function n(e, a) {
|
|
16
|
-
if (!e.startsWith("/") || !a)
|
|
17
|
-
return e;
|
|
18
|
-
const { pathname: P, query: d, hash: f } = (0, u.parsePath)(e);
|
|
19
|
-
return "" + a + P + d + f;
|
|
20
|
-
}
|
|
21
|
-
}(r), r);
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
_ as __require
|
|
25
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { __exports as n } from "../../../../../../../_virtual/app-paths.js";
|
|
2
|
-
import { __require as l } from "../../page-path/ensure-leading-slash.js";
|
|
3
|
-
import { __require as d } from "../../segment.js";
|
|
4
|
-
var t;
|
|
5
|
-
function R() {
|
|
6
|
-
return t ? n : (t = 1, function(i) {
|
|
7
|
-
Object.defineProperty(i, "__esModule", {
|
|
8
|
-
value: !0
|
|
9
|
-
});
|
|
10
|
-
function o(u, e) {
|
|
11
|
-
for (var r in e) Object.defineProperty(u, r, {
|
|
12
|
-
enumerable: !0,
|
|
13
|
-
get: e[r]
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
o(i, {
|
|
17
|
-
normalizeAppPath: function() {
|
|
18
|
-
return a;
|
|
19
|
-
},
|
|
20
|
-
normalizeRscURL: function() {
|
|
21
|
-
return p;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
const s = l(), f = d();
|
|
25
|
-
function a(u) {
|
|
26
|
-
return (0, s.ensureLeadingSlash)(u.split("/").reduce((e, r, c, _) => !r || (0, f.isGroupSegment)(r) || r[0] === "@" || (r === "page" || r === "route") && c === _.length - 1 ? e : e + "/" + r, ""));
|
|
27
|
-
}
|
|
28
|
-
function p(u) {
|
|
29
|
-
return u.replace(
|
|
30
|
-
/\.rsc($|\?)/,
|
|
31
|
-
// $1 ensures `?` is preserved
|
|
32
|
-
"$1"
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
}(n), n);
|
|
36
|
-
}
|
|
37
|
-
export {
|
|
38
|
-
R as __require
|
|
39
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { __exports as c } from "../../../../../../../_virtual/format-url.js";
|
|
2
|
-
import { __require as y } from "../../../../../../@swc/helpers/cjs/_interop_require_wildcard.js";
|
|
3
|
-
import { __require as U } from "./querystring.js";
|
|
4
|
-
var l;
|
|
5
|
-
function x() {
|
|
6
|
-
return l ? c : (l = 1, function(h) {
|
|
7
|
-
Object.defineProperty(h, "__esModule", {
|
|
8
|
-
value: !0
|
|
9
|
-
});
|
|
10
|
-
function m(e, t) {
|
|
11
|
-
for (var o in t) Object.defineProperty(e, o, {
|
|
12
|
-
enumerable: !0,
|
|
13
|
-
get: t[o]
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
m(h, {
|
|
17
|
-
formatUrl: function() {
|
|
18
|
-
return p;
|
|
19
|
-
},
|
|
20
|
-
formatWithValidation: function() {
|
|
21
|
-
return q;
|
|
22
|
-
},
|
|
23
|
-
urlObjectKeys: function() {
|
|
24
|
-
return u;
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
const _ = /* @__PURE__ */ (/* @__PURE__ */ y())._(U()), d = /https?|ftp|gopher|file/;
|
|
28
|
-
function p(e) {
|
|
29
|
-
let { auth: t, hostname: o } = e, a = e.protocol || "", n = e.pathname || "", f = e.hash || "", s = e.query || "", r = !1;
|
|
30
|
-
t = t ? encodeURIComponent(t).replace(/%3A/i, ":") + "@" : "", e.host ? r = t + e.host : o && (r = t + (~o.indexOf(":") ? "[" + o + "]" : o), e.port && (r += ":" + e.port)), s && typeof s == "object" && (s = String(_.urlQueryToSearchParams(s)));
|
|
31
|
-
let i = e.search || s && "?" + s || "";
|
|
32
|
-
return a && !a.endsWith(":") && (a += ":"), e.slashes || (!a || d.test(a)) && r !== !1 ? (r = "//" + (r || ""), n && n[0] !== "/" && (n = "/" + n)) : r || (r = ""), f && f[0] !== "#" && (f = "#" + f), i && i[0] !== "?" && (i = "?" + i), n = n.replace(/[?#]/g, encodeURIComponent), i = i.replace("#", "%23"), "" + a + r + n + i + f;
|
|
33
|
-
}
|
|
34
|
-
const u = [
|
|
35
|
-
"auth",
|
|
36
|
-
"hash",
|
|
37
|
-
"host",
|
|
38
|
-
"hostname",
|
|
39
|
-
"href",
|
|
40
|
-
"path",
|
|
41
|
-
"pathname",
|
|
42
|
-
"port",
|
|
43
|
-
"protocol",
|
|
44
|
-
"query",
|
|
45
|
-
"search",
|
|
46
|
-
"slashes"
|
|
47
|
-
];
|
|
48
|
-
function q(e) {
|
|
49
|
-
return process.env.NODE_ENV === "development" && e !== null && typeof e == "object" && Object.keys(e).forEach((t) => {
|
|
50
|
-
u.includes(t) || console.warn("Unknown key passed via urlObject into url.format: " + t);
|
|
51
|
-
}), p(e);
|
|
52
|
-
}
|
|
53
|
-
}(c), c);
|
|
54
|
-
}
|
|
55
|
-
export {
|
|
56
|
-
x as __require
|
|
57
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { __exports as e } from "../../../../../../../_virtual/index5.js";
|
|
2
|
-
import { __require as f } from "./sorted-routes.js";
|
|
3
|
-
import { __require as _ } from "./is-dynamic.js";
|
|
4
|
-
var i;
|
|
5
|
-
function R() {
|
|
6
|
-
return i ? e : (i = 1, function(r) {
|
|
7
|
-
Object.defineProperty(r, "__esModule", {
|
|
8
|
-
value: !0
|
|
9
|
-
});
|
|
10
|
-
function n(c, o) {
|
|
11
|
-
for (var u in o) Object.defineProperty(c, u, {
|
|
12
|
-
enumerable: !0,
|
|
13
|
-
get: o[u]
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
n(r, {
|
|
17
|
-
getSortedRouteObjects: function() {
|
|
18
|
-
return t.getSortedRouteObjects;
|
|
19
|
-
},
|
|
20
|
-
getSortedRoutes: function() {
|
|
21
|
-
return t.getSortedRoutes;
|
|
22
|
-
},
|
|
23
|
-
isDynamicRoute: function() {
|
|
24
|
-
return s.isDynamicRoute;
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
const t = f(), s = _();
|
|
28
|
-
}(e), e);
|
|
29
|
-
}
|
|
30
|
-
export {
|
|
31
|
-
R as __require
|
|
32
|
-
};
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { __exports as u } from "../../../../../../../_virtual/interception-routes.js";
|
|
2
|
-
import { __require as _ } from "./app-paths.js";
|
|
3
|
-
var c;
|
|
4
|
-
function d() {
|
|
5
|
-
return c ? u : (c = 1, function(a) {
|
|
6
|
-
Object.defineProperty(a, "__esModule", {
|
|
7
|
-
value: !0
|
|
8
|
-
});
|
|
9
|
-
function s(n, e) {
|
|
10
|
-
for (var r in e) Object.defineProperty(n, r, {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: e[r]
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
s(a, {
|
|
16
|
-
INTERCEPTION_ROUTE_MARKERS: function() {
|
|
17
|
-
return i;
|
|
18
|
-
},
|
|
19
|
-
extractInterceptionRouteInformation: function() {
|
|
20
|
-
return l;
|
|
21
|
-
},
|
|
22
|
-
isInterceptionRouteAppPath: function() {
|
|
23
|
-
return p;
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
const f = _(), i = [
|
|
27
|
-
"(..)(..)",
|
|
28
|
-
"(.)",
|
|
29
|
-
"(..)",
|
|
30
|
-
"(...)"
|
|
31
|
-
];
|
|
32
|
-
function p(n) {
|
|
33
|
-
return n.split("/").find((e) => i.find((r) => e.startsWith(r))) !== void 0;
|
|
34
|
-
}
|
|
35
|
-
function l(n) {
|
|
36
|
-
let e, r, t;
|
|
37
|
-
for (const o of n.split("/"))
|
|
38
|
-
if (r = i.find((R) => o.startsWith(R)), r) {
|
|
39
|
-
[e, t] = n.split(r, 2);
|
|
40
|
-
break;
|
|
41
|
-
}
|
|
42
|
-
if (!e || !r || !t)
|
|
43
|
-
throw Object.defineProperty(new Error("Invalid interception route: " + n + ". Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>"), "__NEXT_ERROR_CODE", {
|
|
44
|
-
value: "E269",
|
|
45
|
-
enumerable: !1,
|
|
46
|
-
configurable: !0
|
|
47
|
-
});
|
|
48
|
-
switch (e = (0, f.normalizeAppPath)(e), r) {
|
|
49
|
-
case "(.)":
|
|
50
|
-
e === "/" ? t = "/" + t : t = e + "/" + t;
|
|
51
|
-
break;
|
|
52
|
-
case "(..)":
|
|
53
|
-
if (e === "/")
|
|
54
|
-
throw Object.defineProperty(new Error("Invalid interception route: " + n + ". Cannot use (..) marker at the root level, use (.) instead."), "__NEXT_ERROR_CODE", {
|
|
55
|
-
value: "E207",
|
|
56
|
-
enumerable: !1,
|
|
57
|
-
configurable: !0
|
|
58
|
-
});
|
|
59
|
-
t = e.split("/").slice(0, -1).concat(t).join("/");
|
|
60
|
-
break;
|
|
61
|
-
case "(...)":
|
|
62
|
-
t = "/" + t;
|
|
63
|
-
break;
|
|
64
|
-
case "(..)(..)":
|
|
65
|
-
const o = e.split("/");
|
|
66
|
-
if (o.length <= 2)
|
|
67
|
-
throw Object.defineProperty(new Error("Invalid interception route: " + n + ". Cannot use (..)(..) marker at the root level or one level up."), "__NEXT_ERROR_CODE", {
|
|
68
|
-
value: "E486",
|
|
69
|
-
enumerable: !1,
|
|
70
|
-
configurable: !0
|
|
71
|
-
});
|
|
72
|
-
t = o.slice(0, -2).concat(t).join("/");
|
|
73
|
-
break;
|
|
74
|
-
default:
|
|
75
|
-
throw Object.defineProperty(new Error("Invariant: unexpected marker"), "__NEXT_ERROR_CODE", {
|
|
76
|
-
value: "E112",
|
|
77
|
-
enumerable: !1,
|
|
78
|
-
configurable: !0
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
return {
|
|
82
|
-
interceptingRoute: e,
|
|
83
|
-
interceptedRoute: t
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
}(u), u);
|
|
87
|
-
}
|
|
88
|
-
export {
|
|
89
|
-
d as __require
|
|
90
|
-
};
|