react-router 7.18.6 → 7.18.7
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.
- package/CHANGELOG.md +14 -0
- package/dist/development/{browser-7x6a6gQP.d.ts → browser-QWJf_b8Q.d.ts} +2 -2
- package/dist/development/{browser-CiGxXXOl.d.mts → browser-yuOIt-hO.d.mts} +2 -2
- package/dist/{production/chunk-2WUBOUFU.js → development/chunk-6VUODQWR.js} +105 -105
- package/dist/development/{chunk-S47XUPN5.js → chunk-EYW3HBBI.js} +12 -2
- package/dist/{production/chunk-3IBQ4CTZ.js → development/chunk-FLL7MJ4N.js} +7 -7
- package/dist/{production/chunk-JRCXCPLA.mjs → development/chunk-IXMWVLYF.mjs} +2 -2
- package/dist/development/{chunk-YDNE64FV.mjs → chunk-Z7SQORRT.mjs} +13 -3
- package/dist/{production/context-BlYKn1tE.d.mts → development/context-BbKau8k8.d.mts} +1 -1
- package/dist/development/{data-DEjBmEfD.d.mts → data-BfpvlkTw.d.mts} +2 -0
- package/dist/{production/data-CjO11-hU.d.ts → development/data-DNyB6ouY.d.ts} +2 -0
- package/dist/development/dom-export.d.mts +3 -3
- package/dist/development/dom-export.d.ts +3 -3
- package/dist/development/dom-export.js +35 -35
- package/dist/development/dom-export.mjs +4 -4
- package/dist/development/{index-react-server-client-KK-TR-t7.d.mts → index-react-server-client-DF1LPF_n.d.mts} +2 -2
- package/dist/development/{index-react-server-client-BaaZU3sM.d.ts → index-react-server-client-DxC4rwQS.d.ts} +2 -2
- package/dist/development/index-react-server-client.d.mts +3 -3
- package/dist/development/index-react-server-client.d.ts +3 -3
- package/dist/development/index-react-server-client.js +4 -4
- package/dist/development/index-react-server-client.mjs +2 -2
- package/dist/development/index-react-server.js +59 -57
- package/dist/development/index-react-server.mjs +59 -57
- package/dist/development/index.d.mts +10 -10
- package/dist/development/index.d.ts +10 -10
- package/dist/development/index.js +92 -92
- package/dist/development/index.mjs +3 -3
- package/dist/{production/instrumentation-CPkMwccd.d.ts → development/instrumentation-z0GQ7yJ2.d.ts} +1 -1
- package/dist/development/lib/types/internal.d.mts +2 -2
- package/dist/development/lib/types/internal.d.ts +2 -2
- package/dist/development/lib/types/internal.js +1 -1
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/development/{register-CmkRspdl.d.mts → register-B8pHflrz.d.mts} +1 -1
- package/dist/development/{register-roq_0qYo.d.ts → register-Dnr_kGGI.d.ts} +1 -1
- package/dist/production/{browser-7x6a6gQP.d.ts → browser-QWJf_b8Q.d.ts} +2 -2
- package/dist/production/{browser-CiGxXXOl.d.mts → browser-yuOIt-hO.d.mts} +2 -2
- package/dist/{development/chunk-QM7ETCUK.js → production/chunk-6AFDAMLF.js} +105 -105
- package/dist/{development/chunk-E2PF4K4Z.mjs → production/chunk-D2GT6IUW.mjs} +2 -2
- package/dist/production/{chunk-AC65NKOP.js → chunk-JAAIXHP6.js} +12 -2
- package/dist/production/{chunk-HEAXLYUI.mjs → chunk-OCNYVWSN.mjs} +13 -3
- package/dist/{development/chunk-3QTLHDUO.js → production/chunk-RFC7P4DG.js} +7 -7
- package/dist/{development/context-BlYKn1tE.d.mts → production/context-BbKau8k8.d.mts} +1 -1
- package/dist/production/{data-DEjBmEfD.d.mts → data-BfpvlkTw.d.mts} +2 -0
- package/dist/{development/data-CjO11-hU.d.ts → production/data-DNyB6ouY.d.ts} +2 -0
- package/dist/production/dom-export.d.mts +3 -3
- package/dist/production/dom-export.d.ts +3 -3
- package/dist/production/dom-export.js +35 -35
- package/dist/production/dom-export.mjs +4 -4
- package/dist/production/{index-react-server-client-KK-TR-t7.d.mts → index-react-server-client-DF1LPF_n.d.mts} +2 -2
- package/dist/production/{index-react-server-client-BaaZU3sM.d.ts → index-react-server-client-DxC4rwQS.d.ts} +2 -2
- package/dist/production/index-react-server-client.d.mts +3 -3
- package/dist/production/index-react-server-client.d.ts +3 -3
- package/dist/production/index-react-server-client.js +4 -4
- package/dist/production/index-react-server-client.mjs +2 -2
- package/dist/production/index-react-server.js +59 -57
- package/dist/production/index-react-server.mjs +59 -57
- package/dist/production/index.d.mts +10 -10
- package/dist/production/index.d.ts +10 -10
- package/dist/production/index.js +92 -92
- package/dist/production/index.mjs +3 -3
- package/dist/{development/instrumentation-CPkMwccd.d.ts → production/instrumentation-z0GQ7yJ2.d.ts} +1 -1
- package/dist/production/lib/types/internal.d.mts +2 -2
- package/dist/production/lib/types/internal.d.ts +2 -2
- package/dist/production/lib/types/internal.js +1 -1
- package/dist/production/lib/types/internal.mjs +1 -1
- package/dist/production/{register-CmkRspdl.d.mts → register-B8pHflrz.d.mts} +1 -1
- package/dist/production/{register-roq_0qYo.d.ts → register-Dnr_kGGI.d.ts} +1 -1
- package/package.json +5 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }/**
|
|
2
|
-
* react-router v7.18.
|
|
2
|
+
* react-router v7.18.7
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -835,12 +835,22 @@ function generatePath(originalPath, params = {}) {
|
|
|
835
835
|
validateDocumentNavigationTarget(result);
|
|
836
836
|
return result;
|
|
837
837
|
}
|
|
838
|
+
var MAX_OPTIONAL_PATH_SEGMENTS = 12;
|
|
838
839
|
function matchPath(pattern, pathname) {
|
|
839
840
|
if (typeof pattern === "string") {
|
|
840
841
|
pattern = { path: pattern, caseSensitive: false, end: true };
|
|
841
842
|
}
|
|
843
|
+
let { path } = pattern;
|
|
844
|
+
let optionalSegments = 0;
|
|
845
|
+
for (let index = path.indexOf("?"); index !== -1; index = path.indexOf("?", index + 1)) {
|
|
846
|
+
if (++optionalSegments > MAX_OPTIONAL_PATH_SEGMENTS) {
|
|
847
|
+
throw new Error(
|
|
848
|
+
`Path pattern ${JSON.stringify(path)} exceeds the limit of ${MAX_OPTIONAL_PATH_SEGMENTS} optional segments.`
|
|
849
|
+
);
|
|
850
|
+
}
|
|
851
|
+
}
|
|
842
852
|
let [matcher, compiledParams] = compilePath(
|
|
843
|
-
|
|
853
|
+
path,
|
|
844
854
|
pattern.caseSensitive,
|
|
845
855
|
pattern.end
|
|
846
856
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }/**
|
|
2
|
-
* react-router v7.18.
|
|
2
|
+
* react-router v7.18.7
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkEYW3HBBIjs = require('./chunk-EYW3HBBI.js');
|
|
18
18
|
|
|
19
19
|
// lib/dom/ssr/hydration.tsx
|
|
20
20
|
function getHydrationData({
|
|
@@ -29,12 +29,12 @@ function getHydrationData({
|
|
|
29
29
|
...state,
|
|
30
30
|
loaderData: { ...state.loaderData }
|
|
31
31
|
};
|
|
32
|
-
let initialMatches =
|
|
32
|
+
let initialMatches = _chunkEYW3HBBIjs.matchRoutes.call(void 0, routes, location, basename);
|
|
33
33
|
if (initialMatches) {
|
|
34
34
|
for (let match of initialMatches) {
|
|
35
35
|
let routeId = match.route.id;
|
|
36
36
|
let routeInfo = getRouteInfo(routeId);
|
|
37
|
-
if (
|
|
37
|
+
if (_chunkEYW3HBBIjs.shouldHydrateRouteLoader.call(void 0,
|
|
38
38
|
routeId,
|
|
39
39
|
routeInfo.clientLoader,
|
|
40
40
|
routeInfo.hasLoader,
|
|
@@ -112,7 +112,7 @@ function RSCDefaultRootErrorBoundaryImpl({
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
);
|
|
115
|
-
if (
|
|
115
|
+
if (_chunkEYW3HBBIjs.isRouteErrorResponse.call(void 0, error)) {
|
|
116
116
|
return /* @__PURE__ */ _react2.default.createElement(
|
|
117
117
|
ErrorWrapper,
|
|
118
118
|
{
|
|
@@ -120,7 +120,7 @@ function RSCDefaultRootErrorBoundaryImpl({
|
|
|
120
120
|
title: "Unhandled Thrown Response!"
|
|
121
121
|
},
|
|
122
122
|
/* @__PURE__ */ _react2.default.createElement("h1", { style: { fontSize: "24px" } }, error.status, " ", error.statusText),
|
|
123
|
-
|
|
123
|
+
_chunkEYW3HBBIjs.ENABLE_DEV_WARNINGS ? heyDeveloper : null
|
|
124
124
|
);
|
|
125
125
|
}
|
|
126
126
|
let errorInstance;
|
|
@@ -146,7 +146,7 @@ function RSCDefaultRootErrorBoundaryImpl({
|
|
|
146
146
|
function RSCDefaultRootErrorBoundary({
|
|
147
147
|
hasRootLayout
|
|
148
148
|
}) {
|
|
149
|
-
let error =
|
|
149
|
+
let error = _chunkEYW3HBBIjs.useRouteError.call(void 0, );
|
|
150
150
|
if (hasRootLayout === void 0) {
|
|
151
151
|
throw new Error("Missing 'hasRootLayout' prop");
|
|
152
152
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v7.18.
|
|
2
|
+
* react-router v7.18.7
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
withComponentProps,
|
|
60
60
|
withErrorBoundaryProps,
|
|
61
61
|
withHydrateFallbackProps
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-Z7SQORRT.mjs";
|
|
63
63
|
|
|
64
64
|
// lib/dom/ssr/server.tsx
|
|
65
65
|
import * as React from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v7.18.
|
|
2
|
+
* react-router v7.18.7
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -835,12 +835,22 @@ function generatePath(originalPath, params = {}) {
|
|
|
835
835
|
validateDocumentNavigationTarget(result);
|
|
836
836
|
return result;
|
|
837
837
|
}
|
|
838
|
+
var MAX_OPTIONAL_PATH_SEGMENTS = 12;
|
|
838
839
|
function matchPath(pattern, pathname) {
|
|
839
840
|
if (typeof pattern === "string") {
|
|
840
841
|
pattern = { path: pattern, caseSensitive: false, end: true };
|
|
841
842
|
}
|
|
843
|
+
let { path } = pattern;
|
|
844
|
+
let optionalSegments = 0;
|
|
845
|
+
for (let index = path.indexOf("?"); index !== -1; index = path.indexOf("?", index + 1)) {
|
|
846
|
+
if (++optionalSegments > MAX_OPTIONAL_PATH_SEGMENTS) {
|
|
847
|
+
throw new Error(
|
|
848
|
+
`Path pattern ${JSON.stringify(path)} exceeds the limit of ${MAX_OPTIONAL_PATH_SEGMENTS} optional segments.`
|
|
849
|
+
);
|
|
850
|
+
}
|
|
851
|
+
}
|
|
842
852
|
let [matcher, compiledParams] = compilePath(
|
|
843
|
-
|
|
853
|
+
path,
|
|
844
854
|
pattern.caseSensitive,
|
|
845
855
|
pattern.end
|
|
846
856
|
);
|
|
@@ -10472,7 +10482,7 @@ var isBrowser2 = typeof window !== "undefined" && typeof window.document !== "un
|
|
|
10472
10482
|
try {
|
|
10473
10483
|
if (isBrowser2) {
|
|
10474
10484
|
window.__reactRouterVersion = // @ts-expect-error
|
|
10475
|
-
"7.18.
|
|
10485
|
+
"7.18.7";
|
|
10476
10486
|
}
|
|
10477
10487
|
} catch (e) {
|
|
10478
10488
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as HTMLFormMethod, n as FormEncType, o as LoaderFunctionArgs, p as MiddlewareEnabled, c as RouterContextProvider, q as AppLoadContext, r as RouteObject, s as History, t as MaybePromise, u as MapRoutePropertiesFunction, v as Action, L as Location, w as DataRouteMatch, x as Submission, y as RouteData, z as DataStrategyFunction, B as PatchRoutesOnNavigationFunction, E as DataRouteObject, I as RouteBranch, J as RouteManifest, U as UIMatch, T as To, K as Path, P as Params, O as InitialEntry, Q as NonIndexRouteObject, V as LazyRouteFunction, W as IndexRouteObject, X as RouteMatch, Y as TrackedPromise } from './data-
|
|
1
|
+
import { m as HTMLFormMethod, n as FormEncType, o as LoaderFunctionArgs, p as MiddlewareEnabled, c as RouterContextProvider, q as AppLoadContext, r as RouteObject, s as History, t as MaybePromise, u as MapRoutePropertiesFunction, v as Action, L as Location, w as DataRouteMatch, x as Submission, y as RouteData, z as DataStrategyFunction, B as PatchRoutesOnNavigationFunction, E as DataRouteObject, I as RouteBranch, J as RouteManifest, U as UIMatch, T as To, K as Path, P as Params, O as InitialEntry, Q as NonIndexRouteObject, V as LazyRouteFunction, W as IndexRouteObject, X as RouteMatch, Y as TrackedPromise } from './data-BfpvlkTw.mjs';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
type ServerInstrumentation = {
|
|
@@ -1036,6 +1036,8 @@ interface PathMatch<ParamKey extends string = string> {
|
|
|
1036
1036
|
* Performs pattern matching on a URL pathname and returns information about
|
|
1037
1037
|
* the match.
|
|
1038
1038
|
*
|
|
1039
|
+
* Throws if the pattern contains more than 12 optional (`?`) markers.
|
|
1040
|
+
*
|
|
1039
1041
|
* @public
|
|
1040
1042
|
* @category Utils
|
|
1041
1043
|
* @param pattern The pattern to match against the URL pathname. This can be a
|
|
@@ -1036,6 +1036,8 @@ interface PathMatch<ParamKey extends string = string> {
|
|
|
1036
1036
|
* Performs pattern matching on a URL pathname and returns information about
|
|
1037
1037
|
* the match.
|
|
1038
1038
|
*
|
|
1039
|
+
* Throws if the pattern contains more than 12 optional (`?`) markers.
|
|
1040
|
+
*
|
|
1039
1041
|
* @public
|
|
1040
1042
|
* @category Utils
|
|
1041
1043
|
* @param pattern The pattern to match against the URL pathname. This can be a
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { a as RouterProviderProps$1, R as RouterInit, C as ClientInstrumentation, b as ClientOnErrorFunction } from './context-
|
|
3
|
-
export { D as unstable_DecodeActionFunction, a as unstable_DecodeFormStateFunction, b as unstable_DecodeReplyFunction, R as unstable_RSCHydratedRouter, d as unstable_RSCManifestPayload, e as unstable_RSCPayload, f as unstable_RSCRenderPayload, c as unstable_createCallServer } from './browser-
|
|
4
|
-
import './data-
|
|
2
|
+
import { a as RouterProviderProps$1, R as RouterInit, C as ClientInstrumentation, b as ClientOnErrorFunction } from './context-BbKau8k8.mjs';
|
|
3
|
+
export { D as unstable_DecodeActionFunction, a as unstable_DecodeFormStateFunction, b as unstable_DecodeReplyFunction, R as unstable_RSCHydratedRouter, d as unstable_RSCManifestPayload, e as unstable_RSCPayload, f as unstable_RSCRenderPayload, c as unstable_createCallServer } from './browser-yuOIt-hO.mjs';
|
|
4
|
+
import './data-BfpvlkTw.mjs';
|
|
5
5
|
|
|
6
6
|
type RouterProviderProps = Omit<RouterProviderProps$1, "flushSync">;
|
|
7
7
|
declare function RouterProvider(props: RouterProviderProps): React.JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { RouterProviderProps as RouterProviderProps$1, RouterInit, ClientOnErrorFunction } from 'react-router';
|
|
3
|
-
import { C as ClientInstrumentation } from './instrumentation-
|
|
4
|
-
export { D as unstable_DecodeActionFunction, a as unstable_DecodeFormStateFunction, b as unstable_DecodeReplyFunction, R as unstable_RSCHydratedRouter, d as unstable_RSCManifestPayload, e as unstable_RSCPayload, f as unstable_RSCRenderPayload, c as unstable_createCallServer } from './browser-
|
|
5
|
-
import './data-
|
|
3
|
+
import { C as ClientInstrumentation } from './instrumentation-z0GQ7yJ2.js';
|
|
4
|
+
export { D as unstable_DecodeActionFunction, a as unstable_DecodeFormStateFunction, b as unstable_DecodeReplyFunction, R as unstable_RSCHydratedRouter, d as unstable_RSCManifestPayload, e as unstable_RSCPayload, f as unstable_RSCRenderPayload, c as unstable_createCallServer } from './browser-QWJf_b8Q.js';
|
|
5
|
+
import './data-DNyB6ouY.js';
|
|
6
6
|
|
|
7
7
|
type RouterProviderProps = Omit<RouterProviderProps$1, "flushSync">;
|
|
8
8
|
declare function RouterProvider(props: RouterProviderProps): React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }/**
|
|
2
|
-
* react-router v7.18.
|
|
2
|
+
* react-router v7.18.7
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkFLL7MJ4Njs = require('./chunk-FLL7MJ4N.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -38,7 +38,7 @@ var _chunk3QTLHDUOjs = require('./chunk-3QTLHDUO.js');
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkEYW3HBBIjs = require('./chunk-EYW3HBBI.js');
|
|
42
42
|
|
|
43
43
|
// lib/dom-export/dom-router-provider.tsx
|
|
44
44
|
var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react); var React3 = _interopRequireWildcard(_react);
|
|
@@ -216,7 +216,7 @@ function HydratedRouter(props) {
|
|
|
216
216
|
}, []);
|
|
217
217
|
React2.useEffect(() => {
|
|
218
218
|
if (process.env.NODE_ENV === "development" && criticalCss === void 0) {
|
|
219
|
-
document.querySelectorAll(`[${
|
|
219
|
+
document.querySelectorAll(`[${_chunkEYW3HBBIjs.CRITICAL_CSS_DATA_ATTRIBUTE}]`).forEach((element) => element.remove());
|
|
220
220
|
}
|
|
221
221
|
}, [criticalCss]);
|
|
222
222
|
let [location2, setLocation] = React2.useState(router.state.location);
|
|
@@ -310,14 +310,14 @@ function createCallServer({
|
|
|
310
310
|
Promise.resolve(payloadPromise).then(async (payload) => {
|
|
311
311
|
if (payload.type === "redirect") {
|
|
312
312
|
let location2 = normalizeRedirectLocation(payload.location);
|
|
313
|
-
|
|
313
|
+
_chunkEYW3HBBIjs.validateNavigationTarget.call(void 0,
|
|
314
314
|
payload.location,
|
|
315
315
|
location2,
|
|
316
316
|
new URL(window.location.href),
|
|
317
317
|
"allow-explicit"
|
|
318
318
|
);
|
|
319
319
|
if (payload.reload || isExternalLocation(location2)) {
|
|
320
|
-
if (
|
|
320
|
+
if (_chunkEYW3HBBIjs.hasInvalidProtocol.call(void 0, location2)) {
|
|
321
321
|
throw new Error("Invalid redirect location");
|
|
322
322
|
}
|
|
323
323
|
window.location.href = location2;
|
|
@@ -337,14 +337,14 @@ function createCallServer({
|
|
|
337
337
|
if (rerender && landedActionId < actionId && globalVar.__routerActionID <= actionId) {
|
|
338
338
|
if (rerender.type === "redirect") {
|
|
339
339
|
let location2 = normalizeRedirectLocation(rerender.location);
|
|
340
|
-
|
|
340
|
+
_chunkEYW3HBBIjs.validateNavigationTarget.call(void 0,
|
|
341
341
|
rerender.location,
|
|
342
342
|
location2,
|
|
343
343
|
new URL(window.location.href),
|
|
344
344
|
"allow-explicit"
|
|
345
345
|
);
|
|
346
346
|
if (rerender.reload || isExternalLocation(location2)) {
|
|
347
|
-
if (
|
|
347
|
+
if (_chunkEYW3HBBIjs.hasInvalidProtocol.call(void 0, location2)) {
|
|
348
348
|
throw new Error("Invalid redirect location");
|
|
349
349
|
}
|
|
350
350
|
window.location.href = location2;
|
|
@@ -409,7 +409,7 @@ function createRouterFromPayload({
|
|
|
409
409
|
};
|
|
410
410
|
if (payload.type !== "render") throw new Error("Invalid payload type");
|
|
411
411
|
globalVar.__reactRouterRouteModules = _nullishCoalesce(globalVar.__reactRouterRouteModules, () => ( {}));
|
|
412
|
-
|
|
412
|
+
_chunkFLL7MJ4Njs.populateRSCRouteModules.call(void 0, globalVar.__reactRouterRouteModules, payload.matches);
|
|
413
413
|
let routes = payload.matches.reduceRight((previous, match) => {
|
|
414
414
|
const route = createRouteFromServerManifest(
|
|
415
415
|
match,
|
|
@@ -423,12 +423,12 @@ function createRouterFromPayload({
|
|
|
423
423
|
return [route];
|
|
424
424
|
}, []);
|
|
425
425
|
let applyPatchesPromise;
|
|
426
|
-
globalVar.__reactRouterDataRouter =
|
|
426
|
+
globalVar.__reactRouterDataRouter = _chunkEYW3HBBIjs.createRouter.call(void 0, {
|
|
427
427
|
routes,
|
|
428
428
|
getContext,
|
|
429
429
|
basename: payload.basename,
|
|
430
|
-
history:
|
|
431
|
-
hydrationData:
|
|
430
|
+
history: _chunkEYW3HBBIjs.createBrowserHistory.call(void 0, ),
|
|
431
|
+
hydrationData: _chunkFLL7MJ4Njs.getHydrationData.call(void 0, {
|
|
432
432
|
state: {
|
|
433
433
|
loaderData: payload.loaderData,
|
|
434
434
|
actionData: payload.actionData,
|
|
@@ -437,7 +437,7 @@ function createRouterFromPayload({
|
|
|
437
437
|
routes,
|
|
438
438
|
getRouteInfo: (routeId) => {
|
|
439
439
|
let match = payload.matches.find((m) => m.id === routeId);
|
|
440
|
-
|
|
440
|
+
_chunkEYW3HBBIjs.invariant.call(void 0, match, "Route not found in payload");
|
|
441
441
|
return {
|
|
442
442
|
clientLoader: match.clientLoader,
|
|
443
443
|
hasLoader: match.hasLoader,
|
|
@@ -552,9 +552,9 @@ function createRouterFromPayload({
|
|
|
552
552
|
routeModules: globalVar.__reactRouterRouteModules
|
|
553
553
|
};
|
|
554
554
|
}
|
|
555
|
-
var renderedRoutesContext =
|
|
555
|
+
var renderedRoutesContext = _chunkEYW3HBBIjs.createContext.call(void 0, );
|
|
556
556
|
function getRSCSingleFetchDataStrategy(getRouter, ssr, basename, createFromReadableStream, fetchImplementation) {
|
|
557
|
-
let dataStrategy =
|
|
557
|
+
let dataStrategy = _chunkEYW3HBBIjs.getSingleFetchDataStrategyImpl.call(void 0,
|
|
558
558
|
getRouter,
|
|
559
559
|
(match) => {
|
|
560
560
|
let M = match;
|
|
@@ -611,20 +611,20 @@ function getRSCSingleFetchDataStrategy(getRouter, ssr, basename, createFromReada
|
|
|
611
611
|
function getFetchAndDecodeViaRSC(createFromReadableStream, fetchImplementation) {
|
|
612
612
|
return async (args, basename, trailingSlashAware, targetRoutes) => {
|
|
613
613
|
let { request, context } = args;
|
|
614
|
-
let url =
|
|
614
|
+
let url = _chunkEYW3HBBIjs.singleFetchUrl.call(void 0, request.url, basename, trailingSlashAware, "rsc");
|
|
615
615
|
if (request.method === "GET") {
|
|
616
|
-
url =
|
|
616
|
+
url = _chunkEYW3HBBIjs.stripIndexParam.call(void 0, url);
|
|
617
617
|
if (targetRoutes) {
|
|
618
618
|
url.searchParams.set("_routes", targetRoutes.join(","));
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
let res = await fetchImplementation(
|
|
622
|
-
new Request(url, await
|
|
622
|
+
new Request(url, await _chunkEYW3HBBIjs.createRequestInit.call(void 0, request))
|
|
623
623
|
);
|
|
624
624
|
if (res.status >= 400 && !res.headers.has("X-Remix-Response")) {
|
|
625
|
-
throw new (0,
|
|
625
|
+
throw new (0, _chunkEYW3HBBIjs.ErrorResponseImpl)(res.status, res.statusText, await res.text());
|
|
626
626
|
}
|
|
627
|
-
|
|
627
|
+
_chunkEYW3HBBIjs.invariant.call(void 0, res.body, "No response body to decode");
|
|
628
628
|
try {
|
|
629
629
|
const payload = await createFromReadableStream(res.body, {
|
|
630
630
|
temporaryReferences: void 0
|
|
@@ -648,7 +648,7 @@ function getFetchAndDecodeViaRSC(createFromReadableStream, fetchImplementation)
|
|
|
648
648
|
}
|
|
649
649
|
context.get(renderedRoutesContext).push(...payload.matches);
|
|
650
650
|
let results = { routes: {} };
|
|
651
|
-
const dataKey =
|
|
651
|
+
const dataKey = _chunkEYW3HBBIjs.isMutationMethod.call(void 0, request.method) ? "actionData" : "loaderData";
|
|
652
652
|
for (let [routeId, data] of Object.entries(payload[dataKey] || {})) {
|
|
653
653
|
results.routes[routeId] = { data };
|
|
654
654
|
}
|
|
@@ -681,7 +681,7 @@ function RSCHydratedRouter({
|
|
|
681
681
|
[createFromReadableStream, payload, fetchImplementation, getContext]
|
|
682
682
|
);
|
|
683
683
|
React3.useEffect(() => {
|
|
684
|
-
|
|
684
|
+
_chunkEYW3HBBIjs.setIsHydrated.call(void 0, );
|
|
685
685
|
}, []);
|
|
686
686
|
React3.useLayoutEffect(() => {
|
|
687
687
|
const globalVar = window;
|
|
@@ -789,8 +789,8 @@ function RSCHydratedRouter({
|
|
|
789
789
|
},
|
|
790
790
|
routeModules
|
|
791
791
|
};
|
|
792
|
-
return /* @__PURE__ */ React3.createElement(
|
|
793
|
-
|
|
792
|
+
return /* @__PURE__ */ React3.createElement(_chunkEYW3HBBIjs.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React3.createElement(_chunkFLL7MJ4Njs.RSCRouterGlobalErrorBoundary, { location: state.location }, /* @__PURE__ */ React3.createElement(_chunkEYW3HBBIjs.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React3.createElement(
|
|
793
|
+
_chunkEYW3HBBIjs.RouterProvider,
|
|
794
794
|
{
|
|
795
795
|
router: transitionEnabledRouter,
|
|
796
796
|
flushSync: ReactDOM2.flushSync
|
|
@@ -806,8 +806,8 @@ function createRouteFromServerManifest(match, payload) {
|
|
|
806
806
|
// the server loader flow regardless of whether the client loader calls
|
|
807
807
|
// `serverLoader` or not, otherwise we'll have nothing to render.
|
|
808
808
|
match.hasComponent && !match.element;
|
|
809
|
-
|
|
810
|
-
|
|
809
|
+
_chunkEYW3HBBIjs.invariant.call(void 0, window.__reactRouterRouteModules);
|
|
810
|
+
_chunkFLL7MJ4Njs.populateRSCRouteModules.call(void 0, window.__reactRouterRouteModules, match);
|
|
811
811
|
let dataRoute = {
|
|
812
812
|
id: match.id,
|
|
813
813
|
element: match.element,
|
|
@@ -855,7 +855,7 @@ function createRouteFromServerManifest(match, payload) {
|
|
|
855
855
|
return await callSingleFetch(singleFetch);
|
|
856
856
|
}
|
|
857
857
|
}) : match.hasAction ? (_, singleFetch) => callSingleFetch(singleFetch) : () => {
|
|
858
|
-
throw
|
|
858
|
+
throw _chunkEYW3HBBIjs.noActionDefinedError.call(void 0, "action", match.id);
|
|
859
859
|
},
|
|
860
860
|
path: match.path,
|
|
861
861
|
shouldRevalidate: match.shouldRevalidate,
|
|
@@ -867,7 +867,7 @@ function createRouteFromServerManifest(match, payload) {
|
|
|
867
867
|
hasClientAction: match.clientAction != null
|
|
868
868
|
};
|
|
869
869
|
if (typeof dataRoute.loader === "function") {
|
|
870
|
-
dataRoute.loader.hydrate =
|
|
870
|
+
dataRoute.loader.hydrate = _chunkEYW3HBBIjs.shouldHydrateRouteLoader.call(void 0,
|
|
871
871
|
match.id,
|
|
872
872
|
match.clientLoader,
|
|
873
873
|
match.hasLoader,
|
|
@@ -877,7 +877,7 @@ function createRouteFromServerManifest(match, payload) {
|
|
|
877
877
|
return dataRoute;
|
|
878
878
|
}
|
|
879
879
|
function callSingleFetch(singleFetch) {
|
|
880
|
-
|
|
880
|
+
_chunkEYW3HBBIjs.invariant.call(void 0, typeof singleFetch === "function", "Invalid singleFetch parameter");
|
|
881
881
|
return singleFetch();
|
|
882
882
|
}
|
|
883
883
|
function preventInvalidServerHandlerCall(type, routeId, hasHandler) {
|
|
@@ -885,7 +885,7 @@ function preventInvalidServerHandlerCall(type, routeId, hasHandler) {
|
|
|
885
885
|
let fn = type === "action" ? "serverAction()" : "serverLoader()";
|
|
886
886
|
let msg = `You are trying to call ${fn} on a route that does not have a server ${type} (routeId: "${routeId}")`;
|
|
887
887
|
console.error(msg);
|
|
888
|
-
throw new (0,
|
|
888
|
+
throw new (0, _chunkEYW3HBBIjs.ErrorResponseImpl)(400, "Bad Request", new Error(msg), true);
|
|
889
889
|
}
|
|
890
890
|
}
|
|
891
891
|
var nextPaths = /* @__PURE__ */ new Set();
|
|
@@ -908,12 +908,12 @@ function getManifestUrl(paths) {
|
|
|
908
908
|
return url;
|
|
909
909
|
}
|
|
910
910
|
async function fetchAndApplyManifestPatches(paths, createFromReadableStream, fetchImplementation, signal) {
|
|
911
|
-
paths =
|
|
911
|
+
paths = _chunkEYW3HBBIjs.getPathsWithAncestors.call(void 0, paths);
|
|
912
912
|
let url = getManifestUrl(paths);
|
|
913
913
|
if (url == null) {
|
|
914
914
|
return;
|
|
915
915
|
}
|
|
916
|
-
if (url.toString().length >
|
|
916
|
+
if (url.toString().length > _chunkEYW3HBBIjs.URL_LIMIT) {
|
|
917
917
|
nextPaths.clear();
|
|
918
918
|
return;
|
|
919
919
|
}
|
|
@@ -927,7 +927,6 @@ async function fetchAndApplyManifestPatches(paths, createFromReadableStream, fet
|
|
|
927
927
|
if (payload.type !== "manifest") {
|
|
928
928
|
throw new Error("Failed to patch routes");
|
|
929
929
|
}
|
|
930
|
-
paths.forEach((p) => addToFifoQueue(p, discoveredPaths));
|
|
931
930
|
let patches = await payload.patches;
|
|
932
931
|
React3.startTransition(() => {
|
|
933
932
|
patches.forEach((p) => {
|
|
@@ -937,6 +936,7 @@ async function fetchAndApplyManifestPatches(paths, createFromReadableStream, fet
|
|
|
937
936
|
);
|
|
938
937
|
});
|
|
939
938
|
});
|
|
939
|
+
paths.forEach((p) => addToFifoQueue(p, discoveredPaths));
|
|
940
940
|
}
|
|
941
941
|
function addToFifoQueue(path, queue) {
|
|
942
942
|
if (queue.size >= discoveredPathsMaxSize) {
|
|
@@ -957,8 +957,8 @@ function isExternalLocation(location2) {
|
|
|
957
957
|
return newLocation.origin !== window.location.origin;
|
|
958
958
|
}
|
|
959
959
|
function normalizeRedirectLocation(location2) {
|
|
960
|
-
if (
|
|
961
|
-
let path =
|
|
960
|
+
if (_chunkEYW3HBBIjs.PROTOCOL_RELATIVE_URL_REGEX.test(location2)) {
|
|
961
|
+
let path = _chunkEYW3HBBIjs.resolvePath.call(void 0, location2);
|
|
962
962
|
return path.pathname + path.search + path.hash;
|
|
963
963
|
}
|
|
964
964
|
return location2;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v7.18.
|
|
2
|
+
* react-router v7.18.7
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
RSCRouterGlobalErrorBoundary,
|
|
14
14
|
getHydrationData,
|
|
15
15
|
populateRSCRouteModules
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IXMWVLYF.mjs";
|
|
17
17
|
import {
|
|
18
18
|
CRITICAL_CSS_DATA_ATTRIBUTE,
|
|
19
19
|
ErrorResponseImpl,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
stripIndexParam,
|
|
48
48
|
useFogOFWarDiscovery,
|
|
49
49
|
validateNavigationTarget
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-Z7SQORRT.mjs";
|
|
51
51
|
|
|
52
52
|
// lib/dom-export/dom-router-provider.tsx
|
|
53
53
|
import * as React from "react";
|
|
@@ -919,7 +919,6 @@ async function fetchAndApplyManifestPatches(paths, createFromReadableStream, fet
|
|
|
919
919
|
if (payload.type !== "manifest") {
|
|
920
920
|
throw new Error("Failed to patch routes");
|
|
921
921
|
}
|
|
922
|
-
paths.forEach((p) => addToFifoQueue(p, discoveredPaths));
|
|
923
922
|
let patches = await payload.patches;
|
|
924
923
|
React3.startTransition(() => {
|
|
925
924
|
patches.forEach((p) => {
|
|
@@ -929,6 +928,7 @@ async function fetchAndApplyManifestPatches(paths, createFromReadableStream, fet
|
|
|
929
928
|
);
|
|
930
929
|
});
|
|
931
930
|
});
|
|
931
|
+
paths.forEach((p) => addToFifoQueue(p, discoveredPaths));
|
|
932
932
|
}
|
|
933
933
|
function addToFifoQueue(path, queue) {
|
|
934
934
|
if (queue.size >= discoveredPathsMaxSize) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as ServerInstrumentation, H as HydrationState, h as StaticHandlerContext, f as RelativeRoutingType, g as GetScrollRestorationKeyFunction, R as RouterInit, ah as FutureConfig$1, C as ClientInstrumentation, N as NavigateOptions, F as Fetcher, c as Router, B as BlockerFunction, ai as CreateStaticHandlerOptions$1, S as StaticHandler } from './context-
|
|
1
|
+
import { o as ServerInstrumentation, H as HydrationState, h as StaticHandlerContext, f as RelativeRoutingType, g as GetScrollRestorationKeyFunction, R as RouterInit, ah as FutureConfig$1, C as ClientInstrumentation, N as NavigateOptions, F as Fetcher, c as Router, B as BlockerFunction, ai as CreateStaticHandlerOptions$1, S as StaticHandler } from './context-BbKau8k8.mjs';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { J as RouteManifest, aF as ServerRouteModule, p as MiddlewareEnabled, c as RouterContextProvider, q as AppLoadContext, o as LoaderFunctionArgs, a3 as ActionFunctionArgs, Z as RouteModules, E as DataRouteObject, a as ClientLoaderFunction, I as RouteBranch, m as HTMLFormMethod, n as FormEncType, aw as PageLinkDescriptor, T as To, s as History, z as DataStrategyFunction, B as PatchRoutesOnNavigationFunction, r as RouteObject, _ as SerializeFrom, L as Location } from './data-
|
|
3
|
+
import { J as RouteManifest, aF as ServerRouteModule, p as MiddlewareEnabled, c as RouterContextProvider, q as AppLoadContext, o as LoaderFunctionArgs, a3 as ActionFunctionArgs, Z as RouteModules, E as DataRouteObject, a as ClientLoaderFunction, I as RouteBranch, m as HTMLFormMethod, n as FormEncType, aw as PageLinkDescriptor, T as To, s as History, z as DataStrategyFunction, B as PatchRoutesOnNavigationFunction, r as RouteObject, _ as SerializeFrom, L as Location } from './data-BfpvlkTw.mjs';
|
|
4
4
|
|
|
5
5
|
type ServerRouteManifest = RouteManifest<Omit<ServerRoute, "children">>;
|
|
6
6
|
interface ServerRoute extends Route {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as ServerInstrumentation, H as HydrationState, e as StaticHandlerContext, c as RelativeRoutingType, a as Router$1, g as RouterState, R as RouterInit, t as FutureConfig$1, C as ClientInstrumentation, d as GetScrollRestorationKeyFunction, F as Fetcher, B as BlockerFunction, u as CreateStaticHandlerOptions$1, S as StaticHandler } from './instrumentation-
|
|
1
|
+
import { l as ServerInstrumentation, H as HydrationState, e as StaticHandlerContext, c as RelativeRoutingType, a as Router$1, g as RouterState, R as RouterInit, t as FutureConfig$1, C as ClientInstrumentation, d as GetScrollRestorationKeyFunction, F as Fetcher, B as BlockerFunction, u as CreateStaticHandlerOptions$1, S as StaticHandler } from './instrumentation-z0GQ7yJ2.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { p as RouteManifest, aE as ServerRouteModule, t as MiddlewareEnabled, c as RouterContextProvider, u as AppLoadContext, s as LoaderFunctionArgs, a0 as ActionFunctionArgs, O as RouteModules, n as DataRouteObject, a as ClientLoaderFunction, o as RouteBranch, aF as TrackedPromise, f as History, T as To, L as Location, i as Action, ac as RouteMatch, Y as InitialEntry, _ as NonIndexRouteObject, a7 as LazyRouteFunction, Z as IndexRouteObject, P as Params, l as DataStrategyFunction, m as PatchRoutesOnNavigationFunction, e as RouteObject, U as UIMatch, q as HTMLFormMethod, F as FormEncType, av as PageLinkDescriptor, Q as SerializeFrom } from './data-
|
|
3
|
+
import { p as RouteManifest, aE as ServerRouteModule, t as MiddlewareEnabled, c as RouterContextProvider, u as AppLoadContext, s as LoaderFunctionArgs, a0 as ActionFunctionArgs, O as RouteModules, n as DataRouteObject, a as ClientLoaderFunction, o as RouteBranch, aF as TrackedPromise, f as History, T as To, L as Location, i as Action, ac as RouteMatch, Y as InitialEntry, _ as NonIndexRouteObject, a7 as LazyRouteFunction, Z as IndexRouteObject, P as Params, l as DataStrategyFunction, m as PatchRoutesOnNavigationFunction, e as RouteObject, U as UIMatch, q as HTMLFormMethod, F as FormEncType, av as PageLinkDescriptor, Q as SerializeFrom } from './data-DNyB6ouY.js';
|
|
4
4
|
|
|
5
5
|
type ServerRouteManifest = RouteManifest<Omit<ServerRoute, "children">>;
|
|
6
6
|
interface ServerRoute extends Route$1 {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Q as MemoryRouter, T as Navigate, U as Outlet, V as Route, W as Router, X as RouterProvider, Y as Routes, A as UNSAFE_AwaitContextProvider, ab as UNSAFE_WithComponentProps, af as UNSAFE_WithErrorBoundaryProps, ad as UNSAFE_WithHydrateFallbackProps } from './context-
|
|
2
|
-
export { l as BrowserRouter, q as Form, m as HashRouter, n as Link, X as Links, W as Meta, p as NavLink, r as ScrollRestoration, T as StaticRouter, V as StaticRouterProvider, o as unstable_HistoryRouter } from './index-react-server-client-
|
|
3
|
-
import './data-
|
|
1
|
+
export { Q as MemoryRouter, T as Navigate, U as Outlet, V as Route, W as Router, X as RouterProvider, Y as Routes, A as UNSAFE_AwaitContextProvider, ab as UNSAFE_WithComponentProps, af as UNSAFE_WithErrorBoundaryProps, ad as UNSAFE_WithHydrateFallbackProps } from './context-BbKau8k8.mjs';
|
|
2
|
+
export { l as BrowserRouter, q as Form, m as HashRouter, n as Link, X as Links, W as Meta, p as NavLink, r as ScrollRestoration, T as StaticRouter, V as StaticRouterProvider, o as unstable_HistoryRouter } from './index-react-server-client-DF1LPF_n.mjs';
|
|
3
|
+
import './data-BfpvlkTw.mjs';
|
|
4
4
|
import 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { W as BrowserRouter, $ as Form, X as HashRouter, Y as Link, an as Links, j as MemoryRouter, am as Meta, _ as NavLink, k as Navigate, l as Outlet, m as Route, n as Router, o as RouterProvider, p as Routes, a0 as ScrollRestoration, ak as StaticRouter, al as StaticRouterProvider, b as UNSAFE_AwaitContextProvider, aH as UNSAFE_WithComponentProps, aL as UNSAFE_WithErrorBoundaryProps, aJ as UNSAFE_WithHydrateFallbackProps, Z as unstable_HistoryRouter } from './index-react-server-client-
|
|
2
|
-
import './instrumentation-
|
|
3
|
-
import './data-
|
|
1
|
+
export { W as BrowserRouter, $ as Form, X as HashRouter, Y as Link, an as Links, j as MemoryRouter, am as Meta, _ as NavLink, k as Navigate, l as Outlet, m as Route, n as Router, o as RouterProvider, p as Routes, a0 as ScrollRestoration, ak as StaticRouter, al as StaticRouterProvider, b as UNSAFE_AwaitContextProvider, aH as UNSAFE_WithComponentProps, aL as UNSAFE_WithErrorBoundaryProps, aJ as UNSAFE_WithHydrateFallbackProps, Z as unstable_HistoryRouter } from './index-react-server-client-DxC4rwQS.js';
|
|
2
|
+
import './instrumentation-z0GQ7yJ2.js';
|
|
3
|
+
import './data-DNyB6ouY.js';
|
|
4
4
|
import 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});/**
|
|
2
|
-
* react-router v7.18.
|
|
2
|
+
* react-router v7.18.7
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunk6VUODQWRjs = require('./chunk-6VUODQWR.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@ var _chunkQM7ETCUKjs = require('./chunk-QM7ETCUK.js');
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkEYW3HBBIjs = require('./chunk-EYW3HBBI.js');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
@@ -58,4 +58,4 @@ var _chunkS47XUPN5js = require('./chunk-S47XUPN5.js');
|
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
exports.BrowserRouter =
|
|
61
|
+
exports.BrowserRouter = _chunk6VUODQWRjs.BrowserRouter; exports.Form = _chunk6VUODQWRjs.Form; exports.HashRouter = _chunk6VUODQWRjs.HashRouter; exports.Link = _chunk6VUODQWRjs.Link; exports.Links = _chunkEYW3HBBIjs.Links; exports.MemoryRouter = _chunkEYW3HBBIjs.MemoryRouter; exports.Meta = _chunkEYW3HBBIjs.Meta; exports.NavLink = _chunk6VUODQWRjs.NavLink; exports.Navigate = _chunkEYW3HBBIjs.Navigate; exports.Outlet = _chunkEYW3HBBIjs.Outlet; exports.Route = _chunkEYW3HBBIjs.Route; exports.Router = _chunkEYW3HBBIjs.Router; exports.RouterProvider = _chunkEYW3HBBIjs.RouterProvider; exports.Routes = _chunkEYW3HBBIjs.Routes; exports.ScrollRestoration = _chunk6VUODQWRjs.ScrollRestoration; exports.StaticRouter = _chunk6VUODQWRjs.StaticRouter; exports.StaticRouterProvider = _chunk6VUODQWRjs.StaticRouterProvider; exports.UNSAFE_AwaitContextProvider = _chunkEYW3HBBIjs.AwaitContextProvider; exports.UNSAFE_WithComponentProps = _chunkEYW3HBBIjs.WithComponentProps; exports.UNSAFE_WithErrorBoundaryProps = _chunkEYW3HBBIjs.WithErrorBoundaryProps; exports.UNSAFE_WithHydrateFallbackProps = _chunkEYW3HBBIjs.WithHydrateFallbackProps; exports.unstable_HistoryRouter = _chunk6VUODQWRjs.HistoryRouter;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v7.18.
|
|
2
|
+
* react-router v7.18.7
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
WithComponentProps,
|
|
33
33
|
WithErrorBoundaryProps,
|
|
34
34
|
WithHydrateFallbackProps
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-Z7SQORRT.mjs";
|
|
36
36
|
export {
|
|
37
37
|
BrowserRouter,
|
|
38
38
|
Form,
|