90 lines
3.4 KiB
JavaScript
Executable File
90 lines
3.4 KiB
JavaScript
Executable File
/** @internal */ "use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
0 && (module.exports = {
|
|
ReadonlyURLSearchParams: null,
|
|
RedirectType: null,
|
|
forbidden: null,
|
|
notFound: null,
|
|
permanentRedirect: null,
|
|
redirect: null,
|
|
unauthorized: null,
|
|
unstable_isUnrecognizedActionError: null,
|
|
unstable_rethrow: null
|
|
});
|
|
function _export(target, all) {
|
|
for(var name in all)Object.defineProperty(target, name, {
|
|
enumerable: true,
|
|
get: all[name]
|
|
});
|
|
}
|
|
_export(exports, {
|
|
ReadonlyURLSearchParams: function() {
|
|
return ReadonlyURLSearchParams;
|
|
},
|
|
RedirectType: function() {
|
|
return _redirecterror.RedirectType;
|
|
},
|
|
forbidden: function() {
|
|
return _forbidden.forbidden;
|
|
},
|
|
notFound: function() {
|
|
return _notfound.notFound;
|
|
},
|
|
permanentRedirect: function() {
|
|
return _redirect.permanentRedirect;
|
|
},
|
|
redirect: function() {
|
|
return _redirect.redirect;
|
|
},
|
|
unauthorized: function() {
|
|
return _unauthorized.unauthorized;
|
|
},
|
|
unstable_isUnrecognizedActionError: function() {
|
|
return unstable_isUnrecognizedActionError;
|
|
},
|
|
unstable_rethrow: function() {
|
|
return _unstablerethrow.unstable_rethrow;
|
|
}
|
|
});
|
|
const _redirect = require("./redirect");
|
|
const _redirecterror = require("./redirect-error");
|
|
const _notfound = require("./not-found");
|
|
const _forbidden = require("./forbidden");
|
|
const _unauthorized = require("./unauthorized");
|
|
const _unstablerethrow = require("./unstable-rethrow");
|
|
class ReadonlyURLSearchParamsError extends Error {
|
|
constructor(){
|
|
super('Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams');
|
|
}
|
|
}
|
|
class ReadonlyURLSearchParams extends URLSearchParams {
|
|
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ append() {
|
|
throw new ReadonlyURLSearchParamsError();
|
|
}
|
|
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ delete() {
|
|
throw new ReadonlyURLSearchParamsError();
|
|
}
|
|
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ set() {
|
|
throw new ReadonlyURLSearchParamsError();
|
|
}
|
|
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ sort() {
|
|
throw new ReadonlyURLSearchParamsError();
|
|
}
|
|
}
|
|
function unstable_isUnrecognizedActionError() {
|
|
throw Object.defineProperty(new Error('`unstable_isUnrecognizedActionError` can only be used on the client.'), "__NEXT_ERROR_CODE", {
|
|
value: "E776",
|
|
enumerable: false,
|
|
configurable: true
|
|
});
|
|
}
|
|
|
|
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
|
Object.defineProperty(exports.default, '__esModule', { value: true });
|
|
Object.assign(exports.default, exports);
|
|
module.exports = exports.default;
|
|
}
|
|
|
|
//# sourceMappingURL=navigation.react-server.js.map
|