react-router 0.0.0-experimental-3fe27584d → 0.0.0-experimental-e067e5e52
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 +63 -0
- package/dist/{production/browser-6rd7uvUd.d.ts → development/browser-Cloic07w.d.ts} +6 -3
- package/dist/development/{browser-6rd7uvUd.d.ts → browser-JuMzyCK4.d.mts} +6 -3
- package/dist/development/{chunk-U7KG5GS5.js → chunk-5UECWI5A.js} +120 -115
- package/dist/development/{chunk-BRYTFMCI.js → chunk-DGNRX45Q.js} +7 -7
- package/dist/development/{chunk-3X3SWQZD.mjs → chunk-EZE2A5EE.mjs} +188 -140
- package/dist/development/{chunk-45X7UCLL.js → chunk-NQI6347W.js} +228 -182
- package/dist/development/{chunk-PAJE52U2.mjs → chunk-SWPURLNP.mjs} +106 -4
- package/dist/development/dom-export.d.mts +2 -2
- package/dist/development/dom-export.d.ts +2 -2
- package/dist/development/dom-export.js +27 -27
- package/dist/development/dom-export.mjs +3 -3
- package/dist/development/{index-react-server-client-DqD3kPgO.d.mts → index-react-server-client-CFThihEp.d.mts} +27 -17
- package/dist/{production/index-react-server-client-BzOzOJp1.d.ts → development/index-react-server-client-CtMh0QTM.d.ts} +27 -17
- package/dist/development/index-react-server-client.d.mts +2 -2
- package/dist/development/index-react-server-client.d.ts +2 -2
- 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.d.mts +10 -7
- package/dist/development/index-react-server.d.ts +10 -7
- package/dist/development/index-react-server.js +162 -59
- package/dist/development/index-react-server.mjs +162 -60
- package/dist/development/index.d.mts +10 -9
- package/dist/development/index.d.ts +10 -9
- package/dist/development/index.js +198 -96
- package/dist/development/index.mjs +3 -3
- package/dist/{production/instrumentation-oYD0_Scs.d.ts → development/instrumentation-C7Lh_MjH.d.ts} +7 -7
- 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-KxI4kXyI.d.ts → register-B86pZKib.d.ts} +1 -1
- package/dist/development/{register-Csy-W7ti.d.mts → register-DA0Mb5jF.d.mts} +1 -1
- package/dist/development/{router-BbC-RkLv.d.mts → router-CFkT48p_.d.mts} +7 -7
- package/dist/production/{browser-dYr_BhiC.d.mts → browser-Cloic07w.d.ts} +6 -3
- package/dist/{development/browser-dYr_BhiC.d.mts → production/browser-JuMzyCK4.d.mts} +6 -3
- package/dist/production/{chunk-7ZLG3KF4.js → chunk-AHQTEAQI.js} +120 -115
- package/dist/production/{chunk-74CL4ICW.js → chunk-DMRAUID3.js} +228 -182
- package/dist/production/{chunk-54FXD3KZ.js → chunk-KMR3DDYK.js} +7 -7
- package/dist/production/{chunk-NIDGWN2C.mjs → chunk-T33PNRK2.mjs} +188 -140
- package/dist/production/{chunk-FOI4SMBB.mjs → chunk-T4I6FMSB.mjs} +106 -4
- package/dist/production/dom-export.d.mts +2 -2
- package/dist/production/dom-export.d.ts +2 -2
- package/dist/production/dom-export.js +27 -27
- package/dist/production/dom-export.mjs +3 -3
- package/dist/production/{index-react-server-client-DqD3kPgO.d.mts → index-react-server-client-CFThihEp.d.mts} +27 -17
- package/dist/{development/index-react-server-client-BzOzOJp1.d.ts → production/index-react-server-client-CtMh0QTM.d.ts} +27 -17
- package/dist/production/index-react-server-client.d.mts +2 -2
- package/dist/production/index-react-server-client.d.ts +2 -2
- 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.d.mts +10 -7
- package/dist/production/index-react-server.d.ts +10 -7
- package/dist/production/index-react-server.js +162 -59
- package/dist/production/index-react-server.mjs +162 -60
- package/dist/production/index.d.mts +10 -9
- package/dist/production/index.d.ts +10 -9
- package/dist/production/index.js +198 -96
- package/dist/production/index.mjs +3 -3
- package/dist/{development/instrumentation-oYD0_Scs.d.ts → production/instrumentation-C7Lh_MjH.d.ts} +7 -7
- 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-KxI4kXyI.d.ts → register-B86pZKib.d.ts} +1 -1
- package/dist/production/{register-Csy-W7ti.d.mts → register-DA0Mb5jF.d.mts} +1 -1
- package/dist/production/{router-BbC-RkLv.d.mts → router-CFkT48p_.d.mts} +7 -7
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-e067e5e52
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -49,7 +49,9 @@
|
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
var _chunkNQI6347Wjs = require('./chunk-NQI6347W.js');
|
|
53
55
|
|
|
54
56
|
// lib/dom/dom.ts
|
|
55
57
|
var defaultMethod = "get";
|
|
@@ -120,7 +122,7 @@ var supportedFormEncTypes = /* @__PURE__ */ new Set([
|
|
|
120
122
|
]);
|
|
121
123
|
function getFormEncType(encType) {
|
|
122
124
|
if (encType != null && !supportedFormEncTypes.has(encType)) {
|
|
123
|
-
|
|
125
|
+
_chunkNQI6347Wjs.warning.call(void 0,
|
|
124
126
|
false,
|
|
125
127
|
`"${encType}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${defaultEncType}"`
|
|
126
128
|
);
|
|
@@ -136,7 +138,7 @@ function getFormSubmissionInfo(target, basename) {
|
|
|
136
138
|
let body;
|
|
137
139
|
if (isFormElement(target)) {
|
|
138
140
|
let attr = target.getAttribute("action");
|
|
139
|
-
action = attr ?
|
|
141
|
+
action = attr ? _chunkNQI6347Wjs.stripBasename.call(void 0, attr, basename) : null;
|
|
140
142
|
method = target.getAttribute("method") || defaultMethod;
|
|
141
143
|
encType = getFormEncType(target.getAttribute("enctype")) || defaultEncType;
|
|
142
144
|
formData = new FormData(target);
|
|
@@ -148,7 +150,7 @@ function getFormSubmissionInfo(target, basename) {
|
|
|
148
150
|
);
|
|
149
151
|
}
|
|
150
152
|
let attr = target.getAttribute("formaction") || form.getAttribute("action");
|
|
151
|
-
action = attr ?
|
|
153
|
+
action = attr ? _chunkNQI6347Wjs.stripBasename.call(void 0, attr, basename) : null;
|
|
152
154
|
method = target.getAttribute("formmethod") || form.getAttribute("method") || defaultMethod;
|
|
153
155
|
encType = getFormEncType(target.getAttribute("formenctype")) || getFormEncType(form.getAttribute("enctype")) || defaultEncType;
|
|
154
156
|
formData = new FormData(form, target);
|
|
@@ -185,20 +187,20 @@ var isBrowser = typeof window !== "undefined" && typeof window.document !== "und
|
|
|
185
187
|
try {
|
|
186
188
|
if (isBrowser) {
|
|
187
189
|
window.__reactRouterVersion = // @ts-expect-error
|
|
188
|
-
"0.0.0-experimental-
|
|
190
|
+
"0.0.0-experimental-e067e5e52";
|
|
189
191
|
}
|
|
190
192
|
} catch (e) {
|
|
191
193
|
}
|
|
192
194
|
function createBrowserRouter(routes, opts) {
|
|
193
|
-
return
|
|
195
|
+
return _chunkNQI6347Wjs.createRouter.call(void 0, {
|
|
194
196
|
basename: _optionalChain([opts, 'optionalAccess', _2 => _2.basename]),
|
|
195
197
|
getContext: _optionalChain([opts, 'optionalAccess', _3 => _3.getContext]),
|
|
196
198
|
future: _optionalChain([opts, 'optionalAccess', _4 => _4.future]),
|
|
197
|
-
history:
|
|
199
|
+
history: _chunkNQI6347Wjs.createBrowserHistory.call(void 0, { window: _optionalChain([opts, 'optionalAccess', _5 => _5.window]) }),
|
|
198
200
|
hydrationData: _optionalChain([opts, 'optionalAccess', _6 => _6.hydrationData]) || parseHydrationData(),
|
|
199
201
|
routes,
|
|
200
|
-
mapRouteProperties:
|
|
201
|
-
hydrationRouteProperties:
|
|
202
|
+
mapRouteProperties: _chunkNQI6347Wjs.mapRouteProperties,
|
|
203
|
+
hydrationRouteProperties: _chunkNQI6347Wjs.hydrationRouteProperties,
|
|
202
204
|
dataStrategy: _optionalChain([opts, 'optionalAccess', _7 => _7.dataStrategy]),
|
|
203
205
|
patchRoutesOnNavigation: _optionalChain([opts, 'optionalAccess', _8 => _8.patchRoutesOnNavigation]),
|
|
204
206
|
window: _optionalChain([opts, 'optionalAccess', _9 => _9.window]),
|
|
@@ -206,15 +208,15 @@ function createBrowserRouter(routes, opts) {
|
|
|
206
208
|
}).initialize();
|
|
207
209
|
}
|
|
208
210
|
function createHashRouter(routes, opts) {
|
|
209
|
-
return
|
|
211
|
+
return _chunkNQI6347Wjs.createRouter.call(void 0, {
|
|
210
212
|
basename: _optionalChain([opts, 'optionalAccess', _11 => _11.basename]),
|
|
211
213
|
getContext: _optionalChain([opts, 'optionalAccess', _12 => _12.getContext]),
|
|
212
214
|
future: _optionalChain([opts, 'optionalAccess', _13 => _13.future]),
|
|
213
|
-
history:
|
|
215
|
+
history: _chunkNQI6347Wjs.createHashHistory.call(void 0, { window: _optionalChain([opts, 'optionalAccess', _14 => _14.window]) }),
|
|
214
216
|
hydrationData: _optionalChain([opts, 'optionalAccess', _15 => _15.hydrationData]) || parseHydrationData(),
|
|
215
217
|
routes,
|
|
216
|
-
mapRouteProperties:
|
|
217
|
-
hydrationRouteProperties:
|
|
218
|
+
mapRouteProperties: _chunkNQI6347Wjs.mapRouteProperties,
|
|
219
|
+
hydrationRouteProperties: _chunkNQI6347Wjs.hydrationRouteProperties,
|
|
218
220
|
dataStrategy: _optionalChain([opts, 'optionalAccess', _16 => _16.dataStrategy]),
|
|
219
221
|
patchRoutesOnNavigation: _optionalChain([opts, 'optionalAccess', _17 => _17.patchRoutesOnNavigation]),
|
|
220
222
|
window: _optionalChain([opts, 'optionalAccess', _18 => _18.window]),
|
|
@@ -237,7 +239,7 @@ function deserializeErrors(errors) {
|
|
|
237
239
|
let serialized = {};
|
|
238
240
|
for (let [key, val] of entries) {
|
|
239
241
|
if (val && val.__type === "RouteErrorResponse") {
|
|
240
|
-
serialized[key] = new (0,
|
|
242
|
+
serialized[key] = new (0, _chunkNQI6347Wjs.ErrorResponseImpl)(
|
|
241
243
|
val.status,
|
|
242
244
|
val.statusText,
|
|
243
245
|
val.data,
|
|
@@ -274,7 +276,7 @@ function BrowserRouter({
|
|
|
274
276
|
}) {
|
|
275
277
|
let historyRef = React.useRef();
|
|
276
278
|
if (historyRef.current == null) {
|
|
277
|
-
historyRef.current =
|
|
279
|
+
historyRef.current = _chunkNQI6347Wjs.createBrowserHistory.call(void 0, { window: window2, v5Compat: true });
|
|
278
280
|
}
|
|
279
281
|
let history = historyRef.current;
|
|
280
282
|
let [state, setStateImpl] = React.useState({
|
|
@@ -293,7 +295,7 @@ function BrowserRouter({
|
|
|
293
295
|
);
|
|
294
296
|
React.useLayoutEffect(() => history.listen(setState), [history, setState]);
|
|
295
297
|
return /* @__PURE__ */ React.createElement(
|
|
296
|
-
|
|
298
|
+
_chunkNQI6347Wjs.Router,
|
|
297
299
|
{
|
|
298
300
|
basename,
|
|
299
301
|
children,
|
|
@@ -312,7 +314,7 @@ function HashRouter({
|
|
|
312
314
|
}) {
|
|
313
315
|
let historyRef = React.useRef();
|
|
314
316
|
if (historyRef.current == null) {
|
|
315
|
-
historyRef.current =
|
|
317
|
+
historyRef.current = _chunkNQI6347Wjs.createHashHistory.call(void 0, { window: window2, v5Compat: true });
|
|
316
318
|
}
|
|
317
319
|
let history = historyRef.current;
|
|
318
320
|
let [state, setStateImpl] = React.useState({
|
|
@@ -331,7 +333,7 @@ function HashRouter({
|
|
|
331
333
|
);
|
|
332
334
|
React.useLayoutEffect(() => history.listen(setState), [history, setState]);
|
|
333
335
|
return /* @__PURE__ */ React.createElement(
|
|
334
|
-
|
|
336
|
+
_chunkNQI6347Wjs.Router,
|
|
335
337
|
{
|
|
336
338
|
basename,
|
|
337
339
|
children,
|
|
@@ -364,7 +366,7 @@ function HistoryRouter({
|
|
|
364
366
|
);
|
|
365
367
|
React.useLayoutEffect(() => history.listen(setState), [history, setState]);
|
|
366
368
|
return /* @__PURE__ */ React.createElement(
|
|
367
|
-
|
|
369
|
+
_chunkNQI6347Wjs.Router,
|
|
368
370
|
{
|
|
369
371
|
basename,
|
|
370
372
|
children,
|
|
@@ -385,7 +387,7 @@ var Link = React.forwardRef(
|
|
|
385
387
|
relative,
|
|
386
388
|
reloadDocument,
|
|
387
389
|
replace,
|
|
388
|
-
|
|
390
|
+
unstable_mask,
|
|
389
391
|
state,
|
|
390
392
|
target,
|
|
391
393
|
to,
|
|
@@ -394,18 +396,32 @@ var Link = React.forwardRef(
|
|
|
394
396
|
unstable_defaultShouldRevalidate,
|
|
395
397
|
...rest
|
|
396
398
|
}, forwardedRef) {
|
|
397
|
-
let { basename, unstable_useTransitions } = React.useContext(
|
|
399
|
+
let { basename, navigator, unstable_useTransitions } = React.useContext(_chunkNQI6347Wjs.NavigationContext);
|
|
398
400
|
let isAbsolute = typeof to === "string" && ABSOLUTE_URL_REGEX.test(to);
|
|
399
|
-
let parsed =
|
|
401
|
+
let parsed = _chunkNQI6347Wjs.parseToInfo.call(void 0, to, basename);
|
|
400
402
|
to = parsed.to;
|
|
401
|
-
let href =
|
|
402
|
-
let
|
|
403
|
+
let href = _chunkNQI6347Wjs.useHref.call(void 0, to, { relative });
|
|
404
|
+
let location = _chunkNQI6347Wjs.useLocation.call(void 0, );
|
|
405
|
+
let maskedHref = null;
|
|
406
|
+
if (unstable_mask) {
|
|
407
|
+
let resolved = _chunkNQI6347Wjs.resolveTo.call(void 0,
|
|
408
|
+
unstable_mask,
|
|
409
|
+
[],
|
|
410
|
+
location.unstable_mask ? location.unstable_mask.pathname : "/",
|
|
411
|
+
true
|
|
412
|
+
);
|
|
413
|
+
if (basename !== "/") {
|
|
414
|
+
resolved.pathname = resolved.pathname === "/" ? basename : _chunkNQI6347Wjs.joinPaths.call(void 0, [basename, resolved.pathname]);
|
|
415
|
+
}
|
|
416
|
+
maskedHref = navigator.createHref(resolved);
|
|
417
|
+
}
|
|
418
|
+
let [shouldPrefetch, prefetchRef, prefetchHandlers] = _chunkNQI6347Wjs.usePrefetchBehavior.call(void 0,
|
|
403
419
|
prefetch,
|
|
404
420
|
rest
|
|
405
421
|
);
|
|
406
422
|
let internalOnClick = useLinkClickHandler(to, {
|
|
407
423
|
replace,
|
|
408
|
-
|
|
424
|
+
unstable_mask,
|
|
409
425
|
state,
|
|
410
426
|
target,
|
|
411
427
|
preventScrollReset,
|
|
@@ -427,15 +443,15 @@ var Link = React.forwardRef(
|
|
|
427
443
|
{
|
|
428
444
|
...rest,
|
|
429
445
|
...prefetchHandlers,
|
|
430
|
-
href: parsed.absoluteURL || href,
|
|
446
|
+
href: (!(parsed.isExternal || reloadDocument) ? maskedHref : void 0) || parsed.absoluteURL || href,
|
|
431
447
|
onClick: parsed.isExternal || reloadDocument ? onClick : handleClick,
|
|
432
|
-
ref:
|
|
448
|
+
ref: _chunkNQI6347Wjs.mergeRefs.call(void 0, forwardedRef, prefetchRef),
|
|
433
449
|
target,
|
|
434
450
|
"data-discover": !isAbsolute && discover === "render" ? "true" : void 0
|
|
435
451
|
}
|
|
436
452
|
)
|
|
437
453
|
);
|
|
438
|
-
return shouldPrefetch && !isAbsolute ? /* @__PURE__ */ React.createElement(React.Fragment, null, link, /* @__PURE__ */ React.createElement(
|
|
454
|
+
return shouldPrefetch && !isAbsolute ? /* @__PURE__ */ React.createElement(React.Fragment, null, link, /* @__PURE__ */ React.createElement(_chunkNQI6347Wjs.PrefetchPageLinks, { page: href })) : link;
|
|
439
455
|
}
|
|
440
456
|
);
|
|
441
457
|
Link.displayName = "Link";
|
|
@@ -451,10 +467,10 @@ var NavLink = React.forwardRef(
|
|
|
451
467
|
children,
|
|
452
468
|
...rest
|
|
453
469
|
}, ref) {
|
|
454
|
-
let path =
|
|
455
|
-
let location =
|
|
456
|
-
let routerState = React.useContext(
|
|
457
|
-
let { navigator, basename } = React.useContext(
|
|
470
|
+
let path = _chunkNQI6347Wjs.useResolvedPath.call(void 0, to, { relative: rest.relative });
|
|
471
|
+
let location = _chunkNQI6347Wjs.useLocation.call(void 0, );
|
|
472
|
+
let routerState = React.useContext(_chunkNQI6347Wjs.DataRouterStateContext);
|
|
473
|
+
let { navigator, basename } = React.useContext(_chunkNQI6347Wjs.NavigationContext);
|
|
458
474
|
let isTransitioning = routerState != null && // Conditional usage is OK here because the usage of a data router is static
|
|
459
475
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
460
476
|
useViewTransitionState(path) && viewTransition === true;
|
|
@@ -467,7 +483,7 @@ var NavLink = React.forwardRef(
|
|
|
467
483
|
toPathname = toPathname.toLowerCase();
|
|
468
484
|
}
|
|
469
485
|
if (nextLocationPathname && basename) {
|
|
470
|
-
nextLocationPathname =
|
|
486
|
+
nextLocationPathname = _chunkNQI6347Wjs.stripBasename.call(void 0, nextLocationPathname, basename) || nextLocationPathname;
|
|
471
487
|
}
|
|
472
488
|
const endSlashPosition = toPathname !== "/" && toPathname.endsWith("/") ? toPathname.length - 1 : toPathname.length;
|
|
473
489
|
let isActive = locationPathname === toPathname || !end && locationPathname.startsWith(toPathname) && locationPathname.charAt(endSlashPosition) === "/";
|
|
@@ -523,7 +539,7 @@ var Form = React.forwardRef(
|
|
|
523
539
|
unstable_defaultShouldRevalidate,
|
|
524
540
|
...props
|
|
525
541
|
}, forwardedRef) => {
|
|
526
|
-
let { unstable_useTransitions } = React.useContext(
|
|
542
|
+
let { unstable_useTransitions } = React.useContext(_chunkNQI6347Wjs.NavigationContext);
|
|
527
543
|
let submit = useSubmit();
|
|
528
544
|
let formAction = useFormAction(action, { relative });
|
|
529
545
|
let formMethod = method.toLowerCase() === "get" ? "get" : "post";
|
|
@@ -570,10 +586,10 @@ function ScrollRestoration({
|
|
|
570
586
|
storageKey,
|
|
571
587
|
...props
|
|
572
588
|
}) {
|
|
573
|
-
let remixContext = React.useContext(
|
|
574
|
-
let { basename } = React.useContext(
|
|
575
|
-
let location =
|
|
576
|
-
let matches =
|
|
589
|
+
let remixContext = React.useContext(_chunkNQI6347Wjs.FrameworkContext);
|
|
590
|
+
let { basename } = React.useContext(_chunkNQI6347Wjs.NavigationContext);
|
|
591
|
+
let location = _chunkNQI6347Wjs.useLocation.call(void 0, );
|
|
592
|
+
let matches = _chunkNQI6347Wjs.useMatches.call(void 0, );
|
|
577
593
|
useScrollRestoration({ getKey, storageKey });
|
|
578
594
|
let ssrKey = React.useMemo(
|
|
579
595
|
() => {
|
|
@@ -615,9 +631,9 @@ function ScrollRestoration({
|
|
|
615
631
|
...props,
|
|
616
632
|
suppressHydrationWarning: true,
|
|
617
633
|
dangerouslySetInnerHTML: {
|
|
618
|
-
__html: `(${restoreScroll})(${
|
|
619
|
-
storageKey || SCROLL_RESTORATION_STORAGE_KEY
|
|
620
|
-
)}, ${JSON.stringify(ssrKey)})`
|
|
634
|
+
__html: `(${restoreScroll})(${_chunkNQI6347Wjs.escapeHtml.call(void 0,
|
|
635
|
+
JSON.stringify(storageKey || SCROLL_RESTORATION_STORAGE_KEY)
|
|
636
|
+
)}, ${_chunkNQI6347Wjs.escapeHtml.call(void 0, JSON.stringify(ssrKey))})`
|
|
621
637
|
}
|
|
622
638
|
}
|
|
623
639
|
);
|
|
@@ -627,19 +643,19 @@ function getDataRouterConsoleError(hookName) {
|
|
|
627
643
|
return `${hookName} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
|
|
628
644
|
}
|
|
629
645
|
function useDataRouterContext(hookName) {
|
|
630
|
-
let ctx = React.useContext(
|
|
631
|
-
|
|
646
|
+
let ctx = React.useContext(_chunkNQI6347Wjs.DataRouterContext);
|
|
647
|
+
_chunkNQI6347Wjs.invariant.call(void 0, ctx, getDataRouterConsoleError(hookName));
|
|
632
648
|
return ctx;
|
|
633
649
|
}
|
|
634
650
|
function useDataRouterState(hookName) {
|
|
635
|
-
let state = React.useContext(
|
|
636
|
-
|
|
651
|
+
let state = React.useContext(_chunkNQI6347Wjs.DataRouterStateContext);
|
|
652
|
+
_chunkNQI6347Wjs.invariant.call(void 0, state, getDataRouterConsoleError(hookName));
|
|
637
653
|
return state;
|
|
638
654
|
}
|
|
639
655
|
function useLinkClickHandler(to, {
|
|
640
656
|
target,
|
|
641
657
|
replace: replaceProp,
|
|
642
|
-
|
|
658
|
+
unstable_mask,
|
|
643
659
|
state,
|
|
644
660
|
preventScrollReset,
|
|
645
661
|
relative,
|
|
@@ -647,17 +663,17 @@ function useLinkClickHandler(to, {
|
|
|
647
663
|
unstable_defaultShouldRevalidate,
|
|
648
664
|
unstable_useTransitions
|
|
649
665
|
} = {}) {
|
|
650
|
-
let navigate =
|
|
651
|
-
let location =
|
|
652
|
-
let path =
|
|
666
|
+
let navigate = _chunkNQI6347Wjs.useNavigate.call(void 0, );
|
|
667
|
+
let location = _chunkNQI6347Wjs.useLocation.call(void 0, );
|
|
668
|
+
let path = _chunkNQI6347Wjs.useResolvedPath.call(void 0, to, { relative });
|
|
653
669
|
return React.useCallback(
|
|
654
670
|
(event) => {
|
|
655
671
|
if (shouldProcessLinkClick(event, target)) {
|
|
656
672
|
event.preventDefault();
|
|
657
|
-
let replace = replaceProp !== void 0 ? replaceProp :
|
|
673
|
+
let replace = replaceProp !== void 0 ? replaceProp : _chunkNQI6347Wjs.createPath.call(void 0, location) === _chunkNQI6347Wjs.createPath.call(void 0, path);
|
|
658
674
|
let doNavigate = () => navigate(to, {
|
|
659
675
|
replace,
|
|
660
|
-
|
|
676
|
+
unstable_mask,
|
|
661
677
|
state,
|
|
662
678
|
preventScrollReset,
|
|
663
679
|
relative,
|
|
@@ -676,7 +692,7 @@ function useLinkClickHandler(to, {
|
|
|
676
692
|
navigate,
|
|
677
693
|
path,
|
|
678
694
|
replaceProp,
|
|
679
|
-
|
|
695
|
+
unstable_mask,
|
|
680
696
|
state,
|
|
681
697
|
target,
|
|
682
698
|
to,
|
|
@@ -689,13 +705,13 @@ function useLinkClickHandler(to, {
|
|
|
689
705
|
);
|
|
690
706
|
}
|
|
691
707
|
function useSearchParams(defaultInit) {
|
|
692
|
-
|
|
708
|
+
_chunkNQI6347Wjs.warning.call(void 0,
|
|
693
709
|
typeof URLSearchParams !== "undefined",
|
|
694
710
|
`You cannot use the \`useSearchParams\` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.`
|
|
695
711
|
);
|
|
696
712
|
let defaultSearchParamsRef = React.useRef(createSearchParams(defaultInit));
|
|
697
713
|
let hasSetSearchParamsRef = React.useRef(false);
|
|
698
|
-
let location =
|
|
714
|
+
let location = _chunkNQI6347Wjs.useLocation.call(void 0, );
|
|
699
715
|
let searchParams = React.useMemo(
|
|
700
716
|
() => (
|
|
701
717
|
// Only merge in the defaults if we haven't yet called setSearchParams.
|
|
@@ -708,7 +724,7 @@ function useSearchParams(defaultInit) {
|
|
|
708
724
|
),
|
|
709
725
|
[location.search]
|
|
710
726
|
);
|
|
711
|
-
let navigate =
|
|
727
|
+
let navigate = _chunkNQI6347Wjs.useNavigate.call(void 0, );
|
|
712
728
|
let setSearchParams = React.useCallback(
|
|
713
729
|
(nextInit, navigateOptions) => {
|
|
714
730
|
const newSearchParams = createSearchParams(
|
|
@@ -725,8 +741,8 @@ var fetcherId = 0;
|
|
|
725
741
|
var getUniqueFetcherId = () => `__${String(++fetcherId)}__`;
|
|
726
742
|
function useSubmit() {
|
|
727
743
|
let { router } = useDataRouterContext("useSubmit" /* UseSubmit */);
|
|
728
|
-
let { basename } = React.useContext(
|
|
729
|
-
let currentRouteId =
|
|
744
|
+
let { basename } = React.useContext(_chunkNQI6347Wjs.NavigationContext);
|
|
745
|
+
let currentRouteId = _chunkNQI6347Wjs.useRouteId.call(void 0, );
|
|
730
746
|
let routerFetch = router.fetch;
|
|
731
747
|
let routerNavigate = router.navigate;
|
|
732
748
|
return React.useCallback(
|
|
@@ -766,12 +782,12 @@ function useSubmit() {
|
|
|
766
782
|
);
|
|
767
783
|
}
|
|
768
784
|
function useFormAction(action, { relative } = {}) {
|
|
769
|
-
let { basename } = React.useContext(
|
|
770
|
-
let routeContext = React.useContext(
|
|
771
|
-
|
|
785
|
+
let { basename } = React.useContext(_chunkNQI6347Wjs.NavigationContext);
|
|
786
|
+
let routeContext = React.useContext(_chunkNQI6347Wjs.RouteContext);
|
|
787
|
+
_chunkNQI6347Wjs.invariant.call(void 0, routeContext, "useFormAction must be used inside a RouteContext");
|
|
772
788
|
let [match] = routeContext.matches.slice(-1);
|
|
773
|
-
let path = { ...
|
|
774
|
-
let location =
|
|
789
|
+
let path = { ..._chunkNQI6347Wjs.useResolvedPath.call(void 0, action ? action : ".", { relative }) };
|
|
790
|
+
let location = _chunkNQI6347Wjs.useLocation.call(void 0, );
|
|
775
791
|
if (action == null) {
|
|
776
792
|
path.search = location.search;
|
|
777
793
|
let params = new URLSearchParams(path.search);
|
|
@@ -788,21 +804,21 @@ function useFormAction(action, { relative } = {}) {
|
|
|
788
804
|
path.search = path.search ? path.search.replace(/^\?/, "?index&") : "?index";
|
|
789
805
|
}
|
|
790
806
|
if (basename !== "/") {
|
|
791
|
-
path.pathname = path.pathname === "/" ? basename :
|
|
807
|
+
path.pathname = path.pathname === "/" ? basename : _chunkNQI6347Wjs.joinPaths.call(void 0, [basename, path.pathname]);
|
|
792
808
|
}
|
|
793
|
-
return
|
|
809
|
+
return _chunkNQI6347Wjs.createPath.call(void 0, path);
|
|
794
810
|
}
|
|
795
811
|
function useFetcher({
|
|
796
812
|
key
|
|
797
813
|
} = {}) {
|
|
798
814
|
let { router } = useDataRouterContext("useFetcher" /* UseFetcher */);
|
|
799
815
|
let state = useDataRouterState("useFetcher" /* UseFetcher */);
|
|
800
|
-
let fetcherData = React.useContext(
|
|
801
|
-
let route = React.useContext(
|
|
816
|
+
let fetcherData = React.useContext(_chunkNQI6347Wjs.FetchersContext);
|
|
817
|
+
let route = React.useContext(_chunkNQI6347Wjs.RouteContext);
|
|
802
818
|
let routeId = _optionalChain([route, 'access', _23 => _23.matches, 'access', _24 => _24[route.matches.length - 1], 'optionalAccess', _25 => _25.route, 'access', _26 => _26.id]);
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
819
|
+
_chunkNQI6347Wjs.invariant.call(void 0, fetcherData, `useFetcher must be used inside a FetchersContext`);
|
|
820
|
+
_chunkNQI6347Wjs.invariant.call(void 0, route, `useFetcher must be used inside a RouteContext`);
|
|
821
|
+
_chunkNQI6347Wjs.invariant.call(void 0,
|
|
806
822
|
routeId != null,
|
|
807
823
|
`useFetcher can only be used on routes that contain a unique "id"`
|
|
808
824
|
);
|
|
@@ -818,7 +834,7 @@ function useFetcher({
|
|
|
818
834
|
}, [deleteFetcher, getFetcher, fetcherKey]);
|
|
819
835
|
let load = React.useCallback(
|
|
820
836
|
async (href, opts) => {
|
|
821
|
-
|
|
837
|
+
_chunkNQI6347Wjs.invariant.call(void 0, routeId, "No routeId available for fetcher.load()");
|
|
822
838
|
await routerFetch(fetcherKey, routeId, href, opts);
|
|
823
839
|
},
|
|
824
840
|
[fetcherKey, routeId, routerFetch]
|
|
@@ -847,7 +863,7 @@ function useFetcher({
|
|
|
847
863
|
FetcherForm2.displayName = "fetcher.Form";
|
|
848
864
|
return FetcherForm2;
|
|
849
865
|
}, [fetcherKey]);
|
|
850
|
-
let fetcher = state.fetchers.get(fetcherKey) ||
|
|
866
|
+
let fetcher = state.fetchers.get(fetcherKey) || _chunkNQI6347Wjs.IDLE_FETCHER;
|
|
851
867
|
let data = fetcherData.get(fetcherKey);
|
|
852
868
|
let fetcherWithComponents = React.useMemo(
|
|
853
869
|
() => ({
|
|
@@ -878,7 +894,7 @@ function getScrollRestorationKey(location, matches, basename, getKey) {
|
|
|
878
894
|
key = getKey(
|
|
879
895
|
{
|
|
880
896
|
...location,
|
|
881
|
-
pathname:
|
|
897
|
+
pathname: _chunkNQI6347Wjs.stripBasename.call(void 0, location.pathname, basename) || location.pathname
|
|
882
898
|
},
|
|
883
899
|
matches
|
|
884
900
|
);
|
|
@@ -899,10 +915,10 @@ function useScrollRestoration({
|
|
|
899
915
|
let { restoreScrollPosition, preventScrollReset } = useDataRouterState(
|
|
900
916
|
"useScrollRestoration" /* UseScrollRestoration */
|
|
901
917
|
);
|
|
902
|
-
let { basename } = React.useContext(
|
|
903
|
-
let location =
|
|
904
|
-
let matches =
|
|
905
|
-
let navigation =
|
|
918
|
+
let { basename } = React.useContext(_chunkNQI6347Wjs.NavigationContext);
|
|
919
|
+
let location = _chunkNQI6347Wjs.useLocation.call(void 0, );
|
|
920
|
+
let matches = _chunkNQI6347Wjs.useMatches.call(void 0, );
|
|
921
|
+
let navigation = _chunkNQI6347Wjs.useNavigation.call(void 0, );
|
|
906
922
|
React.useEffect(() => {
|
|
907
923
|
window.history.scrollRestoration = "manual";
|
|
908
924
|
return () => {
|
|
@@ -921,7 +937,7 @@ function useScrollRestoration({
|
|
|
921
937
|
JSON.stringify(savedScrollPositions)
|
|
922
938
|
);
|
|
923
939
|
} catch (error) {
|
|
924
|
-
|
|
940
|
+
_chunkNQI6347Wjs.warning.call(void 0,
|
|
925
941
|
false,
|
|
926
942
|
`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${error}).`
|
|
927
943
|
);
|
|
@@ -968,7 +984,7 @@ function useScrollRestoration({
|
|
|
968
984
|
}
|
|
969
985
|
}
|
|
970
986
|
} catch (e2) {
|
|
971
|
-
|
|
987
|
+
_chunkNQI6347Wjs.warning.call(void 0,
|
|
972
988
|
false,
|
|
973
989
|
`"${location.hash.slice(
|
|
974
990
|
1
|
|
@@ -1006,7 +1022,7 @@ function usePrompt({
|
|
|
1006
1022
|
when,
|
|
1007
1023
|
message
|
|
1008
1024
|
}) {
|
|
1009
|
-
let blocker =
|
|
1025
|
+
let blocker = _chunkNQI6347Wjs.useBlocker.call(void 0, when);
|
|
1010
1026
|
React.useEffect(() => {
|
|
1011
1027
|
if (blocker.state === "blocked") {
|
|
1012
1028
|
let proceed = window.confirm(message);
|
|
@@ -1024,21 +1040,21 @@ function usePrompt({
|
|
|
1024
1040
|
}, [blocker, when]);
|
|
1025
1041
|
}
|
|
1026
1042
|
function useViewTransitionState(to, { relative } = {}) {
|
|
1027
|
-
let vtContext = React.useContext(
|
|
1028
|
-
|
|
1043
|
+
let vtContext = React.useContext(_chunkNQI6347Wjs.ViewTransitionContext);
|
|
1044
|
+
_chunkNQI6347Wjs.invariant.call(void 0,
|
|
1029
1045
|
vtContext != null,
|
|
1030
1046
|
"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"
|
|
1031
1047
|
);
|
|
1032
1048
|
let { basename } = useDataRouterContext(
|
|
1033
1049
|
"useViewTransitionState" /* useViewTransitionState */
|
|
1034
1050
|
);
|
|
1035
|
-
let path =
|
|
1051
|
+
let path = _chunkNQI6347Wjs.useResolvedPath.call(void 0, to, { relative });
|
|
1036
1052
|
if (!vtContext.isTransitioning) {
|
|
1037
1053
|
return false;
|
|
1038
1054
|
}
|
|
1039
|
-
let currentPath =
|
|
1040
|
-
let nextPath =
|
|
1041
|
-
return
|
|
1055
|
+
let currentPath = _chunkNQI6347Wjs.stripBasename.call(void 0, vtContext.currentLocation.pathname, basename) || vtContext.currentLocation.pathname;
|
|
1056
|
+
let nextPath = _chunkNQI6347Wjs.stripBasename.call(void 0, vtContext.nextLocation.pathname, basename) || vtContext.nextLocation.pathname;
|
|
1057
|
+
return _chunkNQI6347Wjs.matchPath.call(void 0, path.pathname, nextPath) != null || _chunkNQI6347Wjs.matchPath.call(void 0, path.pathname, currentPath) != null;
|
|
1042
1058
|
}
|
|
1043
1059
|
|
|
1044
1060
|
// lib/dom/server.tsx
|
|
@@ -1049,7 +1065,7 @@ function StaticRouter({
|
|
|
1049
1065
|
location: locationProp = "/"
|
|
1050
1066
|
}) {
|
|
1051
1067
|
if (typeof locationProp === "string") {
|
|
1052
|
-
locationProp =
|
|
1068
|
+
locationProp = _chunkNQI6347Wjs.parsePath.call(void 0, locationProp);
|
|
1053
1069
|
}
|
|
1054
1070
|
let action = "POP" /* Pop */;
|
|
1055
1071
|
let location = {
|
|
@@ -1058,11 +1074,11 @@ function StaticRouter({
|
|
|
1058
1074
|
hash: locationProp.hash || "",
|
|
1059
1075
|
state: locationProp.state != null ? locationProp.state : null,
|
|
1060
1076
|
key: locationProp.key || "default",
|
|
1061
|
-
|
|
1077
|
+
unstable_mask: void 0
|
|
1062
1078
|
};
|
|
1063
1079
|
let staticNavigator = getStatelessNavigator();
|
|
1064
1080
|
return /* @__PURE__ */ React2.createElement(
|
|
1065
|
-
|
|
1081
|
+
_chunkNQI6347Wjs.Router,
|
|
1066
1082
|
{
|
|
1067
1083
|
basename,
|
|
1068
1084
|
children,
|
|
@@ -1080,7 +1096,7 @@ function StaticRouterProvider({
|
|
|
1080
1096
|
hydrate = true,
|
|
1081
1097
|
nonce
|
|
1082
1098
|
}) {
|
|
1083
|
-
|
|
1099
|
+
_chunkNQI6347Wjs.invariant.call(void 0,
|
|
1084
1100
|
router && context,
|
|
1085
1101
|
"You must provide `router` and `context` to <StaticRouterProvider>"
|
|
1086
1102
|
);
|
|
@@ -1099,12 +1115,12 @@ function StaticRouterProvider({
|
|
|
1099
1115
|
actionData: context.actionData,
|
|
1100
1116
|
errors: serializeErrors(context.errors)
|
|
1101
1117
|
};
|
|
1102
|
-
let json =
|
|
1118
|
+
let json = _chunkNQI6347Wjs.escapeHtml.call(void 0, JSON.stringify(JSON.stringify(data)));
|
|
1103
1119
|
hydrateScript = `window.__staticRouterHydrationData = JSON.parse(${json});`;
|
|
1104
1120
|
}
|
|
1105
1121
|
let { state } = dataRouterContext.router;
|
|
1106
|
-
return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(
|
|
1107
|
-
|
|
1122
|
+
return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(_chunkNQI6347Wjs.DataRouterContext.Provider, { value: dataRouterContext }, /* @__PURE__ */ React2.createElement(_chunkNQI6347Wjs.DataRouterStateContext.Provider, { value: state }, /* @__PURE__ */ React2.createElement(_chunkNQI6347Wjs.FetchersContext.Provider, { value: fetchersContext }, /* @__PURE__ */ React2.createElement(_chunkNQI6347Wjs.ViewTransitionContext.Provider, { value: { isTransitioning: false } }, /* @__PURE__ */ React2.createElement(
|
|
1123
|
+
_chunkNQI6347Wjs.Router,
|
|
1108
1124
|
{
|
|
1109
1125
|
basename: dataRouterContext.basename,
|
|
1110
1126
|
location: state.location,
|
|
@@ -1135,14 +1151,14 @@ function DataRoutes({
|
|
|
1135
1151
|
future,
|
|
1136
1152
|
state
|
|
1137
1153
|
}) {
|
|
1138
|
-
return
|
|
1154
|
+
return _chunkNQI6347Wjs.useRoutesImpl.call(void 0, routes, void 0, state, void 0, future);
|
|
1139
1155
|
}
|
|
1140
1156
|
function serializeErrors(errors) {
|
|
1141
1157
|
if (!errors) return null;
|
|
1142
1158
|
let entries = Object.entries(errors);
|
|
1143
1159
|
let serialized = {};
|
|
1144
1160
|
for (let [key, val] of entries) {
|
|
1145
|
-
if (
|
|
1161
|
+
if (_chunkNQI6347Wjs.isRouteErrorResponse.call(void 0, val)) {
|
|
1146
1162
|
serialized[key] = { ...val, __type: "RouteErrorResponse" };
|
|
1147
1163
|
} else if (val instanceof Error) {
|
|
1148
1164
|
serialized[key] = {
|
|
@@ -1192,16 +1208,16 @@ function getStatelessNavigator() {
|
|
|
1192
1208
|
};
|
|
1193
1209
|
}
|
|
1194
1210
|
function createStaticHandler2(routes, opts) {
|
|
1195
|
-
return
|
|
1211
|
+
return _chunkNQI6347Wjs.createStaticHandler.call(void 0, routes, {
|
|
1196
1212
|
...opts,
|
|
1197
|
-
mapRouteProperties:
|
|
1213
|
+
mapRouteProperties: _chunkNQI6347Wjs.mapRouteProperties
|
|
1198
1214
|
});
|
|
1199
1215
|
}
|
|
1200
1216
|
function createStaticRouter(routes, context, opts = {}) {
|
|
1201
1217
|
let manifest = {};
|
|
1202
|
-
let dataRoutes =
|
|
1218
|
+
let dataRoutes = _chunkNQI6347Wjs.convertRoutesToDataRoutes.call(void 0,
|
|
1203
1219
|
routes,
|
|
1204
|
-
|
|
1220
|
+
_chunkNQI6347Wjs.mapRouteProperties,
|
|
1205
1221
|
void 0,
|
|
1206
1222
|
manifest
|
|
1207
1223
|
);
|
|
@@ -1232,7 +1248,7 @@ function createStaticRouter(routes, context, opts = {}) {
|
|
|
1232
1248
|
actionData: context.actionData,
|
|
1233
1249
|
errors: context.errors,
|
|
1234
1250
|
initialized: true,
|
|
1235
|
-
navigation:
|
|
1251
|
+
navigation: _chunkNQI6347Wjs.IDLE_NAVIGATION,
|
|
1236
1252
|
restoreScrollPosition: null,
|
|
1237
1253
|
preventScrollReset: false,
|
|
1238
1254
|
revalidation: "idle",
|
|
@@ -1267,7 +1283,7 @@ function createStaticRouter(routes, context, opts = {}) {
|
|
|
1267
1283
|
createHref,
|
|
1268
1284
|
encodeLocation,
|
|
1269
1285
|
getFetcher() {
|
|
1270
|
-
return
|
|
1286
|
+
return _chunkNQI6347Wjs.IDLE_FETCHER;
|
|
1271
1287
|
},
|
|
1272
1288
|
deleteFetcher() {
|
|
1273
1289
|
throw msg("deleteFetcher");
|
|
@@ -1279,7 +1295,7 @@ function createStaticRouter(routes, context, opts = {}) {
|
|
|
1279
1295
|
throw msg("dispose");
|
|
1280
1296
|
},
|
|
1281
1297
|
getBlocker() {
|
|
1282
|
-
return
|
|
1298
|
+
return _chunkNQI6347Wjs.IDLE_BLOCKER;
|
|
1283
1299
|
},
|
|
1284
1300
|
deleteBlocker() {
|
|
1285
1301
|
throw msg("deleteBlocker");
|
|
@@ -1297,10 +1313,10 @@ function createStaticRouter(routes, context, opts = {}) {
|
|
|
1297
1313
|
};
|
|
1298
1314
|
}
|
|
1299
1315
|
function createHref(to) {
|
|
1300
|
-
return typeof to === "string" ? to :
|
|
1316
|
+
return typeof to === "string" ? to : _chunkNQI6347Wjs.createPath.call(void 0, to);
|
|
1301
1317
|
}
|
|
1302
1318
|
function encodeLocation(to) {
|
|
1303
|
-
let href = typeof to === "string" ? to :
|
|
1319
|
+
let href = typeof to === "string" ? to : _chunkNQI6347Wjs.createPath.call(void 0, to);
|
|
1304
1320
|
href = href.replace(/ $/, "%20");
|
|
1305
1321
|
let encoded = ABSOLUTE_URL_REGEX2.test(href) ? new URL(href) : new URL(href, "http://localhost");
|
|
1306
1322
|
return {
|
|
@@ -1310,17 +1326,6 @@ function encodeLocation(to) {
|
|
|
1310
1326
|
};
|
|
1311
1327
|
}
|
|
1312
1328
|
var ABSOLUTE_URL_REGEX2 = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;
|
|
1313
|
-
var ESCAPE_LOOKUP = {
|
|
1314
|
-
"&": "\\u0026",
|
|
1315
|
-
">": "\\u003e",
|
|
1316
|
-
"<": "\\u003c",
|
|
1317
|
-
"\u2028": "\\u2028",
|
|
1318
|
-
"\u2029": "\\u2029"
|
|
1319
|
-
};
|
|
1320
|
-
var ESCAPE_REGEX = /[&><\u2028\u2029]/g;
|
|
1321
|
-
function htmlEscape(str) {
|
|
1322
|
-
return str.replace(ESCAPE_REGEX, (match) => ESCAPE_LOOKUP[match]);
|
|
1323
|
-
}
|
|
1324
1329
|
|
|
1325
1330
|
|
|
1326
1331
|
|