react-router 7.16.0 → 7.17.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 (137) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/dist/development/{browser-nIQ4Nsyi.d.mts → browser-CGcs-0pD.d.mts} +1 -1
  3. package/dist/development/{chunk-QUQL4437.mjs → chunk-6CSD65Y2.mjs} +2 -2
  4. package/dist/{production/chunk-NALGHHKE.mjs → development/chunk-ASILSGTR.mjs} +2 -2
  5. package/dist/development/{chunk-SRID2YZ2.js → chunk-KFNXW4AL.js} +1 -1
  6. package/dist/development/{chunk-XEJDWL2B.js → chunk-PBLBZ3QU.js} +7 -7
  7. package/dist/{production/chunk-SKEDDLRM.js → development/chunk-PULC7NLK.js} +99 -99
  8. package/dist/development/{context-m8rizgnE.d.mts → context-CmHpk1Ws.d.mts} +1 -1
  9. package/dist/development/dom-export.d.mts +3 -3
  10. package/dist/development/dom-export.d.ts +1 -1
  11. package/dist/development/dom-export.js +28 -28
  12. package/dist/development/dom-export.mjs +3 -3
  13. package/dist/development/{index-react-server-client-BLiUx67a.d.ts → index-react-server-client-CwU9bE5R.d.ts} +1 -1
  14. package/dist/development/{index-react-server-client-CdKROblb.d.mts → index-react-server-client-DPrDrCew.d.mts} +1 -1
  15. package/dist/development/index-react-server-client.d.mts +2 -2
  16. package/dist/development/index-react-server-client.d.ts +1 -1
  17. package/dist/development/index-react-server-client.js +4 -4
  18. package/dist/development/index-react-server-client.mjs +2 -2
  19. package/dist/development/index-react-server.js +1 -1
  20. package/dist/development/index-react-server.mjs +1 -1
  21. package/dist/development/index.d.mts +6 -6
  22. package/dist/development/index.d.ts +2 -2
  23. package/dist/development/index.js +85 -85
  24. package/dist/development/index.mjs +3 -3
  25. package/dist/development/lib/types/internal.js +1 -1
  26. package/dist/development/lib/types/internal.mjs +1 -1
  27. package/dist/production/{browser-nIQ4Nsyi.d.mts → browser-CGcs-0pD.d.mts} +1 -1
  28. package/dist/{development/chunk-S54KXAEJ.mjs → production/chunk-5TQZEVD5.mjs} +2 -2
  29. package/dist/production/{chunk-EAQNHM3N.js → chunk-CTIXC7EV.js} +7 -7
  30. package/dist/{development/chunk-IBI7OMNB.js → production/chunk-EN242BO4.js} +99 -99
  31. package/dist/production/{chunk-Q65P7S7Y.mjs → chunk-OSYEOCBT.mjs} +2 -2
  32. package/dist/production/{chunk-Y7DNFQZP.js → chunk-RTRY3JFT.js} +1 -1
  33. package/dist/production/{context-m8rizgnE.d.mts → context-CmHpk1Ws.d.mts} +1 -1
  34. package/dist/production/dom-export.d.mts +3 -3
  35. package/dist/production/dom-export.d.ts +1 -1
  36. package/dist/production/dom-export.js +28 -28
  37. package/dist/production/dom-export.mjs +3 -3
  38. package/dist/production/{index-react-server-client-BLiUx67a.d.ts → index-react-server-client-CwU9bE5R.d.ts} +1 -1
  39. package/dist/production/{index-react-server-client-CdKROblb.d.mts → index-react-server-client-DPrDrCew.d.mts} +1 -1
  40. package/dist/production/index-react-server-client.d.mts +2 -2
  41. package/dist/production/index-react-server-client.d.ts +1 -1
  42. package/dist/production/index-react-server-client.js +4 -4
  43. package/dist/production/index-react-server-client.mjs +2 -2
  44. package/dist/production/index-react-server.js +1 -1
  45. package/dist/production/index-react-server.mjs +1 -1
  46. package/dist/production/index.d.mts +6 -6
  47. package/dist/production/index.d.ts +2 -2
  48. package/dist/production/index.js +85 -85
  49. package/dist/production/index.mjs +3 -3
  50. package/dist/production/lib/types/internal.js +1 -1
  51. package/dist/production/lib/types/internal.mjs +1 -1
  52. package/docs/explanation/backend-for-frontend.md +50 -0
  53. package/docs/explanation/code-splitting.md +61 -0
  54. package/docs/explanation/concurrency.md +135 -0
  55. package/docs/explanation/form-vs-fetcher.md +292 -0
  56. package/docs/explanation/hot-module-replacement.md +137 -0
  57. package/docs/explanation/hydration.md +14 -0
  58. package/docs/explanation/index-query-param.md +86 -0
  59. package/docs/explanation/index.md +4 -0
  60. package/docs/explanation/lazy-route-discovery.md +78 -0
  61. package/docs/explanation/location.md +6 -0
  62. package/docs/explanation/progressive-enhancement.md +150 -0
  63. package/docs/explanation/race-conditions.md +88 -0
  64. package/docs/explanation/react-transitions.md +160 -0
  65. package/docs/explanation/route-matching.md +7 -0
  66. package/docs/explanation/server-client-execution.md +4 -0
  67. package/docs/explanation/sessions-and-cookies.md +465 -0
  68. package/docs/explanation/special-files.md +16 -0
  69. package/docs/explanation/state-management.md +524 -0
  70. package/docs/explanation/styling.md +87 -0
  71. package/docs/explanation/type-safety.md +82 -0
  72. package/docs/how-to/accessibility.md +44 -0
  73. package/docs/how-to/client-data.md +199 -0
  74. package/docs/how-to/data-strategy.md +317 -0
  75. package/docs/how-to/error-boundary.md +231 -0
  76. package/docs/how-to/error-reporting.md +142 -0
  77. package/docs/how-to/fetchers.md +307 -0
  78. package/docs/how-to/file-route-conventions.md +410 -0
  79. package/docs/how-to/file-uploads.md +217 -0
  80. package/docs/how-to/form-validation.md +120 -0
  81. package/docs/how-to/headers.md +164 -0
  82. package/docs/how-to/index.md +4 -0
  83. package/docs/how-to/instrumentation.md +556 -0
  84. package/docs/how-to/meta.md +40 -0
  85. package/docs/how-to/middleware.md +763 -0
  86. package/docs/how-to/navigation-blocking.md +233 -0
  87. package/docs/how-to/optimize-revalidation.md +12 -0
  88. package/docs/how-to/pre-rendering.md +225 -0
  89. package/docs/how-to/presets.md +103 -0
  90. package/docs/how-to/react-server-components.md +899 -0
  91. package/docs/how-to/resource-routes.md +126 -0
  92. package/docs/how-to/route-module-type-safety.md +100 -0
  93. package/docs/how-to/search-params.md +4 -0
  94. package/docs/how-to/security.md +30 -0
  95. package/docs/how-to/server-bundles.md +66 -0
  96. package/docs/how-to/spa.md +120 -0
  97. package/docs/how-to/status.md +63 -0
  98. package/docs/how-to/suspense.md +132 -0
  99. package/docs/how-to/using-handle.md +117 -0
  100. package/docs/how-to/view-transitions.md +237 -0
  101. package/docs/how-to/webhook.md +50 -0
  102. package/docs/index.md +39 -0
  103. package/docs/start/data/actions.md +138 -0
  104. package/docs/start/data/custom.md +198 -0
  105. package/docs/start/data/data-loading.md +44 -0
  106. package/docs/start/data/index.md +4 -0
  107. package/docs/start/data/installation.md +52 -0
  108. package/docs/start/data/navigating.md +12 -0
  109. package/docs/start/data/pending-ui.md +12 -0
  110. package/docs/start/data/route-object.md +268 -0
  111. package/docs/start/data/routing.md +281 -0
  112. package/docs/start/data/testing.md +8 -0
  113. package/docs/start/declarative/index.md +4 -0
  114. package/docs/start/declarative/installation.md +43 -0
  115. package/docs/start/declarative/navigating.md +133 -0
  116. package/docs/start/declarative/routing.md +237 -0
  117. package/docs/start/declarative/url-values.md +65 -0
  118. package/docs/start/framework/actions.md +174 -0
  119. package/docs/start/framework/data-loading.md +201 -0
  120. package/docs/start/framework/deploying.md +96 -0
  121. package/docs/start/framework/index.md +4 -0
  122. package/docs/start/framework/installation.md +41 -0
  123. package/docs/start/framework/navigating.md +182 -0
  124. package/docs/start/framework/pending-ui.md +142 -0
  125. package/docs/start/framework/rendering.md +59 -0
  126. package/docs/start/framework/route-module.md +527 -0
  127. package/docs/start/framework/routing.md +362 -0
  128. package/docs/start/framework/testing.md +133 -0
  129. package/docs/start/index.md +4 -0
  130. package/docs/start/modes.md +201 -0
  131. package/docs/upgrading/component-routes.md +363 -0
  132. package/docs/upgrading/future.md +280 -0
  133. package/docs/upgrading/index.md +4 -0
  134. package/docs/upgrading/remix.md +403 -0
  135. package/docs/upgrading/router-provider.md +442 -0
  136. package/docs/upgrading/v6.md +382 -0
  137. package/package.json +2 -1
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }/**
2
- * react-router v7.16.0
2
+ * react-router v7.17.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- var _chunkXEJDWL2Bjs = require('./chunk-XEJDWL2B.js');
17
+ var _chunkPBLBZ3QUjs = require('./chunk-PBLBZ3QU.js');
18
18
 
19
19
 
20
20
 
@@ -40,7 +40,7 @@ var _chunkXEJDWL2Bjs = require('./chunk-XEJDWL2B.js');
40
40
 
41
41
 
42
42
 
43
- var _chunkIBI7OMNBjs = require('./chunk-IBI7OMNB.js');
43
+ var _chunkPULC7NLKjs = require('./chunk-PULC7NLK.js');
44
44
 
45
45
 
46
46
 
@@ -153,7 +153,7 @@ var _chunkIBI7OMNBjs = require('./chunk-IBI7OMNB.js');
153
153
 
154
154
 
155
155
 
156
- var _chunkSRID2YZ2js = require('./chunk-SRID2YZ2.js');
156
+ var _chunkKFNXW4ALjs = require('./chunk-KFNXW4AL.js');
157
157
 
158
158
  // lib/dom/ssr/server.tsx
159
159
  var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react); var React3 = _interopRequireWildcard(_react);
@@ -166,7 +166,7 @@ function ServerRouter({
166
166
  url = new URL(url);
167
167
  }
168
168
  let { manifest, routeModules, criticalCss, serverHandoffString } = context;
169
- let routes = _chunkSRID2YZ2js.createServerRoutes.call(void 0,
169
+ let routes = _chunkKFNXW4ALjs.createServerRoutes.call(void 0,
170
170
  manifest.routes,
171
171
  routeModules,
172
172
  context.future,
@@ -179,7 +179,7 @@ function ServerRouter({
179
179
  let routeId = match.route.id;
180
180
  let route = routeModules[routeId];
181
181
  let manifestRoute = context.manifest.routes[routeId];
182
- if (route && manifestRoute && _chunkSRID2YZ2js.shouldHydrateRouteLoader.call(void 0,
182
+ if (route && manifestRoute && _chunkKFNXW4ALjs.shouldHydrateRouteLoader.call(void 0,
183
183
  routeId,
184
184
  route.clientLoader,
185
185
  manifestRoute.hasLoader,
@@ -188,11 +188,11 @@ function ServerRouter({
188
188
  delete context.staticHandlerContext.loaderData[routeId];
189
189
  }
190
190
  }
191
- let router = _chunkIBI7OMNBjs.createStaticRouter.call(void 0, routes, context.staticHandlerContext, {
191
+ let router = _chunkPULC7NLKjs.createStaticRouter.call(void 0, routes, context.staticHandlerContext, {
192
192
  branches: context.branches
193
193
  });
194
194
  return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
195
- _chunkSRID2YZ2js.FrameworkContext.Provider,
195
+ _chunkKFNXW4ALjs.FrameworkContext.Provider,
196
196
  {
197
197
  value: {
198
198
  manifest,
@@ -207,8 +207,8 @@ function ServerRouter({
207
207
  renderMeta: context.renderMeta
208
208
  }
209
209
  },
210
- /* @__PURE__ */ React.createElement(_chunkSRID2YZ2js.RemixErrorBoundary, { location: router.state.location }, /* @__PURE__ */ React.createElement(
211
- _chunkIBI7OMNBjs.StaticRouterProvider,
210
+ /* @__PURE__ */ React.createElement(_chunkKFNXW4ALjs.RemixErrorBoundary, { location: router.state.location }, /* @__PURE__ */ React.createElement(
211
+ _chunkPULC7NLKjs.StaticRouterProvider,
212
212
  {
213
213
  router,
214
214
  context: context.staticHandlerContext,
@@ -216,7 +216,7 @@ function ServerRouter({
216
216
  }
217
217
  ))
218
218
  ), context.serverHandoffStream ? /* @__PURE__ */ React.createElement(React.Suspense, null, /* @__PURE__ */ React.createElement(
219
- _chunkSRID2YZ2js.StreamTransfer,
219
+ _chunkKFNXW4ALjs.StreamTransfer,
220
220
  {
221
221
  context,
222
222
  identifier: 0,
@@ -259,18 +259,18 @@ function createRoutesStub(routes, _context) {
259
259
  let patched = processRoutes(
260
260
  // @ts-expect-error `StubRouteObject` is stricter about `loader`/`action`
261
261
  // types compared to `RouteObject`
262
- _chunkSRID2YZ2js.convertRoutesToDataRoutes.call(void 0, routes, (r) => r),
263
- _context !== void 0 ? _context : _optionalChain([future, 'optionalAccess', _5 => _5.v8_middleware]) ? new (0, _chunkSRID2YZ2js.RouterContextProvider)() : {},
262
+ _chunkKFNXW4ALjs.convertRoutesToDataRoutes.call(void 0, routes, (r) => r),
263
+ _context !== void 0 ? _context : _optionalChain([future, 'optionalAccess', _5 => _5.v8_middleware]) ? new (0, _chunkKFNXW4ALjs.RouterContextProvider)() : {},
264
264
  frameworkContextRef.current.manifest,
265
265
  frameworkContextRef.current.routeModules
266
266
  );
267
- routerRef.current = _chunkSRID2YZ2js.createMemoryRouter.call(void 0, patched, {
267
+ routerRef.current = _chunkKFNXW4ALjs.createMemoryRouter.call(void 0, patched, {
268
268
  initialEntries,
269
269
  initialIndex,
270
270
  hydrationData
271
271
  });
272
272
  }
273
- return /* @__PURE__ */ React2.createElement(_chunkSRID2YZ2js.FrameworkContext.Provider, { value: frameworkContextRef.current }, /* @__PURE__ */ React2.createElement(_chunkSRID2YZ2js.RouterProvider, { router: routerRef.current }));
273
+ return /* @__PURE__ */ React2.createElement(_chunkKFNXW4ALjs.FrameworkContext.Provider, { value: frameworkContextRef.current }, /* @__PURE__ */ React2.createElement(_chunkKFNXW4ALjs.RouterProvider, { router: routerRef.current }));
274
274
  };
275
275
  }
276
276
  function processRoutes(routes, context, manifest, routeModules, parentId) {
@@ -284,9 +284,9 @@ function processRoutes(routes, context, manifest, routeModules, parentId) {
284
284
  id: route.id,
285
285
  path: route.path,
286
286
  index: route.index,
287
- Component: route.Component ? _chunkSRID2YZ2js.withComponentProps.call(void 0, route.Component) : void 0,
288
- HydrateFallback: route.HydrateFallback ? _chunkSRID2YZ2js.withHydrateFallbackProps.call(void 0, route.HydrateFallback) : void 0,
289
- ErrorBoundary: route.ErrorBoundary ? _chunkSRID2YZ2js.withErrorBoundaryProps.call(void 0, route.ErrorBoundary) : void 0,
287
+ Component: route.Component ? _chunkKFNXW4ALjs.withComponentProps.call(void 0, route.Component) : void 0,
288
+ HydrateFallback: route.HydrateFallback ? _chunkKFNXW4ALjs.withHydrateFallbackProps.call(void 0, route.HydrateFallback) : void 0,
289
+ ErrorBoundary: route.ErrorBoundary ? _chunkKFNXW4ALjs.withErrorBoundaryProps.call(void 0, route.ErrorBoundary) : void 0,
290
290
  action: route.action ? (args) => route.action({ ...args, context }) : void 0,
291
291
  loader: route.loader ? (args) => route.loader({ ...args, context }) : void 0,
292
292
  middleware: route.middleware ? route.middleware.map(
@@ -321,7 +321,7 @@ function processRoutes(routes, context, manifest, routeModules, parentId) {
321
321
  };
322
322
  manifest.routes[newRoute.id] = entryRoute;
323
323
  routeModules[route.id] = {
324
- default: newRoute.Component || _chunkSRID2YZ2js.Outlet,
324
+ default: newRoute.Component || _chunkKFNXW4ALjs.Outlet,
325
325
  ErrorBoundary: newRoute.ErrorBoundary || void 0,
326
326
  handle: route.handle,
327
327
  links: route.links,
@@ -516,7 +516,7 @@ function myUnescape(value) {
516
516
  return result;
517
517
  }
518
518
  function warnOnceAboutExpiresCookie(name, expires) {
519
- _chunkSRID2YZ2js.warnOnce.call(void 0,
519
+ _chunkKFNXW4ALjs.warnOnce.call(void 0,
520
520
  !expires,
521
521
  `The "${name}" cookie has an "expires" property set. This will cause the expires value to not be updated when the session is committed. Instead, you should set the expires value when serializing the cookie. You can use \`commitSession(session, { expires })\` if using a session storage object, or \`cookie.serialize("value", { expires })\` if you're using the cookie directly.`
522
522
  );
@@ -570,7 +570,7 @@ function serializeErrors(errors, serverMode) {
570
570
  let entries = Object.entries(errors);
571
571
  let serialized = {};
572
572
  for (let [key, val] of entries) {
573
- if (_chunkSRID2YZ2js.isRouteErrorResponse.call(void 0, val)) {
573
+ if (_chunkKFNXW4ALjs.isRouteErrorResponse.call(void 0, val)) {
574
574
  serialized[key] = { ...val, __type: "RouteErrorResponse" };
575
575
  } else if (val instanceof Error) {
576
576
  let sanitized = sanitizeError(val, serverMode);
@@ -605,7 +605,7 @@ function invariant2(value, message) {
605
605
 
606
606
  // lib/server-runtime/routeMatching.ts
607
607
  function matchServerRoutes(manifest, dataRoutes, branches, pathname, basename) {
608
- let matches = _chunkSRID2YZ2js.matchRoutesImpl.call(void 0,
608
+ let matches = _chunkKFNXW4ALjs.matchRoutesImpl.call(void 0,
609
609
  dataRoutes,
610
610
  pathname,
611
611
  _nullishCoalesce(basename, () => ( "/")),
@@ -636,7 +636,7 @@ async function callRouteHandler(handler, args, future) {
636
636
  context: args.context,
637
637
  pattern: args.pattern
638
638
  });
639
- if (_chunkSRID2YZ2js.isDataWithResponseInit.call(void 0, result) && result.init && result.init.status && _chunkSRID2YZ2js.isRedirectStatusCode.call(void 0, result.init.status)) {
639
+ if (_chunkKFNXW4ALjs.isDataWithResponseInit.call(void 0, result) && result.init && result.init.status && _chunkKFNXW4ALjs.isRedirectStatusCode.call(void 0, result.init.status)) {
640
640
  throw new Response(null, result.init);
641
641
  }
642
642
  return result;
@@ -739,17 +739,17 @@ function createStaticHandlerDataRoutes(manifest, future, parentId = "", routesBy
739
739
  controller.close();
740
740
  }
741
741
  });
742
- let decoded = await _chunkSRID2YZ2js.decodeViaTurboStream.call(void 0, stream, global);
742
+ let decoded = await _chunkKFNXW4ALjs.decodeViaTurboStream.call(void 0, stream, global);
743
743
  let data2 = decoded.value;
744
- if (data2 && _chunkSRID2YZ2js.SingleFetchRedirectSymbol in data2) {
745
- let result = data2[_chunkSRID2YZ2js.SingleFetchRedirectSymbol];
744
+ if (data2 && _chunkKFNXW4ALjs.SingleFetchRedirectSymbol in data2) {
745
+ let result = data2[_chunkKFNXW4ALjs.SingleFetchRedirectSymbol];
746
746
  let init = { status: result.status };
747
747
  if (result.reload) {
748
- throw _chunkSRID2YZ2js.redirectDocument.call(void 0, result.redirect, init);
748
+ throw _chunkKFNXW4ALjs.redirectDocument.call(void 0, result.redirect, init);
749
749
  } else if (result.replace) {
750
- throw _chunkSRID2YZ2js.replace.call(void 0, result.redirect, init);
750
+ throw _chunkKFNXW4ALjs.replace.call(void 0, result.redirect, init);
751
751
  } else {
752
- throw _chunkSRID2YZ2js.redirect.call(void 0, result.redirect, init);
752
+ throw _chunkKFNXW4ALjs.redirect.call(void 0, result.redirect, init);
753
753
  }
754
754
  } else {
755
755
  invariant2(
@@ -792,7 +792,7 @@ function createStaticHandlerDataRoutes(manifest, future, parentId = "", routesBy
792
792
 
793
793
  // lib/server-runtime/serverHandoff.ts
794
794
  function createServerHandoffString(serverHandoff) {
795
- return _chunkSRID2YZ2js.escapeHtml.call(void 0, JSON.stringify(serverHandoff));
795
+ return _chunkKFNXW4ALjs.escapeHtml.call(void 0, JSON.stringify(serverHandoff));
796
796
  }
797
797
 
798
798
  // lib/server-runtime/headers.ts
@@ -962,12 +962,12 @@ function getNormalizedPath(request, basename, future) {
962
962
  pathname = pathname.replace(/\.data$/, "");
963
963
  }
964
964
  } else {
965
- if (_chunkSRID2YZ2js.stripBasename.call(void 0, pathname, basename) === "/_root.data") {
965
+ if (_chunkKFNXW4ALjs.stripBasename.call(void 0, pathname, basename) === "/_root.data") {
966
966
  pathname = basename;
967
967
  } else if (pathname.endsWith(".data")) {
968
968
  pathname = pathname.replace(/\.data$/, "");
969
969
  }
970
- if (_chunkSRID2YZ2js.stripBasename.call(void 0, pathname, basename) !== "/" && pathname.endsWith("/")) {
970
+ if (_chunkKFNXW4ALjs.stripBasename.call(void 0, pathname, basename) !== "/" && pathname.endsWith("/")) {
971
971
  pathname = pathname.slice(0, -1);
972
972
  }
973
973
  }
@@ -987,7 +987,7 @@ function getNormalizedPath(request, basename, future) {
987
987
 
988
988
  // lib/server-runtime/single-fetch.ts
989
989
  var SERVER_NO_BODY_STATUS_CODES = /* @__PURE__ */ new Set([
990
- ..._chunkSRID2YZ2js.NO_BODY_STATUS_CODES,
990
+ ..._chunkKFNXW4ALjs.NO_BODY_STATUS_CODES,
991
991
  304
992
992
  ]);
993
993
  async function singleFetchAction(build, serverMode, staticHandler, request, handlerUrl, loadContext, handleError) {
@@ -1026,7 +1026,7 @@ async function singleFetchAction(build, serverMode, staticHandler, request, hand
1026
1026
  return handleQueryError(error);
1027
1027
  }
1028
1028
  function handleQueryResult(result) {
1029
- return _chunkSRID2YZ2js.isResponse.call(void 0, result) ? result : staticContextToResponse(result);
1029
+ return _chunkKFNXW4ALjs.isResponse.call(void 0, result) ? result : staticContextToResponse(result);
1030
1030
  }
1031
1031
  function handleQueryError(error, status = 500) {
1032
1032
  handleError(error);
@@ -1038,12 +1038,12 @@ async function singleFetchAction(build, serverMode, staticHandler, request, hand
1038
1038
  }
1039
1039
  function staticContextToResponse(context) {
1040
1040
  let headers = getDocumentHeaders(context, build);
1041
- if (_chunkSRID2YZ2js.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
1041
+ if (_chunkKFNXW4ALjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
1042
1042
  return new Response(null, { status: context.statusCode, headers });
1043
1043
  }
1044
1044
  if (context.errors) {
1045
1045
  Object.values(context.errors).forEach((err) => {
1046
- if (!_chunkSRID2YZ2js.isRouteErrorResponse.call(void 0, err) || err.error) {
1046
+ if (!_chunkKFNXW4ALjs.isRouteErrorResponse.call(void 0, err) || err.error) {
1047
1047
  handleError(err);
1048
1048
  }
1049
1049
  });
@@ -1091,7 +1091,7 @@ async function singleFetchLoaders(build, serverMode, staticHandler, request, han
1091
1091
  return handleQueryError(error);
1092
1092
  }
1093
1093
  function handleQueryResult(result) {
1094
- return _chunkSRID2YZ2js.isResponse.call(void 0, result) ? result : staticContextToResponse(result);
1094
+ return _chunkKFNXW4ALjs.isResponse.call(void 0, result) ? result : staticContextToResponse(result);
1095
1095
  }
1096
1096
  function handleQueryError(error) {
1097
1097
  handleError(error);
@@ -1103,12 +1103,12 @@ async function singleFetchLoaders(build, serverMode, staticHandler, request, han
1103
1103
  }
1104
1104
  function staticContextToResponse(context) {
1105
1105
  let headers = getDocumentHeaders(context, build);
1106
- if (_chunkSRID2YZ2js.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
1106
+ if (_chunkKFNXW4ALjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
1107
1107
  return new Response(null, { status: context.statusCode, headers });
1108
1108
  }
1109
1109
  if (context.errors) {
1110
1110
  Object.values(context.errors).forEach((err) => {
1111
- if (!_chunkSRID2YZ2js.isRouteErrorResponse.call(void 0, err) || err.error) {
1111
+ if (!_chunkKFNXW4ALjs.isRouteErrorResponse.call(void 0, err) || err.error) {
1112
1112
  handleError(err);
1113
1113
  }
1114
1114
  });
@@ -1172,15 +1172,15 @@ function generateSingleFetchRedirectResponse(redirectResponse, request, build, s
1172
1172
  headers.delete("Location");
1173
1173
  headers.set("Content-Type", "text/x-script");
1174
1174
  return generateSingleFetchResponse(request, build, serverMode, {
1175
- result: request.method === "GET" ? { [_chunkSRID2YZ2js.SingleFetchRedirectSymbol]: redirect2 } : redirect2,
1175
+ result: request.method === "GET" ? { [_chunkKFNXW4ALjs.SingleFetchRedirectSymbol]: redirect2 } : redirect2,
1176
1176
  headers,
1177
- status: _chunkSRID2YZ2js.SINGLE_FETCH_REDIRECT_STATUS
1177
+ status: _chunkKFNXW4ALjs.SINGLE_FETCH_REDIRECT_STATUS
1178
1178
  });
1179
1179
  }
1180
1180
  function getSingleFetchRedirect(status, headers, basename) {
1181
1181
  let redirect2 = headers.get("Location");
1182
1182
  if (basename) {
1183
- redirect2 = _chunkSRID2YZ2js.stripBasename.call(void 0, redirect2, basename) || redirect2;
1183
+ redirect2 = _chunkKFNXW4ALjs.stripBasename.call(void 0, redirect2, basename) || redirect2;
1184
1184
  }
1185
1185
  return {
1186
1186
  redirect: redirect2,
@@ -1217,7 +1217,7 @@ function encodeViaTurboStream(data2, requestSignal, streamTimeout, serverMode) {
1217
1217
  clearTimeout(timeoutId);
1218
1218
  requestSignal.removeEventListener("abort", abortControllerOnRequestAbort);
1219
1219
  };
1220
- return _chunkSRID2YZ2js.encode.call(void 0, data2, {
1220
+ return _chunkKFNXW4ALjs.encode.call(void 0, data2, {
1221
1221
  signal: controller.signal,
1222
1222
  onComplete: cleanupCallbacks,
1223
1223
  plugins: [
@@ -1226,12 +1226,12 @@ function encodeViaTurboStream(data2, requestSignal, streamTimeout, serverMode) {
1226
1226
  let { name, message, stack } = serverMode === "production" /* Production */ ? sanitizeError(value, serverMode) : value;
1227
1227
  return ["SanitizedError", name, message, stack];
1228
1228
  }
1229
- if (value instanceof _chunkSRID2YZ2js.ErrorResponseImpl) {
1229
+ if (value instanceof _chunkKFNXW4ALjs.ErrorResponseImpl) {
1230
1230
  let { data: data3, status, statusText } = value;
1231
1231
  return ["ErrorResponse", data3, status, statusText];
1232
1232
  }
1233
- if (value && typeof value === "object" && _chunkSRID2YZ2js.SingleFetchRedirectSymbol in value) {
1234
- return ["SingleFetchRedirect", value[_chunkSRID2YZ2js.SingleFetchRedirectSymbol]];
1233
+ if (value && typeof value === "object" && _chunkKFNXW4ALjs.SingleFetchRedirectSymbol in value) {
1234
+ return ["SingleFetchRedirect", value[_chunkKFNXW4ALjs.SingleFetchRedirectSymbol]];
1235
1235
  }
1236
1236
  }
1237
1237
  ],
@@ -1253,7 +1253,7 @@ function encodeViaTurboStream(data2, requestSignal, streamTimeout, serverMode) {
1253
1253
  function derive(build, mode) {
1254
1254
  let dataRoutes = createStaticHandlerDataRoutes(build.routes, build.future);
1255
1255
  let serverMode = isServerMode(mode) ? mode : "production" /* Production */;
1256
- let staticHandler = _chunkSRID2YZ2js.createStaticHandler.call(void 0, dataRoutes, {
1256
+ let staticHandler = _chunkKFNXW4ALjs.createStaticHandler.call(void 0, dataRoutes, {
1257
1257
  basename: build.basename,
1258
1258
  instrumentations: build.entry.module.instrumentations,
1259
1259
  future: build.future
@@ -1262,7 +1262,7 @@ function derive(build, mode) {
1262
1262
  if (serverMode !== "test" /* Test */ && !request.signal.aborted) {
1263
1263
  console.error(
1264
1264
  // @ts-expect-error This is "private" from users but intended for internal use
1265
- _chunkSRID2YZ2js.isRouteErrorResponse.call(void 0, error) && error.error ? error.error : error
1265
+ _chunkKFNXW4ALjs.isRouteErrorResponse.call(void 0, error) && error.error ? error.error : error
1266
1266
  );
1267
1267
  }
1268
1268
  });
@@ -1280,14 +1280,14 @@ function derive(build, mode) {
1280
1280
  });
1281
1281
  };
1282
1282
  if (build.future.v8_middleware) {
1283
- if (initialContext && !(initialContext instanceof _chunkSRID2YZ2js.RouterContextProvider)) {
1283
+ if (initialContext && !(initialContext instanceof _chunkKFNXW4ALjs.RouterContextProvider)) {
1284
1284
  let error = new Error(
1285
1285
  "Invalid `context` value provided to `handleRequest`. When middleware is enabled you must return an instance of `RouterContextProvider` from your `getLoadContext` function."
1286
1286
  );
1287
1287
  handleError(error);
1288
1288
  return returnLastResortErrorResponse(error, serverMode);
1289
1289
  }
1290
- loadContext = initialContext || new (0, _chunkSRID2YZ2js.RouterContextProvider)();
1290
+ loadContext = initialContext || new (0, _chunkKFNXW4ALjs.RouterContextProvider)();
1291
1291
  } else {
1292
1292
  loadContext = initialContext || {};
1293
1293
  }
@@ -1301,10 +1301,10 @@ function derive(build, mode) {
1301
1301
  if (!build.ssr) {
1302
1302
  let decodedPath = decodeURI(normalizedPathname);
1303
1303
  if (build.basename && build.basename !== "/") {
1304
- let strippedPath = _chunkSRID2YZ2js.stripBasename.call(void 0, decodedPath, build.basename);
1304
+ let strippedPath = _chunkKFNXW4ALjs.stripBasename.call(void 0, decodedPath, build.basename);
1305
1305
  if (strippedPath == null) {
1306
1306
  errorHandler(
1307
- new (0, _chunkSRID2YZ2js.ErrorResponseImpl)(
1307
+ new (0, _chunkKFNXW4ALjs.ErrorResponseImpl)(
1308
1308
  404,
1309
1309
  "Not Found",
1310
1310
  `Refusing to prerender the \`${decodedPath}\` path because it does not start with the basename \`${build.basename}\``
@@ -1327,7 +1327,7 @@ function derive(build, mode) {
1327
1327
  } else if (!build.prerender.includes(decodedPath) && !build.prerender.includes(decodedPath + "/")) {
1328
1328
  if (requestUrl.pathname.endsWith(".data")) {
1329
1329
  errorHandler(
1330
- new (0, _chunkSRID2YZ2js.ErrorResponseImpl)(
1330
+ new (0, _chunkKFNXW4ALjs.ErrorResponseImpl)(
1331
1331
  404,
1332
1332
  "Not Found",
1333
1333
  `Refusing to SSR the path \`${decodedPath}\` because \`ssr:false\` is set and the path is not included in the \`prerender\` config, so in production the path will be a 404.`
@@ -1347,7 +1347,7 @@ function derive(build, mode) {
1347
1347
  }
1348
1348
  }
1349
1349
  }
1350
- let manifestUrl = _chunkSRID2YZ2js.getManifestPath.call(void 0,
1350
+ let manifestUrl = _chunkKFNXW4ALjs.getManifestPath.call(void 0,
1351
1351
  build.routeDiscovery.manifestPath,
1352
1352
  build.basename
1353
1353
  );
@@ -1386,7 +1386,7 @@ function derive(build, mode) {
1386
1386
  loadContext,
1387
1387
  handleError
1388
1388
  );
1389
- if (_chunkSRID2YZ2js.isRedirectResponse.call(void 0, response)) {
1389
+ if (_chunkKFNXW4ALjs.isRedirectResponse.call(void 0, response)) {
1390
1390
  response = generateSingleFetchRedirectResponse(
1391
1391
  response,
1392
1392
  request,
@@ -1400,7 +1400,7 @@ function derive(build, mode) {
1400
1400
  params: matches ? matches[0].params : {},
1401
1401
  request
1402
1402
  });
1403
- if (_chunkSRID2YZ2js.isRedirectResponse.call(void 0, response)) {
1403
+ if (_chunkKFNXW4ALjs.isRedirectResponse.call(void 0, response)) {
1404
1404
  response = generateSingleFetchRedirectResponse(
1405
1405
  response,
1406
1406
  request,
@@ -1448,7 +1448,7 @@ function derive(build, mode) {
1448
1448
  return response;
1449
1449
  };
1450
1450
  if (build.entry.module.instrumentations) {
1451
- requestHandler = _chunkSRID2YZ2js.instrumentHandler.call(void 0,
1451
+ requestHandler = _chunkKFNXW4ALjs.instrumentHandler.call(void 0,
1452
1452
  requestHandler,
1453
1453
  build.entry.module.instrumentations.map((i) => i.handler).filter(Boolean)
1454
1454
  );
@@ -1493,7 +1493,7 @@ async function handleManifestRequest(build, dataRoutes, branches, url) {
1493
1493
  }
1494
1494
  });
1495
1495
  }
1496
- if (url.toString().length > _chunkSRID2YZ2js.URL_LIMIT) {
1496
+ if (url.toString().length > _chunkKFNXW4ALjs.URL_LIMIT) {
1497
1497
  return new Response(null, {
1498
1498
  statusText: "Bad Request",
1499
1499
  status: 400
@@ -1543,7 +1543,7 @@ async function handleManifestRequest(build, dataRoutes, branches, url) {
1543
1543
  async function handleSingleFetchRequest(serverMode, build, staticHandler, request, normalizedPath, loadContext, handleError) {
1544
1544
  let handlerUrl = new URL(request.url);
1545
1545
  handlerUrl.pathname = normalizedPath;
1546
- let response = _chunkSRID2YZ2js.isMutationMethod.call(void 0, request.method) ? await singleFetchAction(
1546
+ let response = _chunkKFNXW4ALjs.isMutationMethod.call(void 0, request.method) ? await singleFetchAction(
1547
1547
  build,
1548
1548
  serverMode,
1549
1549
  staticHandler,
@@ -1564,7 +1564,7 @@ async function handleSingleFetchRequest(serverMode, build, staticHandler, reques
1564
1564
  }
1565
1565
  async function handleDocumentRequest(serverMode, build, staticHandler, request, loadContext, handleError, isSpaMode, criticalCss) {
1566
1566
  try {
1567
- if (_chunkSRID2YZ2js.isMutationMethod.call(void 0, request.method)) {
1567
+ if (_chunkKFNXW4ALjs.isMutationMethod.call(void 0, request.method)) {
1568
1568
  try {
1569
1569
  throwIfPotentialCSRFAttack(
1570
1570
  request.headers,
@@ -1580,7 +1580,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1580
1580
  generateMiddlewareResponse: build.future.v8_middleware ? async (query) => {
1581
1581
  try {
1582
1582
  let innerResult = await query(request);
1583
- if (!_chunkSRID2YZ2js.isResponse.call(void 0, innerResult)) {
1583
+ if (!_chunkKFNXW4ALjs.isResponse.call(void 0, innerResult)) {
1584
1584
  innerResult = await renderHtml(innerResult, isSpaMode);
1585
1585
  }
1586
1586
  return innerResult;
@@ -1591,7 +1591,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1591
1591
  } : void 0,
1592
1592
  normalizePath: (r) => getNormalizedPath(r, build.basename, build.future)
1593
1593
  });
1594
- if (!_chunkSRID2YZ2js.isResponse.call(void 0, result)) {
1594
+ if (!_chunkKFNXW4ALjs.isResponse.call(void 0, result)) {
1595
1595
  result = await renderHtml(result, isSpaMode);
1596
1596
  }
1597
1597
  return result;
@@ -1606,7 +1606,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1606
1606
  }
1607
1607
  if (context.errors) {
1608
1608
  Object.values(context.errors).forEach((err) => {
1609
- if (!_chunkSRID2YZ2js.isRouteErrorResponse.call(void 0, err) || err.error) {
1609
+ if (!_chunkKFNXW4ALjs.isRouteErrorResponse.call(void 0, err) || err.error) {
1610
1610
  handleError(err);
1611
1611
  }
1612
1612
  });
@@ -1659,10 +1659,10 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1659
1659
  } catch (error) {
1660
1660
  handleError(error);
1661
1661
  let errorForSecondRender = error;
1662
- if (_chunkSRID2YZ2js.isResponse.call(void 0, error)) {
1662
+ if (_chunkKFNXW4ALjs.isResponse.call(void 0, error)) {
1663
1663
  try {
1664
1664
  let data2 = await unwrapResponse(error);
1665
- errorForSecondRender = new (0, _chunkSRID2YZ2js.ErrorResponseImpl)(
1665
+ errorForSecondRender = new (0, _chunkKFNXW4ALjs.ErrorResponseImpl)(
1666
1666
  error.status,
1667
1667
  error.statusText,
1668
1668
  data2
@@ -1670,7 +1670,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1670
1670
  } catch (e) {
1671
1671
  }
1672
1672
  }
1673
- context = _chunkSRID2YZ2js.getStaticContextFromError.call(void 0,
1673
+ context = _chunkKFNXW4ALjs.getStaticContextFromError.call(void 0,
1674
1674
  staticHandler.dataRoutes,
1675
1675
  context,
1676
1676
  errorForSecondRender
@@ -1730,7 +1730,7 @@ async function handleResourceRequest(serverMode, build, staticHandler, routeId,
1730
1730
  return handleQueryRouteError(error);
1731
1731
  }
1732
1732
  function handleQueryRouteResult(result) {
1733
- if (_chunkSRID2YZ2js.isResponse.call(void 0, result)) {
1733
+ if (_chunkKFNXW4ALjs.isResponse.call(void 0, result)) {
1734
1734
  return result;
1735
1735
  }
1736
1736
  if (typeof result === "string") {
@@ -1739,10 +1739,10 @@ async function handleResourceRequest(serverMode, build, staticHandler, routeId,
1739
1739
  return Response.json(result);
1740
1740
  }
1741
1741
  function handleQueryRouteError(error) {
1742
- if (_chunkSRID2YZ2js.isResponse.call(void 0, error)) {
1742
+ if (_chunkKFNXW4ALjs.isResponse.call(void 0, error)) {
1743
1743
  return error;
1744
1744
  }
1745
- if (_chunkSRID2YZ2js.isRouteErrorResponse.call(void 0, error)) {
1745
+ if (_chunkKFNXW4ALjs.isRouteErrorResponse.call(void 0, error)) {
1746
1746
  handleError(error);
1747
1747
  return errorResponseToJson(error, serverMode);
1748
1748
  }
@@ -1865,7 +1865,7 @@ function createSessionStorage({
1865
1865
  };
1866
1866
  }
1867
1867
  function warnOnceAboutSigningSessionCookie(cookie) {
1868
- _chunkSRID2YZ2js.warnOnce.call(void 0,
1868
+ _chunkKFNXW4ALjs.warnOnce.call(void 0,
1869
1869
  cookie.isSigned,
1870
1870
  `The "${cookie.name}" cookie is not signed, but session cookies should be signed to prevent tampering on the client before they are sent back to the server. See https://reactrouter.com/explanation/sessions-and-cookies#signing-cookies for more information.`
1871
1871
  );
@@ -2146,7 +2146,7 @@ async function routeRSCServerRequest({
2146
2146
  const payload = await createFromReadableStream(
2147
2147
  detectRedirectResponse.body
2148
2148
  );
2149
- if (serverResponse.status === _chunkSRID2YZ2js.SINGLE_FETCH_REDIRECT_STATUS && payload.type === "redirect") {
2149
+ if (serverResponse.status === _chunkKFNXW4ALjs.SINGLE_FETCH_REDIRECT_STATUS && payload.type === "redirect") {
2150
2150
  const headers2 = new Headers(serverResponse.headers);
2151
2151
  headers2.delete("Content-Encoding");
2152
2152
  headers2.delete("Content-Length");
@@ -2165,11 +2165,11 @@ async function routeRSCServerRequest({
2165
2165
  let html = await renderHTML(getPayload, {
2166
2166
  onError(error) {
2167
2167
  if (typeof error === "object" && error && "digest" in error && typeof error.digest === "string") {
2168
- renderRedirect = _chunkSRID2YZ2js.decodeRedirectErrorDigest.call(void 0, error.digest);
2168
+ renderRedirect = _chunkKFNXW4ALjs.decodeRedirectErrorDigest.call(void 0, error.digest);
2169
2169
  if (renderRedirect) {
2170
2170
  return error.digest;
2171
2171
  }
2172
- let routeErrorResponse = _chunkSRID2YZ2js.decodeRouteErrorResponseDigest.call(void 0, error.digest);
2172
+ let routeErrorResponse = _chunkKFNXW4ALjs.decodeRouteErrorResponseDigest.call(void 0, error.digest);
2173
2173
  if (routeErrorResponse) {
2174
2174
  renderError = routeErrorResponse;
2175
2175
  status = routeErrorResponse.status;
@@ -2201,7 +2201,7 @@ async function routeRSCServerRequest({
2201
2201
  if (renderRedirect) {
2202
2202
  controller.enqueue(
2203
2203
  new TextEncoder().encode(
2204
- `<meta http-equiv="refresh" content="0;url=${_chunkSRID2YZ2js.escapeHtml.call(void 0, renderRedirect.location)}"/>`
2204
+ `<meta http-equiv="refresh" content="0;url=${_chunkKFNXW4ALjs.escapeHtml.call(void 0, renderRedirect.location)}"/>`
2205
2205
  )
2206
2206
  );
2207
2207
  }
@@ -2237,7 +2237,7 @@ async function routeRSCServerRequest({
2237
2237
  }
2238
2238
  try {
2239
2239
  let normalizedError = _nullishCoalesce(renderError, () => ( error));
2240
- let [status, statusText] = _chunkSRID2YZ2js.isRouteErrorResponse.call(void 0, normalizedError) ? [normalizedError.status, normalizedError.statusText] : [500, ""];
2240
+ let [status, statusText] = _chunkKFNXW4ALjs.isRouteErrorResponse.call(void 0, normalizedError) ? [normalizedError.status, normalizedError.statusText] : [500, ""];
2241
2241
  let retryRedirect;
2242
2242
  let reactHeaders = new Headers();
2243
2243
  const html = await renderHTML(
@@ -2274,11 +2274,11 @@ async function routeRSCServerRequest({
2274
2274
  {
2275
2275
  onError(error2) {
2276
2276
  if (typeof error2 === "object" && error2 && "digest" in error2 && typeof error2.digest === "string") {
2277
- retryRedirect = _chunkSRID2YZ2js.decodeRedirectErrorDigest.call(void 0, error2.digest);
2277
+ retryRedirect = _chunkKFNXW4ALjs.decodeRedirectErrorDigest.call(void 0, error2.digest);
2278
2278
  if (retryRedirect) {
2279
2279
  return error2.digest;
2280
2280
  }
2281
- let routeErrorResponse = _chunkSRID2YZ2js.decodeRouteErrorResponseDigest.call(void 0,
2281
+ let routeErrorResponse = _chunkKFNXW4ALjs.decodeRouteErrorResponseDigest.call(void 0,
2282
2282
  error2.digest
2283
2283
  );
2284
2284
  if (routeErrorResponse) {
@@ -2312,7 +2312,7 @@ async function routeRSCServerRequest({
2312
2312
  if (retryRedirect) {
2313
2313
  controller.enqueue(
2314
2314
  new TextEncoder().encode(
2315
- `<meta http-equiv="refresh" content="0;url=${_chunkSRID2YZ2js.escapeHtml.call(void 0, retryRedirect.location)}"/>`
2315
+ `<meta http-equiv="refresh" content="0;url=${_chunkKFNXW4ALjs.escapeHtml.call(void 0, retryRedirect.location)}"/>`
2316
2316
  )
2317
2317
  );
2318
2318
  }
@@ -2353,7 +2353,7 @@ function RSCStaticRouter({ getPayload }) {
2353
2353
  if (payload.type !== "render") return null;
2354
2354
  let patchedLoaderData = { ...payload.loaderData };
2355
2355
  for (const match of payload.matches) {
2356
- if (_chunkSRID2YZ2js.shouldHydrateRouteLoader.call(void 0,
2356
+ if (_chunkKFNXW4ALjs.shouldHydrateRouteLoader.call(void 0,
2357
2357
  match.id,
2358
2358
  match.clientLoader,
2359
2359
  match.hasLoader,
@@ -2393,7 +2393,7 @@ function RSCStaticRouter({ getPayload }) {
2393
2393
  }
2394
2394
  }))
2395
2395
  };
2396
- const router = _chunkIBI7OMNBjs.createStaticRouter.call(void 0,
2396
+ const router = _chunkPULC7NLKjs.createStaticRouter.call(void 0,
2397
2397
  payload.matches.reduceRight((previous, match) => {
2398
2398
  const route = {
2399
2399
  id: match.id,
@@ -2441,10 +2441,10 @@ function RSCStaticRouter({ getPayload }) {
2441
2441
  mode: "lazy",
2442
2442
  manifestPath: payload.routeDiscovery.manifestPath || defaultManifestPath
2443
2443
  },
2444
- routeModules: _chunkXEJDWL2Bjs.createRSCRouteModules.call(void 0, payload)
2444
+ routeModules: _chunkPBLBZ3QUjs.createRSCRouteModules.call(void 0, payload)
2445
2445
  };
2446
- return /* @__PURE__ */ React3.createElement(_chunkSRID2YZ2js.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React3.createElement(_chunkXEJDWL2Bjs.RSCRouterGlobalErrorBoundary, { location: payload.location }, /* @__PURE__ */ React3.createElement(_chunkSRID2YZ2js.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React3.createElement(
2447
- _chunkIBI7OMNBjs.StaticRouterProvider,
2446
+ return /* @__PURE__ */ React3.createElement(_chunkKFNXW4ALjs.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React3.createElement(_chunkPBLBZ3QUjs.RSCRouterGlobalErrorBoundary, { location: payload.location }, /* @__PURE__ */ React3.createElement(_chunkKFNXW4ALjs.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React3.createElement(
2447
+ _chunkPULC7NLKjs.StaticRouterProvider,
2448
2448
  {
2449
2449
  context,
2450
2450
  router,
@@ -2467,7 +2467,7 @@ function deserializeErrors(errors) {
2467
2467
  let serialized = {};
2468
2468
  for (let [key, val] of entries) {
2469
2469
  if (val && val.__type === "RouteErrorResponse") {
2470
- serialized[key] = new (0, _chunkSRID2YZ2js.ErrorResponseImpl)(
2470
+ serialized[key] = new (0, _chunkKFNXW4ALjs.ErrorResponseImpl)(
2471
2471
  val.status,
2472
2472
  val.statusText,
2473
2473
  val.data,
@@ -2627,4 +2627,4 @@ function deserializeErrors(errors) {
2627
2627
 
2628
2628
 
2629
2629
 
2630
- exports.Await = _chunkSRID2YZ2js.Await; exports.BrowserRouter = _chunkIBI7OMNBjs.BrowserRouter; exports.Form = _chunkIBI7OMNBjs.Form; exports.HashRouter = _chunkIBI7OMNBjs.HashRouter; exports.IDLE_BLOCKER = _chunkSRID2YZ2js.IDLE_BLOCKER; exports.IDLE_FETCHER = _chunkSRID2YZ2js.IDLE_FETCHER; exports.IDLE_NAVIGATION = _chunkSRID2YZ2js.IDLE_NAVIGATION; exports.Link = _chunkIBI7OMNBjs.Link; exports.Links = _chunkSRID2YZ2js.Links; exports.MemoryRouter = _chunkSRID2YZ2js.MemoryRouter; exports.Meta = _chunkSRID2YZ2js.Meta; exports.NavLink = _chunkIBI7OMNBjs.NavLink; exports.Navigate = _chunkSRID2YZ2js.Navigate; exports.NavigationType = _chunkSRID2YZ2js.Action; exports.Outlet = _chunkSRID2YZ2js.Outlet; exports.PrefetchPageLinks = _chunkSRID2YZ2js.PrefetchPageLinks; exports.Route = _chunkSRID2YZ2js.Route; exports.Router = _chunkSRID2YZ2js.Router; exports.RouterContextProvider = _chunkSRID2YZ2js.RouterContextProvider; exports.RouterProvider = _chunkSRID2YZ2js.RouterProvider; exports.Routes = _chunkSRID2YZ2js.Routes; exports.Scripts = _chunkSRID2YZ2js.Scripts; exports.ScrollRestoration = _chunkIBI7OMNBjs.ScrollRestoration; exports.ServerRouter = ServerRouter; exports.StaticRouter = _chunkIBI7OMNBjs.StaticRouter; exports.StaticRouterProvider = _chunkIBI7OMNBjs.StaticRouterProvider; exports.UNSAFE_AwaitContextProvider = _chunkSRID2YZ2js.AwaitContextProvider; exports.UNSAFE_DataRouterContext = _chunkSRID2YZ2js.DataRouterContext; exports.UNSAFE_DataRouterStateContext = _chunkSRID2YZ2js.DataRouterStateContext; exports.UNSAFE_ErrorResponseImpl = _chunkSRID2YZ2js.ErrorResponseImpl; exports.UNSAFE_FetchersContext = _chunkSRID2YZ2js.FetchersContext; exports.UNSAFE_FrameworkContext = _chunkSRID2YZ2js.FrameworkContext; exports.UNSAFE_LocationContext = _chunkSRID2YZ2js.LocationContext; exports.UNSAFE_NavigationContext = _chunkSRID2YZ2js.NavigationContext; exports.UNSAFE_RSCDefaultRootErrorBoundary = _chunkXEJDWL2Bjs.RSCDefaultRootErrorBoundary; exports.UNSAFE_RemixErrorBoundary = _chunkSRID2YZ2js.RemixErrorBoundary; exports.UNSAFE_RouteContext = _chunkSRID2YZ2js.RouteContext; exports.UNSAFE_ServerMode = ServerMode; exports.UNSAFE_SingleFetchRedirectSymbol = _chunkSRID2YZ2js.SingleFetchRedirectSymbol; exports.UNSAFE_ViewTransitionContext = _chunkSRID2YZ2js.ViewTransitionContext; exports.UNSAFE_WithComponentProps = _chunkSRID2YZ2js.WithComponentProps; exports.UNSAFE_WithErrorBoundaryProps = _chunkSRID2YZ2js.WithErrorBoundaryProps; exports.UNSAFE_WithHydrateFallbackProps = _chunkSRID2YZ2js.WithHydrateFallbackProps; exports.UNSAFE_createBrowserHistory = _chunkSRID2YZ2js.createBrowserHistory; exports.UNSAFE_createClientRoutes = _chunkSRID2YZ2js.createClientRoutes; exports.UNSAFE_createClientRoutesWithHMRRevalidationOptOut = _chunkSRID2YZ2js.createClientRoutesWithHMRRevalidationOptOut; exports.UNSAFE_createHashHistory = _chunkSRID2YZ2js.createHashHistory; exports.UNSAFE_createMemoryHistory = _chunkSRID2YZ2js.createMemoryHistory; exports.UNSAFE_createRouter = _chunkSRID2YZ2js.createRouter; exports.UNSAFE_decodeViaTurboStream = _chunkSRID2YZ2js.decodeViaTurboStream; exports.UNSAFE_deserializeErrors = deserializeErrors; exports.UNSAFE_getHydrationData = _chunkXEJDWL2Bjs.getHydrationData; exports.UNSAFE_getPatchRoutesOnNavigationFunction = _chunkSRID2YZ2js.getPatchRoutesOnNavigationFunction; exports.UNSAFE_getTurboStreamSingleFetchDataStrategy = _chunkSRID2YZ2js.getTurboStreamSingleFetchDataStrategy; exports.UNSAFE_hydrationRouteProperties = _chunkSRID2YZ2js.hydrationRouteProperties; exports.UNSAFE_invariant = _chunkSRID2YZ2js.invariant; exports.UNSAFE_mapRouteProperties = _chunkSRID2YZ2js.mapRouteProperties; exports.UNSAFE_shouldHydrateRouteLoader = _chunkSRID2YZ2js.shouldHydrateRouteLoader; exports.UNSAFE_useFogOFWarDiscovery = _chunkSRID2YZ2js.useFogOFWarDiscovery; exports.UNSAFE_useScrollRestoration = _chunkIBI7OMNBjs.useScrollRestoration; exports.UNSAFE_withComponentProps = _chunkSRID2YZ2js.withComponentProps; exports.UNSAFE_withErrorBoundaryProps = _chunkSRID2YZ2js.withErrorBoundaryProps; exports.UNSAFE_withHydrateFallbackProps = _chunkSRID2YZ2js.withHydrateFallbackProps; exports.createBrowserRouter = _chunkIBI7OMNBjs.createBrowserRouter; exports.createContext = _chunkSRID2YZ2js.createContext; exports.createCookie = createCookie; exports.createCookieSessionStorage = createCookieSessionStorage; exports.createHashRouter = _chunkIBI7OMNBjs.createHashRouter; exports.createMemoryRouter = _chunkSRID2YZ2js.createMemoryRouter; exports.createMemorySessionStorage = createMemorySessionStorage; exports.createPath = _chunkSRID2YZ2js.createPath; exports.createRequestHandler = createRequestHandler; exports.createRoutesFromChildren = _chunkSRID2YZ2js.createRoutesFromChildren; exports.createRoutesFromElements = _chunkSRID2YZ2js.createRoutesFromElements; exports.createRoutesStub = createRoutesStub; exports.createSearchParams = _chunkIBI7OMNBjs.createSearchParams; exports.createSession = createSession; exports.createSessionStorage = createSessionStorage; exports.createStaticHandler = _chunkIBI7OMNBjs.createStaticHandler; exports.createStaticRouter = _chunkIBI7OMNBjs.createStaticRouter; exports.data = _chunkSRID2YZ2js.data; exports.generatePath = _chunkSRID2YZ2js.generatePath; exports.href = href; exports.isCookie = isCookie; exports.isRouteErrorResponse = _chunkSRID2YZ2js.isRouteErrorResponse; exports.isSession = isSession; exports.matchPath = _chunkSRID2YZ2js.matchPath; exports.matchRoutes = _chunkSRID2YZ2js.matchRoutes; exports.parsePath = _chunkSRID2YZ2js.parsePath; exports.redirect = _chunkSRID2YZ2js.redirect; exports.redirectDocument = _chunkSRID2YZ2js.redirectDocument; exports.renderMatches = _chunkSRID2YZ2js.renderMatches; exports.replace = _chunkSRID2YZ2js.replace; exports.resolvePath = _chunkSRID2YZ2js.resolvePath; exports.unstable_HistoryRouter = _chunkIBI7OMNBjs.HistoryRouter; exports.unstable_RSCStaticRouter = RSCStaticRouter; exports.unstable_routeRSCServerRequest = routeRSCServerRequest; exports.unstable_setDevServerHooks = setDevServerHooks; exports.unstable_usePrompt = _chunkIBI7OMNBjs.usePrompt; exports.unstable_useRoute = _chunkSRID2YZ2js.useRoute; exports.unstable_useRouterState = _chunkSRID2YZ2js.useRouterState; exports.useActionData = _chunkSRID2YZ2js.useActionData; exports.useAsyncError = _chunkSRID2YZ2js.useAsyncError; exports.useAsyncValue = _chunkSRID2YZ2js.useAsyncValue; exports.useBeforeUnload = _chunkIBI7OMNBjs.useBeforeUnload; exports.useBlocker = _chunkSRID2YZ2js.useBlocker; exports.useFetcher = _chunkIBI7OMNBjs.useFetcher; exports.useFetchers = _chunkIBI7OMNBjs.useFetchers; exports.useFormAction = _chunkIBI7OMNBjs.useFormAction; exports.useHref = _chunkSRID2YZ2js.useHref; exports.useInRouterContext = _chunkSRID2YZ2js.useInRouterContext; exports.useLinkClickHandler = _chunkIBI7OMNBjs.useLinkClickHandler; exports.useLoaderData = _chunkSRID2YZ2js.useLoaderData; exports.useLocation = _chunkSRID2YZ2js.useLocation; exports.useMatch = _chunkSRID2YZ2js.useMatch; exports.useMatches = _chunkSRID2YZ2js.useMatches; exports.useNavigate = _chunkSRID2YZ2js.useNavigate; exports.useNavigation = _chunkSRID2YZ2js.useNavigation; exports.useNavigationType = _chunkSRID2YZ2js.useNavigationType; exports.useOutlet = _chunkSRID2YZ2js.useOutlet; exports.useOutletContext = _chunkSRID2YZ2js.useOutletContext; exports.useParams = _chunkSRID2YZ2js.useParams; exports.useResolvedPath = _chunkSRID2YZ2js.useResolvedPath; exports.useRevalidator = _chunkSRID2YZ2js.useRevalidator; exports.useRouteError = _chunkSRID2YZ2js.useRouteError; exports.useRouteLoaderData = _chunkSRID2YZ2js.useRouteLoaderData; exports.useRoutes = _chunkSRID2YZ2js.useRoutes; exports.useSearchParams = _chunkIBI7OMNBjs.useSearchParams; exports.useSubmit = _chunkIBI7OMNBjs.useSubmit; exports.useViewTransitionState = _chunkIBI7OMNBjs.useViewTransitionState;
2630
+ exports.Await = _chunkKFNXW4ALjs.Await; exports.BrowserRouter = _chunkPULC7NLKjs.BrowserRouter; exports.Form = _chunkPULC7NLKjs.Form; exports.HashRouter = _chunkPULC7NLKjs.HashRouter; exports.IDLE_BLOCKER = _chunkKFNXW4ALjs.IDLE_BLOCKER; exports.IDLE_FETCHER = _chunkKFNXW4ALjs.IDLE_FETCHER; exports.IDLE_NAVIGATION = _chunkKFNXW4ALjs.IDLE_NAVIGATION; exports.Link = _chunkPULC7NLKjs.Link; exports.Links = _chunkKFNXW4ALjs.Links; exports.MemoryRouter = _chunkKFNXW4ALjs.MemoryRouter; exports.Meta = _chunkKFNXW4ALjs.Meta; exports.NavLink = _chunkPULC7NLKjs.NavLink; exports.Navigate = _chunkKFNXW4ALjs.Navigate; exports.NavigationType = _chunkKFNXW4ALjs.Action; exports.Outlet = _chunkKFNXW4ALjs.Outlet; exports.PrefetchPageLinks = _chunkKFNXW4ALjs.PrefetchPageLinks; exports.Route = _chunkKFNXW4ALjs.Route; exports.Router = _chunkKFNXW4ALjs.Router; exports.RouterContextProvider = _chunkKFNXW4ALjs.RouterContextProvider; exports.RouterProvider = _chunkKFNXW4ALjs.RouterProvider; exports.Routes = _chunkKFNXW4ALjs.Routes; exports.Scripts = _chunkKFNXW4ALjs.Scripts; exports.ScrollRestoration = _chunkPULC7NLKjs.ScrollRestoration; exports.ServerRouter = ServerRouter; exports.StaticRouter = _chunkPULC7NLKjs.StaticRouter; exports.StaticRouterProvider = _chunkPULC7NLKjs.StaticRouterProvider; exports.UNSAFE_AwaitContextProvider = _chunkKFNXW4ALjs.AwaitContextProvider; exports.UNSAFE_DataRouterContext = _chunkKFNXW4ALjs.DataRouterContext; exports.UNSAFE_DataRouterStateContext = _chunkKFNXW4ALjs.DataRouterStateContext; exports.UNSAFE_ErrorResponseImpl = _chunkKFNXW4ALjs.ErrorResponseImpl; exports.UNSAFE_FetchersContext = _chunkKFNXW4ALjs.FetchersContext; exports.UNSAFE_FrameworkContext = _chunkKFNXW4ALjs.FrameworkContext; exports.UNSAFE_LocationContext = _chunkKFNXW4ALjs.LocationContext; exports.UNSAFE_NavigationContext = _chunkKFNXW4ALjs.NavigationContext; exports.UNSAFE_RSCDefaultRootErrorBoundary = _chunkPBLBZ3QUjs.RSCDefaultRootErrorBoundary; exports.UNSAFE_RemixErrorBoundary = _chunkKFNXW4ALjs.RemixErrorBoundary; exports.UNSAFE_RouteContext = _chunkKFNXW4ALjs.RouteContext; exports.UNSAFE_ServerMode = ServerMode; exports.UNSAFE_SingleFetchRedirectSymbol = _chunkKFNXW4ALjs.SingleFetchRedirectSymbol; exports.UNSAFE_ViewTransitionContext = _chunkKFNXW4ALjs.ViewTransitionContext; exports.UNSAFE_WithComponentProps = _chunkKFNXW4ALjs.WithComponentProps; exports.UNSAFE_WithErrorBoundaryProps = _chunkKFNXW4ALjs.WithErrorBoundaryProps; exports.UNSAFE_WithHydrateFallbackProps = _chunkKFNXW4ALjs.WithHydrateFallbackProps; exports.UNSAFE_createBrowserHistory = _chunkKFNXW4ALjs.createBrowserHistory; exports.UNSAFE_createClientRoutes = _chunkKFNXW4ALjs.createClientRoutes; exports.UNSAFE_createClientRoutesWithHMRRevalidationOptOut = _chunkKFNXW4ALjs.createClientRoutesWithHMRRevalidationOptOut; exports.UNSAFE_createHashHistory = _chunkKFNXW4ALjs.createHashHistory; exports.UNSAFE_createMemoryHistory = _chunkKFNXW4ALjs.createMemoryHistory; exports.UNSAFE_createRouter = _chunkKFNXW4ALjs.createRouter; exports.UNSAFE_decodeViaTurboStream = _chunkKFNXW4ALjs.decodeViaTurboStream; exports.UNSAFE_deserializeErrors = deserializeErrors; exports.UNSAFE_getHydrationData = _chunkPBLBZ3QUjs.getHydrationData; exports.UNSAFE_getPatchRoutesOnNavigationFunction = _chunkKFNXW4ALjs.getPatchRoutesOnNavigationFunction; exports.UNSAFE_getTurboStreamSingleFetchDataStrategy = _chunkKFNXW4ALjs.getTurboStreamSingleFetchDataStrategy; exports.UNSAFE_hydrationRouteProperties = _chunkKFNXW4ALjs.hydrationRouteProperties; exports.UNSAFE_invariant = _chunkKFNXW4ALjs.invariant; exports.UNSAFE_mapRouteProperties = _chunkKFNXW4ALjs.mapRouteProperties; exports.UNSAFE_shouldHydrateRouteLoader = _chunkKFNXW4ALjs.shouldHydrateRouteLoader; exports.UNSAFE_useFogOFWarDiscovery = _chunkKFNXW4ALjs.useFogOFWarDiscovery; exports.UNSAFE_useScrollRestoration = _chunkPULC7NLKjs.useScrollRestoration; exports.UNSAFE_withComponentProps = _chunkKFNXW4ALjs.withComponentProps; exports.UNSAFE_withErrorBoundaryProps = _chunkKFNXW4ALjs.withErrorBoundaryProps; exports.UNSAFE_withHydrateFallbackProps = _chunkKFNXW4ALjs.withHydrateFallbackProps; exports.createBrowserRouter = _chunkPULC7NLKjs.createBrowserRouter; exports.createContext = _chunkKFNXW4ALjs.createContext; exports.createCookie = createCookie; exports.createCookieSessionStorage = createCookieSessionStorage; exports.createHashRouter = _chunkPULC7NLKjs.createHashRouter; exports.createMemoryRouter = _chunkKFNXW4ALjs.createMemoryRouter; exports.createMemorySessionStorage = createMemorySessionStorage; exports.createPath = _chunkKFNXW4ALjs.createPath; exports.createRequestHandler = createRequestHandler; exports.createRoutesFromChildren = _chunkKFNXW4ALjs.createRoutesFromChildren; exports.createRoutesFromElements = _chunkKFNXW4ALjs.createRoutesFromElements; exports.createRoutesStub = createRoutesStub; exports.createSearchParams = _chunkPULC7NLKjs.createSearchParams; exports.createSession = createSession; exports.createSessionStorage = createSessionStorage; exports.createStaticHandler = _chunkPULC7NLKjs.createStaticHandler; exports.createStaticRouter = _chunkPULC7NLKjs.createStaticRouter; exports.data = _chunkKFNXW4ALjs.data; exports.generatePath = _chunkKFNXW4ALjs.generatePath; exports.href = href; exports.isCookie = isCookie; exports.isRouteErrorResponse = _chunkKFNXW4ALjs.isRouteErrorResponse; exports.isSession = isSession; exports.matchPath = _chunkKFNXW4ALjs.matchPath; exports.matchRoutes = _chunkKFNXW4ALjs.matchRoutes; exports.parsePath = _chunkKFNXW4ALjs.parsePath; exports.redirect = _chunkKFNXW4ALjs.redirect; exports.redirectDocument = _chunkKFNXW4ALjs.redirectDocument; exports.renderMatches = _chunkKFNXW4ALjs.renderMatches; exports.replace = _chunkKFNXW4ALjs.replace; exports.resolvePath = _chunkKFNXW4ALjs.resolvePath; exports.unstable_HistoryRouter = _chunkPULC7NLKjs.HistoryRouter; exports.unstable_RSCStaticRouter = RSCStaticRouter; exports.unstable_routeRSCServerRequest = routeRSCServerRequest; exports.unstable_setDevServerHooks = setDevServerHooks; exports.unstable_usePrompt = _chunkPULC7NLKjs.usePrompt; exports.unstable_useRoute = _chunkKFNXW4ALjs.useRoute; exports.unstable_useRouterState = _chunkKFNXW4ALjs.useRouterState; exports.useActionData = _chunkKFNXW4ALjs.useActionData; exports.useAsyncError = _chunkKFNXW4ALjs.useAsyncError; exports.useAsyncValue = _chunkKFNXW4ALjs.useAsyncValue; exports.useBeforeUnload = _chunkPULC7NLKjs.useBeforeUnload; exports.useBlocker = _chunkKFNXW4ALjs.useBlocker; exports.useFetcher = _chunkPULC7NLKjs.useFetcher; exports.useFetchers = _chunkPULC7NLKjs.useFetchers; exports.useFormAction = _chunkPULC7NLKjs.useFormAction; exports.useHref = _chunkKFNXW4ALjs.useHref; exports.useInRouterContext = _chunkKFNXW4ALjs.useInRouterContext; exports.useLinkClickHandler = _chunkPULC7NLKjs.useLinkClickHandler; exports.useLoaderData = _chunkKFNXW4ALjs.useLoaderData; exports.useLocation = _chunkKFNXW4ALjs.useLocation; exports.useMatch = _chunkKFNXW4ALjs.useMatch; exports.useMatches = _chunkKFNXW4ALjs.useMatches; exports.useNavigate = _chunkKFNXW4ALjs.useNavigate; exports.useNavigation = _chunkKFNXW4ALjs.useNavigation; exports.useNavigationType = _chunkKFNXW4ALjs.useNavigationType; exports.useOutlet = _chunkKFNXW4ALjs.useOutlet; exports.useOutletContext = _chunkKFNXW4ALjs.useOutletContext; exports.useParams = _chunkKFNXW4ALjs.useParams; exports.useResolvedPath = _chunkKFNXW4ALjs.useResolvedPath; exports.useRevalidator = _chunkKFNXW4ALjs.useRevalidator; exports.useRouteError = _chunkKFNXW4ALjs.useRouteError; exports.useRouteLoaderData = _chunkKFNXW4ALjs.useRouteLoaderData; exports.useRoutes = _chunkKFNXW4ALjs.useRoutes; exports.useSearchParams = _chunkPULC7NLKjs.useSearchParams; exports.useSubmit = _chunkPULC7NLKjs.useSubmit; exports.useViewTransitionState = _chunkPULC7NLKjs.useViewTransitionState;