main repo

This commit is contained in:
Basilosaurusrex
2025-11-24 18:09:40 +01:00
parent b636ee5e70
commit f027651f9b
34146 changed files with 4436636 additions and 0 deletions

36
node_modules/next/dist/esm/build/templates/app-page.js generated vendored Normal file
View File

@@ -0,0 +1,36 @@
// @ts-ignore this need to be imported from next/dist to be external
import * as module from "next/dist/server/future/route-modules/app-page/module.compiled";
import { RouteKind } from "../../server/future/route-kind";
const AppPageRouteModule = module.AppPageRouteModule;
// We inject the tree and pages here so that we can use them in the route
// module.
// INJECT:tree
// INJECT:pages
export { tree, pages };
// @ts-expect-error - replaced by webpack/turbopack loader
export { default as GlobalError } from "VAR_MODULE_GLOBAL_ERROR";
// INJECT:__next_app_require__
// INJECT:__next_app_load_chunk__
export const originalPathname = "VAR_ORIGINAL_PATHNAME";
export const __next_app__ = {
require: __next_app_require__,
loadChunk: __next_app_load_chunk__
};
export * from "../../server/app-render/entry-base";
// Create and export the route module that will be consumed.
export const routeModule = new AppPageRouteModule({
definition: {
kind: RouteKind.APP_PAGE,
page: "VAR_DEFINITION_PAGE",
pathname: "VAR_DEFINITION_PATHNAME",
// The following aren't used in production.
bundlePath: "",
filename: "",
appPaths: []
},
userland: {
loaderTree: tree
}
});
//# sourceMappingURL=app-page.js.map

View File

@@ -0,0 +1 @@
{"version":3,"sources":["../../../src/build/templates/app-page.ts"],"names":["module","RouteKind","AppPageRouteModule","tree","pages","default","GlobalError","originalPathname","__next_app__","require","__next_app_require__","loadChunk","__next_app_load_chunk__","routeModule","definition","kind","APP_PAGE","page","pathname","bundlePath","filename","appPaths","userland","loaderTree"],"mappings":"AAEA,oEAAoE;AACpE,YAAYA,YAAY,iEAAgE;AACxF,SAASC,SAAS,QAAQ,iCAAgC;AAE1D,MAAMC,qBACJF,OAAOE,kBAAkB;AAM3B,yEAAyE;AACzE,UAAU;AACV,cAAc;AACd,eAAe;AAEf,SAASC,IAAI,EAAEC,KAAK,GAAE;AAEtB,0DAA0D;AAC1D,SAASC,WAAWC,WAAW,QAAQ,0BAAyB;AAMhE,8BAA8B;AAC9B,iCAAiC;AAEjC,OAAO,MAAMC,mBAAmB,wBAAuB;AACvD,OAAO,MAAMC,eAAe;IAC1BC,SAASC;IACTC,WAAWC;AACb,EAAC;AAED,cAAc,qCAAoC;AAElD,4DAA4D;AAC5D,OAAO,MAAMC,cAAc,IAAIX,mBAAmB;IAChDY,YAAY;QACVC,MAAMd,UAAUe,QAAQ;QACxBC,MAAM;QACNC,UAAU;QACV,2CAA2C;QAC3CC,YAAY;QACZC,UAAU;QACVC,UAAU,EAAE;IACd;IACAC,UAAU;QACRC,YAAYpB;IACd;AACF,GAAE"}

View File

@@ -0,0 +1,30 @@
import "../../server/node-polyfill-headers";
// @ts-ignore this need to be imported from next/dist to be external
import * as module from "next/dist/server/future/route-modules/app-route/module.compiled";
import { RouteKind } from "../../server/future/route-kind";
// @ts-expect-error - replaced by webpack/turbopack loader
import * as userland from "VAR_USERLAND";
const AppRouteRouteModule = module.AppRouteRouteModule;
// We inject the nextConfigOutput here so that we can use them in the route
// module.
// INJECT:nextConfigOutput
const routeModule = new AppRouteRouteModule({
definition: {
kind: RouteKind.APP_ROUTE,
page: "VAR_DEFINITION_PAGE",
pathname: "VAR_DEFINITION_PATHNAME",
filename: "VAR_DEFINITION_FILENAME",
bundlePath: "VAR_DEFINITION_BUNDLE_PATH"
},
resolvedPagePath: "VAR_RESOLVED_PAGE_PATH",
nextConfigOutput,
userland
});
// Pull out the exports that we need to expose from the module. This should
// be eliminated when we've moved the other routes to the new format. These
// are used to hook into the route.
const { requestAsyncStorage, staticGenerationAsyncStorage, serverHooks, headerHooks, staticGenerationBailout } = routeModule;
const originalPathname = "VAR_ORIGINAL_PATHNAME";
export { routeModule, requestAsyncStorage, staticGenerationAsyncStorage, serverHooks, headerHooks, staticGenerationBailout, originalPathname, };
//# sourceMappingURL=app-route.js.map

