react-router 0.0.0-experimental-23decd7bc → 0.0.0-experimental-1d8f3ee

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 (63) hide show
  1. package/dist/development/{browser-CmIT056Z.d.mts → browser-Dy-ESm-r.d.mts} +1 -1
  2. package/dist/development/chunk-DUZSUZPY.js +42 -0
  3. package/dist/development/{chunk-GJVCYY62.mjs → chunk-LCKD6EHG.mjs} +29 -51
  4. package/dist/development/{chunk-H2M6MMUH.js → chunk-PACOJA5V.js} +34 -56
  5. package/dist/development/{chunk-3E3CD4NY.mjs → chunk-RCYOOFMP.mjs} +64 -10
  6. package/dist/development/{chunk-I3MHZ4NU.js → chunk-XDNTV7B4.js} +1 -1
  7. package/dist/development/{components-CwtESh53.d.mts → components-Yh5Jx3In.d.mts} +1 -1
  8. package/dist/development/dom-export.d.mts +8 -3
  9. package/dist/development/dom-export.d.ts +6 -0
  10. package/dist/development/dom-export.js +16 -6
  11. package/dist/development/dom-export.mjs +14 -6
  12. package/dist/{production/index-react-server-client-unV28389.d.ts → development/index-react-server-client-BM01za3r.d.ts} +3 -29
  13. package/dist/{production/index-react-server-client-CzKQ01cq.d.mts → development/index-react-server-client-CdDCHn2r.d.mts} +4 -30
  14. package/dist/development/index-react-server-client.d.mts +3 -3
  15. package/dist/development/index-react-server-client.d.ts +2 -2
  16. package/dist/development/index-react-server-client.js +4 -4
  17. package/dist/development/index-react-server-client.mjs +2 -2
  18. package/dist/development/index-react-server.d.mts +1 -1
  19. package/dist/development/index-react-server.d.ts +1 -1
  20. package/dist/development/index-react-server.js +2 -2
  21. package/dist/development/index-react-server.mjs +2 -2
  22. package/dist/development/index.d.mts +15 -11
  23. package/dist/development/index.d.ts +11 -7
  24. package/dist/development/index.js +129 -103
  25. package/dist/development/index.mjs +3 -3
  26. package/dist/development/lib/types/internal.d.mts +1 -1
  27. package/dist/development/lib/types/internal.d.ts +1 -1
  28. package/dist/development/lib/types/internal.js +1 -1
  29. package/dist/development/lib/types/internal.mjs +1 -1
  30. package/dist/{production/route-data-Csr8hE3v.d.mts → development/route-data-DJcKSHWq.d.mts} +30 -2
  31. package/dist/{production/route-data-x_b_BLCv.d.ts → development/routeModules-C82B1sOz.d.ts} +193 -165
  32. package/dist/production/{browser-CmIT056Z.d.mts → browser-Dy-ESm-r.d.mts} +1 -1
  33. package/dist/production/chunk-DUZSUZPY.js +42 -0
  34. package/dist/production/{chunk-7TUGB72O.js → chunk-F3UQRILU.js} +34 -56
  35. package/dist/production/{chunk-XNTCWHOK.mjs → chunk-FDXAKVCT.mjs} +64 -10
  36. package/dist/production/{chunk-YWCG2M57.mjs → chunk-VJ4SUXKA.mjs} +29 -51
  37. package/dist/production/{chunk-I3MHZ4NU.js → chunk-XDNTV7B4.js} +1 -1
  38. package/dist/production/{components-CwtESh53.d.mts → components-Yh5Jx3In.d.mts} +1 -1
  39. package/dist/production/dom-export.d.mts +8 -3
  40. package/dist/production/dom-export.d.ts +6 -0
  41. package/dist/production/dom-export.js +16 -6
  42. package/dist/production/dom-export.mjs +14 -6
  43. package/dist/{development/index-react-server-client-unV28389.d.ts → production/index-react-server-client-BM01za3r.d.ts} +3 -29
  44. package/dist/{development/index-react-server-client-CzKQ01cq.d.mts → production/index-react-server-client-CdDCHn2r.d.mts} +4 -30
  45. package/dist/production/index-react-server-client.d.mts +3 -3
  46. package/dist/production/index-react-server-client.d.ts +2 -2
  47. package/dist/production/index-react-server-client.js +4 -4
  48. package/dist/production/index-react-server-client.mjs +2 -2
  49. package/dist/production/index-react-server.d.mts +1 -1
  50. package/dist/production/index-react-server.d.ts +1 -1
  51. package/dist/production/index-react-server.js +2 -2
  52. package/dist/production/index-react-server.mjs +2 -2
  53. package/dist/production/index.d.mts +15 -11
  54. package/dist/production/index.d.ts +11 -7
  55. package/dist/production/index.js +129 -103
  56. package/dist/production/index.mjs +3 -3
  57. package/dist/production/lib/types/internal.d.mts +1 -1
  58. package/dist/production/lib/types/internal.d.ts +1 -1
  59. package/dist/production/lib/types/internal.js +1 -1
  60. package/dist/production/lib/types/internal.mjs +1 -1
  61. package/dist/{development/route-data-x_b_BLCv.d.ts → production/route-data-DJcKSHWq.d.mts} +40 -12
  62. package/dist/{development/route-data-Csr8hE3v.d.mts → production/routeModules-C82B1sOz.d.ts} +183 -155
  63. package/package.json +6 -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 v0.0.0-experimental-23decd7bc
2
+ * react-router v0.0.0-experimental-1d8f3ee
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -11,6 +11,7 @@
11
11
  "use client";
12
12
 
13
13
 
14
+ var _chunkDUZSUZPYjs = require('./chunk-DUZSUZPY.js');
14
15
 
15
16
 
16
17
 
@@ -137,8 +138,10 @@
137
138
 
138
139
 
139
140
 
140
- var _chunkH2M6MMUHjs = require('./chunk-H2M6MMUH.js');
141
- require('./chunk-I3MHZ4NU.js');
141
+
142
+
143
+ var _chunkPACOJA5Vjs = require('./chunk-PACOJA5V.js');
144
+ require('./chunk-XDNTV7B4.js');
142
145
 
143
146
  // lib/dom/ssr/server.tsx
144
147
  var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react); var React4 = _interopRequireWildcard(_react); var React5 = _interopRequireWildcard(_react);
