mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 08:51:01 +00:00
1 line
33 KiB
Plaintext
1 line
33 KiB
Plaintext
{"dependencies":[{"name":"query-string","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":15},"end":{"line":3,"column":44,"index":59}}],"key":"Tk6zkk+/XfK89igjx1MNWAcG1Q8=","exportNames":["*"],"imports":1}},{"name":"./getPatternParts.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":60},"end":{"line":4,"column":55,"index":115}}],"key":"ZBgxhB8YmJlp1KxhfM5ocx9xUB0=","exportNames":["*"],"imports":1}},{"name":"./validatePathConfig.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":5,"column":0,"index":116},"end":{"line":5,"column":61,"index":177}}],"key":"zoUaUuxQP5qPvRrno+lraXgTGfI=","exportNames":["*"],"imports":1}}],"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 function _interopNamespace(e) {\n if (e && e.__esModule) return e;\n var n = {};\n if (e) Object.keys(e).forEach(function (k) {\n var d = Object.getOwnPropertyDescriptor(e, k);\n Object.defineProperty(n, k, d.get ? d : {\n enumerable: true,\n get: function () {\n return e[k];\n }\n });\n });\n n.default = e;\n return n;\n }\n exports.getPathFromState = getPathFromState;\n var _queryString = require(_dependencyMap[0], \"query-string\");\n var queryString = _interopNamespace(_queryString);\n var _getPatternPartsJs = require(_dependencyMap[1], \"./getPatternParts.js\");\n var _validatePathConfigJs = require(_dependencyMap[2], \"./validatePathConfig.js\");\n const getActiveRoute = state => {\n const route = typeof state.index === 'number' ? state.routes[state.index] : state.routes[state.routes.length - 1];\n if (route.state) {\n return getActiveRoute(route.state);\n }\n return route;\n };\n const cachedNormalizedConfigs = new WeakMap();\n const getNormalizedConfigs = options => {\n if (!options?.screens) return {};\n const cached = cachedNormalizedConfigs.get(options?.screens);\n if (cached) return cached;\n const normalizedConfigs = createNormalizedConfigs(options.screens);\n cachedNormalizedConfigs.set(options.screens, normalizedConfigs);\n return normalizedConfigs;\n };\n\n /**\n * Utility to serialize a navigation state object to a path string.\n *\n * @example\n * ```js\n * getPathFromState(\n * {\n * routes: [\n * {\n * name: 'Chat',\n * params: { author: 'Jane', id: 42 },\n * },\n * ],\n * },\n * {\n * screens: {\n * Chat: {\n * path: 'chat/:author/:id',\n * stringify: { author: author => author.toLowerCase() }\n * }\n * }\n * }\n * )\n * ```\n *\n * @param state Navigation state to serialize.\n * @param options Extra options to fine-tune how to serialize the path.\n * @returns Path representing the state, e.g. /foo/bar?count=42.\n */\n function getPathFromState(state, options) {\n if (state == null) {\n throw Error(`Got '${String(state)}' for the navigation state. You must pass a valid state object.`);\n }\n if (options) {\n (0, _validatePathConfigJs.validatePathConfig)(options);\n }\n const configs = getNormalizedConfigs(options);\n let path = '/';\n let current = state;\n const allParams = {};\n while (current) {\n let index = typeof current.index === 'number' ? current.index : 0;\n let route = current.routes[index];\n let parts;\n let focusedParams;\n let currentOptions = configs;\n const focusedRoute = getActiveRoute(state);\n\n // Keep all the route names that appeared during going deeper in config in case the pattern is resolved to undefined\n const nestedRouteNames = [];\n let hasNext = true;\n while (route.name in currentOptions && hasNext) {\n parts = currentOptions[route.name].parts;\n nestedRouteNames.push(route.name);\n if (route.params) {\n const options = currentOptions[route.name];\n const currentParams = Object.fromEntries(Object.entries(route.params).map(([key, value]) => {\n if (value === undefined) {\n if (options) {\n const optional = options.parts?.find(part => part.param === key)?.optional;\n if (optional) {\n return null;\n }\n } else {\n return null;\n }\n }\n const stringify = options?.stringify?.[key] ?? String;\n return [key, stringify(value)];\n }).filter(entry => entry != null));\n if (parts?.length) {\n Object.assign(allParams, currentParams);\n }\n if (focusedRoute === route) {\n // If this is the focused route, keep the params for later use\n // We save it here since it's been stringified already\n focusedParams = {\n ...currentParams\n };\n parts\n // eslint-disable-next-line no-loop-func\n ?.forEach(({\n param\n }) => {\n if (param) {\n // Remove the params present in the pattern since we'll only use the rest for query string\n if (focusedParams) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete focusedParams[param];\n }\n }\n });\n }\n }\n\n // If there is no `screens` property or no nested state, we return pattern\n if (!currentOptions[route.name].screens || route.state === undefined) {\n hasNext = false;\n } else {\n index = typeof route.state.index === 'number' ? route.state.index : route.state.routes.length - 1;\n const nextRoute = route.state.routes[index];\n const nestedConfig = currentOptions[route.name].screens;\n\n // if there is config for next route name, we go deeper\n if (nestedConfig && nextRoute.name in nestedConfig) {\n route = nextRoute;\n currentOptions = nestedConfig;\n } else {\n // If not, there is no sense in going deeper in config\n hasNext = false;\n }\n }\n }\n if (currentOptions[route.name] !== undefined) {\n path += parts?.map(({\n segment,\n param,\n optional\n }) => {\n // We don't know what to show for wildcard patterns\n // Showing the route name seems ok, though whatever we show here will be incorrect\n // Since the page doesn't actually exist\n if (segment === '*') {\n return route.name;\n }\n\n // If the path has a pattern for a param, put the param in the path\n if (param) {\n const value = allParams[param];\n if (value === undefined && optional) {\n // Optional params without value assigned in route.params should be ignored\n return '';\n }\n\n // Valid characters according to\n // https://datatracker.ietf.org/doc/html/rfc3986#section-3.3 (see pchar definition)\n return Array.from(String(value)).map(char => /[^A-Za-z0-9\\-._~!$&'()*+,;=:@]/g.test(char) ? encodeURIComponent(char) : char).join('');\n }\n return encodeURIComponent(segment);\n }).join('/');\n } else {\n path += encodeURIComponent(route.name);\n }\n if (!focusedParams && focusedRoute.params) {\n focusedParams = Object.fromEntries(Object.entries(focusedRoute.params).map(([key, value]) => [key, String(value)]));\n }\n if (route.state) {\n path += '/';\n } else if (focusedParams) {\n for (const param in focusedParams) {\n if (focusedParams[param] === 'undefined') {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete focusedParams[param];\n }\n }\n const query = queryString.stringify(focusedParams, {\n sort: false\n });\n if (query) {\n path += `?${query}`;\n }\n }\n current = route.state;\n }\n\n // Include the root path if specified\n if (options?.path) {\n path = `${options.path}/${path}`;\n }\n\n // Remove multiple as well as trailing slashes\n path = path.replace(/\\/+/g, '/');\n path = path.length > 1 ? path.replace(/\\/$/, '') : path;\n\n // If path doesn't start with a slash, add it\n // This makes sure that history.pushState will update the path correctly instead of appending\n if (!path.startsWith('/')) {\n path = `/${path}`;\n }\n return path;\n }\n const createConfigItem = (config, parentParts) => {\n if (typeof config === 'string') {\n // If a string is specified as the value of the key(e.g. Foo: '/path'), use it as the pattern\n const parts = (0, _getPatternPartsJs.getPatternParts)(config);\n if (parentParts) {\n return {\n parts: [...parentParts, ...parts]\n };\n }\n return {\n parts\n };\n }\n if (config.exact && config.path === undefined) {\n throw new Error(\"A 'path' needs to be specified when specifying 'exact: true'. If you don't want this screen in the URL, specify it as empty string, e.g. `path: ''`.\");\n }\n\n // If an object is specified as the value (e.g. Foo: { ... }),\n // It can have `path` property and `screens` prop which has nested configs\n const parts = config.exact !== true ? [...(parentParts || []), ...(config.path ? (0, _getPatternPartsJs.getPatternParts)(config.path) : [])] : config.path ? (0, _getPatternPartsJs.getPatternParts)(config.path) : undefined;\n const screens = config.screens ? createNormalizedConfigs(config.screens, parts) : undefined;\n return {\n parts,\n stringify: config.stringify,\n screens\n };\n };\n const createNormalizedConfigs = (options, parts) => Object.fromEntries(Object.entries(options).map(([name, c]) => {\n const result = createConfigItem(c, parts);\n return [name, result];\n }));\n});","lineCount":256,"map":[[2,2,1,0],[2,14,1,12],[4,2,1,13,"Object"],[4,8,1,13],[4,9,1,13,"defineProperty"],[4,23,1,13],[4,24,1,13,"exports"],[4,31,1,13],[5,4,1,13,"value"],[5,9,1,13],[6,2,1,13],[7,2,1,13],[7,11,1,13,"_interopNamespace"],[7,29,1,13,"e"],[7,30,1,13],[8,4,1,13],[8,8,1,13,"e"],[8,9,1,13],[8,13,1,13,"e"],[8,14,1,13],[8,15,1,13,"__esModule"],[8,25,1,13],[8,34,1,13,"e"],[8,35,1,13],[9,4,1,13],[9,8,1,13,"n"],[9,9,1,13],[10,4,1,13],[10,8,1,13,"e"],[10,9,1,13],[10,11,1,13,"Object"],[10,17,1,13],[10,18,1,13,"keys"],[10,22,1,13],[10,23,1,13,"e"],[10,24,1,13],[10,26,1,13,"forEach"],[10,33,1,13],[10,44,1,13,"k"],[10,45,1,13],[11,6,1,13],[11,10,1,13,"d"],[11,11,1,13],[11,14,1,13,"Object"],[11,20,1,13],[11,21,1,13,"getOwnPropertyDescriptor"],[11,45,1,13],[11,46,1,13,"e"],[11,47,1,13],[11,49,1,13,"k"],[11,50,1,13],[12,6,1,13,"Object"],[12,12,1,13],[12,13,1,13,"defineProperty"],[12,27,1,13],[12,28,1,13,"n"],[12,29,1,13],[12,31,1,13,"k"],[12,32,1,13],[12,34,1,13,"d"],[12,35,1,13],[12,36,1,13,"get"],[12,39,1,13],[12,42,1,13,"d"],[12,43,1,13],[13,8,1,13,"enumerable"],[13,18,1,13],[14,8,1,13,"get"],[14,11,1,13],[14,22,1,13,"get"],[14,23,1,13],[15,10,1,13],[15,17,1,13,"e"],[15,18,1,13],[15,19,1,13,"k"],[15,20,1,13],[16,8,1,13],[17,6,1,13],[18,4,1,13],[19,4,1,13,"n"],[19,5,1,13],[19,6,1,13,"default"],[19,13,1,13],[19,16,1,13,"e"],[19,17,1,13],[20,4,1,13],[20,11,1,13,"n"],[20,12,1,13],[21,2,1,13],[22,2,52,0,"exports"],[22,9,52,0],[22,10,52,0,"getPathFromState"],[22,26,52,0],[22,29,52,0,"getPathFromState"],[22,45,52,0],[23,2,3,0],[23,6,3,0,"_queryString"],[23,18,3,0],[23,21,3,0,"require"],[23,28,3,0],[23,29,3,0,"_dependencyMap"],[23,43,3,0],[24,2,3,0],[24,6,3,0,"queryString"],[24,17,3,0],[24,20,3,0,"_interopNamespace"],[24,37,3,0],[24,38,3,0,"_queryString"],[24,50,3,0],[25,2,4,0],[25,6,4,0,"_getPatternPartsJs"],[25,24,4,0],[25,27,4,0,"require"],[25,34,4,0],[25,35,4,0,"_dependencyMap"],[25,49,4,0],[26,2,5,0],[26,6,5,0,"_validatePathConfigJs"],[26,27,5,0],[26,30,5,0,"require"],[26,37,5,0],[26,38,5,0,"_dependencyMap"],[26,52,5,0],[27,2,6,0],[27,8,6,6,"getActiveRoute"],[27,22,6,20],[27,25,6,23,"state"],[27,30,6,28],[27,34,6,32],[28,4,7,2],[28,10,7,8,"route"],[28,15,7,13],[28,18,7,16],[28,25,7,23,"state"],[28,30,7,28],[28,31,7,29,"index"],[28,36,7,34],[28,41,7,39],[28,49,7,47],[28,52,7,50,"state"],[28,57,7,55],[28,58,7,56,"routes"],[28,64,7,62],[28,65,7,63,"state"],[28,70,7,68],[28,71,7,69,"index"],[28,76,7,74],[28,77,7,75],[28,80,7,78,"state"],[28,85,7,83],[28,86,7,84,"routes"],[28,92,7,90],[28,93,7,91,"state"],[28,98,7,96],[28,99,7,97,"routes"],[28,105,7,103],[28,106,7,104,"length"],[28,112,7,110],[28,115,7,113],[28,116,7,114],[28,117,7,115],[29,4,8,2],[29,8,8,6,"route"],[29,13,8,11],[29,14,8,12,"state"],[29,19,8,17],[29,21,8,19],[30,6,9,4],[30,13,9,11,"getActiveRoute"],[30,27,9,25],[30,28,9,26,"route"],[30,33,9,31],[30,34,9,32,"state"],[30,39,9,37],[30,40,9,38],[31,4,10,2],[32,4,11,2],[32,11,11,9,"route"],[32,16,11,14],[33,2,12,0],[33,3,12,1],[34,2,13,0],[34,8,13,6,"cachedNormalizedConfigs"],[34,31,13,29],[34,34,13,32],[34,38,13,36,"WeakMap"],[34,45,13,43],[34,46,13,44],[34,47,13,45],[35,2,14,0],[35,8,14,6,"getNormalizedConfigs"],[35,28,14,26],[35,31,14,29,"options"],[35,38,14,36],[35,42,14,40],[36,4,15,2],[36,8,15,6],[36,9,15,7,"options"],[36,16,15,14],[36,18,15,16,"screens"],[36,25,15,23],[36,27,15,25],[36,34,15,32],[36,35,15,33],[36,36,15,34],[37,4,16,2],[37,10,16,8,"cached"],[37,16,16,14],[37,19,16,17,"cachedNormalizedConfigs"],[37,42,16,40],[37,43,16,41,"get"],[37,46,16,44],[37,47,16,45,"options"],[37,54,16,52],[37,56,16,54,"screens"],[37,63,16,61],[37,64,16,62],[38,4,17,2],[38,8,17,6,"cached"],[38,14,17,12],[38,16,17,14],[38,23,17,21,"cached"],[38,29,17,27],[39,4,18,2],[39,10,18,8,"normalizedConfigs"],[39,27,18,25],[39,30,18,28,"createNormalizedConfigs"],[39,53,18,51],[39,54,18,52,"options"],[39,61,18,59],[39,62,18,60,"screens"],[39,69,18,67],[39,70,18,68],[40,4,19,2,"cachedNormalizedConfigs"],[40,27,19,25],[40,28,19,26,"set"],[40,31,19,29],[40,32,19,30,"options"],[40,39,19,37],[40,40,19,38,"screens"],[40,47,19,45],[40,49,19,47,"normalizedConfigs"],[40,66,19,64],[40,67,19,65],[41,4,20,2],[41,11,20,9,"normalizedConfigs"],[41,28,20,26],[42,2,21,0],[42,3,21,1],[44,2,23,0],[45,0,24,0],[46,0,25,0],[47,0,26,0],[48,0,27,0],[49,0,28,0],[50,0,29,0],[51,0,30,0],[52,0,31,0],[53,0,32,0],[54,0,33,0],[55,0,34,0],[56,0,35,0],[57,0,36,0],[58,0,37,0],[59,0,38,0],[60,0,39,0],[61,0,40,0],[62,0,41,0],[63,0,42,0],[64,0,43,0],[65,0,44,0],[66,0,45,0],[67,0,46,0],[68,0,47,0],[69,0,48,0],[70,0,49,0],[71,0,50,0],[72,0,51,0],[73,2,52,7],[73,11,52,16,"getPathFromState"],[73,27,52,32,"getPathFromState"],[73,28,52,33,"state"],[73,33,52,38],[73,35,52,40,"options"],[73,42,52,47],[73,44,52,49],[74,4,53,2],[74,8,53,6,"state"],[74,13,53,11],[74,17,53,15],[74,21,53,19],[74,23,53,21],[75,6,54,4],[75,12,54,10,"Error"],[75,17,54,15],[75,18,54,16],[75,26,54,24,"String"],[75,32,54,30],[75,33,54,31,"state"],[75,38,54,36],[75,39,54,37],[75,104,54,102],[75,105,54,103],[76,4,55,2],[77,4,56,2],[77,8,56,6,"options"],[77,15,56,13],[77,17,56,15],[78,6,57,4],[78,10,57,4,"validatePathConfig"],[78,31,57,22],[78,32,57,22,"validatePathConfig"],[78,50,57,22],[78,52,57,23,"options"],[78,59,57,30],[78,60,57,31],[79,4,58,2],[80,4,59,2],[80,10,59,8,"configs"],[80,17,59,15],[80,20,59,18,"getNormalizedConfigs"],[80,40,59,38],[80,41,59,39,"options"],[80,48,59,46],[80,49,59,47],[81,4,60,2],[81,8,60,6,"path"],[81,12,60,10],[81,15,60,13],[81,18,60,16],[82,4,61,2],[82,8,61,6,"current"],[82,15,61,13],[82,18,61,16,"state"],[82,23,61,21],[83,4,62,2],[83,10,62,8,"allParams"],[83,19,62,17],[83,22,62,20],[83,23,62,21],[83,24,62,22],[84,4,63,2],[84,11,63,9,"current"],[84,18,63,16],[84,20,63,18],[85,6,64,4],[85,10,64,8,"index"],[85,15,64,13],[85,18,64,16],[85,25,64,23,"current"],[85,32,64,30],[85,33,64,31,"index"],[85,38,64,36],[85,43,64,41],[85,51,64,49],[85,54,64,52,"current"],[85,61,64,59],[85,62,64,60,"index"],[85,67,64,65],[85,70,64,68],[85,71,64,69],[86,6,65,4],[86,10,65,8,"route"],[86,15,65,13],[86,18,65,16,"current"],[86,25,65,23],[86,26,65,24,"routes"],[86,32,65,30],[86,33,65,31,"index"],[86,38,65,36],[86,39,65,37],[87,6,66,4],[87,10,66,8,"parts"],[87,15,66,13],[88,6,67,4],[88,10,67,8,"focusedParams"],[88,23,67,21],[89,6,68,4],[89,10,68,8,"currentOptions"],[89,24,68,22],[89,27,68,25,"configs"],[89,34,68,32],[90,6,69,4],[90,12,69,10,"focusedRoute"],[90,24,69,22],[90,27,69,25,"getActiveRoute"],[90,41,69,39],[90,42,69,40,"state"],[90,47,69,45],[90,48,69,46],[92,6,71,4],[93,6,72,4],[93,12,72,10,"nestedRouteNames"],[93,28,72,26],[93,31,72,29],[93,33,72,31],[94,6,73,4],[94,10,73,8,"hasNext"],[94,17,73,15],[94,20,73,18],[94,24,73,22],[95,6,74,4],[95,13,74,11,"route"],[95,18,74,16],[95,19,74,17,"name"],[95,23,74,21],[95,27,74,25,"currentOptions"],[95,41,74,39],[95,45,74,43,"hasNext"],[95,52,74,50],[95,54,74,52],[96,8,75,6,"parts"],[96,13,75,11],[96,16,75,14,"currentOptions"],[96,30,75,28],[96,31,75,29,"route"],[96,36,75,34],[96,37,75,35,"name"],[96,41,75,39],[96,42,75,40],[96,43,75,41,"parts"],[96,48,75,46],[97,8,76,6,"nestedRouteNames"],[97,24,76,22],[97,25,76,23,"push"],[97,29,76,27],[97,30,76,28,"route"],[97,35,76,33],[97,36,76,34,"name"],[97,40,76,38],[97,41,76,39],[98,8,77,6],[98,12,77,10,"route"],[98,17,77,15],[98,18,77,16,"params"],[98,24,77,22],[98,26,77,24],[99,10,78,8],[99,16,78,14,"options"],[99,23,78,21],[99,26,78,24,"currentOptions"],[99,40,78,38],[99,41,78,39,"route"],[99,46,78,44],[99,47,78,45,"name"],[99,51,78,49],[99,52,78,50],[100,10,79,8],[100,16,79,14,"currentParams"],[100,29,79,27],[100,32,79,30,"Object"],[100,38,79,36],[100,39,79,37,"fromEntries"],[100,50,79,48],[100,51,79,49,"Object"],[100,57,79,55],[100,58,79,56,"entries"],[100,65,79,63],[100,66,79,64,"route"],[100,71,79,69],[100,72,79,70,"params"],[100,78,79,76],[100,79,79,77],[100,80,79,78,"map"],[100,83,79,81],[100,84,79,82],[100,85,79,83],[100,86,79,84,"key"],[100,89,79,87],[100,91,79,89,"value"],[100,96,79,94],[100,97,79,95],[100,102,79,100],[101,12,80,10],[101,16,80,14,"value"],[101,21,80,19],[101,26,80,24,"undefined"],[101,35,80,33],[101,37,80,35],[102,14,81,12],[102,18,81,16,"options"],[102,25,81,23],[102,27,81,25],[103,16,82,14],[103,22,82,20,"optional"],[103,30,82,28],[103,33,82,31,"options"],[103,40,82,38],[103,41,82,39,"parts"],[103,46,82,44],[103,48,82,46,"find"],[103,52,82,50],[103,53,82,51,"part"],[103,57,82,55],[103,61,82,59,"part"],[103,65,82,63],[103,66,82,64,"param"],[103,71,82,69],[103,76,82,74,"key"],[103,79,82,77],[103,80,82,78],[103,82,82,80,"optional"],[103,90,82,88],[104,16,83,14],[104,20,83,18,"optional"],[104,28,83,26],[104,30,83,28],[105,18,84,16],[105,25,84,23],[105,29,84,27],[106,16,85,14],[107,14,86,12],[107,15,86,13],[107,21,86,19],[108,16,87,14],[108,23,87,21],[108,27,87,25],[109,14,88,12],[110,12,89,10],[111,12,90,10],[111,18,90,16,"stringify"],[111,27,90,25],[111,30,90,28,"options"],[111,37,90,35],[111,39,90,37,"stringify"],[111,48,90,46],[111,51,90,49,"key"],[111,54,90,52],[111,55,90,53],[111,59,90,57,"String"],[111,65,90,63],[112,12,91,10],[112,19,91,17],[112,20,91,18,"key"],[112,23,91,21],[112,25,91,23,"stringify"],[112,34,91,32],[112,35,91,33,"value"],[112,40,91,38],[112,41,91,39],[112,42,91,40],[113,10,92,8],[113,11,92,9],[113,12,92,10],[113,13,92,11,"filter"],[113,19,92,17],[113,20,92,18,"entry"],[113,25,92,23],[113,29,92,27,"entry"],[113,34,92,32],[113,38,92,36],[113,42,92,40],[113,43,92,41],[113,44,92,42],[114,10,93,8],[114,14,93,12,"parts"],[114,19,93,17],[114,21,93,19,"length"],[114,27,93,25],[114,29,93,27],[115,12,94,10,"Object"],[115,18,94,16],[115,19,94,17,"assign"],[115,25,94,23],[115,26,94,24,"allParams"],[115,35,94,33],[115,37,94,35,"currentParams"],[115,50,94,48],[115,51,94,49],[116,10,95,8],[117,10,96,8],[117,14,96,12,"focusedRoute"],[117,26,96,24],[117,31,96,29,"route"],[117,36,96,34],[117,38,96,36],[118,12,97,10],[119,12,98,10],[120,12,99,10,"focusedParams"],[120,25,99,23],[120,28,99,26],[121,14,100,12],[121,17,100,15,"currentParams"],[122,12,101,10],[122,13,101,11],[123,12,102,10,"parts"],[124,12,103,10],[125,12,103,10],[125,14,104,12,"forEach"],[125,21,104,19],[125,22,104,20],[125,23,104,21],[126,14,105,12,"param"],[127,12,106,10],[127,13,106,11],[127,18,106,16],[128,14,107,12],[128,18,107,16,"param"],[128,23,107,21],[128,25,107,23],[129,16,108,14],[130,16,109,14],[130,20,109,18,"focusedParams"],[130,33,109,31],[130,35,109,33],[131,18,110,16],[132,18,111,16],[132,25,111,23,"focusedParams"],[132,38,111,36],[132,39,111,37,"param"],[132,44,111,42],[132,45,111,43],[133,16,112,14],[134,14,113,12],[135,12,114,10],[135,13,114,11],[135,14,114,12],[136,10,115,8],[137,8,116,6],[139,8,118,6],[140,8,119,6],[140,12,119,10],[140,13,119,11,"currentOptions"],[140,27,119,25],[140,28,119,26,"route"],[140,33,119,31],[140,34,119,32,"name"],[140,38,119,36],[140,39,119,37],[140,40,119,38,"screens"],[140,47,119,45],[140,51,119,49,"route"],[140,56,119,54],[140,57,119,55,"state"],[140,62,119,60],[140,67,119,65,"undefined"],[140,76,119,74],[140,78,119,76],[141,10,120,8,"hasNext"],[141,17,120,15],[141,20,120,18],[141,25,120,23],[142,8,121,6],[142,9,121,7],[142,15,121,13],[143,10,122,8,"index"],[143,15,122,13],[143,18,122,16],[143,25,122,23,"route"],[143,30,122,28],[143,31,122,29,"state"],[143,36,122,34],[143,37,122,35,"index"],[143,42,122,40],[143,47,122,45],[143,55,122,53],[143,58,122,56,"route"],[143,63,122,61],[143,64,122,62,"state"],[143,69,122,67],[143,70,122,68,"index"],[143,75,122,73],[143,78,122,76,"route"],[143,83,122,81],[143,84,122,82,"state"],[143,89,122,87],[143,90,122,88,"routes"],[143,96,122,94],[143,97,122,95,"length"],[143,103,122,101],[143,106,122,104],[143,107,122,105],[144,10,123,8],[144,16,123,14,"nextRoute"],[144,25,123,23],[144,28,123,26,"route"],[144,33,123,31],[144,34,123,32,"state"],[144,39,123,37],[144,40,123,38,"routes"],[144,46,123,44],[144,47,123,45,"index"],[144,52,123,50],[144,53,123,51],[145,10,124,8],[145,16,124,14,"nestedConfig"],[145,28,124,26],[145,31,124,29,"currentOptions"],[145,45,124,43],[145,46,124,44,"route"],[145,51,124,49],[145,52,124,50,"name"],[145,56,124,54],[145,57,124,55],[145,58,124,56,"screens"],[145,65,124,63],[147,10,126,8],[148,10,127,8],[148,14,127,12,"nestedConfig"],[148,26,127,24],[148,30,127,28,"nextRoute"],[148,39,127,37],[148,40,127,38,"name"],[148,44,127,42],[148,48,127,46,"nestedConfig"],[148,60,127,58],[148,62,127,60],[149,12,128,10,"route"],[149,17,128,15],[149,20,128,18,"nextRoute"],[149,29,128,27],[150,12,129,10,"currentOptions"],[150,26,129,24],[150,29,129,27,"nestedConfig"],[150,41,129,39],[151,10,130,8],[151,11,130,9],[151,17,130,15],[152,12,131,10],[153,12,132,10,"hasNext"],[153,19,132,17],[153,22,132,20],[153,27,132,25],[154,10,133,8],[155,8,134,6],[156,6,135,4],[157,6,136,4],[157,10,136,8,"currentOptions"],[157,24,136,22],[157,25,136,23,"route"],[157,30,136,28],[157,31,136,29,"name"],[157,35,136,33],[157,36,136,34],[157,41,136,39,"undefined"],[157,50,136,48],[157,52,136,50],[158,8,137,6,"path"],[158,12,137,10],[158,16,137,14,"parts"],[158,21,137,19],[158,23,137,21,"map"],[158,26,137,24],[158,27,137,25],[158,28,137,26],[159,10,138,8,"segment"],[159,17,138,15],[160,10,139,8,"param"],[160,15,139,13],[161,10,140,8,"optional"],[162,8,141,6],[162,9,141,7],[162,14,141,12],[163,10,142,8],[164,10,143,8],[165,10,144,8],[166,10,145,8],[166,14,145,12,"segment"],[166,21,145,19],[166,26,145,24],[166,29,145,27],[166,31,145,29],[167,12,146,10],[167,19,146,17,"route"],[167,24,146,22],[167,25,146,23,"name"],[167,29,146,27],[168,10,147,8],[170,10,149,8],[171,10,150,8],[171,14,150,12,"param"],[171,19,150,17],[171,21,150,19],[172,12,151,10],[172,18,151,16,"value"],[172,23,151,21],[172,26,151,24,"allParams"],[172,35,151,33],[172,36,151,34,"param"],[172,41,151,39],[172,42,151,40],[173,12,152,10],[173,16,152,14,"value"],[173,21,152,19],[173,26,152,24,"undefined"],[173,35,152,33],[173,39,152,37,"optional"],[173,47,152,45],[173,49,152,47],[174,14,153,12],[175,14,154,12],[175,21,154,19],[175,23,154,21],[176,12,155,10],[178,12,157,10],[179,12,158,10],[180,12,159,10],[180,19,159,17,"Array"],[180,24,159,22],[180,25,159,23,"from"],[180,29,159,27],[180,30,159,28,"String"],[180,36,159,34],[180,37,159,35,"value"],[180,42,159,40],[180,43,159,41],[180,44,159,42],[180,45,159,43,"map"],[180,48,159,46],[180,49,159,47,"char"],[180,53,159,51],[180,57,159,55],[180,90,159,88],[180,91,159,89,"test"],[180,95,159,93],[180,96,159,94,"char"],[180,100,159,98],[180,101,159,99],[180,104,159,102,"encodeURIComponent"],[180,122,159,120],[180,123,159,121,"char"],[180,127,159,125],[180,128,159,126],[180,131,159,129,"char"],[180,135,159,133],[180,136,159,134],[180,137,159,135,"join"],[180,141,159,139],[180,142,159,140],[180,144,159,142],[180,145,159,143],[181,10,160,8],[182,10,161,8],[182,17,161,15,"encodeURIComponent"],[182,35,161,33],[182,36,161,34,"segment"],[182,43,161,41],[182,44,161,42],[183,8,162,6],[183,9,162,7],[183,10,162,8],[183,11,162,9,"join"],[183,15,162,13],[183,16,162,14],[183,19,162,17],[183,20,162,18],[184,6,163,4],[184,7,163,5],[184,13,163,11],[185,8,164,6,"path"],[185,12,164,10],[185,16,164,14,"encodeURIComponent"],[185,34,164,32],[185,35,164,33,"route"],[185,40,164,38],[185,41,164,39,"name"],[185,45,164,43],[185,46,164,44],[186,6,165,4],[187,6,166,4],[187,10,166,8],[187,11,166,9,"focusedParams"],[187,24,166,22],[187,28,166,26,"focusedRoute"],[187,40,166,38],[187,41,166,39,"params"],[187,47,166,45],[187,49,166,47],[188,8,167,6,"focusedParams"],[188,21,167,19],[188,24,167,22,"Object"],[188,30,167,28],[188,31,167,29,"fromEntries"],[188,42,167,40],[188,43,167,41,"Object"],[188,49,167,47],[188,50,167,48,"entries"],[188,57,167,55],[188,58,167,56,"focusedRoute"],[188,70,167,68],[188,71,167,69,"params"],[188,77,167,75],[188,78,167,76],[188,79,167,77,"map"],[188,82,167,80],[188,83,167,81],[188,84,167,82],[188,85,167,83,"key"],[188,88,167,86],[188,90,167,88,"value"],[188,95,167,93],[188,96,167,94],[188,101,167,99],[188,102,167,100,"key"],[188,105,167,103],[188,107,167,105,"String"],[188,113,167,111],[188,114,167,112,"value"],[188,119,167,117],[188,120,167,118],[188,121,167,119],[188,122,167,120],[188,123,167,121],[189,6,168,4],[190,6,169,4],[190,10,169,8,"route"],[190,15,169,13],[190,16,169,14,"state"],[190,21,169,19],[190,23,169,21],[191,8,170,6,"path"],[191,12,170,10],[191,16,170,14],[191,19,170,17],[192,6,171,4],[192,7,171,5],[192,13,171,11],[192,17,171,15,"focusedParams"],[192,30,171,28],[192,32,171,30],[193,8,172,6],[193,13,172,11],[193,19,172,17,"param"],[193,24,172,22],[193,28,172,26,"focusedParams"],[193,41,172,39],[193,43,172,41],[194,10,173,8],[194,14,173,12,"focusedParams"],[194,27,173,25],[194,28,173,26,"param"],[194,33,173,31],[194,34,173,32],[194,39,173,37],[194,50,173,48],[194,52,173,50],[195,12,174,10],[196,12,175,10],[196,19,175,17,"focusedParams"],[196,32,175,30],[196,33,175,31,"param"],[196,38,175,36],[196,39,175,37],[197,10,176,8],[198,8,177,6],[199,8,178,6],[199,14,178,12,"query"],[199,19,178,17],[199,22,178,20,"queryString"],[199,33,178,31],[199,34,178,32,"stringify"],[199,43,178,41],[199,44,178,42,"focusedParams"],[199,57,178,55],[199,59,178,57],[200,10,179,8,"sort"],[200,14,179,12],[200,16,179,14],[201,8,180,6],[201,9,180,7],[201,10,180,8],[202,8,181,6],[202,12,181,10,"query"],[202,17,181,15],[202,19,181,17],[203,10,182,8,"path"],[203,14,182,12],[203,18,182,16],[203,22,182,20,"query"],[203,27,182,25],[203,29,182,27],[204,8,183,6],[205,6,184,4],[206,6,185,4,"current"],[206,13,185,11],[206,16,185,14,"route"],[206,21,185,19],[206,22,185,20,"state"],[206,27,185,25],[207,4,186,2],[209,4,188,2],[210,4,189,2],[210,8,189,6,"options"],[210,15,189,13],[210,17,189,15,"path"],[210,21,189,19],[210,23,189,21],[211,6,190,4,"path"],[211,10,190,8],[211,13,190,11],[211,16,190,14,"options"],[211,23,190,21],[211,24,190,22,"path"],[211,28,190,26],[211,32,190,30,"path"],[211,36,190,34],[211,38,190,36],[212,4,191,2],[214,4,193,2],[215,4,194,2,"path"],[215,8,194,6],[215,11,194,9,"path"],[215,15,194,13],[215,16,194,14,"replace"],[215,23,194,21],[215,24,194,22],[215,30,194,28],[215,32,194,30],[215,35,194,33],[215,36,194,34],[216,4,195,2,"path"],[216,8,195,6],[216,11,195,9,"path"],[216,15,195,13],[216,16,195,14,"length"],[216,22,195,20],[216,25,195,23],[216,26,195,24],[216,29,195,27,"path"],[216,33,195,31],[216,34,195,32,"replace"],[216,41,195,39],[216,42,195,40],[216,47,195,45],[216,49,195,47],[216,51,195,49],[216,52,195,50],[216,55,195,53,"path"],[216,59,195,57],[218,4,197,2],[219,4,198,2],[220,4,199,2],[220,8,199,6],[220,9,199,7,"path"],[220,13,199,11],[220,14,199,12,"startsWith"],[220,24,199,22],[220,25,199,23],[220,28,199,26],[220,29,199,27],[220,31,199,29],[221,6,200,4,"path"],[221,10,200,8],[221,13,200,11],[221,17,200,15,"path"],[221,21,200,19],[221,23,200,21],[222,4,201,2],[223,4,202,2],[223,11,202,9,"path"],[223,15,202,13],[224,2,203,0],[225,2,204,0],[225,8,204,6,"createConfigItem"],[225,24,204,22],[225,27,204,25,"createConfigItem"],[225,28,204,26,"config"],[225,34,204,32],[225,36,204,34,"parentParts"],[225,47,204,45],[225,52,204,50],[226,4,205,2],[226,8,205,6],[226,15,205,13,"config"],[226,21,205,19],[226,26,205,24],[226,34,205,32],[226,36,205,34],[227,6,206,4],[228,6,207,4],[228,12,207,10,"parts"],[228,17,207,15],[228,20,207,18],[228,24,207,18,"getPatternParts"],[228,42,207,33],[228,43,207,33,"getPatternParts"],[228,58,207,33],[228,60,207,34,"config"],[228,66,207,40],[228,67,207,41],[229,6,208,4],[229,10,208,8,"parentParts"],[229,21,208,19],[229,23,208,21],[230,8,209,6],[230,15,209,13],[231,10,210,8,"parts"],[231,15,210,13],[231,17,210,15],[231,18,210,16],[231,21,210,19,"parentParts"],[231,32,210,30],[231,34,210,32],[231,37,210,35,"parts"],[231,42,210,40],[232,8,211,6],[232,9,211,7],[233,6,212,4],[234,6,213,4],[234,13,213,11],[235,8,214,6,"parts"],[236,6,215,4],[236,7,215,5],[237,4,216,2],[238,4,217,2],[238,8,217,6,"config"],[238,14,217,12],[238,15,217,13,"exact"],[238,20,217,18],[238,24,217,22,"config"],[238,30,217,28],[238,31,217,29,"path"],[238,35,217,33],[238,40,217,38,"undefined"],[238,49,217,47],[238,51,217,49],[239,6,218,4],[239,12,218,10],[239,16,218,14,"Error"],[239,21,218,19],[239,22,218,20],[239,172,218,170],[239,173,218,171],[240,4,219,2],[242,4,221,2],[243,4,222,2],[244,4,223,2],[244,10,223,8,"parts"],[244,15,223,13],[244,18,223,16,"config"],[244,24,223,22],[244,25,223,23,"exact"],[244,30,223,28],[244,35,223,33],[244,39,223,37],[244,42,223,40],[244,43,223,41],[244,47,223,45,"parentParts"],[244,58,223,56],[244,62,223,60],[244,64,223,62],[244,65,223,63],[244,67,223,65],[244,71,223,69,"config"],[244,77,223,75],[244,78,223,76,"path"],[244,82,223,80],[244,85,223,83],[244,89,223,83,"getPatternParts"],[244,107,223,98],[244,108,223,98,"getPatternParts"],[244,123,223,98],[244,125,223,99,"config"],[244,131,223,105],[244,132,223,106,"path"],[244,136,223,110],[244,137,223,111],[244,140,223,114],[244,142,223,116],[244,143,223,117],[244,144,223,118],[244,147,223,121,"config"],[244,153,223,127],[244,154,223,128,"path"],[244,158,223,132],[244,161,223,135],[244,165,223,135,"getPatternParts"],[244,183,223,150],[244,184,223,150,"getPatternParts"],[244,199,223,150],[244,201,223,151,"config"],[244,207,223,157],[244,208,223,158,"path"],[244,212,223,162],[244,213,223,163],[244,216,223,166,"undefined"],[244,225,223,175],[245,4,224,2],[245,10,224,8,"screens"],[245,17,224,15],[245,20,224,18,"config"],[245,26,224,24],[245,27,224,25,"screens"],[245,34,224,32],[245,37,224,35,"createNormalizedConfigs"],[245,60,224,58],[245,61,224,59,"config"],[245,67,224,65],[245,68,224,66,"screens"],[245,75,224,73],[245,77,224,75,"parts"],[245,82,224,80],[245,83,224,81],[245,86,224,84,"undefined"],[245,95,224,93],[246,4,225,2],[246,11,225,9],[247,6,226,4,"parts"],[247,11,226,9],[248,6,227,4,"stringify"],[248,15,227,13],[248,17,227,15,"config"],[248,23,227,21],[248,24,227,22,"stringify"],[248,33,227,31],[249,6,228,4,"screens"],[250,4,229,2],[250,5,229,3],[251,2,230,0],[251,3,230,1],[252,2,231,0],[252,8,231,6,"createNormalizedConfigs"],[252,31,231,29],[252,34,231,32,"createNormalizedConfigs"],[252,35,231,33,"options"],[252,42,231,40],[252,44,231,42,"parts"],[252,49,231,47],[252,54,231,52,"Object"],[252,60,231,58],[252,61,231,59,"fromEntries"],[252,72,231,70],[252,73,231,71,"Object"],[252,79,231,77],[252,80,231,78,"entries"],[252,87,231,85],[252,88,231,86,"options"],[252,95,231,93],[252,96,231,94],[252,97,231,95,"map"],[252,100,231,98],[252,101,231,99],[252,102,231,100],[252,103,231,101,"name"],[252,107,231,105],[252,109,231,107,"c"],[252,110,231,108],[252,111,231,109],[252,116,231,114],[253,4,232,2],[253,10,232,8,"result"],[253,16,232,14],[253,19,232,17,"createConfigItem"],[253,35,232,33],[253,36,232,34,"c"],[253,37,232,35],[253,39,232,37,"parts"],[253,44,232,42],[253,45,232,43],[254,4,233,2],[254,11,233,9],[254,12,233,10,"name"],[254,16,233,14],[254,18,233,16,"result"],[254,24,233,22],[254,25,233,23],[255,2,234,0],[255,3,234,1],[255,4,234,2],[255,5,234,3],[256,0,234,4],[256,3]],"functionMap":{"names":["<global>","getActiveRoute","getNormalizedConfigs","getPathFromState","Object.entries.map$argument_0","options.parts.find$argument_0","Object.entries.map.filter$argument_0","parts.forEach$argument_0","parts.map$argument_0","Array.from.map$argument_0","createConfigItem","createNormalizedConfigs"],"mappings":"AAA;uBCK;CDM;6BEE;CFO;OG+B;kFC2B;mDCG,0BD;SDU,SG,sBH;oBIY;WJU;yBKuB;+CCsB,sFD;OLG;iFCK,sCD;CHoC;yBUC;CV0B;gCWC,mEP;COG,EX"},"hasCjsExports":false},"type":"js/module"}]} |