Initial boiler plate project

This commit is contained in:
2024-09-24 03:52:46 +00:00
parent 6120b2d6c3
commit 154b93e267
10034 changed files with 2079352 additions and 2 deletions

View File

@ -0,0 +1 @@
export * from './module'

View File

@ -0,0 +1,23 @@
if (process.env.NEXT_RUNTIME === "edge") {
module.exports = require("next/dist/server/future/route-modules/app-page/module.js");
} else {
if (process.env.__NEXT_EXPERIMENTAL_REACT) {
if (process.env.NODE_ENV === "development") {
module.exports = require("next/dist/compiled/next-server/app-page-experimental.runtime.dev.js");
} else if (process.env.TURBOPACK) {
module.exports = require("next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js");
} else {
module.exports = require("next/dist/compiled/next-server/app-page-experimental.runtime.prod.js");
}
} else {
if (process.env.NODE_ENV === "development") {
module.exports = require("next/dist/compiled/next-server/app-page.runtime.dev.js");
} else if (process.env.TURBOPACK) {
module.exports = require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js");
} else {
module.exports = require("next/dist/compiled/next-server/app-page.runtime.prod.js");
}
}
}
//# sourceMappingURL=module.compiled.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../src/server/future/route-modules/app-page/module.compiled.js"],"names":["process","env","NEXT_RUNTIME","module","exports","require","__NEXT_EXPERIMENTAL_REACT","NODE_ENV","TURBOPACK"],"mappings":"AAAA,IAAIA,QAAQC,GAAG,CAACC,YAAY,KAAK,QAAQ;IACvCC,OAAOC,OAAO,GAAGC,QAAQ;AAC3B,OAAO;IACL,IAAIL,QAAQC,GAAG,CAACK,yBAAyB,EAAE;QACzC,IAAIN,QAAQC,GAAG,CAACM,QAAQ,KAAK,eAAe;YAC1CJ,OAAOC,OAAO,GAAGC,QAAQ;QAC3B,OAAO,IAAIL,QAAQC,GAAG,CAACO,SAAS,EAAE;YAChCL,OAAOC,OAAO,GAAGC,QAAQ;QAC3B,OAAO;YACLF,OAAOC,OAAO,GAAGC,QAAQ;QAC3B;IACF,OAAO;QACL,IAAIL,QAAQC,GAAG,CAACM,QAAQ,KAAK,eAAe;YAC1CJ,OAAOC,OAAO,GAAGC,QAAQ;QAC3B,OAAO,IAAIL,QAAQC,GAAG,CAACO,SAAS,EAAE;YAChCL,OAAOC,OAAO,GAAGC,QAAQ;QAC3B,OAAO;YACLF,OAAOC,OAAO,GAAGC,QAAQ;QAC3B;IACF;AACF"}

View File

@ -0,0 +1,24 @@
import { renderToHTMLOrFlight } from "../../../app-render/app-render";
import { RouteModule } from "../route-module";
import * as vendoredContexts from "./vendored/contexts/entrypoints";
let vendoredReactRSC;
let vendoredReactSSR;
// the vendored Reacts are loaded from their original source in the edge runtime
if (process.env.NEXT_RUNTIME !== "edge") {
vendoredReactRSC = require("./vendored/rsc/entrypoints");
vendoredReactSSR = require("./vendored/ssr/entrypoints");
}
export class AppPageRouteModule extends RouteModule {
render(req, res, context) {
return renderToHTMLOrFlight(req, res, context.page, context.query, context.renderOpts);
}
}
const vendored = {
"react-rsc": vendoredReactRSC,
"react-ssr": vendoredReactSSR,
contexts: vendoredContexts
};
export { renderToHTMLOrFlight, vendored };
export default AppPageRouteModule;
//# sourceMappingURL=module.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../src/server/future/route-modules/app-page/module.ts"],"names":["renderToHTMLOrFlight","RouteModule","vendoredContexts","vendoredReactRSC","vendoredReactSSR","process","env","NEXT_RUNTIME","require","AppPageRouteModule","render","req","res","context","page","query","renderOpts","vendored","contexts"],"mappings":"AAOA,SAASA,oBAAoB,QAAQ,iCAAgC;AACrE,SACEC,WAAW,QAGN,kBAAiB;AACxB,YAAYC,sBAAsB,kCAAiC;AAEnE,IAAIC;AACJ,IAAIC;AAEJ,gFAAgF;AAChF,IAAIC,QAAQC,GAAG,CAACC,YAAY,KAAK,QAAQ;IACvCJ,mBAAmBK,QAAQ;IAC3BJ,mBAAmBI,QAAQ;AAC7B;AA2BA,OAAO,MAAMC,2BAA2BR;IAI/BS,OACLC,GAAoB,EACpBC,GAAmB,EACnBC,OAAmC,EACZ;QACvB,OAAOb,qBACLW,KACAC,KACAC,QAAQC,IAAI,EACZD,QAAQE,KAAK,EACbF,QAAQG,UAAU;IAEtB;AACF;AAEA,MAAMC,WAAW;IACf,aAAad;IACb,aAAaC;IACbc,UAAUhB;AACZ;AAEA,SAASF,oBAAoB,EAAEiB,QAAQ,GAAE;AAEzC,eAAeR,mBAAkB"}

