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.
Files changed (228) hide show
  1. package/dist/core/{FileUpload-C0eHx1h8.js → FileUpload-9fIxslAo.js} +2 -2
  2. package/dist/core/{FileUpload-C0eHx1h8.js.map → FileUpload-9fIxslAo.js.map} +1 -1
  3. package/dist/core/{FileUpload-BJ3RJxT3.cjs → FileUpload-DbMxpH-U.cjs} +2 -2
  4. package/dist/core/{FileUpload-BJ3RJxT3.cjs.map → FileUpload-DbMxpH-U.cjs.map} +1 -1
  5. package/dist/core/FileUpload.cjs.js +1 -1
  6. package/dist/core/FileUpload.js +1 -1
  7. package/dist/core/{MessagePopup-B3lEfar7.js → MessagePopup-BMGIVKoJ.js} +4 -4
  8. package/dist/core/{MessagePopup-B3lEfar7.js.map → MessagePopup-BMGIVKoJ.js.map} +1 -1
  9. package/dist/core/{MessagePopup-CtdpuRFv.cjs → MessagePopup-DQQKRCGF.cjs} +4 -4
  10. package/dist/core/{MessagePopup-CtdpuRFv.cjs.map → MessagePopup-DQQKRCGF.cjs.map} +1 -1
  11. package/dist/core/MessagePopup.cjs.js +4 -0
  12. package/dist/core/MessagePopup.cjs.js.map +1 -0
  13. package/dist/core/MessagePopup.js +5 -0
  14. package/dist/core/MessagePopup.js.map +1 -0
  15. package/dist/core/{ProgressBar-DaA5vvnq.js → ProgressBar-BLcSyVgQ.js} +51 -21
  16. package/dist/core/ProgressBar-BLcSyVgQ.js.map +1 -0
  17. package/dist/core/{ProgressBar-BwjYOqoE.cjs → ProgressBar-BbIZLV1t.cjs} +50 -20
  18. package/dist/core/ProgressBar-BbIZLV1t.cjs.map +1 -0
  19. package/dist/core/ProgressBar.cjs.js +1 -1
  20. package/dist/core/ProgressBar.js +1 -1
  21. package/dist/core/{Taginput-BXCxdLf0.cjs → TagInput-BXCxdLf0.cjs} +1 -1
  22. package/dist/core/TagInput-BXCxdLf0.cjs.map +1 -0
  23. package/dist/core/{Taginput-CoxxwLXg.js → TagInput-CoxxwLXg.js} +1 -1
  24. package/dist/core/TagInput-CoxxwLXg.js.map +1 -0
  25. package/dist/core/TagInput.cjs.js +2 -2
  26. package/dist/core/TagInput.js +1 -1
  27. package/dist/core/boreal-ui.css +31 -0
  28. package/dist/core/index.cjs.js +6 -6
  29. package/dist/core/index.js +5 -5
  30. package/dist/next/{Avatar-B-Ws4Ueo.js → Avatar-B24bFFqY.js} +3 -3
  31. package/dist/next/{Avatar-B-Ws4Ueo.js.map → Avatar-B24bFFqY.js.map} +1 -1
  32. package/dist/next/{Avatar-B9sMyRWr.cjs → Avatar-CPaxiA0r.cjs} +3 -3
  33. package/dist/next/{Avatar-B9sMyRWr.cjs.map → Avatar-CPaxiA0r.cjs.map} +1 -1
  34. package/dist/next/Avatar.cjs.js +1 -1
  35. package/dist/next/Avatar.js +1 -1
  36. package/dist/next/{Breadcrumbs-CrKRsQf3.cjs → Breadcrumbs-BlFi63K8.cjs} +3 -3
  37. package/dist/next/{Breadcrumbs-CrKRsQf3.cjs.map → Breadcrumbs-BlFi63K8.cjs.map} +1 -1
  38. package/dist/next/{Breadcrumbs-ZK64MIGd.js → Breadcrumbs-D9BMYEZi.js} +3 -3
  39. package/dist/next/{Breadcrumbs-ZK64MIGd.js.map → Breadcrumbs-D9BMYEZi.js.map} +1 -1
  40. package/dist/next/Breadcrumbs.cjs.js +1 -1
  41. package/dist/next/Breadcrumbs.js +1 -1
  42. package/dist/next/{Button-BI0LErYM.cjs → Button-DPoX7ahh.cjs} +2 -2
  43. package/dist/next/{Button-BI0LErYM.cjs.map → Button-DPoX7ahh.cjs.map} +1 -1
  44. package/dist/next/{Button-qs4m4zx0.js → Button-DhH3Gy0J.js} +2 -2
  45. package/dist/next/{Button-qs4m4zx0.js.map → Button-DhH3Gy0J.js.map} +1 -1
  46. package/dist/next/Button.cjs.js +1 -1
  47. package/dist/next/Button.js +1 -1
  48. package/dist/next/{Card-Da7D02Sj.js → Card-4SKxHmOQ.js} +4 -4
  49. package/dist/next/{Card-Da7D02Sj.js.map → Card-4SKxHmOQ.js.map} +1 -1
  50. package/dist/next/{Card-C0SorjuI.cjs → Card-BdzmlYGf.cjs} +4 -4
  51. package/dist/next/{Card-C0SorjuI.cjs.map → Card-BdzmlYGf.cjs.map} +1 -1
  52. package/dist/next/Card.cjs.js +1 -1
  53. package/dist/next/Card.js +1 -1
  54. package/dist/next/{Chip-D2mvW5L7.js → Chip-BqMZEDW_.js} +2 -2
  55. package/dist/next/{Chip-D2mvW5L7.js.map → Chip-BqMZEDW_.js.map} +1 -1
  56. package/dist/next/{Chip-BWTBVAIE.cjs → Chip-CqvlZI-K.cjs} +2 -2
  57. package/dist/next/{Chip-BWTBVAIE.cjs.map → Chip-CqvlZI-K.cjs.map} +1 -1
  58. package/dist/next/Chip.cjs.js +1 -1
  59. package/dist/next/Chip.js +1 -1
  60. package/dist/next/{CommandPalette-BO6R9zQs.cjs → CommandPalette-C0NN-NWE.cjs} +2 -2
  61. package/dist/next/{CommandPalette-BO6R9zQs.cjs.map → CommandPalette-C0NN-NWE.cjs.map} +1 -1
  62. package/dist/next/{CommandPalette-CN0BiN0R.js → CommandPalette-vklqlRV0.js} +2 -2
  63. package/dist/next/{CommandPalette-CN0BiN0R.js.map → CommandPalette-vklqlRV0.js.map} +1 -1
  64. package/dist/next/CommandPalette.cjs.js +1 -1
  65. package/dist/next/CommandPalette.js +1 -1
  66. package/dist/next/{Dropdown-Czc7qKPn.js → Dropdown-BjxT8ivq.js} +2 -2
  67. package/dist/next/{Dropdown-Czc7qKPn.js.map → Dropdown-BjxT8ivq.js.map} +1 -1
  68. package/dist/next/{Dropdown-BnuZW883.cjs → Dropdown-IW2Ph6-e.cjs} +2 -2
  69. package/dist/next/{Dropdown-BnuZW883.cjs.map → Dropdown-IW2Ph6-e.cjs.map} +1 -1
  70. package/dist/next/Dropdown.cjs.js +1 -1
  71. package/dist/next/Dropdown.js +1 -1
  72. package/dist/next/{EmptyState-Bb90F-ej.cjs → EmptyState-BS6-CuHp.cjs} +2 -2
  73. package/dist/next/{EmptyState-Bb90F-ej.cjs.map → EmptyState-BS6-CuHp.cjs.map} +1 -1
  74. package/dist/next/{EmptyState-Brd4N36F.js → EmptyState-D_Gcrj_3.js} +2 -2
  75. package/dist/next/{EmptyState-Brd4N36F.js.map → EmptyState-D_Gcrj_3.js.map} +1 -1
  76. package/dist/next/EmptyState.cjs.js +1 -1
  77. package/dist/next/EmptyState.js +1 -1
  78. package/dist/next/{FileUpload-Drm5_xEx.cjs → FileUpload-Cj99fQhe.cjs} +4 -4
  79. package/dist/next/{FileUpload-Drm5_xEx.cjs.map → FileUpload-Cj99fQhe.cjs.map} +1 -1
  80. package/dist/next/{FileUpload-BMMpH1El.js → FileUpload-St2eEaTn.js} +4 -4
  81. package/dist/next/{FileUpload-BMMpH1El.js.map → FileUpload-St2eEaTn.js.map} +1 -1
  82. package/dist/next/FileUpload.cjs.js +1 -1
  83. package/dist/next/FileUpload.js +1 -1
  84. package/dist/next/{Footer-EF2-ryvY.cjs → Footer-B3KTDWBR.cjs} +4 -4
  85. package/dist/next/{Footer-EF2-ryvY.cjs.map → Footer-B3KTDWBR.cjs.map} +1 -1
  86. package/dist/next/{Footer-B6_LG958.js → Footer-dtGtOPyR.js} +4 -4
  87. package/dist/next/{Footer-B6_LG958.js.map → Footer-dtGtOPyR.js.map} +1 -1
  88. package/dist/next/Footer.cjs.js +1 -1
  89. package/dist/next/Footer.js +1 -1
  90. package/dist/next/{IconButton-BTUFKRZt.js → IconButton-Ct3YtlG9.js} +2 -2
  91. package/dist/next/{IconButton-BTUFKRZt.js.map → IconButton-Ct3YtlG9.js.map} +1 -1
  92. package/dist/next/{IconButton-2l-_HOMB.cjs → IconButton-aF7cTy19.cjs} +2 -2
  93. package/dist/next/{IconButton-2l-_HOMB.cjs.map → IconButton-aF7cTy19.cjs.map} +1 -1
  94. package/dist/next/IconButton.cjs.js +1 -1
  95. package/dist/next/IconButton.js +1 -1
  96. package/dist/next/{MessagePopup-WUBGyJ_F.js → MessagePopup-C4n0Qw7n.js} +6 -6
  97. package/dist/next/{MessagePopup-WUBGyJ_F.js.map → MessagePopup-C4n0Qw7n.js.map} +1 -1
  98. package/dist/next/{MessagePopup-DsquzWSn.cjs → MessagePopup-CwOeZAAM.cjs} +6 -6
  99. package/dist/next/{MessagePopup-DsquzWSn.cjs.map → MessagePopup-CwOeZAAM.cjs.map} +1 -1
  100. package/dist/next/MessagePopup.cjs.js +4 -0
  101. package/dist/next/MessagePopup.cjs.js.map +1 -0
  102. package/dist/next/MessagePopup.js +5 -0
  103. package/dist/next/MessagePopup.js.map +1 -0
  104. package/dist/next/{Modal-B2ilLCoi.js → Modal-CIzoBs9H.js} +2 -2
  105. package/dist/next/{Modal-B2ilLCoi.js.map → Modal-CIzoBs9H.js.map} +1 -1
  106. package/dist/next/{Modal-CVKVAEdd.cjs → Modal-DCNGQN70.cjs} +2 -2
  107. package/dist/next/{Modal-CVKVAEdd.cjs.map → Modal-DCNGQN70.cjs.map} +1 -1
  108. package/dist/next/Modal.cjs.js +1 -1
  109. package/dist/next/Modal.js +1 -1
  110. package/dist/next/{NavBar-DVEf0iJH.cjs → NavBar-DDu46bCF.cjs} +3 -3
  111. package/dist/next/{NavBar-DVEf0iJH.cjs.map → NavBar-DDu46bCF.cjs.map} +1 -1
  112. package/dist/next/{NavBar-CmvgkEZt.js → NavBar-DyI3rKSN.js} +3 -3
  113. package/dist/next/{NavBar-CmvgkEZt.js.map → NavBar-DyI3rKSN.js.map} +1 -1
  114. package/dist/next/NavBar.cjs.js +1 -1
  115. package/dist/next/NavBar.js +1 -1
  116. package/dist/next/{NotificationCenter-CtM10CVj.js → NotificationCenter-BIuKaeXk.js} +3 -3
  117. package/dist/next/{NotificationCenter-CtM10CVj.js.map → NotificationCenter-BIuKaeXk.js.map} +1 -1
  118. package/dist/next/{NotificationCenter-CtL6rozQ.cjs → NotificationCenter-CzdOOnWg.cjs} +3 -3
  119. package/dist/next/{NotificationCenter-CtL6rozQ.cjs.map → NotificationCenter-CzdOOnWg.cjs.map} +1 -1
  120. package/dist/next/NotificationCenter.cjs.js +1 -1
  121. package/dist/next/NotificationCenter.js +1 -1
  122. package/dist/next/{Pager-Bxxewb8I.cjs → Pager-C6vww_Lf.cjs} +3 -3
  123. package/dist/next/{Pager-Bxxewb8I.cjs.map → Pager-C6vww_Lf.cjs.map} +1 -1
  124. package/dist/next/{Pager-D0Mw7o7v.js → Pager-DkXLe3dd.js} +3 -3
  125. package/dist/next/{Pager-D0Mw7o7v.js.map → Pager-DkXLe3dd.js.map} +1 -1
  126. package/dist/next/Pager.cjs.js +1 -1
  127. package/dist/next/Pager.js +1 -1
  128. package/dist/next/ProgressBar-BM0Rp63R.js +188 -0
  129. package/dist/next/ProgressBar-BM0Rp63R.js.map +1 -0
  130. package/dist/next/ProgressBar-CDhjp_gn.cjs +187 -0
  131. package/dist/next/ProgressBar-CDhjp_gn.cjs.map +1 -0
  132. package/dist/next/ProgressBar.cjs.js +1 -1
  133. package/dist/next/ProgressBar.js +1 -1
  134. package/dist/next/{Sidebar-DajVSn82.cjs → Sidebar-CBC-Gu5d.cjs} +3 -3
  135. package/dist/next/{Sidebar-DajVSn82.cjs.map → Sidebar-CBC-Gu5d.cjs.map} +1 -1
  136. package/dist/next/{Sidebar-CJ4VrQIW.js → Sidebar-oJzZMxwu.js} +3 -3
  137. package/dist/next/{Sidebar-CJ4VrQIW.js.map → Sidebar-oJzZMxwu.js.map} +1 -1
  138. package/dist/next/Sidebar.cjs.js +1 -1
  139. package/dist/next/Sidebar.js +1 -1
  140. package/dist/next/{Stepper-BvA_ZAho.js → Stepper-DBwramgz.js} +2 -2
  141. package/dist/next/{Stepper-BvA_ZAho.js.map → Stepper-DBwramgz.js.map} +1 -1
  142. package/dist/next/{Stepper-D6X70Sr6.cjs → Stepper-YQqjSOG0.cjs} +2 -2
  143. package/dist/next/{Stepper-D6X70Sr6.cjs.map → Stepper-YQqjSOG0.cjs.map} +1 -1
  144. package/dist/next/Stepper.cjs.js +1 -1
  145. package/dist/next/Stepper.js +1 -1
  146. package/dist/next/{TagInput-DfNJiPKh.cjs → TagInput-B38cJqaG.cjs} +3 -3
  147. package/dist/next/TagInput-B38cJqaG.cjs.map +1 -0
  148. package/dist/next/{TagInput-DKzxPiwU.js → TagInput-BDbDZ1W8.js} +3 -3
  149. package/dist/next/TagInput-BDbDZ1W8.js.map +1 -0
  150. package/dist/next/TagInput.cjs.js +1 -1
  151. package/dist/next/TagInput.js +1 -1
  152. package/dist/next/{TextInput-C1TUvbWx.cjs → TextInput-C3cLfd6E.cjs} +2 -2
  153. package/dist/next/{TextInput-C1TUvbWx.cjs.map → TextInput-C3cLfd6E.cjs.map} +1 -1
  154. package/dist/next/{TextInput-CyGkgvS3.js → TextInput-D68lumzk.js} +2 -2
  155. package/dist/next/{TextInput-CyGkgvS3.js.map → TextInput-D68lumzk.js.map} +1 -1
  156. package/dist/next/TextInput.cjs.js +1 -1
  157. package/dist/next/TextInput.js +1 -1
  158. package/dist/next/{Toolbar-PwnuYGDR.cjs → Toolbar-B-APlNjI.cjs} +2 -2
  159. package/dist/next/{Toolbar-PwnuYGDR.cjs.map → Toolbar-B-APlNjI.cjs.map} +1 -1
  160. package/dist/next/{Toolbar-wbusnAUV.js → Toolbar-DHyc9uqa.js} +2 -2
  161. package/dist/next/{Toolbar-wbusnAUV.js.map → Toolbar-DHyc9uqa.js.map} +1 -1
  162. package/dist/next/Toolbar.cjs.js +1 -1
  163. package/dist/next/Toolbar.js +1 -1
  164. package/dist/next/boreal-ui.css +122 -72
  165. package/dist/next/{image-BBS8QO15.js → image-B9PuwflE.js} +47 -3
  166. package/dist/next/image-B9PuwflE.js.map +1 -0
  167. package/dist/next/{image-A4nTeRaX.cjs → image-Bo_vHlt1.cjs} +47 -3
  168. package/dist/next/image-Bo_vHlt1.cjs.map +1 -0
  169. package/dist/next/index.cjs.js +23 -23
  170. package/dist/next/index.js +23 -23
  171. package/dist/next/{link-lNk_lOdS.cjs → link-B1N-q38H.cjs} +276 -49
  172. package/dist/next/link-B1N-q38H.cjs.map +1 -0
  173. package/dist/next/{link-CxWP3aXr.js → link-CyxHztrS.js} +276 -49
  174. package/dist/next/link-CyxHztrS.js.map +1 -0
  175. package/dist/next/{navigation-DxXFNXZM.js → navigation-C2hD8Jlk.js} +157 -199
  176. package/dist/next/navigation-C2hD8Jlk.js.map +1 -0
  177. package/dist/next/{navigation-CZU71Pmb.cjs → navigation-C3npGZmO.cjs} +157 -199
  178. package/dist/next/navigation-C3npGZmO.cjs.map +1 -0
  179. package/dist/tsconfig.build.tsbuildinfo +1 -1
  180. package/dist/types/components/{MessagePopUp → MessagePopup}/MessagePopup.types.d.ts +2 -2
  181. package/dist/types/components/{MessagePopUp → MessagePopup}/MessagePopup.types.d.ts.map +1 -1
  182. package/dist/types/components/{MessagePopUp → MessagePopup}/MessagePopupBase.d.ts.map +1 -1
  183. package/dist/types/components/MessagePopup/core/MessagePopup.d.ts +6 -0
  184. package/dist/types/components/{MessagePopUp → MessagePopup}/core/MessagePopup.d.ts.map +1 -1
  185. package/dist/types/components/MessagePopup/next/MessagePopup.d.ts +5 -0
  186. package/dist/types/components/{MessagePopUp → MessagePopup}/next/MessagePopup.d.ts.map +1 -1
  187. package/dist/types/components/ProgressBar/ProgressBar.types.d.ts +10 -1
  188. package/dist/types/components/ProgressBar/ProgressBar.types.d.ts.map +1 -1
  189. package/dist/types/components/ProgressBar/ProgressBarBase.d.ts.map +1 -1
  190. package/dist/types/components/ProgressBar/core/ProgressBar.d.ts.map +1 -1
  191. package/dist/types/components/TagInput/{Taginput.types.d.ts → TagInput.types.d.ts} +1 -1
  192. package/dist/types/components/TagInput/{Taginput.types.d.ts.map → TagInput.types.d.ts.map} +1 -1
  193. package/dist/types/components/TagInput/TagInputBase.d.ts +1 -1
  194. package/dist/types/components/TagInput/core/TagInput.d.ts +6 -0
  195. package/dist/types/components/TagInput/core/{Taginput.d.ts.map → TagInput.d.ts.map} +1 -1
  196. package/dist/types/components/TagInput/next/TagInput.d.ts +1 -1
  197. package/dist/types/index.core.d.ts +2 -2
  198. package/dist/types/index.next.d.ts +1 -1
  199. package/dist/types/public.types.d.ts +2 -2
  200. package/package.json +8 -8
  201. package/dist/core/MessagePopUp.cjs.js +0 -4
  202. package/dist/core/MessagePopUp.cjs.js.map +0 -1
  203. package/dist/core/MessagePopUp.js +0 -5
  204. package/dist/core/MessagePopUp.js.map +0 -1
  205. package/dist/core/ProgressBar-BwjYOqoE.cjs.map +0 -1
  206. package/dist/core/ProgressBar-DaA5vvnq.js.map +0 -1
  207. package/dist/core/Taginput-BXCxdLf0.cjs.map +0 -1
  208. package/dist/core/Taginput-CoxxwLXg.js.map +0 -1
  209. package/dist/next/MessagePopUp.cjs.js +0 -4
  210. package/dist/next/MessagePopUp.cjs.js.map +0 -1
  211. package/dist/next/MessagePopUp.js +0 -5
  212. package/dist/next/MessagePopUp.js.map +0 -1
  213. package/dist/next/ProgressBar-BMuv0kis.cjs +0 -151
  214. package/dist/next/ProgressBar-BMuv0kis.cjs.map +0 -1
  215. package/dist/next/ProgressBar-DuaWQouO.js +0 -152
  216. package/dist/next/ProgressBar-DuaWQouO.js.map +0 -1
  217. package/dist/next/TagInput-DKzxPiwU.js.map +0 -1
  218. package/dist/next/TagInput-DfNJiPKh.cjs.map +0 -1
  219. package/dist/next/image-A4nTeRaX.cjs.map +0 -1
  220. package/dist/next/image-BBS8QO15.js.map +0 -1
  221. package/dist/next/link-CxWP3aXr.js.map +0 -1
  222. package/dist/next/link-lNk_lOdS.cjs.map +0 -1
  223. package/dist/next/navigation-CZU71Pmb.cjs.map +0 -1
  224. package/dist/next/navigation-DxXFNXZM.js.map +0 -1
  225. package/dist/types/components/MessagePopUp/core/MessagePopup.d.ts +0 -6
  226. package/dist/types/components/MessagePopUp/next/MessagePopup.d.ts +0 -5
  227. package/dist/types/components/TagInput/core/Taginput.d.ts +0 -6
  228. /package/dist/types/components/{MessagePopUp → MessagePopup}/MessagePopupBase.d.ts +0 -0
