{"dependencies":[{"name":"../../_ctx","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":11,"column":15,"index":375},"end":{"line":11,"column":36,"index":396}}],"key":"naZZZAn+uKyoVGxvBsv7Ti1p/mA=","exportNames":["*"],"imports":1}},{"name":"../getReactNavigationConfig","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":12,"column":35,"index":433},"end":{"line":12,"column":73,"index":471}}],"key":"8jW/I3443vPwymnx36jOsOcFLIs=","exportNames":["*"],"imports":1}},{"name":"../getRoutes","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":13,"column":20,"index":493},"end":{"line":13,"column":43,"index":516}}],"key":"qiMuLgqsudvYu/4lWk2zs+2Q7PA=","exportNames":["*"],"imports":1}},{"name":"../getServerManifest","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":14,"column":28,"index":546},"end":{"line":14,"column":59,"index":577}}],"key":"Hhm1lcuywE1utRLBOYm6MCpOIpo=","exportNames":["*"],"imports":1}},{"name":"../loadStaticParamsAsync","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":15,"column":32,"index":611},"end":{"line":15,"column":67,"index":646}}],"key":"5z9Vsnp79b2xIPCXM9BbQPwmV6U=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n /**\n * Copyright © 2024 650 Industries.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.getBuildTimeServerManifestAsync = getBuildTimeServerManifestAsync;\n exports.getManifest = getManifest;\n const _ctx_1 = require(_dependencyMap[0], \"../../_ctx\");\n const getReactNavigationConfig_1 = require(_dependencyMap[1], \"../getReactNavigationConfig\");\n const getRoutes_1 = require(_dependencyMap[2], \"../getRoutes\");\n const getServerManifest_1 = require(_dependencyMap[3], \"../getServerManifest\");\n const loadStaticParamsAsync_1 = require(_dependencyMap[4], \"../loadStaticParamsAsync\");\n /**\n * Get the server manifest with all dynamic routes loaded with `generateStaticParams`.\n * Unlike the `expo-router/src/routes-manifest.ts` method, this requires loading the entire app in-memory, which\n * takes substantially longer and requires Metro bundling.\n *\n * This is used for the production manifest where we pre-render certain pages and should no longer treat them as dynamic.\n */\n async function getBuildTimeServerManifestAsync(options = {}) {\n const routeTree = (0, getRoutes_1.getRoutes)(_ctx_1.ctx, {\n platform: 'web',\n ...options\n });\n if (!routeTree) {\n throw new Error('No routes found');\n }\n // Evaluate all static params\n await (0, loadStaticParamsAsync_1.loadStaticParamsAsync)(routeTree);\n return (0, getServerManifest_1.getServerManifest)(routeTree);\n }\n /** Get the linking manifest from a Node.js process. */\n async function getManifest(options = {}) {\n const routeTree = (0, getRoutes_1.getRoutes)(_ctx_1.ctx, {\n preserveApiRoutes: true,\n preserveRedirectAndRewrites: true,\n platform: 'web',\n ...options\n });\n if (!routeTree) {\n throw new Error('No routes found');\n }\n // Evaluate all static params\n await (0, loadStaticParamsAsync_1.loadStaticParamsAsync)(routeTree);\n return (0, getReactNavigationConfig_1.getReactNavigationConfig)(routeTree, false);\n }\n});","lineCount":54,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0],[5,0,3,0],[6,0,4,0],[7,0,5,0],[8,0,6,0],[9,0,7,0],[10,2,8,0,"Object"],[10,8,8,6],[10,9,8,7,"defineProperty"],[10,23,8,21],[10,24,8,22,"exports"],[10,31,8,29],[10,33,8,31],[10,45,8,43],[10,47,8,45],[11,4,8,47,"value"],[11,9,8,52],[11,11,8,54],[12,2,8,59],[12,3,8,60],[12,4,8,61],[13,2,9,0,"exports"],[13,9,9,7],[13,10,9,8,"getBuildTimeServerManifestAsync"],[13,41,9,39],[13,44,9,42,"getBuildTimeServerManifestAsync"],[13,75,9,73],[14,2,10,0,"exports"],[14,9,10,7],[14,10,10,8,"getManifest"],[14,21,10,19],[14,24,10,22,"getManifest"],[14,35,10,33],[15,2,11,0],[15,8,11,6,"_ctx_1"],[15,14,11,12],[15,17,11,15,"require"],[15,24,11,22],[15,25,11,22,"_dependencyMap"],[15,39,11,22],[15,56,11,35],[15,57,11,36],[16,2,12,0],[16,8,12,6,"getReactNavigationConfig_1"],[16,34,12,32],[16,37,12,35,"require"],[16,44,12,42],[16,45,12,42,"_dependencyMap"],[16,59,12,42],[16,93,12,72],[16,94,12,73],[17,2,13,0],[17,8,13,6,"getRoutes_1"],[17,19,13,17],[17,22,13,20,"require"],[17,29,13,27],[17,30,13,27,"_dependencyMap"],[17,44,13,27],[17,63,13,42],[17,64,13,43],[18,2,14,0],[18,8,14,6,"getServerManifest_1"],[18,27,14,25],[18,30,14,28,"require"],[18,37,14,35],[18,38,14,35,"_dependencyMap"],[18,52,14,35],[18,79,14,58],[18,80,14,59],[19,2,15,0],[19,8,15,6,"loadStaticParamsAsync_1"],[19,31,15,29],[19,34,15,32,"require"],[19,41,15,39],[19,42,15,39,"_dependencyMap"],[19,56,15,39],[19,87,15,66],[19,88,15,67],[20,2,16,0],[21,0,17,0],[22,0,18,0],[23,0,19,0],[24,0,20,0],[25,0,21,0],[26,0,22,0],[27,2,23,0],[27,17,23,15,"getBuildTimeServerManifestAsync"],[27,48,23,46,"getBuildTimeServerManifestAsync"],[27,49,23,47,"options"],[27,56,23,54],[27,59,23,57],[27,60,23,58],[27,61,23,59],[27,63,23,61],[28,4,24,4],[28,10,24,10,"routeTree"],[28,19,24,19],[28,22,24,22],[28,23,24,23],[28,24,24,24],[28,26,24,26,"getRoutes_1"],[28,37,24,37],[28,38,24,38,"getRoutes"],[28,47,24,47],[28,49,24,49,"_ctx_1"],[28,55,24,55],[28,56,24,56,"ctx"],[28,59,24,59],[28,61,24,61],[29,6,25,8,"platform"],[29,14,25,16],[29,16,25,18],[29,21,25,23],[30,6,26,8],[30,9,26,11,"options"],[31,4,27,4],[31,5,27,5],[31,6,27,6],[32,4,28,4],[32,8,28,8],[32,9,28,9,"routeTree"],[32,18,28,18],[32,20,28,20],[33,6,29,8],[33,12,29,14],[33,16,29,18,"Error"],[33,21,29,23],[33,22,29,24],[33,39,29,41],[33,40,29,42],[34,4,30,4],[35,4,31,4],[36,4,32,4],[36,10,32,10],[36,11,32,11],[36,12,32,12],[36,14,32,14,"loadStaticParamsAsync_1"],[36,37,32,37],[36,38,32,38,"loadStaticParamsAsync"],[36,59,32,59],[36,61,32,61,"routeTree"],[36,70,32,70],[36,71,32,71],[37,4,33,4],[37,11,33,11],[37,12,33,12],[37,13,33,13],[37,15,33,15,"getServerManifest_1"],[37,34,33,34],[37,35,33,35,"getServerManifest"],[37,52,33,52],[37,54,33,54,"routeTree"],[37,63,33,63],[37,64,33,64],[38,2,34,0],[39,2,35,0],[40,2,36,0],[40,17,36,15,"getManifest"],[40,28,36,26,"getManifest"],[40,29,36,27,"options"],[40,36,36,34],[40,39,36,37],[40,40,36,38],[40,41,36,39],[40,43,36,41],[41,4,37,4],[41,10,37,10,"routeTree"],[41,19,37,19],[41,22,37,22],[41,23,37,23],[41,24,37,24],[41,26,37,26,"getRoutes_1"],[41,37,37,37],[41,38,37,38,"getRoutes"],[41,47,37,47],[41,49,37,49,"_ctx_1"],[41,55,37,55],[41,56,37,56,"ctx"],[41,59,37,59],[41,61,37,61],[42,6,38,8,"preserveApiRoutes"],[42,23,38,25],[42,25,38,27],[42,29,38,31],[43,6,39,8,"preserveRedirectAndRewrites"],[43,33,39,35],[43,35,39,37],[43,39,39,41],[44,6,40,8,"platform"],[44,14,40,16],[44,16,40,18],[44,21,40,23],[45,6,41,8],[45,9,41,11,"options"],[46,4,42,4],[46,5,42,5],[46,6,42,6],[47,4,43,4],[47,8,43,8],[47,9,43,9,"routeTree"],[47,18,43,18],[47,20,43,20],[48,6,44,8],[48,12,44,14],[48,16,44,18,"Error"],[48,21,44,23],[48,22,44,24],[48,39,44,41],[48,40,44,42],[49,4,45,4],[50,4,46,4],[51,4,47,4],[51,10,47,10],[51,11,47,11],[51,12,47,12],[51,14,47,14,"loadStaticParamsAsync_1"],[51,37,47,37],[51,38,47,38,"loadStaticParamsAsync"],[51,59,47,59],[51,61,47,61,"routeTree"],[51,70,47,70],[51,71,47,71],[52,4,48,4],[52,11,48,11],[52,12,48,12],[52,13,48,13],[52,15,48,15,"getReactNavigationConfig_1"],[52,41,48,41],[52,42,48,42,"getReactNavigationConfig"],[52,66,48,66],[52,68,48,68,"routeTree"],[52,77,48,77],[52,79,48,79],[52,84,48,84],[52,85,48,85],[53,2,49,0],[54,0,49,1],[54,3]],"functionMap":{"names":["","getBuildTimeServerManifestAsync","getManifest"],"mappings":"AAA;ACsB;CDW;AEE;CFa"},"hasCjsExports":true},"type":"js/module"}]}