View File

@ -0,0 +1,10 @@
export const lazyRenderAppPage = (...args)=>{
if (process.env.NEXT_MINIMAL) {
throw new Error("Can't use lazyRenderAppPage in minimal mode");
} else {
const render = require("./module.compiled").renderToHTMLOrFlight;
return render(...args);
}
};
//# sourceMappingURL=module.render.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../src/server/future/route-modules/app-page/module.render.ts"],"names":["lazyRenderAppPage","args","process","env","NEXT_MINIMAL","Error","render","require","renderToHTMLOrFlight"],"mappings":"AAEA,OAAO,MAAMA,oBAAmC,CAAC,GAAGC;IAClD,IAAIC,QAAQC,GAAG,CAACC,YAAY,EAAE;QAC5B,MAAM,IAAIC,MAAM;IAClB,OAAO;QACL,MAAMC,SACJC,QAAQ,qBAAqBC,oBAAoB;QAEnD,OAAOF,UAAUL;IACnB;AACF,EAAC"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["contexts"].AmpContext;
//# sourceMappingURL=amp-context.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/contexts/amp-context.ts"],"names":["module","exports","require","vendored","AmpContext"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,WACD,CAACC,UAAU"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["contexts"].AppRouterContext;
//# sourceMappingURL=app-router-context.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/contexts/app-router-context.ts"],"names":["module","exports","require","vendored","AppRouterContext"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,WACD,CAACC,gBAAgB"}

View File

@ -0,0 +1,12 @@
export * as HeadManagerContext from "../../../../../../shared/lib/head-manager-context.shared-runtime";
export * as ServerInsertedHtml from "../../../../../../shared/lib/server-inserted-html.shared-runtime";
export * as AppRouterContext from "../../../../../../shared/lib/app-router-context.shared-runtime";
export * as HooksClientContext from "../../../../../../shared/lib/hooks-client-context.shared-runtime";
export * as RouterContext from "../../../../../../shared/lib/router-context.shared-runtime";
export * as HtmlContext from "../../../../../../shared/lib/html-context.shared-runtime";
export * as AmpContext from "../../../../../../shared/lib/amp-context.shared-runtime";
export * as LoadableContext from "../../../../../../shared/lib/loadable-context.shared-runtime";
export * as ImageConfigContext from "../../../../../../shared/lib/image-config-context.shared-runtime";
export * as Loadable from "../../../../../../shared/lib/loadable.shared-runtime";
//# sourceMappingURL=entrypoints.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/contexts/entrypoints.ts"],"names":["HeadManagerContext","ServerInsertedHtml","AppRouterContext","HooksClientContext","RouterContext","HtmlContext","AmpContext","LoadableContext","ImageConfigContext","Loadable"],"mappings":"AAAA,OAAO,KAAKA,kBAAkB,MAAM,mEAAkE;AACtG,OAAO,KAAKC,kBAAkB,MAAM,mEAAkE;AACtG,OAAO,KAAKC,gBAAgB,MAAM,iEAAgE;AAClG,OAAO,KAAKC,kBAAkB,MAAM,mEAAkE;AACtG,OAAO,KAAKC,aAAa,MAAM,6DAA4D;AAC3F,OAAO,KAAKC,WAAW,MAAM,2DAA0D;AACvF,OAAO,KAAKC,UAAU,MAAM,0DAAyD;AACrF,OAAO,KAAKC,eAAe,MAAM,+DAA8D;AAC/F,OAAO,KAAKC,kBAAkB,MAAM,mEAAkE;AACtG,OAAO,KAAKC,QAAQ,MAAM,uDAAsD"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["contexts"].HeadManagerContext;
//# sourceMappingURL=head-manager-context.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/contexts/head-manager-context.ts"],"names":["module","exports","require","vendored","HeadManagerContext"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,WACD,CAACC,kBAAkB"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["contexts"].HooksClientContext;
//# sourceMappingURL=hooks-client-context.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/contexts/hooks-client-context.ts"],"names":["module","exports","require","vendored","HooksClientContext"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,WACD,CAACC,kBAAkB"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["contexts"].HtmlContext;
//# sourceMappingURL=html-context.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/contexts/html-context.ts"],"names":["module","exports","require","vendored","HtmlContext"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,WACD,CAACC,WAAW"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["contexts"].ImageConfigContext;
//# sourceMappingURL=image-config-context.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/contexts/image-config-context.ts"],"names":["module","exports","require","vendored","ImageConfigContext"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,WACD,CAACC,kBAAkB"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["contexts"].LoadableContext;
//# sourceMappingURL=loadable-context.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/contexts/loadable-context.ts"],"names":["module","exports","require","vendored","LoadableContext"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,WACD,CAACC,eAAe"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["contexts"].Loadable;
//# sourceMappingURL=loadable.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/contexts/loadable.ts"],"names":["module","exports","require","vendored","Loadable"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CAAC,WAAW,CAACC,QAAQ"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["contexts"].RouterContext;
//# sourceMappingURL=router-context.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/contexts/router-context.ts"],"names":["module","exports","require","vendored","RouterContext"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,WACD,CAACC,aAAa"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["contexts"].ServerInsertedHtml;
//# sourceMappingURL=server-inserted-html.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/contexts/server-inserted-html.ts"],"names":["module","exports","require","vendored","ServerInsertedHtml"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,WACD,CAACC,kBAAkB"}