@@ -965,6 +965,9 @@ function requireSegment() {
965
965
  DEFAULT_SEGMENT_KEY: function() {
966
966
  return DEFAULT_SEGMENT_KEY;
967
967
  },
968
+ NOT_FOUND_SEGMENT_KEY: function() {
969
+ return NOT_FOUND_SEGMENT_KEY;
970
+ },
968
971
  PAGE_SEGMENT_KEY: function() {
969
972
  return PAGE_SEGMENT_KEY;
970
973
  },
@@ -1030,6 +1033,7 @@ function requireSegment() {
1030
1033
  }
1031
1034
  const PAGE_SEGMENT_KEY = "__PAGE__";
1032
1035
  const DEFAULT_SEGMENT_KEY = "__DEFAULT__";
1036
+ const NOT_FOUND_SEGMENT_KEY = "/_not-found";
1033
1037
  })(segment);
1034
1038
  return segment;
1035
1039
  }
@@ -1984,9 +1988,6 @@ function requireConstants() {
1984
1988
  RSC_MOD_REF_PROXY_ALIAS: function() {
1985
1989
  return RSC_MOD_REF_PROXY_ALIAS;
1986
1990
  },
1987
- RSC_PREFETCH_SUFFIX: function() {
1988
- return RSC_PREFETCH_SUFFIX;
1989
- },
1990
1991
  RSC_SEGMENTS_DIR_SUFFIX: function() {
1991
1992
  return RSC_SEGMENTS_DIR_SUFFIX;
1992
1993
  },
@@ -2041,7 +2042,6 @@ function requireConstants() {
2041
2042
  const MATCHED_PATH_HEADER = "x-matched-path";
2042
2043
  const PRERENDER_REVALIDATE_HEADER = "x-prerender-revalidate";
2043
2044
  const PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER = "x-prerender-revalidate-if-generated";
2044
- const RSC_PREFETCH_SUFFIX = ".prefetch.rsc";
2045
2045
  const RSC_SEGMENTS_DIR_SUFFIX = ".segments";
2046
2046
  const RSC_SEGMENT_SUFFIX = ".segment.rsc";
2047
2047
  const RSC_SUFFIX = ".rsc";
@@ -2289,6 +2289,7 @@ function requireParseLoaderTree() {
2289
2289
  })(parseLoaderTree);
2290
2290
  return parseLoaderTree;
2291
2291
  }
