securityos/node_modules/next/dist/server/lib/router-utils/filesystem.js.map

1 line
13 KiB
Plaintext

{"version":3,"sources":["../../../../src/server/lib/router-utils/filesystem.ts"],"names":["buildCustomRoute","setupFsCheck","debug","setupDebug","type","item","basePath","caseSensitive","restrictedRedirectPaths","map","p","match","getPathMatch","source","strict","removeUnnamedParams","regexModifier","internal","regex","modifyRouteRegex","undefined","sensitive","check","opts","getItemsLru","dev","LRUCache","max","length","value","key","fsPath","itemPath","nextDataRoutes","Set","publicFolderItems","nextStaticFolderItems","legacyStaticFolderItems","appFiles","pageFiles","dynamicRoutes","middlewareMatcher","distDir","path","join","dir","config","publicFolderPath","nextStaticFolderPath","legacyStaticFolderPath","customRoutes","redirects","rewrites","beforeFiles","afterFiles","fallback","headers","buildId","prerenderManifest","middlewareManifest","buildIdPath","BUILD_ID_FILE","fs","readFile","file","recursiveReadDir","add","encodeURI","normalizePathSep","err","code","Log","warn","posix","output","routesManifestPath","ROUTES_MANIFEST","prerenderManifestPath","PRERENDER_MANIFEST","middlewareManifestPath","MIDDLEWARE_MANIFEST","pagesManifestPath","PAGES_MANIFEST","appRoutesManifestPath","APP_PATH_ROUTES_MANIFEST","routesManifest","JSON","parse","catch","pagesManifest","appRoutesManifest","Object","keys","i18n","normalizeLocalePath","locales","pathname","escapedBuildId","escapeStringRegexp","route","dataRoutes","isDynamicRoute","page","routeRegex","getRouteRegex","push","re","toString","getRouteMatcher","RegExp","dataRouteRegex","replace","groups","middleware","matchers","getMiddlewareRouteMatcher","Array","isArray","loadCustomRoutes","version","routes","notFoundRoutes","preview","previewModeId","require","randomBytes","previewModeSigningKey","previewModeEncryptionKey","experimental","caseSensitiveRoutes","handleLocale","locale","i18nResult","detectedLocale","ensureFn","interceptionRoutes","devVirtualFsItems","ensureCallback","fn","getItem","originalItemPath","itemKey","lruResult","get","minimalMode","endsWith","substring","pathHasPrefix","removePathPrefix","decodedItemPath","decodeURIComponent","itemsToCheck","items","curItemPath","curDecodedItemPath","isDynamicOutput","localeResult","defaultLocale","nextDataPrefix","startsWith","curLocaleResult","matchedItem","has","encodedCurItemPath","itemsRoot","isStaticAsset","includes","found","fileExists","FileType","File","tempItemPath","isAppFile","normalizeMetadataRoute","itemResult","set","getDynamicRoutes","getMiddlewareMatchers"],"mappings":";;;;;;;;;;;;;;;IAmEaA,gBAAgB;eAAhBA;;IA4BSC,YAAY;eAAZA;;;6DApFL;iEACF;6DACM;8DACE;iEACF;yEACQ;gCACI;4BACI;kCACJ;uBACF;8BACI;2BACN;4BACC;8BACE;+BACF;qCACM;kCACH;wCAES;2BASnC;kCAC0B;kCACM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBvC,MAAMC,QAAQC,IAAAA,cAAU,EAAC;AASlB,MAAMH,mBAAmB,CAC9BI,MACAC,MACAC,UACAC;IAEA,MAAMC,0BAA0B;QAAC;KAAS,CAACC,GAAG,CAAC,CAACC,IAC9CJ,WAAW,CAAC,EAAEA,SAAS,EAAEI,EAAE,CAAC,GAAGA;IAEjC,MAAMC,QAAQC,IAAAA,uBAAY,EAACP,KAAKQ,MAAM,EAAE;QACtCC,QAAQ;QACRC,qBAAqB;QACrBC,eAAe,CAAC,AAACX,KAAaY,QAAQ,GAClC,CAACC,QACCC,IAAAA,gCAAgB,EACdD,OACAd,SAAS,aAAaI,0BAA0BY,aAEpDA;QACJC,WAAWd;IACb;IACA,OAAO;QACL,GAAGF,IAAI;QACP,GAAID,SAAS,YAAY;YAAEkB,OAAO;QAAK,IAAI,CAAC,CAAC;QAC7CX;IACF;AACF;AAEO,eAAeV,aAAasB,IAQlC;IACC,MAAMC,cAAc,CAACD,KAAKE,GAAG,GACzB,IAAIC,iBAAQ,CAA0B;QACpCC,KAAK,OAAO;QACZC,QAAOC,KAAK,EAAEC,GAAG;YACf,IAAI,CAACD,OAAO,OAAOC,CAAAA,uBAAAA,IAAKF,MAAM,KAAI;YAClC,OACE,AAACE,CAAAA,OAAO,EAAC,EAAGF,MAAM,GACl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