View File

@ -0,0 +1,50 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import * as ReactJsxDevRuntime from "react/jsx-dev-runtime";
import * as ReactJsxRuntime from "react/jsx-runtime";
function getAltProxyForBindingsDEV(type, pkg) {
if (process.env.NODE_ENV === "development") {
const altType = type === "Turbopack" ? "Webpack" : "Turbopack";
const altPkg = pkg.replace(new RegExp(type, "gi"), altType.toLowerCase());
return new Proxy({}, {
get (_, prop) {
throw new Error(`Expected to use ${type} bindings (${pkg}) for React but the current process is referencing '${prop}' from the ${altType} bindings (${altPkg}). This is likely a bug in our integration of the Next.js server runtime.`);
}
});
}
}
let ReactServerDOMTurbopackServerEdge, ReactServerDOMWebpackServerEdge;
let ReactServerDOMTurbopackServerNode, ReactServerDOMWebpackServerNode;
if (process.env.TURBOPACK) {
// eslint-disable-next-line import/no-extraneous-dependencies
ReactServerDOMTurbopackServerEdge = require("react-server-dom-turbopack/server.edge");
if (process.env.NODE_ENV === "development") {
ReactServerDOMWebpackServerEdge = getAltProxyForBindingsDEV("Turbopack", "react-server-dom-turbopack/server.edge");
}
// eslint-disable-next-line import/no-extraneous-dependencies
ReactServerDOMTurbopackServerNode = require("react-server-dom-turbopack/server.node");
if (process.env.NODE_ENV === "development") {
ReactServerDOMWebpackServerNode = getAltProxyForBindingsDEV("Turbopack", "react-server-dom-turbopack/server.node");
}
} else {
// eslint-disable-next-line import/no-extraneous-dependencies
ReactServerDOMWebpackServerEdge = require("react-server-dom-webpack/server.edge");
if (process.env.NODE_ENV === "development") {
ReactServerDOMTurbopackServerEdge = getAltProxyForBindingsDEV("Webpack", "react-server-dom-webpack/server.edge");
}
// eslint-disable-next-line import/no-extraneous-dependencies
ReactServerDOMWebpackServerNode = require("react-server-dom-webpack/server.node");
if (process.env.NODE_ENV === "development") {
ReactServerDOMTurbopackServerNode = getAltProxyForBindingsDEV("Webpack", "react-server-dom-webpack/server.node");
}
}
if (ReactDOM.version === undefined) {
// FIXME: ReactDOM's 'react-server' entrypoint is missing `.version`,
// which makes our tests fail when it's used, so this is an ugly workaround
// (but should be safe because these are always kept in sync anyway)
// @ts-expect-error
ReactDOM.version = React.version;
}
export { React, ReactJsxDevRuntime, ReactJsxRuntime, ReactDOM, ReactServerDOMWebpackServerEdge, ReactServerDOMTurbopackServerEdge, ReactServerDOMWebpackServerNode, ReactServerDOMTurbopackServerNode, };
//# sourceMappingURL=entrypoints.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/rsc/entrypoints.ts"],"names":["React","ReactDOM","ReactJsxDevRuntime","ReactJsxRuntime","getAltProxyForBindingsDEV","type","pkg","process","env","NODE_ENV","altType","altPkg","replace","RegExp","toLowerCase","Proxy","get","_","prop","Error","ReactServerDOMTurbopackServerEdge","ReactServerDOMWebpackServerEdge","ReactServerDOMTurbopackServerNode","ReactServerDOMWebpackServerNode","TURBOPACK","require","version","undefined"],"mappings":"AAAA,YAAYA,WAAW,QAAO;AAC9B,YAAYC,cAAc,YAAW;AACrC,YAAYC,wBAAwB,wBAAuB;AAC3D,YAAYC,qBAAqB,oBAAmB;AAEpD,SAASC,0BACPC,IAA6B,EAC7BC,GAI0C;IAE1C,IAAIC,QAAQC,GAAG,CAACC,QAAQ,KAAK,eAAe;QAC1C,MAAMC,UAAUL,SAAS,cAAc,YAAY;QACnD,MAAMM,SAASL,IAAIM,OAAO,CAAC,IAAIC,OAAOR,MAAM,OAAOK,QAAQI,WAAW;QAEtE,OAAO,IAAIC,MACT,CAAC,GACD;YACEC,KAAIC,CAAC,EAAEC,IAAY;gBACjB,MAAM,IAAIC,MACR,CAAC,gBAAgB,EAAEd,KAAK,WAAW,EAAEC,IAAI,oDAAoD,EAAEY,KAAK,WAAW,EAAER,QAAQ,WAAW,EAAEC,OAAO,yEAAyE,CAAC;YAE3N;QACF;IAEJ;AACF;AAEA,IAAIS,mCAAmCC;AACvC,IAAIC,mCAAmCC;AAEvC,IAAIhB,QAAQC,GAAG,CAACgB,SAAS,EAAE;IACzB,6DAA6D;IAC7DJ,oCAAoCK,QAAQ;IAC5C,IAAIlB,QAAQC,GAAG,CAACC,QAAQ,KAAK,eAAe;QAC1CY,kCAAkCjB,0BAChC,aACA;IAEJ;IACA,6DAA6D;IAC7DkB,oCAAoCG,QAAQ;IAC5C,IAAIlB,QAAQC,GAAG,CAACC,QAAQ,KAAK,eAAe;QAC1Cc,kCAAkCnB,0BAChC,aACA;IAEJ;AACF,OAAO;IACL,6DAA6D;IAC7DiB,kCAAkCI,QAAQ;IAC1C,IAAIlB,QAAQC,GAAG,CAACC,QAAQ,KAAK,eAAe;QAC1CW,oCAAoChB,0BAClC,WACA;IAEJ;IACA,6DAA6D;IAC7DmB,kCAAkCE,QAAQ;IAC1C,IAAIlB,QAAQC,GAAG,CAACC,QAAQ,KAAK,eAAe;QAC1Ca,oCAAoClB,0BAClC,WACA;IAEJ;AACF;AAEA,IAAIH,SAASyB,OAAO,KAAKC,WAAW;IAClC,qEAAqE;IACrE,2EAA2E;IAC3E,oEAAoE;IACpE,mBAAmB;IACnB1B,SAASyB,OAAO,GAAG1B,MAAM0B,OAAO;AAClC;AAEA,SACE1B,KAAK,EACLE,kBAAkB,EAClBC,eAAe,EACfF,QAAQ,EACRoB,+BAA+B,EAC/BD,iCAAiC,EACjCG,+BAA+B,EAC/BD,iCAAiC,KAClC"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["react-rsc"].ReactDOM;
//# sourceMappingURL=react-dom.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/rsc/react-dom.ts"],"names":["module","exports","require","vendored","ReactDOM"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CAAC,YAAY,CAACC,QAAQ"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["react-rsc"].ReactJsxDevRuntime;
//# sourceMappingURL=react-jsx-dev-runtime.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/rsc/react-jsx-dev-runtime.ts"],"names":["module","exports","require","vendored","ReactJsxDevRuntime"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,YACD,CAACC,kBAAkB"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["react-rsc"].ReactJsxRuntime;
//# sourceMappingURL=react-jsx-runtime.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/rsc/react-jsx-runtime.ts"],"names":["module","exports","require","vendored","ReactJsxRuntime"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,YACD,CAACC,eAAe"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["react-rsc"].ReactServerDOMTurbopackServerEdge;
//# sourceMappingURL=react-server-dom-turbopack-server-edge.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server-edge.ts"],"names":["module","exports","require","vendored","ReactServerDOMTurbopackServerEdge"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,YACD,CAACC,iCAAiC"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["react-rsc"].ReactServerDOMTurbopackServerNode;
//# sourceMappingURL=react-server-dom-turbopack-server-node.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server-node.ts"],"names":["module","exports","require","vendored","ReactServerDOMTurbopackServerNode"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,YACD,CAACC,iCAAiC"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["react-rsc"].ReactServerDOMWebpackServerEdge;
//# sourceMappingURL=react-server-dom-webpack-server-edge.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/rsc/react-server-dom-webpack-server-edge.ts"],"names":["module","exports","require","vendored","ReactServerDOMWebpackServerEdge"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,YACD,CAACC,+BAA+B"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["react-rsc"].ReactServerDOMWebpackServerNode;
//# sourceMappingURL=react-server-dom-webpack-server-node.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/rsc/react-server-dom-webpack-server-node.ts"],"names":["module","exports","require","vendored","ReactServerDOMWebpackServerNode"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,YACD,CAACC,+BAA+B"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["react-rsc"].React;
//# sourceMappingURL=react.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/rsc/react.ts"],"names":["module","exports","require","vendored","React"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CAAC,YAAY,CAACC,KAAK"}