2292
+ var app = {};
2292
2293
  var getSegmentParam = {};
2293
2294
  var hasRequiredGetSegmentParam;
2294
2295
  function requireGetSegmentParam() {
@@ -2325,20 +2326,20 @@ function requireGetSegmentParam() {
2325
2326
  return {
2326
2327
  // TODO-APP: Optional catchall does not currently work with parallel routes,
2327
2328
  // so for now aren't handling a potential interception marker.
2328
- type: "optional-catchall",
2329
- param: segment2.slice(5, -2)
2329
+ paramType: "optional-catchall",
2330
+ paramName: segment2.slice(5, -2)
2330
2331
  };
2331
2332
  }
2332
2333
  if (segment2.startsWith("[...") && segment2.endsWith("]")) {
2333
2334
  return {
2334
- type: interceptionMarker ? `catchall-intercepted-${interceptionMarker}` : "catchall",
2335
- param: segment2.slice(4, -1)
2335
+ paramType: interceptionMarker ? `catchall-intercepted-${interceptionMarker}` : "catchall",
2336
+ paramName: segment2.slice(4, -1)
2336
2337
  };
2337
2338
  }
2338
2339
  if (segment2.startsWith("[") && segment2.endsWith("]")) {
2339
2340
  return {
2340
- type: interceptionMarker ? `dynamic-intercepted-${interceptionMarker}` : "dynamic",
2341
- param: segment2.slice(1, -1)
2341
+ paramType: interceptionMarker ? `dynamic-intercepted-${interceptionMarker}` : "dynamic",
2342
+ paramName: segment2.slice(1, -1)
2342
2343
  };
2343
2344
  }
2344
2345
  return null;
@@ -2370,6 +2371,251 @@ function requireGetSegmentParam() {
2370
2371
  })(getSegmentParam);
