45 lines
1.3 KiB
JavaScript
45 lines
1.3 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 5d5b47876e53e564.da1ba52a93.js
|
|
* Module id: 424701
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, r) => {
|
|
"use strict";
|
|
Object.defineProperty(r, "__esModule", { value: !0 }),
|
|
Object.defineProperty(r, "formatNextPathnameInfo", {
|
|
enumerable: !0,
|
|
get: function () {
|
|
return l;
|
|
},
|
|
});
|
|
let n = e.r(239314),
|
|
o = e.r(677581),
|
|
a = e.r(70766),
|
|
i = e.r(552639);
|
|
function l(e) {
|
|
let t = (0, i.addLocale)(
|
|
e.pathname,
|
|
e.locale,
|
|
e.buildId ? void 0 : e.defaultLocale,
|
|
e.ignorePrefix,
|
|
);
|
|
return (
|
|
(e.buildId || !e.trailingSlash) && (t = (0, n.removeTrailingSlash)(t)),
|
|
e.buildId &&
|
|
(t = (0, a.addPathSuffix)(
|
|
(0, o.addPathPrefix)(t, `/_next/data/${e.buildId}`),
|
|
"/" === e.pathname ? "index.json" : ".json",
|
|
)),
|
|
(t = (0, o.addPathPrefix)(t, e.basePath)),
|
|
!e.buildId && e.trailingSlash
|
|
? t.endsWith("/")
|
|
? t
|
|
: (0, a.addPathSuffix)(t, "/")
|
|
: (0, n.removeTrailingSlash)(t)
|
|
);
|
|
}
|
|
};
|
|
|
|
export default moduleFactory;
|