View File

@@ -0,0 +1 @@
{"version":3,"sources":["../../../src/build/templates/app-route.ts"],"names":["module","RouteKind","userland","AppRouteRouteModule","routeModule","definition","kind","APP_ROUTE","page","pathname","filename","bundlePath","resolvedPagePath","nextConfigOutput","requestAsyncStorage","staticGenerationAsyncStorage","serverHooks","headerHooks","staticGenerationBailout","originalPathname"],"mappings":"AAAA,OAAO,qCAAoC;AAE3C,oEAAoE;AACpE,YAAYA,YAAY,kEAAiE;AAGzF,SAASC,SAAS,QAAQ,iCAAgC;AAE1D,0DAA0D;AAC1D,YAAYC,cAAc,eAAc;AAExC,MAAMC,sBACJH,OAAOG,mBAAmB;AAO5B,2EAA2E;AAC3E,UAAU;AACV,0BAA0B;AAE1B,MAAMC,cAAc,IAAID,oBAAoB;IAC1CE,YAAY;QACVC,MAAML,UAAUM,SAAS;QACzBC,MAAM;QACNC,UAAU;QACVC,UAAU;QACVC,YAAY;IACd;IACAC,kBAAkB;IAClBC;IACAX;AACF;AAEA,2EAA2E;AAC3E,2EAA2E;AAC3E,mCAAmC;AACnC,MAAM,EACJY,mBAAmB,EACnBC,4BAA4B,EAC5BC,WAAW,EACXC,WAAW,EACXC,uBAAuB,EACxB,GAAGd;AAEJ,MAAMe,mBAAmB;AAEzB,SACEf,WAAW,EACXU,mBAAmB,EACnBC,4BAA4B,EAC5BC,WAAW,EACXC,WAAW,EACXC,uBAAuB,EACvBC,gBAAgB,KACjB"}

26
node_modules/next/dist/esm/build/templates/helpers.js generated vendored Normal file
View File

@@ -0,0 +1,26 @@
/**
* Hoists a name from a module or promised module.
*
* @param module the module to hoist the name from
* @param name the name to hoist
* @returns the value on the module (or promised module)
*/ export function hoist(module, name) {
// If the name is available in the module, return it.
if (name in module) {
return module[name];
}
// If a property called `then` exists, assume it's a promise and
// return a promise that resolves to the name.
if ("then" in module && typeof module.then === "function") {
return module.then((mod)=>hoist(mod, name));
}
// If we're trying to hoise the default export, and the module is a function,
// return the module itself.
if (typeof module === "function" && name === "default") {
return module;
}
// Otherwise, return undefined.
return undefined;
}
//# sourceMappingURL=helpers.js.map

View File

@@ -0,0 +1 @@
{"version":3,"sources":["../../../src/build/templates/helpers.ts"],"names":["hoist","module","name","then","mod","undefined"],"mappings":"AAAA;;;;;;CAMC,GACD,OAAO,SAASA,MAAMC,MAAW,EAAEC,IAAY;IAC7C,qDAAqD;IACrD,IAAIA,QAAQD,QAAQ;QAClB,OAAOA,MAAM,CAACC,KAAK;IACrB;IAEA,gEAAgE;IAChE,8CAA8C;IAC9C,IAAI,UAAUD,UAAU,OAAOA,OAAOE,IAAI,KAAK,YAAY;QACzD,OAAOF,OAAOE,IAAI,CAAC,CAACC,MAAaJ,MAAMI,KAAKF;IAC9C;IAEA,6EAA6E;IAC7E,4BAA4B;IAC5B,IAAI,OAAOD,WAAW,cAAcC,SAAS,WAAW;QACtD,OAAOD;IACT;IAEA,+BAA+B;IAC/B,OAAOI;AACT"}

View File

@@ -0,0 +1,21 @@
import "../../server/web/globals";
import { adapter } from "../../server/web/adapter";
// Import the userland code.
// @ts-expect-error - replaced by webpack/turbopack loader
import * as _mod from "VAR_USERLAND";
const mod = {
..._mod
};
const handler = mod.middleware || mod.default;
if (typeof handler !== "function") {
throw new Error(`The Middleware must export a \`middleware\` or a \`default\` function`);
}
export default function(opts) {
return adapter({
...opts,
page: "",
handler
});
}
//# sourceMappingURL=middleware.js.map

View File

