one 1.16.10 → 1.16.12
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/dist/cjs/fork/useLinking.cjs +40 -0
- package/dist/cjs/router/router.cjs +13 -0
- package/dist/cjs/router/router.native.js +13 -0
- package/dist/cjs/router/router.native.js.map +1 -1
- package/dist/cjs/views/Navigator.cjs +1 -1
- package/dist/cjs/views/Navigator.native.js +2 -1
- package/dist/cjs/views/Navigator.native.js.map +1 -1
- package/dist/esm/fork/useLinking.mjs +41 -1
- package/dist/esm/fork/useLinking.mjs.map +1 -1
- package/dist/esm/router/router.mjs +12 -1
- package/dist/esm/router/router.mjs.map +1 -1
- package/dist/esm/router/router.native.js +12 -1
- package/dist/esm/router/router.native.js.map +1 -1
- package/dist/esm/views/Navigator.mjs +2 -2
- package/dist/esm/views/Navigator.mjs.map +1 -1
- package/dist/esm/views/Navigator.native.js +3 -2
- package/dist/esm/views/Navigator.native.js.map +1 -1
- package/package.json +9 -9
- package/src/fork/useLinking.ts +64 -1
- package/src/router/router.ts +21 -0
- package/src/views/Navigator.tsx +18 -5
- package/types/fork/useLinking.d.ts.map +1 -1
- package/types/router/router.d.ts +2 -0
- package/types/router/router.d.ts.map +1 -1
- package/types/views/Navigator.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "one",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.12",
|
|
4
4
|
"license": "BSD-3-Clause",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"setup.mjs",
|
|
@@ -170,17 +170,17 @@
|
|
|
170
170
|
"@cloudflare/vite-plugin": "^1.33.1",
|
|
171
171
|
"@swc/core": "^1.14.0",
|
|
172
172
|
"@ungap/structured-clone": "^1.2.0",
|
|
173
|
-
"@vxrn/color-scheme": "1.16.
|
|
174
|
-
"@vxrn/compiler": "1.16.
|
|
175
|
-
"@vxrn/resolve": "1.16.
|
|
176
|
-
"@vxrn/tslib-lite": "1.16.
|
|
177
|
-
"@vxrn/use-isomorphic-layout-effect": "1.16.
|
|
178
|
-
"@vxrn/vite-plugin-metro": "1.16.
|
|
173
|
+
"@vxrn/color-scheme": "1.16.12",
|
|
174
|
+
"@vxrn/compiler": "1.16.12",
|
|
175
|
+
"@vxrn/resolve": "1.16.12",
|
|
176
|
+
"@vxrn/tslib-lite": "1.16.12",
|
|
177
|
+
"@vxrn/use-isomorphic-layout-effect": "1.16.12",
|
|
178
|
+
"@vxrn/vite-plugin-metro": "1.16.12",
|
|
179
179
|
"babel-dead-code-elimination": "1.0.10",
|
|
180
180
|
"babel-plugin-module-resolver": "^5.0.2",
|
|
181
181
|
"citty": "^0.1.6",
|
|
182
182
|
"core-js": "^3.38.1",
|
|
183
|
-
"create-vxrn": "1.16.
|
|
183
|
+
"create-vxrn": "1.16.12",
|
|
184
184
|
"escape-string-regexp": "^5.0.0",
|
|
185
185
|
"expo-linking": "~55.0.7",
|
|
186
186
|
"expo-modules-core": "~55.0.16",
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
"tsconfig-paths": "^4",
|
|
201
201
|
"use-latest-callback": "^0.2.3",
|
|
202
202
|
"vite": "^8.0.0",
|
|
203
|
-
"vxrn": "1.16.
|
|
203
|
+
"vxrn": "1.16.12",
|
|
204
204
|
"ws": "^8.18.0",
|
|
205
205
|
"xxhashjs": "^0.2.2"
|
|
206
206
|
},
|
package/src/fork/useLinking.ts
CHANGED
|
@@ -32,7 +32,10 @@ import {
|
|
|
32
32
|
setReturningFromIntercept,
|
|
33
33
|
restoreInterceptFromHistory,
|
|
34
34
|
} from '../router/interceptRoutes'
|
|
35
|
-
import {
|
|
35
|
+
import {
|
|
36
|
+
consumePendingNavigationAction,
|
|
37
|
+
rootState as routerRootState,
|
|
38
|
+
} from '../router/router'
|
|
36
39
|
import { ServerLocationContext } from '../router/serverLocationContext'
|
|
37
40
|
import { clearAllSlotStates } from '../views/Navigator'
|
|
38
41
|
import { createMemoryHistory } from './createMemoryHistory'
|
|
@@ -72,6 +75,33 @@ function getFocusedRouteDepth(state: NavigationState): number {
|
|
|
72
75
|
return length
|
|
73
76
|
}
|
|
74
77
|
|
|
78
|
+
function getDynamicParamNames(routeName: string): string[] {
|
|
79
|
+
return Array.from(routeName.matchAll(/\[(?:\.\.\.)?([^\]]+)\]/g), (match) => match[1])
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function hasMissingDynamicParams(
|
|
83
|
+
route: ReturnType<typeof findFocusedRoute> | undefined
|
|
84
|
+
): boolean {
|
|
85
|
+
if (!route) return false
|
|
86
|
+
const dynamicParamNames = getDynamicParamNames(route.name)
|
|
87
|
+
if (dynamicParamNames.length === 0) return false
|
|
88
|
+
return dynamicParamNames.some((name) => route.params?.[name] == null)
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
function currentUrlHasDynamicParams(
|
|
92
|
+
route: NonNullable<ReturnType<typeof findFocusedRoute>>,
|
|
93
|
+
getStateFromPath: typeof getStateFromPathDefault,
|
|
94
|
+
config: Options['config']
|
|
95
|
+
): boolean {
|
|
96
|
+
const currentPath = window.location.pathname + window.location.search
|
|
97
|
+
const currentState = getStateFromPath(currentPath, config)
|
|
98
|
+
const currentRoute = currentState ? findFocusedRoute(currentState) : undefined
|
|
99
|
+
return (
|
|
100
|
+
currentRoute?.name === route.name &&
|
|
101
|
+
!hasMissingDynamicParams(currentRoute)
|
|
102
|
+
)
|
|
103
|
+
}
|
|
104
|
+
|
|
75
105
|
/**
|
|
76
106
|
* Find the matching navigation state that changed between 2 navigation states
|
|
77
107
|
* e.g.: a -> b -> c -> d and a -> b -> c -> e -> f, if history in b changed, b is the matching state
|
|
@@ -618,6 +648,28 @@ export function useLinking(
|
|
|
618
648
|
return
|
|
619
649
|
}
|
|
620
650
|
|
|
651
|
+
// @modified - during spa-shell/provider remounts, react navigation can
|
|
652
|
+
// briefly publish a dynamic route by name without its URL params. don't
|
|
653
|
+
// serialize that incomplete state to history as /route/undefined when
|
|
654
|
+
// the current URL can still be parsed into the same route with params.
|
|
655
|
+
if (
|
|
656
|
+
route &&
|
|
657
|
+
hasMissingDynamicParams(route) &&
|
|
658
|
+
currentUrlHasDynamicParams(
|
|
659
|
+
route,
|
|
660
|
+
getStateFromPathRef.current,
|
|
661
|
+
configRef.current
|
|
662
|
+
)
|
|
663
|
+
) {
|
|
664
|
+
if (process.env.ONE_DEBUG_ROUTER) {
|
|
665
|
+
console.info(
|
|
666
|
+
`[one] 📜 onStateChange - skipping: focused dynamic route is missing params`,
|
|
667
|
+
route.name
|
|
668
|
+
)
|
|
669
|
+
}
|
|
670
|
+
return
|
|
671
|
+
}
|
|
672
|
+
|
|
621
673
|
let path = getPathForRoute(route, state)
|
|
622
674
|
|
|
623
675
|
// when navigators mount late (e.g. during spa-shell hydration), the
|
|
@@ -651,9 +703,20 @@ export function useLinking(
|
|
|
651
703
|
}
|
|
652
704
|
const unmaskOnReload = maskOptions?.unmaskOnReload
|
|
653
705
|
|
|
706
|
+
const pendingNavigationAction = consumePendingNavigationAction()
|
|
654
707
|
previousStateRef.current = refState
|
|
655
708
|
pendingPopStatePathRef.current = undefined
|
|
656
709
|
|
|
710
|
+
if (pendingNavigationAction === 'PUSH' && path !== pendingPath) {
|
|
711
|
+
history.push({ path, state, displayPath, unmaskOnReload })
|
|
712
|
+
return
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
if (pendingNavigationAction === 'REPLACE' && path !== pendingPath) {
|
|
716
|
+
history.replace({ path, state, displayPath, unmaskOnReload })
|
|
717
|
+
return
|
|
718
|
+
}
|
|
719
|
+
|
|
657
720
|
// To detect the kind of state change, we need to:
|
|
658
721
|
// - Find the common focused navigation state in previous and current state
|
|
659
722
|
// - If only the route keys changed, compare history/routes.length to check if we go back/forward/replace
|
package/src/router/router.ts
CHANGED
|
@@ -136,11 +136,17 @@ export let rootState: OneRouter.ResultState | undefined
|
|
|
136
136
|
// navigators to determine the correct initial route even after React Navigation's
|
|
137
137
|
// linking has pushed a different URL during unmount/remount cycles
|
|
138
138
|
export let initialPathname: string | undefined
|
|
139
|
+
// the most recent pathname targeted by a linkTo call (router.replace/push/navigate).
|
|
140
|
+
// late-mounting navigators prefer this over initialPathname when the user has
|
|
141
|
+
// actually navigated since page load — otherwise an auth-gate Redirect that
|
|
142
|
+
// remounts the navigator subtree would re-resolve to the original page URL.
|
|
143
|
+
export let lastIntendedPathname: string | undefined
|
|
139
144
|
|
|
140
145
|
let nextState: OneRouter.ResultState | undefined
|
|
141
146
|
export let routeInfo: UrlObject | undefined
|
|
142
147
|
let splashScreenAnimationFrame: number | undefined
|
|
143
148
|
let pendingNavigationPathname: string | undefined
|
|
149
|
+
let pendingNavigationAction: 'NAVIGATE' | 'PUSH' | 'REPLACE' | undefined
|
|
144
150
|
|
|
145
151
|
// we always set it
|
|
146
152
|
export let navigationRef: OneRouter.NavigationRef = null as any
|
|
@@ -290,10 +296,12 @@ export function initialize(
|
|
|
290
296
|
function cleanUpState() {
|
|
291
297
|
initialState = undefined
|
|
292
298
|
initialPathname = undefined
|
|
299
|
+
lastIntendedPathname = undefined
|
|
293
300
|
rootState = undefined
|
|
294
301
|
nextState = undefined
|
|
295
302
|
routeInfo = undefined
|
|
296
303
|
pendingNavigationPathname = undefined
|
|
304
|
+
pendingNavigationAction = undefined
|
|
297
305
|
resetLinking()
|
|
298
306
|
rootStateSubscribers.clear()
|
|
299
307
|
storeSubscribers.clear()
|
|
@@ -506,6 +514,12 @@ export function updateState(state: OneRouter.ResultState, nextStateParam = state
|
|
|
506
514
|
}
|
|
507
515
|
}
|
|
508
516
|
|
|
517
|
+
export function consumePendingNavigationAction() {
|
|
518
|
+
const action = pendingNavigationAction
|
|
519
|
+
pendingNavigationAction = undefined
|
|
520
|
+
return action
|
|
521
|
+
}
|
|
522
|
+
|
|
509
523
|
// Subscription functions
|
|
510
524
|
export function subscribeToRootState(subscriber: OneRouter.RootStateListener) {
|
|
511
525
|
rootStateSubscribers.add(subscriber)
|
|
@@ -1240,6 +1254,13 @@ export async function linkTo(
|
|
|
1240
1254
|
// a bit hacky until can figure out a reliable way to tie it to the state
|
|
1241
1255
|
nextOptions = options ?? null
|
|
1242
1256
|
pendingNavigationPathname = normalizePathname(extractPathnameFromHref(href))
|
|
1257
|
+
pendingNavigationAction =
|
|
1258
|
+
event === 'PUSH' || event === 'REPLACE' || event === 'NAVIGATE' ? event : undefined
|
|
1259
|
+
// record the user-intended pathname so late-mounting navigators (e.g. an
|
|
1260
|
+
// auth-gate Redirect that swaps Slot ↔ Redirect and remounts the subtree)
|
|
1261
|
+
// resolve their initial route against the navigation target, not the
|
|
1262
|
+
// original page-load URL.
|
|
1263
|
+
lastIntendedPathname = pendingNavigationPathname
|
|
1243
1264
|
|
|
1244
1265
|
// compute target at dispatch time to avoid stale state during first render/effects
|
|
1245
1266
|
const freshRootState = navigationRef.getRootState() as NavigationState
|
package/src/views/Navigator.tsx
CHANGED
|
@@ -15,7 +15,11 @@ import {
|
|
|
15
15
|
} from '../notFoundState'
|
|
16
16
|
import { useContextKey } from '../router/Route'
|
|
17
17
|
import { getResolvedLinking } from '../router/linkingConfig'
|
|
18
|
-
import {
|
|
18
|
+
import {
|
|
19
|
+
routeNode as globalRouteNode,
|
|
20
|
+
initialPathname,
|
|
21
|
+
lastIntendedPathname,
|
|
22
|
+
} from '../router/router'
|
|
19
23
|
import { registerProtectedRoutes, unregisterProtectedRoutes } from '../router/router'
|
|
20
24
|
import { useSortedScreens, getQualifiedRouteComponent } from '../router/useScreens'
|
|
21
25
|
import { Screen } from './Screen'
|
|
@@ -216,10 +220,18 @@ function QualifiedNavigator({
|
|
|
216
220
|
// LATE MOUNT FIX: when a parent layout conditionally renders (auth gate,
|
|
217
221
|
// suspense resolve, provider init, etc.), this navigator may mount after
|
|
218
222
|
// initialState was consumed by NavigationContainer. compute the correct
|
|
219
|
-
// initialRouteName from the
|
|
220
|
-
// right route instead of defaulting to the first child.
|
|
221
|
-
//
|
|
222
|
-
//
|
|
223
|
+
// initialRouteName from the user-intended URL so the navigator starts on
|
|
224
|
+
// the right route instead of defaulting to the first child.
|
|
225
|
+
//
|
|
226
|
+
// resolution order:
|
|
227
|
+
// 1. lastIntendedPathname — set by linkTo on every router.replace/push/
|
|
228
|
+
// navigate. covers "auth-gate Redirect remounts the subtree": after
|
|
229
|
+
// the redirect runs, this points at the navigation target so the
|
|
230
|
+
// remounted navigator picks the new route, not the page-load URL.
|
|
231
|
+
// 2. initialPathname — captured at setup. covers initial-hydration
|
|
232
|
+
// late mounts where React Navigation's linking can briefly push a
|
|
233
|
+
// wrong URL during the delay; the original URL is the truth.
|
|
234
|
+
// 3. window.location.pathname — last-resort fallback.
|
|
223
235
|
//
|
|
224
236
|
// resolution uses the linking config's getStateFromPath — the same
|
|
225
237
|
// function NavigationContainer uses to build the initial state — and
|
|
@@ -258,6 +270,7 @@ function QualifiedNavigator({
|
|
|
258
270
|
}
|
|
259
271
|
|
|
260
272
|
const browserPath =
|
|
273
|
+
lastIntendedPathname ??
|
|
261
274
|
initialPathname ??
|
|
262
275
|
(typeof window !== 'undefined' ? window.location.pathname : undefined)
|
|
263
276
|
if (!browserPath) return undefined
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLinking.d.ts","sourceRoot":"","sources":["../../src/fork/useLinking.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAML,KAAK,sBAAsB,EAE3B,KAAK,aAAa,EAEnB,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAAE,gBAAgB,IAAI,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAEhF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAE9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"useLinking.d.ts","sourceRoot":"","sources":["../../src/fork/useLinking.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAML,KAAK,sBAAsB,EAE3B,KAAK,aAAa,EAEnB,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAAE,gBAAgB,IAAI,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAEhF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAE9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAmB9B,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAqG7D;;GAEG;AACH,eAAO,MAAM,MAAM,GAAI,IAAI,MAAM,OAAO,CAAC,IAAI,CAAC,eAO7C,CAAA;AAID,KAAK,OAAO,GAAG,cAAc,CAAC,aAAa,CAAC,CAAA;AAE5C,wBAAgB,UAAU,CACxB,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,EAClE,EACE,OAAc,EACd,MAAM,EACN,gBAA0C,EAC1C,gBAA0C,EAC1C,kBAA8C,GAC/C,EAAE,OAAO,EACV,kBAAkB,EAAE,CAAC,mBAAmB,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI;2BAe5D,WAAW,CAAC,WAAW,GAAG,SAAS,CAAC;EAimB9C"}
|
package/types/router/router.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export declare let hasAttemptedToHideSplash: boolean;
|
|
|
32
32
|
export declare let initialState: OneRouter.ResultState | undefined;
|
|
33
33
|
export declare let rootState: OneRouter.ResultState | undefined;
|
|
34
34
|
export declare let initialPathname: string | undefined;
|
|
35
|
+
export declare let lastIntendedPathname: string | undefined;
|
|
35
36
|
export declare let routeInfo: UrlObject | undefined;
|
|
36
37
|
export declare let navigationRef: OneRouter.NavigationRef;
|
|
37
38
|
export type ValidationState = {
|
|
@@ -62,6 +63,7 @@ export declare function canGoBack(): boolean;
|
|
|
62
63
|
export declare function canDismiss(): boolean;
|
|
63
64
|
export declare function getSortedRoutes(): RouteNode[];
|
|
64
65
|
export declare function updateState(state: OneRouter.ResultState, nextStateParam?: OneRouter.ResultState): void;
|
|
66
|
+
export declare function consumePendingNavigationAction(): "NAVIGATE" | "REPLACE" | "PUSH" | undefined;
|
|
65
67
|
export declare function subscribeToRootState(subscriber: OneRouter.RootStateListener): () => void;
|
|
66
68
|
export declare function subscribeToStore(subscriber: () => void): () => void;
|
|
67
69
|
export declare function subscribeToLoadingState(subscriber: OneRouter.LoadingStateListener): () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/router/router.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,KAAK,iCAAiC,EACtC,KAAK,eAAe,EAErB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,KAAK,aAAa,EAKnB,MAAM,OAAO,CAAA;AAGd,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAc1D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AAQxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAKzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAMxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAe/C,eAAO,IAAI,SAAS,EAAE,SAAS,GAAG,IAAW,CAAA;AAC7C,eAAO,IAAI,aAAa,EAAE,aAAa,CAAA;AAMvC;;;GAGG;AACH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,EAClB,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,QAO9B;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,MAAM,QAE3D;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAyBtD;AAED,eAAO,IAAI,wBAAw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G,OAAO,CAAA;AACtE,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,aAAa,CAAA;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,OAAO,CAAA;IAClB,MAAM,EAAE,OAAO,CAAA;CAChB,CAAA;AA2DD,wBAAgB,iBAAiB,IAAI,YAAY,EAAE,CAElD;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,UAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,GAAG,SAAS,CAsCtF;AA4DD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,UAAU,EAAE,QAGtD;AAED,wBAAsB,MAAM,CAC1B,IAAI,EAAE,MAAM,EACZ,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,SAAS,CAAC,aAAa,iBAkWlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Navigator.d.ts","sourceRoot":"","sources":["../../src/views/Navigator.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,aAAa,EAElB,oBAAoB,EACrB,MAAM,0BAA0B,CAAA;AAEjC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Navigator.d.ts","sourceRoot":"","sources":["../../src/views/Navigator.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,aAAa,EAElB,oBAAoB,EACrB,MAAM,0BAA0B,CAAA;AAEjC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAgE9B,KAAK,cAAc,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAG7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAIhD,MAAM,WAAW,SAAS;IACxB,gFAAgF;IAChF,cAAc,E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