2371
2372
  return getSegmentParam;
2372
2373
  }
2374
+ var hasRequiredApp;
2375
+ function requireApp() {
2376
+ if (hasRequiredApp) return app;
2377
+ hasRequiredApp = 1;
2378
+ (function(exports$1) {
2379
+ Object.defineProperty(exports$1, "__esModule", {
2380
+ value: true
2381
+ });
2382
+ function _export(target, all) {
2383
+ for (var name in all) Object.defineProperty(target, name, {
2384
+ enumerable: true,
2385
+ get: all[name]
2386
+ });
2387
+ }
2388
+ _export(exports$1, {
2389
+ isInterceptionAppRoute: function() {
2390
+ return isInterceptionAppRoute;
2391
+ },
2392
+ isNormalizedAppRoute: function() {
2393
+ return isNormalizedAppRoute;
2394
+ },
2395
+ parseAppRoute: function() {
2396
+ return parseAppRoute;
2397
+ },
2398
+ parseAppRouteSegment: function() {
2399
+ return parseAppRouteSegment;
2400
+ }
2401
+ });
2402
+ const _invarianterror = requireInvariantError();
2403
+ const _getsegmentparam = requireGetSegmentParam();
2404
+ const _interceptionroutes = requireInterceptionRoutes();
2405
+ function parseAppRouteSegment(segment2) {
2406
+ if (segment2 === "") {
2407
+ return null;
2408
+ }
2409
+ const interceptionMarker = _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.find((m) => segment2.startsWith(m));
2410
+ const param = (0, _getsegmentparam.getSegmentParam)(segment2);
2411
+ if (param) {
2412
+ return {
2413
+ type: "dynamic",
2414
+ name: segment2,
2415
+ param,
2416
+ interceptionMarker
2417
+ };
2418
+ } else if (segment2.startsWith("(") && segment2.endsWith(")")) {
2419
+ return {
2420
+ type: "route-group",
2421
+ name: segment2,
2422
+ interceptionMarker
2423
+ };
2424
+ } else if (segment2.startsWith("@")) {
2425
+ return {
2426
+ type: "parallel-route",
2427
+ name: segment2,
2428
+ interceptionMarker
2429
+ };
2430
+ } else {
2431
+ return {
2432
+ type: "static",
2433
+ name: segment2,
2434
+ interceptionMarker
2435
+ };
2436
+ }
2437
+ }
2438
+ function isNormalizedAppRoute(route) {
2439
+ return route.normalized;
2440
+ }
2441
+ function isInterceptionAppRoute(route) {
2442
+ return route.interceptionMarker !== void 0 && route.interceptingRoute !== void 0 && route.interceptedRoute !== void 0;
2443
+ }
2444
+ function parseAppRoute(pathname, normalized) {
2445
+ const pathnameSegments = pathname.split("/").filter(Boolean);
2446
+ const segments = [];
2447
+ let interceptionMarker;
2448
+ let interceptingRoute;
2449
+ let interceptedRoute;
2450
+ for (const segment2 of pathnameSegments) {
2451
+ const appSegment = parseAppRouteSegment(segment2);
2452
+ if (!appSegment) {
2453
+ continue;
2454
+ }
2455
+ if (normalized && (appSegment.type === "route-group" || appSegment.type === "parallel-route")) {
2456
+ throw Object.defineProperty(new _invarianterror.InvariantError(`${pathname} is being parsed as a normalized route, but it has a route group or parallel route segment.`), "__NEXT_ERROR_CODE", {
2457
+ value: "E923",
2458
+ enumerable: false,
2459
+ configurable: true
2460
+ });
2461
+ }
2462
+ segments.push(appSegment);
2463
+ if (appSegment.interceptionMarker) {
2464
+ const parts = pathname.split(appSegment.interceptionMarker);
2465
+ if (parts.length !== 2) {
2466
+ throw Object.defineProperty(new Error(`Invalid interception route: ${pathname}`), "__NEXT_ERROR_CODE", {
2467
+ value: "E924",
2468
+ enumerable: false,
2469
+ configurable: true
2470
+ });
2471
+ }
2472
+ interceptingRoute = normalized ? parseAppRoute(parts[0], true) : parseAppRoute(parts[0], false);
2473
+ interceptedRoute = normalized ? parseAppRoute(parts[1], true) : parseAppRoute(parts[1], false);
2474
+ interceptionMarker = appSegment.interceptionMarker;
2475
+ }
2476
+ }
2477
+ const dynamicSegments = segments.filter((segment2) => segment2.type === "dynamic");
2478
+ return {
2479
+ normalized,
2480
+ pathname,
2481
+ segments,
2482
+ dynamicSegments,
2483
+ interceptionMarker,
2484
+ interceptingRoute,
2485
+ interceptedRoute
2486
+ };
2487
+ }
2488
+ })(app);
2489
+ return app;
2490
+ }
2491
+ var resolveParamValue = {};
2492
+ var interceptionPrefixFromParamType = {};
2493
+ var hasRequiredInterceptionPrefixFromParamType;
2494
+ function requireInterceptionPrefixFromParamType() {
2495
+ if (hasRequiredInterceptionPrefixFromParamType) return interceptionPrefixFromParamType;
2496
+ hasRequiredInterceptionPrefixFromParamType = 1;
2497
+ (function(exports$1) {
2498
+ Object.defineProperty(exports$1, "__esModule", {
2499
+ value: true
2500
+ });
2501
+ Object.defineProperty(exports$1, "interceptionPrefixFromParamType", {
2502
+ enumerable: true,
2503
+ get: function() {
2504
+ return interceptionPrefixFromParamType2;
2505
+ }
2506
+ });
2507
+ function interceptionPrefixFromParamType2(paramType) {
2508
+ switch (paramType) {
2509
+ case "catchall-intercepted-(..)(..)":
2510
+ case "dynamic-intercepted-(..)(..)":
2511
+ return "(..)(..)";
2512
+ case "catchall-intercepted-(.)":
2513
+ case "dynamic-intercepted-(.)":
2514
+ return "(.)";
2515
+ case "catchall-intercepted-(..)":
2516
+ case "dynamic-intercepted-(..)":
2517
+ return "(..)";
2518
+ case "catchall-intercepted-(...)":
2519
+ case "dynamic-intercepted-(...)":
2520
+ return "(...)";
2521
+ case "catchall":
2522
+ case "dynamic":
2523
+ case "optional-catchall":
2524
+ default:
2525
+ return null;
2526
+ }
2527
+ }
2528
+ })(interceptionPrefixFromParamType);
2529
+ return interceptionPrefixFromParamType;
2530
+ }
2531
+ var hasRequiredResolveParamValue;
2532
+ function requireResolveParamValue() {
2533
+ if (hasRequiredResolveParamValue) return resolveParamValue;
2534
+ hasRequiredResolveParamValue = 1;
2535
+ (function(exports$1) {
2536
+ Object.defineProperty(exports$1, "__esModule", {
2537
+ value: true
2538
+ });
2539
+ Object.defineProperty(exports$1, "resolveParamValue", {
2540
+ enumerable: true,
2541
+ get: function() {
2542
+ return resolveParamValue2;
2543
+ }
2544
+ });
2545
+ const _invarianterror = requireInvariantError();
2546
+ const _interceptionprefixfromparamtype = requireInterceptionPrefixFromParamType();
2547
+ function getParamValueFromSegment(pathSegment, params, paramType) {
2548
+ if (pathSegment.type === "dynamic") {
2549
+ return params[pathSegment.param.paramName];
2550
+ }
2551
+ const interceptionPrefix = (0, _interceptionprefixfromparamtype.interceptionPrefixFromParamType)(paramType);
2552
+ if (interceptionPrefix === pathSegment.interceptionMarker) {
2553
+ return pathSegment.name.replace(pathSegment.interceptionMarker, "");
2554
+ }
2555
+ return pathSegment.name;
2556
+ }
2557
+ function resolveParamValue2(paramName, paramType, depth, route, params) {
2558
+ switch (paramType) {
2559
+ case "catchall":
2560
+ case "optional-catchall":
2561
+ case "catchall-intercepted-(..)(..)":
2562
+ case "catchall-intercepted-(.)":
2563
+ case "catchall-intercepted-(..)":
2564
+ case "catchall-intercepted-(...)":
2565
+ const processedSegments = [];
2566
+ for (let index = depth; index < route.segments.length; index++) {
2567
+ const pathSegment = route.segments[index];
2568
+ if (pathSegment.type === "static") {
2569
+ let value = pathSegment.name;
2570
+ const interceptionPrefix = (0, _interceptionprefixfromparamtype.interceptionPrefixFromParamType)(paramType);
2571
+ if (interceptionPrefix && index === depth && interceptionPrefix === pathSegment.interceptionMarker) {
2572
+ value = value.replace(pathSegment.interceptionMarker, "");
2573
+ }
2574
+ processedSegments.push(value);
2575
+ } else {
2576
+ if (!params.hasOwnProperty(pathSegment.param.paramName)) {
2577
+ if (pathSegment.param.paramType === "optional-catchall") {
2578
+ break;
2579
+ }
2580
+ return void 0;
2581
+ }
2582
+ const paramValue = params[pathSegment.param.paramName];
2583
+ if (Array.isArray(paramValue)) {
2584
+ processedSegments.push(...paramValue);
2585
+ } else {
2586
+ processedSegments.push(paramValue);
2587
+ }
2588
+ }
2589
+ }
2590
+ if (processedSegments.length > 0) {
2591
+ return processedSegments;
2592
+ } else if (paramType === "optional-catchall") {
2593
+ return void 0;
2594
+ } else {
2595
+ throw Object.defineProperty(new _invarianterror.InvariantError(`Unexpected empty path segments match for a route "${route.pathname}" with param "${paramName}" of type "${paramType}"`), "__NEXT_ERROR_CODE", {
2596
+ value: "E931",
2597
+ enumerable: false,
2598
+ configurable: true
2599
+ });
2600
+ }
2601
+ case "dynamic":
2602
+ case "dynamic-intercepted-(..)(..)":
2603
+ case "dynamic-intercepted-(.)":
2604
+ case "dynamic-intercepted-(..)":
2605
+ case "dynamic-intercepted-(...)":
2606
+ if (depth < route.segments.length) {
2607
+ const pathSegment = route.segments[depth];
2608
+ if (pathSegment.type === "dynamic" && !params.hasOwnProperty(pathSegment.param.paramName)) {
2609
+ return void 0;
2610
+ }
2611
+ return getParamValueFromSegment(pathSegment, params, paramType);
2612
+ }
2613
+ return void 0;
2614
+ }
2615
+ }
2616
+ })(resolveParamValue);
2617
+ return resolveParamValue;
2618
+ }
2373
2619
  var hasRequiredGetDynamicParam;
