boreal-ui 0.0.72 → 0.0.74

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 (1238) hide show
  1. package/dist/core/Accordion-7FjsUwVp.cjs +249 -0
  2. package/dist/core/Accordion-7FjsUwVp.cjs.map +1 -0
  3. package/dist/core/Accordion-Bp-rbJiD.js +250 -0
  4. package/dist/core/Accordion-Bp-rbJiD.js.map +1 -0
  5. package/dist/core/Accordion.cjs.js +1 -1
  6. package/dist/core/Accordion.js +1 -1
  7. package/dist/core/Avatar-CHatDRhp.js +291 -0
  8. package/dist/core/Avatar-CHatDRhp.js.map +1 -0
  9. package/dist/core/Avatar-jxGFijtF.cjs +290 -0
  10. package/dist/core/Avatar-jxGFijtF.cjs.map +1 -0
  11. package/dist/core/Avatar.cjs.js +1 -1
  12. package/dist/core/Avatar.js +1 -1
  13. package/dist/core/Badge-DwWiN50f.js +179 -0
  14. package/dist/core/Badge-DwWiN50f.js.map +1 -0
  15. package/dist/core/Badge-oXVUTleI.cjs +178 -0
  16. package/dist/core/Badge-oXVUTleI.cjs.map +1 -0
  17. package/dist/core/Badge.cjs.js +1 -1
  18. package/dist/core/Badge.js +1 -1
  19. package/dist/core/Breadcrumbs-B7hp9_u1.cjs +210 -0
  20. package/dist/core/Breadcrumbs-B7hp9_u1.cjs.map +1 -0
  21. package/dist/core/Breadcrumbs-kbOyaea6.js +211 -0
  22. package/dist/core/Breadcrumbs-kbOyaea6.js.map +1 -0
  23. package/dist/core/Breadcrumbs.cjs.js +2 -4
  24. package/dist/core/Breadcrumbs.cjs.js.map +1 -1
  25. package/dist/core/Breadcrumbs.js +1 -2
  26. package/dist/core/Button-CneoIlVV.js +217 -0
  27. package/dist/core/Button-CneoIlVV.js.map +1 -0
  28. package/dist/core/Button-nxtJFOWD.cjs +216 -0
  29. package/dist/core/Button-nxtJFOWD.cjs.map +1 -0
  30. package/dist/core/Button.cjs.js +1 -1
  31. package/dist/core/Button.js +1 -1
  32. package/dist/core/Card-C3kfPs8j.cjs +349 -0
  33. package/dist/core/Card-C3kfPs8j.cjs.map +1 -0
  34. package/dist/core/Card-CZY1qzwZ.js +350 -0
  35. package/dist/core/Card-CZY1qzwZ.js.map +1 -0
  36. package/dist/core/Card.cjs.js +1 -1
  37. package/dist/core/Card.js +1 -1
  38. package/dist/core/CheckBox.cjs.js +1 -1
  39. package/dist/core/CheckBox.js +1 -1
  40. package/dist/core/Checkbox-BuFcBJb9.js +193 -0
  41. package/dist/core/Checkbox-BuFcBJb9.js.map +1 -0
  42. package/dist/core/Checkbox-JWFInEW_.cjs +192 -0
  43. package/dist/core/Checkbox-JWFInEW_.cjs.map +1 -0
  44. package/dist/core/Chip-DV-l08jr.cjs +194 -0
  45. package/dist/core/Chip-DV-l08jr.cjs.map +1 -0
  46. package/dist/core/Chip-DoRSxZKk.js +195 -0
  47. package/dist/core/Chip-DoRSxZKk.js.map +1 -0
  48. package/dist/core/Chip.cjs.js +1 -1
  49. package/dist/core/Chip.js +1 -1
  50. package/dist/core/CircularProgress-CAlIuRfH.cjs +132 -0
  51. package/dist/core/CircularProgress-CAlIuRfH.cjs.map +1 -0
  52. package/dist/core/CircularProgress-DEZZm76L.js +133 -0
  53. package/dist/core/CircularProgress-DEZZm76L.js.map +1 -0
  54. package/dist/core/CircularProgress.cjs.js +1 -1
  55. package/dist/core/CircularProgress.js +1 -1
  56. package/dist/core/ColorPicker-BpJgDnaw.js +187 -0
  57. package/dist/core/ColorPicker-BpJgDnaw.js.map +1 -0
  58. package/dist/core/ColorPicker-j6djvLOC.cjs +186 -0
  59. package/dist/core/ColorPicker-j6djvLOC.cjs.map +1 -0
  60. package/dist/core/ColorPicker.cjs.js +1 -1
  61. package/dist/core/ColorPicker.js +1 -1
  62. package/dist/core/CommandPalette-0uVG4iR2.js +447 -0
  63. package/dist/core/CommandPalette-0uVG4iR2.js.map +1 -0
  64. package/dist/core/CommandPalette-BtpQ9cio.cjs +446 -0
  65. package/dist/core/CommandPalette-BtpQ9cio.cjs.map +1 -0
  66. package/dist/core/CommandPalette.cjs.js +1 -1
  67. package/dist/core/CommandPalette.js +1 -1
  68. package/dist/core/DataTable-CCPWihcW.cjs +313 -0
  69. package/dist/core/DataTable-CCPWihcW.cjs.map +1 -0
  70. package/dist/core/DataTable-FIxUWKG4.js +314 -0
  71. package/dist/core/DataTable-FIxUWKG4.js.map +1 -0
  72. package/dist/core/DataTable.cjs.js +1 -1
  73. package/dist/core/DataTable.js +1 -1
  74. package/dist/core/DateTimePicker-Ul1dl1A1.cjs +268 -0
  75. package/dist/core/DateTimePicker-Ul1dl1A1.cjs.map +1 -0
  76. package/dist/core/DateTimePicker-wO_P5Ab1.js +269 -0
  77. package/dist/core/DateTimePicker-wO_P5Ab1.js.map +1 -0
  78. package/dist/core/DateTimePicker.cjs.js +1 -1
  79. package/dist/core/DateTimePicker.js +1 -1
  80. package/dist/core/Divider-C34MwVBv.js +91 -0
  81. package/dist/core/Divider-C34MwVBv.js.map +1 -0
  82. package/dist/core/Divider-CgUoL8NV.cjs +90 -0
  83. package/dist/core/Divider-CgUoL8NV.cjs.map +1 -0
  84. package/dist/core/Divider.cjs.js +1 -1
  85. package/dist/core/Divider.js +1 -1
  86. package/dist/core/Dropdown-B7-_OH9p.cjs +366 -0
  87. package/dist/core/Dropdown-B7-_OH9p.cjs.map +1 -0
  88. package/dist/core/Dropdown-BEPGhf-i.js +367 -0
  89. package/dist/core/Dropdown-BEPGhf-i.js.map +1 -0
  90. package/dist/core/Dropdown.cjs.js +1 -1
  91. package/dist/core/Dropdown.js +1 -1
  92. package/dist/core/EmptyState-CM7nlKER.js +153 -0
  93. package/dist/core/EmptyState-CM7nlKER.js.map +1 -0
  94. package/dist/core/EmptyState-Du2xqi6G.cjs +152 -0
  95. package/dist/core/EmptyState-Du2xqi6G.cjs.map +1 -0
  96. package/dist/core/EmptyState.cjs.js +1 -1
  97. package/dist/core/EmptyState.js +1 -1
  98. package/dist/core/FileUpload-BR9-eENT.cjs +561 -0
  99. package/dist/core/FileUpload-BR9-eENT.cjs.map +1 -0
  100. package/dist/core/FileUpload-CPZetlXM.js +562 -0
  101. package/dist/core/FileUpload-CPZetlXM.js.map +1 -0
  102. package/dist/core/FileUpload.cjs.js +1 -1
  103. package/dist/core/FileUpload.js +1 -1
  104. package/dist/core/Footer-60sTURxB.cjs +272 -0
  105. package/dist/core/Footer-60sTURxB.cjs.map +1 -0
  106. package/dist/core/Footer-Q_60pe6o.js +273 -0
  107. package/dist/core/Footer-Q_60pe6o.js.map +1 -0
  108. package/dist/core/Footer.cjs.js +1 -1
  109. package/dist/core/Footer.js +1 -1
  110. package/dist/core/FormGroup-qqHKY5fP.js +179 -0
  111. package/dist/core/FormGroup-qqHKY5fP.js.map +1 -0
  112. package/dist/core/FormGroup-s3n6ZiDT.cjs +178 -0
  113. package/dist/core/FormGroup-s3n6ZiDT.cjs.map +1 -0
  114. package/dist/core/FormGroup.cjs.js +1 -1
  115. package/dist/core/FormGroup.js +1 -1
  116. package/dist/core/IconButton-By8zuXrs.js +189 -0
  117. package/dist/core/IconButton-By8zuXrs.js.map +1 -0
  118. package/dist/core/IconButton-C_ktew-6.cjs +188 -0
  119. package/dist/core/IconButton-C_ktew-6.cjs.map +1 -0
  120. package/dist/core/IconButton.cjs.js +1 -1
  121. package/dist/core/IconButton.js +1 -1
  122. package/dist/core/MarkdownRenderer-CBPB1PJt.cjs +131 -0
  123. package/dist/core/MarkdownRenderer-CBPB1PJt.cjs.map +1 -0
  124. package/dist/core/MarkdownRenderer-EbqPYLEM.js +132 -0
  125. package/dist/core/MarkdownRenderer-EbqPYLEM.js.map +1 -0
  126. package/dist/core/MarkdownRenderer.cjs.js +1 -1
  127. package/dist/core/MarkdownRenderer.js +1 -1
  128. package/dist/core/MessagePopup-D6ljI_rQ.js +255 -0
  129. package/dist/core/MessagePopup-D6ljI_rQ.js.map +1 -0
  130. package/dist/core/MessagePopup-DIfdILWZ.cjs +254 -0
  131. package/dist/core/MessagePopup-DIfdILWZ.cjs.map +1 -0
  132. package/dist/core/MessagePopup.cjs.js +1 -1
  133. package/dist/core/MessagePopup.js +1 -1
  134. package/dist/core/MetricBox-DTn2x1vz.js +154 -0
  135. package/dist/core/MetricBox-DTn2x1vz.js.map +1 -0
  136. package/dist/core/MetricBox-Dq8ZwEGV.cjs +153 -0
  137. package/dist/core/MetricBox-Dq8ZwEGV.cjs.map +1 -0
  138. package/dist/core/MetricBox.cjs.js +1 -1
  139. package/dist/core/MetricBox.js +1 -1
  140. package/dist/core/Modal-B9FXClBr.cjs +232 -0
  141. package/dist/core/Modal-B9FXClBr.cjs.map +1 -0
  142. package/dist/core/Modal-CW8jt0lU.js +233 -0
  143. package/dist/core/Modal-CW8jt0lU.js.map +1 -0
  144. package/dist/core/Modal.cjs.js +1 -1
  145. package/dist/core/Modal.js +1 -1
  146. package/dist/core/NavBar-DelYH3IR.js +159 -0
  147. package/dist/core/NavBar-DelYH3IR.js.map +1 -0
  148. package/dist/core/NavBar-Dq1f1NSn.cjs +158 -0
  149. package/dist/core/NavBar-Dq1f1NSn.cjs.map +1 -0
  150. package/dist/core/NavBar.cjs.js +1 -1
  151. package/dist/core/NavBar.js +1 -1
  152. package/dist/core/NotificationCenter-CsKJTZhk.cjs +420 -0
  153. package/dist/core/NotificationCenter-CsKJTZhk.cjs.map +1 -0
  154. package/dist/core/NotificationCenter-DA-WGPP9.js +421 -0
  155. package/dist/core/NotificationCenter-DA-WGPP9.js.map +1 -0
  156. package/dist/core/NotificationCenter.cjs.js +2 -4
  157. package/dist/core/NotificationCenter.cjs.js.map +1 -1
  158. package/dist/core/NotificationCenter.js +2 -3
  159. package/dist/core/Pager-B4hyIUdo.js +225 -0
  160. package/dist/core/Pager-B4hyIUdo.js.map +1 -0
  161. package/dist/core/Pager-wl7_umU4.cjs +224 -0
  162. package/dist/core/Pager-wl7_umU4.cjs.map +1 -0
  163. package/dist/core/Pager.cjs.js +1 -1
  164. package/dist/core/Pager.js +1 -1
  165. package/dist/core/PopOver-B87GGM3R.cjs +226 -0
  166. package/dist/core/PopOver-B87GGM3R.cjs.map +1 -0
  167. package/dist/core/PopOver-DCuqGQ_j.js +227 -0
  168. package/dist/core/PopOver-DCuqGQ_j.js.map +1 -0
  169. package/dist/core/PopOver.cjs.js +1 -1
  170. package/dist/core/PopOver.js +1 -1
  171. package/dist/core/ProgressBar-BxzX6yn1.js +146 -0
  172. package/dist/core/ProgressBar-BxzX6yn1.js.map +1 -0
  173. package/dist/core/ProgressBar-Cjw7Npjq.cjs +145 -0
  174. package/dist/core/ProgressBar-Cjw7Npjq.cjs.map +1 -0
  175. package/dist/core/ProgressBar.cjs.js +1 -1
  176. package/dist/core/ProgressBar.js +1 -1
  177. package/dist/core/RadioButton-BM0-FaUG.js +139 -0
  178. package/dist/core/RadioButton-BM0-FaUG.js.map +1 -0
  179. package/dist/core/RadioButton-QK6SCEbU.cjs +138 -0
  180. package/dist/core/RadioButton-QK6SCEbU.cjs.map +1 -0
  181. package/dist/core/RadioButton.cjs.js +1 -1
  182. package/dist/core/RadioButton.js +1 -1
  183. package/dist/core/Rating-C7xfIXYT.js +203 -0
  184. package/dist/core/Rating-C7xfIXYT.js.map +1 -0
  185. package/dist/core/Rating-CIo6DFh5.cjs +202 -0
  186. package/dist/core/Rating-CIo6DFh5.cjs.map +1 -0
  187. package/dist/core/Rating.cjs.js +1 -1
  188. package/dist/core/Rating.js +1 -1
  189. package/dist/core/ScrollToTop-BYyKPqix.js +136 -0
  190. package/dist/core/ScrollToTop-BYyKPqix.js.map +1 -0
  191. package/dist/core/ScrollToTop-CK74BkzY.cjs +135 -0
  192. package/dist/core/ScrollToTop-CK74BkzY.cjs.map +1 -0
  193. package/dist/core/ScrollToTop.cjs.js +1 -1
  194. package/dist/core/ScrollToTop.js +1 -1
  195. package/dist/core/Select-BXIz5BbU.js +229 -0
  196. package/dist/core/Select-BXIz5BbU.js.map +1 -0
  197. package/dist/core/Select-KiOrD0xY.cjs +228 -0
  198. package/dist/core/Select-KiOrD0xY.cjs.map +1 -0
  199. package/dist/core/Select.cjs.js +1 -1
  200. package/dist/core/Select.js +1 -1
  201. package/dist/core/Sidebar-Bi7elIRO.js +354 -0
  202. package/dist/core/Sidebar-Bi7elIRO.js.map +1 -0
  203. package/dist/core/Sidebar-DrEQ7PwW.cjs +353 -0
  204. package/dist/core/Sidebar-DrEQ7PwW.cjs.map +1 -0
  205. package/dist/core/Sidebar.cjs.js +1 -1
  206. package/dist/core/Sidebar.js +1 -1
  207. package/dist/core/Skeleton-BXeQBgX2.cjs +106 -0
  208. package/dist/core/Skeleton-BXeQBgX2.cjs.map +1 -0
  209. package/dist/core/Skeleton-C-L3OgVt.js +107 -0
  210. package/dist/core/Skeleton-C-L3OgVt.js.map +1 -0
  211. package/dist/core/Skeleton.cjs.js +1 -1
  212. package/dist/core/Skeleton.js +1 -1
  213. package/dist/core/Slider-CW11kjMv.js +165 -0
  214. package/dist/core/Slider-CW11kjMv.js.map +1 -0
  215. package/dist/core/Slider-Davbqf_v.cjs +164 -0
  216. package/dist/core/Slider-Davbqf_v.cjs.map +1 -0
  217. package/dist/core/Slider.cjs.js +1 -1
  218. package/dist/core/Slider.js +1 -1
  219. package/dist/core/Spinner-C0bxVDCy.js +114 -0
  220. package/dist/core/Spinner-C0bxVDCy.js.map +1 -0
  221. package/dist/core/Spinner-DvzolXTI.cjs +113 -0
  222. package/dist/core/Spinner-DvzolXTI.cjs.map +1 -0
  223. package/dist/core/Spinner.cjs.js +1 -1
  224. package/dist/core/Spinner.js +1 -1
  225. package/dist/core/Stepper-CLfy0_gZ.js +154 -0
  226. package/dist/core/Stepper-CLfy0_gZ.js.map +1 -0
  227. package/dist/core/Stepper-CQRJID19.cjs +153 -0
  228. package/dist/core/Stepper-CQRJID19.cjs.map +1 -0
  229. package/dist/core/Stepper.cjs.js +1 -1
  230. package/dist/core/Stepper.js +1 -1
  231. package/dist/core/Tabs-DBqWn9j9.js +236 -0
  232. package/dist/core/Tabs-DBqWn9j9.js.map +1 -0
  233. package/dist/core/Tabs-r1nyJCFz.cjs +235 -0
  234. package/dist/core/Tabs-r1nyJCFz.cjs.map +1 -0
  235. package/dist/core/Tabs.cjs.js +1 -1
  236. package/dist/core/Tabs.js +1 -1
  237. package/dist/core/TagInput-YieWARAt.js +337 -0
  238. package/dist/core/TagInput-YieWARAt.js.map +1 -0
  239. package/dist/core/TagInput-pWRdhaP3.cjs +336 -0
  240. package/dist/core/TagInput-pWRdhaP3.cjs.map +1 -0
  241. package/dist/core/TagInput.cjs.js +1 -1
  242. package/dist/core/TagInput.js +1 -1
  243. package/dist/core/TextArea-BKmmcXld.cjs +210 -0
  244. package/dist/core/TextArea-BKmmcXld.cjs.map +1 -0
  245. package/dist/core/TextArea-CLLK5k18.js +211 -0
  246. package/dist/core/TextArea-CLLK5k18.js.map +1 -0
  247. package/dist/core/TextArea.cjs.js +1 -1
  248. package/dist/core/TextArea.js +1 -1
  249. package/dist/core/TextInput-Bc2YpcvM.js +331 -0
  250. package/dist/core/TextInput-Bc2YpcvM.js.map +1 -0
  251. package/dist/core/TextInput-DbAsQxjr.cjs +330 -0
  252. package/dist/core/TextInput-DbAsQxjr.cjs.map +1 -0
  253. package/dist/core/TextInput.cjs.js +1 -1
  254. package/dist/core/TextInput.js +1 -1
  255. package/dist/core/ThemeContext-zE_shsx6.js +199 -0
  256. package/dist/core/ThemeContext-zE_shsx6.js.map +1 -0
  257. package/dist/core/ThemeProvider.js +3 -3
  258. package/dist/core/Timeline-5mzFplzB.js +194 -0
  259. package/dist/core/Timeline-5mzFplzB.js.map +1 -0
  260. package/dist/core/Timeline-CfTmjEVS.cjs +193 -0
  261. package/dist/core/Timeline-CfTmjEVS.cjs.map +1 -0
  262. package/dist/core/Timeline.cjs.js +1 -1
  263. package/dist/core/Timeline.js +1 -1
  264. package/dist/core/Toggle-BRUwXOhV.cjs +159 -0
  265. package/dist/core/Toggle-BRUwXOhV.cjs.map +1 -0
  266. package/dist/core/Toggle-DCK1KtP5.js +160 -0
  267. package/dist/core/Toggle-DCK1KtP5.js.map +1 -0
  268. package/dist/core/Toggle.cjs.js +1 -1
  269. package/dist/core/Toggle.js +1 -1
  270. package/dist/core/Toolbar-CxJxebIJ.cjs +149 -0
  271. package/dist/core/Toolbar-CxJxebIJ.cjs.map +1 -0
  272. package/dist/core/Toolbar-DLgQqPBh.js +150 -0
  273. package/dist/core/Toolbar-DLgQqPBh.js.map +1 -0
  274. package/dist/core/Toolbar.cjs.js +1 -1
  275. package/dist/core/Toolbar.js +1 -1
  276. package/dist/core/Tooltip-Dua_3tqJ.js +170 -0
  277. package/dist/core/Tooltip-Dua_3tqJ.js.map +1 -0
  278. package/dist/core/Tooltip-_e_4s6pE.cjs +169 -0
  279. package/dist/core/Tooltip-_e_4s6pE.cjs.map +1 -0
  280. package/dist/core/Tooltip.cjs.js +1 -1
  281. package/dist/core/Tooltip.js +1 -1
  282. package/dist/core/Typography-D0hPzK5Y.js +194 -0
  283. package/dist/core/Typography-D0hPzK5Y.js.map +1 -0
  284. package/dist/core/Typography-DdTiWRgQ.cjs +193 -0
  285. package/dist/core/Typography-DdTiWRgQ.cjs.map +1 -0
  286. package/dist/core/Typography.cjs.js +1 -1
  287. package/dist/core/Typography.js +1 -1
  288. package/dist/core/boreal-ui.css +41 -3
  289. package/dist/core/index.cjs.js +8059 -47
  290. package/dist/core/index.cjs.js.map +1 -1
  291. package/dist/core/index.js +8063 -51
  292. package/dist/core/index.js.map +1 -1
  293. package/dist/next/Accordion-BEa1jxTt.cjs +310 -0
  294. package/dist/next/Accordion-BEa1jxTt.cjs.map +1 -0
  295. package/dist/next/Accordion-Bg8V6T38.js +311 -0
  296. package/dist/next/Accordion-Bg8V6T38.js.map +1 -0
  297. package/dist/next/Accordion.cjs.js +1 -1
  298. package/dist/next/Accordion.js +1 -1
  299. package/dist/next/Avatar-DL_juTQA.cjs +340 -0
  300. package/dist/next/Avatar-DL_juTQA.cjs.map +1 -0
  301. package/dist/next/Avatar-nnjhILk-.js +341 -0
  302. package/dist/next/Avatar-nnjhILk-.js.map +1 -0
  303. package/dist/next/Avatar.cjs.js +1 -1
  304. package/dist/next/Avatar.js +1 -1
  305. package/dist/next/Badge-DzcjI-JI.cjs +211 -0
  306. package/dist/next/Badge-DzcjI-JI.cjs.map +1 -0
  307. package/dist/next/Badge-uyqxj7ag.js +212 -0
  308. package/dist/next/Badge-uyqxj7ag.js.map +1 -0
  309. package/dist/next/Badge.cjs.js +1 -1
  310. package/dist/next/Badge.js +1 -1
  311. package/dist/next/Breadcrumbs-CuvOmgFe.cjs +255 -0
  312. package/dist/next/Breadcrumbs-CuvOmgFe.cjs.map +1 -0
  313. package/dist/next/Breadcrumbs-D0AmJB4U.js +256 -0
  314. package/dist/next/Breadcrumbs-D0AmJB4U.js.map +1 -0
  315. package/dist/next/Breadcrumbs.cjs.js +2 -4
  316. package/dist/next/Breadcrumbs.cjs.js.map +1 -1
  317. package/dist/next/Breadcrumbs.js +1 -2
  318. package/dist/next/Button-BZmph-Qr.cjs +269 -0
  319. package/dist/next/Button-BZmph-Qr.cjs.map +1 -0
  320. package/dist/next/Button-DWpImTmr.js +270 -0
  321. package/dist/next/Button-DWpImTmr.js.map +1 -0
  322. package/dist/next/Button.cjs.js +1 -1
  323. package/dist/next/Button.js +1 -1
  324. package/dist/next/Card-DnZOsQLP.js +459 -0
  325. package/dist/next/Card-DnZOsQLP.js.map +1 -0
  326. package/dist/next/Card-oPTXIvsb.cjs +458 -0
  327. package/dist/next/Card-oPTXIvsb.cjs.map +1 -0
  328. package/dist/next/Card.cjs.js +1 -1
  329. package/dist/next/Card.js +1 -1
  330. package/dist/next/CheckBox.cjs.js +1 -1
  331. package/dist/next/CheckBox.js +1 -1
  332. package/dist/next/Checkbox-CRg5oEdB.js +243 -0
  333. package/dist/next/Checkbox-CRg5oEdB.js.map +1 -0
  334. package/dist/next/Checkbox-DXNxt-4b.cjs +242 -0
  335. package/dist/next/Checkbox-DXNxt-4b.cjs.map +1 -0
  336. package/dist/next/Chip-Cg7khsSn.js +251 -0
  337. package/dist/next/Chip-Cg7khsSn.js.map +1 -0
  338. package/dist/next/Chip-DpMTNARP.cjs +250 -0
  339. package/dist/next/Chip-DpMTNARP.cjs.map +1 -0
  340. package/dist/next/Chip.cjs.js +1 -1
  341. package/dist/next/Chip.js +1 -1
  342. package/dist/next/CircularProgress-CzFUYDX1.cjs +175 -0
  343. package/dist/next/CircularProgress-CzFUYDX1.cjs.map +1 -0
  344. package/dist/next/CircularProgress-Dn1VXFsq.js +176 -0
  345. package/dist/next/CircularProgress-Dn1VXFsq.js.map +1 -0
  346. package/dist/next/CircularProgress.cjs.js +1 -1
  347. package/dist/next/CircularProgress.js +1 -1
  348. package/dist/next/ColorPicker-ByPKPsMz.cjs +232 -0
  349. package/dist/next/ColorPicker-ByPKPsMz.cjs.map +1 -0
  350. package/dist/next/ColorPicker-CCzSZDjx.js +233 -0
  351. package/dist/next/ColorPicker-CCzSZDjx.js.map +1 -0
  352. package/dist/next/ColorPicker.cjs.js +1 -1
  353. package/dist/next/ColorPicker.js +1 -1
  354. package/dist/next/CommandPalette-BvjlLE14.cjs +495 -0
  355. package/dist/next/CommandPalette-BvjlLE14.cjs.map +1 -0
  356. package/dist/next/CommandPalette-D6R9_gmo.js +496 -0
  357. package/dist/next/CommandPalette-D6R9_gmo.js.map +1 -0
  358. package/dist/next/CommandPalette.cjs.js +1 -1
  359. package/dist/next/CommandPalette.js +1 -1
  360. package/dist/next/DataTable-Bt6D__oo.cjs +359 -0
  361. package/dist/next/DataTable-Bt6D__oo.cjs.map +1 -0
  362. package/dist/next/DataTable-CZj_U9rg.js +360 -0
  363. package/dist/next/DataTable-CZj_U9rg.js.map +1 -0
  364. package/dist/next/DataTable.cjs.js +1 -1
  365. package/dist/next/DataTable.js +1 -1
  366. package/dist/next/DateTimePicker-Cols3qxt.cjs +322 -0
  367. package/dist/next/DateTimePicker-Cols3qxt.cjs.map +1 -0
  368. package/dist/next/DateTimePicker-DB2exnHd.js +323 -0
  369. package/dist/next/DateTimePicker-DB2exnHd.js.map +1 -0
  370. package/dist/next/DateTimePicker.cjs.js +1 -1
  371. package/dist/next/DateTimePicker.js +1 -1
  372. package/dist/next/Divider-DXGze_D2.js +126 -0
  373. package/dist/next/Divider-DXGze_D2.js.map +1 -0
  374. package/dist/next/Divider-Dr0xlon0.cjs +125 -0
  375. package/dist/next/Divider-Dr0xlon0.cjs.map +1 -0
  376. package/dist/next/Divider.cjs.js +1 -1
  377. package/dist/next/Divider.js +1 -1
  378. package/dist/next/Dropdown-B7PgWHlY.js +390 -0
  379. package/dist/next/Dropdown-B7PgWHlY.js.map +1 -0
  380. package/dist/next/Dropdown-kQLhr7_M.cjs +389 -0
  381. package/dist/next/Dropdown-kQLhr7_M.cjs.map +1 -0
  382. package/dist/next/Dropdown.cjs.js +1 -1
  383. package/dist/next/Dropdown.js +1 -1
  384. package/dist/next/EmptyState-BH1X81TH.cjs +182 -0
  385. package/dist/next/EmptyState-BH1X81TH.cjs.map +1 -0
  386. package/dist/next/EmptyState-DCCDQWOQ.js +183 -0
  387. package/dist/next/EmptyState-DCCDQWOQ.js.map +1 -0
  388. package/dist/next/EmptyState.cjs.js +1 -1
  389. package/dist/next/EmptyState.js +1 -1
  390. package/dist/next/FileUpload-BQW5ol7P.js +620 -0
  391. package/dist/next/FileUpload-BQW5ol7P.js.map +1 -0
  392. package/dist/next/FileUpload-C9Ke2cTs.cjs +619 -0
  393. package/dist/next/FileUpload-C9Ke2cTs.cjs.map +1 -0
  394. package/dist/next/FileUpload.cjs.js +1 -1
  395. package/dist/next/FileUpload.js +1 -1
  396. package/dist/next/Footer-Dl_wQwsb.js +325 -0
  397. package/dist/next/Footer-Dl_wQwsb.js.map +1 -0
  398. package/dist/next/Footer-i9rgxATK.cjs +324 -0
  399. package/dist/next/Footer-i9rgxATK.cjs.map +1 -0
  400. package/dist/next/Footer.cjs.js +1 -1
  401. package/dist/next/Footer.js +1 -1
  402. package/dist/next/FormGroup-AHYiWnkX.js +209 -0
  403. package/dist/next/FormGroup-AHYiWnkX.js.map +1 -0
  404. package/dist/next/FormGroup-B4Xb3X61.cjs +208 -0
  405. package/dist/next/FormGroup-B4Xb3X61.cjs.map +1 -0
  406. package/dist/next/FormGroup.cjs.js +1 -1
  407. package/dist/next/FormGroup.js +1 -1
  408. package/dist/next/IconButton-4ySBEhn1.cjs +217 -0
  409. package/dist/next/IconButton-4ySBEhn1.cjs.map +1 -0
  410. package/dist/next/IconButton-BWw3WPaS.js +218 -0
  411. package/dist/next/IconButton-BWw3WPaS.js.map +1 -0
  412. package/dist/next/IconButton.cjs.js +1 -1
  413. package/dist/next/IconButton.js +1 -1
  414. package/dist/next/MarkdownRenderer-CGnuIkVY.js +143 -0
  415. package/dist/next/MarkdownRenderer-CGnuIkVY.js.map +1 -0
  416. package/dist/next/MarkdownRenderer-CO_rlPOB.cjs +142 -0
  417. package/dist/next/MarkdownRenderer-CO_rlPOB.cjs.map +1 -0
  418. package/dist/next/MarkdownRenderer.cjs.js +1 -1
  419. package/dist/next/MarkdownRenderer.js +1 -1
  420. package/dist/next/MessagePopup-DIrdAeyg.js +275 -0
  421. package/dist/next/MessagePopup-DIrdAeyg.js.map +1 -0
  422. package/dist/next/MessagePopup-D_gZy6eH.cjs +274 -0
  423. package/dist/next/MessagePopup-D_gZy6eH.cjs.map +1 -0
  424. package/dist/next/MessagePopup.cjs.js +1 -1
  425. package/dist/next/MessagePopup.js +1 -1
  426. package/dist/next/MetricBox-CeONzyEu.cjs +206 -0
  427. package/dist/next/MetricBox-CeONzyEu.cjs.map +1 -0
  428. package/dist/next/MetricBox-D9-RmZoy.js +207 -0
  429. package/dist/next/MetricBox-D9-RmZoy.js.map +1 -0
  430. package/dist/next/MetricBox.cjs.js +1 -1
  431. package/dist/next/MetricBox.js +1 -1
  432. package/dist/next/Modal-D7hNuMII.cjs +258 -0
  433. package/dist/next/Modal-D7hNuMII.cjs.map +1 -0
  434. package/dist/next/Modal-Dre8TMtr.js +259 -0
  435. package/dist/next/Modal-Dre8TMtr.js.map +1 -0
  436. package/dist/next/Modal.cjs.js +1 -1
  437. package/dist/next/Modal.js +1 -1
  438. package/dist/next/NavBar-d-Hx7gkg.cjs +201 -0
  439. package/dist/next/NavBar-d-Hx7gkg.cjs.map +1 -0
  440. package/dist/next/NavBar-dpbPYT0w.js +202 -0
  441. package/dist/next/NavBar-dpbPYT0w.js.map +1 -0
  442. package/dist/next/NavBar.cjs.js +1 -1
  443. package/dist/next/NavBar.js +1 -1
  444. package/dist/next/NotificationCenter-BrAzv2oD.js +469 -0
  445. package/dist/next/NotificationCenter-BrAzv2oD.js.map +1 -0
  446. package/dist/next/NotificationCenter-JIX-pouI.cjs +468 -0
  447. package/dist/next/NotificationCenter-JIX-pouI.cjs.map +1 -0
  448. package/dist/next/NotificationCenter.cjs.js +2 -4
  449. package/dist/next/NotificationCenter.cjs.js.map +1 -1
  450. package/dist/next/NotificationCenter.js +2 -3
  451. package/dist/next/Pager-DFKfUn1s.js +227 -0
  452. package/dist/next/Pager-DFKfUn1s.js.map +1 -0
  453. package/dist/next/Pager-DcibmVu1.cjs +226 -0
  454. package/dist/next/Pager-DcibmVu1.cjs.map +1 -0
  455. package/dist/next/Pager.cjs.js +1 -1
  456. package/dist/next/Pager.js +1 -1
  457. package/dist/next/PopOver-CUON_Abe.js +274 -0
  458. package/dist/next/PopOver-CUON_Abe.js.map +1 -0
  459. package/dist/next/PopOver-CpSdILYS.cjs +273 -0
  460. package/dist/next/PopOver-CpSdILYS.cjs.map +1 -0
  461. package/dist/next/PopOver.cjs.js +1 -1
  462. package/dist/next/PopOver.js +1 -1
  463. package/dist/next/ProgressBar-CMYDs8uL.js +199 -0
  464. package/dist/next/ProgressBar-CMYDs8uL.js.map +1 -0
  465. package/dist/next/ProgressBar-sg1jxDfy.cjs +198 -0
  466. package/dist/next/ProgressBar-sg1jxDfy.cjs.map +1 -0
  467. package/dist/next/ProgressBar.cjs.js +1 -1
  468. package/dist/next/ProgressBar.js +1 -1
  469. package/dist/next/RadioButton-X5L9U53Y.cjs +183 -0
  470. package/dist/next/RadioButton-X5L9U53Y.cjs.map +1 -0
  471. package/dist/next/RadioButton-z26U6POV.js +184 -0
  472. package/dist/next/RadioButton-z26U6POV.js.map +1 -0
  473. package/dist/next/RadioButton.cjs.js +1 -1
  474. package/dist/next/RadioButton.js +1 -1
  475. package/dist/next/Rating-D6JEDvn4.js +234 -0
  476. package/dist/next/Rating-D6JEDvn4.js.map +1 -0
  477. package/dist/next/Rating-DXYBYXmx.cjs +233 -0
  478. package/dist/next/Rating-DXYBYXmx.cjs.map +1 -0
  479. package/dist/next/Rating.cjs.js +1 -1
  480. package/dist/next/Rating.js +1 -1
  481. package/dist/next/ScrollToTop-CBRFQNC0.cjs +149 -0
  482. package/dist/next/ScrollToTop-CBRFQNC0.cjs.map +1 -0
  483. package/dist/next/ScrollToTop-Cw7LXubo.js +150 -0
  484. package/dist/next/ScrollToTop-Cw7LXubo.js.map +1 -0
  485. package/dist/next/ScrollToTop.cjs.js +1 -1
  486. package/dist/next/ScrollToTop.js +1 -1
  487. package/dist/next/Select-DAD4xA1b.cjs +258 -0
  488. package/dist/next/Select-DAD4xA1b.cjs.map +1 -0
  489. package/dist/next/Select-b8fO1q2K.js +259 -0
  490. package/dist/next/Select-b8fO1q2K.js.map +1 -0
  491. package/dist/next/Select.cjs.js +1 -1
  492. package/dist/next/Select.js +1 -1
  493. package/dist/next/Sidebar-BwW51HwF.js +392 -0
  494. package/dist/next/Sidebar-BwW51HwF.js.map +1 -0
  495. package/dist/next/Sidebar-U5BQKtKR.cjs +391 -0
  496. package/dist/next/Sidebar-U5BQKtKR.cjs.map +1 -0
  497. package/dist/next/Sidebar.cjs.js +1 -1
  498. package/dist/next/Sidebar.js +1 -1
  499. package/dist/next/Skeleton-Bk8l48-D.js +141 -0
  500. package/dist/next/Skeleton-Bk8l48-D.js.map +1 -0
  501. package/dist/next/Skeleton-N1-8bK7i.cjs +140 -0
  502. package/dist/next/Skeleton-N1-8bK7i.cjs.map +1 -0
  503. package/dist/next/Skeleton.cjs.js +1 -1
  504. package/dist/next/Skeleton.js +1 -1
  505. package/dist/next/Slider-BPtajU2m.cjs +207 -0
  506. package/dist/next/Slider-BPtajU2m.cjs.map +1 -0
  507. package/dist/next/Slider-DOGkUQYT.js +208 -0
  508. package/dist/next/Slider-DOGkUQYT.js.map +1 -0
  509. package/dist/next/Slider.cjs.js +1 -1
  510. package/dist/next/Slider.js +1 -1
  511. package/dist/next/Spinner-CmaoTjNr.cjs +161 -0
  512. package/dist/next/Spinner-CmaoTjNr.cjs.map +1 -0
  513. package/dist/next/Spinner-D7jfVZGm.js +162 -0
  514. package/dist/next/Spinner-D7jfVZGm.js.map +1 -0
  515. package/dist/next/Spinner.cjs.js +1 -1
  516. package/dist/next/Spinner.js +1 -1
  517. package/dist/next/Stepper-C0cNzpY8.cjs +198 -0
  518. package/dist/next/Stepper-C0cNzpY8.cjs.map +1 -0
  519. package/dist/next/Stepper-CSh2wccK.js +199 -0
  520. package/dist/next/Stepper-CSh2wccK.js.map +1 -0
  521. package/dist/next/Stepper.cjs.js +1 -1
  522. package/dist/next/Stepper.js +1 -1
  523. package/dist/next/Tabs-B6zeG5AB.cjs +264 -0
  524. package/dist/next/Tabs-B6zeG5AB.cjs.map +1 -0
  525. package/dist/next/Tabs-Dors0bVs.js +265 -0
  526. package/dist/next/Tabs-Dors0bVs.js.map +1 -0
  527. package/dist/next/Tabs.cjs.js +1 -1
  528. package/dist/next/Tabs.js +1 -1
  529. package/dist/next/TagInput-V3zvXcNq.js +389 -0
  530. package/dist/next/TagInput-V3zvXcNq.js.map +1 -0
  531. package/dist/next/TagInput-ceV9Jjqe.cjs +388 -0
  532. package/dist/next/TagInput-ceV9Jjqe.cjs.map +1 -0
  533. package/dist/next/TagInput.cjs.js +1 -1
  534. package/dist/next/TagInput.js +1 -1
  535. package/dist/next/TextArea-BSO1_gaS.js +240 -0
  536. package/dist/next/TextArea-BSO1_gaS.js.map +1 -0
  537. package/dist/next/TextArea-BXmbrq4-.cjs +239 -0
  538. package/dist/next/TextArea-BXmbrq4-.cjs.map +1 -0
  539. package/dist/next/TextArea.cjs.js +1 -1
  540. package/dist/next/TextArea.js +1 -1
  541. package/dist/next/TextInput-7nN8g78V.cjs +344 -0
  542. package/dist/next/TextInput-7nN8g78V.cjs.map +1 -0
  543. package/dist/next/TextInput-yUHEWbdK.js +345 -0
  544. package/dist/next/TextInput-yUHEWbdK.js.map +1 -0
  545. package/dist/next/TextInput.cjs.js +1 -1
  546. package/dist/next/TextInput.js +1 -1
  547. package/dist/next/ThemeContext-zE_shsx6.js +199 -0
  548. package/dist/next/ThemeContext-zE_shsx6.js.map +1 -0
  549. package/dist/next/ThemeProvider.js +3 -3
  550. package/dist/next/Timeline-BTsKMULd.js +223 -0
  551. package/dist/next/Timeline-BTsKMULd.js.map +1 -0
  552. package/dist/next/Timeline-Dep_oZrh.cjs +222 -0
  553. package/dist/next/Timeline-Dep_oZrh.cjs.map +1 -0
  554. package/dist/next/Timeline.cjs.js +1 -1
  555. package/dist/next/Timeline.js +1 -1
  556. package/dist/next/Toggle-BomUbOZa.js +190 -0
  557. package/dist/next/Toggle-BomUbOZa.js.map +1 -0
  558. package/dist/next/Toggle-C9uZG3i5.cjs +189 -0
  559. package/dist/next/Toggle-C9uZG3i5.cjs.map +1 -0
  560. package/dist/next/Toggle.cjs.js +1 -1
  561. package/dist/next/Toggle.js +1 -1
  562. package/dist/next/Toolbar-Be-YQqmX.js +191 -0
  563. package/dist/next/Toolbar-Be-YQqmX.js.map +1 -0
  564. package/dist/next/Toolbar-roQbIEcD.cjs +190 -0
  565. package/dist/next/Toolbar-roQbIEcD.cjs.map +1 -0
  566. package/dist/next/Toolbar.cjs.js +1 -1
  567. package/dist/next/Toolbar.js +1 -1
  568. package/dist/next/Tooltip-DVI61ebD.cjs +214 -0
  569. package/dist/next/Tooltip-DVI61ebD.cjs.map +1 -0
  570. package/dist/next/Tooltip-lxpnIfpO.js +215 -0
  571. package/dist/next/Tooltip-lxpnIfpO.js.map +1 -0
  572. package/dist/next/Tooltip.cjs.js +1 -1
  573. package/dist/next/Tooltip.js +1 -1
  574. package/dist/next/Typography-B6VNZtxH.cjs +231 -0
  575. package/dist/next/Typography-B6VNZtxH.cjs.map +1 -0
  576. package/dist/next/Typography-BdS7h4Eq.js +232 -0
  577. package/dist/next/Typography-BdS7h4Eq.js.map +1 -0
  578. package/dist/next/Typography.cjs.js +1 -1
  579. package/dist/next/Typography.js +1 -1
  580. package/dist/next/boreal-ui.css +308 -291
  581. package/dist/next/image-CvorlI3C.js +2893 -0
  582. package/dist/next/image-CvorlI3C.js.map +1 -0
  583. package/dist/next/image-DuTgdWOV.cjs +2892 -0
  584. package/dist/next/image-DuTgdWOV.cjs.map +1 -0
  585. package/dist/next/index.cjs.js +8059 -47
  586. package/dist/next/index.cjs.js.map +1 -1
  587. package/dist/next/index.js +8063 -51
  588. package/dist/next/index.js.map +1 -1
  589. package/dist/next/link-4NcriBFB.js +4098 -0
  590. package/dist/next/link-4NcriBFB.js.map +1 -0
  591. package/dist/next/link-CenftYXJ.cjs +4097 -0
  592. package/dist/next/link-CenftYXJ.cjs.map +1 -0
  593. package/dist/next/navigation-BCeRD3ib.js +4443 -0
  594. package/dist/next/navigation-BCeRD3ib.js.map +1 -0
  595. package/dist/next/navigation-DtjMH66C.cjs +4442 -0
  596. package/dist/next/navigation-DtjMH66C.cjs.map +1 -0
  597. package/dist/tsconfig.build.tsbuildinfo +1 -1
  598. package/dist/types/components/Accordion/Accordion.types.d.ts +53 -13
  599. package/dist/types/components/Accordion/Accordion.types.d.ts.map +1 -1
  600. package/dist/types/components/Accordion/AccordionBase.d.ts.map +1 -1
  601. package/dist/types/components/Avatar/Avatar.types.d.ts +44 -21
  602. package/dist/types/components/Avatar/Avatar.types.d.ts.map +1 -1
  603. package/dist/types/components/Avatar/AvatarBase.d.ts.map +1 -1
  604. package/dist/types/components/Badge/Badge.types.d.ts +44 -13
  605. package/dist/types/components/Badge/Badge.types.d.ts.map +1 -1
  606. package/dist/types/components/Badge/BadgeBase.d.ts.map +1 -1
  607. package/dist/types/components/Breadcrumbs/Breadcrumbs.types.d.ts +29 -9
  608. package/dist/types/components/Breadcrumbs/Breadcrumbs.types.d.ts.map +1 -1
  609. package/dist/types/components/Breadcrumbs/BreadcrumbsBase.d.ts.map +1 -1
  610. package/dist/types/components/Button/Button.types.d.ts +63 -5
  611. package/dist/types/components/Button/Button.types.d.ts.map +1 -1
  612. package/dist/types/components/Button/ButtonBase.d.ts.map +1 -1
  613. package/dist/types/components/Card/Card.types.d.ts +62 -13
  614. package/dist/types/components/Card/Card.types.d.ts.map +1 -1
  615. package/dist/types/components/Card/CardBase.d.ts.map +1 -1
  616. package/dist/types/components/Checkbox/Checkbox.types.d.ts +42 -3
  617. package/dist/types/components/Checkbox/Checkbox.types.d.ts.map +1 -1
  618. package/dist/types/components/Checkbox/CheckboxBase.d.ts.map +1 -1
  619. package/dist/types/components/Checkbox/core/Checkbox.d.ts.map +1 -1
  620. package/dist/types/components/Chip/Chip.types.d.ts +33 -5
  621. package/dist/types/components/Chip/Chip.types.d.ts.map +1 -1
  622. package/dist/types/components/Chip/ChipBase.d.ts.map +1 -1
  623. package/dist/types/components/CircularProgress/CircularProgress.types.d.ts +38 -6
  624. package/dist/types/components/CircularProgress/CircularProgress.types.d.ts.map +1 -1
  625. package/dist/types/components/CircularProgress/CircularProgressBase.d.ts.map +1 -1
  626. package/dist/types/components/ColorPicker/ColorPicker.types.d.ts +35 -2
  627. package/dist/types/components/ColorPicker/ColorPicker.types.d.ts.map +1 -1
  628. package/dist/types/components/ColorPicker/ColorPickerBase.d.ts.map +1 -1
  629. package/dist/types/components/CommandPalette/CommandPalette.types.d.ts +38 -2
  630. package/dist/types/components/CommandPalette/CommandPalette.types.d.ts.map +1 -1
  631. package/dist/types/components/CommandPalette/CommandPaletteBase.d.ts +1 -5
  632. package/dist/types/components/CommandPalette/CommandPaletteBase.d.ts.map +1 -1
  633. package/dist/types/components/DataTable/DataTable.types.d.ts +84 -1
  634. package/dist/types/components/DataTable/DataTable.types.d.ts.map +1 -1
  635. package/dist/types/components/DataTable/DataTableBase.d.ts +1 -1
  636. package/dist/types/components/DataTable/DataTableBase.d.ts.map +1 -1
  637. package/dist/types/components/DataTable/core/DataTable.d.ts.map +1 -1
  638. package/dist/types/components/DateTimePicker/DateTimePicker.types.d.ts +42 -2
  639. package/dist/types/components/DateTimePicker/DateTimePicker.types.d.ts.map +1 -1
  640. package/dist/types/components/DateTimePicker/DateTimePickerBase.d.ts.map +1 -1
  641. package/dist/types/components/Divider/Divider.types.d.ts +19 -1
  642. package/dist/types/components/Divider/Divider.types.d.ts.map +1 -1
  643. package/dist/types/components/Divider/DividerBase.d.ts.map +1 -1
  644. package/dist/types/components/Dropdown/Dropdown.types.d.ts +93 -7
  645. package/dist/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  646. package/dist/types/components/Dropdown/DropdownBase.d.ts.map +1 -1
  647. package/dist/types/components/EmptyState/EmptyState.types.d.ts +45 -7
  648. package/dist/types/components/EmptyState/EmptyState.types.d.ts.map +1 -1
  649. package/dist/types/components/EmptyState/EmptyStateBase.d.ts.map +1 -1
  650. package/dist/types/components/FileUpload/FileUpload.types.d.ts +52 -4
  651. package/dist/types/components/FileUpload/FileUpload.types.d.ts.map +1 -1
  652. package/dist/types/components/FileUpload/FileUploadBase.d.ts.map +1 -1
  653. package/dist/types/components/Footer/Footer.types.d.ts +101 -7
  654. package/dist/types/components/Footer/Footer.types.d.ts.map +1 -1
  655. package/dist/types/components/Footer/FooterBase.d.ts.map +1 -1
  656. package/dist/types/components/FormGroup/FormGroup.types.d.ts +42 -4
  657. package/dist/types/components/FormGroup/FormGroup.types.d.ts.map +1 -1
  658. package/dist/types/components/FormGroup/FormGroupBase.d.ts.map +1 -1
  659. package/dist/types/components/IconButton/IconButton.types.d.ts +41 -2
  660. package/dist/types/components/IconButton/IconButton.types.d.ts.map +1 -1
  661. package/dist/types/components/IconButton/IconButtonBase.d.ts.map +1 -1
  662. package/dist/types/components/MarkdownRenderer/MarkdownRenderer.types.d.ts +27 -1
  663. package/dist/types/components/MarkdownRenderer/MarkdownRenderer.types.d.ts.map +1 -1
  664. package/dist/types/components/MarkdownRenderer/MarkdownRendererBase.d.ts.map +1 -1
  665. package/dist/types/components/MessagePopup/MessagePopup.types.d.ts +30 -0
  666. package/dist/types/components/MessagePopup/MessagePopup.types.d.ts.map +1 -1
  667. package/dist/types/components/MessagePopup/MessagePopupBase.d.ts.map +1 -1
  668. package/dist/types/components/MetricBox/MetricBox.types.d.ts +38 -0
  669. package/dist/types/components/MetricBox/MetricBox.types.d.ts.map +1 -1
  670. package/dist/types/components/MetricBox/MetricBoxBase.d.ts.map +1 -1
  671. package/dist/types/components/Modal/Modal.types.d.ts +21 -0
  672. package/dist/types/components/Modal/Modal.types.d.ts.map +1 -1
  673. package/dist/types/components/Modal/ModalBase.d.ts.map +1 -1
  674. package/dist/types/components/NavBar/NavBar.types.d.ts +25 -0
  675. package/dist/types/components/NavBar/NavBar.types.d.ts.map +1 -1
  676. package/dist/types/components/NavBar/NavBarBase.d.ts.map +1 -1
  677. package/dist/types/components/NotificationCenter/NotificationCenter.constants.d.ts +7 -0
  678. package/dist/types/components/NotificationCenter/NotificationCenter.constants.d.ts.map +1 -0
  679. package/dist/types/components/NotificationCenter/NotificationCenter.types.d.ts +24 -5
  680. package/dist/types/components/NotificationCenter/NotificationCenter.types.d.ts.map +1 -1
  681. package/dist/types/components/NotificationCenter/NotificationCenterBase.d.ts.map +1 -1
  682. package/dist/types/components/Pager/Pager.types.d.ts +18 -0
  683. package/dist/types/components/Pager/Pager.types.d.ts.map +1 -1
  684. package/dist/types/components/Pager/PagerBase.d.ts.map +1 -1
  685. package/dist/types/components/PopOver/PopOver.types.d.ts +23 -0
  686. package/dist/types/components/PopOver/PopOver.types.d.ts.map +1 -1
  687. package/dist/types/components/PopOver/PopOverBase.d.ts.map +1 -1
  688. package/dist/types/components/ProgressBar/ProgressBar.types.d.ts +32 -1
  689. package/dist/types/components/ProgressBar/ProgressBar.types.d.ts.map +1 -1
  690. package/dist/types/components/ProgressBar/ProgressBarBase.d.ts.map +1 -1
  691. package/dist/types/components/RadioButton/RadioButton.types.d.ts +21 -0
  692. package/dist/types/components/RadioButton/RadioButton.types.d.ts.map +1 -1
  693. package/dist/types/components/RadioButton/RadioButtonBase.d.ts.map +1 -1
  694. package/dist/types/components/Rating/Rating.types.d.ts +31 -1
  695. package/dist/types/components/Rating/Rating.types.d.ts.map +1 -1
  696. package/dist/types/components/Rating/RatingBase.d.ts.map +1 -1
  697. package/dist/types/components/ScrollToTop/ScrollToTop.types.d.ts +30 -2
  698. package/dist/types/components/ScrollToTop/ScrollToTop.types.d.ts.map +1 -1
  699. package/dist/types/components/ScrollToTop/ScrollToTopBase.d.ts.map +1 -1
  700. package/dist/types/components/Select/Select.types.d.ts +92 -16
  701. package/dist/types/components/Select/Select.types.d.ts.map +1 -1
  702. package/dist/types/components/Select/SelectBase.d.ts.map +1 -1
  703. package/dist/types/components/Sidebar/Sidebar.types.d.ts +57 -3
  704. package/dist/types/components/Sidebar/Sidebar.types.d.ts.map +1 -1
  705. package/dist/types/components/Sidebar/SidebarBase.d.ts.map +1 -1
  706. package/dist/types/components/Skeleton/Skeleton.types.d.ts +33 -2
  707. package/dist/types/components/Skeleton/Skeleton.types.d.ts.map +1 -1
  708. package/dist/types/components/Skeleton/SkeletonBase.d.ts.map +1 -1
  709. package/dist/types/components/Slider/Slider.types.d.ts +26 -1
  710. package/dist/types/components/Slider/Slider.types.d.ts.map +1 -1
  711. package/dist/types/components/Slider/SliderBase.d.ts.map +1 -1
  712. package/dist/types/components/Spinner/Spinner.types.d.ts +31 -1
  713. package/dist/types/components/Spinner/Spinner.types.d.ts.map +1 -1
  714. package/dist/types/components/Spinner/SpinnerBase.d.ts.map +1 -1
  715. package/dist/types/components/Stepper/Stepper.types.d.ts +24 -0
  716. package/dist/types/components/Stepper/Stepper.types.d.ts.map +1 -1
  717. package/dist/types/components/Stepper/StepperBase.d.ts.map +1 -1
  718. package/dist/types/components/Tabs/Tabs.types.d.ts +24 -4
  719. package/dist/types/components/Tabs/Tabs.types.d.ts.map +1 -1
  720. package/dist/types/components/Tabs/TabsBase.d.ts.map +1 -1
  721. package/dist/types/components/TagInput/TagInput.types.d.ts +50 -4
  722. package/dist/types/components/TagInput/TagInput.types.d.ts.map +1 -1
  723. package/dist/types/components/TagInput/TagInputBase.d.ts.map +1 -1
  724. package/dist/types/components/TextArea/TextArea.types.d.ts +33 -19
  725. package/dist/types/components/TextArea/TextArea.types.d.ts.map +1 -1
  726. package/dist/types/components/TextArea/TextAreaBase.d.ts.map +1 -1
  727. package/dist/types/components/TextInput/TextInput.types.d.ts +77 -19
  728. package/dist/types/components/TextInput/TextInput.types.d.ts.map +1 -1
  729. package/dist/types/components/TextInput/TextInputBase.d.ts.map +1 -1
  730. package/dist/types/components/Timeline/Timeline.types.d.ts +21 -5
  731. package/dist/types/components/Timeline/Timeline.types.d.ts.map +1 -1
  732. package/dist/types/components/Timeline/TimelineBase.d.ts.map +1 -1
  733. package/dist/types/components/Toggle/Toggle.types.d.ts +37 -0
  734. package/dist/types/components/Toggle/Toggle.types.d.ts.map +1 -1
  735. package/dist/types/components/Toggle/ToggleBase.d.ts.map +1 -1
  736. package/dist/types/components/Toolbar/Toolbar.types.d.ts +40 -7
  737. package/dist/types/components/Toolbar/Toolbar.types.d.ts.map +1 -1
  738. package/dist/types/components/Toolbar/ToolbarBase.d.ts.map +1 -1
  739. package/dist/types/components/Tooltip/Tooltip.types.d.ts +50 -1
  740. package/dist/types/components/Tooltip/Tooltip.types.d.ts.map +1 -1
  741. package/dist/types/components/Tooltip/TooltipBase.d.ts.map +1 -1
  742. package/dist/types/components/Typography/Typography.types.d.ts +11 -3
  743. package/dist/types/components/Typography/Typography.types.d.ts.map +1 -1
  744. package/dist/types/components/Typography/TypographyBase.d.ts +1 -1
  745. package/dist/types/components/Typography/TypographyBase.d.ts.map +1 -1
  746. package/dist/types/components/Typography/core/Typography.d.ts +1 -2
  747. package/dist/types/components/Typography/core/Typography.d.ts.map +1 -1
  748. package/dist/types/components/Typography/next/Typography.d.ts +1 -2
  749. package/dist/types/components/Typography/next/Typography.d.ts.map +1 -1
  750. package/dist/types/generated-docs/Accordion.props.d.ts +7 -0
  751. package/dist/types/generated-docs/Accordion.props.d.ts.map +1 -0
  752. package/dist/types/generated-docs/Avatar.props.d.ts +7 -0
  753. package/dist/types/generated-docs/Avatar.props.d.ts.map +1 -0
  754. package/dist/types/generated-docs/Badge.props.d.ts +7 -0
  755. package/dist/types/generated-docs/Badge.props.d.ts.map +1 -0
  756. package/dist/types/generated-docs/Breadcrumbs.props.d.ts +7 -0
  757. package/dist/types/generated-docs/Breadcrumbs.props.d.ts.map +1 -0
  758. package/dist/types/generated-docs/Button.props.d.ts +7 -0
  759. package/dist/types/generated-docs/Button.props.d.ts.map +1 -0
  760. package/dist/types/generated-docs/Card.props.d.ts +7 -0
  761. package/dist/types/generated-docs/Card.props.d.ts.map +1 -0
  762. package/dist/types/generated-docs/Chip.props.d.ts +7 -0
  763. package/dist/types/generated-docs/Chip.props.d.ts.map +1 -0
  764. package/dist/types/generated-docs/CircularProgress.props.d.ts +7 -0
  765. package/dist/types/generated-docs/CircularProgress.props.d.ts.map +1 -0
  766. package/dist/types/generated-docs/ColorPicker.props.d.ts +7 -0
  767. package/dist/types/generated-docs/ColorPicker.props.d.ts.map +1 -0
  768. package/dist/types/generated-docs/CommandPalette.props.d.ts +7 -0
  769. package/dist/types/generated-docs/CommandPalette.props.d.ts.map +1 -0
  770. package/dist/types/generated-docs/DataTable.props.d.ts +7 -0
  771. package/dist/types/generated-docs/DataTable.props.d.ts.map +1 -0
  772. package/dist/types/generated-docs/DateTimePicker.props.d.ts +7 -0
  773. package/dist/types/generated-docs/DateTimePicker.props.d.ts.map +1 -0
  774. package/dist/types/generated-docs/Divider.props.d.ts +7 -0
  775. package/dist/types/generated-docs/Divider.props.d.ts.map +1 -0
  776. package/dist/types/generated-docs/Dropdown.props.d.ts +7 -0
  777. package/dist/types/generated-docs/Dropdown.props.d.ts.map +1 -0
  778. package/dist/types/generated-docs/EmptyState.props.d.ts +7 -0
  779. package/dist/types/generated-docs/EmptyState.props.d.ts.map +1 -0
  780. package/dist/types/generated-docs/FileUpload.props.d.ts +7 -0
  781. package/dist/types/generated-docs/FileUpload.props.d.ts.map +1 -0
  782. package/dist/types/generated-docs/Footer.props.d.ts +7 -0
  783. package/dist/types/generated-docs/Footer.props.d.ts.map +1 -0
  784. package/dist/types/generated-docs/FormGroup.props.d.ts +7 -0
  785. package/dist/types/generated-docs/FormGroup.props.d.ts.map +1 -0
  786. package/dist/types/generated-docs/IconButton.props.d.ts +7 -0
  787. package/dist/types/generated-docs/IconButton.props.d.ts.map +1 -0
  788. package/dist/types/generated-docs/MarkdownRenderer.props.d.ts +7 -0
  789. package/dist/types/generated-docs/MarkdownRenderer.props.d.ts.map +1 -0
  790. package/dist/types/generated-docs/MessagePopup.props.d.ts +7 -0
  791. package/dist/types/generated-docs/MessagePopup.props.d.ts.map +1 -0
  792. package/dist/types/generated-docs/MetricBox.props.d.ts +7 -0
  793. package/dist/types/generated-docs/MetricBox.props.d.ts.map +1 -0
  794. package/dist/types/generated-docs/Modal.props.d.ts +7 -0
  795. package/dist/types/generated-docs/Modal.props.d.ts.map +1 -0
  796. package/dist/types/generated-docs/NavBar.props.d.ts +7 -0
  797. package/dist/types/generated-docs/NavBar.props.d.ts.map +1 -0
  798. package/dist/types/generated-docs/NotificationCenter.props.d.ts +7 -0
  799. package/dist/types/generated-docs/NotificationCenter.props.d.ts.map +1 -0
  800. package/dist/types/generated-docs/ProgressBar.props.d.ts +7 -0
  801. package/dist/types/generated-docs/ProgressBar.props.d.ts.map +1 -0
  802. package/dist/types/generated-docs/RadioButton.props.d.ts +7 -0
  803. package/dist/types/generated-docs/RadioButton.props.d.ts.map +1 -0
  804. package/dist/types/generated-docs/Rating.props.d.ts +7 -0
  805. package/dist/types/generated-docs/Rating.props.d.ts.map +1 -0
  806. package/dist/types/generated-docs/ScrollToTop.props.d.ts +7 -0
  807. package/dist/types/generated-docs/ScrollToTop.props.d.ts.map +1 -0
  808. package/dist/types/generated-docs/Select.props.d.ts +7 -0
  809. package/dist/types/generated-docs/Select.props.d.ts.map +1 -0
  810. package/dist/types/generated-docs/Sidebar.props.d.ts +7 -0
  811. package/dist/types/generated-docs/Sidebar.props.d.ts.map +1 -0
  812. package/dist/types/generated-docs/Skeleton.props.d.ts +7 -0
  813. package/dist/types/generated-docs/Skeleton.props.d.ts.map +1 -0
  814. package/dist/types/generated-docs/Slider.props.d.ts +7 -0
  815. package/dist/types/generated-docs/Slider.props.d.ts.map +1 -0
  816. package/dist/types/generated-docs/Spinner.props.d.ts +7 -0
  817. package/dist/types/generated-docs/Spinner.props.d.ts.map +1 -0
  818. package/dist/types/generated-docs/Stepper.props.d.ts +7 -0
  819. package/dist/types/generated-docs/Stepper.props.d.ts.map +1 -0
  820. package/dist/types/generated-docs/Tabs.props.d.ts +7 -0
  821. package/dist/types/generated-docs/Tabs.props.d.ts.map +1 -0
  822. package/dist/types/generated-docs/TagInput.props.d.ts +7 -0
  823. package/dist/types/generated-docs/TagInput.props.d.ts.map +1 -0
  824. package/dist/types/generated-docs/TextArea.props.d.ts +7 -0
  825. package/dist/types/generated-docs/TextArea.props.d.ts.map +1 -0
  826. package/dist/types/generated-docs/TextInput.props.d.ts +7 -0
  827. package/dist/types/generated-docs/TextInput.props.d.ts.map +1 -0
  828. package/dist/types/generated-docs/Timeline.props.d.ts +7 -0
  829. package/dist/types/generated-docs/Timeline.props.d.ts.map +1 -0
  830. package/dist/types/generated-docs/Toggle.props.d.ts +7 -0
  831. package/dist/types/generated-docs/Toggle.props.d.ts.map +1 -0
  832. package/dist/types/generated-docs/Toolbar.props.d.ts +7 -0
  833. package/dist/types/generated-docs/Toolbar.props.d.ts.map +1 -0
  834. package/dist/types/generated-docs/Tooltip.props.d.ts +7 -0
  835. package/dist/types/generated-docs/Tooltip.props.d.ts.map +1 -0
  836. package/dist/types/generated-docs/Typography.props.d.ts +7 -0
  837. package/dist/types/generated-docs/Typography.props.d.ts.map +1 -0
  838. package/dist/types/generated-docs/index.d.ts +50 -0
  839. package/dist/types/generated-docs/index.d.ts.map +1 -0
  840. package/dist/types/generated-docs/types.d.ts +20 -0
  841. package/dist/types/generated-docs/types.d.ts.map +1 -0
  842. package/dist/types/index.core.d.ts +1 -0
  843. package/dist/types/index.core.d.ts.map +1 -1
  844. package/dist/types/index.next.d.ts +1 -0
  845. package/dist/types/index.next.d.ts.map +1 -1
  846. package/package.json +175 -128
  847. package/dist/core/Accordion-BwtII31u.js +0 -218
  848. package/dist/core/Accordion-BwtII31u.js.map +0 -1
  849. package/dist/core/Accordion-CyxuUy_t.cjs +0 -217
  850. package/dist/core/Accordion-CyxuUy_t.cjs.map +0 -1
  851. package/dist/core/Avatar-CUSWjsVo.js +0 -254
  852. package/dist/core/Avatar-CUSWjsVo.js.map +0 -1
  853. package/dist/core/Avatar-CxrSOiu7.cjs +0 -253
  854. package/dist/core/Avatar-CxrSOiu7.cjs.map +0 -1
  855. package/dist/core/Badge-BEj0KQvW.js +0 -161
  856. package/dist/core/Badge-BEj0KQvW.js.map +0 -1
  857. package/dist/core/Badge-BFvrWTX6.cjs +0 -160
  858. package/dist/core/Badge-BFvrWTX6.cjs.map +0 -1
  859. package/dist/core/Breadcrumbs-CJ-f4SqB.js +0 -195
  860. package/dist/core/Breadcrumbs-CJ-f4SqB.js.map +0 -1
  861. package/dist/core/Breadcrumbs-CMQYmSDB.cjs +0 -194
  862. package/dist/core/Breadcrumbs-CMQYmSDB.cjs.map +0 -1
  863. package/dist/core/Button-BT9ID2ki.cjs +0 -178
  864. package/dist/core/Button-BT9ID2ki.cjs.map +0 -1
  865. package/dist/core/Button-Sn-XGEsn.js +0 -179
  866. package/dist/core/Button-Sn-XGEsn.js.map +0 -1
  867. package/dist/core/Card-BmlPaqJZ.cjs +0 -299
  868. package/dist/core/Card-BmlPaqJZ.cjs.map +0 -1
  869. package/dist/core/Card-CRIPRZ_b.js +0 -300
  870. package/dist/core/Card-CRIPRZ_b.js.map +0 -1
  871. package/dist/core/Checkbox-8EgwIJTX.js +0 -153
  872. package/dist/core/Checkbox-8EgwIJTX.js.map +0 -1
  873. package/dist/core/Checkbox-BN4KCkz0.cjs +0 -152
  874. package/dist/core/Checkbox-BN4KCkz0.cjs.map +0 -1
  875. package/dist/core/Chip-9iK2hsJj.cjs +0 -161
  876. package/dist/core/Chip-9iK2hsJj.cjs.map +0 -1
  877. package/dist/core/Chip-BN-6gv8X.js +0 -162
  878. package/dist/core/Chip-BN-6gv8X.js.map +0 -1
  879. package/dist/core/CircularProgress-BAjEgUf9.js +0 -116
  880. package/dist/core/CircularProgress-BAjEgUf9.js.map +0 -1
  881. package/dist/core/CircularProgress-DVHra4Wi.cjs +0 -115
  882. package/dist/core/CircularProgress-DVHra4Wi.cjs.map +0 -1
  883. package/dist/core/ColorPicker-BE1z0P4n.cjs +0 -119
  884. package/dist/core/ColorPicker-BE1z0P4n.cjs.map +0 -1
  885. package/dist/core/ColorPicker-N8ZUJmJv.js +0 -120
  886. package/dist/core/ColorPicker-N8ZUJmJv.js.map +0 -1
  887. package/dist/core/CommandPalette-BVV9ElyC.js +0 -267
  888. package/dist/core/CommandPalette-BVV9ElyC.js.map +0 -1
  889. package/dist/core/CommandPalette-D4Onjukh.cjs +0 -266
  890. package/dist/core/CommandPalette-D4Onjukh.cjs.map +0 -1
  891. package/dist/core/DataTable-CBZ0XtxS.cjs +0 -188
  892. package/dist/core/DataTable-CBZ0XtxS.cjs.map +0 -1
  893. package/dist/core/DataTable-CF1AaO2t.js +0 -189
  894. package/dist/core/DataTable-CF1AaO2t.js.map +0 -1
  895. package/dist/core/DateTimePicker-B_x-Hw30.js +0 -204
  896. package/dist/core/DateTimePicker-B_x-Hw30.js.map +0 -1
  897. package/dist/core/DateTimePicker-Dh83Kd8i.cjs +0 -203
  898. package/dist/core/DateTimePicker-Dh83Kd8i.cjs.map +0 -1
  899. package/dist/core/Divider-2UcgENdU.js +0 -84
  900. package/dist/core/Divider-2UcgENdU.js.map +0 -1
  901. package/dist/core/Divider-AaLX554p.cjs +0 -83
  902. package/dist/core/Divider-AaLX554p.cjs.map +0 -1
  903. package/dist/core/Dropdown-D3hW8fec.js +0 -281
  904. package/dist/core/Dropdown-D3hW8fec.js.map +0 -1
  905. package/dist/core/Dropdown-wW-i6oeS.cjs +0 -280
  906. package/dist/core/Dropdown-wW-i6oeS.cjs.map +0 -1
  907. package/dist/core/EmptyState-D47l1YgZ.cjs +0 -152
  908. package/dist/core/EmptyState-D47l1YgZ.cjs.map +0 -1
  909. package/dist/core/EmptyState-D_7LnNDB.js +0 -153
  910. package/dist/core/EmptyState-D_7LnNDB.js.map +0 -1
  911. package/dist/core/FileUpload-B3gV8uYa.cjs +0 -421
  912. package/dist/core/FileUpload-B3gV8uYa.cjs.map +0 -1
  913. package/dist/core/FileUpload-H_G60ktw.js +0 -422
  914. package/dist/core/FileUpload-H_G60ktw.js.map +0 -1
  915. package/dist/core/Footer-DXBSC-EW.cjs +0 -217
  916. package/dist/core/Footer-DXBSC-EW.cjs.map +0 -1
  917. package/dist/core/Footer-j3QFfvxK.js +0 -218
  918. package/dist/core/Footer-j3QFfvxK.js.map +0 -1
  919. package/dist/core/FormGroup-Cit_2_Wo.cjs +0 -145
  920. package/dist/core/FormGroup-Cit_2_Wo.cjs.map +0 -1
  921. package/dist/core/FormGroup-DDZ1D_CI.js +0 -146
  922. package/dist/core/FormGroup-DDZ1D_CI.js.map +0 -1
  923. package/dist/core/IconButton-6hjW9_Za.js +0 -168
  924. package/dist/core/IconButton-6hjW9_Za.js.map +0 -1
  925. package/dist/core/IconButton-B7DYdUHH.cjs +0 -167
  926. package/dist/core/IconButton-B7DYdUHH.cjs.map +0 -1
  927. package/dist/core/MarkdownRenderer-CIJSu7o6.js +0 -112
  928. package/dist/core/MarkdownRenderer-CIJSu7o6.js.map +0 -1
  929. package/dist/core/MarkdownRenderer-D4emln2b.cjs +0 -111
  930. package/dist/core/MarkdownRenderer-D4emln2b.cjs.map +0 -1
  931. package/dist/core/MessagePopup-CyU-0yY3.cjs +0 -243
  932. package/dist/core/MessagePopup-CyU-0yY3.cjs.map +0 -1
  933. package/dist/core/MessagePopup-D6h1dJ-D.js +0 -244
  934. package/dist/core/MessagePopup-D6h1dJ-D.js.map +0 -1
  935. package/dist/core/MetricBox--nk1HHt-.js +0 -127
  936. package/dist/core/MetricBox--nk1HHt-.js.map +0 -1
  937. package/dist/core/MetricBox-Cy4qboZV.cjs +0 -126
  938. package/dist/core/MetricBox-Cy4qboZV.cjs.map +0 -1
  939. package/dist/core/Modal-GW1_WI8d.js +0 -225
  940. package/dist/core/Modal-GW1_WI8d.js.map +0 -1
  941. package/dist/core/Modal-gYZyAmkB.cjs +0 -224
  942. package/dist/core/Modal-gYZyAmkB.cjs.map +0 -1
  943. package/dist/core/NavBar-D8IkIqs9.js +0 -134
  944. package/dist/core/NavBar-D8IkIqs9.js.map +0 -1
  945. package/dist/core/NavBar-Dn1gUrAi.cjs +0 -133
  946. package/dist/core/NavBar-Dn1gUrAi.cjs.map +0 -1
  947. package/dist/core/NotificationCenter-DBRsoFv2.cjs +0 -375
  948. package/dist/core/NotificationCenter-DBRsoFv2.cjs.map +0 -1
  949. package/dist/core/NotificationCenter-nyzZ8p0t.js +0 -376
  950. package/dist/core/NotificationCenter-nyzZ8p0t.js.map +0 -1
  951. package/dist/core/Pager-rEKbCsap.js +0 -187
  952. package/dist/core/Pager-rEKbCsap.js.map +0 -1
  953. package/dist/core/Pager-wg8JPfcU.cjs +0 -186
  954. package/dist/core/Pager-wg8JPfcU.cjs.map +0 -1
  955. package/dist/core/PopOver-CZ-ZzkVe.js +0 -204
  956. package/dist/core/PopOver-CZ-ZzkVe.js.map +0 -1
  957. package/dist/core/PopOver-DMEKU24G.cjs +0 -203
  958. package/dist/core/PopOver-DMEKU24G.cjs.map +0 -1
  959. package/dist/core/ProgressBar-DENoE2ZA.js +0 -122
  960. package/dist/core/ProgressBar-DENoE2ZA.js.map +0 -1
  961. package/dist/core/ProgressBar-Djh3tscr.cjs +0 -121
  962. package/dist/core/ProgressBar-Djh3tscr.cjs.map +0 -1
  963. package/dist/core/RadioButton-Af4h43-j.js +0 -127
  964. package/dist/core/RadioButton-Af4h43-j.js.map +0 -1
  965. package/dist/core/RadioButton-o6h5NsTK.cjs +0 -126
  966. package/dist/core/RadioButton-o6h5NsTK.cjs.map +0 -1
  967. package/dist/core/Rating-Ce9hjQVC.cjs +0 -178
  968. package/dist/core/Rating-Ce9hjQVC.cjs.map +0 -1
  969. package/dist/core/Rating-D6ltlsWy.js +0 -179
  970. package/dist/core/Rating-D6ltlsWy.js.map +0 -1
  971. package/dist/core/ScrollToTop-BwntJ7A5.js +0 -121
  972. package/dist/core/ScrollToTop-BwntJ7A5.js.map +0 -1
  973. package/dist/core/ScrollToTop-CLBwqdLe.cjs +0 -120
  974. package/dist/core/ScrollToTop-CLBwqdLe.cjs.map +0 -1
  975. package/dist/core/Select-DQDXyKPq.js +0 -196
  976. package/dist/core/Select-DQDXyKPq.js.map +0 -1
  977. package/dist/core/Select-FS746FcH.cjs +0 -195
  978. package/dist/core/Select-FS746FcH.cjs.map +0 -1
  979. package/dist/core/Sidebar-CniHke_6.js +0 -305
  980. package/dist/core/Sidebar-CniHke_6.js.map +0 -1
  981. package/dist/core/Sidebar-DFAi7pQh.cjs +0 -304
  982. package/dist/core/Sidebar-DFAi7pQh.cjs.map +0 -1
  983. package/dist/core/Skeleton-B9LVkce_.js +0 -84
  984. package/dist/core/Skeleton-B9LVkce_.js.map +0 -1
  985. package/dist/core/Skeleton-DPR3hXBc.cjs +0 -83
  986. package/dist/core/Skeleton-DPR3hXBc.cjs.map +0 -1
  987. package/dist/core/Slider-BLSK3_yt.js +0 -131
  988. package/dist/core/Slider-BLSK3_yt.js.map +0 -1
  989. package/dist/core/Slider-XeEn7t2O.cjs +0 -130
  990. package/dist/core/Slider-XeEn7t2O.cjs.map +0 -1
  991. package/dist/core/Spinner-D2V23we6.cjs +0 -105
  992. package/dist/core/Spinner-D2V23we6.cjs.map +0 -1
  993. package/dist/core/Spinner-oky6qn-3.js +0 -106
  994. package/dist/core/Spinner-oky6qn-3.js.map +0 -1
  995. package/dist/core/Stepper-D5iUsoKL.js +0 -141
  996. package/dist/core/Stepper-D5iUsoKL.js.map +0 -1
  997. package/dist/core/Stepper-O6PTrY95.cjs +0 -140
  998. package/dist/core/Stepper-O6PTrY95.cjs.map +0 -1
  999. package/dist/core/Tabs-C2MAHi3V.js +0 -227
  1000. package/dist/core/Tabs-C2MAHi3V.js.map +0 -1
  1001. package/dist/core/Tabs-CncWfZxF.cjs +0 -226
  1002. package/dist/core/Tabs-CncWfZxF.cjs.map +0 -1
  1003. package/dist/core/TagInput-BFNzMNLC.cjs +0 -323
  1004. package/dist/core/TagInput-BFNzMNLC.cjs.map +0 -1
  1005. package/dist/core/TagInput-BdrT33b_.js +0 -324
  1006. package/dist/core/TagInput-BdrT33b_.js.map +0 -1
  1007. package/dist/core/TextArea-B7BTlqcx.js +0 -171
  1008. package/dist/core/TextArea-B7BTlqcx.js.map +0 -1
  1009. package/dist/core/TextArea-tX4BO8iT.cjs +0 -170
  1010. package/dist/core/TextArea-tX4BO8iT.cjs.map +0 -1
  1011. package/dist/core/TextInput-D9IHA-K3.js +0 -308
  1012. package/dist/core/TextInput-D9IHA-K3.js.map +0 -1
  1013. package/dist/core/TextInput-k_V-hTwW.cjs +0 -307
  1014. package/dist/core/TextInput-k_V-hTwW.cjs.map +0 -1
  1015. package/dist/core/ThemeContext-nYSJ_G6L.js +0 -199
  1016. package/dist/core/ThemeContext-nYSJ_G6L.js.map +0 -1
  1017. package/dist/core/Timeline-CHxLOSfo.cjs +0 -154
  1018. package/dist/core/Timeline-CHxLOSfo.cjs.map +0 -1
  1019. package/dist/core/Timeline-CysPgst2.js +0 -155
  1020. package/dist/core/Timeline-CysPgst2.js.map +0 -1
  1021. package/dist/core/Toggle-BjcHSRky.cjs +0 -142
  1022. package/dist/core/Toggle-BjcHSRky.cjs.map +0 -1
  1023. package/dist/core/Toggle-x0wutBcD.js +0 -143
  1024. package/dist/core/Toggle-x0wutBcD.js.map +0 -1
  1025. package/dist/core/Toolbar-Ce40CpVS.js +0 -130
  1026. package/dist/core/Toolbar-Ce40CpVS.js.map +0 -1
  1027. package/dist/core/Toolbar-DS4OWUio.cjs +0 -129
  1028. package/dist/core/Toolbar-DS4OWUio.cjs.map +0 -1
  1029. package/dist/core/Tooltip-BqUQU9du.cjs +0 -118
  1030. package/dist/core/Tooltip-BqUQU9du.cjs.map +0 -1
  1031. package/dist/core/Tooltip-fOb5jy6R.js +0 -119
  1032. package/dist/core/Tooltip-fOb5jy6R.js.map +0 -1
  1033. package/dist/core/Typography-D9WF2TVi.cjs +0 -177
  1034. package/dist/core/Typography-D9WF2TVi.cjs.map +0 -1
  1035. package/dist/core/Typography-DeV9eoQj.js +0 -178
  1036. package/dist/core/Typography-DeV9eoQj.js.map +0 -1
  1037. package/dist/next/Accordion-B6n350De.js +0 -279
  1038. package/dist/next/Accordion-B6n350De.js.map +0 -1
  1039. package/dist/next/Accordion-D9pe1F_C.cjs +0 -278
  1040. package/dist/next/Accordion-D9pe1F_C.cjs.map +0 -1
  1041. package/dist/next/Avatar-Dl-SRO6q.cjs +0 -303
  1042. package/dist/next/Avatar-Dl-SRO6q.cjs.map +0 -1
  1043. package/dist/next/Avatar-LMGhrarO.js +0 -304
  1044. package/dist/next/Avatar-LMGhrarO.js.map +0 -1
  1045. package/dist/next/Badge-C4NhHVhm.cjs +0 -193
  1046. package/dist/next/Badge-C4NhHVhm.cjs.map +0 -1
  1047. package/dist/next/Badge-DcwVDzeX.js +0 -194
  1048. package/dist/next/Badge-DcwVDzeX.js.map +0 -1
  1049. package/dist/next/Breadcrumbs-DRCULfdB.cjs +0 -239
  1050. package/dist/next/Breadcrumbs-DRCULfdB.cjs.map +0 -1
  1051. package/dist/next/Breadcrumbs-DtHfXe1F.js +0 -240
  1052. package/dist/next/Breadcrumbs-DtHfXe1F.js.map +0 -1
  1053. package/dist/next/Button-BNV2cbTA.js +0 -232
  1054. package/dist/next/Button-BNV2cbTA.js.map +0 -1
  1055. package/dist/next/Button-aiECSNNc.cjs +0 -231
  1056. package/dist/next/Button-aiECSNNc.cjs.map +0 -1
  1057. package/dist/next/Card-CpycObH7.js +0 -409
  1058. package/dist/next/Card-CpycObH7.js.map +0 -1
  1059. package/dist/next/Card-DIFHDDIr.cjs +0 -408
  1060. package/dist/next/Card-DIFHDDIr.cjs.map +0 -1
  1061. package/dist/next/Checkbox-C422yH7e.cjs +0 -201
  1062. package/dist/next/Checkbox-C422yH7e.cjs.map +0 -1
  1063. package/dist/next/Checkbox-CsiGiTSg.js +0 -202
  1064. package/dist/next/Checkbox-CsiGiTSg.js.map +0 -1
  1065. package/dist/next/Chip-B4LcQgyC.cjs +0 -217
  1066. package/dist/next/Chip-B4LcQgyC.cjs.map +0 -1
  1067. package/dist/next/Chip-dGaHUdOu.js +0 -218
  1068. package/dist/next/Chip-dGaHUdOu.js.map +0 -1
  1069. package/dist/next/CircularProgress-C2jVHm3Q.js +0 -159
  1070. package/dist/next/CircularProgress-C2jVHm3Q.js.map +0 -1
  1071. package/dist/next/CircularProgress-DWcdPslR.cjs +0 -158
  1072. package/dist/next/CircularProgress-DWcdPslR.cjs.map +0 -1
  1073. package/dist/next/ColorPicker-1i0Lgdgq.js +0 -166
  1074. package/dist/next/ColorPicker-1i0Lgdgq.js.map +0 -1
  1075. package/dist/next/ColorPicker-Oy9unTHe.cjs +0 -165
  1076. package/dist/next/ColorPicker-Oy9unTHe.cjs.map +0 -1
  1077. package/dist/next/CommandPalette-B-aiEtIm.js +0 -316
  1078. package/dist/next/CommandPalette-B-aiEtIm.js.map +0 -1
  1079. package/dist/next/CommandPalette-CtnVZcVo.cjs +0 -315
  1080. package/dist/next/CommandPalette-CtnVZcVo.cjs.map +0 -1
  1081. package/dist/next/DataTable-Cdhd9JxJ.js +0 -234
  1082. package/dist/next/DataTable-Cdhd9JxJ.js.map +0 -1
  1083. package/dist/next/DataTable-GpE9KYNX.cjs +0 -233
  1084. package/dist/next/DataTable-GpE9KYNX.cjs.map +0 -1
  1085. package/dist/next/DateTimePicker-CGz-n7Bi.js +0 -258
  1086. package/dist/next/DateTimePicker-CGz-n7Bi.js.map +0 -1
  1087. package/dist/next/DateTimePicker-D0d9tw5_.cjs +0 -257
  1088. package/dist/next/DateTimePicker-D0d9tw5_.cjs.map +0 -1
  1089. package/dist/next/Divider-DM2Y1wLx.js +0 -119
  1090. package/dist/next/Divider-DM2Y1wLx.js.map +0 -1
  1091. package/dist/next/Divider-DYResQrs.cjs +0 -118
  1092. package/dist/next/Divider-DYResQrs.cjs.map +0 -1
  1093. package/dist/next/Dropdown-D69FL3pW.cjs +0 -303
  1094. package/dist/next/Dropdown-D69FL3pW.cjs.map +0 -1
  1095. package/dist/next/Dropdown-k6Zs2Jss.js +0 -304
  1096. package/dist/next/Dropdown-k6Zs2Jss.js.map +0 -1
  1097. package/dist/next/EmptyState-C-tk-GFs.js +0 -183
  1098. package/dist/next/EmptyState-C-tk-GFs.js.map +0 -1
  1099. package/dist/next/EmptyState-DbTEeF_t.cjs +0 -182
  1100. package/dist/next/EmptyState-DbTEeF_t.cjs.map +0 -1
  1101. package/dist/next/FileUpload-CysOXhXj.js +0 -480
  1102. package/dist/next/FileUpload-CysOXhXj.js.map +0 -1
  1103. package/dist/next/FileUpload-uJZYGisD.cjs +0 -479
  1104. package/dist/next/FileUpload-uJZYGisD.cjs.map +0 -1
  1105. package/dist/next/Footer-BcYAcM_g.js +0 -270
  1106. package/dist/next/Footer-BcYAcM_g.js.map +0 -1
  1107. package/dist/next/Footer-BuG3hX1X.cjs +0 -269
  1108. package/dist/next/Footer-BuG3hX1X.cjs.map +0 -1
  1109. package/dist/next/FormGroup-DqApTe27.cjs +0 -175
  1110. package/dist/next/FormGroup-DqApTe27.cjs.map +0 -1
  1111. package/dist/next/FormGroup-cW5IOn3e.js +0 -176
  1112. package/dist/next/FormGroup-cW5IOn3e.js.map +0 -1
  1113. package/dist/next/IconButton-BCPASTa0.js +0 -197
  1114. package/dist/next/IconButton-BCPASTa0.js.map +0 -1
  1115. package/dist/next/IconButton-BNXb1M9u.cjs +0 -196
  1116. package/dist/next/IconButton-BNXb1M9u.cjs.map +0 -1
  1117. package/dist/next/MarkdownRenderer-DeCTcC0r.cjs +0 -122
  1118. package/dist/next/MarkdownRenderer-DeCTcC0r.cjs.map +0 -1
  1119. package/dist/next/MarkdownRenderer-fvuFdR5h.js +0 -123
  1120. package/dist/next/MarkdownRenderer-fvuFdR5h.js.map +0 -1
  1121. package/dist/next/MessagePopup-iUTfHS2G.js +0 -264
  1122. package/dist/next/MessagePopup-iUTfHS2G.js.map +0 -1
  1123. package/dist/next/MessagePopup-lIh8y0Np.cjs +0 -263
  1124. package/dist/next/MessagePopup-lIh8y0Np.cjs.map +0 -1
  1125. package/dist/next/MetricBox-CDiRiG0K.js +0 -180
  1126. package/dist/next/MetricBox-CDiRiG0K.js.map +0 -1
  1127. package/dist/next/MetricBox-CrUuF7Ib.cjs +0 -179
  1128. package/dist/next/MetricBox-CrUuF7Ib.cjs.map +0 -1
  1129. package/dist/next/Modal-Bp95SzfF.js +0 -251
  1130. package/dist/next/Modal-Bp95SzfF.js.map +0 -1
  1131. package/dist/next/Modal-C4vwVesv.cjs +0 -250
  1132. package/dist/next/Modal-C4vwVesv.cjs.map +0 -1
  1133. package/dist/next/NavBar-DerfegGE.cjs +0 -176
  1134. package/dist/next/NavBar-DerfegGE.cjs.map +0 -1
  1135. package/dist/next/NavBar-v32eP9CE.js +0 -177
  1136. package/dist/next/NavBar-v32eP9CE.js.map +0 -1
  1137. package/dist/next/NotificationCenter-BWSTBnIE.js +0 -424
  1138. package/dist/next/NotificationCenter-BWSTBnIE.js.map +0 -1
  1139. package/dist/next/NotificationCenter-D-sGoOkb.cjs +0 -423
  1140. package/dist/next/NotificationCenter-D-sGoOkb.cjs.map +0 -1
  1141. package/dist/next/Pager-B3pjiD9O.js +0 -189
  1142. package/dist/next/Pager-B3pjiD9O.js.map +0 -1
  1143. package/dist/next/Pager-D8IOqiwM.cjs +0 -188
  1144. package/dist/next/Pager-D8IOqiwM.cjs.map +0 -1
  1145. package/dist/next/PopOver-BtR7eYNZ.cjs +0 -250
  1146. package/dist/next/PopOver-BtR7eYNZ.cjs.map +0 -1
  1147. package/dist/next/PopOver-Dth_QWWN.js +0 -251
  1148. package/dist/next/PopOver-Dth_QWWN.js.map +0 -1
  1149. package/dist/next/ProgressBar-4SyKFeny.cjs +0 -174
  1150. package/dist/next/ProgressBar-4SyKFeny.cjs.map +0 -1
  1151. package/dist/next/ProgressBar-BwbZzKn2.js +0 -175
  1152. package/dist/next/ProgressBar-BwbZzKn2.js.map +0 -1
  1153. package/dist/next/RadioButton-0VwZVK6J.cjs +0 -171
  1154. package/dist/next/RadioButton-0VwZVK6J.cjs.map +0 -1
  1155. package/dist/next/RadioButton-kgfBSrYx.js +0 -172
  1156. package/dist/next/RadioButton-kgfBSrYx.js.map +0 -1
  1157. package/dist/next/Rating-BNWMCHyv.cjs +0 -209
  1158. package/dist/next/Rating-BNWMCHyv.cjs.map +0 -1
  1159. package/dist/next/Rating-XYsOe0I9.js +0 -210
  1160. package/dist/next/Rating-XYsOe0I9.js.map +0 -1
  1161. package/dist/next/ScrollToTop-BC6geDsg.js +0 -135
  1162. package/dist/next/ScrollToTop-BC6geDsg.js.map +0 -1
  1163. package/dist/next/ScrollToTop-BhjYKcA6.cjs +0 -134
  1164. package/dist/next/ScrollToTop-BhjYKcA6.cjs.map +0 -1
  1165. package/dist/next/Select-BqUSEl8c.cjs +0 -225
  1166. package/dist/next/Select-BqUSEl8c.cjs.map +0 -1
  1167. package/dist/next/Select-wOJwWWef.js +0 -226
  1168. package/dist/next/Select-wOJwWWef.js.map +0 -1
  1169. package/dist/next/Sidebar-BWzgyABD.js +0 -343
  1170. package/dist/next/Sidebar-BWzgyABD.js.map +0 -1
  1171. package/dist/next/Sidebar-QM59O02V.cjs +0 -342
  1172. package/dist/next/Sidebar-QM59O02V.cjs.map +0 -1
  1173. package/dist/next/Skeleton-BmjCgwT_.js +0 -118
  1174. package/dist/next/Skeleton-BmjCgwT_.js.map +0 -1
  1175. package/dist/next/Skeleton-IMaB6d3N.cjs +0 -117
  1176. package/dist/next/Skeleton-IMaB6d3N.cjs.map +0 -1
  1177. package/dist/next/Slider-Don9oIYb.js +0 -174
  1178. package/dist/next/Slider-Don9oIYb.js.map +0 -1
  1179. package/dist/next/Slider-_uNLGVLb.cjs +0 -173
  1180. package/dist/next/Slider-_uNLGVLb.cjs.map +0 -1
  1181. package/dist/next/Spinner-Byhhnxa6.cjs +0 -153
  1182. package/dist/next/Spinner-Byhhnxa6.cjs.map +0 -1
  1183. package/dist/next/Spinner-DhTkPvHN.js +0 -154
  1184. package/dist/next/Spinner-DhTkPvHN.js.map +0 -1
  1185. package/dist/next/Stepper-D3KEbYHa.cjs +0 -185
  1186. package/dist/next/Stepper-D3KEbYHa.cjs.map +0 -1
  1187. package/dist/next/Stepper-DX2Jyu88.js +0 -186
  1188. package/dist/next/Stepper-DX2Jyu88.js.map +0 -1
  1189. package/dist/next/Tabs-D5_4LqI2.cjs +0 -255
  1190. package/dist/next/Tabs-D5_4LqI2.cjs.map +0 -1
  1191. package/dist/next/Tabs-XAXQS4Zl.js +0 -256
  1192. package/dist/next/Tabs-XAXQS4Zl.js.map +0 -1
  1193. package/dist/next/TagInput-BXTLgtkv.cjs +0 -375
  1194. package/dist/next/TagInput-BXTLgtkv.cjs.map +0 -1
  1195. package/dist/next/TagInput-D--kg_iB.js +0 -376
  1196. package/dist/next/TagInput-D--kg_iB.js.map +0 -1
  1197. package/dist/next/TextArea-UmejfjCR.js +0 -200
  1198. package/dist/next/TextArea-UmejfjCR.js.map +0 -1
  1199. package/dist/next/TextArea-fYn3QxpQ.cjs +0 -199
  1200. package/dist/next/TextArea-fYn3QxpQ.cjs.map +0 -1
  1201. package/dist/next/TextInput-B9-DIw86.js +0 -322
  1202. package/dist/next/TextInput-B9-DIw86.js.map +0 -1
  1203. package/dist/next/TextInput-D2ptuAkp.cjs +0 -321
  1204. package/dist/next/TextInput-D2ptuAkp.cjs.map +0 -1
  1205. package/dist/next/ThemeContext-nYSJ_G6L.js +0 -199
  1206. package/dist/next/ThemeContext-nYSJ_G6L.js.map +0 -1
  1207. package/dist/next/Timeline-CMndHG2q.cjs +0 -183
  1208. package/dist/next/Timeline-CMndHG2q.cjs.map +0 -1
  1209. package/dist/next/Timeline-Cv4jkiMp.js +0 -184
  1210. package/dist/next/Timeline-Cv4jkiMp.js.map +0 -1
  1211. package/dist/next/Toggle-CGVOlAre.js +0 -173
  1212. package/dist/next/Toggle-CGVOlAre.js.map +0 -1
  1213. package/dist/next/Toggle-_eIwxdgg.cjs +0 -172
  1214. package/dist/next/Toggle-_eIwxdgg.cjs.map +0 -1
  1215. package/dist/next/Toolbar-C5uFJJ9N.cjs +0 -170
  1216. package/dist/next/Toolbar-C5uFJJ9N.cjs.map +0 -1
  1217. package/dist/next/Toolbar-CIm4HBqd.js +0 -171
  1218. package/dist/next/Toolbar-CIm4HBqd.js.map +0 -1
  1219. package/dist/next/Tooltip-DZtFS9wd.cjs +0 -163
  1220. package/dist/next/Tooltip-DZtFS9wd.cjs.map +0 -1
  1221. package/dist/next/Tooltip-c9nsr0yw.js +0 -164
  1222. package/dist/next/Tooltip-c9nsr0yw.js.map +0 -1
  1223. package/dist/next/Typography-BEENFqan.cjs +0 -215
  1224. package/dist/next/Typography-BEENFqan.cjs.map +0 -1
  1225. package/dist/next/Typography-D9yQ776l.js +0 -216
  1226. package/dist/next/Typography-D9yQ776l.js.map +0 -1
  1227. package/dist/next/image-B9PuwflE.js +0 -2841
  1228. package/dist/next/image-B9PuwflE.js.map +0 -1
  1229. package/dist/next/image-Bo_vHlt1.cjs +0 -2840
  1230. package/dist/next/image-Bo_vHlt1.cjs.map +0 -1
  1231. package/dist/next/link-B1N-q38H.cjs +0 -4055
  1232. package/dist/next/link-B1N-q38H.cjs.map +0 -1
  1233. package/dist/next/link-CyxHztrS.js +0 -4056
  1234. package/dist/next/link-CyxHztrS.js.map +0 -1
  1235. package/dist/next/navigation-C2hD8Jlk.js +0 -2402
  1236. package/dist/next/navigation-C2hD8Jlk.js.map +0 -1
  1237. package/dist/next/navigation-C3npGZmO.cjs +0 -2401
  1238. package/dist/next/navigation-C3npGZmO.cjs.map +0 -1