View File

@ -0,0 +1,34 @@
import * as React from "react";
import * as ReactDOM from "react-dom/server-rendering-stub";
import * as ReactJsxDevRuntime from "react/jsx-dev-runtime";
import * as ReactJsxRuntime from "react/jsx-runtime";
// eslint-disable-next-line import/no-extraneous-dependencies
import * as ReactDOMServerEdge from "react-dom/server.edge";
function getAltProxyForBindingsDEV(type, pkg) {
if (process.env.NODE_ENV === "development") {
const altType = type === "Turbopack" ? "Webpack" : "Turbopack";
const altPkg = pkg.replace(new RegExp(type, "gi"), altType.toLowerCase());
return new Proxy({}, {
get (_, prop) {
throw new Error(`Expected to use ${type} bindings (${pkg}) for React but the current process is referencing '${prop}' from the ${altType} bindings (${altPkg}). This is likely a bug in our integration of the Next.js server runtime.`);
}
});
}
}
let ReactServerDOMTurbopackClientEdge, ReactServerDOMWebpackClientEdge;
if (process.env.TURBOPACK) {
// eslint-disable-next-line import/no-extraneous-dependencies
ReactServerDOMTurbopackClientEdge = require("react-server-dom-turbopack/client.edge");
if (process.env.NODE_ENV === "development") {
ReactServerDOMWebpackClientEdge = getAltProxyForBindingsDEV("Turbopack", "react-server-dom-turbopack/client.edge");
}
} else {
// eslint-disable-next-line import/no-extraneous-dependencies
ReactServerDOMWebpackClientEdge = require("react-server-dom-webpack/client.edge");
if (process.env.NODE_ENV === "development") {
ReactServerDOMTurbopackClientEdge = getAltProxyForBindingsDEV("Webpack", "react-server-dom-webpack/client.edge");
}
}
export { React, ReactJsxDevRuntime, ReactJsxRuntime, ReactDOM, ReactDOMServerEdge, ReactServerDOMTurbopackClientEdge, ReactServerDOMWebpackClientEdge, };
//# sourceMappingURL=entrypoints.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/ssr/entrypoints.ts"],"names":["React","ReactDOM","ReactJsxDevRuntime","ReactJsxRuntime","ReactDOMServerEdge","getAltProxyForBindingsDEV","type","pkg","process","env","NODE_ENV","altType","altPkg","replace","RegExp","toLowerCase","Proxy","get","_","prop","Error","ReactServerDOMTurbopackClientEdge","ReactServerDOMWebpackClientEdge","TURBOPACK","require"],"mappings":"AAAA,YAAYA,WAAW,QAAO;AAC9B,YAAYC,cAAc,kCAAiC;AAC3D,YAAYC,wBAAwB,wBAAuB;AAC3D,YAAYC,qBAAqB,oBAAmB;AAEpD,6DAA6D;AAC7D,YAAYC,wBAAwB,wBAAuB;AAE3D,SAASC,0BACPC,IAA6B,EAC7BC,GAE0C;IAE1C,IAAIC,QAAQC,GAAG,CAACC,QAAQ,KAAK,eAAe;QAC1C,MAAMC,UAAUL,SAAS,cAAc,YAAY;QACnD,MAAMM,SAASL,IAAIM,OAAO,CAAC,IAAIC,OAAOR,MAAM,OAAOK,QAAQI,WAAW;QAEtE,OAAO,IAAIC,MACT,CAAC,GACD;YACEC,KAAIC,CAAC,EAAEC,IAAY;gBACjB,MAAM,IAAIC,MACR,CAAC,gBAAgB,EAAEd,KAAK,WAAW,EAAEC,IAAI,oDAAoD,EAAEY,KAAK,WAAW,EAAER,QAAQ,WAAW,EAAEC,OAAO,yEAAyE,CAAC;YAE3N;QACF;IAEJ;AACF;AAEA,IAAIS,mCAAmCC;AACvC,IAAId,QAAQC,GAAG,CAACc,SAAS,EAAE;IACzB,6DAA6D;IAC7DF,oCAAoCG,QAAQ;IAC5C,IAAIhB,QAAQC,GAAG,CAACC,QAAQ,KAAK,eAAe;QAC1CY,kCAAkCjB,0BAChC,aACA;IAEJ;AACF,OAAO;IACL,6DAA6D;IAC7DiB,kCAAkCE,QAAQ;IAC1C,IAAIhB,QAAQC,GAAG,CAACC,QAAQ,KAAK,eAAe;QAC1CW,oCAAoChB,0BAClC,WACA;IAEJ;AACF;AAEA,SACEL,KAAK,EACLE,kBAAkB,EAClBC,eAAe,EACfF,QAAQ,EACRG,kBAAkB,EAClBiB,iCAAiC,EACjCC,+BAA+B,KAChC"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["react-ssr"].ReactDOMServerEdge;
//# sourceMappingURL=react-dom-server-edge.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/ssr/react-dom-server-edge.ts"],"names":["module","exports","require","vendored","ReactDOMServerEdge"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,YACD,CAACC,kBAAkB"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["react-ssr"].ReactDOM;
//# sourceMappingURL=react-dom.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/ssr/react-dom.ts"],"names":["module","exports","require","vendored","ReactDOM"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CAAC,YAAY,CAACC,QAAQ"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["react-ssr"].ReactJsxDevRuntime;
//# sourceMappingURL=react-jsx-dev-runtime.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.ts"],"names":["module","exports","require","vendored","ReactJsxDevRuntime"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,YACD,CAACC,kBAAkB"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["react-ssr"].ReactJsxRuntime;
//# sourceMappingURL=react-jsx-runtime.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/ssr/react-jsx-runtime.ts"],"names":["module","exports","require","vendored","ReactJsxRuntime"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,YACD,CAACC,eAAe"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["react-ssr"].ReactServerDOMTurbopackClientEdge;
//# sourceMappingURL=react-server-dom-turbopack-client-edge.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client-edge.ts"],"names":["module","exports","require","vendored","ReactServerDOMTurbopackClientEdge"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,YACD,CAACC,iCAAiC"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["react-ssr"].ReactServerDOMWebpackClientEdge;
//# sourceMappingURL=react-server-dom-webpack-client-edge.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/ssr/react-server-dom-webpack-client-edge.ts"],"names":["module","exports","require","vendored","ReactServerDOMWebpackClientEdge"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CACxD,YACD,CAACC,+BAA+B"}

View File

@ -0,0 +1,3 @@
module.exports = require("../../module.compiled").vendored["react-ssr"].React;
//# sourceMappingURL=react.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../../../../../../../src/server/future/route-modules/app-page/vendored/ssr/react.ts"],"names":["module","exports","require","vendored","React"],"mappings":"AAAAA,OAAOC,OAAO,GAAGC,QAAQ,yBAAyBC,QAAQ,CAAC,YAAY,CAACC,KAAK"}