/
home
/
techb158
/
balavpn.abdallabala.com
/
node_modules
/
next
/
dist
/
build
/
/home/techb158/balavpn.abdallabala.com/node_modules/next/dist/build
mkdir
upload
Name
Size
Mode
Actions
adapter/
-
0777
rm
analysis/
-
0777
rm
babel/
-
0777
rm
jest/
-
0777
rm
manifests/
-
0777
rm
next-config-ts/
-
0777
rm
output/
-
0777
rm
polyfills/
-
0777
rm
segment-config/
-
0777
rm
static-paths/
-
0777
rm
swc/
-
0777
rm
templates/
-
0777
rm
turbopack-build/
-
0777
rm
turborepo-access-trace/
-
0777
rm
webpack/
-
0777
rm
webpack-build/
-
0777
rm
webpack-config-rules/
-
0777
rm
after-production-compile.d.ts
431
0666
edit
dl
rm
after-production-compile.js
3339
0666
edit
dl
rm
after-production-compile.js.map
3129
0666
edit
dl
rm
build-context.d.ts
2057
0666
edit
dl
rm
build-context.js
1603
0666
edit
dl
rm
build-context.js.map
4042
0666
edit
dl
rm
collect-build-traces.d.ts
757
0666
edit
dl
rm
collect-build-traces.js
24276
0666
edit
dl
rm
collect-build-traces.js.map
35540
0666
edit
dl
rm
compiler.d.ts
543
0666
edit
dl
rm
compiler.js
3262
0666
edit
dl
rm
compiler.js.map
4802
0666
edit
dl
rm
create-compiler-aliases.d.ts
1307
0666
edit
dl
rm
create-compiler-aliases.js
27086
0666
edit
dl
rm
create-compiler-aliases.js.map
39959
0666
edit
dl
rm
define-env.d.ts
1259
0666
edit
dl
rm
define-env.js
14749
0666
edit
dl
rm
define-env.js.map
23142
0666
edit
dl
rm
deployment-id.d.ts
69
0666
edit
dl
rm
deployment-id.js
466
0666
edit
dl
rm
deployment-id.js.map
523
0666
edit
dl
rm
duration-to-string.d.ts
76
0666
edit
dl
rm
duration-to-string.js
758
0666
edit
dl
rm
duration-to-string.js.map
1101
0666
edit
dl
rm
entries.d.ts
8202
0666
edit
dl
rm
entries.js
37886
0666
edit
dl
rm
entries.js.map
62037
0666
edit
dl
rm
generate-build-id.d.ts
138
0666
edit
dl
rm
generate-build-id.js
1006
0666
edit
dl
rm
generate-build-id.js.map
1215
0666
edit
dl
rm
get-babel-config-file.d.ts
77
0666
edit
dl
rm
get-babel-config-file.js
856
0666
edit
dl
rm
get-babel-config-file.js.map
1098
0666
edit
dl
rm
get-babel-loader-config.d.ts
1713
0666
edit
dl
rm
get-babel-loader-config.js
3557
0666
edit
dl
rm
get-babel-loader-config.js.map
4896
0666
edit
dl
rm
handle-entrypoints.d.ts
470
0666
edit
dl
rm
handle-entrypoints.js
6560
0666
edit
dl
rm
handle-entrypoints.js.map
7174
0666
edit
dl
rm
handle-externals.d.ts
1415
0666
edit
dl
rm
handle-externals.js
14426
0666
edit
dl
rm
handle-externals.js.map
21604
0666
edit
dl
rm
index.d.ts
9324
0666
edit
dl
rm
index.js
153827
0666
edit
dl
rm
index.js.map
226310
0666
edit
dl
rm
is-writeable.d.ts
74
0666
edit
dl
rm
is-writeable.js
653
0666
edit
dl
rm
is-writeable.js.map
656
0666
edit
dl
rm
load-entrypoint.d.ts
1009
0666
edit
dl
rm
load-entrypoint.js
1520
0666
edit
dl
rm
load-entrypoint.js.map
3107
0666
edit
dl
rm
load-jsconfig.d.ts
514
0666
edit
dl
rm
load-jsconfig.js
5693
0666
edit
dl
rm
load-jsconfig.js.map
6535
0666
edit
dl
rm
next-dir-paths.d.ts
161
0666
edit
dl
rm
next-dir-paths.js
1120
0666
edit
dl
rm
next-dir-paths.js.map
735
0666
edit
dl
rm
normalize-catchall-routes.d.ts
609
0666
edit
dl
rm
normalize-catchall-routes.js
4082
0666
edit
dl
rm
normalize-catchall-routes.js.map
6612
0666
edit
dl
rm
page-extensions-type.d.ts
39
0666
edit
dl
rm
page-extensions-type.js
130
0666
edit
dl
rm
page-extensions-type.js.map
67
0666
edit
dl
rm
preview-key-utils.d.ts
206
0666
edit
dl
rm
preview-key-utils.js
3711
0666
edit
dl
rm
preview-key-utils.js.map
5920
0666
edit
dl
rm
progress.d.ts
120
0666
edit
dl
rm
progress.js
4746
0666
edit
dl
rm
progress.js.map
4625
0666
edit
dl
rm
rendering-mode.d.ts
506
0666
edit
dl
rm
rendering-mode.js
826
0666
edit
dl
rm
rendering-mode.js.map
721
0666
edit
dl
rm
spinner.d.ts
218
0666
edit
dl
rm
spinner.js
4663
0666
edit
dl
rm
spinner.js.map
4978
0666
edit
dl
rm
type-check.d.ts
570
0666
edit
dl
rm
type-check.js
7226
0666
edit
dl
rm
type-check.js.map
9227
0666
edit
dl
rm
utils.d.ts
8746
0666
edit
dl
rm
utils.js
60400
0666
edit
dl
rm
utils.js.map
95923
0666
edit
dl
rm
webpack-config.d.ts
4789
0666
edit
dl
rm
webpack-config.js
113704
0666
edit
dl
rm
webpack-config.js.map
158253
0666
edit
dl
rm
worker.d.ts
172
0666
edit
dl
rm
worker.js
890
0666
edit
dl
rm
worker.js.map
523
0666
edit
dl
rm
write-build-id.d.ts
87
0666
edit
dl
rm
write-build-id.js
559
0666
edit
dl
rm
write-build-id.js.map
718
0666
edit
dl
rm
Edit:
/home/techb158/balavpn.abdallabala.com/node_modules/next/dist/build/normalize-catchall-routes.js
(4082B)
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "normalizeCatchAllRoutes", { enumerable: true, get: function() { return normalizeCatchAllRoutes; } }); const _interceptionroutes = require("../shared/lib/router/utils/interception-routes"); const _apppathnamenormalizer = require("../server/normalizers/built/app/app-pathname-normalizer"); function normalizeCatchAllRoutes(appPaths, normalizer = new _apppathnamenormalizer.AppPathnameNormalizer()) { const catchAllRoutes = [ ...new Set(Object.values(appPaths).flat().filter(isCatchAllRoute)// Sorting is important because we want to match the most specific path. .sort((a, b)=>b.split('/').length - a.split('/').length)) ]; // interception routes should only be matched by a single entrypoint // we don't want to push a catch-all route to an interception route // because it would mean the interception would be handled by the wrong page component const filteredAppPaths = Object.keys(appPaths).filter((route)=>!(0, _interceptionroutes.isInterceptionRouteAppPath)(route)); for (const appPath of filteredAppPaths){ for (const catchAllRoute of catchAllRoutes){ const normalizedCatchAllRoute = normalizer.normalize(catchAllRoute); const normalizedCatchAllRouteBasePath = normalizedCatchAllRoute.slice(0, normalizedCatchAllRoute.search(catchAllRouteRegex)); if (// check if the appPath could match the catch-all appPath.startsWith(normalizedCatchAllRouteBasePath) && // check if there's not already a slot value that could match the catch-all !appPaths[appPath].some((path)=>hasMatchedSlots(path, catchAllRoute))) { // optional catch-all routes are not currently supported, but leaving this logic in place // for when they are eventually supported. if (isOptionalCatchAll(catchAllRoute)) { // optional catch-all routes should match both the root segment and any segment after it // for example, `/[[...slug]]` should match `/` and `/foo` and `/foo/bar` appPaths[appPath].push(catchAllRoute); } else if (isCatchAll(catchAllRoute)) { // regular catch-all (single bracket) should only match segments after it // for example, `/[...slug]` should match `/foo` and `/foo/bar` but not `/` if (normalizedCatchAllRouteBasePath !== appPath) { appPaths[appPath].push(catchAllRoute); } } } } } } function hasMatchedSlots(path1, path2) { const slots1 = path1.split('/').filter(isMatchableSlot); const slots2 = path2.split('/').filter(isMatchableSlot); // if the catch-all route does not have the same number of slots as the app path, it can't match if (slots1.length !== slots2.length) return false; // compare the slots in both paths. For there to be a match, each slot must be the same for(let i = 0; i < slots1.length; i++){ if (slots1[i] !== slots2[i]) return false; } return true; } /** * Returns true for slots that should be considered when checking for match compatibility. * Excludes children slots because these are similar to having a segment-level `page` * which would cause a slot length mismatch when comparing it to a catch-all route. */ function isMatchableSlot(segment) { return segment.startsWith('@') && segment !== '@children'; } const catchAllRouteRegex = /\[?\[\.\.\./; function isCatchAllRoute(pathname) { // Optional catch-all slots are not currently supported, and as such they are not considered when checking for match compatability. return !isOptionalCatchAll(pathname) && isCatchAll(pathname); } function isOptionalCatchAll(pathname) { return pathname.includes('[[...'); } function isCatchAll(pathname) { return pathname.includes('[...'); } //# sourceMappingURL=normalize-catchall-routes.js.map
Save
cmd:
run