mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 06:31:03 +00:00
1 line
4.9 KiB
Plaintext
1 line
4.9 KiB
Plaintext
{"dependencies":[],"output":[{"data":{"code":"__d(function(g,r,i,a,m,e,d){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.validatePathConfig=function n(o,s=!0){const c={path:'string',initialRouteName:'string',screens:'object',...s?null:{alias:'array',exact:'boolean',stringify:'object',parse:'object'}};if('object'!=typeof o||null===o)throw new Error(`Expected the configuration to be an object, but got ${JSON.stringify(o)}.`);const f=Object.fromEntries(Object.keys(o).map(t=>{if(!(t in c))return[t,'extraneous'];{const n=c[t],s=o[t];if(void 0!==s)if('array'===n){if(!Array.isArray(s))return[t,`expected 'Array', got '${typeof s}'`]}else if(typeof s!==n)return[t,`expected '${n}', got '${typeof s}'`]}return null}).filter(Boolean));if(Object.keys(f).length)throw new Error(`Found invalid properties in the configuration:\\n${t(f)}\\n\\nYou can only specify the following properties:\\n${t(c)}\\n\\nIf you want to specify configuration for screens, you need to specify them under a 'screens' property.\\n\\nSee https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.`);if(s&&'path'in o&&'string'==typeof o.path&&o.path.includes(':'))throw new Error(`Found invalid path '${o.path}'. The 'path' in the top-level configuration cannot contain patterns for params.`);'screens'in o&&o.screens&&Object.entries(o.screens).forEach(([t,o])=>{'string'!=typeof o&&n(o,!1)})};const t=t=>Object.entries(t).map(([t,n])=>`- ${t} (${n})`).join('\\n')});","lineCount":1,"map":[[1,28,1,0],[1,41,1,13,"Object"],[1,48,1,13,"defineProperty"],[1,63,1,13,"e"],[1,65,1,13],[1,79,1,13,"value"],[1,86,1,13],[1,90,1,13,"e"],[1,92,1,13,"validatePathConfig"],[1,111,4,7],[1,120,4,16,"validatePathConfig"],[1,122,4,35,"config"],[1,124,4,43,"root"],[1,127,4,50],[1,130,5,2],[1,136,5,8,"validation"],[1,138,5,21],[1,139,6,4,"path"],[1,144,6,10],[1,153,7,4,"initialRouteName"],[1,170,7,22],[1,179,8,4,"screens"],[1,187,8,13],[1,199,9,8,"root"],[1,201,9,15],[1,206,9,22],[1,207,10,6,"alias"],[1,213,10,13],[1,221,11,6,"exact"],[1,227,11,13],[1,237,12,6,"stringify"],[1,247,12,17],[1,256,13,6,"parse"],[1,262,13,13],[1,273,16,2],[1,276,16,24],[1,293,16,13,"config"],[1,296,16,47],[1,303,16,36,"config"],[1,305,17,4],[1,311,17,10],[1,315,17,14,"Error"],[1,321,17,20],[1,376,17,75,"JSON"],[1,381,17,80,"stringify"],[1,391,17,90,"config"],[1,398,19,2],[1,404,19,8,"validationErrors"],[1,406,19,27,"Object"],[1,413,19,34,"fromEntries"],[1,425,19,46,"Object"],[1,432,19,53,"keys"],[1,437,19,58,"config"],[1,440,19,66,"map"],[1,444,19,70,"key"],[1,448,20,4],[1,453,20,8,"key"],[1,458,20,15,"validation"],[1,461,34,6],[1,467,34,13],[1,468,34,14,"key"],[1,470,34,19],[1,484,20,27],[1,485,21,6],[1,491,21,12,"type"],[1,493,21,19,"validation"],[1,495,21,30,"key"],[1,498,23,12,"value"],[1,500,23,20,"config"],[1,502,23,27,"key"],[1,505,24,6],[1,513,24,20,"undefined"],[1,517,24,10,"value"],[1,519,25,8],[1,522,25,21],[1,532,25,12,"type"],[1,535,26,10],[1,539,26,15,"Array"],[1,545,26,21,"isArray"],[1,553,26,29,"value"],[1,556,27,12],[1,562,27,19],[1,563,27,20,"key"],[1,565,27,25],[1,598,27,58,"value"],[1,609,29,15],[1,619,29,26,"value"],[1,623,29,36,"type"],[1,625,30,10],[1,631,30,17],[1,632,30,18,"key"],[1,634,30,23],[1,647,30,36,"type"],[1,666,30,58,"value"],[1,671,33,4],[1,672,36,4],[1,679,36,11],[1,686,37,5,"filter"],[1,693,37,12,"Boolean"],[1,703,38,2],[1,706,38,6,"Object"],[1,713,38,13,"keys"],[1,718,38,18,"validationErrors"],[1,721,38,36,"length"],[1,728,39,4],[1,734,39,10],[1,738,39,14,"Error"],[1,744,39,20],[1,795,39,71,"formatToList"],[1,797,39,84,"validationErrors"],[1,854,39,156,"formatToList"],[1,856,39,169,"validation"],[1,1086,41,2],[1,1089,41,6,"root"],[1,1092,41,14],[1,1101,41,24,"config"],[1,1104,41,57],[1,1121,41,41,"config"],[1,1123,41,48,"path"],[1,1129,41,69,"config"],[1,1131,41,76,"path"],[1,1136,41,81,"includes"],[1,1145,41,90],[1,1150,42,4],[1,1156,42,10],[1,1160,42,14,"Error"],[1,1166,42,20],[1,1189,42,43,"config"],[1,1191,42,50,"path"],[1,1279,44,6],[1,1291,44,19,"config"],[1,1294,44,29,"config"],[1,1296,44,36,"screens"],[1,1305,45,4,"Object"],[1,1312,45,11,"entries"],[1,1320,45,19,"config"],[1,1322,45,26,"screens"],[1,1331,45,35,"forEach"],[1,1339,45,43],[1,1341,45,45,"_"],[1,1343,45,48,"value"],[1,1349,46,27],[1,1366,46,17,"value"],[1,1369,47,8,"validatePathConfig"],[1,1371,47,27,"value"],[1,1374,47,34],[1,1378,51,0],[1,1380,3,0],[1,1386,3,6,"formatToList"],[1,1388,3,21,"items"],[1,1391,3,30,"Object"],[1,1398,3,37,"entries"],[1,1406,3,45,"items"],[1,1409,3,52,"map"],[1,1413,3,56],[1,1415,3,58,"key"],[1,1417,3,63,"value"],[1,1422,3,74],[1,1427,3,79,"key"],[1,1433,3,87,"value"],[1,1439,3,97,"join"],[1,1444,3,102],[1,1449,51,1],[1,1452]],"functionMap":{"names":["<global>","formatToList","Object.entries.map$argument_0","validatePathConfig","Object.keys.map$argument_0","Object.entries.forEach$argument_0"],"mappings":"AAA;qBCE,mCC,uCD,YD;OGC;sECe;GDkB;2CEQ;KFI;CHE"}},"type":"js/module"}]} |