2026-09-24 10:59:02 +00:00
|
|
|
// Module ID: 13123
|
|
|
|
|
// Function ID: 13124
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: NavigationPathUtils
|
2026-09-24 10:59:02 +00:00
|
|
|
// Dependencies: [1074, 4661, 2]
|
2026-07-29 08:29:29 +00:00
|
|
|
// Exports: getSelectedSpecialNavigationPath, useSelectedSpecialNavigationPath
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-24 10:59:02 +00:00
|
|
|
// Module 13123 (NavigationPathUtils)
|
2026-09-10 05:38:07 +00:00
|
|
|
import Constants from "Constants" /* 1074 */;
|
2026-09-24 10:59:02 +00:00
|
|
|
import _mod4661 from "module_4661" /* 4661 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const Routes = Constants.Routes;
|
|
|
|
|
const SpecialNavigationPath = { FRIENDS: 0, [0]: "FRIENDS" };
|
|
|
|
|
const result = size.fileFinishedImporting("modules/navbars/native/NavigationPathUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
export { SpecialNavigationPath };
|
2026-07-29 08:29:29 +00:00
|
|
|
export const getSelectedSpecialNavigationPath = function getSelectedSpecialNavigationPath(pathname) {
|
|
|
|
|
if (pathname.pathname === Routes.FRIENDS) {
|
|
|
|
|
return obj.FRIENDS;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-07-20 16:05:17 +00:00
|
|
|
export const useSelectedSpecialNavigationPath = function useSelectedSpecialNavigationPath() {
|
2026-09-24 10:59:02 +00:00
|
|
|
const obj = _mod4661;
|
2026-07-29 08:29:29 +00:00
|
|
|
let FRIENDS;
|
|
|
|
|
if (obj.useLocation().pathname === Routes.FRIENDS) {
|
|
|
|
|
FRIENDS = obj.FRIENDS;
|
|
|
|
|
}
|
|
|
|
|
return FRIENDS;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|