@amazon-devices/react-navigation__native 7.0.1759135970 → 8.0.9000000000-rn-83
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/SystemBundles/c0d77be093c9724f49566be215c67240e6443c16760f772a745108ddaef15503.bundle +9117 -0
- package/SystemBundles/c0d77be093c9724f49566be215c67240e6443c16760f772a745108ddaef15503.map +3543 -0
- package/SystemModules/amzn__react-navigation__native-8.modules.txt +24 -0
- package/SystemModules/amzn__react-navigation__native-8.private.modules.txt +77 -0
- package/SystemModules/keplerscript-system-bundle-config.json +4 -4
- package/kepler-compatibility.json +2 -2
- package/lib/module/Link.js +31 -10
- package/lib/module/Link.js.map +1 -1
- package/lib/module/LinkingContext.js +7 -3
- package/lib/module/LinkingContext.js.map +1 -1
- package/lib/module/LocaleDirContext.js +6 -0
- package/lib/module/LocaleDirContext.js.map +1 -0
- package/lib/module/NavigationContainer.js +87 -59
- package/lib/module/NavigationContainer.js.map +1 -1
- package/lib/module/ServerContainer.js +20 -10
- package/lib/module/ServerContainer.js.map +1 -1
- package/lib/module/ServerContext.js +3 -2
- package/lib/module/ServerContext.js.map +1 -1
- package/lib/module/UnhandledLinkingContext.js +14 -0
- package/lib/module/UnhandledLinkingContext.js.map +1 -0
- package/lib/module/__stubs__/createStackNavigator.js +18 -0
- package/lib/module/__stubs__/createStackNavigator.js.map +1 -0
- package/lib/module/__stubs__/window.js +75 -0
- package/lib/module/__stubs__/window.js.map +1 -0
- package/lib/module/createMemoryHistory.js +19 -17
- package/lib/module/createMemoryHistory.js.map +1 -1
- package/lib/module/createStaticNavigation.js +54 -0
- package/lib/module/createStaticNavigation.js.map +1 -0
- package/lib/module/extractPathFromURL.js +6 -5
- package/lib/module/extractPathFromURL.js.map +1 -1
- package/lib/module/index.js +18 -13
- package/lib/module/index.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/module/theming/DarkTheme.js +6 -3
- package/lib/module/theming/DarkTheme.js.map +1 -1
- package/lib/module/theming/DefaultTheme.js +6 -3
- package/lib/module/theming/DefaultTheme.js.map +1 -1
- package/lib/module/theming/fonts.js +61 -0
- package/lib/module/theming/fonts.js.map +1 -0
- package/lib/module/types.js +2 -0
- package/lib/module/types.js.map +1 -1
- package/lib/module/useBackButton.js +3 -1
- package/lib/module/useBackButton.js.map +1 -1
- package/lib/module/useBackButton.native.js +3 -1
- package/lib/module/useBackButton.native.js.map +1 -1
- package/lib/module/useDocumentTitle.js +6 -4
- package/lib/module/useDocumentTitle.js.map +1 -1
- package/lib/module/useDocumentTitle.native.js +4 -2
- package/lib/module/useDocumentTitle.native.js.map +1 -1
- package/lib/module/useLinkBuilder.js +71 -40
- package/lib/module/useLinkBuilder.js.map +1 -1
- package/lib/module/useLinkProps.js +41 -36
- package/lib/module/useLinkProps.js.map +1 -1
- package/lib/module/useLinkTo.js +18 -28
- package/lib/module/useLinkTo.js.map +1 -1
- package/lib/module/useLinking.js +47 -19
- package/lib/module/useLinking.js.map +1 -1
- package/lib/module/useLinking.native.js +33 -28
- package/lib/module/useLinking.native.js.map +1 -1
- package/lib/module/useLocale.js +18 -0
- package/lib/module/useLocale.js.map +1 -0
- package/lib/module/useRoutePath.js +30 -0
- package/lib/module/useRoutePath.js.map +1 -0
- package/lib/module/useScrollToTop.js +11 -7
- package/lib/module/useScrollToTop.js.map +1 -1
- package/lib/module/useThenable.js +4 -1
- package/lib/module/useThenable.js.map +1 -1
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/Link.d.ts +8 -10
- package/lib/typescript/src/Link.d.ts.map +1 -1
- package/lib/typescript/src/LinkingContext.d.ts +2 -3
- package/lib/typescript/src/LinkingContext.d.ts.map +1 -1
- package/lib/typescript/src/LocaleDirContext.d.ts +4 -0
- package/lib/typescript/src/LocaleDirContext.d.ts.map +1 -0
- package/lib/typescript/src/NavigationContainer.d.ts +36 -13
- package/lib/typescript/src/NavigationContainer.d.ts.map +1 -1
- package/lib/typescript/src/ServerContainer.d.ts +2 -3
- package/lib/typescript/src/ServerContainer.d.ts.map +1 -1
- package/lib/typescript/src/ServerContext.d.ts +1 -2
- package/lib/typescript/src/ServerContext.d.ts.map +1 -1
- package/lib/typescript/src/UnhandledLinkingContext.d.ts +6 -0
- package/lib/typescript/src/UnhandledLinkingContext.d.ts.map +1 -0
- package/lib/typescript/src/__stubs__/createStackNavigator.d.ts +13 -0
- package/lib/typescript/src/__stubs__/createStackNavigator.d.ts.map +1 -0
- package/lib/typescript/src/{__mocks__ → __stubs__}/window.d.ts +5 -6
- package/lib/typescript/src/__stubs__/window.d.ts.map +1 -0
- package/lib/typescript/src/createMemoryHistory.d.ts +1 -1
- package/lib/typescript/src/createMemoryHistory.d.ts.map +1 -1
- package/lib/typescript/src/createStaticNavigation.d.ts +34 -0
- package/lib/typescript/src/createStaticNavigation.d.ts.map +1 -0
- package/lib/typescript/src/extractPathFromURL.d.ts +1 -1
- package/lib/typescript/src/extractPathFromURL.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +15 -12
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/theming/DarkTheme.d.ts +1 -2
- package/lib/typescript/src/theming/DarkTheme.d.ts.map +1 -1
- package/lib/typescript/src/theming/DefaultTheme.d.ts +1 -2
- package/lib/typescript/src/theming/DefaultTheme.d.ts.map +1 -1
- package/lib/typescript/src/theming/fonts.d.ts +53 -0
- package/lib/typescript/src/theming/fonts.d.ts.map +1 -0
- package/lib/typescript/src/types.d.ts +35 -3
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/lib/typescript/src/useBackButton.d.ts +1 -2
- package/lib/typescript/src/useBackButton.d.ts.map +1 -1
- package/lib/typescript/src/useBackButton.native.d.ts +1 -1
- package/lib/typescript/src/useBackButton.native.d.ts.map +1 -1
- package/lib/typescript/src/useDocumentTitle.d.ts +1 -1
- package/lib/typescript/src/useDocumentTitle.d.ts.map +1 -1
- package/lib/typescript/src/useDocumentTitle.native.d.ts +1 -1
- package/lib/typescript/src/useDocumentTitle.native.d.ts.map +1 -1
- package/lib/typescript/src/useLinkBuilder.d.ts +97 -3
- package/lib/typescript/src/useLinkBuilder.d.ts.map +1 -1
- package/lib/typescript/src/useLinkProps.d.ts +23 -10
- package/lib/typescript/src/useLinkProps.d.ts.map +1 -1
- package/lib/typescript/src/useLinkTo.d.ts +6 -8
- package/lib/typescript/src/useLinkTo.d.ts.map +1 -1
- package/lib/typescript/src/useLinking.d.ts +5 -46
- package/lib/typescript/src/useLinking.d.ts.map +1 -1
- package/lib/typescript/src/useLinking.native.d.ts +11 -29
- package/lib/typescript/src/useLinking.native.d.ts.map +1 -1
- package/lib/typescript/src/useLocale.d.ts +7 -0
- package/lib/typescript/src/useLocale.d.ts.map +1 -0
- package/lib/typescript/src/useRoutePath.d.ts +7 -0
- package/lib/typescript/src/useRoutePath.d.ts.map +1 -0
- package/lib/typescript/src/useScrollToTop.d.ts +2 -2
- package/lib/typescript/src/useScrollToTop.d.ts.map +1 -1
- package/lib/typescript/src/useThenable.d.ts +1 -1
- package/lib/typescript/src/useThenable.d.ts.map +1 -1
- package/oss-attribution/attribution.txt +50 -0
- package/oss-attribution/licenseInfos.json +18 -0
- package/package.json +97 -1
- package/src/Link.tsx +36 -20
- package/src/LinkingContext.tsx +9 -5
- package/src/LocaleDirContext.tsx +7 -0
- package/src/NavigationContainer.tsx +128 -69
- package/src/ServerContainer.tsx +4 -3
- package/src/ServerContext.tsx +1 -3
- package/src/UnhandledLinkingContext.tsx +18 -0
- package/src/__stubs__/createStackNavigator.tsx +46 -0
- package/src/{__mocks__ → __stubs__}/window.tsx +8 -8
- package/src/createMemoryHistory.tsx +16 -11
- package/src/createStaticNavigation.tsx +109 -0
- package/src/extractPathFromURL.tsx +3 -3
- package/src/index.tsx +15 -12
- package/src/theming/DarkTheme.tsx +3 -3
- package/src/theming/DefaultTheme.tsx +3 -3
- package/src/theming/fonts.tsx +63 -0
- package/src/types.tsx +49 -3
- package/src/useBackButton.native.tsx +2 -2
- package/src/useBackButton.tsx +2 -2
- package/src/useDocumentTitle.native.tsx +2 -2
- package/src/useDocumentTitle.tsx +2 -2
- package/src/useLinkBuilder.tsx +100 -55
- package/src/useLinkProps.tsx +80 -50
- package/src/useLinkTo.tsx +13 -53
- package/src/useLinking.native.tsx +33 -31
- package/src/useLinking.tsx +70 -23
- package/src/useLocale.tsx +18 -0
- package/src/useRoutePath.tsx +34 -0
- package/src/useScrollToTop.tsx +16 -12
- package/src/useThenable.tsx +2 -1
- package/SystemBundles/8f36606502d3b658fa1ffc07fee4da0e39a8ce388742799c9ccdb66b39ef0362.bundle +0 -15196
- package/SystemBundles/8f36606502d3b658fa1ffc07fee4da0e39a8ce388742799c9ccdb66b39ef0362.map +0 -1
- package/SystemModules/amzn__react-navigation__native-7.modules.txt +0 -76
- package/SystemModules/amzn__react-navigation__native-7.private.modules.txt +0 -101
- package/THIRD_PARTY_NOTICES.txt +0 -24
- package/lib/commonjs/Link.js +0 -50
- package/lib/commonjs/Link.js.map +0 -1
- package/lib/commonjs/LinkingContext.js +0 -15
- package/lib/commonjs/LinkingContext.js.map +0 -1
- package/lib/commonjs/NavigationContainer.js +0 -109
- package/lib/commonjs/NavigationContainer.js.map +0 -1
- package/lib/commonjs/ServerContainer.js +0 -54
- package/lib/commonjs/ServerContainer.js.map +0 -1
- package/lib/commonjs/ServerContext.js +0 -12
- package/lib/commonjs/ServerContext.js.map +0 -1
- package/lib/commonjs/createMemoryHistory.js +0 -220
- package/lib/commonjs/createMemoryHistory.js.map +0 -1
- package/lib/commonjs/extractPathFromURL.js +0 -25
- package/lib/commonjs/extractPathFromURL.js.map +0 -1
- package/lib/commonjs/index.js +0 -129
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/theming/DarkTheme.js +0 -19
- package/lib/commonjs/theming/DarkTheme.js.map +0 -1
- package/lib/commonjs/theming/DefaultTheme.js +0 -19
- package/lib/commonjs/theming/DefaultTheme.js.map +0 -1
- package/lib/commonjs/theming/ThemeContext.js +0 -15
- package/lib/commonjs/theming/ThemeContext.js.map +0 -1
- package/lib/commonjs/theming/ThemeProvider.js +0 -20
- package/lib/commonjs/theming/ThemeProvider.js.map +0 -1
- package/lib/commonjs/theming/useTheme.js +0 -16
- package/lib/commonjs/theming/useTheme.js.map +0 -1
- package/lib/commonjs/types.js +0 -6
- package/lib/commonjs/types.js.map +0 -1
- package/lib/commonjs/useBackButton.js +0 -11
- package/lib/commonjs/useBackButton.js.map +0 -1
- package/lib/commonjs/useBackButton.native.js +0 -27
- package/lib/commonjs/useBackButton.native.js.map +0 -1
- package/lib/commonjs/useDocumentTitle.js +0 -32
- package/lib/commonjs/useDocumentTitle.js.map +0 -1
- package/lib/commonjs/useDocumentTitle.native.js +0 -10
- package/lib/commonjs/useDocumentTitle.native.js.map +0 -1
- package/lib/commonjs/useLinkBuilder.js +0 -63
- package/lib/commonjs/useLinkBuilder.js.map +0 -1
- package/lib/commonjs/useLinkProps.js +0 -97
- package/lib/commonjs/useLinkProps.js.map +0 -1
- package/lib/commonjs/useLinkTo.js +0 -45
- package/lib/commonjs/useLinkTo.js.map +0 -1
- package/lib/commonjs/useLinking.js +0 -303
- package/lib/commonjs/useLinking.js.map +0 -1
- package/lib/commonjs/useLinking.native.js +0 -152
- package/lib/commonjs/useLinking.native.js.map +0 -1
- package/lib/commonjs/useScrollToTop.js +0 -95
- package/lib/commonjs/useScrollToTop.js.map +0 -1
- package/lib/commonjs/useThenable.js +0 -41
- package/lib/commonjs/useThenable.js.map +0 -1
- package/lib/module/theming/ThemeContext.js +0 -6
- package/lib/module/theming/ThemeContext.js.map +0 -1
- package/lib/module/theming/ThemeProvider.js +0 -11
- package/lib/module/theming/ThemeProvider.js.map +0 -1
- package/lib/module/theming/useTheme.js +0 -7
- package/lib/module/theming/useTheme.js.map +0 -1
- package/lib/typescript/src/__mocks__/window.d.ts.map +0 -1
- package/lib/typescript/src/theming/ThemeContext.d.ts +0 -5
- package/lib/typescript/src/theming/ThemeContext.d.ts.map +0 -1
- package/lib/typescript/src/theming/ThemeProvider.d.ts +0 -9
- package/lib/typescript/src/theming/ThemeProvider.d.ts.map +0 -1
- package/lib/typescript/src/theming/useTheme.d.ts +0 -2
- package/lib/typescript/src/theming/useTheme.d.ts.map +0 -1
- package/src/theming/ThemeContext.tsx +0 -10
- package/src/theming/ThemeProvider.tsx +0 -15
- package/src/theming/useTheme.tsx +0 -9
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/Link.js:0e2aeb8ddddee73292a4
|
|
2
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/useLinkProps.js:48bff7d3883715ce1820
|
|
3
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/LinkingContext.js:44e2602f187ff9cf59cf
|
|
4
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/useLinkTo.js:d2fc6bc50f38d96001f0
|
|
5
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/NavigationContainer.js:62de5dd14dfb1410d7f2
|
|
6
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/theming/DefaultTheme.js:4e50e5807b6fb07b613f
|
|
7
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/theming/ThemeProvider.js:41d087902e4bef39f04b
|
|
8
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/theming/ThemeContext.js:e715c014535a1bdecb42
|
|
9
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/useBackButton.native.js:74d4689d8e52a698b3d2
|
|
10
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/useDocumentTitle.native.js:e4a58ccf74d2d9867856
|
|
11
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/useLinking.native.js:4ef716444d3ed80509e2
|
|
12
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/extractPathFromURL.js:2c5f1129dd8d2b386289
|
|
13
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/useThenable.js:0acc7927719a4253eff3
|
|
14
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/ServerContainer.js:5b77f20a4335db449393
|
|
15
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/ServerContext.js:4960bab7f0f723133a67
|
|
16
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/createMemoryHistory.js:9a4260e4a1aa97323527
|
|
17
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/index.js:3464379067b662d21165
|
|
18
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/theming/DarkTheme.js:b3c65baf08e5e701790f
|
|
19
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/theming/useTheme.js:77f1c373042f858dc691
|
|
20
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/types.js:a16fd8dba5726a61d599
|
|
21
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/useLinkBuilder.js:a3af2c17a03b365b60dc
|
|
22
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/useScrollToTop.js:169b2fbf53ed3f6528af
|
|
23
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/useBackButton.js:5820cc2afc1e5e54dfb7
|
|
24
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/useDocumentTitle.js:5e7fcb782ad8b8ccee34
|
|
25
|
-
node_modules/@amzn/react-navigation__native_7/lib/commonjs/useLinking.js:138160aa5bce82c508b8
|
|
26
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/Link.js:e36b10b55438aba61eda
|
|
27
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/useLinkProps.js:50cc159f4126e5ecff14
|
|
28
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/LinkingContext.js:7773a676d1aeaa1f0f42
|
|
29
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/useLinkTo.js:3eb1264bc65b209ef439
|
|
30
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/NavigationContainer.js:f27d085796d9a3f47486
|
|
31
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/theming/DefaultTheme.js:c46a5167ebe3d9c1c660
|
|
32
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/theming/ThemeProvider.js:30f0875e6ff0f858b621
|
|
33
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/theming/ThemeContext.js:9685064fc8dbdc8f1c1e
|
|
34
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/useBackButton.native.js:8a760e7d3f08e025b1eb
|
|
35
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/useDocumentTitle.native.js:cef326b5921be1ead951
|
|
36
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/useLinking.native.js:fffaf1e280ece0af4582
|
|
37
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/extractPathFromURL.js:474b77c1645133103803
|
|
38
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/useThenable.js:76911e56dabdc8bfcc01
|
|
39
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/ServerContainer.js:093db2172813fe0208fb
|
|
40
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/ServerContext.js:0d7f330aafb4f48ee523
|
|
41
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/createMemoryHistory.js:829b5d49ba629cac2d8d
|
|
42
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/index.js:b90332e149ba7e5170f9
|
|
43
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/theming/DarkTheme.js:e7f7408a3e62da33d175
|
|
44
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/theming/useTheme.js:3fb00c5c940edbf95bc6
|
|
45
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/types.js:99ec6a39a5f3443aff05
|
|
46
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/useLinkBuilder.js:ef36f07a39a009cf52e9
|
|
47
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/useScrollToTop.js:716b08920931ff3051f1
|
|
48
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/useBackButton.js:ea3000ed58132a23efa8
|
|
49
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/useDocumentTitle.js:2a6cfac999ee5b9bcbb9
|
|
50
|
-
node_modules/@amzn/react-navigation__native_7/lib/module/useLinking.js:b2fa824dacb3d0aa2950
|
|
51
|
-
node_modules/@amzn/react-navigation__native_7/src/Link.tsx:73d88a1275162f427c4f
|
|
52
|
-
node_modules/@amzn/react-navigation__native_7/src/useLinkProps.tsx:bc9e7a1616ac0141d88b
|
|
53
|
-
node_modules/@amzn/react-navigation__native_7/src/LinkingContext.tsx:f2a490b96fe0232c5007
|
|
54
|
-
node_modules/@amzn/react-navigation__native_7/src/useLinkTo.tsx:db31806474a1e3d625ea
|
|
55
|
-
node_modules/@amzn/react-navigation__native_7/src/NavigationContainer.tsx:d97b8733546aff1cad5c
|
|
56
|
-
node_modules/@amzn/react-navigation__native_7/src/theming/DefaultTheme.tsx:0f2e6091de18a8471cf0
|
|
57
|
-
node_modules/@amzn/react-navigation__native_7/src/theming/ThemeProvider.tsx:d35a975eccc0f69a9b57
|
|
58
|
-
node_modules/@amzn/react-navigation__native_7/src/theming/ThemeContext.tsx:9aab683f0c3ea90d0b91
|
|
59
|
-
node_modules/@amzn/react-navigation__native_7/src/useBackButton.native.tsx:b7cfd3a718ea53bd7315
|
|
60
|
-
node_modules/@amzn/react-navigation__native_7/src/useDocumentTitle.native.tsx:74da8049cb0a2918e587
|
|
61
|
-
node_modules/@amzn/react-navigation__native_7/src/useLinking.native.tsx:6736cef817b057b576c7
|
|
62
|
-
node_modules/@amzn/react-navigation__native_7/src/extractPathFromURL.tsx:2daced60b812d838dfa0
|
|
63
|
-
node_modules/@amzn/react-navigation__native_7/src/useThenable.tsx:943df0e30889a3a6ae31
|
|
64
|
-
node_modules/@amzn/react-navigation__native_7/src/ServerContainer.tsx:383c8cf093f10a6191e4
|
|
65
|
-
node_modules/@amzn/react-navigation__native_7/src/ServerContext.tsx:5653a09f02f6bc58a4e4
|
|
66
|
-
node_modules/@amzn/react-navigation__native_7/src/__mocks__/window.tsx:b719ecb49651b1359dba
|
|
67
|
-
node_modules/@amzn/react-navigation__native_7/src/createMemoryHistory.tsx:194b6b94ee46eb2bc8dc
|
|
68
|
-
node_modules/@amzn/react-navigation__native_7/src/index.tsx:c25b7e6d12cdc55bd8e0
|
|
69
|
-
node_modules/@amzn/react-navigation__native_7/src/theming/DarkTheme.tsx:cf7be3935a922c2e77ad
|
|
70
|
-
node_modules/@amzn/react-navigation__native_7/src/theming/useTheme.tsx:adf880685c71ee226dee
|
|
71
|
-
node_modules/@amzn/react-navigation__native_7/src/types.tsx:bab0b3d9d702e8d0dcad
|
|
72
|
-
node_modules/@amzn/react-navigation__native_7/src/useLinkBuilder.tsx:8ccc1e6fa146178b03f8
|
|
73
|
-
node_modules/@amzn/react-navigation__native_7/src/useScrollToTop.tsx:669f56cc8f5cdab05eb8
|
|
74
|
-
node_modules/@amzn/react-navigation__native_7/src/useBackButton.tsx:eb470955ccb2373b74b3
|
|
75
|
-
node_modules/@amzn/react-navigation__native_7/src/useDocumentTitle.tsx:87c6b7c5303ae49f936d
|
|
76
|
-
node_modules/@amzn/react-navigation__native_7/src/useLinking.tsx:e7434431e9f57bae04e4
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
node_modules/@react-native/js-polyfills_0.72.1/console.js:c081be8f6c0109dd350f
|
|
2
|
-
node_modules/@react-native/js-polyfills_0.72.1/error-guard.js:057b32c72f7f399723ba
|
|
3
|
-
node_modules/@react-native/js-polyfills_0.72.1/Object.es8.js:a9bf7d37774d7198840b
|
|
4
|
-
node_modules/@babel/runtime_7.26.0/helpers/interopRequireDefault.js:e13c8413f9a5de8e772f
|
|
5
|
-
node_modules/@babel/runtime_7.26.0/helpers/toConsumableArray.js:c8d9faa50529497e8550
|
|
6
|
-
node_modules/@babel/runtime_7.26.0/helpers/arrayWithoutHoles.js:fedf38594225d61ce364
|
|
7
|
-
node_modules/@babel/runtime_7.26.0/helpers/arrayLikeToArray.js:790be5d6822a112c9007
|
|
8
|
-
node_modules/@babel/runtime_7.26.0/helpers/iterableToArray.js:caf268f6252e2825d074
|
|
9
|
-
node_modules/@babel/runtime_7.26.0/helpers/unsupportedIterableToArray.js:bb86eb755213422b1850
|
|
10
|
-
node_modules/@babel/runtime_7.26.0/helpers/nonIterableSpread.js:e82afc4c0fee49992755
|
|
11
|
-
node_modules/@babel/runtime_7.26.0/helpers/classCallCheck.js:7ba3d97b9a1c7b5d2869
|
|
12
|
-
node_modules/@babel/runtime_7.26.0/helpers/createClass.js:51a05661f80df8a7ec74
|
|
13
|
-
node_modules/@babel/runtime_7.26.0/helpers/toPropertyKey.js:83653ba9ba6a6acbaf3f
|
|
14
|
-
node_modules/@babel/runtime_7.26.0/helpers/toPrimitive.js:44d8868b36ed13d4848c
|
|
15
|
-
node_modules/@babel/runtime_7.26.0/helpers/typeof.js:9beefbd2b38f15e68c8e
|
|
16
|
-
node_modules/invariant_2.2.4/browser.js:fd099686726b2dfb6f66
|
|
17
|
-
node_modules/@babel/runtime_7.26.0/helpers/slicedToArray.js:483ae341f8ec81c793b7
|
|
18
|
-
node_modules/@babel/runtime_7.26.0/helpers/arrayWithHoles.js:783a1c105475cee3e6c5
|
|
19
|
-
node_modules/@babel/runtime_7.26.0/helpers/iterableToArrayLimit.js:848b0a42822f8876517a
|
|
20
|
-
node_modules/@babel/runtime_7.26.0/helpers/nonIterableRest.js:7df430fde83911c4a777
|
|
21
|
-
node_modules/nullthrows_1.1.1/nullthrows.js:afd4874b36ccd4e13961
|
|
22
|
-
node_modules/@babel/runtime_7.26.0/helpers/possibleConstructorReturn.js:1a2fe3e5fa067fc0a581
|
|
23
|
-
node_modules/@babel/runtime_7.26.0/helpers/assertThisInitialized.js:8fb490053e9935245ab2
|
|
24
|
-
node_modules/@babel/runtime_7.26.0/helpers/getPrototypeOf.js:9f001f493a532727260d
|
|
25
|
-
node_modules/@babel/runtime_7.26.0/helpers/inherits.js:106616352dc94f6a631a
|
|
26
|
-
node_modules/@babel/runtime_7.26.0/helpers/setPrototypeOf.js:b3795059b892586ade34
|
|
27
|
-
node_modules/@babel/runtime_7.26.0/helpers/readOnlyError.js:1ce02919a2278f04e7f0
|
|
28
|
-
node_modules/@babel/runtime_7.26.0/helpers/wrapNativeSuper.js:eb04c83a2c7f1c2f7a42
|
|
29
|
-
node_modules/@babel/runtime_7.26.0/helpers/isNativeFunction.js:3ce4e050494cfa1d5417
|
|
30
|
-
node_modules/@babel/runtime_7.26.0/helpers/construct.js:bc6843521062ed051490
|
|
31
|
-
node_modules/@babel/runtime_7.26.0/helpers/isNativeReflectConstruct.js:8962e626888f4268c6fc
|
|
32
|
-
node_modules/stacktrace-parser_0.1.10/dist/stack-trace-parser.cjs.js:189d72d0eb41570f5e74
|
|
33
|
-
node_modules/promise_8.3.0/setimmediate/finally.js:15bc4ccb25fc2d0c4428
|
|
34
|
-
node_modules/promise_8.3.0/setimmediate/core.js:890f60fa94d3f6854a19
|
|
35
|
-
node_modules/promise_8.3.0/setimmediate/es6-extensions.js:a7846fdeffeb1ebf6241
|
|
36
|
-
node_modules/regenerator-runtime_0.13.11/runtime.js:af823d9710c534173a4d
|
|
37
|
-
node_modules/@babel/runtime_7.26.0/helpers/get.js:4b1a4e373780ac89a3a3
|
|
38
|
-
node_modules/@babel/runtime_7.26.0/helpers/superPropBase.js:b7261b01f9f721400840
|
|
39
|
-
node_modules/event-target-shim_5.0.1/dist/event-target-shim.js:2bd3f165b1ed6b916de7
|
|
40
|
-
node_modules/base64-js_1.5.1/index.js:71af70f51435e3e1b37b
|
|
41
|
-
node_modules/whatwg-fetch_3.6.20/dist/fetch.umd.js:ca4b0363146267ef3e77
|
|
42
|
-
node_modules/@babel/runtime_7.26.0/helpers/objectWithoutProperties.js:288fc9023aadbf916360
|
|
43
|
-
node_modules/@babel/runtime_7.26.0/helpers/objectWithoutPropertiesLoose.js:227b8be7a5ddac0008f4
|
|
44
|
-
node_modules/abort-controller_3.0.0/dist/abort-controller.js:ea8fcbd647aab1cfcdaa
|
|
45
|
-
node_modules/@react-native/normalize-colors_0.72.0/index.js:bab9017c6ff43bb4a95b
|
|
46
|
-
node_modules/@babel/runtime_7.26.0/helpers/defineProperty.js:f08cf7e9c32002e6bb9e
|
|
47
|
-
node_modules/@react-native/assets-registry_0.72.0/registry.js:05d58bec2a6d939f08d8
|
|
48
|
-
node_modules/@react-native/assets-registry_0.72.0/path-support.js:914260cfb55fe13c431c
|
|
49
|
-
node_modules/scheduler_0.24.0-canary-efb381bbf-20230505/index.native.js:d57407eff7026d491c8a
|
|
50
|
-
node_modules/scheduler_0.24.0-canary-efb381bbf-20230505/cjs/scheduler.native.production.min.js:9daefd1335ff675770cb
|
|
51
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/index.js:4b5aec8d0b1af0b13fc9
|
|
52
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedColorPropType.js:0ff2848f3ff6f1a02356
|
|
53
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedEdgeInsetsPropType.js:e113bc2a6b8133e753f1
|
|
54
|
-
node_modules/prop-types_15.8.1/index.js:385f56cce85bf58dda18
|
|
55
|
-
node_modules/prop-types_15.8.1/factoryWithThrowingShims.js:211f6d600f40629e26d0
|
|
56
|
-
node_modules/prop-types_15.8.1/lib/ReactPropTypesSecret.js:3ac224506c12c2b4339c
|
|
57
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedImagePropType.js:9f1779357aba412bb49f
|
|
58
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedViewPropTypes.js:6a37ec0494ff683c49f2
|
|
59
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedViewAccessibility.js:dc269c006cd52aa8a392
|
|
60
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedStyleSheetPropType.js:ecd8893ff4b33ee73955
|
|
61
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/deprecatedCreateStrictShapeTypeChecker.js:2c266ae4211321471d0d
|
|
62
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedViewStylePropTypes.js:b0bd5168a69d8a903511
|
|
63
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedLayoutPropTypes.js:fdc284a1196df7b8b1c7
|
|
64
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedShadowPropTypesIOS.js:c694fefe532e4748da9d
|
|
65
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedTransformPropTypes.js:1dd7395967b3c81dc0f2
|
|
66
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedImageSourcePropType.js:00fed86b64880bf848bf
|
|
67
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedImageStylePropTypes.js:0b77c2d463c8dbef3508
|
|
68
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedPointPropType.js:792d53fa12840d39c921
|
|
69
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedTextInputPropTypes.js:a287f54379336e9f732c
|
|
70
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedTextPropTypes.js:14b8482f38362fa2f8cd
|
|
71
|
-
node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedTextStylePropTypes.js:41bd16fe8e2d1af40264
|
|
72
|
-
node_modules/memoize-one_5.2.1/dist/memoize-one.cjs.js:d381691ed29bec5a2050
|
|
73
|
-
node_modules/@react-native/virtualized-lists_0.72.8/index.js:27b237d1799650306cb9
|
|
74
|
-
node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizeUtils.js:a26dbe2a3afa21c3cf22
|
|
75
|
-
node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizedList.js:c4b46015e44050527820
|
|
76
|
-
node_modules/@react-native/virtualized-lists_0.72.8/Interaction/Batchinator.js:1953ac0cbf7ac32b33d6
|
|
77
|
-
node_modules/@react-native/virtualized-lists_0.72.8/Utilities/clamp.js:a30729068ebd0dea58f8
|
|
78
|
-
node_modules/@react-native/virtualized-lists_0.72.8/Utilities/infoLog.js:4fd7218f700134f011e9
|
|
79
|
-
node_modules/@react-native/virtualized-lists_0.72.8/Lists/ChildListCollection.js:718d6cdfb3fb081a232d
|
|
80
|
-
node_modules/@react-native/virtualized-lists_0.72.8/Lists/FillRateHelper.js:3e01a5bc929e85870fe5
|
|
81
|
-
node_modules/@react-native/virtualized-lists_0.72.8/Lists/StateSafePureComponent.js:04ffc79d4da370644bce
|
|
82
|
-
node_modules/@react-native/virtualized-lists_0.72.8/Lists/ViewabilityHelper.js:8bafab90a37cab64b100
|
|
83
|
-
node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizedListCellRenderer.js:ce5f423367f40f3628a8
|
|
84
|
-
node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizedListContext.js:e6b1ef1f5b720d640981
|
|
85
|
-
node_modules/@react-native/virtualized-lists_0.72.8/Lists/CellRenderMask.js:de5ab026f9499640d730
|
|
86
|
-
node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizedSectionList.js:d2355175ff6609a3def1
|
|
87
|
-
node_modules/@babel/runtime_7.26.0/helpers/asyncToGenerator.js:ea48108a6867e7ab71ad
|
|
88
|
-
node_modules/use-sync-external-store_1.2.2/shim/index.native.js:f1b3855a69d8eff82434
|
|
89
|
-
node_modules/use-sync-external-store_1.2.2/cjs/use-sync-external-store-shim.native.production.min.js:5d8c3034f885ee036c2b
|
|
90
|
-
node_modules/@babel/runtime_7.26.0/helpers/classPrivateFieldLooseKey.js:7f66c94a6a95aa0d133b
|
|
91
|
-
node_modules/@babel/runtime_7.26.0/helpers/classPrivateFieldLooseBase.js:ad166880e439eedd808a
|
|
92
|
-
node_modules/nanoid_3.1.23/non-secure/index.js:e03db9aacb1ee503cd26
|
|
93
|
-
node_modules/query-string_7.1.3/index.js:ff0fc26247fd2f6e2bc9
|
|
94
|
-
node_modules/strict-uri-encode_2.0.0/index.js:6c76b37f74c115e29e96
|
|
95
|
-
node_modules/decode-uri-component_0.2.2/index.js:b39ee987403b752f74b9
|
|
96
|
-
node_modules/split-on-first_1.1.0/index.js:67acda24cfcd7581ec59
|
|
97
|
-
node_modules/filter-obj_1.1.0/index.js:5f6f1050a714764e298b
|
|
98
|
-
node_modules/escape-string-regexp_4.0.0/index.js:c8bebab0d5f6b23cde75
|
|
99
|
-
node_modules/use-latest-callback_0.1.6/lib/index.js:6e9cf0716929115a1392
|
|
100
|
-
node_modules/escape-string-regexp_4.0.0/index.js:c8bebab0d5f6b23cde75
|
|
101
|
-
node_modules/fast-deep-equal_3.1.3/index.js:c83c5e51638a2455a863
|
package/THIRD_PARTY_NOTICES.txt
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
License from LICENSE:
|
|
2
|
-
========================================
|
|
3
|
-
|
|
4
|
-
MIT License
|
|
5
|
-
|
|
6
|
-
Copyright (c) 2017 React Navigation Contributors
|
|
7
|
-
|
|
8
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
10
|
-
in the Software without restriction, including without limitation the rights
|
|
11
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
12
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
13
|
-
furnished to do so, subject to the following conditions:
|
|
14
|
-
|
|
15
|
-
The above copyright notice and this permission notice shall be included in all
|
|
16
|
-
copies or substantial portions of the Software.
|
|
17
|
-
|
|
18
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
19
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
20
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
21
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
22
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
23
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
24
|
-
SOFTWARE.
|
package/lib/commonjs/Link.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = Link;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _useLinkProps = _interopRequireDefault(require("./useLinkProps"));
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
12
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
|
-
/**
|
|
14
|
-
* Component to render link to another screen using a path.
|
|
15
|
-
* Uses an anchor tag on the web.
|
|
16
|
-
*
|
|
17
|
-
* @param props.to Absolute path to screen (e.g. `/feeds/hot`).
|
|
18
|
-
* @param props.action Optional action to use for in-page navigation. By default, the path is parsed to an action based on linking config.
|
|
19
|
-
* @param props.children Child elements to render the content.
|
|
20
|
-
*/
|
|
21
|
-
function Link({
|
|
22
|
-
to,
|
|
23
|
-
action,
|
|
24
|
-
...rest
|
|
25
|
-
}) {
|
|
26
|
-
const props = (0, _useLinkProps.default)({
|
|
27
|
-
to,
|
|
28
|
-
action
|
|
29
|
-
});
|
|
30
|
-
const onPress = e => {
|
|
31
|
-
if ('onPress' in rest) {
|
|
32
|
-
var _rest$onPress;
|
|
33
|
-
(_rest$onPress = rest.onPress) === null || _rest$onPress === void 0 || _rest$onPress.call(rest, e);
|
|
34
|
-
}
|
|
35
|
-
props.onPress(e);
|
|
36
|
-
};
|
|
37
|
-
return /*#__PURE__*/React.createElement(_reactNative.Text, {
|
|
38
|
-
...props,
|
|
39
|
-
...rest,
|
|
40
|
-
..._reactNative.Platform.select({
|
|
41
|
-
web: {
|
|
42
|
-
onClick: onPress
|
|
43
|
-
},
|
|
44
|
-
default: {
|
|
45
|
-
onPress
|
|
46
|
-
}
|
|
47
|
-
})
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=Link.js.map
|
package/lib/commonjs/Link.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_useLinkProps","_interopRequireDefault","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Link","to","action","rest","props","useLinkProps","onPress","_rest$onPress","createElement","Text","Platform","select","web","onClick"],"sourceRoot":"../../src","sources":["Link.tsx"],"mappings":";;;;;;AACA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,aAAA,GAAAC,sBAAA,CAAAH,OAAA;AAA0C,SAAAG,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAA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1B,CAA0E,IACvE;IACH,IAAI,SAAS,IAAIuB,IAAI,EAAE;MAAA,IAAAI,aAAA;MACrB,CAAAA,aAAA,GAAAJ,IAAI,CAACG,OAAO,cAAAC,aAAA,eAAZA,aAAA,CAAAV,IAAA,CAAAM,IAAI,EAAWvB,CAAC,CAAC;IACnB;IAEAwB,KAAK,CAACE,OAAO,CAAC1B,CAAC,CAAC;EAClB,CAAC;EAED,oBAAON,KAAK,CAACkC,aAAa,CAACC,iBAAI,EAAE;IAC/B,GAAGL,KAAK;IACR,GAAGD,IAAI;IACP,GAAGO,qBAAQ,CAACC,MAAM,CAAC;MACjBC,GAAG,EAAE;QAAEC,OAAO,EAAEP;MAAQ,CAAQ;MAChCxB,OAAO,EAAE;QAAEwB;MAAQ;IACrB,CAAC;EACH,CAAC,CAAC;AACJ","ignoreList":[]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
9
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
10
|
-
const LinkingContext = /*#__PURE__*/React.createContext({
|
|
11
|
-
options: undefined
|
|
12
|
-
});
|
|
13
|
-
LinkingContext.displayName = 'LinkingContext';
|
|
14
|
-
var _default = exports.default = LinkingContext;
|
|
15
|
-
//# sourceMappingURL=LinkingContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","_interopRequireWildcard","require","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","LinkingContext","createContext","options","undefined","displayName","_default","exports"],"sourceRoot":"../../src","sources":["LinkingContext.tsx"],"mappings":";;;;;;AACA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA+B,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAH,wBAAAG,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,CAAA,SAAAG,CAAA,GAAAP,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAG,CAAA,KAAAA,CAAA,CAAAV,GAAA,IAAAU,CAAA,CAAAC,GAAA,IAAAP,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAG,CAAA,IAAAT,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAe,GAAA,CAAAlB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAI/B,MAAMW,cAAc,gBAAGvB,KAAK,CAACwB,aAAa,CAEvC;EAAEC,OAAO,EAAEC;AAAU,CAAC,CAAC;AAE1BH,cAAc,CAACI,WAAW,GAAG,gBAAgB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAApB,OAAA,GAE/Bc,cAAc","ignoreList":[]}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _reactNavigation__core = require("@amazon-devices/react-navigation__core");
|
|
8
|
-
var React = _interopRequireWildcard(require("react"));
|
|
9
|
-
var _LinkingContext = _interopRequireDefault(require("./LinkingContext"));
|
|
10
|
-
var _DefaultTheme = _interopRequireDefault(require("./theming/DefaultTheme"));
|
|
11
|
-
var _ThemeProvider = _interopRequireDefault(require("./theming/ThemeProvider"));
|
|
12
|
-
var _useBackButton = _interopRequireDefault(require("./useBackButton"));
|
|
13
|
-
var _useDocumentTitle = _interopRequireDefault(require("./useDocumentTitle"));
|
|
14
|
-
var _useLinking = _interopRequireDefault(require("./useLinking"));
|
|
15
|
-
var _useThenable = _interopRequireDefault(require("./useThenable"));
|
|
16
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
18
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
20
|
-
global.REACT_NAVIGATION_DEVTOOLS = new WeakMap();
|
|
21
|
-
/**
|
|
22
|
-
* Container component which holds the navigation state designed for React Native apps.
|
|
23
|
-
* This should be rendered at the root wrapping the whole app.
|
|
24
|
-
*
|
|
25
|
-
* @param props.initialState Initial state object for the navigation tree. When deep link handling is enabled, this will override deep links when specified. Make sure that you don't specify an `initialState` when there's a deep link (`Linking.getInitialURL()`).
|
|
26
|
-
* @param props.onReady Callback which is called after the navigation tree mounts.
|
|
27
|
-
* @param props.onStateChange Callback which is called with the latest navigation state when it changes.
|
|
28
|
-
* @param props.theme Theme object for the navigators.
|
|
29
|
-
* @param props.linking Options for deep linking. Deep link handling is enabled when this prop is provided, unless `linking.enabled` is `false`.
|
|
30
|
-
* @param props.fallback Fallback component to render until we have finished getting initial state when linking is enabled. Defaults to `null`.
|
|
31
|
-
* @param props.documentTitle Options to configure the document title on Web. Updating document title is handled by default unless `documentTitle.enabled` is `false`.
|
|
32
|
-
* @param props.children Child elements to render the content.
|
|
33
|
-
* @param props.ref Ref object which refers to the navigation object containing helper methods.
|
|
34
|
-
*/
|
|
35
|
-
function NavigationContainerInner({
|
|
36
|
-
theme = _DefaultTheme.default,
|
|
37
|
-
linking,
|
|
38
|
-
fallback = null,
|
|
39
|
-
documentTitle,
|
|
40
|
-
onReady,
|
|
41
|
-
...rest
|
|
42
|
-
}, ref) {
|
|
43
|
-
const isLinkingEnabled = linking ? linking.enabled !== false : false;
|
|
44
|
-
if (linking !== null && linking !== void 0 && linking.config) {
|
|
45
|
-
(0, _reactNavigation__core.validatePathConfig)(linking.config);
|
|
46
|
-
}
|
|
47
|
-
const refContainer = React.useRef(null);
|
|
48
|
-
(0, _useBackButton.default)(refContainer);
|
|
49
|
-
(0, _useDocumentTitle.default)(refContainer, documentTitle);
|
|
50
|
-
const {
|
|
51
|
-
getInitialState
|
|
52
|
-
} = (0, _useLinking.default)(refContainer, {
|
|
53
|
-
independent: rest.independent,
|
|
54
|
-
enabled: isLinkingEnabled,
|
|
55
|
-
prefixes: [],
|
|
56
|
-
...linking
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
// Add additional linking related info to the ref
|
|
60
|
-
// This will be used by the devtools
|
|
61
|
-
React.useEffect(() => {
|
|
62
|
-
if (refContainer.current) {
|
|
63
|
-
REACT_NAVIGATION_DEVTOOLS.set(refContainer.current, {
|
|
64
|
-
get linking() {
|
|
65
|
-
return {
|
|
66
|
-
...linking,
|
|
67
|
-
enabled: isLinkingEnabled,
|
|
68
|
-
prefixes: (linking === null || linking === void 0 ? void 0 : linking.prefixes) ?? [],
|
|
69
|
-
getStateFromPath: (linking === null || linking === void 0 ? void 0 : linking.getStateFromPath) ?? _reactNavigation__core.getStateFromPath,
|
|
70
|
-
getPathFromState: (linking === null || linking === void 0 ? void 0 : linking.getPathFromState) ?? _reactNavigation__core.getPathFromState,
|
|
71
|
-
getActionFromState: (linking === null || linking === void 0 ? void 0 : linking.getActionFromState) ?? _reactNavigation__core.getActionFromState
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
const [isResolved, initialState] = (0, _useThenable.default)(getInitialState);
|
|
78
|
-
React.useImperativeHandle(ref, () => refContainer.current);
|
|
79
|
-
const linkingContext = React.useMemo(() => ({
|
|
80
|
-
options: linking
|
|
81
|
-
}), [linking]);
|
|
82
|
-
const isReady = rest.initialState != null || !isLinkingEnabled || isResolved;
|
|
83
|
-
const onReadyRef = React.useRef(onReady);
|
|
84
|
-
React.useEffect(() => {
|
|
85
|
-
onReadyRef.current = onReady;
|
|
86
|
-
});
|
|
87
|
-
React.useEffect(() => {
|
|
88
|
-
if (isReady) {
|
|
89
|
-
var _onReadyRef$current;
|
|
90
|
-
(_onReadyRef$current = onReadyRef.current) === null || _onReadyRef$current === void 0 || _onReadyRef$current.call(onReadyRef);
|
|
91
|
-
}
|
|
92
|
-
}, [isReady]);
|
|
93
|
-
if (!isReady) {
|
|
94
|
-
// This is temporary until we have Suspense for data-fetching
|
|
95
|
-
// Then the fallback will be handled by a parent `Suspense` component
|
|
96
|
-
return fallback;
|
|
97
|
-
}
|
|
98
|
-
return /*#__PURE__*/React.createElement(_LinkingContext.default.Provider, {
|
|
99
|
-
value: linkingContext
|
|
100
|
-
}, /*#__PURE__*/React.createElement(_ThemeProvider.default, {
|
|
101
|
-
value: theme
|
|
102
|
-
}, /*#__PURE__*/React.createElement(_reactNavigation__core.BaseNavigationContainer, _extends({}, rest, {
|
|
103
|
-
initialState: rest.initialState == null ? initialState : rest.initialState,
|
|
104
|
-
ref: refContainer
|
|
105
|
-
}))));
|
|
106
|
-
}
|
|
107
|
-
const NavigationContainer = /*#__PURE__*/React.forwardRef(NavigationContainerInner);
|
|
108
|
-
var _default = exports.default = NavigationContainer;
|
|
109
|
-
//# sourceMappingURL=NavigationContainer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNavigation__core","require","React","_interopRequireWildcard","_LinkingContext","_interopRequireDefault","_DefaultTheme","_ThemeProvider","_useBackButton","_useDocumentTitle","_useLinking","_useThenable","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","global","REACT_NAVIGATION_DEVTOOLS","NavigationContainerInner","theme","DefaultTheme","linking","fallback","documentTitle","onReady","rest","ref","isLinkingEnabled","enabled","config","validatePathConfig","refContainer","useRef","useBackButton","useDocumentTitle","getInitialState","useLinking","independent","prefixes","useEffect","current","getStateFromPath","getPathFromState","getActionFromState","isResolved","initialState","useThenable","useImperativeHandle","linkingContext","useMemo","options","isReady","onReadyRef","_onReadyRef$current","createElement","Provider","value","BaseNavigationContainer","NavigationContainer","forwardRef","_default","exports"],"sourceRoot":"../../src","sources":["NavigationContainer.tsx"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AAUA,IAAAC,KAAA,GAAAC,uBAAA,CAAAF,OAAA;AAEA,IAAAG,eAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAD,sBAAA,CAAAJ,OAAA;AACA,IAAAM,cAAA,GAAAF,sBAAA,CAAAJ,OAAA;AAEA,IAAAO,cAAA,GAAAH,sBAAA,CAAAJ,OAAA;AACA,IAAAQ,iBAAA,GAAAJ,sBAAA,CAAAJ,OAAA;AACA,IAAAS,WAAA,GAAAL,sBAAA,CAAAJ,OAAA;AACA,IAAAU,YAAA,GAAAN,sBAAA,CAAAJ,OAAA;AAAwC,SAAAI,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,CAAAH,CAAA,WAAAA,CAAA,GAAAM,CAAA,GAAAD,CAAA,KAAAL,CAAA;AAAA,SAAAT,wBAAAS,CAAA,EAAAK,CAAA,SAAAA,CAAA,IAAAL,CAAA,IAAAA,CAAA,CAAAC,UAAA,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AAe,gBAC7CpE,KAAA,CAAA0E,aAAA,CAACrE,cAAA,CAAAO,OAAa;IAACgE,KAAK,EAAErC;EAAM,gBAC1BvC,KAAA,CAAA0E,aAAA,CAAC5E,sBAAA,CAAA+E,uBAAuB,EAAA/C,QAAA,KAClBe,IAAI;IACRoB,YAAY,EACVpB,IAAI,CAACoB,YAAY,IAAI,IAAI,GAAGA,YAAY,GAAGpB,IAAI,CAACoB,YACjD;IACDnB,GAAG,EAAEK;EAAa,EACnB,CACY,CACQ,CAAC;AAE9B;AAEA,MAAM2B,mBAAmB,gBAAG9E,KAAK,CAAC+E,UAAU,CAACzC,wBAAwB,CAM9C;AAAC,IAAA0C,QAAA,GAAAC,OAAA,CAAArE,OAAA,GAETkE,mBAAmB","ignoreList":[]}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _reactNavigation__core = require("@amazon-devices/react-navigation__core");
|
|
8
|
-
var React = _interopRequireWildcard(require("react"));
|
|
9
|
-
var _ServerContext = _interopRequireDefault(require("./ServerContext"));
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
12
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
|
-
/**
|
|
14
|
-
* Container component for server rendering.
|
|
15
|
-
*
|
|
16
|
-
* @param props.location Location object to base the initial URL for SSR.
|
|
17
|
-
* @param props.children Child elements to render the content.
|
|
18
|
-
* @param props.ref Ref object which contains helper methods.
|
|
19
|
-
*/
|
|
20
|
-
var _default = exports.default = /*#__PURE__*/React.forwardRef(function ServerContainer({
|
|
21
|
-
children,
|
|
22
|
-
location
|
|
23
|
-
}, ref) {
|
|
24
|
-
React.useEffect(() => {
|
|
25
|
-
console.error("'ServerContainer' should only be used on the server with 'react-dom/server' for SSR.");
|
|
26
|
-
}, []);
|
|
27
|
-
const current = {};
|
|
28
|
-
if (ref) {
|
|
29
|
-
const value = {
|
|
30
|
-
getCurrentOptions() {
|
|
31
|
-
return current.options;
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
// We write to the `ref` during render instead of `React.useImperativeHandle`
|
|
36
|
-
// This is because `useImperativeHandle` will update the ref after 'commit',
|
|
37
|
-
// and there's no 'commit' phase during SSR.
|
|
38
|
-
// Mutating ref during render is unsafe in concurrent mode, but we don't care about it for SSR.
|
|
39
|
-
if (typeof ref === 'function') {
|
|
40
|
-
ref(value);
|
|
41
|
-
} else {
|
|
42
|
-
// @ts-expect-error: the TS types are incorrect and say that ref.current is readonly
|
|
43
|
-
ref.current = value;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
return /*#__PURE__*/React.createElement(_ServerContext.default.Provider, {
|
|
47
|
-
value: {
|
|
48
|
-
location
|
|
49
|
-
}
|
|
50
|
-
}, /*#__PURE__*/React.createElement(_reactNavigation__core.CurrentRenderContext.Provider, {
|
|
51
|
-
value: current
|
|
52
|
-
}, children));
|
|
53
|
-
});
|
|
54
|
-
//# sourceMappingURL=ServerContainer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNavigation__core","require","React","_interopRequireWildcard","_ServerContext","_interopRequireDefault","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_default","exports","forwardRef","ServerContainer","children","location","ref","useEffect","console","error","current","value","getCurrentOptions","options","createElement","Provider","CurrentRenderContext"],"sourceRoot":"../../src","sources":["ServerContainer.tsx"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAC,uBAAA,CAAAF,OAAA;AAEA,IAAAG,cAAA,GAAAC,sBAAA,CAAAJ,OAAA;AAAmE,SAAAI,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,CAAAH,CAAA,WAAAA,CAAA,GAAAM,CAAA,GAAAD,CAAA,KAAAL,CAAA;AAAA,SAAAH,wBAAAG,CAAA,EAAAK,CAAA,SAAAA,CAAA,IAAAL,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAE,OAAA,EAAAF,CAAA,QAAAM,CAAA,GAAAH,wBAAA,CAAAE,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAC,GAAA,CAAAP,CAAA,UAAAM,CAAA,CAAAE,GAAA,CAAAR,CAAA,OAAAS,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAf,CAAA,oBAAAe,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,EAAAe,CAAA,SAAAG,CAAA,GAAAP,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAd,CAAA,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
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
9
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
10
|
-
const ServerContext = /*#__PURE__*/React.createContext(undefined);
|
|
11
|
-
var _default = exports.default = ServerContext;
|
|
12
|
-
//# sourceMappingURL=ServerContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","_interopRequireWildcard","require","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ServerContext","createContext","undefined","_default","exports"],"sourceRoot":"../../src","sources":["ServerContext.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA+B,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAH,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