react-router 0.0.0-experimental-beaa4f52a → 0.0.0-experimental-df0f1dfda

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-3SBCR7VW.mjs → chunk-O5WSUTKP.mjs} +467 -758
  2. package/dist/development/data-CQbyyGzl.d.mts +11 -0
  3. package/dist/development/data-CQbyyGzl.d.ts +11 -0
  4. package/dist/development/dom-export.d.mts +3 -13
  5. package/dist/development/dom-export.d.ts +3 -13
  6. package/dist/development/dom-export.js +193 -262
  7. package/dist/development/dom-export.mjs +6 -9
  8. package/dist/development/{fog-of-war-CrM4EOZM.d.ts → fog-of-war-D3ny56dR.d.mts} +11 -87
  9. package/dist/{production/fog-of-war-CrM4EOZM.d.ts → development/fog-of-war-L5G-Cw9x.d.ts} +11 -87
  10. package/dist/development/index.d.mts +11 -7
  11. package/dist/development/index.d.ts +11 -7
  12. package/dist/development/index.js +467 -758
  13. package/dist/development/index.mjs +2 -2
  14. package/dist/development/lib/types/route-module.d.mts +5 -13
  15. package/dist/development/lib/types/route-module.d.ts +5 -13
  16. package/dist/development/lib/types/route-module.js +1 -1
  17. package/dist/development/lib/types/route-module.mjs +1 -1
  18. package/dist/development/{route-data-C9zMg-qq.d.ts → route-data-Cq_b5feC.d.mts} +17 -54
  19. package/dist/{production/route-data-C9zMg-qq.d.mts → development/route-data-Cq_b5feC.d.ts} +17 -54
  20. package/dist/production/{chunk-DRRQRV77.mjs → chunk-F7U65DMX.mjs} +467 -758
  21. package/dist/production/data-CQbyyGzl.d.mts +11 -0
  22. package/dist/production/data-CQbyyGzl.d.ts +11 -0
  23. package/dist/production/dom-export.d.mts +3 -13
  24. package/dist/production/dom-export.d.ts +3 -13
  25. package/dist/production/dom-export.js +193 -262
  26. package/dist/production/dom-export.mjs +6 -9
  27. package/dist/production/{fog-of-war-CYAe8qUt.d.mts → fog-of-war-D3ny56dR.d.mts} +11 -87
  28. package/dist/{development/fog-of-war-CYAe8qUt.d.mts → production/fog-of-war-L5G-Cw9x.d.ts} +11 -87
  29. package/dist/production/index.d.mts +11 -7
  30. package/dist/production/index.d.ts +11 -7
  31. package/dist/production/index.js +467 -758
  32. package/dist/production/index.mjs +2 -2
  33. package/dist/production/lib/types/route-module.d.mts +5 -13
  34. package/dist/production/lib/types/route-module.d.ts +5 -13
  35. package/dist/production/lib/types/route-module.js +1 -1
  36. package/dist/production/lib/types/route-module.mjs +1 -1
  37. package/dist/production/{route-data-C9zMg-qq.d.ts → route-data-Cq_b5feC.d.mts} +17 -54
  38. package/dist/{development/route-data-C9zMg-qq.d.mts → production/route-data-Cq_b5feC.d.ts} +17 -54
  39. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v0.0.0-experimental-beaa4f52a
2
+ * react-router v0.0.0-experimental-df0f1dfda
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -25,7 +25,7 @@ import {
25
25
  matchRoutes,
26
26
  shouldHydrateRouteLoader,
27
27
  useFogOFWarDiscovery
28
- } from "./chunk-3SBCR7VW.mjs";
28
+ } from "./chunk-O5WSUTKP.mjs";
29
29
 
30
30
  // lib/dom-export/dom-router-provider.tsx
31
31
  import * as React from "react";
@@ -50,9 +50,7 @@ function initSsrInfo() {
50
50
  };
51
51
  }
52
52
  }