2374
2620
  function requireGetDynamicParam() {
2375
2621
  if (hasRequiredGetDynamicParam) return getDynamicParam;
@@ -2403,7 +2649,8 @@ function requireGetDynamicParam() {
2403
2649
  });
2404
2650
  const _invarianterror = requireInvariantError();
2405
2651
  const _parseloadertree = requireParseLoaderTree();
2406
- const _getsegmentparam = requireGetSegmentParam();
2652
+ const _app = requireApp();
2653
+ const _resolveparamvalue = requireResolveParamValue();
2407
2654
  function getParamValue(interpolatedParams, segmentKey, fallbackRouteParams) {
2408
2655
  let value = interpolatedParams[segmentKey];
2409
2656
  if (fallbackRouteParams == null ? void 0 : fallbackRouteParams.has(segmentKey)) {
@@ -2424,53 +2671,33 @@ function requireGetDynamicParam() {
2424
2671
  depth: 0
2425
2672
  }
2426
2673
  ];
2427
- const pathSegments = pagePath.split("/").slice(1);
2674
+ const route = (0, _app.parseAppRoute)(pagePath, true);
2428
2675
  while (stack.length > 0) {
2429
2676
  const { tree, depth } = stack.pop();
2430
2677
  const { segment: segment2, parallelRoutes } = (0, _parseloadertree.parseLoaderTree)(tree);
2431
- const segmentParam = (0, _getsegmentparam.getSegmentParam)(segment2);
2432
- if (segmentParam && !interpolated.hasOwnProperty(segmentParam.param) && // If the param is in the fallback route params, we don't need to
2678
+ const appSegment = (0, _app.parseAppRouteSegment)(segment2);
2679
+ if ((appSegment == null ? void 0 : appSegment.type) === "dynamic" && !interpolated.hasOwnProperty(appSegment.param.paramName) && // If the param is in the fallback route params, we don't need to
2433
2680
  // interpolate it because it's already marked as being unknown.
2434
- !(fallbackRouteParams == null ? void 0 : fallbackRouteParams.has(segmentParam.param))) {
2435
- switch (segmentParam.type) {
2436
- case "catchall":
2437
- case "optional-catchall":
2438
- case "catchall-intercepted-(..)(..)":
2439
- case "catchall-intercepted-(.)":
2440
- case "catchall-intercepted-(..)":
2441
- case "catchall-intercepted-(...)":
2442
- const remainingSegments = pathSegments.slice(depth);
2443
- const processedSegments = remainingSegments.flatMap((pathSegment) => {
2444
- const param = (0, _getsegmentparam.getSegmentParam)(pathSegment);
2445
- return param ? interpolated[param.param] : pathSegment;
2446
- }).filter((s) => s !== void 0);
2447
- if (processedSegments.length > 0) {
2448
- interpolated[segmentParam.param] = processedSegments;
2449
- }
2450
- break;
2451
- case "dynamic":
2452
- case "dynamic-intercepted-(..)(..)":
2453
- case "dynamic-intercepted-(.)":
2454
- case "dynamic-intercepted-(..)":
2455
- case "dynamic-intercepted-(...)":
2456
- if (depth < pathSegments.length) {
2457
- const pathSegment = pathSegments[depth];
2458
- const param = (0, _getsegmentparam.getSegmentParam)(pathSegment);
2459
- interpolated[segmentParam.param] = param ? interpolated[param.param] : pathSegment;
2460
- }
2461
- break;
2462
- default:
2463
- segmentParam.type;
2681
+ !(fallbackRouteParams == null ? void 0 : fallbackRouteParams.has(appSegment.param.paramName))) {
2682
+ const { paramName, paramType } = appSegment.param;
2683
+ const paramValue = (0, _resolveparamvalue.resolveParamValue)(paramName, paramType, depth, route, interpolated);
2684
+ if (paramValue !== void 0) {
2685
+ interpolated[paramName] = paramValue;
2686
+ } else if (paramType !== "optional-catchall") {
2687
+ throw Object.defineProperty(new _invarianterror.InvariantError(`Could not resolve param value for segment: ${paramName}`), "__NEXT_ERROR_CODE", {
2688
+ value: "E932",
2689
+ enumerable: false,
2690
+ configurable: true
2691
+ });
2464
2692
  }
2465
2693
  }
2466
2694
  let nextDepth = depth;
2467
- const isRouteGroup = segment2.startsWith("(") && segment2.endsWith(")");
2468
- if (!isRouteGroup && segment2 !== "") {
2695
+ if (appSegment && appSegment.type !== "route-group" && appSegment.type !== "parallel-route") {
2469
2696
  nextDepth++;
2470
2697
  }
2471
- for (const route of Object.values(parallelRoutes)) {
2698
+ for (const parallelRoute of Object.values(parallelRoutes)) {
2472
2699
  stack.push({
2473
- tree: route,
2700
+ tree: parallelRoute,
2474
2701
  depth: nextDepth
2475
2702
  });
2476
2703
  }
@@ -3825,4 +4052,4 @@ exports.requireSegment = requireSegment;
3825
4052
  exports.requireUseMergedRef = requireUseMergedRef;
3826
4053
  exports.require_interop_require_default = require_interop_require_default;
3827
4054
  exports.require_interop_require_wildcard = require_interop_require_wildcard;
3828
- //# sourceMappingURL=link-lNk_lOdS.cjs.map
4055
+ //# sourceMappingURL=link-B1N-q38H.cjs.map