@@ -1,4056 +0,0 @@
1
- import require$$2 from "react/jsx-runtime";
2
- import React from "react";
3
- function getDefaultExportFromCjs(x) {
4
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
5
- }
6
- var _interop_require_default = {};
7
- var hasRequired_interop_require_default;
8
- function require_interop_require_default() {
9
- if (hasRequired_interop_require_default) return _interop_require_default;
10
- hasRequired_interop_require_default = 1;
11
- function _interop_require_default$1(obj) {
12
- return obj && obj.__esModule ? obj : { default: obj };
13
- }
14
- _interop_require_default._ = _interop_require_default$1;
15
- return _interop_require_default;
16
- }
17
- var _interop_require_wildcard = {};
18
- var hasRequired_interop_require_wildcard;
19
- function require_interop_require_wildcard() {
20
- if (hasRequired_interop_require_wildcard) return _interop_require_wildcard;
21
- hasRequired_interop_require_wildcard = 1;
22
- function _getRequireWildcardCache(nodeInterop) {
23
- if (typeof WeakMap !== "function") return null;
24
- var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
25
- var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
26
- return (_getRequireWildcardCache = function(nodeInterop2) {
27
- return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;
28
- })(nodeInterop);
29
- }
30
- function _interop_require_wildcard$1(obj, nodeInterop) {
31
- if (!nodeInterop && obj && obj.__esModule) return obj;
32
- if (obj === null || typeof obj !== "object" && typeof obj !== "function") return { default: obj };
33
- var cache = _getRequireWildcardCache(nodeInterop);
34
- if (cache && cache.has(obj)) return cache.get(obj);
35
- var newObj = { __proto__: null };
36
- var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
37
- for (var key in obj) {
38
- if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
39
- var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
40
- if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);
41
- else newObj[key] = obj[key];
42
- }
43
- }
44
- newObj.default = obj;
45
- if (cache) cache.set(obj, newObj);
46
- return newObj;
47
- }
48
- _interop_require_wildcard._ = _interop_require_wildcard$1;
49
- return _interop_require_wildcard;
50
- }
51
- var routerContext_sharedRuntime = {};
52
- var hasRequiredRouterContext_sharedRuntime;
53
- function requireRouterContext_sharedRuntime() {
54
- if (hasRequiredRouterContext_sharedRuntime) return routerContext_sharedRuntime;
55
- hasRequiredRouterContext_sharedRuntime = 1;
56
- (function(exports$1) {
57
- Object.defineProperty(exports$1, "__esModule", {
58
- value: true
59
- });
60
- Object.defineProperty(exports$1, "RouterContext", {
61
- enumerable: true,
62
- get: function() {
63
- return RouterContext;
64
- }
65
- });
66
- const _interop_require_default2 = /* @__PURE__ */ require_interop_require_default();
67
- const _react = /* @__PURE__ */ _interop_require_default2._(React);
68
- const RouterContext = _react.default.createContext(null);
69
- if (process.env.NODE_ENV !== "production") {
70
- RouterContext.displayName = "RouterContext";
71
- }
72
- })(routerContext_sharedRuntime);
73
- return routerContext_sharedRuntime;
74
- }
75
- var useMergedRef = { exports: {} };
76
- var hasRequiredUseMergedRef;
77
- function requireUseMergedRef() {
78
- if (hasRequiredUseMergedRef) return useMergedRef.exports;
79
- hasRequiredUseMergedRef = 1;
80
- (function(module, exports$1) {
81
- Object.defineProperty(exports$1, "__esModule", {
82
- value: true
83
- });
84
- Object.defineProperty(exports$1, "useMergedRef", {
85
- enumerable: true,
86
- get: function() {
87
- return useMergedRef2;
88
- }
89
- });
90
- const _react = React;
91
- function useMergedRef2(refA, refB) {
92
- const cleanupA = (0, _react.useRef)(null);
93
- const cleanupB = (0, _react.useRef)(null);
94
- return (0, _react.useCallback)((current) => {
95
- if (current === null) {
96
- const cleanupFnA = cleanupA.current;
97
- if (cleanupFnA) {
98
- cleanupA.current = null;
99
- cleanupFnA();
100
- }
101
- const cleanupFnB = cleanupB.current;
102
- if (cleanupFnB) {
103
- cleanupB.current = null;
104
- cleanupFnB();
105
- }
106
- } else {
107
- if (refA) {
108
- cleanupA.current = applyRef(refA, current);
109
- }
110
- if (refB) {
111
- cleanupB.current = applyRef(refB, current);
112
- }
113
- }
114
- }, [
115
- refA,
116
- refB
117
- ]);
118
- }
119
- function applyRef(refA, current) {
120
- if (typeof refA === "function") {
121
- const cleanup = refA(current);
122
- if (typeof cleanup === "function") {
123
- return cleanup;
124
- } else {
125
- return () => refA(null);
126
- }
127
- } else {
128
- refA.current = current;
129
- return () => {
130
- refA.current = null;
131
- };
132
- }
133
- }
134
- if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
135
- Object.defineProperty(exports$1.default, "__esModule", { value: true });
136
- Object.assign(exports$1.default, exports$1);
137
- module.exports = exports$1.default;
138
- }
139
- })(useMergedRef, useMergedRef.exports);
140
- return useMergedRef.exports;
141
- }
142
- var link$1 = { exports: {} };
143
- var resolveHref = { exports: {} };
144
- var querystring = {};
145
- var hasRequiredQuerystring;
146
- function requireQuerystring() {
147
- if (hasRequiredQuerystring) return querystring;
148
- hasRequiredQuerystring = 1;
149
- (function(exports$1) {
150
- Object.defineProperty(exports$1, "__esModule", {
151
- value: true
152
- });
153
- function _export(target, all) {
154
- for (var name in all) Object.defineProperty(target, name, {
155
- enumerable: true,
156
- get: all[name]
157
- });
158
- }
159
- _export(exports$1, {
160
- assign: function() {
161
- return assign;
162
- },
163
- searchParamsToUrlQuery: function() {
164
- return searchParamsToUrlQuery;
165
- },
166
- urlQueryToSearchParams: function() {
167
- return urlQueryToSearchParams;
168
- }
169
- });
170
- function searchParamsToUrlQuery(searchParams) {
171
- const query = {};
172
- for (const [key, value] of searchParams.entries()) {
173
- const existing = query[key];
174
- if (typeof existing === "undefined") {
175
- query[key] = value;
176
- } else if (Array.isArray(existing)) {
177
- existing.push(value);
178
- } else {
179
- query[key] = [
180
- existing,
181
- value
182
- ];
183
- }
184
- }
185
- return query;
186
- }
187
- function stringifyUrlQueryParam(param) {
188
- if (typeof param === "string") {
189
- return param;
190
- }
191
- if (typeof param === "number" && !isNaN(param) || typeof param === "boolean") {
192
- return String(param);
193
- } else {
194
- return "";
195
- }
196
- }
197
- function urlQueryToSearchParams(query) {
198
- const searchParams = new URLSearchParams();
199
- for (const [key, value] of Object.entries(query)) {
200
- if (Array.isArray(value)) {
201
- for (const item of value) {
202
- searchParams.append(key, stringifyUrlQueryParam(item));
203
- }
204
- } else {
205
- searchParams.set(key, stringifyUrlQueryParam(value));
206
- }
207
- }
208
- return searchParams;
209
- }
210
- function assign(target, ...searchParamsList) {
211
- for (const searchParams of searchParamsList) {
212
- for (const key of searchParams.keys()) {
213
- target.delete(key);
214
- }
215
- for (const [key, value] of searchParams.entries()) {
216
- target.append(key, value);
217
- }
218
- }
219
- return target;
220
- }
221
- })(querystring);
222
- return querystring;
223
- }
224
- var formatUrl = {};
225
- var hasRequiredFormatUrl;
226
- function requireFormatUrl() {
227
- if (hasRequiredFormatUrl) return formatUrl;
228
- hasRequiredFormatUrl = 1;
229
- (function(exports$1) {
230
- Object.defineProperty(exports$1, "__esModule", {
231
- value: true
232
- });
233
- function _export(target, all) {
234
- for (var name in all) Object.defineProperty(target, name, {
235
- enumerable: true,
236
- get: all[name]
237
- });
238
- }
239
- _export(exports$1, {
240
- formatUrl: function() {
241
- return formatUrl2;
242
- },
243
- formatWithValidation: function() {
244
- return formatWithValidation;
245
- },
246
- urlObjectKeys: function() {
247
- return urlObjectKeys;
248
- }
249
- });
250
- const _interop_require_wildcard2 = /* @__PURE__ */ require_interop_require_wildcard();
251
- const _querystring = /* @__PURE__ */ _interop_require_wildcard2._(requireQuerystring());
252
- const slashedProtocols = /https?|ftp|gopher|file/;
253
- function formatUrl2(urlObj) {
254
- let { auth, hostname } = urlObj;
255
- let protocol = urlObj.protocol || "";
256
- let pathname = urlObj.pathname || "";
257
- let hash = urlObj.hash || "";
258
- let query = urlObj.query || "";
259
- let host = false;
260
- auth = auth ? encodeURIComponent(auth).replace(/%3A/i, ":") + "@" : "";
261
- if (urlObj.host) {
262
- host = auth + urlObj.host;
263
- } else if (hostname) {
264
- host = auth + (~hostname.indexOf(":") ? `[${hostname}]` : hostname);
265
- if (urlObj.port) {
266
- host += ":" + urlObj.port;
267
- }
268
- }
269
- if (query && typeof query === "object") {
270
- query = String(_querystring.urlQueryToSearchParams(query));
271
- }
272
- let search = urlObj.search || query && `?${query}` || "";
273
- if (protocol && !protocol.endsWith(":")) protocol += ":";
274
- if (urlObj.slashes || (!protocol || slashedProtocols.test(protocol)) && host !== false) {
275
- host = "//" + (host || "");
276
- if (pathname && pathname[0] !== "/") pathname = "/" + pathname;
277
- } else if (!host) {
278
- host = "";
279
- }
280
- if (hash && hash[0] !== "#") hash = "#" + hash;
281
- if (search && search[0] !== "?") search = "?" + search;
282
- pathname = pathname.replace(/[?#]/g, encodeURIComponent);
283
- search = search.replace("#", "%23");
284
- return `${protocol}${host}${pathname}${search}${hash}`;
285
- }
286
- const urlObjectKeys = [
287
- "auth",
288
- "hash",
289
- "host",
290
- "hostname",
291
- "href",
292
- "path",
293
- "pathname",
294
- "port",
295
- "protocol",
296
- "query",
297
- "search",
298
- "slashes"
299
- ];
300
- function formatWithValidation(url) {
301
- if (process.env.NODE_ENV === "development") {
302
- if (url !== null && typeof url === "object") {
303
- Object.keys(url).forEach((key) => {
304
- if (!urlObjectKeys.includes(key)) {
305
- console.warn(`Unknown key passed via urlObject into url.format: ${key}`);
306
- }
307
- });
308
- }
309
- }
310
- return formatUrl2(url);
311
- }
312
- })(formatUrl);
313
- return formatUrl;
314
- }
315
- var omit = {};
316
- var hasRequiredOmit;
317
- function requireOmit() {
318
- if (hasRequiredOmit) return omit;
319
- hasRequiredOmit = 1;
320
- (function(exports$1) {
321
- Object.defineProperty(exports$1, "__esModule", {
322
- value: true
323
- });
324
- Object.defineProperty(exports$1, "omit", {
325
- enumerable: true,
326
- get: function() {
327
- return omit2;
328
- }
329
- });
330
- function omit2(object, keys) {
331
- const omitted = {};
332
- Object.keys(object).forEach((key) => {
333
- if (!keys.includes(key)) {
334
- omitted[key] = object[key];
335
- }
336
- });
337
- return omitted;
338
- }
339
- })(omit);
340
- return omit;
341
- }
342
- var utils$1 = {};
343
- var hasRequiredUtils$1;
344
- function requireUtils$1() {
345
- if (hasRequiredUtils$1) return utils$1;
346
- hasRequiredUtils$1 = 1;
347
- (function(exports$1) {
348
- Object.defineProperty(exports$1, "__esModule", {
349
- value: true
350
- });
351
- function _export(target, all) {
352
- for (var name in all) Object.defineProperty(target, name, {
353
- enumerable: true,
354
- get: all[name]
355
- });
356
- }
357
- _export(exports$1, {
358
- DecodeError: function() {
359
- return DecodeError;
360
- },
361
- MiddlewareNotFoundError: function() {
362
- return MiddlewareNotFoundError;
363
- },
364
- MissingStaticPage: function() {
365
- return MissingStaticPage;
366
- },
367
- NormalizeError: function() {
368
- return NormalizeError;
369
- },
370
- PageNotFoundError: function() {
371
- return PageNotFoundError;
372
- },
373
- SP: function() {
374
- return SP;
375
- },
376
- ST: function() {
377
- return ST;
378
- },
379
- WEB_VITALS: function() {
380
- return WEB_VITALS;
381
- },
382
- execOnce: function() {
383
- return execOnce;
384
- },
385
- getDisplayName: function() {
386
- return getDisplayName;
387
- },
388
- getLocationOrigin: function() {
389
- return getLocationOrigin;
390
- },
391
- getURL: function() {
392
- return getURL;
393
- },
394
- isAbsoluteUrl: function() {
395
- return isAbsoluteUrl;
396
- },
397
- isResSent: function() {
398
- return isResSent;
399
- },
400
- loadGetInitialProps: function() {
401
- return loadGetInitialProps;
402
- },
403
- normalizeRepeatedSlashes: function() {
404
- return normalizeRepeatedSlashes;
405
- },
406
- stringifyError: function() {
407
- return stringifyError;
408
- }
409
- });
410
- const WEB_VITALS = [
411
- "CLS",
412
- "FCP",
413
- "FID",
414
- "INP",
415
- "LCP",
416
- "TTFB"
417
- ];
418
- function execOnce(fn) {
419
- let used = false;
420
- let result;
421
- return (...args) => {
422
- if (!used) {
423
- used = true;
424
- result = fn(...args);
425
- }
426
- return result;
427
- };
428
- }
429
- const ABSOLUTE_URL_REGEX = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/;
430
- const isAbsoluteUrl = (url) => ABSOLUTE_URL_REGEX.test(url);
431
- function getLocationOrigin() {
432
- const { protocol, hostname, port } = window.location;
433
- return `${protocol}//${hostname}${port ? ":" + port : ""}`;
434
- }
435
- function getURL() {
436
- const { href } = window.location;
437
- const origin = getLocationOrigin();
438
- return href.substring(origin.length);
439
- }
440
- function getDisplayName(Component) {
441
- return typeof Component === "string" ? Component : Component.displayName || Component.name || "Unknown";
442
- }
443
- function isResSent(res) {
444
- return res.finished || res.headersSent;
445
- }
446
- function normalizeRepeatedSlashes(url) {
447
- const urlParts = url.split("?");
448
- const urlNoQuery = urlParts[0];
449
- return urlNoQuery.replace(/\\/g, "/").replace(/\/\/+/g, "/") + (urlParts[1] ? `?${urlParts.slice(1).join("?")}` : "");
450
- }
451
- async function loadGetInitialProps(App, ctx) {
452
- var _a;
453
- if (process.env.NODE_ENV !== "production") {
454
- if ((_a = App.prototype) == null ? void 0 : _a.getInitialProps) {
455
- const message = `"${getDisplayName(App)}.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.`;
456
- throw Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", {
457
- value: "E394",
458
- enumerable: false,
459
- configurable: true
460
- });
461
- }
462
- }
463
- const res = ctx.res || ctx.ctx && ctx.ctx.res;
464
- if (!App.getInitialProps) {
465
- if (ctx.ctx && ctx.Component) {
466
- return {
467
- pageProps: await loadGetInitialProps(ctx.Component, ctx.ctx)
468
- };
469
- }
470
- return {};
471
- }
472
- const props = await App.getInitialProps(ctx);
473
- if (res && isResSent(res)) {
474
- return props;
475
- }
476
- if (!props) {
477
- const message = `"${getDisplayName(App)}.getInitialProps()" should resolve to an object. But found "${props}" instead.`;
478
- throw Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", {
479
- value: "E394",
480
- enumerable: false,
481
- configurable: true
482
- });
483
- }
484
- if (process.env.NODE_ENV !== "production") {
485
- if (Object.keys(props).length === 0 && !ctx.ctx) {
486
- console.warn(`${getDisplayName(App)} returned an empty object from \`getInitialProps\`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps`);
487
- }
488
- }
489
- return props;
490
- }
491
- const SP = typeof performance !== "undefined";
492
- const ST = SP && [
493
- "mark",
494
- "measure",
495
- "getEntriesByName"
496
- ].every((method) => typeof performance[method] === "function");
497
- class DecodeError extends Error {
498
- }
499
- class NormalizeError extends Error {
500
- }
501
- class PageNotFoundError extends Error {
502
- constructor(page) {
503
- super();
504
- this.code = "ENOENT";
505
- this.name = "PageNotFoundError";
506
- this.message = `Cannot find module for page: ${page}`;
507
- }
508
- }
509
- class MissingStaticPage extends Error {
510
- constructor(page, message) {
511
- super();
512
- this.message = `Failed to load static file for page: ${page} ${message}`;
513
- }
514
- }
515
- class MiddlewareNotFoundError extends Error {
516
- constructor() {
517
- super();
518
- this.code = "ENOENT";
519
- this.message = `Cannot find the middleware module`;
520
- }
521
- }
522
- function stringifyError(error) {
523
- return JSON.stringify({
524
- message: error.message,
525
- stack: error.stack
526
- });
527
- }
528
- })(utils$1);
529
- return utils$1;
530
- }
531
- var normalizeTrailingSlash = { exports: {} };
532
- var removeTrailingSlash = {};
533
- var hasRequiredRemoveTrailingSlash;
534
- function requireRemoveTrailingSlash() {
535
- if (hasRequiredRemoveTrailingSlash) return removeTrailingSlash;
536
- hasRequiredRemoveTrailingSlash = 1;
537
- (function(exports$1) {
538
- Object.defineProperty(exports$1, "__esModule", {
539
- value: true
540
- });
541
- Object.defineProperty(exports$1, "removeTrailingSlash", {
542
- enumerable: true,
543
- get: function() {
544
- return removeTrailingSlash2;
545
- }
546
- });
547
- function removeTrailingSlash2(route) {
548
- return route.replace(/\/$/, "") || "/";
549
- }
550
- })(removeTrailingSlash);
551
- return removeTrailingSlash;
552
- }
553
- var parsePath = {};
554
- var hasRequiredParsePath;
555
- function requireParsePath() {
556
- if (hasRequiredParsePath) return parsePath;
557
- hasRequiredParsePath = 1;
558
- (function(exports$1) {
559
- Object.defineProperty(exports$1, "__esModule", {
560
- value: true
561
- });
562
- Object.defineProperty(exports$1, "parsePath", {
563
- enumerable: true,
564
- get: function() {
565
- return parsePath2;
566
- }
567
- });
568
- function parsePath2(path) {
569
- const hashIndex = path.indexOf("#");
570
- const queryIndex = path.indexOf("?");
571
- const hasQuery = queryIndex > -1 && (hashIndex < 0 || queryIndex < hashIndex);
572
- if (hasQuery || hashIndex > -1) {
573
- return {
574
- pathname: path.substring(0, hasQuery ? queryIndex : hashIndex),
575
- query: hasQuery ? path.substring(queryIndex, hashIndex > -1 ? hashIndex : void 0) : "",
576
- hash: hashIndex > -1 ? path.slice(hashIndex) : ""
577
- };
578
- }
579
- return {
580
- pathname: path,
581
- query: "",
582
- hash: ""
583
- };
584
- }
585
- })(parsePath);
586
- return parsePath;
587
- }
588
- var hasRequiredNormalizeTrailingSlash;
589
- function requireNormalizeTrailingSlash() {
590
- if (hasRequiredNormalizeTrailingSlash) return normalizeTrailingSlash.exports;
591
- hasRequiredNormalizeTrailingSlash = 1;
592
- (function(module, exports$1) {
593
- Object.defineProperty(exports$1, "__esModule", {
594
- value: true
595
- });
596
- Object.defineProperty(exports$1, "normalizePathTrailingSlash", {
597
- enumerable: true,
598
- get: function() {
599
- return normalizePathTrailingSlash;
600
- }
601
- });
602
- const _removetrailingslash = requireRemoveTrailingSlash();
603
- const _parsepath = requireParsePath();
604
- const normalizePathTrailingSlash = (path) => {
605
- if (!path.startsWith("/") || process.env.__NEXT_MANUAL_TRAILING_SLASH) {
606
- return path;
607
- }
608
- const { pathname, query, hash } = (0, _parsepath.parsePath)(path);
609
- if (process.env.__NEXT_TRAILING_SLASH) {
610
- if (/\.[^/]+\/?$/.test(pathname)) {
611
- return `${(0, _removetrailingslash.removeTrailingSlash)(pathname)}${query}${hash}`;
612
- } else if (pathname.endsWith("/")) {
613
- return `${pathname}${query}${hash}`;
614
- } else {
615
- return `${pathname}/${query}${hash}`;
616
- }
617
- }
618
- return `${(0, _removetrailingslash.removeTrailingSlash)(pathname)}${query}${hash}`;
619
- };
620
- if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
621
- Object.defineProperty(exports$1.default, "__esModule", { value: true });
622
- Object.assign(exports$1.default, exports$1);
623
- module.exports = exports$1.default;
624
- }
625
- })(normalizeTrailingSlash, normalizeTrailingSlash.exports);
626
- return normalizeTrailingSlash.exports;
627
- }
628
- var isLocalUrl = {};
629
- var hasBasePath = { exports: {} };
630
- var pathHasPrefix = {};
631
- var hasRequiredPathHasPrefix;
632
- function requirePathHasPrefix() {
633
- if (hasRequiredPathHasPrefix) return pathHasPrefix;
634
- hasRequiredPathHasPrefix = 1;
635
- (function(exports$1) {
636
- Object.defineProperty(exports$1, "__esModule", {
637
- value: true
638
- });
639
- Object.defineProperty(exports$1, "pathHasPrefix", {
640
- enumerable: true,
641
- get: function() {
642
- return pathHasPrefix2;
643
- }
644
- });
645
- const _parsepath = requireParsePath();
646
- function pathHasPrefix2(path, prefix) {
647
- if (typeof path !== "string") {
648
- return false;
649
- }
650
- const { pathname } = (0, _parsepath.parsePath)(path);
651
- return pathname === prefix || pathname.startsWith(prefix + "/");
652
- }
653
- })(pathHasPrefix);
654
- return pathHasPrefix;
655
- }
656
- var hasRequiredHasBasePath;
657
- function requireHasBasePath() {
658
- if (hasRequiredHasBasePath) return hasBasePath.exports;
659
- hasRequiredHasBasePath = 1;
660
- (function(module, exports$1) {
661
- Object.defineProperty(exports$1, "__esModule", {
662
- value: true
663
- });
664
- Object.defineProperty(exports$1, "hasBasePath", {
665
- enumerable: true,
666
- get: function() {
667
- return hasBasePath2;
668
- }
669
- });
670
- const _pathhasprefix = requirePathHasPrefix();
671
- const basePath = process.env.__NEXT_ROUTER_BASEPATH || "";
672
- function hasBasePath2(path) {
673
- return (0, _pathhasprefix.pathHasPrefix)(path, basePath);
674
- }
675
- if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
676
- Object.defineProperty(exports$1.default, "__esModule", { value: true });
677
- Object.assign(exports$1.default, exports$1);
678
- module.exports = exports$1.default;
679
- }
680
- })(hasBasePath, hasBasePath.exports);
681
- return hasBasePath.exports;
682
- }
683
- var hasRequiredIsLocalUrl;
684
- function requireIsLocalUrl() {
685
- if (hasRequiredIsLocalUrl) return isLocalUrl;
686
- hasRequiredIsLocalUrl = 1;
687
- (function(exports$1) {
688
- Object.defineProperty(exports$1, "__esModule", {
689
- value: true
690
- });
691
- Object.defineProperty(exports$1, "isLocalURL", {
692
- enumerable: true,
693
- get: function() {
694
- return isLocalURL;
695
- }
696
- });
697
- const _utils = requireUtils$1();
698
- const _hasbasepath = requireHasBasePath();
699
- function isLocalURL(url) {
700
- if (!(0, _utils.isAbsoluteUrl)(url)) return true;
701
- try {
702
- const locationOrigin = (0, _utils.getLocationOrigin)();
703
- const resolved = new URL(url, locationOrigin);
704
- return resolved.origin === locationOrigin && (0, _hasbasepath.hasBasePath)(resolved.pathname);
705
- } catch (_) {
706
- return false;
707
- }
708
- }
709
- })(isLocalUrl);
710
- return isLocalUrl;
711
- }
712
- var utils = {};
713
- var sortedRoutes = {};
714
- var hasRequiredSortedRoutes;
715
- function requireSortedRoutes() {
716
- if (hasRequiredSortedRoutes) return sortedRoutes;
717
- hasRequiredSortedRoutes = 1;
718
- (function(exports$1) {
719
- Object.defineProperty(exports$1, "__esModule", {
720
- value: true
721
- });
722
- function _export(target, all) {
723
- for (var name in all) Object.defineProperty(target, name, {
724
- enumerable: true,
725
- get: all[name]
726
- });
727
- }
728
- _export(exports$1, {
729
- getSortedRouteObjects: function() {
730
- return getSortedRouteObjects;
731
- },
732
- getSortedRoutes: function() {
733
- return getSortedRoutes;
734
- }
735
- });
736
- class UrlNode {
737
- insert(urlPath) {
738
- this._insert(urlPath.split("/").filter(Boolean), [], false);
739
- }
740
- smoosh() {
741
- return this._smoosh();
742
- }
743
- _smoosh(prefix = "/") {
744
- const childrenPaths = [
745
- ...this.children.keys()
746
- ].sort();
747
- if (this.slugName !== null) {
748
- childrenPaths.splice(childrenPaths.indexOf("[]"), 1);
749
- }
750
- if (this.restSlugName !== null) {
751
- childrenPaths.splice(childrenPaths.indexOf("[...]"), 1);
752
- }
753
- if (this.optionalRestSlugName !== null) {
754
- childrenPaths.splice(childrenPaths.indexOf("[[...]]"), 1);
755
- }
756
- const routes = childrenPaths.map((c) => this.children.get(c)._smoosh(`${prefix}${c}/`)).reduce((prev, curr) => [
757
- ...prev,
758
- ...curr
759
- ], []);
760
- if (this.slugName !== null) {
761
- routes.push(...this.children.get("[]")._smoosh(`${prefix}[${this.slugName}]/`));
762
- }
763
- if (!this.placeholder) {
764
- const r = prefix === "/" ? "/" : prefix.slice(0, -1);
765
- if (this.optionalRestSlugName != null) {
766
- throw Object.defineProperty(new Error(`You cannot define a route with the same specificity as a optional catch-all route ("${r}" and "${r}[[...${this.optionalRestSlugName}]]").`), "__NEXT_ERROR_CODE", {
767
- value: "E458",
768
- enumerable: false,
769
- configurable: true
770
- });
771
- }
772
- routes.unshift(r);
773
- }
774
- if (this.restSlugName !== null) {
775
- routes.push(...this.children.get("[...]")._smoosh(`${prefix}[...${this.restSlugName}]/`));
776
- }
777
- if (this.optionalRestSlugName !== null) {
778
- routes.push(...this.children.get("[[...]]")._smoosh(`${prefix}[[...${this.optionalRestSlugName}]]/`));
779
- }
780
- return routes;
781
- }
782
- _insert(urlPaths, slugNames, isCatchAll) {
783
- if (urlPaths.length === 0) {
784
- this.placeholder = false;
785
- return;
786
- }
787
- if (isCatchAll) {
788
- throw Object.defineProperty(new Error(`Catch-all must be the last part of the URL.`), "__NEXT_ERROR_CODE", {
789
- value: "E392",
790
- enumerable: false,
791
- configurable: true
792
- });
793
- }
794
- let nextSegment = urlPaths[0];
795
- if (nextSegment.startsWith("[") && nextSegment.endsWith("]")) {
796
- let handleSlug = function(previousSlug, nextSlug) {
797
- if (previousSlug !== null) {
798
- if (previousSlug !== nextSlug) {
799
- throw Object.defineProperty(new Error(`You cannot use different slug names for the same dynamic path ('${previousSlug}' !== '${nextSlug}').`), "__NEXT_ERROR_CODE", {
800
- value: "E337",
801
- enumerable: false,
802
- configurable: true
803
- });
804
- }
805
- }
806
- slugNames.forEach((slug) => {
807
- if (slug === nextSlug) {
808
- throw Object.defineProperty(new Error(`You cannot have the same slug name "${nextSlug}" repeat within a single dynamic path`), "__NEXT_ERROR_CODE", {
809
- value: "E247",
810
- enumerable: false,
811
- configurable: true
812
- });
813
- }
814
- if (slug.replace(/\W/g, "") === nextSegment.replace(/\W/g, "")) {
815
- throw Object.defineProperty(new Error(`You cannot have the slug names "${slug}" and "${nextSlug}" differ only by non-word symbols within a single dynamic path`), "__NEXT_ERROR_CODE", {
816
- value: "E499",
817
- enumerable: false,
818
- configurable: true
819
- });
820
- }
821
- });
822
- slugNames.push(nextSlug);
823
- };
824
- let segmentName = nextSegment.slice(1, -1);
825
- let isOptional = false;
826
- if (segmentName.startsWith("[") && segmentName.endsWith("]")) {
827
- segmentName = segmentName.slice(1, -1);
828
- isOptional = true;
829
- }
830
- if (segmentName.startsWith("…")) {
831
- throw Object.defineProperty(new Error(`Detected a three-dot character ('…') at ('${segmentName}'). Did you mean ('...')?`), "__NEXT_ERROR_CODE", {
832
- value: "E147",
833
- enumerable: false,
834
- configurable: true
835
- });
836
- }
837
- if (segmentName.startsWith("...")) {
838
- segmentName = segmentName.substring(3);
839
- isCatchAll = true;
840
- }
841
- if (segmentName.startsWith("[") || segmentName.endsWith("]")) {
842
- throw Object.defineProperty(new Error(`Segment names may not start or end with extra brackets ('${segmentName}').`), "__NEXT_ERROR_CODE", {
843
- value: "E421",
844
- enumerable: false,
845
- configurable: true
846
- });
847
- }
848
- if (segmentName.startsWith(".")) {
849
- throw Object.defineProperty(new Error(`Segment names may not start with erroneous periods ('${segmentName}').`), "__NEXT_ERROR_CODE", {
850
- value: "E288",
851
- enumerable: false,
852
- configurable: true
853
- });
854
- }
855
- if (isCatchAll) {
856
- if (isOptional) {
857
- if (this.restSlugName != null) {
858
- throw Object.defineProperty(new Error(`You cannot use both an required and optional catch-all route at the same level ("[...${this.restSlugName}]" and "${urlPaths[0]}" ).`), "__NEXT_ERROR_CODE", {
859
- value: "E299",
860
- enumerable: false,
861
- configurable: true
862
- });
863
- }
864
- handleSlug(this.optionalRestSlugName, segmentName);
865
- this.optionalRestSlugName = segmentName;
866
- nextSegment = "[[...]]";
867
- } else {
868
- if (this.optionalRestSlugName != null) {
869
- throw Object.defineProperty(new Error(`You cannot use both an optional and required catch-all route at the same level ("[[...${this.optionalRestSlugName}]]" and "${urlPaths[0]}").`), "__NEXT_ERROR_CODE", {
870
- value: "E300",
871
- enumerable: false,
872
- configurable: true
873
- });
874
- }
875
- handleSlug(this.restSlugName, segmentName);
876
- this.restSlugName = segmentName;
877
- nextSegment = "[...]";
878
- }
879
- } else {
880
- if (isOptional) {
881
- throw Object.defineProperty(new Error(`Optional route parameters are not yet supported ("${urlPaths[0]}").`), "__NEXT_ERROR_CODE", {
882
- value: "E435",
883
- enumerable: false,
884
- configurable: true
885
- });
886
- }
887
- handleSlug(this.slugName, segmentName);
888
- this.slugName = segmentName;
889
- nextSegment = "[]";
890
- }
891
- }
892
- if (!this.children.has(nextSegment)) {
893
- this.children.set(nextSegment, new UrlNode());
894
- }
895
- this.children.get(nextSegment)._insert(urlPaths.slice(1), slugNames, isCatchAll);
896
- }
897
- constructor() {
898
- this.placeholder = true;
899
- this.children = /* @__PURE__ */ new Map();
900
- this.slugName = null;
901
- this.restSlugName = null;
902
- this.optionalRestSlugName = null;
903
- }
904
- }
905
- function getSortedRoutes(normalizedPages) {
906
- const root = new UrlNode();
907
- normalizedPages.forEach((pagePath) => root.insert(pagePath));
908
- return root.smoosh();
909
- }
910
- function getSortedRouteObjects(objects, getter) {
911
- const indexes = {};
912
- const pathnames = [];
913
- for (let i = 0; i < objects.length; i++) {
914
- const pathname = getter(objects[i]);
915
- indexes[pathname] = i;
916
- pathnames[i] = pathname;
917
- }
918
- const sorted = getSortedRoutes(pathnames);
919
- return sorted.map((pathname) => objects[indexes[pathname]]);
920
- }
921
- })(sortedRoutes);
922
- return sortedRoutes;
923
- }
924
- var isDynamic = {};
925
- var interceptionRoutes = {};
926
- var appPaths = {};
927
- var ensureLeadingSlash = {};
928
- var hasRequiredEnsureLeadingSlash;
929
- function requireEnsureLeadingSlash() {
930
- if (hasRequiredEnsureLeadingSlash) return ensureLeadingSlash;
931
- hasRequiredEnsureLeadingSlash = 1;
932
- (function(exports$1) {
933
- Object.defineProperty(exports$1, "__esModule", {
934
- value: true
935
- });
936
- Object.defineProperty(exports$1, "ensureLeadingSlash", {
937
- enumerable: true,
938
- get: function() {
939
- return ensureLeadingSlash2;
940
- }
941
- });
942
- function ensureLeadingSlash2(path) {
943
- return path.startsWith("/") ? path : `/${path}`;
944
- }
945
- })(ensureLeadingSlash);
946
- return ensureLeadingSlash;
947
- }
948
- var segment = {};
949
- var hasRequiredSegment;
950
- function requireSegment() {
951
- if (hasRequiredSegment) return segment;
952
- hasRequiredSegment = 1;
953
- (function(exports$1) {
954
- Object.defineProperty(exports$1, "__esModule", {
955
- value: true
956
- });
957
- function _export(target, all) {
958
- for (var name in all) Object.defineProperty(target, name, {
959
- enumerable: true,
960
- get: all[name]
961
- });
962
- }
963
- _export(exports$1, {
964
- DEFAULT_SEGMENT_KEY: function() {
965
- return DEFAULT_SEGMENT_KEY;
966
- },
967
- NOT_FOUND_SEGMENT_KEY: function() {
968
- return NOT_FOUND_SEGMENT_KEY;
969
- },
970
- PAGE_SEGMENT_KEY: function() {
971
- return PAGE_SEGMENT_KEY;
972
- },
973
- addSearchParamsIfPageSegment: function() {
974
- return addSearchParamsIfPageSegment;
975
- },
976
- computeSelectedLayoutSegment: function() {
977
- return computeSelectedLayoutSegment;
978
- },
979
- getSegmentValue: function() {
980
- return getSegmentValue;
981
- },
982
- getSelectedLayoutSegmentPath: function() {
983
- return getSelectedLayoutSegmentPath;
984
- },
985
- isGroupSegment: function() {
986
- return isGroupSegment;
987
- },
988
- isParallelRouteSegment: function() {
989
- return isParallelRouteSegment;
990
- }
991
- });
992
- function getSegmentValue(segment2) {
993
- return Array.isArray(segment2) ? segment2[1] : segment2;
994
- }
995
- function isGroupSegment(segment2) {
996
- return segment2[0] === "(" && segment2.endsWith(")");
997
- }
998
- function isParallelRouteSegment(segment2) {
999
- return segment2.startsWith("@") && segment2 !== "@children";
1000
- }
1001
- function addSearchParamsIfPageSegment(segment2, searchParams) {
1002
- const isPageSegment = segment2.includes(PAGE_SEGMENT_KEY);
1003
- if (isPageSegment) {
1004
- const stringifiedQuery = JSON.stringify(searchParams);
1005
- return stringifiedQuery !== "{}" ? PAGE_SEGMENT_KEY + "?" + stringifiedQuery : PAGE_SEGMENT_KEY;
1006
- }
1007
- return segment2;
1008
- }
1009
- function computeSelectedLayoutSegment(segments, parallelRouteKey) {
1010
- if (!segments || segments.length === 0) {
1011
- return null;
1012
- }
1013
- const rawSegment = parallelRouteKey === "children" ? segments[0] : segments[segments.length - 1];
1014
- return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment;
1015
- }
1016
- function getSelectedLayoutSegmentPath(tree, parallelRouteKey, first = true, segmentPath = []) {
1017
- let node;
1018
- if (first) {
1019
- node = tree[1][parallelRouteKey];
1020
- } else {
1021
- const parallelRoutes = tree[1];
1022
- node = parallelRoutes.children ?? Object.values(parallelRoutes)[0];
1023
- }
1024
- if (!node) return segmentPath;
1025
- const segment2 = node[0];
1026
- let segmentValue = getSegmentValue(segment2);
1027
- if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) {
1028
- return segmentPath;
1029
- }
1030
- segmentPath.push(segmentValue);
1031
- return getSelectedLayoutSegmentPath(node, parallelRouteKey, false, segmentPath);
1032
- }
1033
- const PAGE_SEGMENT_KEY = "__PAGE__";
1034
- const DEFAULT_SEGMENT_KEY = "__DEFAULT__";
1035
- const NOT_FOUND_SEGMENT_KEY = "/_not-found";
1036
- })(segment);
1037
- return segment;
1038
- }
1039
- var hasRequiredAppPaths;
1040
- function requireAppPaths() {
1041
- if (hasRequiredAppPaths) return appPaths;
1042
- hasRequiredAppPaths = 1;
1043
- (function(exports$1) {
1044
- Object.defineProperty(exports$1, "__esModule", {
1045
- value: true
1046
- });
1047
- function _export(target, all) {
1048
- for (var name in all) Object.defineProperty(target, name, {
1049
- enumerable: true,
1050
- get: all[name]
1051
- });
1052
- }
1053
- _export(exports$1, {
1054
- normalizeAppPath: function() {
1055
- return normalizeAppPath;
1056
- },
1057
- normalizeRscURL: function() {
1058
- return normalizeRscURL;
1059
- }
1060
- });
1061
- const _ensureleadingslash = requireEnsureLeadingSlash();
1062
- const _segment = requireSegment();
1063
- function normalizeAppPath(route) {
1064
- return (0, _ensureleadingslash.ensureLeadingSlash)(route.split("/").reduce((pathname, segment2, index, segments) => {
1065
- if (!segment2) {
1066
- return pathname;
1067
- }
1068
- if ((0, _segment.isGroupSegment)(segment2)) {
1069
- return pathname;
1070
- }
1071
- if (segment2[0] === "@") {
1072
- return pathname;
1073
- }
1074
- if ((segment2 === "page" || segment2 === "route") && index === segments.length - 1) {
1075
- return pathname;
1076
- }
1077
- return `${pathname}/${segment2}`;
1078
- }, ""));
1079
- }
1080
- function normalizeRscURL(url) {
1081
- return url.replace(
1082
- /\.rsc($|\?)/,
1083
- // $1 ensures `?` is preserved
1084
- "$1"
1085
- );
1086
- }
1087
- })(appPaths);
1088
- return appPaths;
1089
- }
1090
- var hasRequiredInterceptionRoutes;
1091
- function requireInterceptionRoutes() {
1092
- if (hasRequiredInterceptionRoutes) return interceptionRoutes;
1093
- hasRequiredInterceptionRoutes = 1;
1094
- (function(exports$1) {
1095
- Object.defineProperty(exports$1, "__esModule", {
1096
- value: true
1097
- });
1098
- function _export(target, all) {
1099
- for (var name in all) Object.defineProperty(target, name, {
1100
- enumerable: true,
1101
- get: all[name]
1102
- });
1103
- }
1104
- _export(exports$1, {
1105
- INTERCEPTION_ROUTE_MARKERS: function() {
1106
- return INTERCEPTION_ROUTE_MARKERS;
1107
- },
1108
- extractInterceptionRouteInformation: function() {
1109
- return extractInterceptionRouteInformation;
1110
- },
1111
- isInterceptionRouteAppPath: function() {
1112
- return isInterceptionRouteAppPath;
1113
- }
1114
- });
1115
- const _apppaths = requireAppPaths();
1116
- const INTERCEPTION_ROUTE_MARKERS = [
1117
- "(..)(..)",
1118
- "(.)",
1119
- "(..)",
1120
- "(...)"
1121
- ];
1122
- function isInterceptionRouteAppPath(path) {
1123
- return path.split("/").find((segment2) => INTERCEPTION_ROUTE_MARKERS.find((m) => segment2.startsWith(m))) !== void 0;
1124
- }
1125
- function extractInterceptionRouteInformation(path) {
1126
- let interceptingRoute;
1127
- let marker;
1128
- let interceptedRoute;
1129
- for (const segment2 of path.split("/")) {
1130
- marker = INTERCEPTION_ROUTE_MARKERS.find((m) => segment2.startsWith(m));
1131
- if (marker) {
1132
- [interceptingRoute, interceptedRoute] = path.split(marker, 2);
1133
- break;
1134
- }
1135
- }
1136
- if (!interceptingRoute || !marker || !interceptedRoute) {
1137
- throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`), "__NEXT_ERROR_CODE", {
1138
- value: "E269",
1139
- enumerable: false,
1140
- configurable: true
1141
- });
1142
- }
1143
- interceptingRoute = (0, _apppaths.normalizeAppPath)(interceptingRoute);
1144
- switch (marker) {
1145
- case "(.)":
1146
- if (interceptingRoute === "/") {
1147
- interceptedRoute = `/${interceptedRoute}`;
1148
- } else {
1149
- interceptedRoute = interceptingRoute + "/" + interceptedRoute;
1150
- }
1151
- break;
1152
- case "(..)":
1153
- if (interceptingRoute === "/") {
1154
- throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Cannot use (..) marker at the root level, use (.) instead.`), "__NEXT_ERROR_CODE", {
1155
- value: "E207",
1156
- enumerable: false,
1157
- configurable: true
1158
- });
1159
- }
1160
- interceptedRoute = interceptingRoute.split("/").slice(0, -1).concat(interceptedRoute).join("/");
1161
- break;
1162
- case "(...)":
1163
- interceptedRoute = "/" + interceptedRoute;
1164
- break;
1165
- case "(..)(..)":
1166
- const splitInterceptingRoute = interceptingRoute.split("/");
1167
- if (splitInterceptingRoute.length <= 2) {
1168
- throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Cannot use (..)(..) marker at the root level or one level up.`), "__NEXT_ERROR_CODE", {
1169
- value: "E486",
1170
- enumerable: false,
1171
- configurable: true
1172
- });
1173
- }
1174
- interceptedRoute = splitInterceptingRoute.slice(0, -2).concat(interceptedRoute).join("/");
1175
- break;
1176
- default:
1177
- throw Object.defineProperty(new Error("Invariant: unexpected marker"), "__NEXT_ERROR_CODE", {
1178
- value: "E112",
1179
- enumerable: false,
1180
- configurable: true
1181
- });
1182
- }
1183
- return {
1184
- interceptingRoute,
1185
- interceptedRoute
1186
- };
1187
- }
1188
- })(interceptionRoutes);
1189
- return interceptionRoutes;
1190
- }
1191
- var hasRequiredIsDynamic;
1192
- function requireIsDynamic() {
1193
- if (hasRequiredIsDynamic) return isDynamic;
1194
- hasRequiredIsDynamic = 1;
1195
- (function(exports$1) {
1196
- Object.defineProperty(exports$1, "__esModule", {
1197
- value: true
1198
- });
1199
- Object.defineProperty(exports$1, "isDynamicRoute", {
1200
- enumerable: true,
1201
- get: function() {
1202
- return isDynamicRoute;
1203
- }
1204
- });
1205
- const _interceptionroutes = requireInterceptionRoutes();
1206
- const TEST_ROUTE = /\/[^/]*\[[^/]+\][^/]*(?=\/|$)/;
1207
- const TEST_STRICT_ROUTE = /\/\[[^/]+\](?=\/|$)/;
1208
- function isDynamicRoute(route, strict = true) {
1209
- if ((0, _interceptionroutes.isInterceptionRouteAppPath)(route)) {
1210
- route = (0, _interceptionroutes.extractInterceptionRouteInformation)(route).interceptedRoute;
1211
- }
1212
- if (strict) {
1213
- return TEST_STRICT_ROUTE.test(route);
1214
- }
1215
- return TEST_ROUTE.test(route);
1216
- }
1217
- })(isDynamic);
1218
- return isDynamic;
1219
- }
1220
- var hasRequiredUtils;
1221
- function requireUtils() {
1222
- if (hasRequiredUtils) return utils;
1223
- hasRequiredUtils = 1;
1224
- (function(exports$1) {
1225
- Object.defineProperty(exports$1, "__esModule", {
1226
- value: true
1227
- });
1228
- function _export(target, all) {
1229
- for (var name in all) Object.defineProperty(target, name, {
1230
- enumerable: true,
1231
- get: all[name]
1232
- });
1233
- }
1234
- _export(exports$1, {
1235
- getSortedRouteObjects: function() {
1236
- return _sortedroutes.getSortedRouteObjects;
1237
- },
1238
- getSortedRoutes: function() {
1239
- return _sortedroutes.getSortedRoutes;
1240
- },
1241
- isDynamicRoute: function() {
1242
- return _isdynamic.isDynamicRoute;
1243
- }
1244
- });
1245
- const _sortedroutes = requireSortedRoutes();
1246
- const _isdynamic = requireIsDynamic();
1247
- })(utils);
1248
- return utils;
1249
- }
1250
- var interpolateAs = {};
1251
- var routeMatcher = {};
1252
- var routeMatchUtils = {};
1253
- var pathToRegexp = { exports: {} };
1254
- var hasRequiredPathToRegexp;
1255
- function requirePathToRegexp() {
1256
- if (hasRequiredPathToRegexp) return pathToRegexp.exports;
1257
- hasRequiredPathToRegexp = 1;
1258
- (() => {
1259
- if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = __dirname + "/";
1260
- var e = {};
1261
- (() => {
1262
- var n = e;
1263
- Object.defineProperty(n, "__esModule", { value: true });
1264
- n.pathToRegexp = n.tokensToRegexp = n.regexpToFunction = n.match = n.tokensToFunction = n.compile = n.parse = void 0;
1265
- function lexer(e2) {
1266
- var n2 = [];
1267
- var r = 0;
1268
- while (r < e2.length) {
1269
- var t = e2[r];
1270
- if (t === "*" || t === "+" || t === "?") {
1271
- n2.push({ type: "MODIFIER", index: r, value: e2[r++] });
1272
- continue;
1273
- }
1274
- if (t === "\\") {
1275
- n2.push({ type: "ESCAPED_CHAR", index: r++, value: e2[r++] });
1276
- continue;
1277
- }
1278
- if (t === "{") {
1279
- n2.push({ type: "OPEN", index: r, value: e2[r++] });
1280
- continue;
1281
- }
1282
- if (t === "}") {
1283
- n2.push({ type: "CLOSE", index: r, value: e2[r++] });
1284
- continue;
1285
- }
1286
- if (t === ":") {
1287
- var a = "";
1288
- var i = r + 1;
1289
- while (i < e2.length) {
1290
- var o = e2.charCodeAt(i);
1291
- if (o >= 48 && o <= 57 || o >= 65 && o <= 90 || o >= 97 && o <= 122 || o === 95) {
1292
- a += e2[i++];
1293
- continue;
1294
- }
1295
- break;
1296
- }
1297
- if (!a) throw new TypeError("Missing parameter name at ".concat(r));
1298
- n2.push({ type: "NAME", index: r, value: a });
1299
- r = i;
1300
- continue;
1301
- }
1302
- if (t === "(") {
1303
- var c = 1;
1304
- var f = "";
1305
- var i = r + 1;
1306
- if (e2[i] === "?") {
1307
- throw new TypeError('Pattern cannot start with "?" at '.concat(i));
1308
- }
1309
- while (i < e2.length) {
1310
- if (e2[i] === "\\") {
1311
- f += e2[i++] + e2[i++];
1312
- continue;
1313
- }
1314
- if (e2[i] === ")") {
1315
- c--;
1316
- if (c === 0) {
1317
- i++;
1318
- break;
1319
- }
1320
- } else if (e2[i] === "(") {
1321
- c++;
1322
- if (e2[i + 1] !== "?") {
1323
- throw new TypeError("Capturing groups are not allowed at ".concat(i));
1324
- }
1325
- }
1326
- f += e2[i++];
1327
- }
1328
- if (c) throw new TypeError("Unbalanced pattern at ".concat(r));
1329
- if (!f) throw new TypeError("Missing pattern at ".concat(r));
1330
- n2.push({ type: "PATTERN", index: r, value: f });
1331
- r = i;
1332
- continue;
1333
- }
1334
- n2.push({ type: "CHAR", index: r, value: e2[r++] });
1335
- }
1336
- n2.push({ type: "END", index: r, value: "" });
1337
- return n2;
1338
- }
1339
- function parse(e2, n2) {
1340
- if (n2 === void 0) {
1341
- n2 = {};
1342
- }
1343
- var r = lexer(e2);
1344
- var t = n2.prefixes, a = t === void 0 ? "./" : t, i = n2.delimiter, o = i === void 0 ? "/#?" : i;
1345
- var c = [];
1346
- var f = 0;
1347
- var u = 0;
1348
- var p = "";
1349
- var tryConsume = function(e3) {
1350
- if (u < r.length && r[u].type === e3) return r[u++].value;
1351
- };
1352
- var mustConsume = function(e3) {
1353
- var n3 = tryConsume(e3);
1354
- if (n3 !== void 0) return n3;
1355
- var t2 = r[u], a2 = t2.type, i2 = t2.index;
1356
- throw new TypeError("Unexpected ".concat(a2, " at ").concat(i2, ", expected ").concat(e3));
1357
- };
1358
- var consumeText = function() {
1359
- var e3 = "";
1360
- var n3;
1361
- while (n3 = tryConsume("CHAR") || tryConsume("ESCAPED_CHAR")) {
1362
- e3 += n3;
1363
- }
1364
- return e3;
1365
- };
1366
- var isSafe = function(e3) {
1367
- for (var n3 = 0, r2 = o; n3 < r2.length; n3++) {
1368
- var t2 = r2[n3];
1369
- if (e3.indexOf(t2) > -1) return true;
1370
- }
1371
- return false;
1372
- };
1373
- var safePattern = function(e3) {
1374
- var n3 = c[c.length - 1];
1375
- var r2 = e3 || (n3 && typeof n3 === "string" ? n3 : "");
1376
- if (n3 && !r2) {
1377
- throw new TypeError('Must have text between two parameters, missing text after "'.concat(n3.name, '"'));
1378
- }
1379
- if (!r2 || isSafe(r2)) return "[^".concat(escapeString(o), "]+?");
1380
- return "(?:(?!".concat(escapeString(r2), ")[^").concat(escapeString(o), "])+?");
1381
- };
1382
- while (u < r.length) {
1383
- var v = tryConsume("CHAR");
1384
- var s = tryConsume("NAME");
1385
- var d = tryConsume("PATTERN");
1386
- if (s || d) {
1387
- var g = v || "";
1388
- if (a.indexOf(g) === -1) {
1389
- p += g;
1390
- g = "";
1391
- }
1392
- if (p) {
1393
- c.push(p);
1394
- p = "";
1395
- }
1396
- c.push({ name: s || f++, prefix: g, suffix: "", pattern: d || safePattern(g), modifier: tryConsume("MODIFIER") || "" });
1397
- continue;
1398
- }
1399
- var x = v || tryConsume("ESCAPED_CHAR");
1400
- if (x) {
1401
- p += x;
1402
- continue;
1403
- }
1404
- if (p) {
1405
- c.push(p);
1406
- p = "";
1407
- }
1408
- var h = tryConsume("OPEN");
1409
- if (h) {
1410
- var g = consumeText();
1411
- var l = tryConsume("NAME") || "";
1412
- var m = tryConsume("PATTERN") || "";
1413
- var T = consumeText();
1414
- mustConsume("CLOSE");
1415
- c.push({ name: l || (m ? f++ : ""), pattern: l && !m ? safePattern(g) : m, prefix: g, suffix: T, modifier: tryConsume("MODIFIER") || "" });
1416
- continue;
1417
- }
1418
- mustConsume("END");
1419
- }
1420
- return c;
1421
- }
1422
- n.parse = parse;
1423
- function compile(e2, n2) {
1424
- return tokensToFunction(parse(e2, n2), n2);
1425
- }
1426
- n.compile = compile;
1427
- function tokensToFunction(e2, n2) {
1428
- if (n2 === void 0) {
1429
- n2 = {};
1430
- }
1431
- var r = flags(n2);
1432
- var t = n2.encode, a = t === void 0 ? function(e3) {
1433
- return e3;
1434
- } : t, i = n2.validate, o = i === void 0 ? true : i;
1435
- var c = e2.map((function(e3) {
1436
- if (typeof e3 === "object") {
1437
- return new RegExp("^(?:".concat(e3.pattern, ")$"), r);
1438
- }
1439
- }));
1440
- return function(n3) {
1441
- var r2 = "";
1442
- for (var t2 = 0; t2 < e2.length; t2++) {
1443
- var i2 = e2[t2];
1444
- if (typeof i2 === "string") {
1445
- r2 += i2;
1446
- continue;
1447
- }
1448
- var f = n3 ? n3[i2.name] : void 0;
1449
- var u = i2.modifier === "?" || i2.modifier === "*";
1450
- var p = i2.modifier === "*" || i2.modifier === "+";
1451
- if (Array.isArray(f)) {
1452
- if (!p) {
1453
- throw new TypeError('Expected "'.concat(i2.name, '" to not repeat, but got an array'));
1454
- }
1455
- if (f.length === 0) {
1456
- if (u) continue;
1457
- throw new TypeError('Expected "'.concat(i2.name, '" to not be empty'));
1458
- }
1459
- for (var v = 0; v < f.length; v++) {
1460
- var s = a(f[v], i2);
1461
- if (o && !c[t2].test(s)) {
1462
- throw new TypeError('Expected all "'.concat(i2.name, '" to match "').concat(i2.pattern, '", but got "').concat(s, '"'));
1463
- }
1464
- r2 += i2.prefix + s + i2.suffix;
1465
- }
1466
- continue;
1467
- }
1468
- if (typeof f === "string" || typeof f === "number") {
1469
- var s = a(String(f), i2);
1470
- if (o && !c[t2].test(s)) {
1471
- throw new TypeError('Expected "'.concat(i2.name, '" to match "').concat(i2.pattern, '", but got "').concat(s, '"'));
1472
- }
1473
- r2 += i2.prefix + s + i2.suffix;
1474
- continue;
1475
- }
1476
- if (u) continue;
1477
- var d = p ? "an array" : "a string";
1478
- throw new TypeError('Expected "'.concat(i2.name, '" to be ').concat(d));
1479
- }
1480
- return r2;
1481
- };
1482
- }
1483
- n.tokensToFunction = tokensToFunction;
1484
- function match(e2, n2) {
1485
- var r = [];
1486
- var t = pathToRegexp2(e2, r, n2);
1487
- return regexpToFunction(t, r, n2);
1488
- }
1489
- n.match = match;
1490
- function regexpToFunction(e2, n2, r) {
1491
- if (r === void 0) {
1492
- r = {};
1493
- }
1494
- var t = r.decode, a = t === void 0 ? function(e3) {
1495
- return e3;
1496
- } : t;
1497
- return function(r2) {
1498
- var t2 = e2.exec(r2);
1499
- if (!t2) return false;
1500
- var i = t2[0], o = t2.index;
1501
- var c = /* @__PURE__ */ Object.create(null);
1502
- var _loop_1 = function(e3) {
1503
- if (t2[e3] === void 0) return "continue";
1504
- var r3 = n2[e3 - 1];
1505
- if (r3.modifier === "*" || r3.modifier === "+") {
1506
- c[r3.name] = t2[e3].split(r3.prefix + r3.suffix).map((function(e4) {
1507
- return a(e4, r3);
1508
- }));
1509
- } else {
1510
- c[r3.name] = a(t2[e3], r3);
1511
- }
1512
- };
1513
- for (var f = 1; f < t2.length; f++) {
1514
- _loop_1(f);
1515
- }
1516
- return { path: i, index: o, params: c };
1517
- };
1518
- }
1519
- n.regexpToFunction = regexpToFunction;
1520
- function escapeString(e2) {
1521
- return e2.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1");
1522
- }
1523
- function flags(e2) {
1524
- return e2 && e2.sensitive ? "" : "i";
1525
- }
1526
- function regexpToRegexp(e2, n2) {
1527
- if (!n2) return e2;
1528
- var r = /\((?:\?<(.*?)>)?(?!\?)/g;
1529
- var t = 0;
1530
- var a = r.exec(e2.source);
1531
- while (a) {
1532
- n2.push({ name: a[1] || t++, prefix: "", suffix: "", modifier: "", pattern: "" });
1533
- a = r.exec(e2.source);
1534
- }
1535
- return e2;
1536
- }
1537
- function arrayToRegexp(e2, n2, r) {
1538
- var t = e2.map((function(e3) {
1539
- return pathToRegexp2(e3, n2, r).source;
1540
- }));
1541
- return new RegExp("(?:".concat(t.join("|"), ")"), flags(r));
1542
- }
1543
- function stringToRegexp(e2, n2, r) {
1544
- return tokensToRegexp(parse(e2, r), n2, r);
1545
- }
1546
- function tokensToRegexp(e2, n2, r) {
1547
- if (r === void 0) {
1548
- r = {};
1549
- }
1550
- var t = r.strict, a = t === void 0 ? false : t, i = r.start, o = i === void 0 ? true : i, c = r.end, f = c === void 0 ? true : c, u = r.encode, p = u === void 0 ? function(e3) {
1551
- return e3;
1552
- } : u, v = r.delimiter, s = v === void 0 ? "/#?" : v, d = r.endsWith, g = d === void 0 ? "" : d;
1553
- var x = "[".concat(escapeString(g), "]|$");
1554
- var h = "[".concat(escapeString(s), "]");
1555
- var l = o ? "^" : "";
1556
- for (var m = 0, T = e2; m < T.length; m++) {
1557
- var E = T[m];
1558
- if (typeof E === "string") {
1559
- l += escapeString(p(E));
1560
- } else {
1561
- var w = escapeString(p(E.prefix));
1562
- var y = escapeString(p(E.suffix));
1563
- if (E.pattern) {
1564
- if (n2) n2.push(E);
1565
- if (w || y) {
1566
- if (E.modifier === "+" || E.modifier === "*") {
1567
- var R = E.modifier === "*" ? "?" : "";
1568
- l += "(?:".concat(w, "((?:").concat(E.pattern, ")(?:").concat(y).concat(w, "(?:").concat(E.pattern, "))*)").concat(y, ")").concat(R);
1569
- } else {
1570
- l += "(?:".concat(w, "(").concat(E.pattern, ")").concat(y, ")").concat(E.modifier);
1571
- }
1572
- } else {
1573
- if (E.modifier === "+" || E.modifier === "*") {
1574
- throw new TypeError('Can not repeat "'.concat(E.name, '" without a prefix and suffix'));
1575
- }
1576
- l += "(".concat(E.pattern, ")").concat(E.modifier);
1577
- }
1578
- } else {
1579
- l += "(?:".concat(w).concat(y, ")").concat(E.modifier);
1580
- }
1581
- }
1582
- }
1583
- if (f) {
1584
- if (!a) l += "".concat(h, "?");
1585
- l += !r.endsWith ? "$" : "(?=".concat(x, ")");
1586
- } else {
1587
- var A = e2[e2.length - 1];
1588
- var _ = typeof A === "string" ? h.indexOf(A[A.length - 1]) > -1 : A === void 0;
1589
- if (!a) {
1590
- l += "(?:".concat(h, "(?=").concat(x, "))?");
1591
- }
1592
- if (!_) {
1593
- l += "(?=".concat(h, "|").concat(x, ")");
1594
- }
1595
- }
1596
- return new RegExp(l, flags(r));
1597
- }
1598
- n.tokensToRegexp = tokensToRegexp;
1599
- function pathToRegexp2(e2, n2, r) {
1600
- if (e2 instanceof RegExp) return regexpToRegexp(e2, n2);
1601
- if (Array.isArray(e2)) return arrayToRegexp(e2, n2, r);
1602
- return stringToRegexp(e2, n2, r);
1603
- }
1604
- n.pathToRegexp = pathToRegexp2;
1605
- })();
1606
- pathToRegexp.exports = e;
1607
- })();
1608
- return pathToRegexp.exports;
1609
- }
1610
- var routePatternNormalizer = {};
1611
- var hasRequiredRoutePatternNormalizer;
1612
- function requireRoutePatternNormalizer() {
1613
- if (hasRequiredRoutePatternNormalizer) return routePatternNormalizer;
1614
- hasRequiredRoutePatternNormalizer = 1;
1615
- (function(exports$1) {
1616
- Object.defineProperty(exports$1, "__esModule", {
1617
- value: true
1618
- });
1619
- function _export(target, all) {
1620
- for (var name in all) Object.defineProperty(target, name, {
1621
- enumerable: true,
1622
- get: all[name]
1623
- });
1624
- }
1625
- _export(exports$1, {
1626
- PARAM_SEPARATOR: function() {
1627
- return PARAM_SEPARATOR;
1628
- },
1629
- hasAdjacentParameterIssues: function() {
1630
- return hasAdjacentParameterIssues;
1631
- },
1632
- normalizeAdjacentParameters: function() {
1633
- return normalizeAdjacentParameters;
1634
- },
1635
- normalizeTokensForRegexp: function() {
1636
- return normalizeTokensForRegexp;
1637
- },
1638
- stripNormalizedSeparators: function() {
1639
- return stripNormalizedSeparators;
1640
- },
1641
- stripParameterSeparators: function() {
1642
- return stripParameterSeparators;
1643
- }
1644
- });
1645
- const PARAM_SEPARATOR = "_NEXTSEP_";
1646
- function hasAdjacentParameterIssues(route) {
1647
- if (typeof route !== "string") return false;
1648
- if (/\/\(\.{1,3}\):[^/\s]+/.test(route)) {
1649
- return true;
1650
- }
1651
- if (/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(route)) {
1652
- return true;
1653
- }
1654
- return false;
1655
- }
1656
- function normalizeAdjacentParameters(route) {
1657
- let normalized = route;
1658
- normalized = normalized.replace(/(\([^)]*\)):([^/\s]+)/g, `$1${PARAM_SEPARATOR}:$2`);
1659
- normalized = normalized.replace(/:([^:/\s)]+)(?=:)/g, `:$1${PARAM_SEPARATOR}`);
1660
- return normalized;
1661
- }
1662
- function normalizeTokensForRegexp(tokens) {
1663
- return tokens.map((token) => {
1664
- if (typeof token === "object" && token !== null && // Not all token objects have 'modifier' property (e.g., simple text tokens)
1665
- "modifier" in token && // Only repeating modifiers (* or +) cause the validation error
1666
- // Other modifiers like '?' (optional) are fine
1667
- (token.modifier === "*" || token.modifier === "+") && // Token objects can have different shapes depending on route pattern
1668
- "prefix" in token && "suffix" in token && // Both prefix and suffix must be empty strings
1669
- // This is what causes the validation error in path-to-regexp
1670
- token.prefix === "" && token.suffix === "") {
1671
- return {
1672
- ...token,
1673
- prefix: "/"
1674
- };
1675
- }
1676
- return token;
1677
- });
1678
- }
1679
- function stripNormalizedSeparators(pathname) {
1680
- return pathname.replace(new RegExp(`\\)${PARAM_SEPARATOR}`, "g"), ")");
1681
- }
1682
- function stripParameterSeparators(params) {
1683
- const cleaned = {};
1684
- for (const [key, value] of Object.entries(params)) {
1685
- if (typeof value === "string") {
1686
- cleaned[key] = value.replace(new RegExp(`^${PARAM_SEPARATOR}`), "");
1687
- } else if (Array.isArray(value)) {
1688
- cleaned[key] = value.map((item) => typeof item === "string" ? item.replace(new RegExp(`^${PARAM_SEPARATOR}`), "") : item);
1689
- } else {
1690
- cleaned[key] = value;
1691
- }
1692
- }
1693
- return cleaned;
1694
- }
1695
- })(routePatternNormalizer);
1696
- return routePatternNormalizer;
1697
- }
1698
- var hasRequiredRouteMatchUtils;
1699
- function requireRouteMatchUtils() {
1700
- if (hasRequiredRouteMatchUtils) return routeMatchUtils;
1701
- hasRequiredRouteMatchUtils = 1;
1702
- (function(exports$1) {
1703
- Object.defineProperty(exports$1, "__esModule", {
1704
- value: true
1705
- });
1706
- function _export(target, all) {
1707
- for (var name in all) Object.defineProperty(target, name, {
1708
- enumerable: true,
1709
- get: all[name]
1710
- });
1711
- }
1712
- _export(exports$1, {
1713
- safeCompile: function() {
1714
- return safeCompile;
1715
- },
1716
- safePathToRegexp: function() {
1717
- return safePathToRegexp;
1718
- },
1719
- safeRegexpToFunction: function() {
1720
- return safeRegexpToFunction;
1721
- },
1722
- safeRouteMatcher: function() {
1723
- return safeRouteMatcher;
1724
- }
1725
- });
1726
- const _pathtoregexp = requirePathToRegexp();
1727
- const _routepatternnormalizer = requireRoutePatternNormalizer();
1728
- function safePathToRegexp(route, keys, options) {
1729
- if (typeof route !== "string") {
1730
- return (0, _pathtoregexp.pathToRegexp)(route, keys, options);
1731
- }
1732
- const needsNormalization = (0, _routepatternnormalizer.hasAdjacentParameterIssues)(route);
1733
- const routeToUse = needsNormalization ? (0, _routepatternnormalizer.normalizeAdjacentParameters)(route) : route;
1734
- try {
1735
- return (0, _pathtoregexp.pathToRegexp)(routeToUse, keys, options);
1736
- } catch (error) {
1737
- if (!needsNormalization) {
1738
- try {
1739
- const normalizedRoute = (0, _routepatternnormalizer.normalizeAdjacentParameters)(route);
1740
- return (0, _pathtoregexp.pathToRegexp)(normalizedRoute, keys, options);
1741
- } catch (retryError) {
1742
- throw error;
1743
- }
1744
- }
1745
- throw error;
1746
- }
1747
- }
1748
- function safeCompile(route, options) {
1749
- const needsNormalization = (0, _routepatternnormalizer.hasAdjacentParameterIssues)(route);
1750
- const routeToUse = needsNormalization ? (0, _routepatternnormalizer.normalizeAdjacentParameters)(route) : route;
1751
- try {
1752
- const compiler = (0, _pathtoregexp.compile)(routeToUse, options);
1753
- if (needsNormalization) {
1754
- return (params) => {
1755
- return (0, _routepatternnormalizer.stripNormalizedSeparators)(compiler(params));
1756
- };
1757
- }
1758
- return compiler;
1759
- } catch (error) {
1760
- if (!needsNormalization) {
1761
- try {
1762
- const normalizedRoute = (0, _routepatternnormalizer.normalizeAdjacentParameters)(route);
1763
- const compiler = (0, _pathtoregexp.compile)(normalizedRoute, options);
1764
- return (params) => {
1765
- return (0, _routepatternnormalizer.stripNormalizedSeparators)(compiler(params));
1766
- };
1767
- } catch (retryError) {
1768
- throw error;
1769
- }
1770
- }
1771
- throw error;
1772
- }
1773
- }
1774
- function safeRegexpToFunction(regexp, keys) {
1775
- const originalMatcher = (0, _pathtoregexp.regexpToFunction)(regexp, keys || []);
1776
- return (pathname) => {
1777
- const result = originalMatcher(pathname);
1778
- if (!result) return false;
1779
- return {
1780
- ...result,
1781
- params: (0, _routepatternnormalizer.stripParameterSeparators)(result.params)
1782
- };
1783
- };
1784
- }
1785
- function safeRouteMatcher(matcherFn) {
1786
- return (pathname) => {
1787
- const result = matcherFn(pathname);
1788
- if (!result) return false;
1789
- return (0, _routepatternnormalizer.stripParameterSeparators)(result);
1790
- };
1791
- }
1792
- })(routeMatchUtils);
1793
- return routeMatchUtils;
1794
- }
1795
- var hasRequiredRouteMatcher;
1796
- function requireRouteMatcher() {
1797
- if (hasRequiredRouteMatcher) return routeMatcher;
1798
- hasRequiredRouteMatcher = 1;
1799
- (function(exports$1) {
1800
- Object.defineProperty(exports$1, "__esModule", {
1801
- value: true
1802
- });
1803
- Object.defineProperty(exports$1, "getRouteMatcher", {
1804
- enumerable: true,
1805
- get: function() {
1806
- return getRouteMatcher;
1807
- }
1808
- });
1809
- const _utils = requireUtils$1();
1810
- const _routematchutils = requireRouteMatchUtils();
1811
- function getRouteMatcher({ re, groups }) {
1812
- const rawMatcher = (pathname) => {
1813
- const routeMatch = re.exec(pathname);
1814
- if (!routeMatch) return false;
1815
- const decode = (param) => {
1816
- try {
1817
- return decodeURIComponent(param);
1818
- } catch {
1819
- throw Object.defineProperty(new _utils.DecodeError("failed to decode param"), "__NEXT_ERROR_CODE", {
1820
- value: "E528",
1821
- enumerable: false,
1822
- configurable: true
1823
- });
1824
- }
1825
- };
1826
- const params = {};
1827
- for (const [key, group] of Object.entries(groups)) {
1828
- const match = routeMatch[group.pos];
1829
- if (match !== void 0) {
1830
- if (group.repeat) {
1831
- params[key] = match.split("/").map((entry) => decode(entry));
1832
- } else {
1833
- params[key] = decode(match);
1834
- }
1835
- }
1836
- }
1837
- return params;
1838
- };
1839
- return (0, _routematchutils.safeRouteMatcher)(rawMatcher);
1840
- }
1841
- })(routeMatcher);
1842
- return routeMatcher;
1843
- }
1844
- var routeRegex = {};
1845
- var constants = {};
1846
- var hasRequiredConstants;
1847
- function requireConstants() {
1848
- if (hasRequiredConstants) return constants;
1849
- hasRequiredConstants = 1;
1850
- (function(exports$1) {
1851
- Object.defineProperty(exports$1, "__esModule", {
1852
- value: true
1853
- });
1854
- function _export(target, all) {
1855
- for (var name in all) Object.defineProperty(target, name, {
1856
- enumerable: true,
1857
- get: all[name]
1858
- });
1859
- }
1860
- _export(exports$1, {
1861
- ACTION_SUFFIX: function() {
1862
- return ACTION_SUFFIX;
1863
- },
1864
- APP_DIR_ALIAS: function() {
1865
- return APP_DIR_ALIAS;
1866
- },
1867
- CACHE_ONE_YEAR: function() {
1868
- return CACHE_ONE_YEAR;
1869
- },
1870
- DOT_NEXT_ALIAS: function() {
1871
- return DOT_NEXT_ALIAS;
1872
- },
1873
- ESLINT_DEFAULT_DIRS: function() {
1874
- return ESLINT_DEFAULT_DIRS;
1875
- },
1876
- GSP_NO_RETURNED_VALUE: function() {
1877
- return GSP_NO_RETURNED_VALUE;
1878
- },
1879
- GSSP_COMPONENT_MEMBER_ERROR: function() {
1880
- return GSSP_COMPONENT_MEMBER_ERROR;
1881
- },
1882
- GSSP_NO_RETURNED_VALUE: function() {
1883
- return GSSP_NO_RETURNED_VALUE;
1884
- },
1885
- HTML_CONTENT_TYPE_HEADER: function() {
1886
- return HTML_CONTENT_TYPE_HEADER;
1887
- },
1888
- INFINITE_CACHE: function() {
1889
- return INFINITE_CACHE;
1890
- },
1891
- INSTRUMENTATION_HOOK_FILENAME: function() {
1892
- return INSTRUMENTATION_HOOK_FILENAME;
1893
- },
1894
- JSON_CONTENT_TYPE_HEADER: function() {
1895
- return JSON_CONTENT_TYPE_HEADER;
1896
- },
1897
- MATCHED_PATH_HEADER: function() {
1898
- return MATCHED_PATH_HEADER;
1899
- },
1900
- MIDDLEWARE_FILENAME: function() {
1901
- return MIDDLEWARE_FILENAME;
1902
- },
1903
- MIDDLEWARE_LOCATION_REGEXP: function() {
1904
- return MIDDLEWARE_LOCATION_REGEXP;
1905
- },
1906
- NEXT_BODY_SUFFIX: function() {
1907
- return NEXT_BODY_SUFFIX;
1908
- },
1909
- NEXT_CACHE_IMPLICIT_TAG_ID: function() {
1910
- return NEXT_CACHE_IMPLICIT_TAG_ID;
1911
- },
1912
- NEXT_CACHE_REVALIDATED_TAGS_HEADER: function() {
1913
- return NEXT_CACHE_REVALIDATED_TAGS_HEADER;
1914
- },
1915
- NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER: function() {
1916
- return NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER;
1917
- },
1918
- NEXT_CACHE_SOFT_TAG_MAX_LENGTH: function() {
1919
- return NEXT_CACHE_SOFT_TAG_MAX_LENGTH;
1920
- },
1921
- NEXT_CACHE_TAGS_HEADER: function() {
1922
- return NEXT_CACHE_TAGS_HEADER;
1923
- },
1924
- NEXT_CACHE_TAG_MAX_ITEMS: function() {
1925
- return NEXT_CACHE_TAG_MAX_ITEMS;
1926
- },
1927
- NEXT_CACHE_TAG_MAX_LENGTH: function() {
1928
- return NEXT_CACHE_TAG_MAX_LENGTH;
1929
- },
1930
- NEXT_DATA_SUFFIX: function() {
1931
- return NEXT_DATA_SUFFIX;
1932
- },
1933
- NEXT_INTERCEPTION_MARKER_PREFIX: function() {
1934
- return NEXT_INTERCEPTION_MARKER_PREFIX;
1935
- },
1936
- NEXT_META_SUFFIX: function() {
1937
- return NEXT_META_SUFFIX;
1938
- },
1939
- NEXT_QUERY_PARAM_PREFIX: function() {
1940
- return NEXT_QUERY_PARAM_PREFIX;
1941
- },
1942
- NEXT_RESUME_HEADER: function() {
1943
- return NEXT_RESUME_HEADER;
1944
- },
1945
- NON_STANDARD_NODE_ENV: function() {
1946
- return NON_STANDARD_NODE_ENV;
1947
- },
1948
- PAGES_DIR_ALIAS: function() {
1949
- return PAGES_DIR_ALIAS;
1950
- },
1951
- PRERENDER_REVALIDATE_HEADER: function() {
1952
- return PRERENDER_REVALIDATE_HEADER;
1953
- },
1954
- PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER: function() {
1955
- return PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER;
1956
- },
1957
- PROXY_FILENAME: function() {
1958
- return PROXY_FILENAME;
1959
- },
1960
- PROXY_LOCATION_REGEXP: function() {
1961
- return PROXY_LOCATION_REGEXP;
1962
- },
1963
- PUBLIC_DIR_MIDDLEWARE_CONFLICT: function() {
1964
- return PUBLIC_DIR_MIDDLEWARE_CONFLICT;
1965
- },
1966
- ROOT_DIR_ALIAS: function() {
1967
- return ROOT_DIR_ALIAS;
1968
- },
1969
- RSC_ACTION_CLIENT_WRAPPER_ALIAS: function() {
1970
- return RSC_ACTION_CLIENT_WRAPPER_ALIAS;
1971
- },
1972
- RSC_ACTION_ENCRYPTION_ALIAS: function() {
1973
- return RSC_ACTION_ENCRYPTION_ALIAS;
1974
- },
1975
- RSC_ACTION_PROXY_ALIAS: function() {
1976
- return RSC_ACTION_PROXY_ALIAS;
1977
- },
1978
- RSC_ACTION_VALIDATE_ALIAS: function() {
1979
- return RSC_ACTION_VALIDATE_ALIAS;
1980
- },
1981
- RSC_CACHE_WRAPPER_ALIAS: function() {
1982
- return RSC_CACHE_WRAPPER_ALIAS;
1983
- },
1984
- RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS: function() {
1985
- return RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS;
1986
- },
1987
- RSC_MOD_REF_PROXY_ALIAS: function() {
1988
- return RSC_MOD_REF_PROXY_ALIAS;
1989
- },
1990
- RSC_SEGMENTS_DIR_SUFFIX: function() {
1991
- return RSC_SEGMENTS_DIR_SUFFIX;
1992
- },
1993
- RSC_SEGMENT_SUFFIX: function() {
1994
- return RSC_SEGMENT_SUFFIX;
1995
- },
1996
- RSC_SUFFIX: function() {
1997
- return RSC_SUFFIX;
1998
- },
1999
- SERVER_PROPS_EXPORT_ERROR: function() {
2000
- return SERVER_PROPS_EXPORT_ERROR;
2001
- },
2002
- SERVER_PROPS_GET_INIT_PROPS_CONFLICT: function() {
2003
- return SERVER_PROPS_GET_INIT_PROPS_CONFLICT;
2004
- },
2005
- SERVER_PROPS_SSG_CONFLICT: function() {
2006
- return SERVER_PROPS_SSG_CONFLICT;
2007
- },
2008
- SERVER_RUNTIME: function() {
2009
- return SERVER_RUNTIME;
2010
- },
2011
- SSG_FALLBACK_EXPORT_ERROR: function() {
2012
- return SSG_FALLBACK_EXPORT_ERROR;
2013
- },
2014
- SSG_GET_INITIAL_PROPS_CONFLICT: function() {
2015
- return SSG_GET_INITIAL_PROPS_CONFLICT;
2016
- },
2017
- STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR: function() {
2018
- return STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR;
2019
- },
2020
- TEXT_PLAIN_CONTENT_TYPE_HEADER: function() {
2021
- return TEXT_PLAIN_CONTENT_TYPE_HEADER;
2022
- },
2023
- UNSTABLE_REVALIDATE_RENAME_ERROR: function() {
2024
- return UNSTABLE_REVALIDATE_RENAME_ERROR;
2025
- },
2026
- WEBPACK_LAYERS: function() {
2027
- return WEBPACK_LAYERS;
2028
- },
2029
- WEBPACK_RESOURCE_QUERIES: function() {
2030
- return WEBPACK_RESOURCE_QUERIES;
2031
- },
2032
- WEB_SOCKET_MAX_RECONNECTIONS: function() {
2033
- return WEB_SOCKET_MAX_RECONNECTIONS;
2034
- }
2035
- });
2036
- const TEXT_PLAIN_CONTENT_TYPE_HEADER = "text/plain";
2037
- const HTML_CONTENT_TYPE_HEADER = "text/html; charset=utf-8";
2038
- const JSON_CONTENT_TYPE_HEADER = "application/json; charset=utf-8";
2039
- const NEXT_QUERY_PARAM_PREFIX = "nxtP";
2040
- const NEXT_INTERCEPTION_MARKER_PREFIX = "nxtI";
2041
- const MATCHED_PATH_HEADER = "x-matched-path";
2042
- const PRERENDER_REVALIDATE_HEADER = "x-prerender-revalidate";
2043
- const PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER = "x-prerender-revalidate-if-generated";
2044
- const RSC_SEGMENTS_DIR_SUFFIX = ".segments";
2045
- const RSC_SEGMENT_SUFFIX = ".segment.rsc";
2046
- const RSC_SUFFIX = ".rsc";
2047
- const ACTION_SUFFIX = ".action";
2048
- const NEXT_DATA_SUFFIX = ".json";
2049
- const NEXT_META_SUFFIX = ".meta";
2050
- const NEXT_BODY_SUFFIX = ".body";
2051
- const NEXT_CACHE_TAGS_HEADER = "x-next-cache-tags";
2052
- const NEXT_CACHE_REVALIDATED_TAGS_HEADER = "x-next-revalidated-tags";
2053
- const NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER = "x-next-revalidate-tag-token";
2054
- const NEXT_RESUME_HEADER = "next-resume";
2055
- const NEXT_CACHE_TAG_MAX_ITEMS = 128;
2056
- const NEXT_CACHE_TAG_MAX_LENGTH = 256;
2057
- const NEXT_CACHE_SOFT_TAG_MAX_LENGTH = 1024;
2058
- const NEXT_CACHE_IMPLICIT_TAG_ID = "_N_T_";
2059
- const CACHE_ONE_YEAR = 31536e3;
2060
- const INFINITE_CACHE = 4294967294;
2061
- const MIDDLEWARE_FILENAME = "middleware";
2062
- const MIDDLEWARE_LOCATION_REGEXP = `(?:src/)?${MIDDLEWARE_FILENAME}`;
2063
- const PROXY_FILENAME = "proxy";
2064
- const PROXY_LOCATION_REGEXP = `(?:src/)?${PROXY_FILENAME}`;
2065
- const INSTRUMENTATION_HOOK_FILENAME = "instrumentation";
2066
- const PAGES_DIR_ALIAS = "private-next-pages";
2067
- const DOT_NEXT_ALIAS = "private-dot-next";
2068
- const ROOT_DIR_ALIAS = "private-next-root-dir";
2069
- const APP_DIR_ALIAS = "private-next-app-dir";
2070
- const RSC_MOD_REF_PROXY_ALIAS = "private-next-rsc-mod-ref-proxy";
2071
- const RSC_ACTION_VALIDATE_ALIAS = "private-next-rsc-action-validate";
2072
- const RSC_ACTION_PROXY_ALIAS = "private-next-rsc-server-reference";
2073
- const RSC_CACHE_WRAPPER_ALIAS = "private-next-rsc-cache-wrapper";
2074
- const RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS = "private-next-rsc-track-dynamic-import";
2075
- const RSC_ACTION_ENCRYPTION_ALIAS = "private-next-rsc-action-encryption";
2076
- const RSC_ACTION_CLIENT_WRAPPER_ALIAS = "private-next-rsc-action-client-wrapper";
2077
- const PUBLIC_DIR_MIDDLEWARE_CONFLICT = `You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict`;
2078
- const SSG_GET_INITIAL_PROPS_CONFLICT = `You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps`;
2079
- const SERVER_PROPS_GET_INIT_PROPS_CONFLICT = `You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.`;
2080
- const SERVER_PROPS_SSG_CONFLICT = `You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps`;
2081
- const STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR = `can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props`;
2082
- const SERVER_PROPS_EXPORT_ERROR = `pages with \`getServerSideProps\` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export`;
2083
- const GSP_NO_RETURNED_VALUE = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?";
2084
- const GSSP_NO_RETURNED_VALUE = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?";
2085
- const UNSTABLE_REVALIDATE_RENAME_ERROR = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.";
2086
- const GSSP_COMPONENT_MEMBER_ERROR = `can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member`;
2087
- const NON_STANDARD_NODE_ENV = `You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env`;
2088
- const SSG_FALLBACK_EXPORT_ERROR = `Pages with \`fallback\` enabled in \`getStaticPaths\` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export`;
2089
- const ESLINT_DEFAULT_DIRS = [
2090
- "app",
2091
- "pages",
2092
- "components",
2093
- "lib",
2094
- "src"
2095
- ];
2096
- const SERVER_RUNTIME = {
2097
- edge: "edge",
2098
- experimentalEdge: "experimental-edge",
2099
- nodejs: "nodejs"
2100
- };
2101
- const WEB_SOCKET_MAX_RECONNECTIONS = 12;
2102
- const WEBPACK_LAYERS_NAMES = {
2103
- /**
2104
- * The layer for the shared code between the client and server bundles.
2105
- */
2106
- shared: "shared",
2107
- /**
2108
- * The layer for server-only runtime and picking up `react-server` export conditions.
2109
- * Including app router RSC pages and app router custom routes and metadata routes.
2110
- */
2111
- reactServerComponents: "rsc",
2112
- /**
2113
- * Server Side Rendering layer for app (ssr).
2114
- */
2115
- serverSideRendering: "ssr",
2116
- /**
2117
- * The browser client bundle layer for actions.
2118
- */
2119
- actionBrowser: "action-browser",
2120
- /**
2121
- * The Node.js bundle layer for the API routes.
2122
- */
2123
- apiNode: "api-node",
2124
- /**
2125
- * The Edge Lite bundle layer for the API routes.
2126
- */
2127
- apiEdge: "api-edge",
2128
- /**
2129
- * The layer for the middleware code.
2130
- */
2131
- middleware: "middleware",
2132
- /**
2133
- * The layer for the instrumentation hooks.
2134
- */
2135
- instrument: "instrument",
2136
- /**
2137
- * The layer for assets on the edge.
2138
- */
2139
- edgeAsset: "edge-asset",
2140
- /**
2141
- * The browser client bundle layer for App directory.
2142
- */
2143
- appPagesBrowser: "app-pages-browser",
2144
- /**
2145
- * The browser client bundle layer for Pages directory.
2146
- */
2147
- pagesDirBrowser: "pages-dir-browser",
2148
- /**
2149
- * The Edge Lite bundle layer for Pages directory.
2150
- */
2151
- pagesDirEdge: "pages-dir-edge",
2152
- /**
2153
- * The Node.js bundle layer for Pages directory.
2154
- */
2155
- pagesDirNode: "pages-dir-node"
2156
- };
2157
- const WEBPACK_LAYERS = {
2158
- ...WEBPACK_LAYERS_NAMES,
2159
- GROUP: {
2160
- builtinReact: [
2161
- WEBPACK_LAYERS_NAMES.reactServerComponents,
2162
- WEBPACK_LAYERS_NAMES.actionBrowser
2163
- ],
2164
- serverOnly: [
2165
- WEBPACK_LAYERS_NAMES.reactServerComponents,
2166
- WEBPACK_LAYERS_NAMES.actionBrowser,
2167
- WEBPACK_LAYERS_NAMES.instrument,
2168
- WEBPACK_LAYERS_NAMES.middleware
2169
- ],
2170
- neutralTarget: [
2171
- // pages api
2172
- WEBPACK_LAYERS_NAMES.apiNode,
2173
- WEBPACK_LAYERS_NAMES.apiEdge
2174
- ],
2175
- clientOnly: [
2176
- WEBPACK_LAYERS_NAMES.serverSideRendering,
2177
- WEBPACK_LAYERS_NAMES.appPagesBrowser
2178
- ],
2179
- bundled: [
2180
- WEBPACK_LAYERS_NAMES.reactServerComponents,
2181
- WEBPACK_LAYERS_NAMES.actionBrowser,
2182
- WEBPACK_LAYERS_NAMES.serverSideRendering,
2183
- WEBPACK_LAYERS_NAMES.appPagesBrowser,
2184
- WEBPACK_LAYERS_NAMES.shared,
2185
- WEBPACK_LAYERS_NAMES.instrument,
2186
- WEBPACK_LAYERS_NAMES.middleware
2187
- ],
2188
- appPages: [
2189
- // app router pages and layouts
2190
- WEBPACK_LAYERS_NAMES.reactServerComponents,
2191
- WEBPACK_LAYERS_NAMES.serverSideRendering,
2192
- WEBPACK_LAYERS_NAMES.appPagesBrowser,
2193
- WEBPACK_LAYERS_NAMES.actionBrowser
2194
- ]
2195
- }
2196
- };
2197
- const WEBPACK_RESOURCE_QUERIES = {
2198
- edgeSSREntry: "__next_edge_ssr_entry__",
2199
- metadata: "__next_metadata__",
2200
- metadataRoute: "__next_metadata_route__",
2201
- metadataImageMeta: "__next_metadata_image_meta__"
2202
- };
2203
- })(constants);
2204
- return constants;
2205
- }
2206
- var escapeRegexp = {};
2207
- var hasRequiredEscapeRegexp;
2208
- function requireEscapeRegexp() {
2209
- if (hasRequiredEscapeRegexp) return escapeRegexp;
2210
- hasRequiredEscapeRegexp = 1;
2211
- (function(exports$1) {
2212
- Object.defineProperty(exports$1, "__esModule", {
2213
- value: true
2214
- });
2215
- Object.defineProperty(exports$1, "escapeStringRegexp", {
2216
- enumerable: true,
2217
- get: function() {
2218
- return escapeStringRegexp;
2219
- }
2220
- });
2221
- const reHasRegExp = /[|\\{}()[\]^$+*?.-]/;
2222
- const reReplaceRegExp = /[|\\{}()[\]^$+*?.-]/g;
2223
- function escapeStringRegexp(str) {
2224
- if (reHasRegExp.test(str)) {
2225
- return str.replace(reReplaceRegExp, "\\$&");
2226
- }
2227
- return str;
2228
- }
2229
- })(escapeRegexp);
2230
- return escapeRegexp;
2231
- }
2232
- var getDynamicParam = {};
2233
- var invariantError = {};
2234
- var hasRequiredInvariantError;
2235
- function requireInvariantError() {
2236
- if (hasRequiredInvariantError) return invariantError;
2237
- hasRequiredInvariantError = 1;
2238
- (function(exports$1) {
2239
- Object.defineProperty(exports$1, "__esModule", {
2240
- value: true
2241
- });
2242
- Object.defineProperty(exports$1, "InvariantError", {
2243
- enumerable: true,
2244
- get: function() {
2245
- return InvariantError;
2246
- }
2247
- });
2248
- class InvariantError extends Error {
2249
- constructor(message, options) {
2250
- super(`Invariant: ${message.endsWith(".") ? message : message + "."} This is a bug in Next.js.`, options);
2251
- this.name = "InvariantError";
2252
- }
2253
- }
2254
- })(invariantError);
2255
- return invariantError;
2256
- }
2257
- var parseLoaderTree = {};
2258
- var hasRequiredParseLoaderTree;
2259
- function requireParseLoaderTree() {
2260
- if (hasRequiredParseLoaderTree) return parseLoaderTree;
2261
- hasRequiredParseLoaderTree = 1;
2262
- (function(exports$1) {
2263
- Object.defineProperty(exports$1, "__esModule", {
2264
- value: true
2265
- });
2266
- Object.defineProperty(exports$1, "parseLoaderTree", {
2267
- enumerable: true,
2268
- get: function() {
2269
- return parseLoaderTree2;
2270
- }
2271
- });
2272
- const _segment = requireSegment();
2273
- function parseLoaderTree2(tree) {
2274
- const [segment2, parallelRoutes, modules] = tree;
2275
- const { layout, template } = modules;
2276
- let { page } = modules;
2277
- page = segment2 === _segment.DEFAULT_SEGMENT_KEY ? modules.defaultPage : page;
2278
- const conventionPath = (layout == null ? void 0 : layout[1]) || (template == null ? void 0 : template[1]) || (page == null ? void 0 : page[1]);
2279
- return {
2280
- page,
2281
- segment: segment2,
2282
- modules,
2283
- /* it can be either layout / template / page */
2284
- conventionPath,
2285
- parallelRoutes
2286
- };
2287
- }
2288
- })(parseLoaderTree);
2289
- return parseLoaderTree;
2290
- }
2291
- var app = {};
2292
- var getSegmentParam = {};
2293
- var hasRequiredGetSegmentParam;
2294
- function requireGetSegmentParam() {
2295
- if (hasRequiredGetSegmentParam) return getSegmentParam;
2296
- hasRequiredGetSegmentParam = 1;
2297
- (function(exports$1) {
2298
- Object.defineProperty(exports$1, "__esModule", {
2299
- value: true
2300
- });
2301
- function _export(target, all) {
2302
- for (var name in all) Object.defineProperty(target, name, {
2303
- enumerable: true,
2304
- get: all[name]
2305
- });
2306
- }
2307
- _export(exports$1, {
2308
- getParamProperties: function() {
2309
- return getParamProperties;
2310
- },
2311
- getSegmentParam: function() {
2312
- return getSegmentParam2;
2313
- },
2314
- isCatchAll: function() {
2315
- return isCatchAll;
2316
- }
2317
- });
2318
- const _interceptionroutes = requireInterceptionRoutes();
2319
- function getSegmentParam2(segment2) {
2320
- const interceptionMarker = _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.find((marker) => segment2.startsWith(marker));
2321
- if (interceptionMarker) {
2322
- segment2 = segment2.slice(interceptionMarker.length);
2323
- }
2324
- if (segment2.startsWith("[[...") && segment2.endsWith("]]")) {
2325
- return {
2326
- // TODO-APP: Optional catchall does not currently work with parallel routes,
2327
- // so for now aren't handling a potential interception marker.
2328
- paramType: "optional-catchall",
2329
- paramName: segment2.slice(5, -2)
2330
- };
2331
- }
2332
- if (segment2.startsWith("[...") && segment2.endsWith("]")) {
2333
- return {
2334
- paramType: interceptionMarker ? `catchall-intercepted-${interceptionMarker}` : "catchall",
2335
- paramName: segment2.slice(4, -1)
2336
- };
2337
- }
2338
- if (segment2.startsWith("[") && segment2.endsWith("]")) {
2339
- return {
2340
- paramType: interceptionMarker ? `dynamic-intercepted-${interceptionMarker}` : "dynamic",
2341
- paramName: segment2.slice(1, -1)
2342
- };
2343
- }
2344
- return null;
2345
- }
2346
- function isCatchAll(type) {
2347
- return type === "catchall" || type === "catchall-intercepted-(..)(..)" || type === "catchall-intercepted-(.)" || type === "catchall-intercepted-(..)" || type === "catchall-intercepted-(...)" || type === "optional-catchall";
2348
- }
2349
- function getParamProperties(paramType) {
2350
- let repeat = false;
2351
- let optional = false;
2352
- switch (paramType) {
2353
- case "catchall":
2354
- case "catchall-intercepted-(..)(..)":
2355
- case "catchall-intercepted-(.)":
2356
- case "catchall-intercepted-(..)":
2357
- case "catchall-intercepted-(...)":
2358
- repeat = true;
2359
- break;
2360
- case "optional-catchall":
2361
- repeat = true;
2362
- optional = true;
2363
- break;
2364
- }
2365
- return {
2366
- repeat,
2367
- optional
2368
- };
2369
- }
2370
- })(getSegmentParam);
2371
- return getSegmentParam;
2372
- }
2373
- var hasRequiredApp;
2374
- function requireApp() {
2375
- if (hasRequiredApp) return app;
2376
- hasRequiredApp = 1;
2377
- (function(exports$1) {
2378
- Object.defineProperty(exports$1, "__esModule", {
2379
- value: true
2380
- });
2381
- function _export(target, all) {
2382
- for (var name in all) Object.defineProperty(target, name, {
2383
- enumerable: true,
2384
- get: all[name]
2385
- });
2386
- }
2387
- _export(exports$1, {
2388
- isInterceptionAppRoute: function() {
2389
- return isInterceptionAppRoute;
2390
- },
2391
- isNormalizedAppRoute: function() {
2392
- return isNormalizedAppRoute;
2393
- },
2394
- parseAppRoute: function() {
2395
- return parseAppRoute;
2396
- },
2397
- parseAppRouteSegment: function() {
2398
- return parseAppRouteSegment;
2399
- }
2400
- });
2401
- const _invarianterror = requireInvariantError();
2402
- const _getsegmentparam = requireGetSegmentParam();
2403
- const _interceptionroutes = requireInterceptionRoutes();
2404
- function parseAppRouteSegment(segment2) {
2405
- if (segment2 === "") {
2406
- return null;
2407
- }
2408
- const interceptionMarker = _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.find((m) => segment2.startsWith(m));
2409
- const param = (0, _getsegmentparam.getSegmentParam)(segment2);
2410
- if (param) {
2411
- return {
2412
- type: "dynamic",
2413
- name: segment2,
2414
- param,
2415
- interceptionMarker
2416
- };
2417
- } else if (segment2.startsWith("(") && segment2.endsWith(")")) {
2418
- return {
2419
- type: "route-group",
2420
- name: segment2,
2421
- interceptionMarker
2422
- };
2423
- } else if (segment2.startsWith("@")) {
2424
- return {
2425
- type: "parallel-route",
2426
- name: segment2,
2427
- interceptionMarker
2428
- };
2429
- } else {
2430
- return {
2431
- type: "static",
2432
- name: segment2,
2433
- interceptionMarker
2434
- };
2435
- }
2436
- }
2437
- function isNormalizedAppRoute(route) {
2438
- return route.normalized;
2439
- }
2440
- function isInterceptionAppRoute(route) {
2441
- return route.interceptionMarker !== void 0 && route.interceptingRoute !== void 0 && route.interceptedRoute !== void 0;
2442
- }
2443
- function parseAppRoute(pathname, normalized) {
2444
- const pathnameSegments = pathname.split("/").filter(Boolean);
2445
- const segments = [];
2446
- let interceptionMarker;
2447
- let interceptingRoute;
2448
- let interceptedRoute;
2449
- for (const segment2 of pathnameSegments) {
2450
- const appSegment = parseAppRouteSegment(segment2);
2451
- if (!appSegment) {
2452
- continue;
2453
- }
2454
- if (normalized && (appSegment.type === "route-group" || appSegment.type === "parallel-route")) {
2455
- 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", {
2456
- value: "E923",
2457
- enumerable: false,
2458
- configurable: true
2459
- });
2460
- }
2461
- segments.push(appSegment);
2462
- if (appSegment.interceptionMarker) {
2463
- const parts = pathname.split(appSegment.interceptionMarker);
2464
- if (parts.length !== 2) {
2465
- throw Object.defineProperty(new Error(`Invalid interception route: ${pathname}`), "__NEXT_ERROR_CODE", {
2466
- value: "E924",
2467
- enumerable: false,
2468
- configurable: true
2469
- });
2470
- }
2471
- interceptingRoute = normalized ? parseAppRoute(parts[0], true) : parseAppRoute(parts[0], false);
2472
- interceptedRoute = normalized ? parseAppRoute(parts[1], true) : parseAppRoute(parts[1], false);
2473
- interceptionMarker = appSegment.interceptionMarker;
2474
- }
2475
- }
2476
- const dynamicSegments = segments.filter((segment2) => segment2.type === "dynamic");
2477
- return {
2478
- normalized,
2479
- pathname,
2480
- segments,
2481
- dynamicSegments,
2482
- interceptionMarker,
2483
- interceptingRoute,
2484
- interceptedRoute
2485
- };
2486
- }
2487
- })(app);
2488
- return app;
2489
- }
2490
- var resolveParamValue = {};
2491
- var interceptionPrefixFromParamType = {};
2492
- var hasRequiredInterceptionPrefixFromParamType;
2493
- function requireInterceptionPrefixFromParamType() {
2494
- if (hasRequiredInterceptionPrefixFromParamType) return interceptionPrefixFromParamType;
2495
- hasRequiredInterceptionPrefixFromParamType = 1;
2496
- (function(exports$1) {
2497
- Object.defineProperty(exports$1, "__esModule", {
2498
- value: true
2499
- });
2500
- Object.defineProperty(exports$1, "interceptionPrefixFromParamType", {
2501
- enumerable: true,
2502
- get: function() {
2503
- return interceptionPrefixFromParamType2;
2504
- }
2505
- });
2506
- function interceptionPrefixFromParamType2(paramType) {
2507
- switch (paramType) {
2508
- case "catchall-intercepted-(..)(..)":
2509
- case "dynamic-intercepted-(..)(..)":
2510
- return "(..)(..)";
2511
- case "catchall-intercepted-(.)":
2512
- case "dynamic-intercepted-(.)":
2513
- return "(.)";
2514
- case "catchall-intercepted-(..)":
2515
- case "dynamic-intercepted-(..)":
2516
- return "(..)";
2517
- case "catchall-intercepted-(...)":
2518
- case "dynamic-intercepted-(...)":
2519
- return "(...)";
2520
- case "catchall":
2521
- case "dynamic":
2522
- case "optional-catchall":
2523
- default:
2524
- return null;
2525
- }
2526
- }
2527
- })(interceptionPrefixFromParamType);
2528
- return interceptionPrefixFromParamType;
2529
- }
2530
- var hasRequiredResolveParamValue;
2531
- function requireResolveParamValue() {
2532
- if (hasRequiredResolveParamValue) return resolveParamValue;
2533
- hasRequiredResolveParamValue = 1;
2534
- (function(exports$1) {
2535
- Object.defineProperty(exports$1, "__esModule", {
2536
- value: true
2537
- });
2538
- Object.defineProperty(exports$1, "resolveParamValue", {
2539
- enumerable: true,
2540
- get: function() {
2541
- return resolveParamValue2;
2542
- }
2543
- });
2544
- const _invarianterror = requireInvariantError();
2545
- const _interceptionprefixfromparamtype = requireInterceptionPrefixFromParamType();
2546
- function getParamValueFromSegment(pathSegment, params, paramType) {
2547
- if (pathSegment.type === "dynamic") {
2548
- return params[pathSegment.param.paramName];
2549
- }
2550
- const interceptionPrefix = (0, _interceptionprefixfromparamtype.interceptionPrefixFromParamType)(paramType);
2551
- if (interceptionPrefix === pathSegment.interceptionMarker) {
2552
- return pathSegment.name.replace(pathSegment.interceptionMarker, "");
2553
- }
2554
- return pathSegment.name;
2555
- }
2556
- function resolveParamValue2(paramName, paramType, depth, route, params) {
2557
- switch (paramType) {
2558
- case "catchall":
2559
- case "optional-catchall":
2560
- case "catchall-intercepted-(..)(..)":
2561
- case "catchall-intercepted-(.)":
2562
- case "catchall-intercepted-(..)":
2563
- case "catchall-intercepted-(...)":
2564
- const processedSegments = [];
2565
- for (let index = depth; index < route.segments.length; index++) {
2566
- const pathSegment = route.segments[index];
2567
- if (pathSegment.type === "static") {
2568
- let value = pathSegment.name;
2569
- const interceptionPrefix = (0, _interceptionprefixfromparamtype.interceptionPrefixFromParamType)(paramType);
2570
- if (interceptionPrefix && index === depth && interceptionPrefix === pathSegment.interceptionMarker) {
2571
- value = value.replace(pathSegment.interceptionMarker, "");
2572
- }
2573
- processedSegments.push(value);
2574
- } else {
2575
- if (!params.hasOwnProperty(pathSegment.param.paramName)) {
2576
- if (pathSegment.param.paramType === "optional-catchall") {
2577
- break;
2578
- }
2579
- return void 0;
2580
- }
2581
- const paramValue = params[pathSegment.param.paramName];
2582
- if (Array.isArray(paramValue)) {
2583
- processedSegments.push(...paramValue);
2584
- } else {
2585
- processedSegments.push(paramValue);
2586
- }
2587
- }
2588
- }
2589
- if (processedSegments.length > 0) {
2590
- return processedSegments;
2591
- } else if (paramType === "optional-catchall") {
2592
- return void 0;
2593
- } else {
2594
- 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", {
2595
- value: "E931",
2596
- enumerable: false,
2597
- configurable: true
2598
- });
2599
- }
2600
- case "dynamic":
2601
- case "dynamic-intercepted-(..)(..)":
2602
- case "dynamic-intercepted-(.)":
2603
- case "dynamic-intercepted-(..)":
2604
- case "dynamic-intercepted-(...)":
2605
- if (depth < route.segments.length) {
2606
- const pathSegment = route.segments[depth];
2607
- if (pathSegment.type === "dynamic" && !params.hasOwnProperty(pathSegment.param.paramName)) {
2608
- return void 0;
2609
- }
2610
- return getParamValueFromSegment(pathSegment, params, paramType);
2611
- }
2612
- return void 0;
2613
- }
2614
- }
2615
- })(resolveParamValue);
2616
- return resolveParamValue;
2617
- }
2618
- var hasRequiredGetDynamicParam;
2619
- function requireGetDynamicParam() {
2620
- if (hasRequiredGetDynamicParam) return getDynamicParam;
2621
- hasRequiredGetDynamicParam = 1;
2622
- (function(exports$1) {
2623
- Object.defineProperty(exports$1, "__esModule", {
2624
- value: true
2625
- });
2626
- function _export(target, all) {
2627
- for (var name in all) Object.defineProperty(target, name, {
2628
- enumerable: true,
2629
- get: all[name]
2630
- });
2631
- }
2632
- _export(exports$1, {
2633
- PARAMETER_PATTERN: function() {
2634
- return PARAMETER_PATTERN;
2635
- },
2636
- getDynamicParam: function() {
2637
- return getDynamicParam2;
2638
- },
2639
- interpolateParallelRouteParams: function() {
2640
- return interpolateParallelRouteParams;
2641
- },
2642
- parseMatchedParameter: function() {
2643
- return parseMatchedParameter;
2644
- },
2645
- parseParameter: function() {
2646
- return parseParameter;
2647
- }
2648
- });
2649
- const _invarianterror = requireInvariantError();
2650
- const _parseloadertree = requireParseLoaderTree();
2651
- const _app = requireApp();
2652
- const _resolveparamvalue = requireResolveParamValue();
2653
- function getParamValue(interpolatedParams, segmentKey, fallbackRouteParams) {
2654
- let value = interpolatedParams[segmentKey];
2655
- if (fallbackRouteParams == null ? void 0 : fallbackRouteParams.has(segmentKey)) {
2656
- const [searchValue] = fallbackRouteParams.get(segmentKey);
2657
- value = searchValue;
2658
- } else if (Array.isArray(value)) {
2659
- value = value.map((i) => encodeURIComponent(i));
2660
- } else if (typeof value === "string") {
2661
- value = encodeURIComponent(value);
2662
- }
2663
- return value;
2664
- }
2665
- function interpolateParallelRouteParams(loaderTree, params, pagePath, fallbackRouteParams) {
2666
- const interpolated = structuredClone(params);
2667
- const stack = [
2668
- {
2669
- tree: loaderTree,
2670
- depth: 0
2671
- }
2672
- ];
2673
- const route = (0, _app.parseAppRoute)(pagePath, true);
2674
- while (stack.length > 0) {
2675
- const { tree, depth } = stack.pop();
2676
- const { segment: segment2, parallelRoutes } = (0, _parseloadertree.parseLoaderTree)(tree);
2677
- const appSegment = (0, _app.parseAppRouteSegment)(segment2);
2678
- 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
2679
- // interpolate it because it's already marked as being unknown.
2680
- !(fallbackRouteParams == null ? void 0 : fallbackRouteParams.has(appSegment.param.paramName))) {
2681
- const { paramName, paramType } = appSegment.param;
2682
- const paramValue = (0, _resolveparamvalue.resolveParamValue)(paramName, paramType, depth, route, interpolated);
2683
- if (paramValue !== void 0) {
2684
- interpolated[paramName] = paramValue;
2685
- } else if (paramType !== "optional-catchall") {
2686
- throw Object.defineProperty(new _invarianterror.InvariantError(`Could not resolve param value for segment: ${paramName}`), "__NEXT_ERROR_CODE", {
2687
- value: "E932",
2688
- enumerable: false,
2689
- configurable: true
2690
- });
2691
- }
2692
- }
2693
- let nextDepth = depth;
2694
- if (appSegment && appSegment.type !== "route-group" && appSegment.type !== "parallel-route") {
2695
- nextDepth++;
2696
- }
2697
- for (const parallelRoute of Object.values(parallelRoutes)) {
2698
- stack.push({
2699
- tree: parallelRoute,
2700
- depth: nextDepth
2701
- });
2702
- }
2703
- }
2704
- return interpolated;
2705
- }
2706
- function getDynamicParam2(interpolatedParams, segmentKey, dynamicParamType, fallbackRouteParams) {
2707
- let value = getParamValue(interpolatedParams, segmentKey, fallbackRouteParams);
2708
- if (!value || value.length === 0) {
2709
- if (dynamicParamType === "oc") {
2710
- return {
2711
- param: segmentKey,
2712
- value: null,
2713
- type: dynamicParamType,
2714
- treeSegment: [
2715
- segmentKey,
2716
- "",
2717
- dynamicParamType
2718
- ]
2719
- };
2720
- }
2721
- throw Object.defineProperty(new _invarianterror.InvariantError(`Missing value for segment key: "${segmentKey}" with dynamic param type: ${dynamicParamType}`), "__NEXT_ERROR_CODE", {
2722
- value: "E864",
2723
- enumerable: false,
2724
- configurable: true
2725
- });
2726
- }
2727
- return {
2728
- param: segmentKey,
2729
- // The value that is passed to user code.
2730
- value,
2731
- // The value that is rendered in the router tree.
2732
- treeSegment: [
2733
- segmentKey,
2734
- Array.isArray(value) ? value.join("/") : value,
2735
- dynamicParamType
2736
- ],
2737
- type: dynamicParamType
2738
- };
2739
- }
2740
- const PARAMETER_PATTERN = /^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;
2741
- function parseParameter(param) {
2742
- const match = param.match(PARAMETER_PATTERN);
2743
- if (!match) {
2744
- return parseMatchedParameter(param);
2745
- }
2746
- return parseMatchedParameter(match[2]);
2747
- }
2748
- function parseMatchedParameter(param) {
2749
- const optional = param.startsWith("[") && param.endsWith("]");
2750
- if (optional) {
2751
- param = param.slice(1, -1);
2752
- }
2753
- const repeat = param.startsWith("...");
2754
- if (repeat) {
2755
- param = param.slice(3);
2756
- }
2757
- return {
2758
- key: param,
2759
- repeat,
2760
- optional
2761
- };
2762
- }
2763
- })(getDynamicParam);
2764
- return getDynamicParam;
2765
- }
2766
- var hasRequiredRouteRegex;
2767
- function requireRouteRegex() {
2768
- if (hasRequiredRouteRegex) return routeRegex;
2769
- hasRequiredRouteRegex = 1;
2770
- (function(exports$1) {
2771
- Object.defineProperty(exports$1, "__esModule", {
2772
- value: true
2773
- });
2774
- function _export(target, all) {
2775
- for (var name in all) Object.defineProperty(target, name, {
2776
- enumerable: true,
2777
- get: all[name]
2778
- });
2779
- }
2780
- _export(exports$1, {
2781
- getNamedMiddlewareRegex: function() {
2782
- return getNamedMiddlewareRegex;
2783
- },
2784
- getNamedRouteRegex: function() {
2785
- return getNamedRouteRegex;
2786
- },
2787
- getRouteRegex: function() {
2788
- return getRouteRegex;
2789
- }
2790
- });
2791
- const _constants = requireConstants();
2792
- const _interceptionroutes = requireInterceptionRoutes();
2793
- const _escaperegexp = requireEscapeRegexp();
2794
- const _removetrailingslash = requireRemoveTrailingSlash();
2795
- const _getdynamicparam = requireGetDynamicParam();
2796
- function getParametrizedRoute(route, includeSuffix, includePrefix) {
2797
- const groups = {};
2798
- let groupIndex = 1;
2799
- const segments = [];
2800
- for (const segment2 of (0, _removetrailingslash.removeTrailingSlash)(route).slice(1).split("/")) {
2801
- const markerMatch = _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.find((m) => segment2.startsWith(m));
2802
- const paramMatches = segment2.match(_getdynamicparam.PARAMETER_PATTERN);
2803
- if (markerMatch && paramMatches && paramMatches[2]) {
2804
- const { key, optional, repeat } = (0, _getdynamicparam.parseMatchedParameter)(paramMatches[2]);
2805
- groups[key] = {
2806
- pos: groupIndex++,
2807
- repeat,
2808
- optional
2809
- };
2810
- segments.push(`/${(0, _escaperegexp.escapeStringRegexp)(markerMatch)}([^/]+?)`);
2811
- } else if (paramMatches && paramMatches[2]) {
2812
- const { key, repeat, optional } = (0, _getdynamicparam.parseMatchedParameter)(paramMatches[2]);
2813
- groups[key] = {
2814
- pos: groupIndex++,
2815
- repeat,
2816
- optional
2817
- };
2818
- if (includePrefix && paramMatches[1]) {
2819
- segments.push(`/${(0, _escaperegexp.escapeStringRegexp)(paramMatches[1])}`);
2820
- }
2821
- let s = repeat ? optional ? "(?:/(.+?))?" : "/(.+?)" : "/([^/]+?)";
2822
- if (includePrefix && paramMatches[1]) {
2823
- s = s.substring(1);
2824
- }
2825
- segments.push(s);
2826
- } else {
2827
- segments.push(`/${(0, _escaperegexp.escapeStringRegexp)(segment2)}`);
2828
- }
2829
- if (includeSuffix && paramMatches && paramMatches[3]) {
2830
- segments.push((0, _escaperegexp.escapeStringRegexp)(paramMatches[3]));
2831
- }
2832
- }
2833
- return {
2834
- parameterizedRoute: segments.join(""),
2835
- groups
2836
- };
2837
- }
2838
- function getRouteRegex(normalizedRoute, { includeSuffix = false, includePrefix = false, excludeOptionalTrailingSlash = false } = {}) {
2839
- const { parameterizedRoute, groups } = getParametrizedRoute(normalizedRoute, includeSuffix, includePrefix);
2840
- let re = parameterizedRoute;
2841
- if (!excludeOptionalTrailingSlash) {
2842
- re += "(?:/)?";
2843
- }
2844
- return {
2845
- re: new RegExp(`^${re}$`),
2846
- groups
2847
- };
2848
- }
2849
- function buildGetSafeRouteKey() {
2850
- let i = 0;
2851
- return () => {
2852
- let routeKey = "";
2853
- let j = ++i;
2854
- while (j > 0) {
2855
- routeKey += String.fromCharCode(97 + (j - 1) % 26);
2856
- j = Math.floor((j - 1) / 26);
2857
- }
2858
- return routeKey;
2859
- };
2860
- }
2861
- function getSafeKeyFromSegment({ interceptionMarker, getSafeRouteKey, segment: segment2, routeKeys, keyPrefix, backreferenceDuplicateKeys }) {
2862
- const { key, optional, repeat } = (0, _getdynamicparam.parseMatchedParameter)(segment2);
2863
- let cleanedKey = key.replace(/\W/g, "");
2864
- if (keyPrefix) {
2865
- cleanedKey = `${keyPrefix}${cleanedKey}`;
2866
- }
2867
- let invalidKey = false;
2868
- if (cleanedKey.length === 0 || cleanedKey.length > 30) {
2869
- invalidKey = true;
2870
- }
2871
- if (!isNaN(parseInt(cleanedKey.slice(0, 1)))) {
2872
- invalidKey = true;
2873
- }
2874
- if (invalidKey) {
2875
- cleanedKey = getSafeRouteKey();
2876
- }
2877
- const duplicateKey = cleanedKey in routeKeys;
2878
- if (keyPrefix) {
2879
- routeKeys[cleanedKey] = `${keyPrefix}${key}`;
2880
- } else {
2881
- routeKeys[cleanedKey] = key;
2882
- }
2883
- const interceptionPrefix = interceptionMarker ? (0, _escaperegexp.escapeStringRegexp)(interceptionMarker) : "";
2884
- let pattern;
2885
- if (duplicateKey && backreferenceDuplicateKeys) {
2886
- pattern = `\\k<${cleanedKey}>`;
2887
- } else if (repeat) {
2888
- pattern = `(?<${cleanedKey}>.+?)`;
2889
- } else {
2890
- pattern = `(?<${cleanedKey}>[^/]+?)`;
2891
- }
2892
- return {
2893
- key,
2894
- pattern: optional ? `(?:/${interceptionPrefix}${pattern})?` : `/${interceptionPrefix}${pattern}`,
2895
- cleanedKey,
2896
- optional,
2897
- repeat
2898
- };
2899
- }
2900
- function getNamedParametrizedRoute(route, prefixRouteKeys, includeSuffix, includePrefix, backreferenceDuplicateKeys, reference = {
2901
- names: {},
2902
- intercepted: {}
2903
- }) {
2904
- var _a, _b;
2905
- const getSafeRouteKey = buildGetSafeRouteKey();
2906
- const routeKeys = {};
2907
- const segments = [];
2908
- const inverseParts = [];
2909
- reference = structuredClone(reference);
2910
- for (const segment2 of (0, _removetrailingslash.removeTrailingSlash)(route).slice(1).split("/")) {
2911
- const hasInterceptionMarker = _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.some((m) => segment2.startsWith(m));
2912
- const paramMatches = segment2.match(_getdynamicparam.PARAMETER_PATTERN);
2913
- const interceptionMarker = hasInterceptionMarker ? paramMatches == null ? void 0 : paramMatches[1] : void 0;
2914
- let keyPrefix;
2915
- if (interceptionMarker && (paramMatches == null ? void 0 : paramMatches[2])) {
2916
- keyPrefix = prefixRouteKeys ? _constants.NEXT_INTERCEPTION_MARKER_PREFIX : void 0;
2917
- reference.intercepted[paramMatches[2]] = interceptionMarker;
2918
- } else if ((paramMatches == null ? void 0 : paramMatches[2]) && reference.intercepted[paramMatches[2]]) {
2919
- keyPrefix = prefixRouteKeys ? _constants.NEXT_INTERCEPTION_MARKER_PREFIX : void 0;
2920
- } else {
2921
- keyPrefix = prefixRouteKeys ? _constants.NEXT_QUERY_PARAM_PREFIX : void 0;
2922
- }
2923
- if (interceptionMarker && paramMatches && paramMatches[2]) {
2924
- const { key, pattern, cleanedKey, repeat, optional } = getSafeKeyFromSegment({
2925
- getSafeRouteKey,
2926
- interceptionMarker,
2927
- segment: paramMatches[2],
2928
- routeKeys,
2929
- keyPrefix,
2930
- backreferenceDuplicateKeys
2931
- });
2932
- segments.push(pattern);
2933
- inverseParts.push(`/${paramMatches[1]}:${reference.names[key] ?? cleanedKey}${repeat ? optional ? "*" : "+" : ""}`);
2934
- (_a = reference.names)[key] ?? (_a[key] = cleanedKey);
2935
- } else if (paramMatches && paramMatches[2]) {
2936
- if (includePrefix && paramMatches[1]) {
2937
- segments.push(`/${(0, _escaperegexp.escapeStringRegexp)(paramMatches[1])}`);
2938
- inverseParts.push(`/${paramMatches[1]}`);
2939
- }
2940
- const { key, pattern, cleanedKey, repeat, optional } = getSafeKeyFromSegment({
2941
- getSafeRouteKey,
2942
- segment: paramMatches[2],
2943
- routeKeys,
2944
- keyPrefix,
2945
- backreferenceDuplicateKeys
2946
- });
2947
- let s = pattern;
2948
- if (includePrefix && paramMatches[1]) {
2949
- s = s.substring(1);
2950
- }
2951
- segments.push(s);
2952
- inverseParts.push(`/:${reference.names[key] ?? cleanedKey}${repeat ? optional ? "*" : "+" : ""}`);
2953
- (_b = reference.names)[key] ?? (_b[key] = cleanedKey);
2954
- } else {
2955
- segments.push(`/${(0, _escaperegexp.escapeStringRegexp)(segment2)}`);
2956
- inverseParts.push(`/${segment2}`);
2957
- }
2958
- if (includeSuffix && paramMatches && paramMatches[3]) {
2959
- segments.push((0, _escaperegexp.escapeStringRegexp)(paramMatches[3]));
2960
- inverseParts.push(paramMatches[3]);
2961
- }
2962
- }
2963
- return {
2964
- namedParameterizedRoute: segments.join(""),
2965
- routeKeys,
2966
- pathToRegexpPattern: inverseParts.join(""),
2967
- reference
2968
- };
2969
- }
2970
- function getNamedRouteRegex(normalizedRoute, options) {
2971
- const result = getNamedParametrizedRoute(normalizedRoute, options.prefixRouteKeys, options.includeSuffix ?? false, options.includePrefix ?? false, options.backreferenceDuplicateKeys ?? false, options.reference);
2972
- let namedRegex = result.namedParameterizedRoute;
2973
- if (!options.excludeOptionalTrailingSlash) {
2974
- namedRegex += "(?:/)?";
2975
- }
2976
- return {
2977
- ...getRouteRegex(normalizedRoute, options),
2978
- namedRegex: `^${namedRegex}$`,
2979
- routeKeys: result.routeKeys,
2980
- pathToRegexpPattern: result.pathToRegexpPattern,
2981
- reference: result.reference
2982
- };
2983
- }
2984
- function getNamedMiddlewareRegex(normalizedRoute, options) {
2985
- const { parameterizedRoute } = getParametrizedRoute(normalizedRoute, false, false);
2986
- const { catchAll = true } = options;
2987
- if (parameterizedRoute === "/") {
2988
- let catchAllRegex = catchAll ? ".*" : "";
2989
- return {
2990
- namedRegex: `^/${catchAllRegex}$`
2991
- };
2992
- }
2993
- const { namedParameterizedRoute } = getNamedParametrizedRoute(normalizedRoute, false, false, false, false, void 0);
2994
- let catchAllGroupedRegex = catchAll ? "(?:(/.*)?)" : "";
2995
- return {
2996
- namedRegex: `^${namedParameterizedRoute}${catchAllGroupedRegex}$`
2997
- };
2998
- }
2999
- })(routeRegex);
3000
- return routeRegex;
3001
- }
3002
- var hasRequiredInterpolateAs;
3003
- function requireInterpolateAs() {
3004
- if (hasRequiredInterpolateAs) return interpolateAs;
3005
- hasRequiredInterpolateAs = 1;
3006
- (function(exports$1) {
3007
- Object.defineProperty(exports$1, "__esModule", {
3008
- value: true
3009
- });
3010
- Object.defineProperty(exports$1, "interpolateAs", {
3011
- enumerable: true,
3012
- get: function() {
3013
- return interpolateAs2;
3014
- }
3015
- });
3016
- const _routematcher = requireRouteMatcher();
3017
- const _routeregex = requireRouteRegex();
3018
- function interpolateAs2(route, asPathname, query) {
3019
- let interpolatedRoute = "";
3020
- const dynamicRegex = (0, _routeregex.getRouteRegex)(route);
3021
- const dynamicGroups = dynamicRegex.groups;
3022
- const dynamicMatches = (
3023
- // Try to match the dynamic route against the asPath
3024
- (asPathname !== route ? (0, _routematcher.getRouteMatcher)(dynamicRegex)(asPathname) : "") || // Fall back to reading the values from the href
3025
- // TODO: should this take priority; also need to change in the router.
3026
- query
3027
- );
3028
- interpolatedRoute = route;
3029
- const params = Object.keys(dynamicGroups);
3030
- if (!params.every((param) => {
3031
- let value = dynamicMatches[param] || "";
3032
- const { repeat, optional } = dynamicGroups[param];
3033
- let replaced = `[${repeat ? "..." : ""}${param}]`;
3034
- if (optional) {
3035
- replaced = `${!value ? "/" : ""}[${replaced}]`;
3036
- }
3037
- if (repeat && !Array.isArray(value)) value = [
3038
- value
3039
- ];
3040
- return (optional || param in dynamicMatches) && // Interpolate group into data URL if present
3041
- (interpolatedRoute = interpolatedRoute.replace(replaced, repeat ? value.map(
3042
- // these values should be fully encoded instead of just
3043
- // path delimiter escaped since they are being inserted
3044
- // into the URL and we expect URL encoded segments
3045
- // when parsing dynamic route params
3046
- (segment2) => encodeURIComponent(segment2)
3047
- ).join("/") : encodeURIComponent(value)) || "/");
3048
- })) {
3049
- interpolatedRoute = "";
3050
- }
3051
- return {
3052
- params,
3053
- result: interpolatedRoute
3054
- };
3055
- }
3056
- })(interpolateAs);
3057
- return interpolateAs;
3058
- }
3059
- var hasRequiredResolveHref;
3060
- function requireResolveHref() {
3061
- if (hasRequiredResolveHref) return resolveHref.exports;
3062
- hasRequiredResolveHref = 1;
3063
- (function(module, exports$1) {
3064
- Object.defineProperty(exports$1, "__esModule", {
3065
- value: true
3066
- });
3067
- Object.defineProperty(exports$1, "resolveHref", {
3068
- enumerable: true,
3069
- get: function() {
3070
- return resolveHref2;
3071
- }
3072
- });
3073
- const _querystring = requireQuerystring();
3074
- const _formaturl = requireFormatUrl();
3075
- const _omit = requireOmit();
3076
- const _utils = requireUtils$1();
3077
- const _normalizetrailingslash = requireNormalizeTrailingSlash();
3078
- const _islocalurl = requireIsLocalUrl();
3079
- const _utils1 = requireUtils();
3080
- const _interpolateas = requireInterpolateAs();
3081
- const _routeregex = requireRouteRegex();
3082
- const _routematcher = requireRouteMatcher();
3083
- function resolveHref2(router, href, resolveAs) {
3084
- let base;
3085
- let urlAsString = typeof href === "string" ? href : (0, _formaturl.formatWithValidation)(href);
3086
- const urlProtoMatch = urlAsString.match(/^[a-z][a-z0-9+.-]*:\/\//i);
3087
- const urlAsStringNoProto = urlProtoMatch ? urlAsString.slice(urlProtoMatch[0].length) : urlAsString;
3088
- const urlParts = urlAsStringNoProto.split("?", 1);
3089
- if ((urlParts[0] || "").match(/(\/\/|\\)/)) {
3090
- console.error(`Invalid href '${urlAsString}' passed to next/router in page: '${router.pathname}'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.`);
3091
- const normalizedUrl = (0, _utils.normalizeRepeatedSlashes)(urlAsStringNoProto);
3092
- urlAsString = (urlProtoMatch ? urlProtoMatch[0] : "") + normalizedUrl;
3093
- }
3094
- if (!(0, _islocalurl.isLocalURL)(urlAsString)) {
3095
- return resolveAs ? [
3096
- urlAsString
3097
- ] : urlAsString;
3098
- }
3099
- try {
3100
- let baseBase = urlAsString.startsWith("#") ? router.asPath : router.pathname;
3101
- if (urlAsString.startsWith("?")) {
3102
- baseBase = router.asPath;
3103
- if ((0, _utils1.isDynamicRoute)(router.pathname)) {
3104
- baseBase = router.pathname;
3105
- const routeRegex2 = (0, _routeregex.getRouteRegex)(router.pathname);
3106
- const match = (0, _routematcher.getRouteMatcher)(routeRegex2)(router.asPath);
3107
- if (!match) {
3108
- baseBase = router.asPath;
3109
- }
3110
- }
3111
- }
3112
- base = new URL(baseBase, "http://n");
3113
- } catch (_) {
3114
- base = new URL("/", "http://n");
3115
- }
3116
- try {
3117
- const finalUrl = new URL(urlAsString, base);
3118
- finalUrl.pathname = (0, _normalizetrailingslash.normalizePathTrailingSlash)(finalUrl.pathname);
3119
- let interpolatedAs = "";
3120
- if ((0, _utils1.isDynamicRoute)(finalUrl.pathname) && finalUrl.searchParams && resolveAs) {
3121
- const query = (0, _querystring.searchParamsToUrlQuery)(finalUrl.searchParams);
3122
- const { result, params } = (0, _interpolateas.interpolateAs)(finalUrl.pathname, finalUrl.pathname, query);
3123
- if (result) {
3124
- interpolatedAs = (0, _formaturl.formatWithValidation)({
3125
- pathname: result,
3126
- hash: finalUrl.hash,
3127
- query: (0, _omit.omit)(query, params)
3128
- });
3129
- }
3130
- }
3131
- const resolvedHref = finalUrl.origin === base.origin ? finalUrl.href.slice(finalUrl.origin.length) : finalUrl.href;
3132
- return resolveAs ? [
3133
- resolvedHref,
3134
- interpolatedAs || resolvedHref
3135
- ] : resolvedHref;
3136
- } catch (_) {
3137
- return resolveAs ? [
3138
- urlAsString
3139
- ] : urlAsString;
3140
- }
3141
- }
3142
- if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
3143
- Object.defineProperty(exports$1.default, "__esModule", { value: true });
3144
- Object.assign(exports$1.default, exports$1);
3145
- module.exports = exports$1.default;
3146
- }
3147
- })(resolveHref, resolveHref.exports);
3148
- return resolveHref.exports;
3149
- }
3150
- var addLocale$1 = { exports: {} };
3151
- var addLocale = {};
3152
- var addPathPrefix = {};
3153
- var hasRequiredAddPathPrefix;
3154
- function requireAddPathPrefix() {
3155
- if (hasRequiredAddPathPrefix) return addPathPrefix;
3156
- hasRequiredAddPathPrefix = 1;
3157
- (function(exports$1) {
3158
- Object.defineProperty(exports$1, "__esModule", {
3159
- value: true
3160
- });
3161
- Object.defineProperty(exports$1, "addPathPrefix", {
3162
- enumerable: true,
3163
- get: function() {
3164
- return addPathPrefix2;
3165
- }
3166
- });
3167
- const _parsepath = requireParsePath();
3168
- function addPathPrefix2(path, prefix) {
3169
- if (!path.startsWith("/") || !prefix) {
3170
- return path;
3171
- }
3172
- const { pathname, query, hash } = (0, _parsepath.parsePath)(path);
3173
- return `${prefix}${pathname}${query}${hash}`;
3174
- }
3175
- })(addPathPrefix);
3176
- return addPathPrefix;
3177
- }
3178
- var hasRequiredAddLocale$1;
3179
- function requireAddLocale$1() {
3180
- if (hasRequiredAddLocale$1) return addLocale;
3181
- hasRequiredAddLocale$1 = 1;
3182
- (function(exports$1) {
3183
- Object.defineProperty(exports$1, "__esModule", {
3184
- value: true
3185
- });
3186
- Object.defineProperty(exports$1, "addLocale", {
3187
- enumerable: true,
3188
- get: function() {
3189
- return addLocale2;
3190
- }
3191
- });
3192
- const _addpathprefix = requireAddPathPrefix();
3193
- const _pathhasprefix = requirePathHasPrefix();
3194
- function addLocale2(path, locale, defaultLocale, ignorePrefix) {
3195
- if (!locale || locale === defaultLocale) return path;
3196
- const lower = path.toLowerCase();
3197
- if (!ignorePrefix) {
3198
- if ((0, _pathhasprefix.pathHasPrefix)(lower, "/api")) return path;
3199
- if ((0, _pathhasprefix.pathHasPrefix)(lower, `/${locale.toLowerCase()}`)) return path;
3200
- }
3201
- return (0, _addpathprefix.addPathPrefix)(path, `/${locale}`);
3202
- }
3203
- })(addLocale);
3204
- return addLocale;
3205
- }
3206
- var hasRequiredAddLocale;
3207
- function requireAddLocale() {
3208
- if (hasRequiredAddLocale) return addLocale$1.exports;
3209
- hasRequiredAddLocale = 1;
3210
- (function(module, exports$1) {
3211
- Object.defineProperty(exports$1, "__esModule", {
3212
- value: true
3213
- });
3214
- Object.defineProperty(exports$1, "addLocale", {
3215
- enumerable: true,
3216
- get: function() {
3217
- return addLocale2;
3218
- }
3219
- });
3220
- const _normalizetrailingslash = requireNormalizeTrailingSlash();
3221
- const addLocale2 = (path, ...args) => {
3222
- if (process.env.__NEXT_I18N_SUPPORT) {
3223
- return (0, _normalizetrailingslash.normalizePathTrailingSlash)(requireAddLocale$1().addLocale(path, ...args));
3224
- }
3225
- return path;
3226
- };
3227
- if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
3228
- Object.defineProperty(exports$1.default, "__esModule", { value: true });
3229
- Object.assign(exports$1.default, exports$1);
3230
- module.exports = exports$1.default;
3231
- }
3232
- })(addLocale$1, addLocale$1.exports);
3233
- return addLocale$1.exports;
3234
- }
3235
- var useIntersection = { exports: {} };
3236
- var requestIdleCallback = { exports: {} };
3237
- var hasRequiredRequestIdleCallback;
3238
- function requireRequestIdleCallback() {
3239
- if (hasRequiredRequestIdleCallback) return requestIdleCallback.exports;
3240
- hasRequiredRequestIdleCallback = 1;
3241
- (function(module, exports$1) {
3242
- Object.defineProperty(exports$1, "__esModule", {
3243
- value: true
3244
- });
3245
- function _export(target, all) {
3246
- for (var name in all) Object.defineProperty(target, name, {
3247
- enumerable: true,
3248
- get: all[name]
3249
- });
3250
- }
3251
- _export(exports$1, {
3252
- cancelIdleCallback: function() {
3253
- return cancelIdleCallback;
3254
- },
3255
- requestIdleCallback: function() {
3256
- return requestIdleCallback2;
3257
- }
3258
- });
3259
- const requestIdleCallback2 = typeof self !== "undefined" && self.requestIdleCallback && self.requestIdleCallback.bind(window) || function(cb) {
3260
- let start = Date.now();
3261
- return self.setTimeout(function() {
3262
- cb({
3263
- didTimeout: false,
3264
- timeRemaining: function() {
3265
- return Math.max(0, 50 - (Date.now() - start));
3266
- }
3267
- });
3268
- }, 1);
3269
- };
3270
- const cancelIdleCallback = typeof self !== "undefined" && self.cancelIdleCallback && self.cancelIdleCallback.bind(window) || function(id) {
3271
- return clearTimeout(id);
3272
- };
3273
- if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
3274
- Object.defineProperty(exports$1.default, "__esModule", { value: true });
3275
- Object.assign(exports$1.default, exports$1);
3276
- module.exports = exports$1.default;
3277
- }
3278
- })(requestIdleCallback, requestIdleCallback.exports);
3279
- return requestIdleCallback.exports;
3280
- }
3281
- var hasRequiredUseIntersection;
3282
- function requireUseIntersection() {
3283
- if (hasRequiredUseIntersection) return useIntersection.exports;
3284
- hasRequiredUseIntersection = 1;
3285
- (function(module, exports$1) {
3286
- Object.defineProperty(exports$1, "__esModule", {
3287
- value: true
3288
- });
3289
- Object.defineProperty(exports$1, "useIntersection", {
3290
- enumerable: true,
3291
- get: function() {
3292
- return useIntersection2;
3293
- }
3294
- });
3295
- const _react = React;
3296
- const _requestidlecallback = requireRequestIdleCallback();
3297
- const hasIntersectionObserver = typeof IntersectionObserver === "function";
3298
- const observers = /* @__PURE__ */ new Map();
3299
- const idList = [];
3300
- function createObserver(options) {
3301
- const id = {
3302
- root: options.root || null,
3303
- margin: options.rootMargin || ""
3304
- };
3305
- const existing = idList.find((obj) => obj.root === id.root && obj.margin === id.margin);
3306
- let instance;
3307
- if (existing) {
3308
- instance = observers.get(existing);
3309
- if (instance) {
3310
- return instance;
3311
- }
3312
- }
3313
- const elements = /* @__PURE__ */ new Map();
3314
- const observer = new IntersectionObserver((entries) => {
3315
- entries.forEach((entry) => {
3316
- const callback = elements.get(entry.target);
3317
- const isVisible = entry.isIntersecting || entry.intersectionRatio > 0;
3318
- if (callback && isVisible) {
3319
- callback(isVisible);
3320
- }
3321
- });
3322
- }, options);
3323
- instance = {
3324
- id,
3325
- observer,
3326
- elements
3327
- };
3328
- idList.push(id);
3329
- observers.set(id, instance);
3330
- return instance;
3331
- }
3332
- function observe(element, callback, options) {
3333
- const { id, observer, elements } = createObserver(options);
3334
- elements.set(element, callback);
3335
- observer.observe(element);
3336
- return function unobserve() {
3337
- elements.delete(element);
3338
- observer.unobserve(element);
3339
- if (elements.size === 0) {
3340
- observer.disconnect();
3341
- observers.delete(id);
3342
- const index = idList.findIndex((obj) => obj.root === id.root && obj.margin === id.margin);
3343
- if (index > -1) {
3344
- idList.splice(index, 1);
3345
- }
3346
- }
3347
- };
3348
- }
3349
- function useIntersection2({ rootRef, rootMargin, disabled }) {
3350
- const isDisabled = disabled || !hasIntersectionObserver;
3351
- const [visible, setVisible] = (0, _react.useState)(false);
3352
- const elementRef = (0, _react.useRef)(null);
3353
- const setElement = (0, _react.useCallback)((element) => {
3354
- elementRef.current = element;
3355
- }, []);
3356
- (0, _react.useEffect)(() => {
3357
- if (hasIntersectionObserver) {
3358
- if (isDisabled || visible) return;
3359
- const element = elementRef.current;
3360
- if (element && element.tagName) {
3361
- const unobserve = observe(element, (isVisible) => isVisible && setVisible(isVisible), {
3362
- root: rootRef == null ? void 0 : rootRef.current,
3363
- rootMargin
3364
- });
3365
- return unobserve;
3366
- }
3367
- } else {
3368
- if (!visible) {
3369
- const idleCallback = (0, _requestidlecallback.requestIdleCallback)(() => setVisible(true));
3370
- return () => (0, _requestidlecallback.cancelIdleCallback)(idleCallback);
3371
- }
3372
- }
3373
- }, [
3374
- isDisabled,
3375
- rootMargin,
3376
- rootRef,
3377
- visible,
3378
- elementRef.current
3379
- ]);
3380
- const resetVisible = (0, _react.useCallback)(() => {
3381
- setVisible(false);
3382
- }, []);
3383
- return [
3384
- setElement,
3385
- visible,
3386
- resetVisible
3387
- ];
3388
- }
3389
- if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
3390
- Object.defineProperty(exports$1.default, "__esModule", { value: true });
3391
- Object.assign(exports$1.default, exports$1);
3392
- module.exports = exports$1.default;
3393
- }
3394
- })(useIntersection, useIntersection.exports);
3395
- return useIntersection.exports;
3396
- }
3397
- var getDomainLocale = { exports: {} };
3398
- var normalizeLocalePath$1 = { exports: {} };
3399
- var normalizeLocalePath = {};
3400
- var hasRequiredNormalizeLocalePath$1;
3401
- function requireNormalizeLocalePath$1() {
3402
- if (hasRequiredNormalizeLocalePath$1) return normalizeLocalePath;
3403
- hasRequiredNormalizeLocalePath$1 = 1;
3404
- (function(exports$1) {
3405
- Object.defineProperty(exports$1, "__esModule", {
3406
- value: true
3407
- });
3408
- Object.defineProperty(exports$1, "normalizeLocalePath", {
3409
- enumerable: true,
3410
- get: function() {
3411
- return normalizeLocalePath2;
3412
- }
3413
- });
3414
- const cache = /* @__PURE__ */ new WeakMap();
3415
- function normalizeLocalePath2(pathname, locales) {
3416
- if (!locales) return {
3417
- pathname
3418
- };
3419
- let lowercasedLocales = cache.get(locales);
3420
- if (!lowercasedLocales) {
3421
- lowercasedLocales = locales.map((locale) => locale.toLowerCase());
3422
- cache.set(locales, lowercasedLocales);
3423
- }
3424
- let detectedLocale;
3425
- const segments = pathname.split("/", 2);
3426
- if (!segments[1]) return {
3427
- pathname
3428
- };
3429
- const segment2 = segments[1].toLowerCase();
3430
- const index = lowercasedLocales.indexOf(segment2);
3431
- if (index < 0) return {
3432
- pathname
3433
- };
3434
- detectedLocale = locales[index];
3435
- pathname = pathname.slice(detectedLocale.length + 1) || "/";
3436
- return {
3437
- pathname,
3438
- detectedLocale
3439
- };
3440
- }
3441
- })(normalizeLocalePath);
3442
- return normalizeLocalePath;
3443
- }
3444
- var hasRequiredNormalizeLocalePath;
3445
- function requireNormalizeLocalePath() {
3446
- if (hasRequiredNormalizeLocalePath) return normalizeLocalePath$1.exports;
3447
- hasRequiredNormalizeLocalePath = 1;
3448
- (function(module, exports$1) {
3449
- Object.defineProperty(exports$1, "__esModule", {
3450
- value: true
3451
- });
3452
- Object.defineProperty(exports$1, "normalizeLocalePath", {
3453
- enumerable: true,
3454
- get: function() {
3455
- return normalizeLocalePath2;
3456
- }
3457
- });
3458
- const normalizeLocalePath2 = (pathname, locales) => {
3459
- if (process.env.__NEXT_I18N_SUPPORT) {
3460
- return requireNormalizeLocalePath$1().normalizeLocalePath(pathname, locales);
3461
- }
3462
- return {
3463
- pathname,
3464
- detectedLocale: void 0
3465
- };
3466
- };
3467
- if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
3468
- Object.defineProperty(exports$1.default, "__esModule", { value: true });
3469
- Object.assign(exports$1.default, exports$1);
3470
- module.exports = exports$1.default;
3471
- }
3472
- })(normalizeLocalePath$1, normalizeLocalePath$1.exports);
3473
- return normalizeLocalePath$1.exports;
3474
- }
3475
- var detectDomainLocale$1 = { exports: {} };
3476
- var detectDomainLocale = {};
3477
- var hasRequiredDetectDomainLocale$1;
3478
- function requireDetectDomainLocale$1() {
3479
- if (hasRequiredDetectDomainLocale$1) return detectDomainLocale;
3480
- hasRequiredDetectDomainLocale$1 = 1;
3481
- (function(exports$1) {
3482
- Object.defineProperty(exports$1, "__esModule", {
3483
- value: true
3484
- });
3485
- Object.defineProperty(exports$1, "detectDomainLocale", {
3486
- enumerable: true,
3487
- get: function() {
3488
- return detectDomainLocale2;
3489
- }
3490
- });
3491
- function detectDomainLocale2(domainItems, hostname, detectedLocale) {
3492
- var _a, _b;
3493
- if (!domainItems) return;
3494
- if (detectedLocale) {
3495
- detectedLocale = detectedLocale.toLowerCase();
3496
- }
3497
- for (const item of domainItems) {
3498
- const domainHostname = (_a = item.domain) == null ? void 0 : _a.split(":", 1)[0].toLowerCase();
3499
- if (hostname === domainHostname || detectedLocale === item.defaultLocale.toLowerCase() || ((_b = item.locales) == null ? void 0 : _b.some((locale) => locale.toLowerCase() === detectedLocale))) {
3500
- return item;
3501
- }
3502
- }
3503
- }
3504
- })(detectDomainLocale);
3505
- return detectDomainLocale;
3506
- }
3507
- var hasRequiredDetectDomainLocale;
3508
- function requireDetectDomainLocale() {
3509
- if (hasRequiredDetectDomainLocale) return detectDomainLocale$1.exports;
3510
- hasRequiredDetectDomainLocale = 1;
3511
- (function(module, exports$1) {
3512
- Object.defineProperty(exports$1, "__esModule", {
3513
- value: true
3514
- });
3515
- Object.defineProperty(exports$1, "detectDomainLocale", {
3516
- enumerable: true,
3517
- get: function() {
3518
- return detectDomainLocale2;
3519
- }
3520
- });
3521
- const detectDomainLocale2 = (...args) => {
3522
- if (process.env.__NEXT_I18N_SUPPORT) {
3523
- return requireDetectDomainLocale$1().detectDomainLocale(...args);
3524
- }
3525
- };
3526
- if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
3527
- Object.defineProperty(exports$1.default, "__esModule", { value: true });
3528
- Object.assign(exports$1.default, exports$1);
3529
- module.exports = exports$1.default;
3530
- }
3531
- })(detectDomainLocale$1, detectDomainLocale$1.exports);
3532
- return detectDomainLocale$1.exports;
3533
- }
3534
- var hasRequiredGetDomainLocale;
3535
- function requireGetDomainLocale() {
3536
- if (hasRequiredGetDomainLocale) return getDomainLocale.exports;
3537
- hasRequiredGetDomainLocale = 1;
3538
- (function(module, exports$1) {
3539
- Object.defineProperty(exports$1, "__esModule", {
3540
- value: true
3541
- });
3542
- Object.defineProperty(exports$1, "getDomainLocale", {
3543
- enumerable: true,
3544
- get: function() {
3545
- return getDomainLocale2;
3546
- }
3547
- });
3548
- const _normalizetrailingslash = requireNormalizeTrailingSlash();
3549
- const basePath = process.env.__NEXT_ROUTER_BASEPATH || "";
3550
- function getDomainLocale2(path, locale, locales, domainLocales) {
3551
- if (process.env.__NEXT_I18N_SUPPORT) {
3552
- const normalizeLocalePath2 = requireNormalizeLocalePath().normalizeLocalePath;
3553
- const detectDomainLocale2 = requireDetectDomainLocale().detectDomainLocale;
3554
- const target = locale || normalizeLocalePath2(path, locales).detectedLocale;
3555
- const domain = detectDomainLocale2(domainLocales, void 0, target);
3556
- if (domain) {
3557
- const proto = `http${domain.http ? "" : "s"}://`;
3558
- const finalLocale = target === domain.defaultLocale ? "" : `/${target}`;
3559
- return `${proto}${domain.domain}${(0, _normalizetrailingslash.normalizePathTrailingSlash)(`${basePath}${finalLocale}${path}`)}`;
3560
- }
3561
- return false;
3562
- } else {
3563
- return false;
3564
- }
3565
- }
3566
- if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
3567
- Object.defineProperty(exports$1.default, "__esModule", { value: true });
3568
- Object.assign(exports$1.default, exports$1);
3569
- module.exports = exports$1.default;
3570
- }
3571
- })(getDomainLocale, getDomainLocale.exports);
3572
- return getDomainLocale.exports;
3573
- }
3574
- var addBasePath = { exports: {} };
3575
- var hasRequiredAddBasePath;
3576
- function requireAddBasePath() {
3577
- if (hasRequiredAddBasePath) return addBasePath.exports;
3578
- hasRequiredAddBasePath = 1;
3579
- (function(module, exports$1) {
3580
- Object.defineProperty(exports$1, "__esModule", {
3581
- value: true
3582
- });
3583
- Object.defineProperty(exports$1, "addBasePath", {
3584
- enumerable: true,
3585
- get: function() {
3586
- return addBasePath2;
3587
- }
3588
- });
3589
- const _addpathprefix = requireAddPathPrefix();
3590
- const _normalizetrailingslash = requireNormalizeTrailingSlash();
3591
- const basePath = process.env.__NEXT_ROUTER_BASEPATH || "";
3592
- function addBasePath2(path, required) {
3593
- return (0, _normalizetrailingslash.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !required ? path : (0, _addpathprefix.addPathPrefix)(path, basePath));
3594
- }
3595
- if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
3596
- Object.defineProperty(exports$1.default, "__esModule", { value: true });
3597
- Object.assign(exports$1.default, exports$1);
3598
- module.exports = exports$1.default;
3599
- }
3600
- })(addBasePath, addBasePath.exports);
3601
- return addBasePath.exports;
3602
- }
3603
- var errorOnce = {};
3604
- var hasRequiredErrorOnce;
3605
- function requireErrorOnce() {
3606
- if (hasRequiredErrorOnce) return errorOnce;
3607
- hasRequiredErrorOnce = 1;
3608
- (function(exports$1) {
3609
- Object.defineProperty(exports$1, "__esModule", {
3610
- value: true
3611
- });
3612
- Object.defineProperty(exports$1, "errorOnce", {
3613
- enumerable: true,
3614
- get: function() {
3615
- return errorOnce2;
3616
- }
3617
- });
3618
- let errorOnce2 = (_) => {
3619
- };
3620
- if (process.env.NODE_ENV !== "production") {
3621
- const errors = /* @__PURE__ */ new Set();
3622
- errorOnce2 = (msg) => {
3623
- if (!errors.has(msg)) {
3624
- console.error(msg);
3625
- }
3626
- errors.add(msg);
3627
- };
3628
- }
3629
- })(errorOnce);
3630
- return errorOnce;
3631
- }
3632
- var hasRequiredLink$1;
3633
- function requireLink$1() {
3634
- if (hasRequiredLink$1) return link$1.exports;
3635
- hasRequiredLink$1 = 1;
3636
- (function(module, exports$1) {
3637
- "use client";
3638
- Object.defineProperty(exports$1, "__esModule", {
3639
- value: true
3640
- });
3641
- function _export(target, all) {
3642
- for (var name in all) Object.defineProperty(target, name, {
3643
- enumerable: true,
3644
- get: all[name]
3645
- });
3646
- }
3647
- _export(exports$1, {
3648
- default: function() {
3649
- return _default;
3650
- },
3651
- useLinkStatus: function() {
3652
- return useLinkStatus;
3653
- }
3654
- });
3655
- const _interop_require_wildcard2 = /* @__PURE__ */ require_interop_require_wildcard();
3656
- const _jsxruntime = require$$2;
3657
- const _react = /* @__PURE__ */ _interop_require_wildcard2._(React);
3658
- const _resolvehref = requireResolveHref();
3659
- const _islocalurl = requireIsLocalUrl();
3660
- const _formaturl = requireFormatUrl();
3661
- const _utils = requireUtils$1();
3662
- const _addlocale = requireAddLocale();
3663
- const _routercontextsharedruntime = requireRouterContext_sharedRuntime();
3664
- const _useintersection = requireUseIntersection();
3665
- const _getdomainlocale = requireGetDomainLocale();
3666
- const _addbasepath = requireAddBasePath();
3667
- const _usemergedref = requireUseMergedRef();
3668
- const _erroronce = requireErrorOnce();
3669
- const prefetched = /* @__PURE__ */ new Set();
3670
- function prefetch(router, href, as, options) {
3671
- if (typeof window === "undefined") {
3672
- return;
3673
- }
3674
- if (!(0, _islocalurl.isLocalURL)(href)) {
3675
- return;
3676
- }
3677
- if (!options.bypassPrefetchedCheck) {
3678
- const locale = (
3679
- // Let the link's locale prop override the default router locale.
3680
- typeof options.locale !== "undefined" ? options.locale : "locale" in router ? router.locale : void 0
3681
- );
3682
- const prefetchedKey = href + "%" + as + "%" + locale;
3683
- if (prefetched.has(prefetchedKey)) {
3684
- return;
3685
- }
3686
- prefetched.add(prefetchedKey);
3687
- }
3688
- router.prefetch(href, as, options).catch((err) => {
3689
- if (process.env.NODE_ENV !== "production") {
3690
- throw err;
3691
- }
3692
- });
3693
- }
3694
- function isModifiedEvent(event) {
3695
- const eventTarget = event.currentTarget;
3696
- const target = eventTarget.getAttribute("target");
3697
- return target && target !== "_self" || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || // triggers resource download
3698
- event.nativeEvent && event.nativeEvent.which === 2;
3699
- }
3700
- function linkClicked(e, router, href, as, replace, shallow, scroll, locale, onNavigate) {
3701
- const { nodeName } = e.currentTarget;
3702
- const isAnchorNodeName = nodeName.toUpperCase() === "A";
3703
- if (isAnchorNodeName && isModifiedEvent(e) || e.currentTarget.hasAttribute("download")) {
3704
- return;
3705
- }
3706
- if (!(0, _islocalurl.isLocalURL)(href)) {
3707
- if (replace) {
3708
- e.preventDefault();
3709
- location.replace(href);
3710
- }
3711
- return;
3712
- }
3713
- e.preventDefault();
3714
- const navigate = () => {
3715
- if (onNavigate) {
3716
- let isDefaultPrevented = false;
3717
- onNavigate({
3718
- preventDefault: () => {
3719
- isDefaultPrevented = true;
3720
- }
3721
- });
3722
- if (isDefaultPrevented) {
3723
- return;
3724
- }
3725
- }
3726
- const routerScroll = scroll ?? true;
3727
- if ("beforePopState" in router) {
3728
- router[replace ? "replace" : "push"](href, as, {
3729
- shallow,
3730
- locale,
3731
- scroll: routerScroll
3732
- });
3733
- } else {
3734
- router[replace ? "replace" : "push"](as || href, {
3735
- scroll: routerScroll
3736
- });
3737
- }
3738
- };
3739
- navigate();
3740
- }
3741
- function formatStringOrUrl(urlObjOrString) {
3742
- if (typeof urlObjOrString === "string") {
3743
- return urlObjOrString;
3744
- }
3745
- return (0, _formaturl.formatUrl)(urlObjOrString);
3746
- }
3747
- const Link2 = /* @__PURE__ */ _react.default.forwardRef(function LinkComponent(props, forwardedRef) {
3748
- let children;
3749
- const { href: hrefProp, as: asProp, children: childrenProp, prefetch: prefetchProp = null, passHref, replace, shallow, scroll, locale, onClick, onNavigate, onMouseEnter: onMouseEnterProp, onTouchStart: onTouchStartProp, legacyBehavior = false, ...restProps } = props;
3750
- children = childrenProp;
3751
- if (legacyBehavior && (typeof children === "string" || typeof children === "number")) {
3752
- children = /* @__PURE__ */ (0, _jsxruntime.jsx)("a", {
3753
- children
3754
- });
3755
- }
3756
- const router = _react.default.useContext(_routercontextsharedruntime.RouterContext);
3757
- const prefetchEnabled = prefetchProp !== false;
3758
- if (process.env.NODE_ENV !== "production") {
3759
- let createPropError = function(args) {
3760
- return Object.defineProperty(new Error(`Failed prop type: The prop \`${args.key}\` expects a ${args.expected} in \`<Link>\`, but got \`${args.actual}\` instead.` + (typeof window !== "undefined" ? "\nOpen your browser's console to view the Component stack trace." : "")), "__NEXT_ERROR_CODE", {
3761
- value: "E319",
3762
- enumerable: false,
3763
- configurable: true
3764
- });
3765
- };
3766
- const requiredPropsGuard = {
3767
- href: true
3768
- };
3769
- const requiredProps = Object.keys(requiredPropsGuard);
3770
- requiredProps.forEach((key) => {
3771
- if (key === "href") {
3772
- if (props[key] == null || typeof props[key] !== "string" && typeof props[key] !== "object") {
3773
- throw createPropError({
3774
- key,
3775
- expected: "`string` or `object`",
3776
- actual: props[key] === null ? "null" : typeof props[key]
3777
- });
3778
- }
3779
- }
3780
- });
3781
- const optionalPropsGuard = {
3782
- as: true,
3783
- replace: true,
3784
- scroll: true,
3785
- shallow: true,
3786
- passHref: true,
3787
- prefetch: true,
3788
- locale: true,
3789
- onClick: true,
3790
- onMouseEnter: true,
3791
- onTouchStart: true,
3792
- legacyBehavior: true,
3793
- onNavigate: true
3794
- };
3795
- const optionalProps = Object.keys(optionalPropsGuard);
3796
- optionalProps.forEach((key) => {
3797
- const valType = typeof props[key];
3798
- if (key === "as") {
3799
- if (props[key] && valType !== "string" && valType !== "object") {
3800
- throw createPropError({
3801
- key,
3802
- expected: "`string` or `object`",
3803
- actual: valType
3804
- });
3805
- }
3806
- } else if (key === "locale") {
3807
- if (props[key] && valType !== "string") {
3808
- throw createPropError({
3809
- key,
3810
- expected: "`string`",
3811
- actual: valType
3812
- });
3813
- }
3814
- } else if (key === "onClick" || key === "onMouseEnter" || key === "onTouchStart" || key === "onNavigate") {
3815
- if (props[key] && valType !== "function") {
3816
- throw createPropError({
3817
- key,
3818
- expected: "`function`",
3819
- actual: valType
3820
- });
3821
- }
3822
- } else if (key === "replace" || key === "scroll" || key === "shallow" || key === "passHref" || key === "legacyBehavior") {
3823
- if (props[key] != null && valType !== "boolean") {
3824
- throw createPropError({
3825
- key,
3826
- expected: "`boolean`",
3827
- actual: valType
3828
- });
3829
- }
3830
- } else if (key === "prefetch") {
3831
- if (props[key] != null && valType !== "boolean" && props[key] !== "auto") {
3832
- throw createPropError({
3833
- key,
3834
- expected: '`boolean | "auto"`',
3835
- actual: valType
3836
- });
3837
- }
3838
- } else ;
3839
- });
3840
- }
3841
- const { href, as } = _react.default.useMemo(() => {
3842
- if (!router) {
3843
- const resolvedHref2 = formatStringOrUrl(hrefProp);
3844
- return {
3845
- href: resolvedHref2,
3846
- as: asProp ? formatStringOrUrl(asProp) : resolvedHref2
3847
- };
3848
- }
3849
- const [resolvedHref, resolvedAs] = (0, _resolvehref.resolveHref)(router, hrefProp, true);
3850
- return {
3851
- href: resolvedHref,
3852
- as: asProp ? (0, _resolvehref.resolveHref)(router, asProp) : resolvedAs || resolvedHref
3853
- };
3854
- }, [
3855
- router,
3856
- hrefProp,
3857
- asProp
3858
- ]);
3859
- const previousHref = _react.default.useRef(href);
3860
- const previousAs = _react.default.useRef(as);
3861
- let child;
3862
- if (legacyBehavior) {
3863
- if (process.env.NODE_ENV === "development") {
3864
- if (onClick) {
3865
- console.warn(`"onClick" was passed to <Link> with \`href\` of \`${hrefProp}\` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link`);
3866
- }
3867
- if (onMouseEnterProp) {
3868
- console.warn(`"onMouseEnter" was passed to <Link> with \`href\` of \`${hrefProp}\` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link`);
3869
- }
3870
- try {
3871
- child = _react.default.Children.only(children);
3872
- } catch (err) {
3873
- if (!children) {
3874
- throw Object.defineProperty(new Error(`No children were passed to <Link> with \`href\` of \`${hrefProp}\` but one child is required https://nextjs.org/docs/messages/link-no-children`), "__NEXT_ERROR_CODE", {
3875
- value: "E320",
3876
- enumerable: false,
3877
- configurable: true
3878
- });
3879
- }
3880
- throw Object.defineProperty(new Error(`Multiple children were passed to <Link> with \`href\` of \`${hrefProp}\` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children` + (typeof window !== "undefined" ? " \nOpen your browser's console to view the Component stack trace." : "")), "__NEXT_ERROR_CODE", {
3881
- value: "E266",
3882
- enumerable: false,
3883
- configurable: true
3884
- });
3885
- }
3886
- } else {
3887
- child = _react.default.Children.only(children);
3888
- }
3889
- } else {
3890
- if (process.env.NODE_ENV === "development") {
3891
- if ((children == null ? void 0 : children.type) === "a") {
3892
- throw Object.defineProperty(new Error("Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.\nLearn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor"), "__NEXT_ERROR_CODE", {
3893
- value: "E209",
3894
- enumerable: false,
3895
- configurable: true
3896
- });
3897
- }
3898
- }
3899
- }
3900
- const childRef = legacyBehavior ? child && typeof child === "object" && child.ref : forwardedRef;
3901
- const [setIntersectionRef, isVisible, resetVisible] = (0, _useintersection.useIntersection)({
3902
- rootMargin: "200px"
3903
- });
3904
- const setIntersectionWithResetRef = _react.default.useCallback((el) => {
3905
- if (previousAs.current !== as || previousHref.current !== href) {
3906
- resetVisible();
3907
- previousAs.current = as;
3908
- previousHref.current = href;
3909
- }
3910
- setIntersectionRef(el);
3911
- }, [
3912
- as,
3913
- href,
3914
- resetVisible,
3915
- setIntersectionRef
3916
- ]);
3917
- const setRef = (0, _usemergedref.useMergedRef)(setIntersectionWithResetRef, childRef);
3918
- _react.default.useEffect(() => {
3919
- if (process.env.NODE_ENV !== "production") {
3920
- return;
3921
- }
3922
- if (!router) {
3923
- return;
3924
- }
3925
- if (!isVisible || !prefetchEnabled) {
3926
- return;
3927
- }
3928
- prefetch(router, href, as, {
3929
- locale
3930
- });
3931
- }, [
3932
- as,
3933
- href,
3934
- isVisible,
3935
- locale,
3936
- prefetchEnabled,
3937
- router == null ? void 0 : router.locale,
3938
- router
3939
- ]);
3940
- const childProps = {
3941
- ref: setRef,
3942
- onClick(e) {
3943
- if (process.env.NODE_ENV !== "production") {
3944
- if (!e) {
3945
- throw Object.defineProperty(new Error(`Component rendered inside next/link has to pass click event to "onClick" prop.`), "__NEXT_ERROR_CODE", {
3946
- value: "E312",
3947
- enumerable: false,
3948
- configurable: true
3949
- });
3950
- }
3951
- }
3952
- if (!legacyBehavior && typeof onClick === "function") {
3953
- onClick(e);
3954
- }
3955
- if (legacyBehavior && child.props && typeof child.props.onClick === "function") {
3956
- child.props.onClick(e);
3957
- }
3958
- if (!router) {
3959
- return;
3960
- }
3961
- if (e.defaultPrevented) {
3962
- return;
3963
- }
3964
- linkClicked(e, router, href, as, replace, shallow, scroll, locale, onNavigate);
3965
- },
3966
- onMouseEnter(e) {
3967
- if (!legacyBehavior && typeof onMouseEnterProp === "function") {
3968
- onMouseEnterProp(e);
3969
- }
3970
- if (legacyBehavior && child.props && typeof child.props.onMouseEnter === "function") {
3971
- child.props.onMouseEnter(e);
3972
- }
3973
- if (!router) {
3974
- return;
3975
- }
3976
- prefetch(router, href, as, {
3977
- locale,
3978
- priority: true,
3979
- // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
3980
- bypassPrefetchedCheck: true
3981
- });
3982
- },
3983
- onTouchStart: process.env.__NEXT_LINK_NO_TOUCH_START ? void 0 : function onTouchStart(e) {
3984
- if (!legacyBehavior && typeof onTouchStartProp === "function") {
3985
- onTouchStartProp(e);
3986
- }
3987
- if (legacyBehavior && child.props && typeof child.props.onTouchStart === "function") {
3988
- child.props.onTouchStart(e);
3989
- }
3990
- if (!router) {
3991
- return;
3992
- }
3993
- prefetch(router, href, as, {
3994
- locale,
3995
- priority: true,
3996
- // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
3997
- bypassPrefetchedCheck: true
3998
- });
3999
- }
4000
- };
4001
- if ((0, _utils.isAbsoluteUrl)(as)) {
4002
- childProps.href = as;
4003
- } else if (!legacyBehavior || passHref || child.type === "a" && !("href" in child.props)) {
4004
- const curLocale = typeof locale !== "undefined" ? locale : router == null ? void 0 : router.locale;
4005
- const localeDomain = (router == null ? void 0 : router.isLocaleDomain) && (0, _getdomainlocale.getDomainLocale)(as, curLocale, router == null ? void 0 : router.locales, router == null ? void 0 : router.domainLocales);
4006
- childProps.href = localeDomain || (0, _addbasepath.addBasePath)((0, _addlocale.addLocale)(as, curLocale, router == null ? void 0 : router.defaultLocale));
4007
- }
4008
- if (legacyBehavior) {
4009
- if (process.env.NODE_ENV === "development") {
4010
- (0, _erroronce.errorOnce)("`legacyBehavior` is deprecated and will be removed in a future release. A codemod is available to upgrade your components:\n\nnpx @next/codemod@latest new-link .\n\nLearn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components");
4011
- }
4012
- return /* @__PURE__ */ _react.default.cloneElement(child, childProps);
4013
- }
4014
- return /* @__PURE__ */ (0, _jsxruntime.jsx)("a", {
4015
- ...restProps,
4016
- ...childProps,
4017
- children
4018
- });
4019
- });
4020
- const LinkStatusContext = /* @__PURE__ */ (0, _react.createContext)({
4021
- // We do not support link status in the Pages Router, so we always return false
4022
- pending: false
4023
- });
4024
- const useLinkStatus = () => {
4025
- return (0, _react.useContext)(LinkStatusContext);
4026
- };
4027
- const _default = Link2;
4028
- if ((typeof exports$1.default === "function" || typeof exports$1.default === "object" && exports$1.default !== null) && typeof exports$1.default.__esModule === "undefined") {
4029
- Object.defineProperty(exports$1.default, "__esModule", { value: true });
4030
- Object.assign(exports$1.default, exports$1);
4031
- module.exports = exports$1.default;
4032
- }
4033
- })(link$1, link$1.exports);
4034
- return link$1.exports;
4035
- }
4036
- var link;
4037
- var hasRequiredLink;
4038
- function requireLink() {
4039
- if (hasRequiredLink) return link;
4040
- hasRequiredLink = 1;
4041
- link = requireLink$1();
4042
- return link;
4043
- }
4044
- var linkExports = requireLink();
4045
- const Link = /* @__PURE__ */ getDefaultExportFromCjs(linkExports);
4046
- export {
4047
- Link as L,
4048
- require_interop_require_wildcard as a,
4049
- requireRouterContext_sharedRuntime as b,
4050
- requireUseMergedRef as c,
4051
- requireInvariantError as d,
4052
- requireSegment as e,
4053
- getDefaultExportFromCjs as g,
4054
- require_interop_require_default as r
4055
- };
4056
- //# sourceMappingURL=link-CyxHztrS.js.map