{"version":3,"file":"react-router-dom.development.js","sources":["../../index.ts"],"sourcesContent":["let alreadyWarned = false;\n\nif (!alreadyWarned && typeof console !== \"undefined\") {\n alreadyWarned = true;\n console.warn(\n \"The `react-router-dom` package is deprecated in v7, you can change all \" +\n \"of your imports to load directly from the `react-router` package.\"\n );\n}\n\nexport type {\n ActionFunction,\n ActionFunctionArgs,\n AwaitProps,\n DataRouteMatch,\n DataRouteObject,\n unstable_DataStrategyFunction,\n unstable_DataStrategyFunctionArgs,\n unstable_DataStrategyMatch,\n ErrorResponse,\n Fetcher,\n Hash,\n IndexRouteObject,\n IndexRouteProps,\n JsonFunction,\n LayoutRouteProps,\n LazyRouteFunction,\n LoaderFunction,\n LoaderFunctionArgs,\n Location,\n MemoryRouterProps,\n NavigateFunction,\n NavigateOptions,\n NavigateProps,\n Navigation,\n Navigator,\n NonIndexRouteObject,\n OutletProps,\n ParamParseKey,\n Params,\n Path,\n PathMatch,\n PathParam,\n PathPattern,\n PathRouteProps,\n Pathname,\n RedirectFunction,\n RelativeRoutingType,\n RouteMatch,\n RouteObject,\n RouteProps,\n RouterProps,\n RouterProviderProps,\n RoutesProps,\n Search,\n ShouldRevalidateFunction,\n ShouldRevalidateFunctionArgs,\n To,\n UIMatch,\n Blocker,\n BlockerFunction,\n unstable_HandlerResult,\n AgnosticDataIndexRouteObject,\n AgnosticDataNonIndexRouteObject,\n AgnosticDataRouteMatch,\n AgnosticDataRouteObject,\n AgnosticIndexRouteObject,\n AgnosticNonIndexRouteObject,\n AgnosticRouteMatch,\n AgnosticRouteObject,\n HydrationState,\n InitialEntry,\n StaticHandler,\n TrackedPromise,\n FormEncType,\n FormMethod,\n GetScrollRestorationKeyFunction,\n StaticHandlerContext,\n BrowserRouterProps,\n HashRouterProps,\n HistoryRouterProps,\n LinkProps,\n NavLinkProps,\n FetcherFormProps,\n FormProps,\n ScrollRestorationProps,\n SetURLSearchParams,\n SubmitFunction,\n FetcherSubmitFunction,\n FetcherWithComponents,\n ParamKeyValuePair,\n SubmitOptions,\n URLSearchParamsInit,\n StaticRouterProps,\n StaticRouterProviderProps,\n HtmlLinkDescriptor,\n ClientActionFunction,\n ClientActionFunctionArgs,\n ClientLoaderFunction,\n ClientLoaderFunctionArgs,\n MetaArgs,\n MetaDescriptor,\n MetaFunction,\n ServerRouterProps,\n RoutesTestStubProps,\n} from \"react-router\";\n\nexport {\n Await,\n MemoryRouter,\n Navigate,\n NavigationType,\n Outlet,\n Route,\n Router,\n RouterProvider,\n Routes,\n createMemoryRouter,\n createPath,\n createRoutesFromChildren,\n createRoutesFromChildren as createRoutesFromElements,\n generatePath,\n isRouteErrorResponse,\n json,\n matchPath,\n matchRoutes,\n parsePath,\n redirect,\n redirectDocument,\n renderMatches,\n resolvePath,\n useBlocker,\n useActionData,\n useAsyncError,\n useAsyncValue,\n useHref,\n useInRouterContext,\n useLoaderData,\n useLocation,\n useMatch,\n useMatches,\n useNavigate,\n useNavigation,\n useNavigationType,\n useOutlet,\n useOutletContext,\n useParams,\n useResolvedPath,\n useRevalidator,\n useRouteError,\n useRouteLoaderData,\n useRoutes,\n getStaticContextFromError,\n stripBasename,\n UNSAFE_convertRoutesToDataRoutes,\n createBrowserRouter,\n createHashRouter,\n BrowserRouter,\n HashRouter,\n Link,\n UNSAFE_ViewTransitionContext,\n UNSAFE_FetchersContext,\n unstable_HistoryRouter,\n NavLink,\n Form,\n ScrollRestoration,\n useLinkClickHandler,\n useSearchParams,\n useSubmit,\n useFormAction,\n useFetcher,\n useFetchers,\n UNSAFE_useScrollRestoration,\n useBeforeUnload,\n unstable_usePrompt,\n unstable_useViewTransitionState,\n createSearchParams,\n createStaticHandler,\n createStaticRouter,\n StaticRouter,\n StaticRouterProvider,\n HydratedRouter,\n Meta,\n Links,\n Scripts,\n PrefetchPageLinks,\n ServerRouter,\n createRoutesStub,\n} from \"react-router\";\n\n///////////////////////////////////////////////////////////////////////////////\n// DANGER! PLEASE READ ME!\n// We provide these exports as an escape hatch in the event that you need any\n// routing data that we don't provide an explicit API for. With that said, we\n// want to cover your use case if we can, so if you feel the need to use these\n// we want to hear from you. Let us know what you're building and we'll do our\n// best to make sure we can support you!\n//\n// We consider these exports an implementation detail and do not guarantee\n// against any breaking changes, regardless of the semver release. Use with\n// extreme caution and only if you understand the consequences. Godspeed.\n///////////////////////////////////////////////////////////////////////////////\n\n/** @internal */\nexport type {\n UNSAFE_RouteModules,\n UNSAFE_FutureConfig,\n UNSAFE_AssetsManifest,\n UNSAFE_FrameworkContextObject,\n UNSAFE_EntryRoute,\n UNSAFE_RouteManifest,\n UNSAFE_SingleFetchRedirectResult,\n UNSAFE_SingleFetchResult,\n UNSAFE_SingleFetchResults,\n} from \"react-router\";\n\n/** @internal */\nexport {\n UNSAFE_DataRouterContext,\n UNSAFE_DataRouterStateContext,\n UNSAFE_LocationContext,\n UNSAFE_NavigationContext,\n UNSAFE_RouteContext,\n UNSAFE_mapRouteProperties,\n UNSAFE_useRouteId,\n UNSAFE_useRoutesImpl,\n UNSAFE_ErrorResponseImpl,\n UNSAFE_FrameworkContext as UNSAFE_RemixContext,\n UNSAFE_decodeViaTurboStream,\n UNSAFE_SingleFetchRedirectSymbol,\n} from \"react-router\";\n"],"names":["alreadyWarned","console","warn"],"mappings":";;;;;;;;;;;;;;;;EAAA,IAAIA,aAAa,GAAG,KAAK,CAAA;EAEzB,IAAI,CAACA,aAAa,IAAI,OAAOC,OAAO,KAAK,WAAW,EAAE;EACpDD,EAAAA,aAAa,GAAG,IAAI,CAAA;EACpBC,EAAAA,OAAO,CAACC,IAAI,CACV,yEAAyE,GACvE,mEACJ,CAAC,CAAA;EACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}