@@ -0,0 +1 @@
{"version":3,"sources":["../../../src/build/templates/middleware.ts"],"names":["adapter","_mod","mod","handler","middleware","default","Error","opts","page"],"mappings":"AAAA,OAAO,2BAA0B;AAEjC,SAASA,OAAO,QAAQ,2BAA0B;AAElD,4BAA4B;AAC5B,0DAA0D;AAC1D,YAAYC,UAAU,eAAc;AAEpC,MAAMC,MAAM;IAAE,GAAGD,IAAI;AAAC;AACtB,MAAME,UAAUD,IAAIE,UAAU,IAAIF,IAAIG,OAAO;AAE7C,IAAI,OAAOF,YAAY,YAAY;IACjC,MAAM,IAAIG,MACR,CAAC,qEAAqE,CAAC;AAE3E;AAEA,eAAe,SACbC,IAAmE;IAEnE,OAAOP,QAAQ;QACb,GAAGO,IAAI;QACPC,MAAM;QACNL;IACF;AACF"}

View File

@@ -0,0 +1,26 @@
// @ts-ignore this need to be imported from next/dist to be external
import * as module from "next/dist/server/future/route-modules/pages-api/module.compiled";
import { RouteKind } from "../../server/future/route-kind";
import { hoist } from "./helpers";
const PagesAPIRouteModule = module.PagesAPIRouteModule;
// Import the userland code.
// @ts-expect-error - replaced by webpack/turbopack loader
import * as userland from "VAR_USERLAND";
// Re-export the handler (should be the default export).
export default hoist(userland, "default");
// Re-export config.
export const config = hoist(userland, "config");
// Create and export the route module that will be consumed.
export const routeModule = new PagesAPIRouteModule({
definition: {
kind: RouteKind.PAGES_API,
page: "VAR_DEFINITION_PAGE",
pathname: "VAR_DEFINITION_PATHNAME",
// The following aren't used in production.
bundlePath: "",
filename: ""
},
userland
});
//# sourceMappingURL=pages-api.js.map

View File

@@ -0,0 +1 @@
{"version":3,"sources":["../../../src/build/templates/pages-api.ts"],"names":["module","RouteKind","hoist","PagesAPIRouteModule","userland","config","routeModule","definition","kind","PAGES_API","page","pathname","bundlePath","filename"],"mappings":"AAAA,oEAAoE;AACpE,YAAYA,YAAY,kEAAiE;AAEzF,SAASC,SAAS,QAAQ,iCAAgC;AAC1D,SAASC,KAAK,QAAQ,YAAW;AAEjC,MAAMC,sBACJH,OAAOG,mBAAmB;AAE5B,4BAA4B;AAC5B,0DAA0D;AAC1D,YAAYC,cAAc,eAAc;AAExC,wDAAwD;AACxD,eAAeF,MAAME,UAAU,WAAU;AAEzC,oBAAoB;AACpB,OAAO,MAAMC,SAASH,MAAME,UAAU,UAAS;AAE/C,4DAA4D;AAC5D,OAAO,MAAME,cAAc,IAAIH,oBAAoB;IACjDI,YAAY;QACVC,MAAMP,UAAUQ,SAAS;QACzBC,MAAM;QACNC,UAAU;QACV,2CAA2C;QAC3CC,YAAY;QACZC,UAAU;IACZ;IACAT;AACF,GAAE"}

View File

@@ -0,0 +1,20 @@
import "../../server/web/globals";
import { adapter } from "../../server/web/adapter";
import { IncrementalCache } from "../../server/lib/incremental-cache";
// Import the userland code.
// @ts-expect-error - replaced by webpack/turbopack loader
import handler from "VAR_USERLAND";
const page = "VAR_DEFINITION_PAGE";
if (typeof handler !== "function") {
throw new Error(`The Edge Function "pages${page}" must export a \`default\` function`);
}
export default function(opts) {
return adapter({
...opts,
IncrementalCache,
page: "VAR_DEFINITION_PATHNAME",
handler
});
}
//# sourceMappingURL=pages-edge-api.js.map

View File

@@ -0,0 +1 @@
{"version":3,"sources":["../../../src/build/templates/pages-edge-api.ts"],"names":["adapter","IncrementalCache","handler","page","Error","opts"],"mappings":"AAAA,OAAO,2BAA0B;AAEjC,SAASA,OAAO,QAAQ,2BAA0B;AAClD,SAASC,gBAAgB,QAAQ,qCAAoC;AAErE,4BAA4B;AAC5B,0DAA0D;AAC1D,OAAOC,aAAa,eAAc;AAElC,MAAMC,OAAO;AAEb,IAAI,OAAOD,YAAY,YAAY;IACjC,MAAM,IAAIE,MACR,CAAC,wBAAwB,EAAED,KAAK,oCAAoC,CAAC;AAEzE;AAEA,eAAe,SACbE,IAAmE;IAEnE,OAAOL,QAAQ;QACb,GAAGK,IAAI;QACPJ;QACAE,MAAM;QACND;IACF;AACF"}

45
node_modules/next/dist/esm/build/templates/pages.js generated vendored Normal file
View File

@@ -0,0 +1,45 @@
// @ts-ignore this need to be imported from next/dist to be external
import * as module from "next/dist/server/future/route-modules/pages/module.compiled";
import { RouteKind } from "../../server/future/route-kind";
import { hoist } from "./helpers";
// Import the app and document modules.
// @ts-expect-error - replaced by webpack/turbopack loader
import Document from "VAR_MODULE_DOCUMENT";
// @ts-expect-error - replaced by webpack/turbopack loader
import App from "VAR_MODULE_APP";
// Import the userland code.
// @ts-expect-error - replaced by webpack/turbopack loader
import * as userland from "VAR_USERLAND";
const PagesRouteModule = module.PagesRouteModule;
// Re-export the component (should be the default export).
export default hoist(userland, "default");
// Re-export methods.
export const getStaticProps = hoist(userland, "getStaticProps");
export const getStaticPaths = hoist(userland, "getStaticPaths");
export const getServerSideProps = hoist(userland, "getServerSideProps");
export const config = hoist(userland, "config");
export const reportWebVitals = hoist(userland, "reportWebVitals");
// Re-export legacy methods.
export const unstable_getStaticProps = hoist(userland, "unstable_getStaticProps");
export const unstable_getStaticPaths = hoist(userland, "unstable_getStaticPaths");
export const unstable_getStaticParams = hoist(userland, "unstable_getStaticParams");
export const unstable_getServerProps = hoist(userland, "unstable_getServerProps");
export const unstable_getServerSideProps = hoist(userland, "unstable_getServerSideProps");
// Create and export the route module that will be consumed.
export const routeModule = new PagesRouteModule({
definition: {
kind: RouteKind.PAGES,
page: "VAR_DEFINITION_PAGE",
pathname: "VAR_DEFINITION_PATHNAME",
// The following aren't used in production.
bundlePath: "",
filename: ""
},
components: {
App,
Document
},
userland
});
//# sourceMappingURL=pages.js.map

View File

@@ -0,0 +1 @@
{"version":3,"sources":["../../../src/build/templates/pages.ts"],"names":["module","RouteKind","hoist","Document","App","userland","PagesRouteModule","getStaticProps","getStaticPaths","getServerSideProps","config","reportWebVitals","unstable_getStaticProps","unstable_getStaticPaths","unstable_getStaticParams","unstable_getServerProps","unstable_getServerSideProps","routeModule","definition","kind","PAGES","page","pathname","bundlePath","filename","components"],"mappings":"AAAA,oEAAoE;AACpE,YAAYA,YAAY,8DAA6D;AACrF,SAASC,SAAS,QAAQ,iCAAgC;AAC1D,SAASC,KAAK,QAAQ,YAAW;AAEjC,uCAAuC;AACvC,0DAA0D;AAC1D,OAAOC,cAAc,sBAAqB;AAC1C,0DAA0D;AAC1D,OAAOC,SAAS,iBAAgB;AAEhC,4BAA4B;AAC5B,0DAA0D;AAC1D,YAAYC,cAAc,eAAc;AAExC,MAAMC,mBACJN,OAAOM,gBAAgB;AAEzB,0DAA0D;AAC1D,eAAeJ,MAAMG,UAAU,WAAU;AAEzC,qBAAqB;AACrB,OAAO,MAAME,iBAAiBL,MAAMG,UAAU,kBAAiB;AAC/D,OAAO,MAAMG,iBAAiBN,MAAMG,UAAU,kBAAiB;AAC/D,OAAO,MAAMI,qBAAqBP,MAAMG,UAAU,sBAAqB;AACvE,OAAO,MAAMK,SAASR,MAAMG,UAAU,UAAS;AAC/C,OAAO,MAAMM,kBAAkBT,MAAMG,UAAU,mBAAkB;AAEjE,4BAA4B;AAC5B,OAAO,MAAMO,0BAA0BV,MACrCG,UACA,2BACD;AACD,OAAO,MAAMQ,0BAA0BX,MACrCG,UACA,2BACD;AACD,OAAO,MAAMS,2BAA2BZ,MACtCG,UACA,4BACD;AACD,OAAO,MAAMU,0BAA0Bb,MACrCG,UACA,2BACD;AACD,OAAO,MAAMW,8BAA8Bd,MACzCG,UACA,+BACD;AAED,4DAA4D;AAC5D,OAAO,MAAMY,cAAc,IAAIX,iBAAiB;IAC9CY,YAAY;QACVC,MAAMlB,UAAUmB,KAAK;QACrBC,MAAM;QACNC,UAAU;QACV,2CAA2C;QAC3CC,YAAY;QACZC,UAAU;IACZ;IACAC,YAAY;QACVrB;QACAD;IACF;IACAE;AACF,GAAE"}