import{__exports as s}from"../../../../_virtual/normalize-trailing-slash.js_commonjs-exports";export{__exports as default}from"../../../../_virtual/normalize-trailing-slash.js_commonjs-exports";function r(s){return s.endsWith("/")&&"/"!==s?s.slice(0,-1):s}s.__esModule=!0,s.removePathTrailingSlash=r,s.normalizePathTrailingSlash=void 0;const a=process.env.__NEXT_TRAILING_SLASH?s=>/\.[^/]+\/?$/.test(s)?r(s):s.endsWith("/")?s:s+"/":r;s.normalizePathTrailingSlash=a;
//# sourceMappingURL=normalize-trailing-slash.js.map
