boreal-ui 0.0.52 → 0.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/{FileUpload-C0eHx1h8.js → FileUpload-9fIxslAo.js} +2 -2
- package/dist/core/{FileUpload-C0eHx1h8.js.map → FileUpload-9fIxslAo.js.map} +1 -1
- package/dist/core/{FileUpload-BJ3RJxT3.cjs → FileUpload-DbMxpH-U.cjs} +2 -2
- package/dist/core/{FileUpload-BJ3RJxT3.cjs.map → FileUpload-DbMxpH-U.cjs.map} +1 -1
- package/dist/core/FileUpload.cjs.js +1 -1
- package/dist/core/FileUpload.js +1 -1
- package/dist/core/{MessagePopup-B3lEfar7.js → MessagePopup-BMGIVKoJ.js} +4 -4
- package/dist/core/{MessagePopup-B3lEfar7.js.map → MessagePopup-BMGIVKoJ.js.map} +1 -1
- package/dist/core/{MessagePopup-CtdpuRFv.cjs → MessagePopup-DQQKRCGF.cjs} +4 -4
- package/dist/core/{MessagePopup-CtdpuRFv.cjs.map → MessagePopup-DQQKRCGF.cjs.map} +1 -1
- package/dist/core/MessagePopup.cjs.js +4 -0
- package/dist/core/MessagePopup.cjs.js.map +1 -0
- package/dist/core/MessagePopup.js +5 -0
- package/dist/core/MessagePopup.js.map +1 -0
- package/dist/core/{ProgressBar-DaA5vvnq.js → ProgressBar-BLcSyVgQ.js} +51 -21
- package/dist/core/ProgressBar-BLcSyVgQ.js.map +1 -0
- package/dist/core/{ProgressBar-BwjYOqoE.cjs → ProgressBar-BbIZLV1t.cjs} +50 -20
- package/dist/core/ProgressBar-BbIZLV1t.cjs.map +1 -0
- package/dist/core/ProgressBar.cjs.js +1 -1
- package/dist/core/ProgressBar.js +1 -1
- package/dist/core/{Taginput-BXCxdLf0.cjs → TagInput-BXCxdLf0.cjs} +1 -1
- package/dist/core/TagInput-BXCxdLf0.cjs.map +1 -0
- package/dist/core/{Taginput-CoxxwLXg.js → TagInput-CoxxwLXg.js} +1 -1
- package/dist/core/TagInput-CoxxwLXg.js.map +1 -0
- package/dist/core/TagInput.cjs.js +2 -2
- package/dist/core/TagInput.js +1 -1
- package/dist/core/boreal-ui.css +31 -0
- package/dist/core/index.cjs.js +6 -6
- package/dist/core/index.js +5 -5
- package/dist/next/{Avatar-B-Ws4Ueo.js → Avatar-B24bFFqY.js} +3 -3
- package/dist/next/{Avatar-B-Ws4Ueo.js.map → Avatar-B24bFFqY.js.map} +1 -1
- package/dist/next/{Avatar-B9sMyRWr.cjs → Avatar-CPaxiA0r.cjs} +3 -3
- package/dist/next/{Avatar-B9sMyRWr.cjs.map → Avatar-CPaxiA0r.cjs.map} +1 -1
- package/dist/next/Avatar.cjs.js +1 -1
- package/dist/next/Avatar.js +1 -1
- package/dist/next/{Breadcrumbs-CrKRsQf3.cjs → Breadcrumbs-BlFi63K8.cjs} +3 -3
- package/dist/next/{Breadcrumbs-CrKRsQf3.cjs.map → Breadcrumbs-BlFi63K8.cjs.map} +1 -1
- package/dist/next/{Breadcrumbs-ZK64MIGd.js → Breadcrumbs-D9BMYEZi.js} +3 -3
- package/dist/next/{Breadcrumbs-ZK64MIGd.js.map → Breadcrumbs-D9BMYEZi.js.map} +1 -1
- package/dist/next/Breadcrumbs.cjs.js +1 -1
- package/dist/next/Breadcrumbs.js +1 -1
- package/dist/next/{Button-BI0LErYM.cjs → Button-DPoX7ahh.cjs} +2 -2
- package/dist/next/{Button-BI0LErYM.cjs.map → Button-DPoX7ahh.cjs.map} +1 -1
- package/dist/next/{Button-qs4m4zx0.js → Button-DhH3Gy0J.js} +2 -2
- package/dist/next/{Button-qs4m4zx0.js.map → Button-DhH3Gy0J.js.map} +1 -1
- package/dist/next/Button.cjs.js +1 -1
- package/dist/next/Button.js +1 -1
- package/dist/next/{Card-Da7D02Sj.js → Card-4SKxHmOQ.js} +4 -4
- package/dist/next/{Card-Da7D02Sj.js.map → Card-4SKxHmOQ.js.map} +1 -1
- package/dist/next/{Card-C0SorjuI.cjs → Card-BdzmlYGf.cjs} +4 -4
- package/dist/next/{Card-C0SorjuI.cjs.map → Card-BdzmlYGf.cjs.map} +1 -1
- package/dist/next/Card.cjs.js +1 -1
- package/dist/next/Card.js +1 -1
- package/dist/next/{Chip-D2mvW5L7.js → Chip-BqMZEDW_.js} +2 -2
- package/dist/next/{Chip-D2mvW5L7.js.map → Chip-BqMZEDW_.js.map} +1 -1
- package/dist/next/{Chip-BWTBVAIE.cjs → Chip-CqvlZI-K.cjs} +2 -2
- package/dist/next/{Chip-BWTBVAIE.cjs.map → Chip-CqvlZI-K.cjs.map} +1 -1
- package/dist/next/Chip.cjs.js +1 -1
- package/dist/next/Chip.js +1 -1
- package/dist/next/{CommandPalette-BO6R9zQs.cjs → CommandPalette-C0NN-NWE.cjs} +2 -2
- package/dist/next/{CommandPalette-BO6R9zQs.cjs.map → CommandPalette-C0NN-NWE.cjs.map} +1 -1
- package/dist/next/{CommandPalette-CN0BiN0R.js → CommandPalette-vklqlRV0.js} +2 -2
- package/dist/next/{CommandPalette-CN0BiN0R.js.map → CommandPalette-vklqlRV0.js.map} +1 -1
- package/dist/next/CommandPalette.cjs.js +1 -1
- package/dist/next/CommandPalette.js +1 -1
- package/dist/next/{Dropdown-Czc7qKPn.js → Dropdown-BjxT8ivq.js} +2 -2
- package/dist/next/{Dropdown-Czc7qKPn.js.map → Dropdown-BjxT8ivq.js.map} +1 -1
- package/dist/next/{Dropdown-BnuZW883.cjs → Dropdown-IW2Ph6-e.cjs} +2 -2
- package/dist/next/{Dropdown-BnuZW883.cjs.map → Dropdown-IW2Ph6-e.cjs.map} +1 -1
- package/dist/next/Dropdown.cjs.js +1 -1
- package/dist/next/Dropdown.js +1 -1
- package/dist/next/{EmptyState-Bb90F-ej.cjs → EmptyState-BS6-CuHp.cjs} +2 -2
- package/dist/next/{EmptyState-Bb90F-ej.cjs.map → EmptyState-BS6-CuHp.cjs.map} +1 -1
- package/dist/next/{EmptyState-Brd4N36F.js → EmptyState-D_Gcrj_3.js} +2 -2
- package/dist/next/{EmptyState-Brd4N36F.js.map → EmptyState-D_Gcrj_3.js.map} +1 -1
- package/dist/next/EmptyState.cjs.js +1 -1
- package/dist/next/EmptyState.js +1 -1
- package/dist/next/{FileUpload-Drm5_xEx.cjs → FileUpload-Cj99fQhe.cjs} +4 -4
- package/dist/next/{FileUpload-Drm5_xEx.cjs.map → FileUpload-Cj99fQhe.cjs.map} +1 -1
- package/dist/next/{FileUpload-BMMpH1El.js → FileUpload-St2eEaTn.js} +4 -4
- package/dist/next/{FileUpload-BMMpH1El.js.map → FileUpload-St2eEaTn.js.map} +1 -1
- package/dist/next/FileUpload.cjs.js +1 -1
- package/dist/next/FileUpload.js +1 -1
- package/dist/next/{Footer-EF2-ryvY.cjs → Footer-B3KTDWBR.cjs} +4 -4
- package/dist/next/{Footer-EF2-ryvY.cjs.map → Footer-B3KTDWBR.cjs.map} +1 -1
- package/dist/next/{Footer-B6_LG958.js → Footer-dtGtOPyR.js} +4 -4
- package/dist/next/{Footer-B6_LG958.js.map → Footer-dtGtOPyR.js.map} +1 -1
- package/dist/next/Footer.cjs.js +1 -1
- package/dist/next/Footer.js +1 -1
- package/dist/next/{IconButton-BTUFKRZt.js → IconButton-Ct3YtlG9.js} +2 -2
- package/dist/next/{IconButton-BTUFKRZt.js.map → IconButton-Ct3YtlG9.js.map} +1 -1
- package/dist/next/{IconButton-2l-_HOMB.cjs → IconButton-aF7cTy19.cjs} +2 -2
- package/dist/next/{IconButton-2l-_HOMB.cjs.map → IconButton-aF7cTy19.cjs.map} +1 -1
- package/dist/next/IconButton.cjs.js +1 -1
- package/dist/next/IconButton.js +1 -1
- package/dist/next/{MessagePopup-WUBGyJ_F.js → MessagePopup-C4n0Qw7n.js} +6 -6
- package/dist/next/{MessagePopup-WUBGyJ_F.js.map → MessagePopup-C4n0Qw7n.js.map} +1 -1
- package/dist/next/{MessagePopup-DsquzWSn.cjs → MessagePopup-CwOeZAAM.cjs} +6 -6
- package/dist/next/{MessagePopup-DsquzWSn.cjs.map → MessagePopup-CwOeZAAM.cjs.map} +1 -1
- package/dist/next/MessagePopup.cjs.js +4 -0
- package/dist/next/MessagePopup.cjs.js.map +1 -0
- package/dist/next/MessagePopup.js +5 -0
- package/dist/next/MessagePopup.js.map +1 -0
- package/dist/next/{Modal-B2ilLCoi.js → Modal-CIzoBs9H.js} +2 -2
- package/dist/next/{Modal-B2ilLCoi.js.map → Modal-CIzoBs9H.js.map} +1 -1
- package/dist/next/{Modal-CVKVAEdd.cjs → Modal-DCNGQN70.cjs} +2 -2
- package/dist/next/{Modal-CVKVAEdd.cjs.map → Modal-DCNGQN70.cjs.map} +1 -1
- package/dist/next/Modal.cjs.js +1 -1
- package/dist/next/Modal.js +1 -1
- package/dist/next/{NavBar-DVEf0iJH.cjs → NavBar-DDu46bCF.cjs} +3 -3
- package/dist/next/{NavBar-DVEf0iJH.cjs.map → NavBar-DDu46bCF.cjs.map} +1 -1
- package/dist/next/{NavBar-CmvgkEZt.js → NavBar-DyI3rKSN.js} +3 -3
- package/dist/next/{NavBar-CmvgkEZt.js.map → NavBar-DyI3rKSN.js.map} +1 -1
- package/dist/next/NavBar.cjs.js +1 -1
- package/dist/next/NavBar.js +1 -1
- package/dist/next/{NotificationCenter-CtM10CVj.js → NotificationCenter-BIuKaeXk.js} +3 -3
- package/dist/next/{NotificationCenter-CtM10CVj.js.map → NotificationCenter-BIuKaeXk.js.map} +1 -1
- package/dist/next/{NotificationCenter-CtL6rozQ.cjs → NotificationCenter-CzdOOnWg.cjs} +3 -3
- package/dist/next/{NotificationCenter-CtL6rozQ.cjs.map → NotificationCenter-CzdOOnWg.cjs.map} +1 -1
- package/dist/next/NotificationCenter.cjs.js +1 -1
- package/dist/next/NotificationCenter.js +1 -1
- package/dist/next/{Pager-Bxxewb8I.cjs → Pager-C6vww_Lf.cjs} +3 -3
- package/dist/next/{Pager-Bxxewb8I.cjs.map → Pager-C6vww_Lf.cjs.map} +1 -1
- package/dist/next/{Pager-D0Mw7o7v.js → Pager-DkXLe3dd.js} +3 -3
- package/dist/next/{Pager-D0Mw7o7v.js.map → Pager-DkXLe3dd.js.map} +1 -1
- package/dist/next/Pager.cjs.js +1 -1
- package/dist/next/Pager.js +1 -1
- package/dist/next/ProgressBar-BM0Rp63R.js +188 -0
- package/dist/next/ProgressBar-BM0Rp63R.js.map +1 -0
- package/dist/next/ProgressBar-CDhjp_gn.cjs +187 -0
- package/dist/next/ProgressBar-CDhjp_gn.cjs.map +1 -0
- package/dist/next/ProgressBar.cjs.js +1 -1
- package/dist/next/ProgressBar.js +1 -1
- package/dist/next/{Sidebar-DajVSn82.cjs → Sidebar-CBC-Gu5d.cjs} +3 -3
- package/dist/next/{Sidebar-DajVSn82.cjs.map → Sidebar-CBC-Gu5d.cjs.map} +1 -1
- package/dist/next/{Sidebar-CJ4VrQIW.js → Sidebar-oJzZMxwu.js} +3 -3
- package/dist/next/{Sidebar-CJ4VrQIW.js.map → Sidebar-oJzZMxwu.js.map} +1 -1
- package/dist/next/Sidebar.cjs.js +1 -1
- package/dist/next/Sidebar.js +1 -1
- package/dist/next/{Stepper-BvA_ZAho.js → Stepper-DBwramgz.js} +2 -2
- package/dist/next/{Stepper-BvA_ZAho.js.map → Stepper-DBwramgz.js.map} +1 -1
- package/dist/next/{Stepper-D6X70Sr6.cjs → Stepper-YQqjSOG0.cjs} +2 -2
- package/dist/next/{Stepper-D6X70Sr6.cjs.map → Stepper-YQqjSOG0.cjs.map} +1 -1
- package/dist/next/Stepper.cjs.js +1 -1
- package/dist/next/Stepper.js +1 -1
- package/dist/next/{TagInput-DfNJiPKh.cjs → TagInput-B38cJqaG.cjs} +3 -3
- package/dist/next/TagInput-B38cJqaG.cjs.map +1 -0
- package/dist/next/{TagInput-DKzxPiwU.js → TagInput-BDbDZ1W8.js} +3 -3
- package/dist/next/TagInput-BDbDZ1W8.js.map +1 -0
- package/dist/next/TagInput.cjs.js +1 -1
- package/dist/next/TagInput.js +1 -1
- package/dist/next/{TextInput-C1TUvbWx.cjs → TextInput-C3cLfd6E.cjs} +2 -2
- package/dist/next/{TextInput-C1TUvbWx.cjs.map → TextInput-C3cLfd6E.cjs.map} +1 -1
- package/dist/next/{TextInput-CyGkgvS3.js → TextInput-D68lumzk.js} +2 -2
- package/dist/next/{TextInput-CyGkgvS3.js.map → TextInput-D68lumzk.js.map} +1 -1
- package/dist/next/TextInput.cjs.js +1 -1
- package/dist/next/TextInput.js +1 -1
- package/dist/next/{Toolbar-PwnuYGDR.cjs → Toolbar-B-APlNjI.cjs} +2 -2
- package/dist/next/{Toolbar-PwnuYGDR.cjs.map → Toolbar-B-APlNjI.cjs.map} +1 -1
- package/dist/next/{Toolbar-wbusnAUV.js → Toolbar-DHyc9uqa.js} +2 -2
- package/dist/next/{Toolbar-wbusnAUV.js.map → Toolbar-DHyc9uqa.js.map} +1 -1
- package/dist/next/Toolbar.cjs.js +1 -1
- package/dist/next/Toolbar.js +1 -1
- package/dist/next/boreal-ui.css +122 -72
- package/dist/next/{image-BBS8QO15.js → image-B9PuwflE.js} +47 -3
- package/dist/next/image-B9PuwflE.js.map +1 -0
- package/dist/next/{image-A4nTeRaX.cjs → image-Bo_vHlt1.cjs} +47 -3
- package/dist/next/image-Bo_vHlt1.cjs.map +1 -0
- package/dist/next/index.cjs.js +23 -23
- package/dist/next/index.js +23 -23
- package/dist/next/{link-lNk_lOdS.cjs → link-B1N-q38H.cjs} +276 -49
- package/dist/next/link-B1N-q38H.cjs.map +1 -0
- package/dist/next/{link-CxWP3aXr.js → link-CyxHztrS.js} +276 -49
- package/dist/next/link-CyxHztrS.js.map +1 -0
- package/dist/next/{navigation-DxXFNXZM.js → navigation-C2hD8Jlk.js} +157 -199
- package/dist/next/navigation-C2hD8Jlk.js.map +1 -0
- package/dist/next/{navigation-CZU71Pmb.cjs → navigation-C3npGZmO.cjs} +157 -199
- package/dist/next/navigation-C3npGZmO.cjs.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/components/{MessagePopUp → MessagePopup}/MessagePopup.types.d.ts +2 -2
- package/dist/types/components/{MessagePopUp → MessagePopup}/MessagePopup.types.d.ts.map +1 -1
- package/dist/types/components/{MessagePopUp → MessagePopup}/MessagePopupBase.d.ts.map +1 -1
- package/dist/types/components/MessagePopup/core/MessagePopup.d.ts +6 -0
- package/dist/types/components/{MessagePopUp → MessagePopup}/core/MessagePopup.d.ts.map +1 -1
- package/dist/types/components/MessagePopup/next/MessagePopup.d.ts +5 -0
- package/dist/types/components/{MessagePopUp → MessagePopup}/next/MessagePopup.d.ts.map +1 -1
- package/dist/types/components/ProgressBar/ProgressBar.types.d.ts +10 -1
- package/dist/types/components/ProgressBar/ProgressBar.types.d.ts.map +1 -1
- package/dist/types/components/ProgressBar/ProgressBarBase.d.ts.map +1 -1
- package/dist/types/components/ProgressBar/core/ProgressBar.d.ts.map +1 -1
- package/dist/types/components/TagInput/{Taginput.types.d.ts → TagInput.types.d.ts} +1 -1
- package/dist/types/components/TagInput/{Taginput.types.d.ts.map → TagInput.types.d.ts.map} +1 -1
- package/dist/types/components/TagInput/TagInputBase.d.ts +1 -1
- package/dist/types/components/TagInput/core/TagInput.d.ts +6 -0
- package/dist/types/components/TagInput/core/{Taginput.d.ts.map → TagInput.d.ts.map} +1 -1
- package/dist/types/components/TagInput/next/TagInput.d.ts +1 -1
- package/dist/types/index.core.d.ts +2 -2
- package/dist/types/index.next.d.ts +1 -1
- package/dist/types/public.types.d.ts +2 -2
- package/package.json +8 -8
- package/dist/core/MessagePopUp.cjs.js +0 -4
- package/dist/core/MessagePopUp.cjs.js.map +0 -1
- package/dist/core/MessagePopUp.js +0 -5
- package/dist/core/MessagePopUp.js.map +0 -1
- package/dist/core/ProgressBar-BwjYOqoE.cjs.map +0 -1
- package/dist/core/ProgressBar-DaA5vvnq.js.map +0 -1
- package/dist/core/Taginput-BXCxdLf0.cjs.map +0 -1
- package/dist/core/Taginput-CoxxwLXg.js.map +0 -1
- package/dist/next/MessagePopUp.cjs.js +0 -4
- package/dist/next/MessagePopUp.cjs.js.map +0 -1
- package/dist/next/MessagePopUp.js +0 -5
- package/dist/next/MessagePopUp.js.map +0 -1
- package/dist/next/ProgressBar-BMuv0kis.cjs +0 -151
- package/dist/next/ProgressBar-BMuv0kis.cjs.map +0 -1
- package/dist/next/ProgressBar-DuaWQouO.js +0 -152
- package/dist/next/ProgressBar-DuaWQouO.js.map +0 -1
- package/dist/next/TagInput-DKzxPiwU.js.map +0 -1
- package/dist/next/TagInput-DfNJiPKh.cjs.map +0 -1
- package/dist/next/image-A4nTeRaX.cjs.map +0 -1
- package/dist/next/image-BBS8QO15.js.map +0 -1
- package/dist/next/link-CxWP3aXr.js.map +0 -1
- package/dist/next/link-lNk_lOdS.cjs.map +0 -1
- package/dist/next/navigation-CZU71Pmb.cjs.map +0 -1
- package/dist/next/navigation-DxXFNXZM.js.map +0 -1
- package/dist/types/components/MessagePopUp/core/MessagePopup.d.ts +0 -6
- package/dist/types/components/MessagePopUp/next/MessagePopup.d.ts +0 -5
- package/dist/types/components/TagInput/core/Taginput.d.ts +0 -6
- /package/dist/types/components/{MessagePopUp → MessagePopup}/MessagePopupBase.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const link = require("./link-
|
|
2
|
+
const link = require("./link-B1N-q38H.cjs");
|
|
3
3
|
const React = require("react");
|
|
4
4
|
var navigation$1 = { exports: {} };
|
|
5
5
|
var appRouterContext_sharedRuntime = {};
|
|
@@ -52,6 +52,52 @@ function requireAppRouterContext_sharedRuntime() {
|
|
|
52
52
|
return appRouterContext_sharedRuntime;
|
|
53
53
|
}
|
|
54
54
|
var hooksClientContext_sharedRuntime = {};
|
|
55
|
+
var readonlyUrlSearchParams = { exports: {} };
|
|
56
|
+
var hasRequiredReadonlyUrlSearchParams;
|
|
57
|
+
function requireReadonlyUrlSearchParams() {
|
|
58
|
+
if (hasRequiredReadonlyUrlSearchParams) return readonlyUrlSearchParams.exports;
|
|
59
|
+
hasRequiredReadonlyUrlSearchParams = 1;
|
|
60
|
+
(function(module2, exports$1) {
|
|
61
|
+
Object.defineProperty(exports$1, "__esModule", {
|
|
62
|
+
value: true
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports$1, "ReadonlyURLSearchParams", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function() {
|
|
67
|
+
return ReadonlyURLSearchParams;
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
class ReadonlyURLSearchParamsError extends Error {
|
|
71
|
+
constructor() {
|
|
72
|
+
super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams");
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
class ReadonlyURLSearchParams extends URLSearchParams {
|
|
76
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
77
|
+
append() {
|
|
78
|
+
throw new ReadonlyURLSearchParamsError();
|
|
79
|
+
}
|
|
80
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
81
|
+
delete() {
|
|
82
|
+
throw new ReadonlyURLSearchParamsError();
|
|
83
|
+
}
|
|
84
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
85
|
+
set() {
|
|
86
|
+
throw new ReadonlyURLSearchParamsError();
|
|
87
|
+
}
|
|
88
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
89
|
+
sort() {
|
|
90
|
+
throw new ReadonlyURLSearchParamsError();
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
|
|
94
|
+
Object.defineProperty(exports$1.default, "__esModule", { value: true });
|
|
95
|
+
Object.assign(exports$1.default, exports$1);
|
|
96
|
+
module2.exports = exports$1.default;
|
|
97
|
+
}
|
|
98
|
+
})(readonlyUrlSearchParams, readonlyUrlSearchParams.exports);
|
|
99
|
+
return readonlyUrlSearchParams.exports;
|
|
100
|
+
}
|
|
55
101
|
var hasRequiredHooksClientContext_sharedRuntime;
|
|
56
102
|
function requireHooksClientContext_sharedRuntime() {
|
|
57
103
|
if (hasRequiredHooksClientContext_sharedRuntime) return hooksClientContext_sharedRuntime;
|
|
@@ -77,6 +123,9 @@ function requireHooksClientContext_sharedRuntime() {
|
|
|
77
123
|
PathnameContext: function() {
|
|
78
124
|
return PathnameContext;
|
|
79
125
|
},
|
|
126
|
+
ReadonlyURLSearchParams: function() {
|
|
127
|
+
return _readonlyurlsearchparams.ReadonlyURLSearchParams;
|
|
128
|
+
},
|
|
80
129
|
SearchParamsContext: function() {
|
|
81
130
|
return SearchParamsContext;
|
|
82
131
|
},
|
|
@@ -85,6 +134,7 @@ function requireHooksClientContext_sharedRuntime() {
|
|
|
85
134
|
}
|
|
86
135
|
});
|
|
87
136
|
const _react = React;
|
|
137
|
+
const _readonlyurlsearchparams = requireReadonlyUrlSearchParams();
|
|
88
138
|
const SearchParamsContext = (0, _react.createContext)(null);
|
|
89
139
|
const PathnameContext = (0, _react.createContext)(null);
|
|
90
140
|
const PathParamsContext = (0, _react.createContext)(null);
|
|
@@ -105,52 +155,6 @@ function requireHooksClientContext_sharedRuntime() {
|
|
|
105
155
|
})(hooksClientContext_sharedRuntime);
|
|
106
156
|
return hooksClientContext_sharedRuntime;
|
|
107
157
|
}
|
|
108
|
-
var readonlyUrlSearchParams = { exports: {} };
|
|
109
|
-
var hasRequiredReadonlyUrlSearchParams;
|
|
110
|
-
function requireReadonlyUrlSearchParams() {
|
|
111
|
-
if (hasRequiredReadonlyUrlSearchParams) return readonlyUrlSearchParams.exports;
|
|
112
|
-
hasRequiredReadonlyUrlSearchParams = 1;
|
|
113
|
-
(function(module2, exports$1) {
|
|
114
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
115
|
-
value: true
|
|
116
|
-
});
|
|
117
|
-
Object.defineProperty(exports$1, "ReadonlyURLSearchParams", {
|
|
118
|
-
enumerable: true,
|
|
119
|
-
get: function() {
|
|
120
|
-
return ReadonlyURLSearchParams;
|
|
121
|
-
}
|
|
122
|
-
});
|
|
123
|
-
class ReadonlyURLSearchParamsError extends Error {
|
|
124
|
-
constructor() {
|
|
125
|
-
super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams");
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
class ReadonlyURLSearchParams extends URLSearchParams {
|
|
129
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
130
|
-
append() {
|
|
131
|
-
throw new ReadonlyURLSearchParamsError();
|
|
132
|
-
}
|
|
133
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
134
|
-
delete() {
|
|
135
|
-
throw new ReadonlyURLSearchParamsError();
|
|
136
|
-
}
|
|
137
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
138
|
-
set() {
|
|
139
|
-
throw new ReadonlyURLSearchParamsError();
|
|
140
|
-
}
|
|
141
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
142
|
-
sort() {
|
|
143
|
-
throw new ReadonlyURLSearchParamsError();
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
|
|
147
|
-
Object.defineProperty(exports$1.default, "__esModule", { value: true });
|
|
148
|
-
Object.assign(exports$1.default, exports$1);
|
|
149
|
-
module2.exports = exports$1.default;
|
|
150
|
-
}
|
|
151
|
-
})(readonlyUrlSearchParams, readonlyUrlSearchParams.exports);
|
|
152
|
-
return readonlyUrlSearchParams.exports;
|
|
153
|
-
}
|
|
154
158
|
var serverInsertedHtml_sharedRuntime = {};
|
|
155
159
|
var hasRequiredServerInsertedHtml_sharedRuntime;
|
|
156
160
|
function requireServerInsertedHtml_sharedRuntime() {
|
|
@@ -1000,6 +1004,9 @@ function requireAppRouterHeaders() {
|
|
|
1000
1004
|
NEXT_ACTION_NOT_FOUND_HEADER: function() {
|
|
1001
1005
|
return NEXT_ACTION_NOT_FOUND_HEADER;
|
|
1002
1006
|
},
|
|
1007
|
+
NEXT_ACTION_REVALIDATED_HEADER: function() {
|
|
1008
|
+
return NEXT_ACTION_REVALIDATED_HEADER;
|
|
1009
|
+
},
|
|
1003
1010
|
NEXT_DID_POSTPONE_HEADER: function() {
|
|
1004
1011
|
return NEXT_DID_POSTPONE_HEADER;
|
|
1005
1012
|
},
|
|
@@ -1074,6 +1081,7 @@ function requireAppRouterHeaders() {
|
|
|
1074
1081
|
const NEXT_ACTION_NOT_FOUND_HEADER = "x-nextjs-action-not-found";
|
|
1075
1082
|
const NEXT_REQUEST_ID_HEADER = "x-nextjs-request-id";
|
|
1076
1083
|
const NEXT_HTML_REQUEST_ID_HEADER = "x-nextjs-html-request-id";
|
|
1084
|
+
const NEXT_ACTION_REVALIDATED_HEADER = "x-action-revalidated";
|
|
1077
1085
|
if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
|
|
1078
1086
|
Object.defineProperty(exports$1.default, "__esModule", { value: true });
|
|
1079
1087
|
Object.assign(exports$1.default, exports$1);
|
|
@@ -1415,145 +1423,6 @@ function requireScheduler() {
|
|
|
1415
1423
|
})(scheduler);
|
|
1416
1424
|
return scheduler;
|
|
1417
1425
|
}
|
|
1418
|
-
var stagedRendering = {};
|
|
1419
|
-
var promiseWithResolvers = {};
|
|
1420
|
-
var hasRequiredPromiseWithResolvers;
|
|
1421
|
-
function requirePromiseWithResolvers() {
|
|
1422
|
-
if (hasRequiredPromiseWithResolvers) return promiseWithResolvers;
|
|
1423
|
-
hasRequiredPromiseWithResolvers = 1;
|
|
1424
|
-
(function(exports$1) {
|
|
1425
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
1426
|
-
value: true
|
|
1427
|
-
});
|
|
1428
|
-
Object.defineProperty(exports$1, "createPromiseWithResolvers", {
|
|
1429
|
-
enumerable: true,
|
|
1430
|
-
get: function() {
|
|
1431
|
-
return createPromiseWithResolvers;
|
|
1432
|
-
}
|
|
1433
|
-
});
|
|
1434
|
-
function createPromiseWithResolvers() {
|
|
1435
|
-
let resolve;
|
|
1436
|
-
let reject;
|
|
1437
|
-
const promise = new Promise((res, rej) => {
|
|
1438
|
-
resolve = res;
|
|
1439
|
-
reject = rej;
|
|
1440
|
-
});
|
|
1441
|
-
return {
|
|
1442
|
-
resolve,
|
|
1443
|
-
reject,
|
|
1444
|
-
promise
|
|
1445
|
-
};
|
|
1446
|
-
}
|
|
1447
|
-
})(promiseWithResolvers);
|
|
1448
|
-
return promiseWithResolvers;
|
|
1449
|
-
}
|
|
1450
|
-
var hasRequiredStagedRendering;
|
|
1451
|
-
function requireStagedRendering() {
|
|
1452
|
-
if (hasRequiredStagedRendering) return stagedRendering;
|
|
1453
|
-
hasRequiredStagedRendering = 1;
|
|
1454
|
-
(function(exports$1) {
|
|
1455
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
1456
|
-
value: true
|
|
1457
|
-
});
|
|
1458
|
-
function _export(target, all) {
|
|
1459
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
1460
|
-
enumerable: true,
|
|
1461
|
-
get: all[name]
|
|
1462
|
-
});
|
|
1463
|
-
}
|
|
1464
|
-
_export(exports$1, {
|
|
1465
|
-
RenderStage: function() {
|
|
1466
|
-
return RenderStage;
|
|
1467
|
-
},
|
|
1468
|
-
StagedRenderingController: function() {
|
|
1469
|
-
return StagedRenderingController;
|
|
1470
|
-
}
|
|
1471
|
-
});
|
|
1472
|
-
const _invarianterror = link.requireInvariantError();
|
|
1473
|
-
const _promisewithresolvers = requirePromiseWithResolvers();
|
|
1474
|
-
var RenderStage = /* @__PURE__ */ (function(RenderStage2) {
|
|
1475
|
-
RenderStage2[RenderStage2["Static"] = 1] = "Static";
|
|
1476
|
-
RenderStage2[RenderStage2["Runtime"] = 2] = "Runtime";
|
|
1477
|
-
RenderStage2[RenderStage2["Dynamic"] = 3] = "Dynamic";
|
|
1478
|
-
return RenderStage2;
|
|
1479
|
-
})({});
|
|
1480
|
-
class StagedRenderingController {
|
|
1481
|
-
constructor(abortSignal = null) {
|
|
1482
|
-
this.abortSignal = abortSignal;
|
|
1483
|
-
this.currentStage = 1;
|
|
1484
|
-
this.runtimeStagePromise = (0, _promisewithresolvers.createPromiseWithResolvers)();
|
|
1485
|
-
this.dynamicStagePromise = (0, _promisewithresolvers.createPromiseWithResolvers)();
|
|
1486
|
-
if (abortSignal) {
|
|
1487
|
-
abortSignal.addEventListener("abort", () => {
|
|
1488
|
-
const { reason } = abortSignal;
|
|
1489
|
-
if (this.currentStage < 2) {
|
|
1490
|
-
this.runtimeStagePromise.promise.catch(ignoreReject);
|
|
1491
|
-
this.runtimeStagePromise.reject(reason);
|
|
1492
|
-
}
|
|
1493
|
-
if (this.currentStage < 3) {
|
|
1494
|
-
this.dynamicStagePromise.promise.catch(ignoreReject);
|
|
1495
|
-
this.dynamicStagePromise.reject(reason);
|
|
1496
|
-
}
|
|
1497
|
-
}, {
|
|
1498
|
-
once: true
|
|
1499
|
-
});
|
|
1500
|
-
}
|
|
1501
|
-
}
|
|
1502
|
-
advanceStage(stage) {
|
|
1503
|
-
if (this.currentStage >= stage) {
|
|
1504
|
-
return;
|
|
1505
|
-
}
|
|
1506
|
-
this.currentStage = stage;
|
|
1507
|
-
if (stage >= 2) {
|
|
1508
|
-
this.runtimeStagePromise.resolve();
|
|
1509
|
-
}
|
|
1510
|
-
if (stage >= 3) {
|
|
1511
|
-
this.dynamicStagePromise.resolve();
|
|
1512
|
-
}
|
|
1513
|
-
}
|
|
1514
|
-
getStagePromise(stage) {
|
|
1515
|
-
switch (stage) {
|
|
1516
|
-
case 2: {
|
|
1517
|
-
return this.runtimeStagePromise.promise;
|
|
1518
|
-
}
|
|
1519
|
-
case 3: {
|
|
1520
|
-
return this.dynamicStagePromise.promise;
|
|
1521
|
-
}
|
|
1522
|
-
default: {
|
|
1523
|
-
throw Object.defineProperty(new _invarianterror.InvariantError(`Invalid render stage: ${stage}`), "__NEXT_ERROR_CODE", {
|
|
1524
|
-
value: "E881",
|
|
1525
|
-
enumerable: false,
|
|
1526
|
-
configurable: true
|
|
1527
|
-
});
|
|
1528
|
-
}
|
|
1529
|
-
}
|
|
1530
|
-
}
|
|
1531
|
-
waitForStage(stage) {
|
|
1532
|
-
return this.getStagePromise(stage);
|
|
1533
|
-
}
|
|
1534
|
-
delayUntilStage(stage, displayName, resolvedValue) {
|
|
1535
|
-
const ioTriggerPromise = this.getStagePromise(stage);
|
|
1536
|
-
const promise = makeDevtoolsIOPromiseFromIOTrigger(ioTriggerPromise, displayName, resolvedValue);
|
|
1537
|
-
if (this.abortSignal) {
|
|
1538
|
-
promise.catch(ignoreReject);
|
|
1539
|
-
}
|
|
1540
|
-
return promise;
|
|
1541
|
-
}
|
|
1542
|
-
}
|
|
1543
|
-
function ignoreReject() {
|
|
1544
|
-
}
|
|
1545
|
-
function makeDevtoolsIOPromiseFromIOTrigger(ioTrigger, displayName, resolvedValue) {
|
|
1546
|
-
const promise = new Promise((resolve, reject) => {
|
|
1547
|
-
ioTrigger.then(resolve.bind(null, resolvedValue), reject);
|
|
1548
|
-
});
|
|
1549
|
-
if (displayName !== void 0) {
|
|
1550
|
-
promise.displayName = displayName;
|
|
1551
|
-
}
|
|
1552
|
-
return promise;
|
|
1553
|
-
}
|
|
1554
|
-
})(stagedRendering);
|
|
1555
|
-
return stagedRendering;
|
|
1556
|
-
}
|
|
1557
1426
|
var hasRequiredDynamicRendering;
|
|
1558
1427
|
function requireDynamicRendering() {
|
|
1559
1428
|
if (hasRequiredDynamicRendering) return dynamicRendering;
|
|
@@ -1611,6 +1480,9 @@ function requireDynamicRendering() {
|
|
|
1611
1480
|
getFirstDynamicReason: function() {
|
|
1612
1481
|
return getFirstDynamicReason;
|
|
1613
1482
|
},
|
|
1483
|
+
getStaticShellDisallowedDynamicReasons: function() {
|
|
1484
|
+
return getStaticShellDisallowedDynamicReasons;
|
|
1485
|
+
},
|
|
1614
1486
|
isDynamicPostpone: function() {
|
|
1615
1487
|
return isDynamicPostpone;
|
|
1616
1488
|
},
|
|
@@ -1638,8 +1510,11 @@ function requireDynamicRendering() {
|
|
|
1638
1510
|
trackDynamicDataInDynamicRender: function() {
|
|
1639
1511
|
return trackDynamicDataInDynamicRender;
|
|
1640
1512
|
},
|
|
1641
|
-
|
|
1642
|
-
return
|
|
1513
|
+
trackDynamicHoleInRuntimeShell: function() {
|
|
1514
|
+
return trackDynamicHoleInRuntimeShell;
|
|
1515
|
+
},
|
|
1516
|
+
trackDynamicHoleInStaticShell: function() {
|
|
1517
|
+
return trackDynamicHoleInStaticShell;
|
|
1643
1518
|
},
|
|
1644
1519
|
useDynamicRouteParams: function() {
|
|
1645
1520
|
return useDynamicRouteParams;
|
|
@@ -1658,7 +1533,6 @@ function requireDynamicRendering() {
|
|
|
1658
1533
|
const _scheduler = requireScheduler();
|
|
1659
1534
|
const _bailouttocsr = requireBailoutToCsr();
|
|
1660
1535
|
const _invarianterror = link.requireInvariantError();
|
|
1661
|
-
const _stagedrendering = requireStagedRendering();
|
|
1662
1536
|
function _interop_require_default(obj) {
|
|
1663
1537
|
return obj && obj.__esModule ? obj : {
|
|
1664
1538
|
default: obj
|
|
@@ -1676,6 +1550,7 @@ function requireDynamicRendering() {
|
|
|
1676
1550
|
return {
|
|
1677
1551
|
hasSuspenseAboveBody: false,
|
|
1678
1552
|
hasDynamicMetadata: false,
|
|
1553
|
+
dynamicMetadata: null,
|
|
1679
1554
|
hasDynamicViewport: false,
|
|
1680
1555
|
hasAllowedDynamic: false,
|
|
1681
1556
|
dynamicErrors: []
|
|
@@ -1779,11 +1654,6 @@ function requireDynamicRendering() {
|
|
|
1779
1654
|
}
|
|
1780
1655
|
}
|
|
1781
1656
|
}
|
|
1782
|
-
function trackSynchronousPlatformIOAccessInDev(requestStore) {
|
|
1783
|
-
if (requestStore.stagedRendering) {
|
|
1784
|
-
requestStore.stagedRendering.advanceStage(_stagedrendering.RenderStage.Dynamic);
|
|
1785
|
-
}
|
|
1786
|
-
}
|
|
1787
1657
|
function abortAndThrowOnSynchronousRequestDataAccess(route, expression, errorWithStack, prerenderStore) {
|
|
1788
1658
|
const prerenderSignal = prerenderStore.controller.signal;
|
|
1789
1659
|
if (prerenderSignal.aborted === false) {
|
|
@@ -2038,6 +1908,66 @@ ${stack}`;
|
|
|
2038
1908
|
return;
|
|
2039
1909
|
}
|
|
2040
1910
|
}
|
|
1911
|
+
function trackDynamicHoleInRuntimeShell(workStore, componentStack, dynamicValidation, clientDynamic) {
|
|
1912
|
+
if (hasOutletRegex.test(componentStack)) {
|
|
1913
|
+
return;
|
|
1914
|
+
} else if (hasMetadataRegex.test(componentStack)) {
|
|
1915
|
+
const message = `Route "${workStore.route}": Uncached data or \`connection()\` was accessed inside \`generateMetadata\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;
|
|
1916
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
1917
|
+
dynamicValidation.dynamicMetadata = error;
|
|
1918
|
+
return;
|
|
1919
|
+
} else if (hasViewportRegex.test(componentStack)) {
|
|
1920
|
+
const message = `Route "${workStore.route}": Uncached data or \`connection()\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;
|
|
1921
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
1922
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
1923
|
+
return;
|
|
1924
|
+
} else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {
|
|
1925
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
1926
|
+
dynamicValidation.hasSuspenseAboveBody = true;
|
|
1927
|
+
return;
|
|
1928
|
+
} else if (hasSuspenseRegex.test(componentStack)) {
|
|
1929
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
1930
|
+
return;
|
|
1931
|
+
} else if (clientDynamic.syncDynamicErrorWithStack) {
|
|
1932
|
+
dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);
|
|
1933
|
+
return;
|
|
1934
|
+
} else {
|
|
1935
|
+
const message = `Route "${workStore.route}": Uncached data or \`connection()\` was accessed outside of \`<Suspense>\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;
|
|
1936
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
1937
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
1938
|
+
return;
|
|
1939
|
+
}
|
|
1940
|
+
}
|
|
1941
|
+
function trackDynamicHoleInStaticShell(workStore, componentStack, dynamicValidation, clientDynamic) {
|
|
1942
|
+
if (hasOutletRegex.test(componentStack)) {
|
|
1943
|
+
return;
|
|
1944
|
+
} else if (hasMetadataRegex.test(componentStack)) {
|
|
1945
|
+
const message = `Route "${workStore.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateMetadata\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;
|
|
1946
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
1947
|
+
dynamicValidation.dynamicMetadata = error;
|
|
1948
|
+
return;
|
|
1949
|
+
} else if (hasViewportRegex.test(componentStack)) {
|
|
1950
|
+
const message = `Route "${workStore.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;
|
|
1951
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
1952
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
1953
|
+
return;
|
|
1954
|
+
} else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {
|
|
1955
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
1956
|
+
dynamicValidation.hasSuspenseAboveBody = true;
|
|
1957
|
+
return;
|
|
1958
|
+
} else if (hasSuspenseRegex.test(componentStack)) {
|
|
1959
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
1960
|
+
return;
|
|
1961
|
+
} else if (clientDynamic.syncDynamicErrorWithStack) {
|
|
1962
|
+
dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);
|
|
1963
|
+
return;
|
|
1964
|
+
} else {
|
|
1965
|
+
const message = `Route "${workStore.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed outside of \`<Suspense>\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;
|
|
1966
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
1967
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
1968
|
+
return;
|
|
1969
|
+
}
|
|
1970
|
+
}
|
|
2041
1971
|
function createErrorWithComponentOrOwnerStack(message, componentStack) {
|
|
2042
1972
|
const ownerStack = process.env.NODE_ENV !== "production" && _react.default.captureOwnerStack ? _react.default.captureOwnerStack() : null;
|
|
2043
1973
|
const error = Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", {
|
|
@@ -2045,7 +1975,7 @@ ${stack}`;
|
|
|
2045
1975
|
enumerable: false,
|
|
2046
1976
|
configurable: true
|
|
2047
1977
|
});
|
|
2048
|
-
error.stack = error.name + ": " + message + (ownerStack
|
|
1978
|
+
error.stack = error.name + ": " + message + (ownerStack || componentStack);
|
|
2049
1979
|
return error;
|
|
2050
1980
|
}
|
|
2051
1981
|
var PreludeState = /* @__PURE__ */ (function(PreludeState2) {
|
|
@@ -2097,6 +2027,33 @@ ${stack}`;
|
|
|
2097
2027
|
}
|
|
2098
2028
|
}
|
|
2099
2029
|
}
|
|
2030
|
+
function getStaticShellDisallowedDynamicReasons(workStore, prelude, dynamicValidation) {
|
|
2031
|
+
if (dynamicValidation.hasSuspenseAboveBody) {
|
|
2032
|
+
return [];
|
|
2033
|
+
}
|
|
2034
|
+
if (prelude !== 0) {
|
|
2035
|
+
const dynamicErrors = dynamicValidation.dynamicErrors;
|
|
2036
|
+
if (dynamicErrors.length > 0) {
|
|
2037
|
+
return dynamicErrors;
|
|
2038
|
+
}
|
|
2039
|
+
if (prelude === 1) {
|
|
2040
|
+
return [
|
|
2041
|
+
Object.defineProperty(new _invarianterror.InvariantError(`Route "${workStore.route}" did not produce a static shell and Next.js was unable to determine a reason.`), "__NEXT_ERROR_CODE", {
|
|
2042
|
+
value: "E936",
|
|
2043
|
+
enumerable: false,
|
|
2044
|
+
configurable: true
|
|
2045
|
+
})
|
|
2046
|
+
];
|
|
2047
|
+
}
|
|
2048
|
+
} else {
|
|
2049
|
+
if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.dynamicErrors.length === 0 && dynamicValidation.dynamicMetadata) {
|
|
2050
|
+
return [
|
|
2051
|
+
dynamicValidation.dynamicMetadata
|
|
2052
|
+
];
|
|
2053
|
+
}
|
|
2054
|
+
}
|
|
2055
|
+
return [];
|
|
2056
|
+
}
|
|
2100
2057
|
function delayUntilRuntimeStage(prerenderStore, result) {
|
|
2101
2058
|
if (prerenderStore.runtimeStagePromise) {
|
|
2102
2059
|
return prerenderStore.runtimeStagePromise.then(() => result);
|
|
@@ -2278,8 +2235,10 @@ function requireNavigation$1() {
|
|
|
2278
2235
|
});
|
|
2279
2236
|
}
|
|
2280
2237
|
_export(exports$1, {
|
|
2238
|
+
// We need the same class that was used to instantiate the context value
|
|
2239
|
+
// Otherwise instanceof checks will fail in usercode
|
|
2281
2240
|
ReadonlyURLSearchParams: function() {
|
|
2282
|
-
return
|
|
2241
|
+
return _hooksclientcontextsharedruntime.ReadonlyURLSearchParams;
|
|
2283
2242
|
},
|
|
2284
2243
|
RedirectType: function() {
|
|
2285
2244
|
return _navigationreactserver.RedirectType;
|
|
@@ -2335,7 +2294,6 @@ function requireNavigation$1() {
|
|
|
2335
2294
|
const _approutercontextsharedruntime = requireAppRouterContext_sharedRuntime();
|
|
2336
2295
|
const _hooksclientcontextsharedruntime = requireHooksClientContext_sharedRuntime();
|
|
2337
2296
|
const _segment = link.requireSegment();
|
|
2338
|
-
const _readonlyurlsearchparams = requireReadonlyUrlSearchParams();
|
|
2339
2297
|
const _serverinsertedhtmlsharedruntime = requireServerInsertedHtml_sharedRuntime();
|
|
2340
2298
|
const _unrecognizedactionerror = requireUnrecognizedActionError();
|
|
2341
2299
|
const _navigationreactserver = requireNavigation_reactServer();
|
|
@@ -2348,7 +2306,7 @@ function requireNavigation$1() {
|
|
|
2348
2306
|
if (!searchParams) {
|
|
2349
2307
|
return null;
|
|
2350
2308
|
}
|
|
2351
|
-
return new
|
|
2309
|
+
return new _hooksclientcontextsharedruntime.ReadonlyURLSearchParams(searchParams);
|
|
2352
2310
|
}, [
|
|
2353
2311
|
searchParams
|
|
2354
2312
|
]);
|
|
@@ -2440,4 +2398,4 @@ function requireNavigation() {
|
|
|
2440
2398
|
}
|
|
2441
2399
|
var navigationExports = requireNavigation();
|
|
2442
2400
|
exports.navigationExports = navigationExports;
|
|
2443
|
-
//# sourceMappingURL=navigation-
|
|
2401
|
+
//# sourceMappingURL=navigation-C3npGZmO.cjs.map
|