@@ -151,7 +154,7 @@ function ServerRouter({
151
154
  url = new URL(url);
152
155
  }
153
156
  let { manifest, routeModules, criticalCss, serverHandoffString } = context;
154
- let routes = _chunkH2M6MMUHjs.createServerRoutes.call(void 0,
157
+ let routes = _chunkPACOJA5Vjs.createServerRoutes.call(void 0,
155
158
  manifest.routes,
156
159
  routeModules,
157
160
  context.future,
@@ -164,7 +167,7 @@ function ServerRouter({
164
167
  let routeId = match.route.id;
165
168
  let route = routeModules[routeId];
166
169
  let manifestRoute = context.manifest.routes[routeId];
167
- if (route && manifestRoute && _chunkH2M6MMUHjs.shouldHydrateRouteLoader.call(void 0,
170
+ if (route && manifestRoute && _chunkPACOJA5Vjs.shouldHydrateRouteLoader.call(void 0,
168
171
  routeId,
169
172
  route.clientLoader,
170
173
  manifestRoute.hasLoader,
@@ -173,9 +176,9 @@ function ServerRouter({
173
176
  delete context.staticHandlerContext.loaderData[routeId];
174
177
  }
175
178
  }
176
- let router = _chunkH2M6MMUHjs.createStaticRouter.call(void 0, routes, context.staticHandlerContext);
179
+ let router = _chunkPACOJA5Vjs.createStaticRouter.call(void 0, routes, context.staticHandlerContext);
177
180
  return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
178
- _chunkH2M6MMUHjs.FrameworkContext.Provider,
181
+ _chunkPACOJA5Vjs.FrameworkContext.Provider,
179
182
  {
180
183
  value: {
181
184
  manifest,
@@ -187,11 +190,12 @@ function ServerRouter({
187
190
  isSpaMode: context.isSpaMode,
188
191
  routeDiscovery: context.routeDiscovery,
189
192
  serializeError: context.serializeError,
190
- renderMeta: context.renderMeta
193
+ renderMeta: context.renderMeta,
194
+ loadRouteModule: _chunkDUZSUZPYjs.defaultLoadRouteModule
191
195
  }
192
196
  },
193
- /* @__PURE__ */ React.createElement(_chunkH2M6MMUHjs.RemixErrorBoundary, { location: router.state.location }, /* @__PURE__ */ React.createElement(
194
- _chunkH2M6MMUHjs.StaticRouterProvider,
197
+ /* @__PURE__ */ React.createElement(_chunkPACOJA5Vjs.RemixErrorBoundary, { location: router.state.location }, /* @__PURE__ */ React.createElement(
198
+ _chunkPACOJA5Vjs.StaticRouterProvider,
195
199
  {
196
200
  router,
197
201
  context: context.staticHandlerContext,
@@ -199,7 +203,7 @@ function ServerRouter({
199
203
  }
200
204
  ))
201
205
  ), context.serverHandoffStream ? /* @__PURE__ */ React.createElement(React.Suspense, null, /* @__PURE__ */ React.createElement(
202
- _chunkH2M6MMUHjs.StreamTransfer,
206
+ _chunkPACOJA5Vjs.StreamTransfer,
203
207
  {
204
208
  context,
205
209
  identifier: 0,
@@ -217,7 +221,8 @@ function createRoutesStub(routes, unstable_getContext) {
217
221
  initialEntries,
218
222
  initialIndex,
219
223
  hydrationData,
220
- future
224
+ future,
225
+ loadRouteModule = _chunkDUZSUZPYjs.defaultLoadRouteModule
221
226
  }) {
222
227
  let routerRef = React2.useRef();
223
228
  let remixContextRef = React2.useRef();
@@ -236,23 +241,24 @@ function createRoutesStub(routes, unstable_getContext) {
236
241
  routeModules: {},
237
242
  ssr: false,
238
243
  isSpaMode: false,
244
+ loadRouteModule,
239
245
  routeDiscovery: { mode: "lazy", manifestPath: "/__manifest" }
240
246
  };
241
247
  let patched = processRoutes(
242
248
  // @ts-expect-error `StubRouteObject` is stricter about `loader`/`action`
243
249
  // types compared to `AgnosticRouteObject`
244
- _chunkH2M6MMUHjs.convertRoutesToDataRoutes.call(void 0, routes, (r) => r),
250
+ _chunkPACOJA5Vjs.convertRoutesToDataRoutes.call(void 0, routes, (r) => r),
245
251
  remixContextRef.current.manifest,
246
252
  remixContextRef.current.routeModules
247
253
  );
248
- routerRef.current = _chunkH2M6MMUHjs.createMemoryRouter.call(void 0, patched, {
254
+ routerRef.current = _chunkPACOJA5Vjs.createMemoryRouter.call(void 0, patched, {
249
255
  unstable_getContext,
250
256
  initialEntries,
251
257
  initialIndex,
252
258
  hydrationData
253
259
  });
254
260
  }
255
- return /* @__PURE__ */ React2.createElement(_chunkH2M6MMUHjs.FrameworkContext.Provider, { value: remixContextRef.current }, /* @__PURE__ */ React2.createElement(_chunkH2M6MMUHjs.RouterProvider, { router: routerRef.current }));
261
+ return /* @__PURE__ */ React2.createElement(_chunkPACOJA5Vjs.FrameworkContext.Provider, { value: remixContextRef.current }, /* @__PURE__ */ React2.createElement(_chunkPACOJA5Vjs.RouterProvider, { router: routerRef.current }));
256
262
  };
257
263
  }
258
264
  function processRoutes(routes, manifest, routeModules, parentId) {
@@ -266,9 +272,9 @@ function processRoutes(routes, manifest, routeModules, parentId) {
266
272
  id: route.id,
267
273
  path: route.path,
268
274
  index: route.index,
269
- Component: route.Component ? _chunkH2M6MMUHjs.withComponentProps.call(void 0, route.Component) : void 0,
270
- HydrateFallback: route.HydrateFallback ? _chunkH2M6MMUHjs.withHydrateFallbackProps.call(void 0, route.HydrateFallback) : void 0,
271
- ErrorBoundary: route.ErrorBoundary ? _chunkH2M6MMUHjs.withErrorBoundaryProps.call(void 0, route.ErrorBoundary) : void 0,
275
+ Component: route.Component ? _chunkPACOJA5Vjs.withComponentProps.call(void 0, route.Component) : void 0,
276
+ HydrateFallback: route.HydrateFallback ? _chunkPACOJA5Vjs.withHydrateFallbackProps.call(void 0, route.HydrateFallback) : void 0,
277
+ ErrorBoundary: route.ErrorBoundary ? _chunkPACOJA5Vjs.withErrorBoundaryProps.call(void 0, route.ErrorBoundary) : void 0,
272
278
  action: route.action,
273
279
  loader: route.loader,
274
280
  handle: route.handle,
@@ -297,7 +303,7 @@ function processRoutes(routes, manifest, routeModules, parentId) {
297
303
  };
298
304
  manifest.routes[newRoute.id] = entryRoute;
299
305
  routeModules[route.id] = {
300
- default: newRoute.Component || _chunkH2M6MMUHjs.Outlet,
306
+ default: newRoute.Component || _chunkPACOJA5Vjs.Outlet,
301
307
  ErrorBoundary: newRoute.ErrorBoundary || void 0,
302
308
  handle: route.handle,
303
309
  links: route.links,
@@ -491,7 +497,7 @@ function myUnescape(value) {
491
497
  return result;
492
498
  }
493
499
  function warnOnceAboutExpiresCookie(name, expires) {
494
- _chunkH2M6MMUHjs.warnOnce.call(void 0,
500
+ _chunkPACOJA5Vjs.warnOnce.call(void 0,
495
501
  !expires,
496
502
  `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.`
497
503
  );
@@ -545,7 +551,7 @@ function serializeErrors(errors, serverMode) {
545
551
  let entries = Object.entries(errors);
546
552
  let serialized = {};
547
553
  for (let [key, val] of entries) {
548
- if (_chunkH2M6MMUHjs.isRouteErrorResponse.call(void 0, val)) {
554
+ if (_chunkPACOJA5Vjs.isRouteErrorResponse.call(void 0, val)) {
549
555
  serialized[key] = { ...val, __type: "RouteErrorResponse" };
550
556
  } else if (val instanceof Error) {
551
557
  let sanitized = sanitizeError(val, serverMode);
@@ -570,7 +576,7 @@ function serializeErrors(errors, serverMode) {
570
576
 
571
577
  // lib/server-runtime/routeMatching.ts
572
578
  function matchServerRoutes(routes, pathname, basename) {
573
- let matches = _chunkH2M6MMUHjs.matchRoutes.call(void 0,
579
+ let matches = _chunkPACOJA5Vjs.matchRoutes.call(void 0,
574
580
  routes,
575
581
  pathname,
576
582
  basename
@@ -590,7 +596,7 @@ async function callRouteHandler(handler, args) {
590
596
  params: args.params,
591
597
  context: args.context
592
598
  });
593
- if (_chunkH2M6MMUHjs.isDataWithResponseInit.call(void 0, result) && result.init && result.init.status && _chunkH2M6MMUHjs.isRedirectStatusCode.call(void 0, result.init.status)) {
599
+ if (_chunkPACOJA5Vjs.isDataWithResponseInit.call(void 0, result) && result.init && result.init.status && _chunkPACOJA5Vjs.isRedirectStatusCode.call(void 0, result.init.status)) {
594
600
  throw new Response(null, result.init);
595
601
  }
596
602
  return result;
@@ -709,17 +715,17 @@ function createStaticHandlerDataRoutes(manifest, future, parentId = "", routesBy
709
715
  controller.close();
710
716
  }
711
717
  });
712
- let decoded = await _chunkH2M6MMUHjs.decodeViaTurboStream.call(void 0, stream, global);
718
+ let decoded = await _chunkPACOJA5Vjs.decodeViaTurboStream.call(void 0, stream, global);
713
719
  let data2 = decoded.value;
714
- if (data2 && _chunkH2M6MMUHjs.SingleFetchRedirectSymbol in data2) {
715
- let result = data2[_chunkH2M6MMUHjs.SingleFetchRedirectSymbol];
720
+ if (data2 && _chunkPACOJA5Vjs.SingleFetchRedirectSymbol in data2) {
721
+ let result = data2[_chunkPACOJA5Vjs.SingleFetchRedirectSymbol];
716
722
  let init = { status: result.status };
717
723
  if (result.reload) {
718
- throw _chunkH2M6MMUHjs.redirectDocument.call(void 0, result.redirect, init);
724
+ throw _chunkPACOJA5Vjs.redirectDocument.call(void 0, result.redirect, init);
719
725
  } else if (result.replace) {
720
- throw _chunkH2M6MMUHjs.replace.call(void 0, result.redirect, init);
726
+ throw _chunkPACOJA5Vjs.replace.call(void 0, result.redirect, init);
721
727
  } else {
722
- throw _chunkH2M6MMUHjs.redirect.call(void 0, result.redirect, init);
728
+ throw _chunkPACOJA5Vjs.redirect.call(void 0, result.redirect, init);
723
729
  }
724
730
  } else {
725
731
  invariant2(
@@ -847,14 +853,14 @@ function prependCookies(parentHeaders, childHeaders) {
847
853
 
848
854
  // lib/server-runtime/single-fetch.ts
849
855
  var SERVER_NO_BODY_STATUS_CODES = /* @__PURE__ */ new Set([
850
- ..._chunkH2M6MMUHjs.NO_BODY_STATUS_CODES,
856
+ ..._chunkPACOJA5Vjs.NO_BODY_STATUS_CODES,
851
857
  304
852
858
  ]);
853
859
  async function singleFetchAction(build, serverMode, staticHandler, request, handlerUrl, loadContext, handleError) {
854
860
  try {
855
861
  let respond2 = function(context) {
856
862
  let headers = getDocumentHeaders(context, build);
857
- if (_chunkH2M6MMUHjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
863
+ if (_chunkPACOJA5Vjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
858
864
  return generateSingleFetchResponse(request, build, serverMode, {
859
865
  result: getSingleFetchRedirect(
860
866
  context.statusCode,
@@ -862,12 +868,12 @@ async function singleFetchAction(build, serverMode, staticHandler, request, hand
862
868
  build.basename
863
869
  ),
864
870
  headers,
865
- status: _chunkH2M6MMUHjs.SINGLE_FETCH_REDIRECT_STATUS
871
+ status: _chunkPACOJA5Vjs.SINGLE_FETCH_REDIRECT_STATUS
866
872
  });
867
873
  }
868
874
  if (context.errors) {
869
875
  Object.values(context.errors).forEach((err) => {
870
- if (!_chunkH2M6MMUHjs.isRouteErrorResponse.call(void 0, err) || err.error) {
876
+ if (!_chunkPACOJA5Vjs.isRouteErrorResponse.call(void 0, err) || err.error) {
871
877
  handleError(err);
872
878
  }
873
879
  });
@@ -901,10 +907,10 @@ async function singleFetchAction(build, serverMode, staticHandler, request, hand
901
907
  skipRevalidation: true,
902
908
  unstable_respond: respond2
903
909
  });
904
- if (!_chunkH2M6MMUHjs.isResponse.call(void 0, result)) {
910
+ if (!_chunkPACOJA5Vjs.isResponse.call(void 0, result)) {
905
911
  result = respond2(result);
906
912
  }
907
- if (_chunkH2M6MMUHjs.isRedirectResponse.call(void 0, result)) {
913
+ if (_chunkPACOJA5Vjs.isRedirectResponse.call(void 0, result)) {
908
914
  return generateSingleFetchResponse(request, build, serverMode, {
909
915
  result: getSingleFetchRedirect(
910
916
  result.status,
@@ -912,7 +918,7 @@ async function singleFetchAction(build, serverMode, staticHandler, request, hand
912
918
  build.basename
913
919
  ),
914
920
  headers: result.headers,
915
- status: _chunkH2M6MMUHjs.SINGLE_FETCH_REDIRECT_STATUS
921
+ status: _chunkPACOJA5Vjs.SINGLE_FETCH_REDIRECT_STATUS
916
922
  });
917
923
  }
918
924
  return result;
@@ -929,22 +935,22 @@ async function singleFetchLoaders(build, serverMode, staticHandler, request, han
929
935
  try {
930
936
  let respond2 = function(context) {
931
937
  let headers = getDocumentHeaders(context, build);
932
- if (_chunkH2M6MMUHjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
938
+ if (_chunkPACOJA5Vjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
933
939
  return generateSingleFetchResponse(request, build, serverMode, {
934
940
  result: {
935
- [_chunkH2M6MMUHjs.SingleFetchRedirectSymbol]: getSingleFetchRedirect(
941
+ [_chunkPACOJA5Vjs.SingleFetchRedirectSymbol]: getSingleFetchRedirect(
936
942
  context.statusCode,
937
943
  headers,
938
944
  build.basename
939
945
  )
940
946
  },
941
947
  headers,
942
- status: _chunkH2M6MMUHjs.SINGLE_FETCH_REDIRECT_STATUS
948
+ status: _chunkPACOJA5Vjs.SINGLE_FETCH_REDIRECT_STATUS
943
949
  });
944
950
  }
945
951
  if (context.errors) {
946
952
  Object.values(context.errors).forEach((err) => {
947
- if (!_chunkH2M6MMUHjs.isRouteErrorResponse.call(void 0, err) || err.error) {
953
+ if (!_chunkPACOJA5Vjs.isRouteErrorResponse.call(void 0, err) || err.error) {
948
954
  handleError(err);
949
955
  }
950
956
  });
@@ -985,20 +991,20 @@ async function singleFetchLoaders(build, serverMode, staticHandler, request, han
985
991
  skipLoaderErrorBubbling: true,
986
992
  unstable_respond: respond2
987
993
  });
988
- if (!_chunkH2M6MMUHjs.isResponse.call(void 0, result)) {
994
+ if (!_chunkPACOJA5Vjs.isResponse.call(void 0, result)) {
989
995
  result = respond2(result);
990
996
  }
991
- if (_chunkH2M6MMUHjs.isRedirectResponse.call(void 0, result)) {
997
+ if (_chunkPACOJA5Vjs.isRedirectResponse.call(void 0, result)) {
992
998
  return generateSingleFetchResponse(request, build, serverMode, {
993
999
  result: {
994
- [_chunkH2M6MMUHjs.SingleFetchRedirectSymbol]: getSingleFetchRedirect(
1000
+ [_chunkPACOJA5Vjs.SingleFetchRedirectSymbol]: getSingleFetchRedirect(
995
1001
  result.status,
996
1002
  result.headers,
997
1003
  build.basename
998
1004
  )
999
1005
  },
1000
1006
  headers: result.headers,
1001
- status: _chunkH2M6MMUHjs.SINGLE_FETCH_REDIRECT_STATUS
1007
+ status: _chunkPACOJA5Vjs.SINGLE_FETCH_REDIRECT_STATUS
1002
1008
  });
1003
1009
  }
1004
1010
  return result;
@@ -1022,6 +1028,7 @@ function generateSingleFetchResponse(request, build, serverMode, {
1022
1028
  return new Response(null, { status, headers: resultHeaders });
1023
1029
  }
1024
1030
  resultHeaders.set("Content-Type", "text/x-script");
1031
+ resultHeaders.delete("Content-Length");
1025
1032
  return new Response(
1026
1033
  encodeViaTurboStream(
1027
1034
  result,
@@ -1038,7 +1045,7 @@ function generateSingleFetchResponse(request, build, serverMode, {
1038
1045
  function getSingleFetchRedirect(status, headers, basename) {
1039
1046
  let redirect2 = headers.get("Location");
1040
1047
  if (basename) {
1041
- redirect2 = _chunkH2M6MMUHjs.stripBasename.call(void 0, redirect2, basename) || redirect2;
1048
+ redirect2 = _chunkPACOJA5Vjs.stripBasename.call(void 0, redirect2, basename) || redirect2;
1042
1049
  }
1043
1050
  return {
1044
1051
  redirect: redirect2,
@@ -1064,7 +1071,7 @@ function encodeViaTurboStream(data2, requestSignal, streamTimeout, serverMode) {
1064
1071
  typeof streamTimeout === "number" ? streamTimeout : 4950
1065
1072
  );
1066
1073
  requestSignal.addEventListener("abort", () => clearTimeout(timeoutId));
1067
- return _chunkH2M6MMUHjs.encode.call(void 0, data2, {
1074
+ return _chunkPACOJA5Vjs.encode.call(void 0, data2, {
1068
1075
  signal: controller.signal,
1069
1076
  plugins: [
1070
1077
  (value) => {
@@ -1072,12 +1079,12 @@ function encodeViaTurboStream(data2, requestSignal, streamTimeout, serverMode) {
1072
1079
  let { name, message, stack } = serverMode === "production" /* Production */ ? sanitizeError(value, serverMode) : value;
1073
1080
  return ["SanitizedError", name, message, stack];
1074
1081
  }
1075
- if (value instanceof _chunkH2M6MMUHjs.ErrorResponseImpl) {
1082
+ if (value instanceof _chunkPACOJA5Vjs.ErrorResponseImpl) {
1076
1083
  let { data: data3, status, statusText } = value;
1077
1084
  return ["ErrorResponse", data3, status, statusText];
1078
1085
  }
1079
- if (value && typeof value === "object" && _chunkH2M6MMUHjs.SingleFetchRedirectSymbol in value) {
1080
- return ["SingleFetchRedirect", value[_chunkH2M6MMUHjs.SingleFetchRedirectSymbol]];
1086
+ if (value && typeof value === "object" && _chunkPACOJA5Vjs.SingleFetchRedirectSymbol in value) {
1087
+ return ["SingleFetchRedirect", value[_chunkPACOJA5Vjs.SingleFetchRedirectSymbol]];
1081
1088
  }
1082
1089
  }
1083
1090
  ],
@@ -1100,14 +1107,14 @@ function derive(build, mode) {
1100
1107
  let routes = createRoutes(build.routes);
1101
1108
  let dataRoutes = createStaticHandlerDataRoutes(build.routes, build.future);
1102
1109
  let serverMode = isServerMode(mode) ? mode : "production" /* Production */;
1103
- let staticHandler = _chunkH2M6MMUHjs.createStaticHandler.call(void 0, dataRoutes, {
1110
+ let staticHandler = _chunkPACOJA5Vjs.createStaticHandler.call(void 0, dataRoutes, {
1104
1111
  basename: build.basename
1105
1112
  });
1106
1113
  let errorHandler = build.entry.module.handleError || ((error, { request }) => {
1107
1114
  if (serverMode !== "test" /* Test */ && !request.signal.aborted) {
1108
1115
  console.error(
1109
1116
  // @ts-expect-error This is "private" from users but intended for internal use
1110
- _chunkH2M6MMUHjs.isRouteErrorResponse.call(void 0, error) && error.error ? error.error : error
1117
+ _chunkPACOJA5Vjs.isRouteErrorResponse.call(void 0, error) && error.error ? error.error : error
1111
1118
  );
1112
1119
  }
1113
1120
  });
@@ -1154,10 +1161,10 @@ var createRequestHandler = (build, mode) => {
1154
1161
  };
1155
1162
  if (_build.future.unstable_middleware) {
1156
1163
  if (initialContext == null) {
1157
- loadContext = new (0, _chunkH2M6MMUHjs.unstable_RouterContextProvider)();
1164
+ loadContext = new (0, _chunkPACOJA5Vjs.unstable_RouterContextProvider)();
1158
1165
  } else {
1159
1166
  try {
1160
- loadContext = new (0, _chunkH2M6MMUHjs.unstable_RouterContextProvider)(
1167
+ loadContext = new (0, _chunkPACOJA5Vjs.unstable_RouterContextProvider)(
1161
1168
  initialContext
1162
1169
  );
1163
1170
  } catch (e) {
@@ -1176,25 +1183,26 @@ Error: ${e instanceof Error ? e.toString() : e}`
1176
1183
  let url = new URL(request.url);
1177
1184
  let normalizedBasename = _build.basename || "/";
1178
1185
  let normalizedPath = url.pathname;
1179
- if (_chunkH2M6MMUHjs.stripBasename.call(void 0, normalizedPath, normalizedBasename) === "/_root.data") {
1186
+ if (_chunkPACOJA5Vjs.stripBasename.call(void 0, normalizedPath, normalizedBasename) === "/_root.data") {
1180
1187
  normalizedPath = normalizedBasename;
1181
1188
  } else if (normalizedPath.endsWith(".data")) {
1182
1189
  normalizedPath = normalizedPath.replace(/\.data$/, "");
1183
1190
  }
1184
- if (_chunkH2M6MMUHjs.stripBasename.call(void 0, normalizedPath, normalizedBasename) !== "/" && normalizedPath.endsWith("/")) {
1191
+ if (_chunkPACOJA5Vjs.stripBasename.call(void 0, normalizedPath, normalizedBasename) !== "/" && normalizedPath.endsWith("/")) {
1185
1192
  normalizedPath = normalizedPath.slice(0, -1);
1186
1193
  }
1187
1194
  let isSpaMode = getBuildTimeHeader(request, "X-React-Router-SPA-Mode") === "yes";
1188
1195
  if (!_build.ssr) {
1196
+ let decodedPath = decodeURI(normalizedPath);
1189
1197
  if (_build.prerender.length === 0) {
1190
1198
  isSpaMode = true;
1191
- } else if (!_build.prerender.includes(normalizedPath) && !_build.prerender.includes(normalizedPath + "/")) {
1199
+ } else if (!_build.prerender.includes(decodedPath) && !_build.prerender.includes(decodedPath + "/")) {
1192
1200
  if (url.pathname.endsWith(".data")) {
1193
1201
  errorHandler(
1194
- new (0, _chunkH2M6MMUHjs.ErrorResponseImpl)(
1202
+ new (0, _chunkPACOJA5Vjs.ErrorResponseImpl)(
1195
1203
  404,
1196
1204
  "Not Found",
1197
- `Refusing to SSR the path \`${normalizedPath}\` because \`ssr:false\` is set and the path is not included in the \`prerender\` config, so in production the path will be a 404.`
1205
+ `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.`
1198
1206
  ),
1199
1207
  {
1200
1208
  context: loadContext,
@@ -1211,7 +1219,7 @@ Error: ${e instanceof Error ? e.toString() : e}`
1211
1219
  }
1212
1220
  }
1213
1221
  }
1214
- let manifestUrl = _chunkH2M6MMUHjs.getManifestPath.call(void 0,
1222
+ let manifestUrl = _chunkPACOJA5Vjs.getManifestPath.call(void 0,
1215
1223
  _build.routeDiscovery.manifestPath,
1216
1224
  normalizedBasename
1217
1225
  );
@@ -1252,7 +1260,7 @@ Error: ${e instanceof Error ? e.toString() : e}`
1252
1260
  params: singleFetchMatches ? singleFetchMatches[0].params : {},
1253
1261
  request
1254
1262
  });
1255
- if (_chunkH2M6MMUHjs.isRedirectResponse.call(void 0, response)) {
1263
+ if (_chunkPACOJA5Vjs.isRedirectResponse.call(void 0, response)) {
1256
1264
  let result = getSingleFetchRedirect(
1257
1265
  response.status,
1258
1266
  response.headers,
@@ -1260,7 +1268,7 @@ Error: ${e instanceof Error ? e.toString() : e}`
1260
1268
  );
1261
1269
  if (request.method === "GET") {
1262
1270
  result = {
1263
- [_chunkH2M6MMUHjs.SingleFetchRedirectSymbol]: result
1271
+ [_chunkPACOJA5Vjs.SingleFetchRedirectSymbol]: result
1264
1272
  };
1265
1273
  }
1266
1274
  let headers = new Headers(response.headers);
@@ -1273,7 +1281,7 @@ Error: ${e instanceof Error ? e.toString() : e}`
1273
1281
  serverMode
1274
1282
  ),
1275
1283
  {
1276
- status: _chunkH2M6MMUHjs.SINGLE_FETCH_REDIRECT_STATUS,
1284
+ status: _chunkPACOJA5Vjs.SINGLE_FETCH_REDIRECT_STATUS,
1277
1285
  headers
1278
1286
  }
1279
1287
  );
@@ -1386,13 +1394,13 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1386
1394
  requestContext: loadContext,
1387
1395
  unstable_respond: build.future.unstable_middleware ? (ctx) => renderHtml(ctx, isSpaMode) : void 0
1388
1396
  });
1389
- return _chunkH2M6MMUHjs.isResponse.call(void 0, response) ? response : renderHtml(response, isSpaMode);
1397
+ return _chunkPACOJA5Vjs.isResponse.call(void 0, response) ? response : renderHtml(response, isSpaMode);
1390
1398
  } catch (error) {
1391
1399
  handleError(error);
1392
1400
  return new Response(null, { status: 500 });
1393
1401
  }
1394
1402
  async function renderHtml(context, isSpaMode2) {
1395
- if (_chunkH2M6MMUHjs.isResponse.call(void 0, context)) {
1403
+ if (_chunkPACOJA5Vjs.isResponse.call(void 0, context)) {
1396
1404
  return context;
1397
1405
  }
1398
1406
  let headers = getDocumentHeaders(context, build);
@@ -1401,7 +1409,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1401
1409
  }
1402
1410
  if (context.errors) {
1403
1411
  Object.values(context.errors).forEach((err) => {
1404
- if (!_chunkH2M6MMUHjs.isRouteErrorResponse.call(void 0, err) || err.error) {
1412
+ if (!_chunkPACOJA5Vjs.isRouteErrorResponse.call(void 0, err) || err.error) {
1405
1413
  handleError(err);
1406
1414
  }
1407
1415
  });
@@ -1439,7 +1447,8 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1439
1447
  ssr: build.ssr,
1440
1448
  routeDiscovery: build.routeDiscovery,
1441
1449
  isSpaMode: isSpaMode2,
1442
- serializeError: (err) => serializeError(err, serverMode)
1450
+ serializeError: (err) => serializeError(err, serverMode),
1451
+ loadRouteModule: _chunkDUZSUZPYjs.defaultLoadRouteModule
1443
1452
  };
1444
1453
  let handleDocumentRequestFunction = build.entry.module.default;
1445
1454
  try {
@@ -1453,10 +1462,10 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1453
1462
  } catch (error) {
1454
1463
  handleError(error);
1455
1464
  let errorForSecondRender = error;
1456
- if (_chunkH2M6MMUHjs.isResponse.call(void 0, error)) {
1465
+ if (_chunkPACOJA5Vjs.isResponse.call(void 0, error)) {
1457
1466
  try {
1458
1467
  let data2 = await unwrapResponse(error);
1459
- errorForSecondRender = new (0, _chunkH2M6MMUHjs.ErrorResponseImpl)(
1468
+ errorForSecondRender = new (0, _chunkPACOJA5Vjs.ErrorResponseImpl)(
1460
1469
  error.status,
1461
1470
  error.statusText,
1462
1471
  data2
@@ -1464,7 +1473,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1464
1473
  } catch (e) {
1465
1474
  }
1466
1475
  }
1467
- context = _chunkH2M6MMUHjs.getStaticContextFromError.call(void 0,
1476
+ context = _chunkPACOJA5Vjs.getStaticContextFromError.call(void 0,
1468
1477
  staticHandler.dataRoutes,
1469
1478
  context,
1470
1479
  errorForSecondRender
@@ -1511,7 +1520,7 @@ async function handleResourceRequest(serverMode, build, staticHandler, routeId,
1511
1520
  requestContext: loadContext,
1512
1521
  unstable_respond: build.future.unstable_middleware ? (ctx) => ctx : void 0
1513
1522
  });
1514
- if (_chunkH2M6MMUHjs.isResponse.call(void 0, response)) {
1523
+ if (_chunkPACOJA5Vjs.isResponse.call(void 0, response)) {
1515
1524
  return response;
1516
1525
  }
1517
1526
  if (typeof response === "string") {
@@ -1519,11 +1528,11 @@ async function handleResourceRequest(serverMode, build, staticHandler, routeId,
1519
1528
  }
1520
1529
  return Response.json(response);
1521
1530
  } catch (error) {
1522
- if (_chunkH2M6MMUHjs.isResponse.call(void 0, error)) {
1531
+ if (_chunkPACOJA5Vjs.isResponse.call(void 0, error)) {
1523
1532
  error.headers.set("X-Remix-Catch", "yes");
1524
1533
  return error;
1525
1534
  }
1526
- if (_chunkH2M6MMUHjs.isRouteErrorResponse.call(void 0, error)) {
1535
+ if (_chunkPACOJA5Vjs.isRouteErrorResponse.call(void 0, error)) {
1527
1536
  if (error) {
1528
1537
  handleError(error);
1529
1538
  }
@@ -1651,7 +1660,7 @@ function createSessionStorage({
1651
1660
  };
1652
1661
  }
1653
1662
  function warnOnceAboutSigningSessionCookie(cookie) {
1654
- _chunkH2M6MMUHjs.warnOnce.call(void 0,
1663
+ _chunkPACOJA5Vjs.warnOnce.call(void 0,
1655
1664
  cookie.isSigned,
1656
1665
  `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.`
1657
1666
  );
@@ -1746,12 +1755,12 @@ function getHydrationData(state, routes, getRouteInfo, location2, basename, isSp
1746
1755
  ...state,
1747
1756
  loaderData: { ...state.loaderData }
1748
1757
  };
1749
- let initialMatches = _chunkH2M6MMUHjs.matchRoutes.call(void 0, routes, location2, basename);
1758
+ let initialMatches = _chunkPACOJA5Vjs.matchRoutes.call(void 0, routes, location2, basename);
1750
1759
  if (initialMatches) {
1751
1760
  for (let match of initialMatches) {
1752
1761
  let routeId = match.route.id;
1753
1762
  let routeInfo = getRouteInfo(routeId);
1754
- if (_chunkH2M6MMUHjs.shouldHydrateRouteLoader.call(void 0,
1763
+ if (_chunkPACOJA5Vjs.shouldHydrateRouteLoader.call(void 0,
1755
1764
  routeId,
1756
1765
  routeInfo.clientLoader,
1757
1766
  routeInfo.hasLoader,
@@ -1829,7 +1838,7 @@ function RSCDefaultRootErrorBoundaryImpl({
1829
1838
  }
1830
1839
  }
1831
1840
  );
1832
- if (_chunkH2M6MMUHjs.isRouteErrorResponse.call(void 0, error)) {
1841
+ if (_chunkPACOJA5Vjs.isRouteErrorResponse.call(void 0, error)) {
1833
1842
  return /* @__PURE__ */ React.default.createElement(
1834
1843
  ErrorWrapper,
1835
1844
  {
@@ -1837,7 +1846,7 @@ function RSCDefaultRootErrorBoundaryImpl({
1837
1846
  title: "Unhandled Thrown Response!"
1838
1847
  },
1839
1848
  /* @__PURE__ */ React.default.createElement("h1", { style: { fontSize: "24px" } }, error.status, " ", error.statusText),
1840
- _chunkH2M6MMUHjs.ENABLE_DEV_WARNINGS ? heyDeveloper : null
1849
+ _chunkPACOJA5Vjs.ENABLE_DEV_WARNINGS ? heyDeveloper : null
1841
1850
  );
1842
1851
  }
1843
1852
  let errorInstance;
@@ -1863,7 +1872,7 @@ function RSCDefaultRootErrorBoundaryImpl({
1863
1872
  function RSCDefaultRootErrorBoundary({
1864
1873
  hasRootLayout
1865
1874
  }) {
1866
- let error = _chunkH2M6MMUHjs.useRouteError.call(void 0, );
1875
+ let error = _chunkPACOJA5Vjs.useRouteError.call(void 0, );
1867
1876
  if (hasRootLayout === void 0) {
1868
1877
  throw new Error("Missing 'hasRootLayout' prop");
1869
1878
  }
@@ -1971,7 +1980,7 @@ function createRouterFromPayload({
1971
1980
  if (payload.type !== "render") throw new Error("Invalid payload type");
1972
1981
  let patches = /* @__PURE__ */ new Map();
1973
1982
  _optionalChain([payload, 'access', _19 => _19.patches, 'optionalAccess', _20 => _20.forEach, 'call', _21 => _21((patch) => {
1974
- _chunkH2M6MMUHjs.invariant.call(void 0, patch.parentId, "Invalid patch parentId");
1983
+ _chunkPACOJA5Vjs.invariant.call(void 0, patch.parentId, "Invalid patch parentId");
1975
1984
  if (!patches.has(patch.parentId)) {
1976
1985
  patches.set(patch.parentId, []);
1977
1986
  }
@@ -1993,10 +2002,10 @@ function createRouterFromPayload({
1993
2002
  }
1994
2003
  return [route];
1995
2004
  }, []);
1996
- window.__router = _chunkH2M6MMUHjs.createRouter.call(void 0, {
2005
+ window.__router = _chunkPACOJA5Vjs.createRouter.call(void 0, {
1997
2006
  routes,
1998
2007
  basename: payload.basename,
1999
- history: _chunkH2M6MMUHjs.createBrowserHistory.call(void 0, ),
2008
+ history: _chunkPACOJA5Vjs.createBrowserHistory.call(void 0, ),
2000
2009
  hydrationData: getHydrationData(
2001
2010
  {
2002
2011
  loaderData: payload.loaderData,
@@ -2006,7 +2015,7 @@ function createRouterFromPayload({
2006
2015
  routes,
2007
2016
  (routeId) => {
2008
2017
  let match = payload.matches.find((m) => m.id === routeId);
2009
- _chunkH2M6MMUHjs.invariant.call(void 0, match, "Route not found in payload");
2018
+ _chunkPACOJA5Vjs.invariant.call(void 0, match, "Route not found in payload");
2010
2019
  return {
2011
2020
  clientLoader: match.clientLoader,
2012
2021
  hasLoader: match.hasLoader,
@@ -2051,9 +2060,9 @@ function createRouterFromPayload({
2051
2060
  });
2052
2061
  return window.__router;
2053
2062
  }
2054
- var renderedRoutesContext = _chunkH2M6MMUHjs.unstable_createContext.call(void 0, );
2063
+ var renderedRoutesContext = _chunkPACOJA5Vjs.unstable_createContext.call(void 0, );
2055
2064
  function getRSCSingleFetchDataStrategy(getRouter, ssr, basename, createFromReadableStream, fetchImplementation) {
2056
- let dataStrategy = _chunkH2M6MMUHjs.getSingleFetchDataStrategyImpl.call(void 0,
2065
+ let dataStrategy = _chunkPACOJA5Vjs.getSingleFetchDataStrategyImpl.call(void 0,
2057
2066
  getRouter,
2058
2067
  (match) => {
2059
2068
  let M = match;
@@ -2107,20 +2116,20 @@ function getRSCSingleFetchDataStrategy(getRouter, ssr, basename, createFromReada
2107
2116
  function getFetchAndDecodeViaRSC(createFromReadableStream, fetchImplementation) {
2108
2117
  return async (args, basename, targetRoutes) => {
2109
2118
  let { request, context } = args;
2110
- let url = _chunkH2M6MMUHjs.singleFetchUrl.call(void 0, request.url, basename, "rsc");
2119
+ let url = _chunkPACOJA5Vjs.singleFetchUrl.call(void 0, request.url, basename, "rsc");
2111
2120
  if (request.method === "GET") {
2112
- url = _chunkH2M6MMUHjs.stripIndexParam.call(void 0, url);
2121
+ url = _chunkPACOJA5Vjs.stripIndexParam.call(void 0, url);
2113
2122
  if (targetRoutes) {
2114
2123
  url.searchParams.set("_routes", targetRoutes.join(","));
2115
2124
  }
2116
2125
  }
2117
2126
  let res = await fetchImplementation(
2118
- new Request(url, await _chunkH2M6MMUHjs.createRequestInit.call(void 0, request))
2127
+ new Request(url, await _chunkPACOJA5Vjs.createRequestInit.call(void 0, request))
2119
2128
  );
2120
2129
  if (res.status === 404 && !res.headers.has("X-Remix-Response")) {
2121
- throw new (0, _chunkH2M6MMUHjs.ErrorResponseImpl)(404, "Not Found", true);
2130
+ throw new (0, _chunkPACOJA5Vjs.ErrorResponseImpl)(404, "Not Found", true);
2122
2131
  }
2123
- _chunkH2M6MMUHjs.invariant.call(void 0, res.body, "No response body to decode");
2132
+ _chunkPACOJA5Vjs.invariant.call(void 0, res.body, "No response body to decode");
2124
2133
  try {
2125
2134
  const payload = await createFromReadableStream(res.body, {
2126
2135
  temporaryReferences: void 0
@@ -2144,7 +2153,7 @@ function getFetchAndDecodeViaRSC(createFromReadableStream, fetchImplementation)
2144
2153
  }
2145
2154
  context.get(renderedRoutesContext).push(...payload.matches);
2146
2155
  let results = { routes: {} };
2147
- const dataKey = _chunkH2M6MMUHjs.isMutationMethod.call(void 0, request.method) ? "actionData" : "loaderData";
2156
+ const dataKey = _chunkPACOJA5Vjs.isMutationMethod.call(void 0, request.method) ? "actionData" : "loaderData";
2148
2157
  for (let [routeId, data2] of Object.entries(payload[dataKey] || {})) {
2149
2158
  results.routes[routeId] = { data: data2 };
2150
2159
  }
@@ -2256,9 +2265,12 @@ function RSCHydratedRouter({
2256
2265
  }
2257
2266
  },
2258
2267
  routeDiscovery: { mode: "lazy", manifestPath: "/__manifest" },
2259
- routeModules: {}
2268
+ routeModules: {},
2269
+ loadRouteModule: () => {
2270
+ throw new Error("Not required in RSC Mode");
2271
+ }
2260
2272
  };
2261
- return /* @__PURE__ */ React4.createElement(_chunkH2M6MMUHjs.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React4.createElement(RSCRouterGlobalErrorBoundary, { location: location2 }, /* @__PURE__ */ React4.createElement(_chunkH2M6MMUHjs.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React4.createElement(_chunkH2M6MMUHjs.RouterProvider, { router, flushSync: ReactDOM.flushSync }))));
2273
+ return /* @__PURE__ */ React4.createElement(_chunkPACOJA5Vjs.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React4.createElement(RSCRouterGlobalErrorBoundary, { location: location2 }, /* @__PURE__ */ React4.createElement(_chunkPACOJA5Vjs.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React4.createElement(_chunkPACOJA5Vjs.RouterProvider, { router, flushSync: ReactDOM.flushSync }))));
2262
2274
  }
2263
2275
  function createRouteFromServerManifest(match, payload) {
2264
2276
  let hasInitialData = payload && match.id in payload.loaderData;
@@ -2318,7 +2330,7 @@ function createRouteFromServerManifest(match, payload) {
2318
2330
  return await callSingleFetch(singleFetch);
2319
2331
  }
2320
2332
  }) : match.hasAction ? (_, singleFetch) => callSingleFetch(singleFetch) : () => {
2321
- throw _chunkH2M6MMUHjs.noActionDefinedError.call(void 0, "action", match.id);
2333
+ throw _chunkPACOJA5Vjs.noActionDefinedError.call(void 0, "action", match.id);
2322
2334
  },
2323
2335
  path: match.path,
2324
2336
  shouldRevalidate: match.shouldRevalidate,
@@ -2331,7 +2343,7 @@ function createRouteFromServerManifest(match, payload) {
2331
2343
  hasShouldRevalidate: match.shouldRevalidate != null
2332
2344
  };
2333
2345
  if (typeof dataRoute.loader === "function") {
2334
- dataRoute.loader.hydrate = _chunkH2M6MMUHjs.shouldHydrateRouteLoader.call(void 0,
2346
+ dataRoute.loader.hydrate = _chunkPACOJA5Vjs.shouldHydrateRouteLoader.call(void 0,
2335
2347
  match.id,
2336
2348
  match.clientLoader,
2337
2349
  match.hasLoader,
@@ -2341,7 +2353,7 @@ function createRouteFromServerManifest(match, payload) {
2341
2353
  return dataRoute;
2342
2354
  }
2343
2355
  function callSingleFetch(singleFetch) {
2344
- _chunkH2M6MMUHjs.invariant.call(void 0, typeof singleFetch === "function", "Invalid singleFetch parameter");
2356
+ _chunkPACOJA5Vjs.invariant.call(void 0, typeof singleFetch === "function", "Invalid singleFetch parameter");
2345
2357
  return singleFetch();
2346
2358
  }
2347
2359
  function preventInvalidServerHandlerCall(type, routeId, hasHandler) {
@@ -2349,7 +2361,7 @@ function preventInvalidServerHandlerCall(type, routeId, hasHandler) {
2349
2361
  let fn = type === "action" ? "serverAction()" : "serverLoader()";
2350
2362
  let msg = `You are trying to call ${fn} on a route that does not have a server ${type} (routeId: "${routeId}")`;
2351
2363
  console.error(msg);
2352
- throw new (0, _chunkH2M6MMUHjs.ErrorResponseImpl)(400, "Bad Request", new Error(msg), true);
2364
+ throw new (0, _chunkPACOJA5Vjs.ErrorResponseImpl)(400, "Bad Request", new Error(msg), true);
2353
2365
  }
2354
2366
  }
2355
2367
  var nextPaths = /* @__PURE__ */ new Set();
@@ -2567,12 +2579,23 @@ function RSCStaticRouter({
2567
2579
  });
2568
2580
  }
2569
2581
  if (payload.type !== "render") return null;
2582
+ let patchedLoaderData = { ...payload.loaderData };
2583
+ for (const match of payload.matches) {
2584
+ if (_chunkPACOJA5Vjs.shouldHydrateRouteLoader.call(void 0,
2585
+ match.id,
2586
+ match.clientLoader,
2587
+ match.hasLoader,
2588
+ false
2589
+ ) && (match.hydrateFallbackElement || !match.hasLoader)) {
2590
+ delete patchedLoaderData[match.id];
2591
+ }
2592
+ }
2570
2593
  const context = {
2571
2594
  actionData: payload.actionData,
2572
2595
  actionHeaders: {},
2573
2596
  basename: payload.basename,
2574
2597
  errors: payload.errors,
2575
- loaderData: payload.loaderData,
2598
+ loaderData: patchedLoaderData,
2576
2599
  loaderHeaders: {},
2577
2600
  location: payload.location,
2578
2601
  statusCode: 200,
@@ -2592,7 +2615,7 @@ function RSCStaticRouter({
2592
2615
  }
2593
2616
  }))
2594
2617
  };
2595
- const router = _chunkH2M6MMUHjs.createStaticRouter.call(void 0,
2618
+ const router = _chunkPACOJA5Vjs.createStaticRouter.call(void 0,
2596
2619
  payload.matches.reduceRight((previous, match) => {
2597
2620
  const route = {
2598
2621
  id: match.id,
@@ -2634,10 +2657,13 @@ function RSCStaticRouter({
2634
2657
  }
2635
2658
  },
2636
2659
  routeDiscovery: { mode: "lazy", manifestPath: "/__manifest" },
2637
- routeModules: {}
2660
+ routeModules: {},
2661
+ loadRouteModule: () => {
2662
+ throw new Error("Not required in RSC Mode");
2663
+ }
2638
2664
  };
2639
- return /* @__PURE__ */ React5.createElement(_chunkH2M6MMUHjs.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React5.createElement(RSCRouterGlobalErrorBoundary, { location: payload.location }, /* @__PURE__ */ React5.createElement(_chunkH2M6MMUHjs.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React5.createElement(
2640
- _chunkH2M6MMUHjs.StaticRouterProvider,
2665
+ return /* @__PURE__ */ React5.createElement(_chunkPACOJA5Vjs.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React5.createElement(RSCRouterGlobalErrorBoundary, { location: payload.location }, /* @__PURE__ */ React5.createElement(_chunkPACOJA5Vjs.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React5.createElement(
2666
+ _chunkPACOJA5Vjs.StaticRouterProvider,
2641
2667
  {
2642
2668
  context,
2643
2669
  router,
@@ -2695,7 +2721,7 @@ function deserializeErrors(errors) {
2695
2721
  let serialized = {};
2696
2722
  for (let [key, val] of entries) {
2697
2723
  if (val && val.__type === "RouteErrorResponse") {
2698
- serialized[key] = new (0, _chunkH2M6MMUHjs.ErrorResponseImpl)(
2724
+ serialized[key] = new (0, _chunkPACOJA5Vjs.ErrorResponseImpl)(
2699
2725
  val.status,
2700
2726
  val.statusText,
2701
2727
  val.data,
@@ -2850,4 +2876,4 @@ function deserializeErrors(errors) {
2850
2876
 
2851
2877
 
2852
2878
 
2853
- exports.Await = _chunkH2M6MMUHjs.Await; exports.BrowserRouter = _chunkH2M6MMUHjs.BrowserRouter; exports.Form = _chunkH2M6MMUHjs.Form; exports.HashRouter = _chunkH2M6MMUHjs.HashRouter; exports.IDLE_BLOCKER = _chunkH2M6MMUHjs.IDLE_BLOCKER; exports.IDLE_FETCHER = _chunkH2M6MMUHjs.IDLE_FETCHER; exports.IDLE_NAVIGATION = _chunkH2M6MMUHjs.IDLE_NAVIGATION; exports.Link = _chunkH2M6MMUHjs.Link; exports.Links = _chunkH2M6MMUHjs.Links; exports.MemoryRouter = _chunkH2M6MMUHjs.MemoryRouter; exports.Meta = _chunkH2M6MMUHjs.Meta; exports.NavLink = _chunkH2M6MMUHjs.NavLink; exports.Navigate = _chunkH2M6MMUHjs.Navigate; exports.NavigationType = _chunkH2M6MMUHjs.Action; exports.Outlet = _chunkH2M6MMUHjs.Outlet; exports.PrefetchPageLinks = _chunkH2M6MMUHjs.PrefetchPageLinks; exports.Route = _chunkH2M6MMUHjs.Route; exports.Router = _chunkH2M6MMUHjs.Router; exports.RouterProvider = _chunkH2M6MMUHjs.RouterProvider; exports.Routes = _chunkH2M6MMUHjs.Routes; exports.Scripts = _chunkH2M6MMUHjs.Scripts; exports.ScrollRestoration = _chunkH2M6MMUHjs.ScrollRestoration; exports.ServerRouter = ServerRouter; exports.StaticRouter = _chunkH2M6MMUHjs.StaticRouter; exports.StaticRouterProvider = _chunkH2M6MMUHjs.StaticRouterProvider; exports.UNSAFE_DataRouterContext = _chunkH2M6MMUHjs.DataRouterContext; exports.UNSAFE_DataRouterStateContext = _chunkH2M6MMUHjs.DataRouterStateContext; exports.UNSAFE_ErrorResponseImpl = _chunkH2M6MMUHjs.ErrorResponseImpl; exports.UNSAFE_FetchersContext = _chunkH2M6MMUHjs.FetchersContext; exports.UNSAFE_FrameworkContext = _chunkH2M6MMUHjs.FrameworkContext; exports.UNSAFE_LocationContext = _chunkH2M6MMUHjs.LocationContext; exports.UNSAFE_NavigationContext = _chunkH2M6MMUHjs.NavigationContext; exports.UNSAFE_RSCDefaultRootErrorBoundary = RSCDefaultRootErrorBoundary; exports.UNSAFE_RemixErrorBoundary = _chunkH2M6MMUHjs.RemixErrorBoundary; exports.UNSAFE_RouteContext = _chunkH2M6MMUHjs.RouteContext; exports.UNSAFE_ServerMode = ServerMode; exports.UNSAFE_SingleFetchRedirectSymbol = _chunkH2M6MMUHjs.SingleFetchRedirectSymbol; exports.UNSAFE_ViewTransitionContext = _chunkH2M6MMUHjs.ViewTransitionContext; exports.UNSAFE_createBrowserHistory = _chunkH2M6MMUHjs.createBrowserHistory; exports.UNSAFE_createClientRoutes = _chunkH2M6MMUHjs.createClientRoutes; exports.UNSAFE_createClientRoutesWithHMRRevalidationOptOut = _chunkH2M6MMUHjs.createClientRoutesWithHMRRevalidationOptOut; exports.UNSAFE_createRouter = _chunkH2M6MMUHjs.createRouter; exports.UNSAFE_decodeViaTurboStream = _chunkH2M6MMUHjs.decodeViaTurboStream; exports.UNSAFE_deserializeErrors = deserializeErrors; exports.UNSAFE_getHydrationData = getHydrationData; exports.UNSAFE_getPatchRoutesOnNavigationFunction = _chunkH2M6MMUHjs.getPatchRoutesOnNavigationFunction; exports.UNSAFE_getTurboStreamSingleFetchDataStrategy = _chunkH2M6MMUHjs.getTurboStreamSingleFetchDataStrategy; exports.UNSAFE_hydrationRouteProperties = _chunkH2M6MMUHjs.hydrationRouteProperties; exports.UNSAFE_invariant = _chunkH2M6MMUHjs.invariant; exports.UNSAFE_mapRouteProperties = _chunkH2M6MMUHjs.mapRouteProperties; exports.UNSAFE_shouldHydrateRouteLoader = _chunkH2M6MMUHjs.shouldHydrateRouteLoader; exports.UNSAFE_useFogOFWarDiscovery = _chunkH2M6MMUHjs.useFogOFWarDiscovery; exports.UNSAFE_useScrollRestoration = _chunkH2M6MMUHjs.useScrollRestoration; exports.UNSAFE_withComponentProps = _chunkH2M6MMUHjs.withComponentProps; exports.UNSAFE_withErrorBoundaryProps = _chunkH2M6MMUHjs.withErrorBoundaryProps; exports.UNSAFE_withHydrateFallbackProps = _chunkH2M6MMUHjs.withHydrateFallbackProps; exports.createBrowserRouter = _chunkH2M6MMUHjs.createBrowserRouter; exports.createCookie = createCookie; exports.createCookieSessionStorage = createCookieSessionStorage; exports.createHashRouter = _chunkH2M6MMUHjs.createHashRouter; exports.createMemoryRouter = _chunkH2M6MMUHjs.createMemoryRouter; exports.createMemorySessionStorage = createMemorySessionStorage; exports.createPath = _chunkH2M6MMUHjs.createPath; exports.createRequestHandler = createRequestHandler; exports.createRoutesFromChildren = _chunkH2M6MMUHjs.createRoutesFromChildren; exports.createRoutesFromElements = _chunkH2M6MMUHjs.createRoutesFromElements; exports.createRoutesStub = createRoutesStub; exports.createSearchParams = _chunkH2M6MMUHjs.createSearchParams; exports.createSession = createSession; exports.createSessionStorage = createSessionStorage; exports.createStaticHandler = _chunkH2M6MMUHjs.createStaticHandler2; exports.createStaticRouter = _chunkH2M6MMUHjs.createStaticRouter; exports.data = _chunkH2M6MMUHjs.data; exports.generatePath = _chunkH2M6MMUHjs.generatePath; exports.href = href; exports.isCookie = isCookie; exports.isRouteErrorResponse = _chunkH2M6MMUHjs.isRouteErrorResponse; exports.isSession = isSession; exports.matchPath = _chunkH2M6MMUHjs.matchPath; exports.matchRoutes = _chunkH2M6MMUHjs.matchRoutes; exports.parsePath = _chunkH2M6MMUHjs.parsePath; exports.redirect = _chunkH2M6MMUHjs.redirect; exports.redirectDocument = _chunkH2M6MMUHjs.redirectDocument; exports.renderMatches = _chunkH2M6MMUHjs.renderMatches; exports.replace = _chunkH2M6MMUHjs.replace; exports.resolvePath = _chunkH2M6MMUHjs.resolvePath; exports.unstable_HistoryRouter = _chunkH2M6MMUHjs.HistoryRouter; exports.unstable_RSCHydratedRouter = RSCHydratedRouter; exports.unstable_RSCStaticRouter = RSCStaticRouter; exports.unstable_RouterContextProvider = _chunkH2M6MMUHjs.unstable_RouterContextProvider; exports.unstable_createCallServer = createCallServer; exports.unstable_createContext = _chunkH2M6MMUHjs.unstable_createContext; exports.unstable_getRSCStream = getRSCStream; exports.unstable_routeRSCServerRequest = routeRSCServerRequest; exports.unstable_setDevServerHooks = setDevServerHooks; exports.unstable_usePrompt = _chunkH2M6MMUHjs.usePrompt; exports.useActionData = _chunkH2M6MMUHjs.useActionData; exports.useAsyncError = _chunkH2M6MMUHjs.useAsyncError; exports.useAsyncValue = _chunkH2M6MMUHjs.useAsyncValue; exports.useBeforeUnload = _chunkH2M6MMUHjs.useBeforeUnload; exports.useBlocker = _chunkH2M6MMUHjs.useBlocker; exports.useFetcher = _chunkH2M6MMUHjs.useFetcher; exports.useFetchers = _chunkH2M6MMUHjs.useFetchers; exports.useFormAction = _chunkH2M6MMUHjs.useFormAction; exports.useHref = _chunkH2M6MMUHjs.useHref; exports.useInRouterContext = _chunkH2M6MMUHjs.useInRouterContext; exports.useLinkClickHandler = _chunkH2M6MMUHjs.useLinkClickHandler; exports.useLoaderData = _chunkH2M6MMUHjs.useLoaderData; exports.useLocation = _chunkH2M6MMUHjs.useLocation; exports.useMatch = _chunkH2M6MMUHjs.useMatch; exports.useMatches = _chunkH2M6MMUHjs.useMatches; exports.useNavigate = _chunkH2M6MMUHjs.useNavigate; exports.useNavigation = _chunkH2M6MMUHjs.useNavigation; exports.useNavigationType = _chunkH2M6MMUHjs.useNavigationType; exports.useOutlet = _chunkH2M6MMUHjs.useOutlet; exports.useOutletContext = _chunkH2M6MMUHjs.useOutletContext; exports.useParams = _chunkH2M6MMUHjs.useParams; exports.useResolvedPath = _chunkH2M6MMUHjs.useResolvedPath; exports.useRevalidator = _chunkH2M6MMUHjs.useRevalidator; exports.useRouteError = _chunkH2M6MMUHjs.useRouteError; exports.useRouteLoaderData = _chunkH2M6MMUHjs.useRouteLoaderData; exports.useRoutes = _chunkH2M6MMUHjs.useRoutes; exports.useSearchParams = _chunkH2M6MMUHjs.useSearchParams; exports.useSubmit = _chunkH2M6MMUHjs.useSubmit; exports.useViewTransitionState = _chunkH2M6MMUHjs.useViewTransitionState;
2879
+ exports.Await = _chunkPACOJA5Vjs.Await; exports.BrowserRouter = _chunkPACOJA5Vjs.BrowserRouter; exports.Form = _chunkPACOJA5Vjs.Form; exports.HashRouter = _chunkPACOJA5Vjs.HashRouter; exports.IDLE_BLOCKER = _chunkPACOJA5Vjs.IDLE_BLOCKER; exports.IDLE_FETCHER = _chunkPACOJA5Vjs.IDLE_FETCHER; exports.IDLE_NAVIGATION = _chunkPACOJA5Vjs.IDLE_NAVIGATION; exports.Link = _chunkPACOJA5Vjs.Link; exports.Links = _chunkPACOJA5Vjs.Links; exports.MemoryRouter = _chunkPACOJA5Vjs.MemoryRouter; exports.Meta = _chunkPACOJA5Vjs.Meta; exports.NavLink = _chunkPACOJA5Vjs.NavLink; exports.Navigate = _chunkPACOJA5Vjs.Navigate; exports.NavigationType = _chunkPACOJA5Vjs.Action; exports.Outlet = _chunkPACOJA5Vjs.Outlet; exports.PrefetchPageLinks = _chunkPACOJA5Vjs.PrefetchPageLinks; exports.Route = _chunkPACOJA5Vjs.Route; exports.Router = _chunkPACOJA5Vjs.Router; exports.RouterProvider = _chunkPACOJA5Vjs.RouterProvider; exports.Routes = _chunkPACOJA5Vjs.Routes; exports.Scripts = _chunkPACOJA5Vjs.Scripts; exports.ScrollRestoration = _chunkPACOJA5Vjs.ScrollRestoration; exports.ServerRouter = ServerRouter; exports.StaticRouter = _chunkPACOJA5Vjs.StaticRouter; exports.StaticRouterProvider = _chunkPACOJA5Vjs.StaticRouterProvider; exports.UNSAFE_DataRouterContext = _chunkPACOJA5Vjs.DataRouterContext; exports.UNSAFE_DataRouterStateContext = _chunkPACOJA5Vjs.DataRouterStateContext; exports.UNSAFE_ErrorResponseImpl = _chunkPACOJA5Vjs.ErrorResponseImpl; exports.UNSAFE_FetchersContext = _chunkPACOJA5Vjs.FetchersContext; exports.UNSAFE_FrameworkContext = _chunkPACOJA5Vjs.FrameworkContext; exports.UNSAFE_LocationContext = _chunkPACOJA5Vjs.LocationContext; exports.UNSAFE_NavigationContext = _chunkPACOJA5Vjs.NavigationContext; exports.UNSAFE_RSCDefaultRootErrorBoundary = RSCDefaultRootErrorBoundary; exports.UNSAFE_RemixErrorBoundary = _chunkPACOJA5Vjs.RemixErrorBoundary; exports.UNSAFE_RouteContext = _chunkPACOJA5Vjs.RouteContext; exports.UNSAFE_ServerMode = ServerMode; exports.UNSAFE_SingleFetchRedirectSymbol = _chunkPACOJA5Vjs.SingleFetchRedirectSymbol; exports.UNSAFE_ViewTransitionContext = _chunkPACOJA5Vjs.ViewTransitionContext; exports.UNSAFE_createBrowserHistory = _chunkPACOJA5Vjs.createBrowserHistory; exports.UNSAFE_createClientRoutes = _chunkPACOJA5Vjs.createClientRoutes; exports.UNSAFE_createClientRoutesWithHMRRevalidationOptOut = _chunkPACOJA5Vjs.createClientRoutesWithHMRRevalidationOptOut; exports.UNSAFE_createRouter = _chunkPACOJA5Vjs.createRouter; exports.UNSAFE_decodeViaTurboStream = _chunkPACOJA5Vjs.decodeViaTurboStream; exports.UNSAFE_deserializeErrors = deserializeErrors; exports.UNSAFE_getHydrationData = getHydrationData; exports.UNSAFE_getPatchRoutesOnNavigationFunction = _chunkPACOJA5Vjs.getPatchRoutesOnNavigationFunction; exports.UNSAFE_getTurboStreamSingleFetchDataStrategy = _chunkPACOJA5Vjs.getTurboStreamSingleFetchDataStrategy; exports.UNSAFE_hydrationRouteProperties = _chunkPACOJA5Vjs.hydrationRouteProperties; exports.UNSAFE_invariant = _chunkPACOJA5Vjs.invariant; exports.UNSAFE_mapRouteProperties = _chunkPACOJA5Vjs.mapRouteProperties; exports.UNSAFE_shouldHydrateRouteLoader = _chunkPACOJA5Vjs.shouldHydrateRouteLoader; exports.UNSAFE_useFogOFWarDiscovery = _chunkPACOJA5Vjs.useFogOFWarDiscovery; exports.UNSAFE_useScrollRestoration = _chunkPACOJA5Vjs.useScrollRestoration; exports.UNSAFE_withComponentProps = _chunkPACOJA5Vjs.withComponentProps; exports.UNSAFE_withErrorBoundaryProps = _chunkPACOJA5Vjs.withErrorBoundaryProps; exports.UNSAFE_withHydrateFallbackProps = _chunkPACOJA5Vjs.withHydrateFallbackProps; exports.createBrowserRouter = _chunkPACOJA5Vjs.createBrowserRouter; exports.createCookie = createCookie; exports.createCookieSessionStorage = createCookieSessionStorage; exports.createHashRouter = _chunkPACOJA5Vjs.createHashRouter; exports.createMemoryRouter = _chunkPACOJA5Vjs.createMemoryRouter; exports.createMemorySessionStorage = createMemorySessionStorage; exports.createPath = _chunkPACOJA5Vjs.createPath; exports.createRequestHandler = createRequestHandler; exports.createRoutesFromChildren = _chunkPACOJA5Vjs.createRoutesFromChildren; exports.createRoutesFromElements = _chunkPACOJA5Vjs.createRoutesFromElements; exports.createRoutesStub = createRoutesStub; exports.createSearchParams = _chunkPACOJA5Vjs.createSearchParams; exports.createSession = createSession; exports.createSessionStorage = createSessionStorage; exports.createStaticHandler = _chunkPACOJA5Vjs.createStaticHandler2; exports.createStaticRouter = _chunkPACOJA5Vjs.createStaticRouter; exports.data = _chunkPACOJA5Vjs.data; exports.generatePath = _chunkPACOJA5Vjs.generatePath; exports.href = href; exports.isCookie = isCookie; exports.isRouteErrorResponse = _chunkPACOJA5Vjs.isRouteErrorResponse; exports.isSession = isSession; exports.matchPath = _chunkPACOJA5Vjs.matchPath; exports.matchRoutes = _chunkPACOJA5Vjs.matchRoutes; exports.parsePath = _chunkPACOJA5Vjs.parsePath; exports.redirect = _chunkPACOJA5Vjs.redirect; exports.redirectDocument = _chunkPACOJA5Vjs.redirectDocument; exports.renderMatches = _chunkPACOJA5Vjs.renderMatches; exports.replace = _chunkPACOJA5Vjs.replace; exports.resolvePath = _chunkPACOJA5Vjs.resolvePath; exports.unstable_HistoryRouter = _chunkPACOJA5Vjs.HistoryRouter; exports.unstable_RSCHydratedRouter = RSCHydratedRouter; exports.unstable_RSCStaticRouter = RSCStaticRouter; exports.unstable_RouterContextProvider = _chunkPACOJA5Vjs.unstable_RouterContextProvider; exports.unstable_createCallServer = createCallServer; exports.unstable_createContext = _chunkPACOJA5Vjs.unstable_createContext; exports.unstable_getRSCStream = getRSCStream; exports.unstable_routeRSCServerRequest = routeRSCServerRequest; exports.unstable_setDevServerHooks = setDevServerHooks; exports.unstable_usePrompt = _chunkPACOJA5Vjs.usePrompt; exports.useActionData = _chunkPACOJA5Vjs.useActionData; exports.useAsyncError = _chunkPACOJA5Vjs.useAsyncError; exports.useAsyncValue = _chunkPACOJA5Vjs.useAsyncValue; exports.useBeforeUnload = _chunkPACOJA5Vjs.useBeforeUnload; exports.useBlocker = _chunkPACOJA5Vjs.useBlocker; exports.useFetcher = _chunkPACOJA5Vjs.useFetcher; exports.useFetchers = _chunkPACOJA5Vjs.useFetchers; exports.useFormAction = _chunkPACOJA5Vjs.useFormAction; exports.useHref = _chunkPACOJA5Vjs.useHref; exports.useInRouterContext = _chunkPACOJA5Vjs.useInRouterContext; exports.useLinkClickHandler = _chunkPACOJA5Vjs.useLinkClickHandler; exports.useLoaderData = _chunkPACOJA5Vjs.useLoaderData; exports.useLocation = _chunkPACOJA5Vjs.useLocation; exports.useMatch = _chunkPACOJA5Vjs.useMatch; exports.useMatches = _chunkPACOJA5Vjs.useMatches; exports.useNavigate = _chunkPACOJA5Vjs.useNavigate; exports.useNavigation = _chunkPACOJA5Vjs.useNavigation; exports.useNavigationType = _chunkPACOJA5Vjs.useNavigationType; exports.useOutlet = _chunkPACOJA5Vjs.useOutlet; exports.useOutletContext = _chunkPACOJA5Vjs.useOutletContext; exports.useParams = _chunkPACOJA5Vjs.useParams; exports.useResolvedPath = _chunkPACOJA5Vjs.useResolvedPath; exports.useRevalidator = _chunkPACOJA5Vjs.useRevalidator; exports.useRouteError = _chunkPACOJA5Vjs.useRouteError; exports.useRouteLoaderData = _chunkPACOJA5Vjs.useRouteLoaderData; exports.useRoutes = _chunkPACOJA5Vjs.useRoutes; exports.useSearchParams = _chunkPACOJA5Vjs.useSearchParams; exports.useSubmit = _chunkPACOJA5Vjs.useSubmit; exports.useViewTransitionState = _chunkPACOJA5Vjs.useViewTransitionState;