53
- function createHydratedRouter({
54
- context
55
- }) {
53
+ function createHydratedRouter() {
56
54
  initSsrInfo();
57
55
  if (!ssrInfo) {
58
56
  throw new Error(
@@ -118,10 +116,9 @@ function createHydratedRouter({
118
116
  routes,
119
117
  history: createBrowserHistory(),
120
118
  basename: ssrInfo.context.basename,
121
- context,
122
119
  hydrationData,
123
120
  mapRouteProperties,
124
- dataStrategy: ssrInfo.context.isSpaMode ? void 0 : getSingleFetchDataStrategy(
121
+ dataStrategy: getSingleFetchDataStrategy(
125
122
  ssrInfo.manifest,
126
123
  ssrInfo.routeModules,
127
124
  () => router2
@@ -143,9 +140,9 @@ function createHydratedRouter({
143
140
  window.__reactRouterDataRouter = router2;
144
141
  return router2;
145
142
  }
146
- function HydratedRouter(props) {
143
+ function HydratedRouter() {
147
144
  if (!router) {
148
- router = createHydratedRouter({ context: props.context });
145
+ router = createHydratedRouter();
149
146
  }
150
147
  let [criticalCss, setCriticalCss] = React2.useState(
151
148
  process.env.NODE_ENV === "development" ? ssrInfo?.context.criticalCss : void 0
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { l as RouteObject, F as FutureConfig$1, H as HydrationState, I as InitialEntry, D as DataStrategyFunction, ap as PatchRoutesOnNavigationFunction, b as Router$1, T as To, e as RelativeRoutingType, w as NonIndexRouteObject, a1 as LazyRouteFunction, s as IndexRouteObject, f as Location, g as Action, ao as Navigator, ar as RouteMatch, q as StaticHandlerContext, c as RouteManifest, a as RouteModules, an as DataRouteObject, aO as RouteModule, a0 as HTMLFormMethod, _ as FormEncType, aA as PageLinkDescriptor, aP as History, y as GetScrollRestorationKeyFunction, N as NavigateOptions, z as Fetcher, o as SerializeFrom, B as BlockerFunction } from './route-data-C9zMg-qq.js';
2
+ import { j as RouteObject, F as FutureConfig$1, H as HydrationState, I as InitialEntry, D as DataStrategyFunction, al as PatchRoutesOnNavigationFunction, a as Router$1, T as To, c as RelativeRoutingType, u as NonIndexRouteObject, $ as LazyRouteFunction, q as IndexRouteObject, d as Location, e as Action, ak as Navigator, an as RouteMatch, o as StaticHandlerContext, b as RouteManifest, R as RouteModules, aj as DataRouteObject, aK as RouteModule, _ as HTMLFormMethod, Y as FormEncType, aw as PageLinkDescriptor, aL as History, w as GetScrollRestorationKeyFunction, N as NavigateOptions, x as Fetcher, m as SerializeFrom, B as BlockerFunction } from './route-data-Cq_b5feC.mjs';
3
3
 
4
4
  /**
5
5
  * @private
@@ -7,57 +7,18 @@ import { l as RouteObject, F as FutureConfig$1, H as HydrationState, I as Initia
7
7
  declare function mapRouteProperties(route: RouteObject): Partial<RouteObject> & {
8
8
  hasErrorBoundary: boolean;
9
9
  };
10
- interface MemoryRouterOpts {
11
- /**
12
- * Basename path for the application.
13
- */
10
+ /**
11
+ * @category Data Routers
12
+ */
13
+ declare function createMemoryRouter(routes: RouteObject[], opts?: {
14
14
  basename?: string;
15
- /**
16
- * Router context singleton that will be passed to loader/action functions.
17
- */
18
- context?: any;
19
- /**
20
- * Future flags to enable for the router.
21
- */
22
15
  future?: Partial<FutureConfig$1>;
23
- /**
24
- * Hydration data to initialize the router with if you have already performed
25
- * data loading on the server.
26
- */
27
16
  hydrationData?: HydrationState;
28
- /**
29
- * Initial entires in the in-memory history stack
30
- */
31
17
  initialEntries?: InitialEntry[];
32
- /**
33
- * Index of `initialEntries` the application should initialize to
34
- */
35
18
  initialIndex?: number;
36
- /**
37
- * Override the default data strategy of loading in parallel.
38
- * Only intended for advanced usage.
39
- */
40
19
  dataStrategy?: DataStrategyFunction;
41
- /**
42
- * Lazily define portions of the route tree on navigations.
43
- */
44
20
  patchRoutesOnNavigation?: PatchRoutesOnNavigationFunction;
45
- }
46
- /**
47
- * Create a new data router that manages the application path using an in-memory
48
- * history stack. Useful for non-browser environments without a DOM API.
49
- *
50
- * @category Data Routers
51
- */
52
- declare function createMemoryRouter(
53
- /**
54
- * Application routes
55
- */
56
- routes: RouteObject[],
57
- /**
58
- * Router options
59
- */
60
- opts?: MemoryRouterOpts): Router$1;
21
+ }): Router$1;
61
22
  interface RouterProviderProps {
62
23
  router: Router$1;
63
24
  flushSync?: (fn: () => unknown) => undefined;
@@ -470,6 +431,9 @@ interface EntryRoute extends Route {
470
431
  imports?: string[];
471
432
  css?: string[];
472
433
  module: string;
434
+ clientActionModule: string | undefined;
435
+ clientLoaderModule: string | undefined;
436
+ hydrateFallbackModule: string | undefined;
473
437
  parentId?: string;
474
438
  }
475
439
  declare function createClientRoutesWithHMRRevalidationOptOut(needsRevalidation: Set<string>, manifest: RouteManifest<EntryRoute>, routeModulesCache: RouteModules, initialState: HydrationState, future: FutureConfig, isSpaMode: boolean): DataRouteObject[];
@@ -692,59 +656,19 @@ declare function Scripts(props: ScriptsProps): React.JSX.Element | null;
692
656
  declare global {
693
657
  const REACT_ROUTER_VERSION: string;
694
658
  }
695
- /**
696
- * @category Routers
697
- */
698
659
  interface DOMRouterOpts {
699
- /**
700
- * Basename path for the application.
701
- */
702
660
  basename?: string;
703
- /**
704
- * Router context singleton that will be passed to loader/action functions.
705
- */
706
- context?: any;
707
- /**
708
- * Future flags to enable for the router.
709
- */
710
661
  future?: Partial<FutureConfig$1>;
711
- /**
712
- * Hydration data to initialize the router with if you have already performed
713
- * data loading on the server.
714
- */
715
662
  hydrationData?: HydrationState;
716
- /**
717
- * Override the default data strategy of loading in parallel.
718
- * Only intended for advanced usage.
719
- */
720
663
  dataStrategy?: DataStrategyFunction;
721
- /**
722
- * Lazily define portions of the route tree on navigations.
723
- */
724
664
  patchRoutesOnNavigation?: PatchRoutesOnNavigationFunction;
725
- /**
726
- * Window object override - defaults to the global `window` instance.
727
- */
728
665
  window?: Window;
729
666
  }
730
667
  /**
731
- * Create a new data router that manages the application path via `history.pushState`
732
- * and `history.replaceState`.
733
- *
734
668
  * @category Data Routers
735
669
  */
736
- declare function createBrowserRouter(
737
- /**
738
- * Application routes
739
- */
740
- routes: RouteObject[],
670
+ declare function createBrowserRouter(routes: RouteObject[], opts?: DOMRouterOpts): Router$1;
741
671
  /**
742
- * Router options
743
- */
744
- opts?: DOMRouterOpts): Router$1;
745
- /**
746
- * Create a new data router that manages the application path via the URL hash
747
- *
748
672
  * @category Data Routers
749
673
  */
750
674
  declare function createHashRouter(routes: RouteObject[], opts?: DOMRouterOpts): Router$1;
@@ -1674,4 +1598,4 @@ declare global {
1674
1598
  declare function getPatchRoutesOnNavigationFunction(manifest: AssetsManifest, routeModules: RouteModules, isSpaMode: boolean, basename: string | undefined): PatchRoutesOnNavigationFunction | undefined;
1675
1599
  declare function useFogOFWarDiscovery(router: Router$1, manifest: AssetsManifest, routeModules: RouteModules, isSpaMode: boolean): void;
1676
1600
 
1677
- export { useSubmit as $, type AssetsManifest as A, type BrowserRouterProps as B, type FetcherSubmitFunction as C, type DOMRouterOpts as D, type EntryContext as E, type FutureConfig as F, type FetcherWithComponents as G, type HashRouterProps as H, type IndexRouteProps as I, createBrowserRouter as J, createHashRouter as K, type LayoutRouteProps as L, type MemoryRouterOpts as M, type NavigateProps as N, type OutletProps as O, type PathRouteProps as P, BrowserRouter as Q, type RouterProviderProps as R, type ScrollRestorationProps as S, HashRouter as T, Link as U, HistoryRouter as V, NavLink as W, Form as X, ScrollRestoration as Y, useLinkClickHandler as Z, useSearchParams as _, type Route as a, useFormAction as a0, useFetcher as a1, useFetchers as a2, useBeforeUnload as a3, usePrompt as a4, useViewTransitionState as a5, type FetcherSubmitOptions as a6, type ParamKeyValuePair as a7, type SubmitOptions as a8, type URLSearchParamsInit as a9, type SubmitTarget as aa, createSearchParams as ab, Meta as ac, Links as ad, Scripts as ae, PrefetchPageLinks as af, type ScriptsProps as ag, mapRouteProperties as ah, FrameworkContext as ai, getPatchRoutesOnNavigationFunction as aj, useFogOFWarDiscovery as ak, createClientRoutes as al, createClientRoutesWithHMRRevalidationOptOut as am, shouldHydrateRouteLoader as an, useScrollRestoration as ao, type AwaitProps as b, type MemoryRouterProps as c, type RouteProps as d, type RouterProps as e, type RoutesProps as f, Await as g, MemoryRouter as h, Navigate as i, Outlet as j, Route$1 as k, Router as l, RouterProvider as m, Routes as n, createMemoryRouter as o, createRoutesFromChildren as p, createRoutesFromElements as q, renderMatches as r, type HistoryRouterProps as s, type LinkProps as t, type NavLinkProps as u, type NavLinkRenderProps as v, type FetcherFormProps as w, type FormProps as x, type SetURLSearchParams as y, type SubmitFunction as z };
1601
+ export { useFetcher as $, type AssetsManifest as A, type BrowserRouterProps as B, type FetcherWithComponents as C, createBrowserRouter as D, type EntryContext as E, type FutureConfig as F, createHashRouter as G, type HashRouterProps as H, type IndexRouteProps as I, BrowserRouter as J, HashRouter as K, type LayoutRouteProps as L, type MemoryRouterProps as M, type NavigateProps as N, type OutletProps as O, type PathRouteProps as P, Link as Q, type RouterProviderProps as R, type ScrollRestorationProps as S, HistoryRouter as T, NavLink as U, Form as V, ScrollRestoration as W, useLinkClickHandler as X, useSearchParams as Y, useSubmit as Z, useFormAction as _, type Route as a, useFetchers as a0, useBeforeUnload as a1, usePrompt as a2, useViewTransitionState as a3, type FetcherSubmitOptions as a4, type ParamKeyValuePair as a5, type SubmitOptions as a6, type URLSearchParamsInit as a7, type SubmitTarget as a8, createSearchParams as a9, Meta as aa, Links as ab, Scripts as ac, PrefetchPageLinks as ad, type ScriptsProps as ae, mapRouteProperties as af, FrameworkContext as ag, getPatchRoutesOnNavigationFunction as ah, useFogOFWarDiscovery as ai, createClientRoutes as aj, createClientRoutesWithHMRRevalidationOptOut as ak, shouldHydrateRouteLoader as al, useScrollRestoration as am, type AwaitProps as b, type RouteProps as c, type RouterProps as d, type RoutesProps as e, Await as f, MemoryRouter as g, Navigate as h, Outlet as i, Route$1 as j, Router as k, RouterProvider as l, Routes as m, createMemoryRouter as n, createRoutesFromChildren as o, createRoutesFromElements as p, type HistoryRouterProps as q, renderMatches as r, type LinkProps as s, type NavLinkProps as t, type NavLinkRenderProps as u, type FetcherFormProps as v, type FormProps as w, type SetURLSearchParams as x, type SubmitFunction as y, type FetcherSubmitFunction as z };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { l as RouteObject, F as FutureConfig$1, H as HydrationState, I as InitialEntry, D as DataStrategyFunction, ap as PatchRoutesOnNavigationFunction, b as Router$1, T as To, e as RelativeRoutingType, w as NonIndexRouteObject, a1 as LazyRouteFunction, s as IndexRouteObject, f as Location, g as Action, ao as Navigator, ar as RouteMatch, q as StaticHandlerContext, c as RouteManifest, a as RouteModules, an as DataRouteObject, aO as RouteModule, a0 as HTMLFormMethod, _ as FormEncType, aA as PageLinkDescriptor, aP as History, y as GetScrollRestorationKeyFunction, N as NavigateOptions, z as Fetcher, o as SerializeFrom, B as BlockerFunction } from './route-data-C9zMg-qq.js';
2
+ import { j as RouteObject, F as FutureConfig$1, H as HydrationState, I as InitialEntry, D as DataStrategyFunction, al as PatchRoutesOnNavigationFunction, a as Router$1, T as To, c as RelativeRoutingType, u as NonIndexRouteObject, $ as LazyRouteFunction, q as IndexRouteObject, d as Location, e as Action, ak as Navigator, an as RouteMatch, o as StaticHandlerContext, b as RouteManifest, R as RouteModules, aj as DataRouteObject, aK as RouteModule, _ as HTMLFormMethod, Y as FormEncType, aw as PageLinkDescriptor, aL as History, w as GetScrollRestorationKeyFunction, N as NavigateOptions, x as Fetcher, m as SerializeFrom, B as BlockerFunction } from './route-data-Cq_b5feC.js';
3
3
 
4
4
  /**
5
5
  * @private
@@ -7,57 +7,18 @@ import { l as RouteObject, F as FutureConfig$1, H as HydrationState, I as Initia
7
7
  declare function mapRouteProperties(route: RouteObject): Partial<RouteObject> & {
8
8
  hasErrorBoundary: boolean;
9
9
  };
10
- interface MemoryRouterOpts {
11
- /**
12
- * Basename path for the application.
13
- */
10
+ /**
11
+ * @category Data Routers
12
+ */
13
+ declare function createMemoryRouter(routes: RouteObject[], opts?: {
14
14
  basename?: string;
15
- /**
16
- * Router context singleton that will be passed to loader/action functions.
17
- */
18
- context?: any;
19
- /**
20
- * Future flags to enable for the router.
21
- */
22
15
  future?: Partial<FutureConfig$1>;
23
- /**
24
- * Hydration data to initialize the router with if you have already performed
25
- * data loading on the server.
26
- */
27
16
  hydrationData?: HydrationState;
28
- /**
29
- * Initial entires in the in-memory history stack
30
- */
31
17
  initialEntries?: InitialEntry[];
32
- /**
33
- * Index of `initialEntries` the application should initialize to
34
- */
35
18
  initialIndex?: number;
36
- /**
37
- * Override the default data strategy of loading in parallel.
38
- * Only intended for advanced usage.
39
- */
40
19
  dataStrategy?: DataStrategyFunction;
41
- /**
42
- * Lazily define portions of the route tree on navigations.
43
- */
44
20
  patchRoutesOnNavigation?: PatchRoutesOnNavigationFunction;
45
- }
46
- /**
47
- * Create a new data router that manages the application path using an in-memory
48
- * history stack. Useful for non-browser environments without a DOM API.
49
- *
50
- * @category Data Routers
51
- */
52
- declare function createMemoryRouter(
53
- /**
54
- * Application routes
55
- */
56
- routes: RouteObject[],
57
- /**
58
- * Router options
59
- */
60
- opts?: MemoryRouterOpts): Router$1;
21
+ }): Router$1;
61
22
  interface RouterProviderProps {
62
23
  router: Router$1;
63
24
  flushSync?: (fn: () => unknown) => undefined;
@@ -470,6 +431,9 @@ interface EntryRoute extends Route {
470
431
  imports?: string[];
471
432
  css?: string[];
472
433
  module: string;
434
+ clientActionModule: string | undefined;
435
+ clientLoaderModule: string | undefined;
436
+ hydrateFallbackModule: string | undefined;
473
437
  parentId?: string;
474
438
  }
475
439
  declare function createClientRoutesWithHMRRevalidationOptOut(needsRevalidation: Set<string>, manifest: RouteManifest<EntryRoute>, routeModulesCache: RouteModules, initialState: HydrationState, future: FutureConfig, isSpaMode: boolean): DataRouteObject[];
@@ -692,59 +656,19 @@ declare function Scripts(props: ScriptsProps): React.JSX.Element | null;
692
656
  declare global {
693
657
  const REACT_ROUTER_VERSION: string;
694
658
  }
695
- /**
696
- * @category Routers
697
- */
698
659
  interface DOMRouterOpts {
699
- /**
700
- * Basename path for the application.
701
- */
702
660
  basename?: string;
703
- /**
704
- * Router context singleton that will be passed to loader/action functions.
705
- */
706
- context?: any;
707
- /**
708
- * Future flags to enable for the router.
709
- */
710
661
  future?: Partial<FutureConfig$1>;
711
- /**
712
- * Hydration data to initialize the router with if you have already performed
713
- * data loading on the server.
714
- */
715
662
  hydrationData?: HydrationState;
716
- /**
717
- * Override the default data strategy of loading in parallel.
718
- * Only intended for advanced usage.
719
- */
720
663
  dataStrategy?: DataStrategyFunction;
721
- /**
722
- * Lazily define portions of the route tree on navigations.
723
- */
724
664
  patchRoutesOnNavigation?: PatchRoutesOnNavigationFunction;
725
- /**
726
- * Window object override - defaults to the global `window` instance.
727
- */
728
665
  window?: Window;
729
666
  }
730
667
  /**
731
- * Create a new data router that manages the application path via `history.pushState`
732
- * and `history.replaceState`.
733
- *
734
668
  * @category Data Routers
735
669
  */
736
- declare function createBrowserRouter(
737
- /**
738
- * Application routes
739
- */
740
- routes: RouteObject[],
670
+ declare function createBrowserRouter(routes: RouteObject[], opts?: DOMRouterOpts): Router$1;
741
671
  /**
742
- * Router options
743
- */
744
- opts?: DOMRouterOpts): Router$1;
745
- /**
746
- * Create a new data router that manages the application path via the URL hash
747
- *
748
672
  * @category Data Routers
749
673
  */
750
674
  declare function createHashRouter(routes: RouteObject[], opts?: DOMRouterOpts): Router$1;
@@ -1674,4 +1598,4 @@ declare global {
1674
1598
  declare function getPatchRoutesOnNavigationFunction(manifest: AssetsManifest, routeModules: RouteModules, isSpaMode: boolean, basename: string | undefined): PatchRoutesOnNavigationFunction | undefined;
1675
1599
  declare function useFogOFWarDiscovery(router: Router$1, manifest: AssetsManifest, routeModules: RouteModules, isSpaMode: boolean): void;
1676
1600
 
1677
- export { useSubmit as $, type AssetsManifest as A, type BrowserRouterProps as B, type FetcherSubmitFunction as C, type DOMRouterOpts as D, type EntryContext as E, type FutureConfig as F, type FetcherWithComponents as G, type HashRouterProps as H, type IndexRouteProps as I, createBrowserRouter as J, createHashRouter as K, type LayoutRouteProps as L, type MemoryRouterOpts as M, type NavigateProps as N, type OutletProps as O, type PathRouteProps as P, BrowserRouter as Q, type RouterProviderProps as R, type ScrollRestorationProps as S, HashRouter as T, Link as U, HistoryRouter as V, NavLink as W, Form as X, ScrollRestoration as Y, useLinkClickHandler as Z, useSearchParams as _, type Route as a, useFormAction as a0, useFetcher as a1, useFetchers as a2, useBeforeUnload as a3, usePrompt as a4, useViewTransitionState as a5, type FetcherSubmitOptions as a6, type ParamKeyValuePair as a7, type SubmitOptions as a8, type URLSearchParamsInit as a9, type SubmitTarget as aa, createSearchParams as ab, Meta as ac, Links as ad, Scripts as ae, PrefetchPageLinks as af, type ScriptsProps as ag, mapRouteProperties as ah, FrameworkContext as ai, getPatchRoutesOnNavigationFunction as aj, useFogOFWarDiscovery as ak, createClientRoutes as al, createClientRoutesWithHMRRevalidationOptOut as am, shouldHydrateRouteLoader as an, useScrollRestoration as ao, type AwaitProps as b, type MemoryRouterProps as c, type RouteProps as d, type RouterProps as e, type RoutesProps as f, Await as g, MemoryRouter as h, Navigate as i, Outlet as j, Route$1 as k, Router as l, RouterProvider as m, Routes as n, createMemoryRouter as o, createRoutesFromChildren as p, createRoutesFromElements as q, renderMatches as r, type HistoryRouterProps as s, type LinkProps as t, type NavLinkProps as u, type NavLinkRenderProps as v, type FetcherFormProps as w, type FormProps as x, type SetURLSearchParams as y, type SubmitFunction as z };
1601
+ export { useFetcher as $, type AssetsManifest as A, type BrowserRouterProps as B, type FetcherWithComponents as C, createBrowserRouter as D, type EntryContext as E, type FutureConfig as F, createHashRouter as G, type HashRouterProps as H, type IndexRouteProps as I, BrowserRouter as J, HashRouter as K, type LayoutRouteProps as L, type MemoryRouterProps as M, type NavigateProps as N, type OutletProps as O, type PathRouteProps as P, Link as Q, type RouterProviderProps as R, type ScrollRestorationProps as S, HistoryRouter as T, NavLink as U, Form as V, ScrollRestoration as W, useLinkClickHandler as X, useSearchParams as Y, useSubmit as Z, useFormAction as _, type Route as a, useFetchers as a0, useBeforeUnload as a1, usePrompt as a2, useViewTransitionState as a3, type FetcherSubmitOptions as a4, type ParamKeyValuePair as a5, type SubmitOptions as a6, type URLSearchParamsInit as a7, type SubmitTarget as a8, createSearchParams as a9, Meta as aa, Links as ab, Scripts as ac, PrefetchPageLinks as ad, type ScriptsProps as ae, mapRouteProperties as af, FrameworkContext as ag, getPatchRoutesOnNavigationFunction as ah, useFogOFWarDiscovery as ai, createClientRoutes as aj, createClientRoutesWithHMRRevalidationOptOut as ak, shouldHydrateRouteLoader as al, useScrollRestoration as am, type AwaitProps as b, type RouteProps as c, type RouterProps as d, type RoutesProps as e, Await as f, MemoryRouter as g, Navigate as h, Outlet as i, Route$1 as j, Router as k, RouterProvider as l, Routes as m, createMemoryRouter as n, createRoutesFromChildren as o, createRoutesFromElements as p, type HistoryRouterProps as q, renderMatches as r, type LinkProps as s, type NavLinkProps as t, type NavLinkRenderProps as u, type FetcherFormProps as v, type FormProps as w, type SetURLSearchParams as x, type SubmitFunction as y, type FetcherSubmitFunction as z };
@@ -1,11 +1,12 @@
1
- import { a as RouteModules, b as Router, D as DataStrategyFunction, c as RouteManifest, S as ServerRouteModule, A as AppLoadContext, L as LoaderFunctionArgs, d as ActionFunctionArgs, T as To, e as RelativeRoutingType, f as Location, g as Action, P as ParamParseKey, h as Path, i as PathPattern, j as PathMatch, N as NavigateOptions, k as Params, l as RouteObject, m as Navigation, n as RevalidationState, U as UIMatch, o as SerializeFrom, B as BlockerFunction, p as Blocker, q as StaticHandlerContext, r as StaticHandler, F as FutureConfig$1, C as CreateStaticHandlerOptions$1, I as InitialEntry, H as HydrationState, s as IndexRouteObject, t as LoaderFunction, u as ActionFunction, M as MetaFunction, v as LinksFunction, w as NonIndexRouteObject, x as RouterState } from './route-data-C9zMg-qq.mjs';
2
- export { as as ClientActionFunction, at as ClientActionFunctionArgs, au as ClientLoaderFunction, av as ClientLoaderFunctionArgs, am as DataRouteMatch, an as DataRouteObject, V as DataStrategyFunctionArgs, W as DataStrategyMatch, X as DataStrategyResult, Z as ErrorResponse, z as Fetcher, _ as FormEncType, $ as FormMethod, G as GetScrollPositionFunction, y as GetScrollRestorationKeyFunction, a0 as HTMLFormMethod, aw as HeadersArgs, ax as HeadersFunction, aB as HtmlLinkDescriptor, ac as IDLE_BLOCKER, ab as IDLE_FETCHER, aa as IDLE_NAVIGATION, a1 as LazyRouteFunction, aC as LinkDescriptor, ay as MetaArgs, az as MetaDescriptor, a2 as MiddlewareFunction, a3 as MiddlewareFunctionArgs, E as NavigationStates, ao as Navigator, aA as PageLinkDescriptor, ap as PatchRoutesOnNavigationFunction, aq as PatchRoutesOnNavigationFunctionArgs, a4 as PathParam, a5 as RedirectFunction, ar as RouteMatch, R as RouterContext, Q as RouterFetchOptions, J as RouterInit, O as RouterNavigateOptions, K as RouterSubscriber, a6 as ShouldRevalidateFunction, a7 as ShouldRevalidateFunctionArgs, aH as UNSAFE_DataRouterContext, aI as UNSAFE_DataRouterStateContext, Y as UNSAFE_DataWithResponseInit, aG as UNSAFE_ErrorResponseImpl, aJ as UNSAFE_FetchersContext, aK as UNSAFE_LocationContext, aL as UNSAFE_NavigationContext, aM as UNSAFE_RouteContext, aN as UNSAFE_ViewTransitionContext, aD as UNSAFE_createBrowserHistory, aF as UNSAFE_createRouter, aE as UNSAFE_invariant, a8 as createPath, ad as data, ae as generatePath, af as isRouteErrorResponse, ag as matchPath, ah as matchRoutes, a9 as parsePath, ai as redirect, aj as redirectDocument, ak as replace, al as resolvePath } from './route-data-C9zMg-qq.mjs';
3
- import { A as AssetsManifest, a as Route, F as FutureConfig, E as EntryContext } from './fog-of-war-CYAe8qUt.mjs';
4
- export { g as Await, b as AwaitProps, Q as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, w as FetcherFormProps, C as FetcherSubmitFunction, a6 as FetcherSubmitOptions, G as FetcherWithComponents, X as Form, x as FormProps, T as HashRouter, H as HashRouterProps, s as HistoryRouterProps, I as IndexRouteProps, L as LayoutRouteProps, U as Link, t as LinkProps, ad as Links, h as MemoryRouter, M as MemoryRouterOpts, c as MemoryRouterProps, ac as Meta, W as NavLink, u as NavLinkProps, v as NavLinkRenderProps, i as Navigate, N as NavigateProps, j as Outlet, O as OutletProps, a7 as ParamKeyValuePair, P as PathRouteProps, af as PrefetchPageLinks, k as Route, d as RouteProps, l as Router, e as RouterProps, m as RouterProvider, R as RouterProviderProps, n as Routes, f as RoutesProps, ae as Scripts, ag as ScriptsProps, Y as ScrollRestoration, S as ScrollRestorationProps, y as SetURLSearchParams, z as SubmitFunction, a8 as SubmitOptions, aa as SubmitTarget, ai as UNSAFE_FrameworkContext, al as UNSAFE_createClientRoutes, am as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, aj as UNSAFE_getPatchRoutesOnNavigationFunction, ah as UNSAFE_mapRouteProperties, an as UNSAFE_shouldHydrateRouteLoader, ak as UNSAFE_useFogOFWarDiscovery, ao as UNSAFE_useScrollRestoration, a9 as URLSearchParamsInit, J as createBrowserRouter, K as createHashRouter, o as createMemoryRouter, p as createRoutesFromChildren, q as createRoutesFromElements, ab as createSearchParams, r as renderMatches, V as unstable_HistoryRouter, a4 as unstable_usePrompt, a3 as useBeforeUnload, a1 as useFetcher, a2 as useFetchers, a0 as useFormAction, Z as useLinkClickHandler, _ as useSearchParams, $ as useSubmit, a5 as useViewTransitionState } from './fog-of-war-CYAe8qUt.mjs';
1
+ import { R as RouteModules, a as Router, D as DataStrategyFunction, b as RouteManifest, S as ServerRouteModule, L as LoaderFunctionArgs, A as ActionFunctionArgs, T as To, c as RelativeRoutingType, d as Location, e as Action, P as ParamParseKey, f as Path, g as PathPattern, h as PathMatch, N as NavigateOptions, i as Params, j as RouteObject, k as Navigation, l as RevalidationState, U as UIMatch, m as SerializeFrom, B as BlockerFunction, n as Blocker, o as StaticHandlerContext, p as StaticHandler, F as FutureConfig$1, C as CreateStaticHandlerOptions$1, I as InitialEntry, H as HydrationState, q as IndexRouteObject, r as LoaderFunction, s as ActionFunction, M as MetaFunction, t as LinksFunction, u as NonIndexRouteObject, v as RouterState } from './route-data-Cq_b5feC.mjs';
2
+ export { ao as ClientActionFunction, ap as ClientActionFunctionArgs, aq as ClientLoaderFunction, ar as ClientLoaderFunctionArgs, ai as DataRouteMatch, aj as DataRouteObject, O as DataStrategyFunctionArgs, Q as DataStrategyMatch, V as DataStrategyResult, X as ErrorResponse, x as Fetcher, Y as FormEncType, Z as FormMethod, G as GetScrollPositionFunction, w as GetScrollRestorationKeyFunction, _ as HTMLFormMethod, as as HeadersArgs, at as HeadersFunction, ax as HtmlLinkDescriptor, a8 as IDLE_BLOCKER, a7 as IDLE_FETCHER, a6 as IDLE_NAVIGATION, $ as LazyRouteFunction, ay as LinkDescriptor, au as MetaArgs, av as MetaDescriptor, y as NavigationStates, ak as Navigator, aw as PageLinkDescriptor, al as PatchRoutesOnNavigationFunction, am as PatchRoutesOnNavigationFunctionArgs, a0 as PathParam, a1 as RedirectFunction, an as RouteMatch, K as RouterFetchOptions, z as RouterInit, J as RouterNavigateOptions, E as RouterSubscriber, a2 as ShouldRevalidateFunction, a3 as ShouldRevalidateFunctionArgs, aD as UNSAFE_DataRouterContext, aE as UNSAFE_DataRouterStateContext, W as UNSAFE_DataWithResponseInit, aC as UNSAFE_ErrorResponseImpl, aF as UNSAFE_FetchersContext, aG as UNSAFE_LocationContext, aH as UNSAFE_NavigationContext, aI as UNSAFE_RouteContext, aJ as UNSAFE_ViewTransitionContext, az as UNSAFE_createBrowserHistory, aB as UNSAFE_createRouter, aA as UNSAFE_invariant, a4 as createPath, a9 as data, aa as generatePath, ab as isRouteErrorResponse, ac as matchPath, ad as matchRoutes, a5 as parsePath, ae as redirect, af as redirectDocument, ag as replace, ah as resolvePath } from './route-data-Cq_b5feC.mjs';
3
+ import { A as AssetsManifest, a as Route, F as FutureConfig, E as EntryContext } from './fog-of-war-D3ny56dR.mjs';
4
+ export { f as Await, b as AwaitProps, J as BrowserRouter, B as BrowserRouterProps, v as FetcherFormProps, z as FetcherSubmitFunction, a4 as FetcherSubmitOptions, C as FetcherWithComponents, V as Form, w as FormProps, K as HashRouter, H as HashRouterProps, q as HistoryRouterProps, I as IndexRouteProps, L as LayoutRouteProps, Q as Link, s as LinkProps, ab as Links, g as MemoryRouter, M as MemoryRouterProps, aa as Meta, U as NavLink, t as NavLinkProps, u as NavLinkRenderProps, h as Navigate, N as NavigateProps, i as Outlet, O as OutletProps, a5 as ParamKeyValuePair, P as PathRouteProps, ad as PrefetchPageLinks, j as Route, c as RouteProps, k as Router, d as RouterProps, l as RouterProvider, R as RouterProviderProps, m as Routes, e as RoutesProps, ac as Scripts, ae as ScriptsProps, W as ScrollRestoration, S as ScrollRestorationProps, x as SetURLSearchParams, y as SubmitFunction, a6 as SubmitOptions, a8 as SubmitTarget, ag as UNSAFE_FrameworkContext, aj as UNSAFE_createClientRoutes, ak as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, ah as UNSAFE_getPatchRoutesOnNavigationFunction, af as UNSAFE_mapRouteProperties, al as UNSAFE_shouldHydrateRouteLoader, ai as UNSAFE_useFogOFWarDiscovery, am as UNSAFE_useScrollRestoration, a7 as URLSearchParamsInit, D as createBrowserRouter, G as createHashRouter, n as createMemoryRouter, o as createRoutesFromChildren, p as createRoutesFromElements, a9 as createSearchParams, r as renderMatches, T as unstable_HistoryRouter, a2 as unstable_usePrompt, a1 as useBeforeUnload, $ as useFetcher, a0 as useFetchers, _ as useFormAction, X as useLinkClickHandler, Y as useSearchParams, Z as useSubmit, a3 as useViewTransitionState } from './fog-of-war-D3ny56dR.mjs';
5
5
  import * as React from 'react';
6
6
  import { ReactElement } from 'react';
7
7
  import { ParseOptions, SerializeOptions } from 'cookie';
8
8
  export { ParseOptions as CookieParseOptions, SerializeOptions as CookieSerializeOptions } from 'cookie';
9
+ import { A as AppLoadContext$1 } from './data-CQbyyGzl.mjs';
9
10
 
10
11
  declare const SingleFetchRedirectSymbol: unique symbol;
11
12
  declare function getSingleFetchDataStrategy(manifest: AssetsManifest, routeModules: RouteModules, getRouter: () => Router): DataStrategyFunction;
@@ -45,7 +46,7 @@ interface ServerBuild {
45
46
  isSpaMode: boolean;
46
47
  }
47
48
  interface HandleDocumentRequestFunction {
48
- (request: Request, responseStatusCode: number, responseHeaders: Headers, context: EntryContext, loadContext: AppLoadContext): Promise<Response> | Response;
49
+ (request: Request, responseStatusCode: number, responseHeaders: Headers, context: EntryContext, loadContext: AppLoadContext$1): Promise<Response> | Response;
49
50
  }
50
51
  interface HandleDataRequestFunction {
51
52
  (response: Response, args: LoaderFunctionArgs | ActionFunctionArgs): Promise<Response> | Response;
@@ -497,6 +498,9 @@ interface StubNonIndexRouteObject extends Omit<NonIndexRouteObject, "loader" | "
497
498
  links?: LinksFunction;
498
499
  }
499
500
  type StubRouteObject = StubIndexRouteObject | StubNonIndexRouteObject;
501
+ interface AppLoadContext {
502
+ [key: string]: unknown;
503
+ }
500
504
  interface RoutesTestStubProps {
501
505
  /**
502
506
  * The initial entries in the history stack. This allows you to start a test with
@@ -592,7 +596,7 @@ type IsCookieFunction = (object: any) => object is Cookie;
592
596
  */
593
597
  declare const isCookie: IsCookieFunction;
594
598
 
595
- type RequestHandler = (request: Request, loadContext?: AppLoadContext) => Promise<Response>;
599
+ type RequestHandler = (request: Request, loadContext?: AppLoadContext$1) => Promise<Response>;
596
600
  type CreateRequestHandlerFunction = (build: ServerBuild | (() => ServerBuild | Promise<ServerBuild>), mode?: string) => RequestHandler;
597
601
  declare const createRequestHandler: CreateRequestHandlerFunction;
598
602
 
@@ -796,4 +800,4 @@ declare class RemixErrorBoundary extends React.Component<RemixErrorBoundaryProps
796
800
  render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
797
801
  }
798
802
 
799
- export { ActionFunction, ActionFunctionArgs, AppLoadContext, Blocker, BlockerFunction, type Cookie, type CookieOptions, type CookieSignatureOptions, type CreateRequestHandlerFunction, Router as DataRouter, DataStrategyFunction, EntryContext, type FlashSessionData, type HandleDataRequestFunction, type HandleDocumentRequestFunction, type HandleErrorFunction, HydrationState, IndexRouteObject, InitialEntry, type IsCookieFunction, type IsSessionFunction, LinksFunction, LoaderFunction, LoaderFunctionArgs, Location, MetaFunction, type NavigateFunction, NavigateOptions, Navigation, Action as NavigationType, NonIndexRouteObject, ParamParseKey, Params, Path, PathMatch, PathPattern, RelativeRoutingType, type RequestHandler, RevalidationState, RouteObject, RouterState, type RoutesTestStubProps, type ServerBuild, type ServerEntryModule, ServerRouter, type ServerRouterProps, type Session, type SessionData, type SessionIdStorageStrategy, type SessionStorage, StaticHandler, StaticHandlerContext, StaticRouter, type StaticRouterProps, StaticRouterProvider, type StaticRouterProviderProps, To, UIMatch, AssetsManifest as UNSAFE_AssetsManifest, RemixErrorBoundary as UNSAFE_RemixErrorBoundary, RouteModules as UNSAFE_RouteModules, ServerMode as UNSAFE_ServerMode, SingleFetchRedirectSymbol as UNSAFE_SingleFetchRedirectSymbol, decodeViaTurboStream as UNSAFE_decodeViaTurboStream, deserializeErrors as UNSAFE_deserializeErrors, getSingleFetchDataStrategy as UNSAFE_getSingleFetchDataStrategy, createCookie, createCookieSessionStorage, createMemorySessionStorage, createRequestHandler, createRoutesStub, createSession, createSessionStorage, createStaticHandler, createStaticRouter, isCookie, isSession, setDevServerHooks as unstable_setDevServerHooks, useActionData, useAsyncError, useAsyncValue, useBlocker, useHref, useInRouterContext, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes };
803
+ export { ActionFunction, ActionFunctionArgs, AppLoadContext$1 as AppLoadContext, Blocker, BlockerFunction, type Cookie, type CookieOptions, type CookieSignatureOptions, type CreateRequestHandlerFunction, Router as DataRouter, DataStrategyFunction, EntryContext, type FlashSessionData, type HandleDataRequestFunction, type HandleDocumentRequestFunction, type HandleErrorFunction, HydrationState, IndexRouteObject, InitialEntry, type IsCookieFunction, type IsSessionFunction, LinksFunction, LoaderFunction, LoaderFunctionArgs, Location, MetaFunction, type NavigateFunction, NavigateOptions, Navigation, Action as NavigationType, NonIndexRouteObject, ParamParseKey, Params, Path, PathMatch, PathPattern, RelativeRoutingType, type RequestHandler, RevalidationState, RouteObject, RouterState, type RoutesTestStubProps, type ServerBuild, type ServerEntryModule, ServerRouter, type ServerRouterProps, type Session, type SessionData, type SessionIdStorageStrategy, type SessionStorage, StaticHandler, StaticHandlerContext, StaticRouter, type StaticRouterProps, StaticRouterProvider, type StaticRouterProviderProps, To, UIMatch, AssetsManifest as UNSAFE_AssetsManifest, RemixErrorBoundary as UNSAFE_RemixErrorBoundary, RouteModules as UNSAFE_RouteModules, ServerMode as UNSAFE_ServerMode, SingleFetchRedirectSymbol as UNSAFE_SingleFetchRedirectSymbol, decodeViaTurboStream as UNSAFE_decodeViaTurboStream, deserializeErrors as UNSAFE_deserializeErrors, getSingleFetchDataStrategy as UNSAFE_getSingleFetchDataStrategy, createCookie, createCookieSessionStorage, createMemorySessionStorage, createRequestHandler, createRoutesStub, createSession, createSessionStorage, createStaticHandler, createStaticRouter, isCookie, isSession, setDevServerHooks as unstable_setDevServerHooks, useActionData, useAsyncError, useAsyncValue, useBlocker, useHref, useInRouterContext, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes };
@@ -1,11 +1,12 @@
1
- import { a as RouteModules, b as Router, D as DataStrategyFunction, c as RouteManifest, S as ServerRouteModule, A as AppLoadContext, L as LoaderFunctionArgs, d as ActionFunctionArgs, T as To, e as RelativeRoutingType, f as Location, g as Action, P as ParamParseKey, h as Path, i as PathPattern, j as PathMatch, N as NavigateOptions, k as Params, l as RouteObject, m as Navigation, n as RevalidationState, U as UIMatch, o as SerializeFrom, B as BlockerFunction, p as Blocker, q as StaticHandlerContext, r as StaticHandler, F as FutureConfig$1, C as CreateStaticHandlerOptions$1, I as InitialEntry, H as HydrationState, s as IndexRouteObject, t as LoaderFunction, u as ActionFunction, M as MetaFunction, v as LinksFunction, w as NonIndexRouteObject, x as RouterState } from './route-data-C9zMg-qq.js';
2
- export { as as ClientActionFunction, at as ClientActionFunctionArgs, au as ClientLoaderFunction, av as ClientLoaderFunctionArgs, am as DataRouteMatch, an as DataRouteObject, V as DataStrategyFunctionArgs, W as DataStrategyMatch, X as DataStrategyResult, Z as ErrorResponse, z as Fetcher, _ as FormEncType, $ as FormMethod, G as GetScrollPositionFunction, y as GetScrollRestorationKeyFunction, a0 as HTMLFormMethod, aw as HeadersArgs, ax as HeadersFunction, aB as HtmlLinkDescriptor, ac as IDLE_BLOCKER, ab as IDLE_FETCHER, aa as IDLE_NAVIGATION, a1 as LazyRouteFunction, aC as LinkDescriptor, ay as MetaArgs, az as MetaDescriptor, a2 as MiddlewareFunction, a3 as MiddlewareFunctionArgs, E as NavigationStates, ao as Navigator, aA as PageLinkDescriptor, ap as PatchRoutesOnNavigationFunction, aq as PatchRoutesOnNavigationFunctionArgs, a4 as PathParam, a5 as RedirectFunction, ar as RouteMatch, R as RouterContext, Q as RouterFetchOptions, J as RouterInit, O as RouterNavigateOptions, K as RouterSubscriber, a6 as ShouldRevalidateFunction, a7 as ShouldRevalidateFunctionArgs, aH as UNSAFE_DataRouterContext, aI as UNSAFE_DataRouterStateContext, Y as UNSAFE_DataWithResponseInit, aG as UNSAFE_ErrorResponseImpl, aJ as UNSAFE_FetchersContext, aK as UNSAFE_LocationContext, aL as UNSAFE_NavigationContext, aM as UNSAFE_RouteContext, aN as UNSAFE_ViewTransitionContext, aD as UNSAFE_createBrowserHistory, aF as UNSAFE_createRouter, aE as UNSAFE_invariant, a8 as createPath, ad as data, ae as generatePath, af as isRouteErrorResponse, ag as matchPath, ah as matchRoutes, a9 as parsePath, ai as redirect, aj as redirectDocument, ak as replace, al as resolvePath } from './route-data-C9zMg-qq.js';
3
- import { A as AssetsManifest, a as Route, F as FutureConfig, E as EntryContext } from './fog-of-war-CrM4EOZM.js';
4
- export { g as Await, b as AwaitProps, Q as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, w as FetcherFormProps, C as FetcherSubmitFunction, a6 as FetcherSubmitOptions, G as FetcherWithComponents, X as Form, x as FormProps, T as HashRouter, H as HashRouterProps, s as HistoryRouterProps, I as IndexRouteProps, L as LayoutRouteProps, U as Link, t as LinkProps, ad as Links, h as MemoryRouter, M as MemoryRouterOpts, c as MemoryRouterProps, ac as Meta, W as NavLink, u as NavLinkProps, v as NavLinkRenderProps, i as Navigate, N as NavigateProps, j as Outlet, O as OutletProps, a7 as ParamKeyValuePair, P as PathRouteProps, af as PrefetchPageLinks, k as Route, d as RouteProps, l as Router, e as RouterProps, m as RouterProvider, R as RouterProviderProps, n as Routes, f as RoutesProps, ae as Scripts, ag as ScriptsProps, Y as ScrollRestoration, S as ScrollRestorationProps, y as SetURLSearchParams, z as SubmitFunction, a8 as SubmitOptions, aa as SubmitTarget, ai as UNSAFE_FrameworkContext, al as UNSAFE_createClientRoutes, am as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, aj as UNSAFE_getPatchRoutesOnNavigationFunction, ah as UNSAFE_mapRouteProperties, an as UNSAFE_shouldHydrateRouteLoader, ak as UNSAFE_useFogOFWarDiscovery, ao as UNSAFE_useScrollRestoration, a9 as URLSearchParamsInit, J as createBrowserRouter, K as createHashRouter, o as createMemoryRouter, p as createRoutesFromChildren, q as createRoutesFromElements, ab as createSearchParams, r as renderMatches, V as unstable_HistoryRouter, a4 as unstable_usePrompt, a3 as useBeforeUnload, a1 as useFetcher, a2 as useFetchers, a0 as useFormAction, Z as useLinkClickHandler, _ as useSearchParams, $ as useSubmit, a5 as useViewTransitionState } from './fog-of-war-CrM4EOZM.js';
1
+ import { R as RouteModules, a as Router, D as DataStrategyFunction, b as RouteManifest, S as ServerRouteModule, L as LoaderFunctionArgs, A as ActionFunctionArgs, T as To, c as RelativeRoutingType, d as Location, e as Action, P as ParamParseKey, f as Path, g as PathPattern, h as PathMatch, N as NavigateOptions, i as Params, j as RouteObject, k as Navigation, l as RevalidationState, U as UIMatch, m as SerializeFrom, B as BlockerFunction, n as Blocker, o as StaticHandlerContext, p as StaticHandler, F as FutureConfig$1, C as CreateStaticHandlerOptions$1, I as InitialEntry, H as HydrationState, q as IndexRouteObject, r as LoaderFunction, s as ActionFunction, M as MetaFunction, t as LinksFunction, u as NonIndexRouteObject, v as RouterState } from './route-data-Cq_b5feC.js';
2
+ export { ao as ClientActionFunction, ap as ClientActionFunctionArgs, aq as ClientLoaderFunction, ar as ClientLoaderFunctionArgs, ai as DataRouteMatch, aj as DataRouteObject, O as DataStrategyFunctionArgs, Q as DataStrategyMatch, V as DataStrategyResult, X as ErrorResponse, x as Fetcher, Y as FormEncType, Z as FormMethod, G as GetScrollPositionFunction, w as GetScrollRestorationKeyFunction, _ as HTMLFormMethod, as as HeadersArgs, at as HeadersFunction, ax as HtmlLinkDescriptor, a8 as IDLE_BLOCKER, a7 as IDLE_FETCHER, a6 as IDLE_NAVIGATION, $ as LazyRouteFunction, ay as LinkDescriptor, au as MetaArgs, av as MetaDescriptor, y as NavigationStates, ak as Navigator, aw as PageLinkDescriptor, al as PatchRoutesOnNavigationFunction, am as PatchRoutesOnNavigationFunctionArgs, a0 as PathParam, a1 as RedirectFunction, an as RouteMatch, K as RouterFetchOptions, z as RouterInit, J as RouterNavigateOptions, E as RouterSubscriber, a2 as ShouldRevalidateFunction, a3 as ShouldRevalidateFunctionArgs, aD as UNSAFE_DataRouterContext, aE as UNSAFE_DataRouterStateContext, W as UNSAFE_DataWithResponseInit, aC as UNSAFE_ErrorResponseImpl, aF as UNSAFE_FetchersContext, aG as UNSAFE_LocationContext, aH as UNSAFE_NavigationContext, aI as UNSAFE_RouteContext, aJ as UNSAFE_ViewTransitionContext, az as UNSAFE_createBrowserHistory, aB as UNSAFE_createRouter, aA as UNSAFE_invariant, a4 as createPath, a9 as data, aa as generatePath, ab as isRouteErrorResponse, ac as matchPath, ad as matchRoutes, a5 as parsePath, ae as redirect, af as redirectDocument, ag as replace, ah as resolvePath } from './route-data-Cq_b5feC.js';
3
+ import { A as AssetsManifest, a as Route, F as FutureConfig, E as EntryContext } from './fog-of-war-L5G-Cw9x.js';
4
+ export { f as Await, b as AwaitProps, J as BrowserRouter, B as BrowserRouterProps, v as FetcherFormProps, z as FetcherSubmitFunction, a4 as FetcherSubmitOptions, C as FetcherWithComponents, V as Form, w as FormProps, K as HashRouter, H as HashRouterProps, q as HistoryRouterProps, I as IndexRouteProps, L as LayoutRouteProps, Q as Link, s as LinkProps, ab as Links, g as MemoryRouter, M as MemoryRouterProps, aa as Meta, U as NavLink, t as NavLinkProps, u as NavLinkRenderProps, h as Navigate, N as NavigateProps, i as Outlet, O as OutletProps, a5 as ParamKeyValuePair, P as PathRouteProps, ad as PrefetchPageLinks, j as Route, c as RouteProps, k as Router, d as RouterProps, l as RouterProvider, R as RouterProviderProps, m as Routes, e as RoutesProps, ac as Scripts, ae as ScriptsProps, W as ScrollRestoration, S as ScrollRestorationProps, x as SetURLSearchParams, y as SubmitFunction, a6 as SubmitOptions, a8 as SubmitTarget, ag as UNSAFE_FrameworkContext, aj as UNSAFE_createClientRoutes, ak as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, ah as UNSAFE_getPatchRoutesOnNavigationFunction, af as UNSAFE_mapRouteProperties, al as UNSAFE_shouldHydrateRouteLoader, ai as UNSAFE_useFogOFWarDiscovery, am as UNSAFE_useScrollRestoration, a7 as URLSearchParamsInit, D as createBrowserRouter, G as createHashRouter, n as createMemoryRouter, o as createRoutesFromChildren, p as createRoutesFromElements, a9 as createSearchParams, r as renderMatches, T as unstable_HistoryRouter, a2 as unstable_usePrompt, a1 as useBeforeUnload, $ as useFetcher, a0 as useFetchers, _ as useFormAction, X as useLinkClickHandler, Y as useSearchParams, Z as useSubmit, a3 as useViewTransitionState } from './fog-of-war-L5G-Cw9x.js';
5
5
  import * as React from 'react';
6
6
  import { ReactElement } from 'react';
7
7
  import { ParseOptions, SerializeOptions } from 'cookie';
8
8
  export { ParseOptions as CookieParseOptions, SerializeOptions as CookieSerializeOptions } from 'cookie';
9
+ import { A as AppLoadContext$1 } from './data-CQbyyGzl.js';
9
10
 
10
11
  declare const SingleFetchRedirectSymbol: unique symbol;
11
12
  declare function getSingleFetchDataStrategy(manifest: AssetsManifest, routeModules: RouteModules, getRouter: () => Router): DataStrategyFunction;
@@ -45,7 +46,7 @@ interface ServerBuild {
45
46
  isSpaMode: boolean;
46
47
  }
47
48
  interface HandleDocumentRequestFunction {
48
- (request: Request, responseStatusCode: number, responseHeaders: Headers, context: EntryContext, loadContext: AppLoadContext): Promise<Response> | Response;
49
+ (request: Request, responseStatusCode: number, responseHeaders: Headers, context: EntryContext, loadContext: AppLoadContext$1): Promise<Response> | Response;
49
50
  }
50
51
  interface HandleDataRequestFunction {
51
52
  (response: Response, args: LoaderFunctionArgs | ActionFunctionArgs): Promise<Response> | Response;
@@ -497,6 +498,9 @@ interface StubNonIndexRouteObject extends Omit<NonIndexRouteObject, "loader" | "
497
498
  links?: LinksFunction;
498
499
  }
499
500
  type StubRouteObject = StubIndexRouteObject | StubNonIndexRouteObject;
501
+ interface AppLoadContext {
502
+ [key: string]: unknown;
503
+ }
500
504
  interface RoutesTestStubProps {
501
505
  /**
502
506
  * The initial entries in the history stack. This allows you to start a test with
@@ -592,7 +596,7 @@ type IsCookieFunction = (object: any) => object is Cookie;
592
596
  */
593
597
  declare const isCookie: IsCookieFunction;
594
598
 
595
- type RequestHandler = (request: Request, loadContext?: AppLoadContext) => Promise<Response>;
599
+ type RequestHandler = (request: Request, loadContext?: AppLoadContext$1) => Promise<Response>;
596
600
  type CreateRequestHandlerFunction = (build: ServerBuild | (() => ServerBuild | Promise<ServerBuild>), mode?: string) => RequestHandler;
597
601
  declare const createRequestHandler: CreateRequestHandlerFunction;
598
602
 
@@ -796,4 +800,4 @@ declare class RemixErrorBoundary extends React.Component<RemixErrorBoundaryProps
796
800
  render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
797
801
  }
798
802
 
799
- export { ActionFunction, ActionFunctionArgs, AppLoadContext, Blocker, BlockerFunction, type Cookie, type CookieOptions, type CookieSignatureOptions, type CreateRequestHandlerFunction, Router as DataRouter, DataStrategyFunction, EntryContext, type FlashSessionData, type HandleDataRequestFunction, type HandleDocumentRequestFunction, type HandleErrorFunction, HydrationState, IndexRouteObject, InitialEntry, type IsCookieFunction, type IsSessionFunction, LinksFunction, LoaderFunction, LoaderFunctionArgs, Location, MetaFunction, type NavigateFunction, NavigateOptions, Navigation, Action as NavigationType, NonIndexRouteObject, ParamParseKey, Params, Path, PathMatch, PathPattern, RelativeRoutingType, type RequestHandler, RevalidationState, RouteObject, RouterState, type RoutesTestStubProps, type ServerBuild, type ServerEntryModule, ServerRouter, type ServerRouterProps, type Session, type SessionData, type SessionIdStorageStrategy, type SessionStorage, StaticHandler, StaticHandlerContext, StaticRouter, type StaticRouterProps, StaticRouterProvider, type StaticRouterProviderProps, To, UIMatch, AssetsManifest as UNSAFE_AssetsManifest, RemixErrorBoundary as UNSAFE_RemixErrorBoundary, RouteModules as UNSAFE_RouteModules, ServerMode as UNSAFE_ServerMode, SingleFetchRedirectSymbol as UNSAFE_SingleFetchRedirectSymbol, decodeViaTurboStream as UNSAFE_decodeViaTurboStream, deserializeErrors as UNSAFE_deserializeErrors, getSingleFetchDataStrategy as UNSAFE_getSingleFetchDataStrategy, createCookie, createCookieSessionStorage, createMemorySessionStorage, createRequestHandler, createRoutesStub, createSession, createSessionStorage, createStaticHandler, createStaticRouter, isCookie, isSession, setDevServerHooks as unstable_setDevServerHooks, useActionData, useAsyncError, useAsyncValue, useBlocker, useHref, useInRouterContext, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes };
803
+ export { ActionFunction, ActionFunctionArgs, AppLoadContext$1 as AppLoadContext, Blocker, BlockerFunction, type Cookie, type CookieOptions, type CookieSignatureOptions, type CreateRequestHandlerFunction, Router as DataRouter, DataStrategyFunction, EntryContext, type FlashSessionData, type HandleDataRequestFunction, type HandleDocumentRequestFunction, type HandleErrorFunction, HydrationState, IndexRouteObject, InitialEntry, type IsCookieFunction, type IsSessionFunction, LinksFunction, LoaderFunction, LoaderFunctionArgs, Location, MetaFunction, type NavigateFunction, NavigateOptions, Navigation, Action as NavigationType, NonIndexRouteObject, ParamParseKey, Params, Path, PathMatch, PathPattern, RelativeRoutingType, type RequestHandler, RevalidationState, RouteObject, RouterState, type RoutesTestStubProps, type ServerBuild, type ServerEntryModule, ServerRouter, type ServerRouterProps, type Session, type SessionData, type SessionIdStorageStrategy, type SessionStorage, StaticHandler, StaticHandlerContext, StaticRouter, type StaticRouterProps, StaticRouterProvider, type StaticRouterProviderProps, To, UIMatch, AssetsManifest as UNSAFE_AssetsManifest, RemixErrorBoundary as UNSAFE_RemixErrorBoundary, RouteModules as UNSAFE_RouteModules, ServerMode as UNSAFE_ServerMode, SingleFetchRedirectSymbol as UNSAFE_SingleFetchRedirectSymbol, decodeViaTurboStream as UNSAFE_decodeViaTurboStream, deserializeErrors as UNSAFE_deserializeErrors, getSingleFetchDataStrategy as UNSAFE_getSingleFetchDataStrategy, createCookie, createCookieSessionStorage, createMemorySessionStorage, createRequestHandler, createRoutesStub, createSession, createSessionStorage, createStaticHandler, createStaticRouter, isCookie, isSession, setDevServerHooks as unstable_setDevServerHooks, useActionData, useAsyncError, useAsyncValue, useBlocker, useHref, useInRouterContext, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes };