react-router 0.0.0-experimental-1d8f3ee → 0.0.0-experimental-235eba2

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 (39) hide show
  1. package/dist/development/{chunk-PACOJA5V.js → chunk-FMGWC27P.js} +9 -9
  2. package/dist/{production/chunk-FDXAKVCT.mjs → development/chunk-G5SITQUG.mjs} +2 -2
  3. package/dist/development/{chunk-DUZSUZPY.js → chunk-IPBRDHM5.js} +1 -1
  4. package/dist/development/{chunk-LCKD6EHG.mjs → chunk-QIMD7XHI.mjs} +4 -4
  5. package/dist/development/{chunk-XDNTV7B4.js → chunk-VI6JQQJE.js} +1 -1
  6. package/dist/development/dom-export.d.mts +1 -1
  7. package/dist/development/dom-export.d.ts +1 -1
  8. package/dist/development/dom-export.js +5 -5
  9. package/dist/development/dom-export.mjs +4 -4
  10. package/dist/development/index-react-server-client.js +4 -4
  11. package/dist/development/index-react-server-client.mjs +2 -2
  12. package/dist/development/index-react-server.js +1 -1
  13. package/dist/development/index-react-server.mjs +1 -1
  14. package/dist/development/index.d.mts +1 -1
  15. package/dist/development/index.d.ts +1 -1
  16. package/dist/development/index.js +100 -100
  17. package/dist/development/index.mjs +3 -3
  18. package/dist/development/lib/types/internal.js +1 -1
  19. package/dist/development/lib/types/internal.mjs +1 -1
  20. package/dist/production/{chunk-DUZSUZPY.js → chunk-IPBRDHM5.js} +1 -1
  21. package/dist/{development/chunk-RCYOOFMP.mjs → production/chunk-K5OF4EJE.mjs} +2 -2
  22. package/dist/production/{chunk-VJ4SUXKA.mjs → chunk-RNB2MV7B.mjs} +4 -4
  23. package/dist/production/{chunk-XDNTV7B4.js → chunk-VI6JQQJE.js} +1 -1
  24. package/dist/production/{chunk-F3UQRILU.js → chunk-ZGVHHRGW.js} +9 -9
  25. package/dist/production/dom-export.d.mts +1 -1
  26. package/dist/production/dom-export.d.ts +1 -1
  27. package/dist/production/dom-export.js +5 -5
  28. package/dist/production/dom-export.mjs +4 -4
  29. package/dist/production/index-react-server-client.js +4 -4
  30. package/dist/production/index-react-server-client.mjs +2 -2
  31. package/dist/production/index-react-server.js +1 -1
  32. package/dist/production/index-react-server.mjs +1 -1
  33. package/dist/production/index.d.mts +1 -1
  34. package/dist/production/index.d.ts +1 -1
  35. package/dist/production/index.js +100 -100
  36. package/dist/production/index.mjs +3 -3
  37. package/dist/production/lib/types/internal.js +1 -1
  38. package/dist/production/lib/types/internal.mjs +1 -1
  39. package/package.json +1 -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-1d8f3ee
2
+ * react-router v0.0.0-experimental-235eba2
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -11,7 +11,7 @@
11
11
  "use client";
12
12
 
13
13
 
14
- var _chunkDUZSUZPYjs = require('./chunk-DUZSUZPY.js');
14
+ var _chunkIPBRDHM5js = require('./chunk-IPBRDHM5.js');
15
15
 
16
16
 
17
17
 
@@ -140,8 +140,8 @@ var _chunkDUZSUZPYjs = require('./chunk-DUZSUZPY.js');
140
140
 
141
141
 
142
142
 
143
- var _chunkPACOJA5Vjs = require('./chunk-PACOJA5V.js');
144
- require('./chunk-XDNTV7B4.js');
143
+ var _chunkFMGWC27Pjs = require('./chunk-FMGWC27P.js');
144
+ require('./chunk-VI6JQQJE.js');
145
145
 
146
146
  // lib/dom/ssr/server.tsx
147
147
  var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react); var React4 = _interopRequireWildcard(_react); var React5 = _interopRequireWildcard(_react);
