{"dependencies":[{"name":"@react-navigation/native","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":17,"index":190},"end":{"line":5,"column":52,"index":225}}],"key":"uE+cRVNnMKkS9OYKR5fpRqPul5s=","exportNames":["*"]}},{"name":"expo-modules-core","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":6,"column":28,"index":255},"end":{"line":6,"column":56,"index":283}}],"key":"lFSV8MloDpR3EnWyvloF9Uq7qFY=","exportNames":["*"]}},{"name":"./constants","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":7,"column":20,"index":305},"end":{"line":7,"column":42,"index":327}}],"key":"3z43bJyk/UB4EKjDCOXTFak09do=","exportNames":["*"]}},{"name":"./getReactNavigationConfig","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":8,"column":35,"index":364},"end":{"line":8,"column":72,"index":401}}],"key":"vHLl09Fo1cot8Q7f7epxLLVamLs=","exportNames":["*"]}},{"name":"./getRoutesRedirects","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":9,"column":29,"index":432},"end":{"line":9,"column":60,"index":463}}],"key":"E6xJvmMQ8Tg9oU66GfkFALUrP4w=","exportNames":["*"]}},{"name":"./link/linking","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":10,"column":18,"index":483},"end":{"line":10,"column":43,"index":508}}],"key":"I1McWHLUyOzTMAaygW/PL/mjMmY=","exportNames":["*"]}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.getNavigationConfig = getNavigationConfig;\n exports.getLinkingConfig = getLinkingConfig;\n var native_1 = require(_dependencyMap[0], \"@react-navigation/native\");\n var expo_modules_core_1 = require(_dependencyMap[1], \"expo-modules-core\");\n var constants_1 = require(_dependencyMap[2], \"./constants\");\n var getReactNavigationConfig_1 = require(_dependencyMap[3], \"./getReactNavigationConfig\");\n var getRoutesRedirects_1 = require(_dependencyMap[4], \"./getRoutesRedirects\");\n var linking_1 = require(_dependencyMap[5], \"./link/linking\");\n function getNavigationConfig(routes) {\n var metaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n return {\n screens: {\n [constants_1.INTERNAL_SLOT_NAME]: {\n path: '',\n ...(0, getReactNavigationConfig_1.getReactNavigationConfig)(routes, metaOnly)\n }\n }\n };\n }\n function getLinkingConfig(routes, context, getRouteInfo) {\n var _ref = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},\n _ref$metaOnly = _ref.metaOnly,\n metaOnly = _ref$metaOnly === void 0 ? true : _ref$metaOnly,\n serverUrl = _ref.serverUrl,\n redirects = _ref.redirects;\n // Returning `undefined` / `null from `getInitialURL` are valid values, so we need to track if it's been called.\n var hasCachedInitialUrl = false;\n var initialUrl;\n var nativeLinkingKey = context.keys().find(key => key.match(/^\\.\\/\\+native-intent\\.[tj]sx?$/));\n var nativeLinking = nativeLinkingKey ? context(nativeLinkingKey) : undefined;\n var config = getNavigationConfig(routes, metaOnly);\n return {\n prefixes: [],\n config,\n // A custom getInitialURL is used on native to ensure the app always starts at\n // the root path if it's launched from something other than a deep link.\n // This helps keep the native functionality working like the web functionality.\n // For example, if you had a root navigator where the first screen was `/settings` and the second was `/index`\n // then `/index` would be used on web and `/settings` would be used on native.\n getInitialURL() {\n // Expo Router calls `getInitialURL` twice, which may confuse the user if they provide a custom `getInitialURL`.\n // Therefor we memoize the result.\n if (!hasCachedInitialUrl) {\n if (expo_modules_core_1.Platform.OS === 'web') {\n initialUrl = serverUrl ?? (0, linking_1.getInitialURL)();\n } else {\n initialUrl = serverUrl ?? (0, linking_1.getInitialURL)();\n if (typeof initialUrl === 'string') {\n initialUrl = (0, getRoutesRedirects_1.applyRedirects)(initialUrl, redirects);\n if (initialUrl && typeof nativeLinking?.redirectSystemPath === 'function') {\n initialUrl = nativeLinking.redirectSystemPath({\n path: initialUrl,\n initial: true\n });\n }\n } else if (initialUrl) {\n initialUrl = initialUrl.then(url => {\n url = (0, getRoutesRedirects_1.applyRedirects)(url, redirects);\n if (url && typeof nativeLinking?.redirectSystemPath === 'function') {\n return nativeLinking.redirectSystemPath({\n path: url,\n initial: true\n });\n }\n return url;\n });\n }\n }\n hasCachedInitialUrl = true;\n }\n return initialUrl;\n },\n subscribe: (0, linking_1.subscribe)(nativeLinking, redirects),\n getStateFromPath: (path, options) => {\n return (0, linking_1.getStateFromPath)(path, options, getRouteInfo().segments);\n },\n getPathFromState(state, options) {\n return (0, linking_1.getPathFromState)(state, {\n ...config,\n ...options,\n screens: config.screens ?? options?.screens ?? {}\n }) ?? '/';\n },\n // Add all functions to ensure the types never need to fallback.\n // This is a convenience for usage in the package.\n getActionFromState: native_1.getActionFromState\n };\n }\n});","lineCount":95,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"getNavigationConfig"],[7,29,3,27],[7,32,3,30,"getNavigationConfig"],[7,51,3,49],[8,2,4,0,"exports"],[8,9,4,7],[8,10,4,8,"getLinkingConfig"],[8,26,4,24],[8,29,4,27,"getLinkingConfig"],[8,45,4,43],[9,2,5,0],[9,6,5,6,"native_1"],[9,14,5,14],[9,17,5,17,"require"],[9,24,5,24],[9,25,5,24,"_dependencyMap"],[9,39,5,24],[9,70,5,51],[9,71,5,52],[10,2,6,0],[10,6,6,6,"expo_modules_core_1"],[10,25,6,25],[10,28,6,28,"require"],[10,35,6,35],[10,36,6,35,"_dependencyMap"],[10,50,6,35],[10,74,6,55],[10,75,6,56],[11,2,7,0],[11,6,7,6,"constants_1"],[11,17,7,17],[11,20,7,20,"require"],[11,27,7,27],[11,28,7,27,"_dependencyMap"],[11,42,7,27],[11,60,7,41],[11,61,7,42],[12,2,8,0],[12,6,8,6,"getReactNavigationConfig_1"],[12,32,8,32],[12,35,8,35,"require"],[12,42,8,42],[12,43,8,42,"_dependencyMap"],[12,57,8,42],[12,90,8,71],[12,91,8,72],[13,2,9,0],[13,6,9,6,"getRoutesRedirects_1"],[13,26,9,26],[13,29,9,29,"require"],[13,36,9,36],[13,37,9,36,"_dependencyMap"],[13,51,9,36],[13,78,9,59],[13,79,9,60],[14,2,10,0],[14,6,10,6,"linking_1"],[14,15,10,15],[14,18,10,18,"require"],[14,25,10,25],[14,26,10,25,"_dependencyMap"],[14,40,10,25],[14,61,10,42],[14,62,10,43],[15,2,11,0],[15,11,11,9,"getNavigationConfig"],[15,30,11,28,"getNavigationConfig"],[15,31,11,29,"routes"],[15,37,11,35],[15,39,11,54],[16,4,11,54],[16,8,11,37,"metaOnly"],[16,16,11,45],[16,19,11,45,"arguments"],[16,28,11,45],[16,29,11,45,"length"],[16,35,11,45],[16,43,11,45,"arguments"],[16,52,11,45],[16,60,11,45,"undefined"],[16,69,11,45],[16,72,11,45,"arguments"],[16,81,11,45],[16,87,11,48],[16,91,11,52],[17,4,12,4],[17,11,12,11],[18,6,13,8,"screens"],[18,13,13,15],[18,15,13,17],[19,8,14,12],[19,9,14,13,"constants_1"],[19,20,14,24],[19,21,14,25,"INTERNAL_SLOT_NAME"],[19,39,14,43],[19,42,14,46],[20,10,15,16,"path"],[20,14,15,20],[20,16,15,22],[20,18,15,24],[21,10,16,16],[21,13,16,19],[21,14,16,20],[21,15,16,21],[21,17,16,23,"getReactNavigationConfig_1"],[21,43,16,49],[21,44,16,50,"getReactNavigationConfig"],[21,68,16,74],[21,70,16,76,"routes"],[21,76,16,82],[21,78,16,84,"metaOnly"],[21,86,16,92],[22,8,17,12],[23,6,18,8],[24,4,19,4],[24,5,19,5],[25,2,20,0],[26,2,21,0],[26,11,21,9,"getLinkingConfig"],[26,27,21,25,"getLinkingConfig"],[26,28,21,26,"routes"],[26,34,21,32],[26,36,21,34,"context"],[26,43,21,41],[26,45,21,43,"getRouteInfo"],[26,57,21,55],[26,59,21,105],[27,4,21,105],[27,8,21,105,"_ref"],[27,12,21,105],[27,15,21,105,"arguments"],[27,24,21,105],[27,25,21,105,"length"],[27,31,21,105],[27,39,21,105,"arguments"],[27,48,21,105],[27,56,21,105,"undefined"],[27,65,21,105],[27,68,21,105,"arguments"],[27,77,21,105],[27,83,21,101],[27,84,21,102],[27,85,21,103],[28,6,21,103,"_ref$metaOnly"],[28,19,21,103],[28,22,21,103,"_ref"],[28,26,21,103],[28,27,21,59,"metaOnly"],[28,35,21,67],[29,6,21,59,"metaOnly"],[29,14,21,67],[29,17,21,67,"_ref$metaOnly"],[29,30,21,67],[29,44,21,70],[29,48,21,74],[29,51,21,74,"_ref$metaOnly"],[29,64,21,74],[30,6,21,76,"serverUrl"],[30,15,21,85],[30,18,21,85,"_ref"],[30,22,21,85],[30,23,21,76,"serverUrl"],[30,32,21,85],[31,6,21,87,"redirects"],[31,15,21,96],[31,18,21,96,"_ref"],[31,22,21,96],[31,23,21,87,"redirects"],[31,32,21,96],[32,4,22,4],[33,4,23,4],[33,8,23,8,"hasCachedInitialUrl"],[33,27,23,27],[33,30,23,30],[33,35,23,35],[34,4,24,4],[34,8,24,8,"initialUrl"],[34,18,24,18],[35,4,25,4],[35,8,25,10,"nativeLinkingKey"],[35,24,25,26],[35,27,25,29,"context"],[35,34,25,36],[35,35,26,9,"keys"],[35,39,26,13],[35,40,26,14],[35,41,26,15],[35,42,27,9,"find"],[35,46,27,13],[35,47,27,15,"key"],[35,50,27,18],[35,54,27,23,"key"],[35,57,27,26],[35,58,27,27,"match"],[35,63,27,32],[35,64,27,33],[35,96,27,65],[35,97,27,66],[35,98,27,67],[36,4,28,4],[36,8,28,10,"nativeLinking"],[36,21,28,23],[36,24,28,26,"nativeLinkingKey"],[36,40,28,42],[36,43,29,10,"context"],[36,50,29,17],[36,51,29,18,"nativeLinkingKey"],[36,67,29,34],[36,68,29,35],[36,71,30,10,"undefined"],[36,80,30,19],[37,4,31,4],[37,8,31,10,"config"],[37,14,31,16],[37,17,31,19,"getNavigationConfig"],[37,36,31,38],[37,37,31,39,"routes"],[37,43,31,45],[37,45,31,47,"metaOnly"],[37,53,31,55],[37,54,31,56],[38,4,32,4],[38,11,32,11],[39,6,33,8,"prefixes"],[39,14,33,16],[39,16,33,18],[39,18,33,20],[40,6,34,8,"config"],[40,12,34,14],[41,6,35,8],[42,6,36,8],[43,6,37,8],[44,6,38,8],[45,6,39,8],[46,6,40,8,"getInitialURL"],[46,19,40,21,"getInitialURL"],[46,20,40,21],[46,22,40,24],[47,8,41,12],[48,8,42,12],[49,8,43,12],[49,12,43,16],[49,13,43,17,"hasCachedInitialUrl"],[49,32,43,36],[49,34,43,38],[50,10,44,16],[50,14,44,20,"expo_modules_core_1"],[50,33,44,39],[50,34,44,40,"Platform"],[50,42,44,48],[50,43,44,49,"OS"],[50,45,44,51],[50,50,44,56],[50,55,44,61],[50,57,44,63],[51,12,45,20,"initialUrl"],[51,22,45,30],[51,25,45,33,"serverUrl"],[51,34,45,42],[51,38,45,46],[51,39,45,47],[51,40,45,48],[51,42,45,50,"linking_1"],[51,51,45,59],[51,52,45,60,"getInitialURL"],[51,65,45,73],[51,67,45,75],[51,68,45,76],[52,10,46,16],[52,11,46,17],[52,17,47,21],[53,12,48,20,"initialUrl"],[53,22,48,30],[53,25,48,33,"serverUrl"],[53,34,48,42],[53,38,48,46],[53,39,48,47],[53,40,48,48],[53,42,48,50,"linking_1"],[53,51,48,59],[53,52,48,60,"getInitialURL"],[53,65,48,73],[53,67,48,75],[53,68,48,76],[54,12,49,20],[54,16,49,24],[54,23,49,31,"initialUrl"],[54,33,49,41],[54,38,49,46],[54,46,49,54],[54,48,49,56],[55,14,50,24,"initialUrl"],[55,24,50,34],[55,27,50,37],[55,28,50,38],[55,29,50,39],[55,31,50,41,"getRoutesRedirects_1"],[55,51,50,61],[55,52,50,62,"applyRedirects"],[55,66,50,76],[55,68,50,78,"initialUrl"],[55,78,50,88],[55,80,50,90,"redirects"],[55,89,50,99],[55,90,50,100],[56,14,51,24],[56,18,51,28,"initialUrl"],[56,28,51,38],[56,32,51,42],[56,39,51,49,"nativeLinking"],[56,52,51,62],[56,54,51,64,"redirectSystemPath"],[56,72,51,82],[56,77,51,87],[56,87,51,97],[56,89,51,99],[57,16,52,28,"initialUrl"],[57,26,52,38],[57,29,52,41,"nativeLinking"],[57,42,52,54],[57,43,52,55,"redirectSystemPath"],[57,61,52,73],[57,62,52,74],[58,18,52,76,"path"],[58,22,52,80],[58,24,52,82,"initialUrl"],[58,34,52,92],[59,18,52,94,"initial"],[59,25,52,101],[59,27,52,103],[60,16,52,108],[60,17,52,109],[60,18,52,110],[61,14,53,24],[62,12,54,20],[62,13,54,21],[62,19,55,25],[62,23,55,29,"initialUrl"],[62,33,55,39],[62,35,55,41],[63,14,56,24,"initialUrl"],[63,24,56,34],[63,27,56,37,"initialUrl"],[63,37,56,47],[63,38,56,48,"then"],[63,42,56,52],[63,43,56,54,"url"],[63,46,56,57],[63,50,56,62],[64,16,57,28,"url"],[64,19,57,31],[64,22,57,34],[64,23,57,35],[64,24,57,36],[64,26,57,38,"getRoutesRedirects_1"],[64,46,57,58],[64,47,57,59,"applyRedirects"],[64,61,57,73],[64,63,57,75,"url"],[64,66,57,78],[64,68,57,80,"redirects"],[64,77,57,89],[64,78,57,90],[65,16,58,28],[65,20,58,32,"url"],[65,23,58,35],[65,27,58,39],[65,34,58,46,"nativeLinking"],[65,47,58,59],[65,49,58,61,"redirectSystemPath"],[65,67,58,79],[65,72,58,84],[65,82,58,94],[65,84,58,96],[66,18,59,32],[66,25,59,39,"nativeLinking"],[66,38,59,52],[66,39,59,53,"redirectSystemPath"],[66,57,59,71],[66,58,59,72],[67,20,59,74,"path"],[67,24,59,78],[67,26,59,80,"url"],[67,29,59,83],[68,20,59,85,"initial"],[68,27,59,92],[68,29,59,94],[69,18,59,99],[69,19,59,100],[69,20,59,101],[70,16,60,28],[71,16,61,28],[71,23,61,35,"url"],[71,26,61,38],[72,14,62,24],[72,15,62,25],[72,16,62,26],[73,12,63,20],[74,10,64,16],[75,10,65,16,"hasCachedInitialUrl"],[75,29,65,35],[75,32,65,38],[75,36,65,42],[76,8,66,12],[77,8,67,12],[77,15,67,19,"initialUrl"],[77,25,67,29],[78,6,68,8],[78,7,68,9],[79,6,69,8,"subscribe"],[79,15,69,17],[79,17,69,19],[79,18,69,20],[79,19,69,21],[79,21,69,23,"linking_1"],[79,30,69,32],[79,31,69,33,"subscribe"],[79,40,69,42],[79,42,69,44,"nativeLinking"],[79,55,69,57],[79,57,69,59,"redirects"],[79,66,69,68],[79,67,69,69],[80,6,70,8,"getStateFromPath"],[80,22,70,24],[80,24,70,26,"getStateFromPath"],[80,25,70,27,"path"],[80,29,70,31],[80,31,70,33,"options"],[80,38,70,40],[80,43,70,45],[81,8,71,12],[81,15,71,19],[81,16,71,20],[81,17,71,21],[81,19,71,23,"linking_1"],[81,28,71,32],[81,29,71,33,"getStateFromPath"],[81,45,71,49],[81,47,71,51,"path"],[81,51,71,55],[81,53,71,57,"options"],[81,60,71,64],[81,62,71,66,"getRouteInfo"],[81,74,71,78],[81,75,71,79],[81,76,71,80],[81,77,71,81,"segments"],[81,85,71,89],[81,86,71,90],[82,6,72,8],[82,7,72,9],[83,6,73,8,"getPathFromState"],[83,22,73,24,"getPathFromState"],[83,23,73,25,"state"],[83,28,73,30],[83,30,73,32,"options"],[83,37,73,39],[83,39,73,41],[84,8,74,12],[84,15,74,20],[84,16,74,21],[84,17,74,22],[84,19,74,24,"linking_1"],[84,28,74,33],[84,29,74,34,"getPathFromState"],[84,45,74,50],[84,47,74,52,"state"],[84,52,74,57],[84,54,74,59],[85,10,75,16],[85,13,75,19,"config"],[85,19,75,25],[86,10,76,16],[86,13,76,19,"options"],[86,20,76,26],[87,10,77,16,"screens"],[87,17,77,23],[87,19,77,25,"config"],[87,25,77,31],[87,26,77,32,"screens"],[87,33,77,39],[87,37,77,43,"options"],[87,44,77,50],[87,46,77,52,"screens"],[87,53,77,59],[87,57,77,63],[87,58,77,64],[88,8,78,12],[88,9,78,13],[88,10,78,14],[88,14,78,18],[88,17,78,21],[89,6,79,8],[89,7,79,9],[90,6,80,8],[91,6,81,8],[92,6,82,8,"getActionFromState"],[92,24,82,26],[92,26,82,28,"native_1"],[92,34,82,36],[92,35,82,37,"getActionFromState"],[93,4,83,4],[93,5,83,5],[94,2,84,0],[95,0,84,1],[95,3]],"functionMap":{"names":["","getNavigationConfig","getLinkingConfig","context.keys.find$argument_0","getInitialURL","initialUrl.then$argument_0","getStateFromPath","getPathFromState"],"mappings":"AAA;ACU;CDS;AEC;cCM,oDD;QEa;qDCgB;yBDM;SFM;0BIE;SJE;QKC;SLM;CFK"}},"type":"js/module"}]}