@@ -154,7 +154,7 @@ function ServerRouter({
154
154
  url = new URL(url);
155
155
  }
156
156
  let { manifest, routeModules, criticalCss, serverHandoffString } = context;
157
- let routes = _chunkPACOJA5Vjs.createServerRoutes.call(void 0,
157
+ let routes = _chunkFMGWC27Pjs.createServerRoutes.call(void 0,
158
158
  manifest.routes,
159
159
  routeModules,
160
160
  context.future,
@@ -167,7 +167,7 @@ function ServerRouter({
167
167
  let routeId = match.route.id;
168
168
  let route = routeModules[routeId];
169
169
  let manifestRoute = context.manifest.routes[routeId];
170
- if (route && manifestRoute && _chunkPACOJA5Vjs.shouldHydrateRouteLoader.call(void 0,
170
+ if (route && manifestRoute && _chunkFMGWC27Pjs.shouldHydrateRouteLoader.call(void 0,
171
171
  routeId,
172
172
  route.clientLoader,
173
173
  manifestRoute.hasLoader,
@@ -176,9 +176,9 @@ function ServerRouter({
176
176
  delete context.staticHandlerContext.loaderData[routeId];
177
177
  }
178
178
  }
179
- let router = _chunkPACOJA5Vjs.createStaticRouter.call(void 0, routes, context.staticHandlerContext);
179
+ let router = _chunkFMGWC27Pjs.createStaticRouter.call(void 0, routes, context.staticHandlerContext);
180
180
  return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
181
- _chunkPACOJA5Vjs.FrameworkContext.Provider,
181
+ _chunkFMGWC27Pjs.FrameworkContext.Provider,
182
182
  {
183
183
  value: {
184
184
  manifest,
@@ -191,11 +191,11 @@ function ServerRouter({
191
191
  routeDiscovery: context.routeDiscovery,
192
192
  serializeError: context.serializeError,
193
193
  renderMeta: context.renderMeta,
194
- loadRouteModule: _chunkDUZSUZPYjs.defaultLoadRouteModule
194
+ loadRouteModule: _chunkIPBRDHM5js.defaultLoadRouteModule
195
195
  }
196
196
  },
197
- /* @__PURE__ */ React.createElement(_chunkPACOJA5Vjs.RemixErrorBoundary, { location: router.state.location }, /* @__PURE__ */ React.createElement(
198
- _chunkPACOJA5Vjs.StaticRouterProvider,
197
+ /* @__PURE__ */ React.createElement(_chunkFMGWC27Pjs.RemixErrorBoundary, { location: router.state.location }, /* @__PURE__ */ React.createElement(
198
+ _chunkFMGWC27Pjs.StaticRouterProvider,
199
199
  {
200
200
  router,
201
201
  context: context.staticHandlerContext,
@@ -203,7 +203,7 @@ function ServerRouter({
203
203
  }
204
204
  ))
205
205
  ), context.serverHandoffStream ? /* @__PURE__ */ React.createElement(React.Suspense, null, /* @__PURE__ */ React.createElement(
206
- _chunkPACOJA5Vjs.StreamTransfer,
206
+ _chunkFMGWC27Pjs.StreamTransfer,
207
207
  {
208
208
  context,
209
209
  identifier: 0,
@@ -222,7 +222,7 @@ function createRoutesStub(routes, unstable_getContext) {
222
222
  initialIndex,
223
223
  hydrationData,
224
224
  future,
225
- loadRouteModule = _chunkDUZSUZPYjs.defaultLoadRouteModule
225
+ loadRouteModule = _chunkIPBRDHM5js.defaultLoadRouteModule
226
226
  }) {
227
227
  let routerRef = React2.useRef();
228
228
  let remixContextRef = React2.useRef();
@@ -247,18 +247,18 @@ function createRoutesStub(routes, unstable_getContext) {
247
247
  let patched = processRoutes(
248
248
  // @ts-expect-error `StubRouteObject` is stricter about `loader`/`action`
249
249
  // types compared to `AgnosticRouteObject`
250
- _chunkPACOJA5Vjs.convertRoutesToDataRoutes.call(void 0, routes, (r) => r),
250
+ _chunkFMGWC27Pjs.convertRoutesToDataRoutes.call(void 0, routes, (r) => r),
251
251
  remixContextRef.current.manifest,
252
252
  remixContextRef.current.routeModules
253
253
  );
254
- routerRef.current = _chunkPACOJA5Vjs.createMemoryRouter.call(void 0, patched, {
254
+ routerRef.current = _chunkFMGWC27Pjs.createMemoryRouter.call(void 0, patched, {
255
255
  unstable_getContext,
256
256
  initialEntries,
257
257
  initialIndex,
258
258
  hydrationData
259
259
  });
260
260
  }
261
- return /* @__PURE__ */ React2.createElement(_chunkPACOJA5Vjs.FrameworkContext.Provider, { value: remixContextRef.current }, /* @__PURE__ */ React2.createElement(_chunkPACOJA5Vjs.RouterProvider, { router: routerRef.current }));
261
+ return /* @__PURE__ */ React2.createElement(_chunkFMGWC27Pjs.FrameworkContext.Provider, { value: remixContextRef.current }, /* @__PURE__ */ React2.createElement(_chunkFMGWC27Pjs.RouterProvider, { router: routerRef.current }));
262
262
  };
263
263
  }
264
264
  function processRoutes(routes, manifest, routeModules, parentId) {
@@ -272,9 +272,9 @@ function processRoutes(routes, manifest, routeModules, parentId) {
272
272
  id: route.id,
273
273
  path: route.path,
274
274
  index: route.index,
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,
275
+ Component: route.Component ? _chunkFMGWC27Pjs.withComponentProps.call(void 0, route.Component) : void 0,
276
+ HydrateFallback: route.HydrateFallback ? _chunkFMGWC27Pjs.withHydrateFallbackProps.call(void 0, route.HydrateFallback) : void 0,
277
+ ErrorBoundary: route.ErrorBoundary ? _chunkFMGWC27Pjs.withErrorBoundaryProps.call(void 0, route.ErrorBoundary) : void 0,
278
278
  action: route.action,
279
279
  loader: route.loader,
280
280
  handle: route.handle,
@@ -303,7 +303,7 @@ function processRoutes(routes, manifest, routeModules, parentId) {
303
303
  };
304
304
  manifest.routes[newRoute.id] = entryRoute;
305
305
  routeModules[route.id] = {
306
- default: newRoute.Component || _chunkPACOJA5Vjs.Outlet,
306
+ default: newRoute.Component || _chunkFMGWC27Pjs.Outlet,
307
307
  ErrorBoundary: newRoute.ErrorBoundary || void 0,
308
308
  handle: route.handle,
309
309
  links: route.links,
@@ -497,7 +497,7 @@ function myUnescape(value) {
497
497
  return result;
498
498
  }
499
499
  function warnOnceAboutExpiresCookie(name, expires) {
500
- _chunkPACOJA5Vjs.warnOnce.call(void 0,
500
+ _chunkFMGWC27Pjs.warnOnce.call(void 0,
501
501
  !expires,
502
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.`
503
503
  );
@@ -551,7 +551,7 @@ function serializeErrors(errors, serverMode) {
551
551
  let entries = Object.entries(errors);
552
552
  let serialized = {};
553
553
  for (let [key, val] of entries) {
554
- if (_chunkPACOJA5Vjs.isRouteErrorResponse.call(void 0, val)) {
554
+ if (_chunkFMGWC27Pjs.isRouteErrorResponse.call(void 0, val)) {
555
555
  serialized[key] = { ...val, __type: "RouteErrorResponse" };
556
556
  } else if (val instanceof Error) {
557
557
  let sanitized = sanitizeError(val, serverMode);
@@ -576,7 +576,7 @@ function serializeErrors(errors, serverMode) {
576
576
 
577
577
  // lib/server-runtime/routeMatching.ts
578
578
  function matchServerRoutes(routes, pathname, basename) {
579
- let matches = _chunkPACOJA5Vjs.matchRoutes.call(void 0,
579
+ let matches = _chunkFMGWC27Pjs.matchRoutes.call(void 0,
580
580
  routes,
581
581
  pathname,
582
582
  basename
@@ -596,7 +596,7 @@ async function callRouteHandler(handler, args) {
596
596
  params: args.params,
597
597
  context: args.context
598
598
  });
599
- if (_chunkPACOJA5Vjs.isDataWithResponseInit.call(void 0, result) && result.init && result.init.status && _chunkPACOJA5Vjs.isRedirectStatusCode.call(void 0, result.init.status)) {
599
+ if (_chunkFMGWC27Pjs.isDataWithResponseInit.call(void 0, result) && result.init && result.init.status && _chunkFMGWC27Pjs.isRedirectStatusCode.call(void 0, result.init.status)) {
600
600
  throw new Response(null, result.init);
601
601
  }
602
602
  return result;
@@ -715,17 +715,17 @@ function createStaticHandlerDataRoutes(manifest, future, parentId = "", routesBy
715
715
  controller.close();
716
716
  }
717
717
  });
718
- let decoded = await _chunkPACOJA5Vjs.decodeViaTurboStream.call(void 0, stream, global);
718
+ let decoded = await _chunkFMGWC27Pjs.decodeViaTurboStream.call(void 0, stream, global);
719
719
  let data2 = decoded.value;
720
- if (data2 && _chunkPACOJA5Vjs.SingleFetchRedirectSymbol in data2) {
721
- let result = data2[_chunkPACOJA5Vjs.SingleFetchRedirectSymbol];
720
+ if (data2 && _chunkFMGWC27Pjs.SingleFetchRedirectSymbol in data2) {
721
+ let result = data2[_chunkFMGWC27Pjs.SingleFetchRedirectSymbol];
722
722
  let init = { status: result.status };
723
723
  if (result.reload) {
724
- throw _chunkPACOJA5Vjs.redirectDocument.call(void 0, result.redirect, init);
724
+ throw _chunkFMGWC27Pjs.redirectDocument.call(void 0, result.redirect, init);
725
725
  } else if (result.replace) {
726
- throw _chunkPACOJA5Vjs.replace.call(void 0, result.redirect, init);
726
+ throw _chunkFMGWC27Pjs.replace.call(void 0, result.redirect, init);
727
727
  } else {
728
- throw _chunkPACOJA5Vjs.redirect.call(void 0, result.redirect, init);
728
+ throw _chunkFMGWC27Pjs.redirect.call(void 0, result.redirect, init);
729
729
  }
730
730
  } else {
731
731
  invariant2(
@@ -853,14 +853,14 @@ function prependCookies(parentHeaders, childHeaders) {
853
853
 
854
854
  // lib/server-runtime/single-fetch.ts
855
855
  var SERVER_NO_BODY_STATUS_CODES = /* @__PURE__ */ new Set([
856
- ..._chunkPACOJA5Vjs.NO_BODY_STATUS_CODES,
856
+ ..._chunkFMGWC27Pjs.NO_BODY_STATUS_CODES,
857
857
  304
858
858
  ]);
859
859
  async function singleFetchAction(build, serverMode, staticHandler, request, handlerUrl, loadContext, handleError) {
860
860
  try {
861
861
  let respond2 = function(context) {
862
862
  let headers = getDocumentHeaders(context, build);
863
- if (_chunkPACOJA5Vjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
863
+ if (_chunkFMGWC27Pjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
864
864
  return generateSingleFetchResponse(request, build, serverMode, {
865
865
  result: getSingleFetchRedirect(
866
866
  context.statusCode,
@@ -868,12 +868,12 @@ async function singleFetchAction(build, serverMode, staticHandler, request, hand
868
868
  build.basename
869
869
  ),
870
870
  headers,
871
- status: _chunkPACOJA5Vjs.SINGLE_FETCH_REDIRECT_STATUS
871
+ status: _chunkFMGWC27Pjs.SINGLE_FETCH_REDIRECT_STATUS
872
872
  });
873
873
  }
874
874
  if (context.errors) {
875
875
  Object.values(context.errors).forEach((err) => {
876
- if (!_chunkPACOJA5Vjs.isRouteErrorResponse.call(void 0, err) || err.error) {
876
+ if (!_chunkFMGWC27Pjs.isRouteErrorResponse.call(void 0, err) || err.error) {
877
877
  handleError(err);
878
878
  }
879
879
  });
@@ -907,10 +907,10 @@ async function singleFetchAction(build, serverMode, staticHandler, request, hand
907
907
  skipRevalidation: true,
908
908
  unstable_respond: respond2
909
909
  });
910
- if (!_chunkPACOJA5Vjs.isResponse.call(void 0, result)) {
910
+ if (!_chunkFMGWC27Pjs.isResponse.call(void 0, result)) {
911
911
  result = respond2(result);
912
912
  }
913
- if (_chunkPACOJA5Vjs.isRedirectResponse.call(void 0, result)) {
913
+ if (_chunkFMGWC27Pjs.isRedirectResponse.call(void 0, result)) {
914
914
  return generateSingleFetchResponse(request, build, serverMode, {
915
915
  result: getSingleFetchRedirect(
916
916
  result.status,
@@ -918,7 +918,7 @@ async function singleFetchAction(build, serverMode, staticHandler, request, hand
918
918
  build.basename
919
919
  ),
920
920
  headers: result.headers,
921
- status: _chunkPACOJA5Vjs.SINGLE_FETCH_REDIRECT_STATUS
921
+ status: _chunkFMGWC27Pjs.SINGLE_FETCH_REDIRECT_STATUS
922
922
  });
923
923
  }
924
924
  return result;
@@ -935,22 +935,22 @@ async function singleFetchLoaders(build, serverMode, staticHandler, request, han
935
935
  try {
936
936
  let respond2 = function(context) {
937
937
  let headers = getDocumentHeaders(context, build);
938
- if (_chunkPACOJA5Vjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
938
+ if (_chunkFMGWC27Pjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
939
939
  return generateSingleFetchResponse(request, build, serverMode, {
940
940
  result: {
941
- [_chunkPACOJA5Vjs.SingleFetchRedirectSymbol]: getSingleFetchRedirect(
941
+ [_chunkFMGWC27Pjs.SingleFetchRedirectSymbol]: getSingleFetchRedirect(
942
942
  context.statusCode,
943
943
  headers,
944
944
  build.basename
945
945
  )
946
946
  },
947
947
  headers,
948
- status: _chunkPACOJA5Vjs.SINGLE_FETCH_REDIRECT_STATUS
948
+ status: _chunkFMGWC27Pjs.SINGLE_FETCH_REDIRECT_STATUS
949
949
  });
950
950
  }
951
951
  if (context.errors) {
952
952
  Object.values(context.errors).forEach((err) => {
953
- if (!_chunkPACOJA5Vjs.isRouteErrorResponse.call(void 0, err) || err.error) {
953
+ if (!_chunkFMGWC27Pjs.isRouteErrorResponse.call(void 0, err) || err.error) {
954
954
  handleError(err);
955
955
  }
956
956
  });
@@ -991,20 +991,20 @@ async function singleFetchLoaders(build, serverMode, staticHandler, request, han
991
991
  skipLoaderErrorBubbling: true,
992
992
  unstable_respond: respond2
993
993
  });
994
- if (!_chunkPACOJA5Vjs.isResponse.call(void 0, result)) {
994
+ if (!_chunkFMGWC27Pjs.isResponse.call(void 0, result)) {
995
995
  result = respond2(result);
996
996
  }
997
- if (_chunkPACOJA5Vjs.isRedirectResponse.call(void 0, result)) {
997
+ if (_chunkFMGWC27Pjs.isRedirectResponse.call(void 0, result)) {
998
998
  return generateSingleFetchResponse(request, build, serverMode, {
999
999
  result: {
1000
- [_chunkPACOJA5Vjs.SingleFetchRedirectSymbol]: getSingleFetchRedirect(
1000
+ [_chunkFMGWC27Pjs.SingleFetchRedirectSymbol]: getSingleFetchRedirect(
1001
1001
  result.status,
1002
1002
  result.headers,
1003
1003
  build.basename
1004
1004
  )
1005
1005
  },
1006
1006
  headers: result.headers,
1007
- status: _chunkPACOJA5Vjs.SINGLE_FETCH_REDIRECT_STATUS
1007
+ status: _chunkFMGWC27Pjs.SINGLE_FETCH_REDIRECT_STATUS
1008
1008
  });
1009
1009
  }
1010
1010
  return result;
@@ -1045,7 +1045,7 @@ function generateSingleFetchResponse(request, build, serverMode, {
1045
1045
  function getSingleFetchRedirect(status, headers, basename) {
1046
1046
  let redirect2 = headers.get("Location");
1047
1047
  if (basename) {
1048
- redirect2 = _chunkPACOJA5Vjs.stripBasename.call(void 0, redirect2, basename) || redirect2;
1048
+ redirect2 = _chunkFMGWC27Pjs.stripBasename.call(void 0, redirect2, basename) || redirect2;
1049
1049
  }
1050
1050
  return {
1051
1051
  redirect: redirect2,
@@ -1071,7 +1071,7 @@ function encodeViaTurboStream(data2, requestSignal, streamTimeout, serverMode) {
1071
1071
  typeof streamTimeout === "number" ? streamTimeout : 4950
1072
1072
  );
1073
1073
  requestSignal.addEventListener("abort", () => clearTimeout(timeoutId));
1074
- return _chunkPACOJA5Vjs.encode.call(void 0, data2, {
1074
+ return _chunkFMGWC27Pjs.encode.call(void 0, data2, {
1075
1075
  signal: controller.signal,
1076
1076
  plugins: [
1077
1077
  (value) => {
@@ -1079,12 +1079,12 @@ function encodeViaTurboStream(data2, requestSignal, streamTimeout, serverMode) {
1079
1079
  let { name, message, stack } = serverMode === "production" /* Production */ ? sanitizeError(value, serverMode) : value;
1080
1080
  return ["SanitizedError", name, message, stack];
1081
1081
  }
1082
- if (value instanceof _chunkPACOJA5Vjs.ErrorResponseImpl) {
1082
+ if (value instanceof _chunkFMGWC27Pjs.ErrorResponseImpl) {
1083
1083
  let { data: data3, status, statusText } = value;
1084
1084
  return ["ErrorResponse", data3, status, statusText];
1085
1085
  }
1086
- if (value && typeof value === "object" && _chunkPACOJA5Vjs.SingleFetchRedirectSymbol in value) {
1087
- return ["SingleFetchRedirect", value[_chunkPACOJA5Vjs.SingleFetchRedirectSymbol]];
1086
+ if (value && typeof value === "object" && _chunkFMGWC27Pjs.SingleFetchRedirectSymbol in value) {
1087
+ return ["SingleFetchRedirect", value[_chunkFMGWC27Pjs.SingleFetchRedirectSymbol]];
1088
1088
  }
1089
1089
  }
1090
1090
  ],
@@ -1107,14 +1107,14 @@ function derive(build, mode) {
1107
1107
  let routes = createRoutes(build.routes);
1108
1108
  let dataRoutes = createStaticHandlerDataRoutes(build.routes, build.future);
1109
1109
  let serverMode = isServerMode(mode) ? mode : "production" /* Production */;
1110
- let staticHandler = _chunkPACOJA5Vjs.createStaticHandler.call(void 0, dataRoutes, {
1110
+ let staticHandler = _chunkFMGWC27Pjs.createStaticHandler.call(void 0, dataRoutes, {
1111
1111
  basename: build.basename
1112
1112
  });
1113
1113
  let errorHandler = build.entry.module.handleError || ((error, { request }) => {
1114
1114
  if (serverMode !== "test" /* Test */ && !request.signal.aborted) {
1115
1115
  console.error(
1116
1116
  // @ts-expect-error This is "private" from users but intended for internal use
1117
- _chunkPACOJA5Vjs.isRouteErrorResponse.call(void 0, error) && error.error ? error.error : error
1117
+ _chunkFMGWC27Pjs.isRouteErrorResponse.call(void 0, error) && error.error ? error.error : error
1118
1118
  );
1119
1119
  }
1120
1120
  });
@@ -1161,10 +1161,10 @@ var createRequestHandler = (build, mode) => {
1161
1161
  };
1162
1162
  if (_build.future.unstable_middleware) {
1163
1163
  if (initialContext == null) {
1164
- loadContext = new (0, _chunkPACOJA5Vjs.unstable_RouterContextProvider)();
1164
+ loadContext = new (0, _chunkFMGWC27Pjs.unstable_RouterContextProvider)();
1165
1165
  } else {
1166
1166
  try {
1167
- loadContext = new (0, _chunkPACOJA5Vjs.unstable_RouterContextProvider)(
1167
+ loadContext = new (0, _chunkFMGWC27Pjs.unstable_RouterContextProvider)(
1168
1168
  initialContext
1169
1169
  );
1170
1170
  } catch (e) {
@@ -1183,12 +1183,12 @@ Error: ${e instanceof Error ? e.toString() : e}`
1183
1183
  let url = new URL(request.url);
1184
1184
  let normalizedBasename = _build.basename || "/";
1185
1185
  let normalizedPath = url.pathname;
1186
- if (_chunkPACOJA5Vjs.stripBasename.call(void 0, normalizedPath, normalizedBasename) === "/_root.data") {
1186
+ if (_chunkFMGWC27Pjs.stripBasename.call(void 0, normalizedPath, normalizedBasename) === "/_root.data") {
1187
1187
  normalizedPath = normalizedBasename;
1188
1188
  } else if (normalizedPath.endsWith(".data")) {
1189
1189
  normalizedPath = normalizedPath.replace(/\.data$/, "");
1190
1190
  }
1191
- if (_chunkPACOJA5Vjs.stripBasename.call(void 0, normalizedPath, normalizedBasename) !== "/" && normalizedPath.endsWith("/")) {
1191
+ if (_chunkFMGWC27Pjs.stripBasename.call(void 0, normalizedPath, normalizedBasename) !== "/" && normalizedPath.endsWith("/")) {
1192
1192
  normalizedPath = normalizedPath.slice(0, -1);
1193
1193
  }
1194
1194
  let isSpaMode = getBuildTimeHeader(request, "X-React-Router-SPA-Mode") === "yes";
@@ -1199,7 +1199,7 @@ Error: ${e instanceof Error ? e.toString() : e}`
1199
1199
  } else if (!_build.prerender.includes(decodedPath) && !_build.prerender.includes(decodedPath + "/")) {
1200
1200
  if (url.pathname.endsWith(".data")) {
1201
1201
  errorHandler(
1202
- new (0, _chunkPACOJA5Vjs.ErrorResponseImpl)(
1202
+ new (0, _chunkFMGWC27Pjs.ErrorResponseImpl)(
1203
1203
  404,
1204
1204
  "Not Found",
1205
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.`
@@ -1219,7 +1219,7 @@ Error: ${e instanceof Error ? e.toString() : e}`
1219
1219
  }
1220
1220
  }
1221
1221
  }
1222
- let manifestUrl = _chunkPACOJA5Vjs.getManifestPath.call(void 0,
1222
+ let manifestUrl = _chunkFMGWC27Pjs.getManifestPath.call(void 0,
1223
1223
  _build.routeDiscovery.manifestPath,
1224
1224
  normalizedBasename
1225
1225
  );
@@ -1260,7 +1260,7 @@ Error: ${e instanceof Error ? e.toString() : e}`
1260
1260
  params: singleFetchMatches ? singleFetchMatches[0].params : {},
1261
1261
  request
1262
1262
  });
1263
- if (_chunkPACOJA5Vjs.isRedirectResponse.call(void 0, response)) {
1263
+ if (_chunkFMGWC27Pjs.isRedirectResponse.call(void 0, response)) {
1264
1264
  let result = getSingleFetchRedirect(
1265
1265
  response.status,
1266
1266
  response.headers,
@@ -1268,7 +1268,7 @@ Error: ${e instanceof Error ? e.toString() : e}`
1268
1268
  );
1269
1269
  if (request.method === "GET") {
1270
1270
  result = {
1271
- [_chunkPACOJA5Vjs.SingleFetchRedirectSymbol]: result
1271
+ [_chunkFMGWC27Pjs.SingleFetchRedirectSymbol]: result
1272
1272
  };
1273
1273
  }
1274
1274
  let headers = new Headers(response.headers);
@@ -1281,7 +1281,7 @@ Error: ${e instanceof Error ? e.toString() : e}`
1281
1281
  serverMode
1282
1282
  ),
1283
1283
  {
1284
- status: _chunkPACOJA5Vjs.SINGLE_FETCH_REDIRECT_STATUS,
1284
+ status: _chunkFMGWC27Pjs.SINGLE_FETCH_REDIRECT_STATUS,
1285
1285
  headers
1286
1286
  }
1287
1287
  );
@@ -1394,13 +1394,13 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1394
1394
  requestContext: loadContext,
1395
1395
  unstable_respond: build.future.unstable_middleware ? (ctx) => renderHtml(ctx, isSpaMode) : void 0
1396
1396
  });
1397
- return _chunkPACOJA5Vjs.isResponse.call(void 0, response) ? response : renderHtml(response, isSpaMode);
1397
+ return _chunkFMGWC27Pjs.isResponse.call(void 0, response) ? response : renderHtml(response, isSpaMode);
1398
1398
  } catch (error) {
1399
1399
  handleError(error);
1400
1400
  return new Response(null, { status: 500 });
1401
1401
  }
1402
1402
  async function renderHtml(context, isSpaMode2) {
1403
- if (_chunkPACOJA5Vjs.isResponse.call(void 0, context)) {
1403
+ if (_chunkFMGWC27Pjs.isResponse.call(void 0, context)) {
1404
1404
  return context;
1405
1405
  }
1406
1406
  let headers = getDocumentHeaders(context, build);
@@ -1409,7 +1409,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1409
1409
  }
1410
1410
  if (context.errors) {
1411
1411
  Object.values(context.errors).forEach((err) => {
1412
- if (!_chunkPACOJA5Vjs.isRouteErrorResponse.call(void 0, err) || err.error) {
1412
+ if (!_chunkFMGWC27Pjs.isRouteErrorResponse.call(void 0, err) || err.error) {
1413
1413
  handleError(err);
1414
1414
  }
1415
1415
  });
@@ -1448,7 +1448,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1448
1448
  routeDiscovery: build.routeDiscovery,
1449
1449
  isSpaMode: isSpaMode2,
1450
1450
  serializeError: (err) => serializeError(err, serverMode),
1451
- loadRouteModule: _chunkDUZSUZPYjs.defaultLoadRouteModule
1451
+ loadRouteModule: _chunkIPBRDHM5js.defaultLoadRouteModule
1452
1452
  };
1453
1453
  let handleDocumentRequestFunction = build.entry.module.default;
1454
1454
  try {
@@ -1462,10 +1462,10 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1462
1462
  } catch (error) {
1463
1463
  handleError(error);
1464
1464
  let errorForSecondRender = error;
1465
- if (_chunkPACOJA5Vjs.isResponse.call(void 0, error)) {
1465
+ if (_chunkFMGWC27Pjs.isResponse.call(void 0, error)) {
1466
1466
  try {
1467
1467
  let data2 = await unwrapResponse(error);
1468
- errorForSecondRender = new (0, _chunkPACOJA5Vjs.ErrorResponseImpl)(
1468
+ errorForSecondRender = new (0, _chunkFMGWC27Pjs.ErrorResponseImpl)(
1469
1469
  error.status,
1470
1470
  error.statusText,
1471
1471
  data2
@@ -1473,7 +1473,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1473
1473
  } catch (e) {
1474
1474
  }
1475
1475
  }
1476
- context = _chunkPACOJA5Vjs.getStaticContextFromError.call(void 0,
1476
+ context = _chunkFMGWC27Pjs.getStaticContextFromError.call(void 0,
1477
1477
  staticHandler.dataRoutes,
1478
1478
  context,
1479
1479
  errorForSecondRender
@@ -1520,7 +1520,7 @@ async function handleResourceRequest(serverMode, build, staticHandler, routeId,
1520
1520
  requestContext: loadContext,
1521
1521
  unstable_respond: build.future.unstable_middleware ? (ctx) => ctx : void 0
1522
1522
  });
1523
- if (_chunkPACOJA5Vjs.isResponse.call(void 0, response)) {
1523
+ if (_chunkFMGWC27Pjs.isResponse.call(void 0, response)) {
1524
1524
  return response;
1525
1525
  }
1526
1526
  if (typeof response === "string") {
@@ -1528,11 +1528,11 @@ async function handleResourceRequest(serverMode, build, staticHandler, routeId,
1528
1528
  }
1529
1529
  return Response.json(response);
1530
1530
  } catch (error) {
1531
- if (_chunkPACOJA5Vjs.isResponse.call(void 0, error)) {
1531
+ if (_chunkFMGWC27Pjs.isResponse.call(void 0, error)) {
1532
1532
  error.headers.set("X-Remix-Catch", "yes");
1533
1533
  return error;
1534
1534
  }
1535
- if (_chunkPACOJA5Vjs.isRouteErrorResponse.call(void 0, error)) {
1535
+ if (_chunkFMGWC27Pjs.isRouteErrorResponse.call(void 0, error)) {
1536
1536
  if (error) {
1537
1537
  handleError(error);
1538
1538
  }
@@ -1660,7 +1660,7 @@ function createSessionStorage({
1660
1660
  };
1661
1661
  }
1662
1662
  function warnOnceAboutSigningSessionCookie(cookie) {
1663
- _chunkPACOJA5Vjs.warnOnce.call(void 0,
1663
+ _chunkFMGWC27Pjs.warnOnce.call(void 0,
1664
1664
  cookie.isSigned,
1665
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.`
1666
1666
  );
@@ -1755,12 +1755,12 @@ function getHydrationData(state, routes, getRouteInfo, location2, basename, isSp
1755
1755
  ...state,
1756
1756
  loaderData: { ...state.loaderData }
1757
1757
  };
1758
- let initialMatches = _chunkPACOJA5Vjs.matchRoutes.call(void 0, routes, location2, basename);
1758
+ let initialMatches = _chunkFMGWC27Pjs.matchRoutes.call(void 0, routes, location2, basename);
1759
1759
  if (initialMatches) {
1760
1760
  for (let match of initialMatches) {
1761
1761
  let routeId = match.route.id;
1762
1762
  let routeInfo = getRouteInfo(routeId);
1763
- if (_chunkPACOJA5Vjs.shouldHydrateRouteLoader.call(void 0,
1763
+ if (_chunkFMGWC27Pjs.shouldHydrateRouteLoader.call(void 0,
1764
1764
  routeId,
1765
1765
  routeInfo.clientLoader,
1766
1766
  routeInfo.hasLoader,
@@ -1838,7 +1838,7 @@ function RSCDefaultRootErrorBoundaryImpl({
1838
1838
  }
1839
1839
  }
1840
1840
  );
1841
- if (_chunkPACOJA5Vjs.isRouteErrorResponse.call(void 0, error)) {
1841
+ if (_chunkFMGWC27Pjs.isRouteErrorResponse.call(void 0, error)) {
1842
1842
  return /* @__PURE__ */ React.default.createElement(
1843
1843
  ErrorWrapper,
1844
1844
  {
@@ -1846,7 +1846,7 @@ function RSCDefaultRootErrorBoundaryImpl({
1846
1846
  title: "Unhandled Thrown Response!"
1847
1847
  },
1848
1848
  /* @__PURE__ */ React.default.createElement("h1", { style: { fontSize: "24px" } }, error.status, " ", error.statusText),
1849
- _chunkPACOJA5Vjs.ENABLE_DEV_WARNINGS ? heyDeveloper : null
1849
+ _chunkFMGWC27Pjs.ENABLE_DEV_WARNINGS ? heyDeveloper : null
1850
1850
  );
1851
1851
  }
1852
1852
  let errorInstance;
@@ -1872,7 +1872,7 @@ function RSCDefaultRootErrorBoundaryImpl({
1872
1872
  function RSCDefaultRootErrorBoundary({
1873
1873
  hasRootLayout
1874
1874
  }) {
1875
- let error = _chunkPACOJA5Vjs.useRouteError.call(void 0, );
1875
+ let error = _chunkFMGWC27Pjs.useRouteError.call(void 0, );
1876
1876
  if (hasRootLayout === void 0) {
1877
1877
  throw new Error("Missing 'hasRootLayout' prop");
1878
1878
  }
@@ -1980,7 +1980,7 @@ function createRouterFromPayload({
1980
1980
  if (payload.type !== "render") throw new Error("Invalid payload type");
1981
1981
  let patches = /* @__PURE__ */ new Map();
1982
1982
  _optionalChain([payload, 'access', _19 => _19.patches, 'optionalAccess', _20 => _20.forEach, 'call', _21 => _21((patch) => {
1983
- _chunkPACOJA5Vjs.invariant.call(void 0, patch.parentId, "Invalid patch parentId");
1983
+ _chunkFMGWC27Pjs.invariant.call(void 0, patch.parentId, "Invalid patch parentId");
1984
1984
  if (!patches.has(patch.parentId)) {
1985
1985
  patches.set(patch.parentId, []);
1986
1986
  }
@@ -2002,10 +2002,10 @@ function createRouterFromPayload({
2002
2002
  }
2003
2003
  return [route];
2004
2004
  }, []);
2005
- window.__router = _chunkPACOJA5Vjs.createRouter.call(void 0, {
2005
+ window.__router = _chunkFMGWC27Pjs.createRouter.call(void 0, {
2006
2006
  routes,
2007
2007
  basename: payload.basename,
2008
- history: _chunkPACOJA5Vjs.createBrowserHistory.call(void 0, ),
2008
+ history: _chunkFMGWC27Pjs.createBrowserHistory.call(void 0, ),
2009
2009
  hydrationData: getHydrationData(
2010
2010
  {
2011
2011
  loaderData: payload.loaderData,
@@ -2015,7 +2015,7 @@ function createRouterFromPayload({
2015
2015
  routes,
2016
2016
  (routeId) => {
2017
2017
  let match = payload.matches.find((m) => m.id === routeId);
2018
- _chunkPACOJA5Vjs.invariant.call(void 0, match, "Route not found in payload");
2018
+ _chunkFMGWC27Pjs.invariant.call(void 0, match, "Route not found in payload");
2019
2019
  return {
2020
2020
  clientLoader: match.clientLoader,
2021
2021
  hasLoader: match.hasLoader,
@@ -2060,9 +2060,9 @@ function createRouterFromPayload({
2060
2060
  });
2061
2061
  return window.__router;
2062
2062
  }
2063
- var renderedRoutesContext = _chunkPACOJA5Vjs.unstable_createContext.call(void 0, );
2063
+ var renderedRoutesContext = _chunkFMGWC27Pjs.unstable_createContext.call(void 0, );
2064
2064
  function getRSCSingleFetchDataStrategy(getRouter, ssr, basename, createFromReadableStream, fetchImplementation) {
2065
- let dataStrategy = _chunkPACOJA5Vjs.getSingleFetchDataStrategyImpl.call(void 0,
2065
+ let dataStrategy = _chunkFMGWC27Pjs.getSingleFetchDataStrategyImpl.call(void 0,
2066
2066
  getRouter,
2067
2067
  (match) => {
2068
2068
  let M = match;
@@ -2116,20 +2116,20 @@ function getRSCSingleFetchDataStrategy(getRouter, ssr, basename, createFromReada
2116
2116
  function getFetchAndDecodeViaRSC(createFromReadableStream, fetchImplementation) {
2117
2117
  return async (args, basename, targetRoutes) => {
2118
2118
  let { request, context } = args;
2119
- let url = _chunkPACOJA5Vjs.singleFetchUrl.call(void 0, request.url, basename, "rsc");
2119
+ let url = _chunkFMGWC27Pjs.singleFetchUrl.call(void 0, request.url, basename, "rsc");
2120
2120
  if (request.method === "GET") {
2121
- url = _chunkPACOJA5Vjs.stripIndexParam.call(void 0, url);
2121
+ url = _chunkFMGWC27Pjs.stripIndexParam.call(void 0, url);
2122
2122
  if (targetRoutes) {
2123
2123
  url.searchParams.set("_routes", targetRoutes.join(","));
2124
2124
  }
2125
2125
  }
2126
2126
  let res = await fetchImplementation(
2127
- new Request(url, await _chunkPACOJA5Vjs.createRequestInit.call(void 0, request))
2127
+ new Request(url, await _chunkFMGWC27Pjs.createRequestInit.call(void 0, request))
2128
2128
  );
2129
2129
  if (res.status === 404 && !res.headers.has("X-Remix-Response")) {
2130
- throw new (0, _chunkPACOJA5Vjs.ErrorResponseImpl)(404, "Not Found", true);
2130
+ throw new (0, _chunkFMGWC27Pjs.ErrorResponseImpl)(404, "Not Found", true);
2131
2131
  }
2132
- _chunkPACOJA5Vjs.invariant.call(void 0, res.body, "No response body to decode");
2132
+ _chunkFMGWC27Pjs.invariant.call(void 0, res.body, "No response body to decode");
2133
2133
  try {
2134
2134
  const payload = await createFromReadableStream(res.body, {
2135
2135
  temporaryReferences: void 0
@@ -2153,7 +2153,7 @@ function getFetchAndDecodeViaRSC(createFromReadableStream, fetchImplementation)
2153
2153
  }
2154
2154
  context.get(renderedRoutesContext).push(...payload.matches);
2155
2155
  let results = { routes: {} };
2156
- const dataKey = _chunkPACOJA5Vjs.isMutationMethod.call(void 0, request.method) ? "actionData" : "loaderData";
2156
+ const dataKey = _chunkFMGWC27Pjs.isMutationMethod.call(void 0, request.method) ? "actionData" : "loaderData";
2157
2157
  for (let [routeId, data2] of Object.entries(payload[dataKey] || {})) {
2158
2158
  results.routes[routeId] = { data: data2 };
2159
2159
  }
@@ -2270,7 +2270,7 @@ function RSCHydratedRouter({
2270
2270
  throw new Error("Not required in RSC Mode");
2271
2271
  }
2272
2272
  };
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 }))));
2273
+ return /* @__PURE__ */ React4.createElement(_chunkFMGWC27Pjs.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React4.createElement(RSCRouterGlobalErrorBoundary, { location: location2 }, /* @__PURE__ */ React4.createElement(_chunkFMGWC27Pjs.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React4.createElement(_chunkFMGWC27Pjs.RouterProvider, { router, flushSync: ReactDOM.flushSync }))));
2274
2274
  }
2275
2275
  function createRouteFromServerManifest(match, payload) {
2276
2276
  let hasInitialData = payload && match.id in payload.loaderData;
@@ -2330,7 +2330,7 @@ function createRouteFromServerManifest(match, payload) {
2330
2330
  return await callSingleFetch(singleFetch);
2331
2331
  }
2332
2332
  }) : match.hasAction ? (_, singleFetch) => callSingleFetch(singleFetch) : () => {
2333
- throw _chunkPACOJA5Vjs.noActionDefinedError.call(void 0, "action", match.id);
2333
+ throw _chunkFMGWC27Pjs.noActionDefinedError.call(void 0, "action", match.id);
2334
2334
  },
2335
2335
  path: match.path,
2336
2336
  shouldRevalidate: match.shouldRevalidate,
@@ -2343,7 +2343,7 @@ function createRouteFromServerManifest(match, payload) {
2343
2343
  hasShouldRevalidate: match.shouldRevalidate != null
2344
2344
  };
2345
2345
  if (typeof dataRoute.loader === "function") {
2346
- dataRoute.loader.hydrate = _chunkPACOJA5Vjs.shouldHydrateRouteLoader.call(void 0,
2346
+ dataRoute.loader.hydrate = _chunkFMGWC27Pjs.shouldHydrateRouteLoader.call(void 0,
2347
2347
  match.id,
2348
2348
  match.clientLoader,
2349
2349
  match.hasLoader,
@@ -2353,7 +2353,7 @@ function createRouteFromServerManifest(match, payload) {
2353
2353
  return dataRoute;
2354
2354
  }
2355
2355
  function callSingleFetch(singleFetch) {
2356
- _chunkPACOJA5Vjs.invariant.call(void 0, typeof singleFetch === "function", "Invalid singleFetch parameter");
2356
+ _chunkFMGWC27Pjs.invariant.call(void 0, typeof singleFetch === "function", "Invalid singleFetch parameter");
2357
2357
  return singleFetch();
2358
2358
  }
2359
2359
  function preventInvalidServerHandlerCall(type, routeId, hasHandler) {
@@ -2361,7 +2361,7 @@ function preventInvalidServerHandlerCall(type, routeId, hasHandler) {
2361
2361
  let fn = type === "action" ? "serverAction()" : "serverLoader()";
2362
2362
  let msg = `You are trying to call ${fn} on a route that does not have a server ${type} (routeId: "${routeId}")`;
2363
2363
  console.error(msg);
2364
- throw new (0, _chunkPACOJA5Vjs.ErrorResponseImpl)(400, "Bad Request", new Error(msg), true);
2364
+ throw new (0, _chunkFMGWC27Pjs.ErrorResponseImpl)(400, "Bad Request", new Error(msg), true);
2365
2365
  }
2366
2366
  }
2367
2367
  var nextPaths = /* @__PURE__ */ new Set();
@@ -2581,7 +2581,7 @@ function RSCStaticRouter({
2581
2581
  if (payload.type !== "render") return null;
2582
2582
  let patchedLoaderData = { ...payload.loaderData };
2583
2583
  for (const match of payload.matches) {
2584
- if (_chunkPACOJA5Vjs.shouldHydrateRouteLoader.call(void 0,
2584
+ if (_chunkFMGWC27Pjs.shouldHydrateRouteLoader.call(void 0,
2585
2585
  match.id,
2586
2586
  match.clientLoader,
2587
2587
  match.hasLoader,
@@ -2615,7 +2615,7 @@ function RSCStaticRouter({
2615
2615
  }
2616
2616
  }))
2617
2617
  };
2618
- const router = _chunkPACOJA5Vjs.createStaticRouter.call(void 0,
2618
+ const router = _chunkFMGWC27Pjs.createStaticRouter.call(void 0,
2619
2619
  payload.matches.reduceRight((previous, match) => {
2620
2620
  const route = {
2621
2621
  id: match.id,
@@ -2662,8 +2662,8 @@ function RSCStaticRouter({
2662
2662
  throw new Error("Not required in RSC Mode");
2663
2663
  }
2664
2664
  };
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,
2665
+ return /* @__PURE__ */ React5.createElement(_chunkFMGWC27Pjs.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React5.createElement(RSCRouterGlobalErrorBoundary, { location: payload.location }, /* @__PURE__ */ React5.createElement(_chunkFMGWC27Pjs.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React5.createElement(
2666
+ _chunkFMGWC27Pjs.StaticRouterProvider,
2667
2667
  {
2668
2668
  context,
2669
2669
  router,
@@ -2721,7 +2721,7 @@ function deserializeErrors(errors) {
2721
2721
  let serialized = {};
2722
2722
  for (let [key, val] of entries) {
2723
2723
  if (val && val.__type === "RouteErrorResponse") {
2724
- serialized[key] = new (0, _chunkPACOJA5Vjs.ErrorResponseImpl)(
2724
+ serialized[key] = new (0, _chunkFMGWC27Pjs.ErrorResponseImpl)(
2725
2725
  val.status,
2726
2726
  val.statusText,
2727
2727
  val.data,
@@ -2876,4 +2876,4 @@ function deserializeErrors(errors) {
2876
2876
 
2877
2877
 
2878
2878
 
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;
2879
+ exports.Await = _chunkFMGWC27Pjs.Await; exports.BrowserRouter = _chunkFMGWC27Pjs.BrowserRouter; exports.Form = _chunkFMGWC27Pjs.Form; exports.HashRouter = _chunkFMGWC27Pjs.HashRouter; exports.IDLE_BLOCKER = _chunkFMGWC27Pjs.IDLE_BLOCKER; exports.IDLE_FETCHER = _chunkFMGWC27Pjs.IDLE_FETCHER; exports.IDLE_NAVIGATION = _chunkFMGWC27Pjs.IDLE_NAVIGATION; exports.Link = _chunkFMGWC27Pjs.Link; exports.Links = _chunkFMGWC27Pjs.Links; exports.MemoryRouter = _chunkFMGWC27Pjs.MemoryRouter; exports.Meta = _chunkFMGWC27Pjs.Meta; exports.NavLink = _chunkFMGWC27Pjs.NavLink; exports.Navigate = _chunkFMGWC27Pjs.Navigate; exports.NavigationType = _chunkFMGWC27Pjs.Action; exports.Outlet = _chunkFMGWC27Pjs.Outlet; exports.PrefetchPageLinks = _chunkFMGWC27Pjs.PrefetchPageLinks; exports.Route = _chunkFMGWC27Pjs.Route; exports.Router = _chunkFMGWC27Pjs.Router; exports.RouterProvider = _chunkFMGWC27Pjs.RouterProvider; exports.Routes = _chunkFMGWC27Pjs.Routes; exports.Scripts = _chunkFMGWC27Pjs.Scripts; exports.ScrollRestoration = _chunkFMGWC27Pjs.ScrollRestoration; exports.ServerRouter = ServerRouter; exports.StaticRouter = _chunkFMGWC27Pjs.StaticRouter; exports.StaticRouterProvider = _chunkFMGWC27Pjs.StaticRouterProvider; exports.UNSAFE_DataRouterContext = _chunkFMGWC27Pjs.DataRouterContext; exports.UNSAFE_DataRouterStateContext = _chunkFMGWC27Pjs.DataRouterStateContext; exports.UNSAFE_ErrorResponseImpl = _chunkFMGWC27Pjs.ErrorResponseImpl; exports.UNSAFE_FetchersContext = _chunkFMGWC27Pjs.FetchersContext; exports.UNSAFE_FrameworkContext = _chunkFMGWC27Pjs.FrameworkContext; exports.UNSAFE_LocationContext = _chunkFMGWC27Pjs.LocationContext; exports.UNSAFE_NavigationContext = _chunkFMGWC27Pjs.NavigationContext; exports.UNSAFE_RSCDefaultRootErrorBoundary = RSCDefaultRootErrorBoundary; exports.UNSAFE_RemixErrorBoundary = _chunkFMGWC27Pjs.RemixErrorBoundary; exports.UNSAFE_RouteContext = _chunkFMGWC27Pjs.RouteContext; exports.UNSAFE_ServerMode = ServerMode; exports.UNSAFE_SingleFetchRedirectSymbol = _chunkFMGWC27Pjs.SingleFetchRedirectSymbol; exports.UNSAFE_ViewTransitionContext = _chunkFMGWC27Pjs.ViewTransitionContext; exports.UNSAFE_createBrowserHistory = _chunkFMGWC27Pjs.createBrowserHistory; exports.UNSAFE_createClientRoutes = _chunkFMGWC27Pjs.createClientRoutes; exports.UNSAFE_createClientRoutesWithHMRRevalidationOptOut = _chunkFMGWC27Pjs.createClientRoutesWithHMRRevalidationOptOut; exports.UNSAFE_createRouter = _chunkFMGWC27Pjs.createRouter; exports.UNSAFE_decodeViaTurboStream = _chunkFMGWC27Pjs.decodeViaTurboStream; exports.UNSAFE_deserializeErrors = deserializeErrors; exports.UNSAFE_getHydrationData = getHydrationData; exports.UNSAFE_getPatchRoutesOnNavigationFunction = _chunkFMGWC27Pjs.getPatchRoutesOnNavigationFunction; exports.UNSAFE_getTurboStreamSingleFetchDataStrategy = _chunkFMGWC27Pjs.getTurboStreamSingleFetchDataStrategy; exports.UNSAFE_hydrationRouteProperties = _chunkFMGWC27Pjs.hydrationRouteProperties; exports.UNSAFE_invariant = _chunkFMGWC27Pjs.invariant; exports.UNSAFE_mapRouteProperties = _chunkFMGWC27Pjs.mapRouteProperties; exports.UNSAFE_shouldHydrateRouteLoader = _chunkFMGWC27Pjs.shouldHydrateRouteLoader; exports.UNSAFE_useFogOFWarDiscovery = _chunkFMGWC27Pjs.useFogOFWarDiscovery; exports.UNSAFE_useScrollRestoration = _chunkFMGWC27Pjs.useScrollRestoration; exports.UNSAFE_withComponentProps = _chunkFMGWC27Pjs.withComponentProps; exports.UNSAFE_withErrorBoundaryProps = _chunkFMGWC27Pjs.withErrorBoundaryProps; exports.UNSAFE_withHydrateFallbackProps = _chunkFMGWC27Pjs.withHydrateFallbackProps; exports.createBrowserRouter = _chunkFMGWC27Pjs.createBrowserRouter; exports.createCookie = createCookie; exports.createCookieSessionStorage = createCookieSessionStorage; exports.createHashRouter = _chunkFMGWC27Pjs.createHashRouter; exports.createMemoryRouter = _chunkFMGWC27Pjs.createMemoryRouter; exports.createMemorySessionStorage = createMemorySessionStorage; exports.createPath = _chunkFMGWC27Pjs.createPath; exports.createRequestHandler = createRequestHandler; exports.createRoutesFromChildren = _chunkFMGWC27Pjs.createRoutesFromChildren; exports.createRoutesFromElements = _chunkFMGWC27Pjs.createRoutesFromElements; exports.createRoutesStub = createRoutesStub; exports.createSearchParams = _chunkFMGWC27Pjs.createSearchParams; exports.createSession = createSession; exports.createSessionStorage = createSessionStorage; exports.createStaticHandler = _chunkFMGWC27Pjs.createStaticHandler2; exports.createStaticRouter = _chunkFMGWC27Pjs.createStaticRouter; exports.data = _chunkFMGWC27Pjs.data; exports.generatePath = _chunkFMGWC27Pjs.generatePath; exports.href = href; exports.isCookie = isCookie; exports.isRouteErrorResponse = _chunkFMGWC27Pjs.isRouteErrorResponse; exports.isSession = isSession; exports.matchPath = _chunkFMGWC27Pjs.matchPath; exports.matchRoutes = _chunkFMGWC27Pjs.matchRoutes; exports.parsePath = _chunkFMGWC27Pjs.parsePath; exports.redirect = _chunkFMGWC27Pjs.redirect; exports.redirectDocument = _chunkFMGWC27Pjs.redirectDocument; exports.renderMatches = _chunkFMGWC27Pjs.renderMatches; exports.replace = _chunkFMGWC27Pjs.replace; exports.resolvePath = _chunkFMGWC27Pjs.resolvePath; exports.unstable_HistoryRouter = _chunkFMGWC27Pjs.HistoryRouter; exports.unstable_RSCHydratedRouter = RSCHydratedRouter; exports.unstable_RSCStaticRouter = RSCStaticRouter; exports.unstable_RouterContextProvider = _chunkFMGWC27Pjs.unstable_RouterContextProvider; exports.unstable_createCallServer = createCallServer; exports.unstable_createContext = _chunkFMGWC27Pjs.unstable_createContext; exports.unstable_getRSCStream = getRSCStream; exports.unstable_routeRSCServerRequest = routeRSCServerRequest; exports.unstable_setDevServerHooks = setDevServerHooks; exports.unstable_usePrompt = _chunkFMGWC27Pjs.usePrompt; exports.useActionData = _chunkFMGWC27Pjs.useActionData; exports.useAsyncError = _chunkFMGWC27Pjs.useAsyncError; exports.useAsyncValue = _chunkFMGWC27Pjs.useAsyncValue; exports.useBeforeUnload = _chunkFMGWC27Pjs.useBeforeUnload; exports.useBlocker = _chunkFMGWC27Pjs.useBlocker; exports.useFetcher = _chunkFMGWC27Pjs.useFetcher; exports.useFetchers = _chunkFMGWC27Pjs.useFetchers; exports.useFormAction = _chunkFMGWC27Pjs.useFormAction; exports.useHref = _chunkFMGWC27Pjs.useHref; exports.useInRouterContext = _chunkFMGWC27Pjs.useInRouterContext; exports.useLinkClickHandler = _chunkFMGWC27Pjs.useLinkClickHandler; exports.useLoaderData = _chunkFMGWC27Pjs.useLoaderData; exports.useLocation = _chunkFMGWC27Pjs.useLocation; exports.useMatch = _chunkFMGWC27Pjs.useMatch; exports.useMatches = _chunkFMGWC27Pjs.useMatches; exports.useNavigate = _chunkFMGWC27Pjs.useNavigate; exports.useNavigation = _chunkFMGWC27Pjs.useNavigation; exports.useNavigationType = _chunkFMGWC27Pjs.useNavigationType; exports.useOutlet = _chunkFMGWC27Pjs.useOutlet; exports.useOutletContext = _chunkFMGWC27Pjs.useOutletContext; exports.useParams = _chunkFMGWC27Pjs.useParams; exports.useResolvedPath = _chunkFMGWC27Pjs.useResolvedPath; exports.useRevalidator = _chunkFMGWC27Pjs.useRevalidator; exports.useRouteError = _chunkFMGWC27Pjs.useRouteError; exports.useRouteLoaderData = _chunkFMGWC27Pjs.useRouteLoaderData; exports.useRoutes = _chunkFMGWC27Pjs.useRoutes; exports.useSearchParams = _chunkFMGWC27Pjs.useSearchParams; exports.useSubmit = _chunkFMGWC27Pjs.useSubmit; exports.useViewTransitionState = _chunkFMGWC27Pjs.useViewTransitionState;