@betterinternship/components 2.4.0 → 2.4.1

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 (492) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +6 -0
  2. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  3. package/dist/_virtual/_interop_require_default.js +4 -0
  4. package/dist/_virtual/_interop_require_default.js.map +1 -0
  5. package/dist/_virtual/_interop_require_wildcard.js +4 -0
  6. package/dist/_virtual/_interop_require_wildcard.js.map +1 -0
  7. package/dist/_virtual/action-async-storage-instance.js +4 -0
  8. package/dist/_virtual/action-async-storage-instance.js.map +1 -0
  9. package/dist/_virtual/action-async-storage.external.js +4 -0
  10. package/dist/_virtual/action-async-storage.external.js.map +1 -0
  11. package/dist/_virtual/action-revalidation-kind.js +4 -0
  12. package/dist/_virtual/action-revalidation-kind.js.map +1 -0
  13. package/dist/_virtual/add-base-path.js +4 -0
  14. package/dist/_virtual/add-base-path.js.map +1 -0
  15. package/dist/_virtual/add-locale.js +4 -0
  16. package/dist/_virtual/add-locale.js.map +1 -0
  17. package/dist/_virtual/add-locale2.js +4 -0
  18. package/dist/_virtual/add-locale2.js.map +1 -0
  19. package/dist/_virtual/add-path-prefix.js +4 -0
  20. package/dist/_virtual/add-path-prefix.js.map +1 -0
  21. package/dist/_virtual/app-paths.js +4 -0
  22. package/dist/_virtual/app-paths.js.map +1 -0
  23. package/dist/_virtual/app-router-context.shared-runtime.js +4 -0
  24. package/dist/_virtual/app-router-context.shared-runtime.js.map +1 -0
  25. package/dist/_virtual/app.js +4 -0
  26. package/dist/_virtual/app.js.map +1 -0
  27. package/dist/_virtual/async-local-storage.js +4 -0
  28. package/dist/_virtual/async-local-storage.js.map +1 -0
  29. package/dist/_virtual/bailout-to-csr.js +4 -0
  30. package/dist/_virtual/bailout-to-csr.js.map +1 -0
  31. package/dist/_virtual/blocking-route-messages.js +4 -0
  32. package/dist/_virtual/blocking-route-messages.js.map +1 -0
  33. package/dist/_virtual/boundary-constants.js +4 -0
  34. package/dist/_virtual/boundary-constants.js.map +1 -0
  35. package/dist/_virtual/boundary-constants2.js +4 -0
  36. package/dist/_virtual/boundary-constants2.js.map +1 -0
  37. package/dist/_virtual/boundary-tracking.js +4 -0
  38. package/dist/_virtual/boundary-tracking.js.map +1 -0
  39. package/dist/_virtual/constants.js +4 -0
  40. package/dist/_virtual/constants.js.map +1 -0
  41. package/dist/_virtual/cookies.js +4 -0
  42. package/dist/_virtual/cookies.js.map +1 -0
  43. package/dist/_virtual/deployment-id.js +4 -0
  44. package/dist/_virtual/deployment-id.js.map +1 -0
  45. package/dist/_virtual/detect-domain-locale.js +4 -0
  46. package/dist/_virtual/detect-domain-locale.js.map +1 -0
  47. package/dist/_virtual/detect-domain-locale2.js +4 -0
  48. package/dist/_virtual/detect-domain-locale2.js.map +1 -0
  49. package/dist/_virtual/dynamic-rendering-utils.js +4 -0
  50. package/dist/_virtual/dynamic-rendering-utils.js.map +1 -0
  51. package/dist/_virtual/dynamic-rendering.js +4 -0
  52. package/dist/_virtual/dynamic-rendering.js.map +1 -0
  53. package/dist/_virtual/ensure-leading-slash.js +4 -0
  54. package/dist/_virtual/ensure-leading-slash.js.map +1 -0
  55. package/dist/_virtual/error-once.js +4 -0
  56. package/dist/_virtual/error-once.js.map +1 -0
  57. package/dist/_virtual/escape-regexp.js +4 -0
  58. package/dist/_virtual/escape-regexp.js.map +1 -0
  59. package/dist/_virtual/find-closest-quality.js +4 -0
  60. package/dist/_virtual/find-closest-quality.js.map +1 -0
  61. package/dist/_virtual/forbidden.js +4 -0
  62. package/dist/_virtual/forbidden.js.map +1 -0
  63. package/dist/_virtual/format-url.js +4 -0
  64. package/dist/_virtual/format-url.js.map +1 -0
  65. package/dist/_virtual/get-domain-locale.js +4 -0
  66. package/dist/_virtual/get-domain-locale.js.map +1 -0
  67. package/dist/_virtual/get-dynamic-param.js +4 -0
  68. package/dist/_virtual/get-dynamic-param.js.map +1 -0
  69. package/dist/_virtual/get-img-props.js +4 -0
  70. package/dist/_virtual/get-img-props.js.map +1 -0
  71. package/dist/_virtual/get-segment-param.js +4 -0
  72. package/dist/_virtual/get-segment-param.js.map +1 -0
  73. package/dist/_virtual/has-base-path.js +4 -0
  74. package/dist/_virtual/has-base-path.js.map +1 -0
  75. package/dist/_virtual/head-manager-context.shared-runtime.js +4 -0
  76. package/dist/_virtual/head-manager-context.shared-runtime.js.map +1 -0
  77. package/dist/_virtual/head.js +4 -0
  78. package/dist/_virtual/head.js.map +1 -0
  79. package/dist/_virtual/headers.js +4 -0
  80. package/dist/_virtual/headers.js.map +1 -0
  81. package/dist/_virtual/hooks-client-context.shared-runtime.js +4 -0
  82. package/dist/_virtual/hooks-client-context.shared-runtime.js.map +1 -0
  83. package/dist/_virtual/hooks-server-context.js +4 -0
  84. package/dist/_virtual/hooks-server-context.js.map +1 -0
  85. package/dist/_virtual/http-access-fallback.js +4 -0
  86. package/dist/_virtual/http-access-fallback.js.map +1 -0
  87. package/dist/_virtual/image-blur-svg.js +4 -0
  88. package/dist/_virtual/image-blur-svg.js.map +1 -0
  89. package/dist/_virtual/image-component.js +4 -0
  90. package/dist/_virtual/image-component.js.map +1 -0
  91. package/dist/_virtual/image-config-context.shared-runtime.js +4 -0
  92. package/dist/_virtual/image-config-context.shared-runtime.js.map +1 -0
  93. package/dist/_virtual/image-config.js +4 -0
  94. package/dist/_virtual/image-config.js.map +1 -0
  95. package/dist/_virtual/image-external.js +4 -0
  96. package/dist/_virtual/image-external.js.map +1 -0
  97. package/dist/_virtual/image-loader.js +4 -0
  98. package/dist/_virtual/image-loader.js.map +1 -0
  99. package/dist/_virtual/image.js +8 -0
  100. package/dist/_virtual/image.js.map +1 -0
  101. package/dist/_virtual/index.js +4 -0
  102. package/dist/_virtual/index.js.map +1 -0
  103. package/dist/_virtual/index2.js +4 -0
  104. package/dist/_virtual/index2.js.map +1 -0
  105. package/dist/_virtual/index3.js +4 -0
  106. package/dist/_virtual/index3.js.map +1 -0
  107. package/dist/_virtual/instant-messages.js +4 -0
  108. package/dist/_virtual/instant-messages.js.map +1 -0
  109. package/dist/_virtual/instant-samples.js +4 -0
  110. package/dist/_virtual/instant-samples.js.map +1 -0
  111. package/dist/_virtual/instant-samples2.js +4 -0
  112. package/dist/_virtual/instant-samples2.js.map +1 -0
  113. package/dist/_virtual/instant-validation-error.js +4 -0
  114. package/dist/_virtual/instant-validation-error.js.map +1 -0
  115. package/dist/_virtual/interception-prefix-from-param-type.js +4 -0
  116. package/dist/_virtual/interception-prefix-from-param-type.js.map +1 -0
  117. package/dist/_virtual/interception-routes.js +4 -0
  118. package/dist/_virtual/interception-routes.js.map +1 -0
  119. package/dist/_virtual/interpolate-as.js +4 -0
  120. package/dist/_virtual/interpolate-as.js.map +1 -0
  121. package/dist/_virtual/invariant-error.js +4 -0
  122. package/dist/_virtual/invariant-error.js.map +1 -0
  123. package/dist/_virtual/is-dynamic.js +4 -0
  124. package/dist/_virtual/is-dynamic.js.map +1 -0
  125. package/dist/_virtual/is-local-url.js +4 -0
  126. package/dist/_virtual/is-local-url.js.map +1 -0
  127. package/dist/_virtual/is-next-router-error.js +4 -0
  128. package/dist/_virtual/is-next-router-error.js.map +1 -0
  129. package/dist/_virtual/is-postpone.js +4 -0
  130. package/dist/_virtual/is-postpone.js.map +1 -0
  131. package/dist/_virtual/link.js +8 -0
  132. package/dist/_virtual/link.js.map +1 -0
  133. package/dist/_virtual/link2.js +4 -0
  134. package/dist/_virtual/link2.js.map +1 -0
  135. package/dist/_virtual/match-local-pattern.js +4 -0
  136. package/dist/_virtual/match-local-pattern.js.map +1 -0
  137. package/dist/_virtual/match-remote-pattern.js +4 -0
  138. package/dist/_virtual/match-remote-pattern.js.map +1 -0
  139. package/dist/_virtual/navigation-dynamic-rendering.js +4 -0
  140. package/dist/_virtual/navigation-dynamic-rendering.js.map +1 -0
  141. package/dist/_virtual/navigation.js +6 -0
  142. package/dist/_virtual/navigation.js.map +1 -0
  143. package/dist/_virtual/navigation.react-server.js +4 -0
  144. package/dist/_virtual/navigation.react-server.js.map +1 -0
  145. package/dist/_virtual/navigation2.js +4 -0
  146. package/dist/_virtual/navigation2.js.map +1 -0
  147. package/dist/_virtual/normalize-locale-path.js +4 -0
  148. package/dist/_virtual/normalize-locale-path.js.map +1 -0
  149. package/dist/_virtual/normalize-locale-path2.js +4 -0
  150. package/dist/_virtual/normalize-locale-path2.js.map +1 -0
  151. package/dist/_virtual/normalize-trailing-slash.js +4 -0
  152. package/dist/_virtual/normalize-trailing-slash.js.map +1 -0
  153. package/dist/_virtual/not-found.js +4 -0
  154. package/dist/_virtual/not-found.js.map +1 -0
  155. package/dist/_virtual/omit.js +4 -0
  156. package/dist/_virtual/omit.js.map +1 -0
  157. package/dist/_virtual/parse-loader-tree.js +4 -0
  158. package/dist/_virtual/parse-loader-tree.js.map +1 -0
  159. package/dist/_virtual/parse-path.js +4 -0
  160. package/dist/_virtual/parse-path.js.map +1 -0
  161. package/dist/_virtual/parse-relative-url.js +4 -0
  162. package/dist/_virtual/parse-relative-url.js.map +1 -0
  163. package/dist/_virtual/path-has-prefix.js +4 -0
  164. package/dist/_virtual/path-has-prefix.js.map +1 -0
  165. package/dist/_virtual/promise-with-resolvers.js +4 -0
  166. package/dist/_virtual/promise-with-resolvers.js.map +1 -0
  167. package/dist/_virtual/querystring.js +4 -0
  168. package/dist/_virtual/querystring.js.map +1 -0
  169. package/dist/_virtual/readonly-url-search-params.js +4 -0
  170. package/dist/_virtual/readonly-url-search-params.js.map +1 -0
  171. package/dist/_virtual/redirect-error.js +4 -0
  172. package/dist/_virtual/redirect-error.js.map +1 -0
  173. package/dist/_virtual/redirect-status-code.js +4 -0
  174. package/dist/_virtual/redirect-status-code.js.map +1 -0
  175. package/dist/_virtual/redirect.js +4 -0
  176. package/dist/_virtual/redirect.js.map +1 -0
  177. package/dist/_virtual/reflect-utils.js +4 -0
  178. package/dist/_virtual/reflect-utils.js.map +1 -0
  179. package/dist/_virtual/reflect.js +4 -0
  180. package/dist/_virtual/reflect.js.map +1 -0
  181. package/dist/_virtual/remove-trailing-slash.js +4 -0
  182. package/dist/_virtual/remove-trailing-slash.js.map +1 -0
  183. package/dist/_virtual/request-cookies.js +4 -0
  184. package/dist/_virtual/request-cookies.js.map +1 -0
  185. package/dist/_virtual/request-idle-callback.js +4 -0
  186. package/dist/_virtual/request-idle-callback.js.map +1 -0
  187. package/dist/_virtual/resolve-href.js +4 -0
  188. package/dist/_virtual/resolve-href.js.map +1 -0
  189. package/dist/_virtual/resolve-param-value.js +4 -0
  190. package/dist/_virtual/resolve-param-value.js.map +1 -0
  191. package/dist/_virtual/route-match-utils.js +4 -0
  192. package/dist/_virtual/route-match-utils.js.map +1 -0
  193. package/dist/_virtual/route-matcher.js +4 -0
  194. package/dist/_virtual/route-matcher.js.map +1 -0
  195. package/dist/_virtual/route-pattern-normalizer.js +4 -0
  196. package/dist/_virtual/route-pattern-normalizer.js.map +1 -0
  197. package/dist/_virtual/route-regex.js +4 -0
  198. package/dist/_virtual/route-regex.js.map +1 -0
  199. package/dist/_virtual/router-context.shared-runtime.js +4 -0
  200. package/dist/_virtual/router-context.shared-runtime.js.map +1 -0
  201. package/dist/_virtual/runtime-reacts.external.js +4 -0
  202. package/dist/_virtual/runtime-reacts.external.js.map +1 -0
  203. package/dist/_virtual/scheduler.js +4 -0
  204. package/dist/_virtual/scheduler.js.map +1 -0
  205. package/dist/_virtual/segment.js +4 -0
  206. package/dist/_virtual/segment.js.map +1 -0
  207. package/dist/_virtual/server-async-storage.js +4 -0
  208. package/dist/_virtual/server-async-storage.js.map +1 -0
  209. package/dist/_virtual/server-inserted-html.shared-runtime.js +4 -0
  210. package/dist/_virtual/server-inserted-html.shared-runtime.js.map +1 -0
  211. package/dist/_virtual/side-effect.js +4 -0
  212. package/dist/_virtual/side-effect.js.map +1 -0
  213. package/dist/_virtual/sorted-routes.js +4 -0
  214. package/dist/_virtual/sorted-routes.js.map +1 -0
  215. package/dist/_virtual/staged-rendering.js +4 -0
  216. package/dist/_virtual/staged-rendering.js.map +1 -0
  217. package/dist/_virtual/static-generation-bailout.js +4 -0
  218. package/dist/_virtual/static-generation-bailout.js.map +1 -0
  219. package/dist/_virtual/unauthorized.js +4 -0
  220. package/dist/_virtual/unauthorized.js.map +1 -0
  221. package/dist/_virtual/unrecognized-action-error.js +4 -0
  222. package/dist/_virtual/unrecognized-action-error.js.map +1 -0
  223. package/dist/_virtual/unstable-rethrow.js +4 -0
  224. package/dist/_virtual/unstable-rethrow.js.map +1 -0
  225. package/dist/_virtual/use-intersection.js +4 -0
  226. package/dist/_virtual/use-intersection.js.map +1 -0
  227. package/dist/_virtual/use-merged-ref.js +4 -0
  228. package/dist/_virtual/use-merged-ref.js.map +1 -0
  229. package/dist/_virtual/utils.js +4 -0
  230. package/dist/_virtual/utils.js.map +1 -0
  231. package/dist/_virtual/warn-once.js +4 -0
  232. package/dist/_virtual/warn-once.js.map +1 -0
  233. package/dist/_virtual/work-async-storage-instance.js +4 -0
  234. package/dist/_virtual/work-async-storage-instance.js.map +1 -0
  235. package/dist/_virtual/work-async-storage.external.js +4 -0
  236. package/dist/_virtual/work-async-storage.external.js.map +1 -0
  237. package/dist/_virtual/work-unit-async-storage-instance.js +4 -0
  238. package/dist/_virtual/work-unit-async-storage-instance.js.map +1 -0
  239. package/dist/_virtual/work-unit-async-storage.external.js +4 -0
  240. package/dist/_virtual/work-unit-async-storage.external.js.map +1 -0
  241. package/dist/components/ui/app-header.js +72 -0
  242. package/dist/components/ui/app-header.js.map +1 -0
  243. package/dist/components/ui/dropdown-menu.js +61 -0
  244. package/dist/components/ui/dropdown-menu.js.map +1 -0
  245. package/dist/components/ui/page-header.js +17 -0
  246. package/dist/components/ui/page-header.js.map +1 -0
  247. package/dist/components/ui/status-notice.js +27 -0
  248. package/dist/components/ui/status-notice.js.map +1 -0
  249. package/dist/index.d.ts +4 -0
  250. package/dist/index.js +4 -0
  251. package/dist/index.js.map +1 -1
  252. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +17 -0
  253. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js.map +1 -0
  254. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +49 -0
  255. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js.map +1 -0
  256. package/dist/node_modules/next/dist/client/add-base-path.js +39 -0
  257. package/dist/node_modules/next/dist/client/add-base-path.js.map +1 -0
  258. package/dist/node_modules/next/dist/client/add-locale.js +40 -0
  259. package/dist/node_modules/next/dist/client/add-locale.js.map +1 -0
  260. package/dist/node_modules/next/dist/client/components/forbidden.js +62 -0
  261. package/dist/node_modules/next/dist/client/components/forbidden.js.map +1 -0
  262. package/dist/node_modules/next/dist/client/components/hooks-server-context.js +51 -0
  263. package/dist/node_modules/next/dist/client/components/hooks-server-context.js.map +1 -0
  264. package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +78 -0
  265. package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js.map +1 -0
  266. package/dist/node_modules/next/dist/client/components/instant-samples.js +107 -0
  267. package/dist/node_modules/next/dist/client/components/instant-samples.js.map +1 -0
  268. package/dist/node_modules/next/dist/client/components/is-next-router-error.js +38 -0
  269. package/dist/node_modules/next/dist/client/components/is-next-router-error.js.map +1 -0
  270. package/dist/node_modules/next/dist/client/components/navigation-dynamic-rendering.js +41 -0
  271. package/dist/node_modules/next/dist/client/components/navigation-dynamic-rendering.js.map +1 -0
  272. package/dist/node_modules/next/dist/client/components/navigation.js +250 -0
  273. package/dist/node_modules/next/dist/client/components/navigation.js.map +1 -0
  274. package/dist/node_modules/next/dist/client/components/navigation.react-server.js +83 -0
  275. package/dist/node_modules/next/dist/client/components/navigation.react-server.js.map +1 -0
  276. package/dist/node_modules/next/dist/client/components/not-found.js +56 -0
  277. package/dist/node_modules/next/dist/client/components/not-found.js.map +1 -0
  278. package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js +61 -0
  279. package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js.map +1 -0
  280. package/dist/node_modules/next/dist/client/components/redirect-error.js +53 -0
  281. package/dist/node_modules/next/dist/client/components/redirect-error.js.map +1 -0
  282. package/dist/node_modules/next/dist/client/components/redirect-status-code.js +37 -0
  283. package/dist/node_modules/next/dist/client/components/redirect-status-code.js.map +1 -0
  284. package/dist/node_modules/next/dist/client/components/redirect.js +99 -0
  285. package/dist/node_modules/next/dist/client/components/redirect.js.map +1 -0
  286. package/dist/node_modules/next/dist/client/components/server-async-storage.js +48 -0
  287. package/dist/node_modules/next/dist/client/components/server-async-storage.js.map +1 -0
  288. package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +51 -0
  289. package/dist/node_modules/next/dist/client/components/static-generation-bailout.js.map +1 -0
  290. package/dist/node_modules/next/dist/client/components/unauthorized.js +63 -0
  291. package/dist/node_modules/next/dist/client/components/unauthorized.js.map +1 -0
  292. package/dist/node_modules/next/dist/client/components/unrecognized-action-error.js +48 -0
  293. package/dist/node_modules/next/dist/client/components/unrecognized-action-error.js.map +1 -0
  294. package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +51 -0
  295. package/dist/node_modules/next/dist/client/components/unstable-rethrow.js.map +1 -0
  296. package/dist/node_modules/next/dist/client/detect-domain-locale.js +37 -0
  297. package/dist/node_modules/next/dist/client/detect-domain-locale.js.map +1 -0
  298. package/dist/node_modules/next/dist/client/get-domain-locale.js +52 -0
  299. package/dist/node_modules/next/dist/client/get-domain-locale.js.map +1 -0
  300. package/dist/node_modules/next/dist/client/has-base-path.js +37 -0
  301. package/dist/node_modules/next/dist/client/has-base-path.js.map +1 -0
  302. package/dist/node_modules/next/dist/client/image-component.js +351 -0
  303. package/dist/node_modules/next/dist/client/image-component.js.map +1 -0
  304. package/dist/node_modules/next/dist/client/link.js +471 -0
  305. package/dist/node_modules/next/dist/client/link.js.map +1 -0
  306. package/dist/node_modules/next/dist/client/normalize-locale-path.js +41 -0
  307. package/dist/node_modules/next/dist/client/normalize-locale-path.js.map +1 -0
  308. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +52 -0
  309. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js.map +1 -0
  310. package/dist/node_modules/next/dist/client/request-idle-callback.js +53 -0
  311. package/dist/node_modules/next/dist/client/request-idle-callback.js.map +1 -0
  312. package/dist/node_modules/next/dist/client/resolve-href.js +129 -0
  313. package/dist/node_modules/next/dist/client/resolve-href.js.map +1 -0
  314. package/dist/node_modules/next/dist/client/use-intersection.js +129 -0
  315. package/dist/node_modules/next/dist/client/use-intersection.js.map +1 -0
  316. package/dist/node_modules/next/dist/client/use-merged-ref.js +83 -0
  317. package/dist/node_modules/next/dist/client/use-merged-ref.js.map +1 -0
  318. package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js +341 -0
  319. package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js.map +1 -0
  320. package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +13 -0
  321. package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js.map +1 -0
  322. package/dist/node_modules/next/dist/compiled/picomatch/index.js +13 -0
  323. package/dist/node_modules/next/dist/compiled/picomatch/index.js.map +1 -0
  324. package/dist/node_modules/next/dist/lib/constants.js +370 -0
  325. package/dist/node_modules/next/dist/lib/constants.js.map +1 -0
  326. package/dist/node_modules/next/dist/lib/framework/boundary-constants.js +43 -0
  327. package/dist/node_modules/next/dist/lib/framework/boundary-constants.js.map +1 -0
  328. package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +112 -0
  329. package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js.map +1 -0
  330. package/dist/node_modules/next/dist/lib/scheduler.js +71 -0
  331. package/dist/node_modules/next/dist/lib/scheduler.js.map +1 -0
  332. package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +28 -0
  333. package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js.map +1 -0
  334. package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +27 -0
  335. package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js.map +1 -0
  336. package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +84 -0
  337. package/dist/node_modules/next/dist/server/app-render/async-local-storage.js.map +1 -0
  338. package/dist/node_modules/next/dist/server/app-render/blocking-route-messages.js +177 -0
  339. package/dist/node_modules/next/dist/server/app-render/blocking-route-messages.js.map +1 -0
  340. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +1168 -0
  341. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js.map +1 -0
  342. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +39 -0
  343. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js.map +1 -0
  344. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js +47 -0
  345. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js.map +1 -0
  346. package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js +427 -0
  347. package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js.map +1 -0
  348. package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-validation-error.js +42 -0
  349. package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-validation-error.js.map +1 -0
  350. package/dist/node_modules/next/dist/server/app-render/staged-rendering.js +331 -0
  351. package/dist/node_modules/next/dist/server/app-render/staged-rendering.js.map +1 -0
  352. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +28 -0
  353. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js.map +1 -0
  354. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +27 -0
  355. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js.map +1 -0
  356. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +28 -0
  357. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js.map +1 -0
  358. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +211 -0
  359. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js.map +1 -0
  360. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +269 -0
  361. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js.map +1 -0
  362. package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +29 -0
  363. package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js.map +1 -0
  364. package/dist/node_modules/next/dist/server/runtime-reacts.external.js +53 -0
  365. package/dist/node_modules/next/dist/server/runtime-reacts.external.js.map +1 -0
  366. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/headers.js +303 -0
  367. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/headers.js.map +1 -0
  368. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js +43 -0
  369. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js.map +1 -0
  370. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js +233 -0
  371. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js.map +1 -0
  372. package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js +38 -0
  373. package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js.map +1 -0
  374. package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js +39 -0
  375. package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js.map +1 -0
  376. package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +58 -0
  377. package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js.map +1 -0
  378. package/dist/node_modules/next/dist/shared/lib/deployment-id.js +70 -0
  379. package/dist/node_modules/next/dist/shared/lib/deployment-id.js.map +1 -0
  380. package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +34 -0
  381. package/dist/node_modules/next/dist/shared/lib/escape-regexp.js.map +1 -0
  382. package/dist/node_modules/next/dist/shared/lib/find-closest-quality.js +32 -0
  383. package/dist/node_modules/next/dist/shared/lib/find-closest-quality.js.map +1 -0
  384. package/dist/node_modules/next/dist/shared/lib/get-img-props.js +614 -0
  385. package/dist/node_modules/next/dist/shared/lib/get-img-props.js.map +1 -0
  386. package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +33 -0
  387. package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js.map +1 -0
  388. package/dist/node_modules/next/dist/shared/lib/head.js +178 -0
  389. package/dist/node_modules/next/dist/shared/lib/head.js.map +1 -0
  390. package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +67 -0
  391. package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js.map +1 -0
  392. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +38 -0
  393. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js.map +1 -0
  394. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +67 -0
  395. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js.map +1 -0
  396. package/dist/node_modules/next/dist/shared/lib/image-blur-svg.js +37 -0
  397. package/dist/node_modules/next/dist/shared/lib/image-blur-svg.js.map +1 -0
  398. package/dist/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +35 -0
  399. package/dist/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js.map +1 -0
  400. package/dist/node_modules/next/dist/shared/lib/image-config.js +86 -0
  401. package/dist/node_modules/next/dist/shared/lib/image-config.js.map +1 -0
  402. package/dist/node_modules/next/dist/shared/lib/image-external.js +60 -0
  403. package/dist/node_modules/next/dist/shared/lib/image-external.js.map +1 -0
  404. package/dist/node_modules/next/dist/shared/lib/image-loader.js +135 -0
  405. package/dist/node_modules/next/dist/shared/lib/image-loader.js.map +1 -0
  406. package/dist/node_modules/next/dist/shared/lib/instant-messages.js +52 -0
  407. package/dist/node_modules/next/dist/shared/lib/instant-messages.js.map +1 -0
  408. package/dist/node_modules/next/dist/shared/lib/invariant-error.js +36 -0
  409. package/dist/node_modules/next/dist/shared/lib/invariant-error.js.map +1 -0
  410. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +45 -0
  411. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js.map +1 -0
  412. package/dist/node_modules/next/dist/shared/lib/match-local-pattern.js +56 -0
  413. package/dist/node_modules/next/dist/shared/lib/match-local-pattern.js.map +1 -0
  414. package/dist/node_modules/next/dist/shared/lib/match-remote-pattern.js +73 -0
  415. package/dist/node_modules/next/dist/shared/lib/match-remote-pattern.js.map +1 -0
  416. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +33 -0
  417. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js.map +1 -0
  418. package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js +39 -0
  419. package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js.map +1 -0
  420. package/dist/node_modules/next/dist/shared/lib/router/routes/app.js +167 -0
  421. package/dist/node_modules/next/dist/shared/lib/router/routes/app.js.map +1 -0
  422. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +43 -0
  423. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js.map +1 -0
  424. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +34 -0
  425. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js.map +1 -0
  426. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +72 -0
  427. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js.map +1 -0
  428. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +100 -0
  429. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js.map +1 -0
  430. package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +184 -0
  431. package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js.map +1 -0
  432. package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +91 -0
  433. package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js.map +1 -0
  434. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +40 -0
  435. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js.map +1 -0
  436. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +46 -0
  437. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js.map +1 -0
  438. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +116 -0
  439. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js.map +1 -0
  440. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +68 -0
  441. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js.map +1 -0
  442. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +40 -0
  443. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js.map +1 -0
  444. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +41 -0
  445. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js.map +1 -0
  446. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +34 -0
  447. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js.map +1 -0
  448. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +44 -0
  449. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js.map +1 -0
  450. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +48 -0
  451. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js.map +1 -0
  452. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +58 -0
  453. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js.map +1 -0
  454. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +34 -0
  455. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js.map +1 -0
  456. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +87 -0
  457. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js.map +1 -0
  458. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +37 -0
  459. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js.map +1 -0
  460. package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +129 -0
  461. package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js.map +1 -0
  462. package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +124 -0
  463. package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js.map +1 -0
  464. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +60 -0
  465. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js.map +1 -0
  466. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +269 -0
  467. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js.map +1 -0
  468. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +253 -0
  469. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js.map +1 -0
  470. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +33 -0
  471. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js.map +1 -0
  472. package/dist/node_modules/next/dist/shared/lib/segment.js +104 -0
  473. package/dist/node_modules/next/dist/shared/lib/segment.js.map +1 -0
  474. package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +46 -0
  475. package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js.map +1 -0
  476. package/dist/node_modules/next/dist/shared/lib/side-effect.js +77 -0
  477. package/dist/node_modules/next/dist/shared/lib/side-effect.js.map +1 -0
  478. package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +35 -0
  479. package/dist/node_modules/next/dist/shared/lib/utils/error-once.js.map +1 -0
  480. package/dist/node_modules/next/dist/shared/lib/utils/reflect-utils.js +72 -0
  481. package/dist/node_modules/next/dist/shared/lib/utils/reflect-utils.js.map +1 -0
  482. package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js +35 -0
  483. package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js.map +1 -0
  484. package/dist/node_modules/next/dist/shared/lib/utils.js +210 -0
  485. package/dist/node_modules/next/dist/shared/lib/utils.js.map +1 -0
  486. package/dist/node_modules/next/image.js +14 -0
  487. package/dist/node_modules/next/image.js.map +1 -0
  488. package/dist/node_modules/next/link.js +14 -0
  489. package/dist/node_modules/next/link.js.map +1 -0
  490. package/dist/node_modules/next/navigation.js +14 -0
  491. package/dist/node_modules/next/navigation.js.map +1 -0
  492. package/package.json +1 -1
@@ -0,0 +1,471 @@
1
+ import { __module as link } from '../../../../_virtual/link2.js';
2
+ import { __require as require_interop_require_wildcard } from '../../../@swc/helpers/cjs/_interop_require_wildcard.js';
3
+ import { __require as requireJsxRuntime } from '../../../react/jsx-runtime.js';
4
+ import React__default from 'react';
5
+ import { __require as requireResolveHref } from './resolve-href.js';
6
+ import { __require as requireIsLocalUrl } from '../shared/lib/router/utils/is-local-url.js';
7
+ import { __require as requireFormatUrl } from '../shared/lib/router/utils/format-url.js';
8
+ import { __require as requireUtils } from '../shared/lib/utils.js';
9
+ import { __require as requireAddLocale } from './add-locale.js';
10
+ import { __require as requireRouterContext_sharedRuntime } from '../shared/lib/router-context.shared-runtime.js';
11
+ import { __require as requireUseIntersection } from './use-intersection.js';
12
+ import { __require as requireGetDomainLocale } from './get-domain-locale.js';
13
+ import { __require as requireAddBasePath } from './add-base-path.js';
14
+ import { __require as requireUseMergedRef } from './use-merged-ref.js';
15
+ import { __require as requireErrorOnce } from '../shared/lib/utils/error-once.js';
16
+
17
+ var hasRequiredLink;
18
+
19
+ function requireLink () {
20
+ if (hasRequiredLink) return link.exports;
21
+ hasRequiredLink = 1;
22
+ (function (module, exports$1) {
23
+ 'use client';
24
+ Object.defineProperty(exports$1, "__esModule", {
25
+ value: true
26
+ });
27
+ function _export(target, all) {
28
+ for(var name in all)Object.defineProperty(target, name, {
29
+ enumerable: true,
30
+ get: all[name]
31
+ });
32
+ }
33
+ _export(exports$1, {
34
+ default: function() {
35
+ return _default;
36
+ },
37
+ useLinkStatus: function() {
38
+ return useLinkStatus;
39
+ }
40
+ });
41
+ const _interop_require_wildcard = /*@__PURE__*/ require_interop_require_wildcard();
42
+ const _jsxruntime = requireJsxRuntime();
43
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(React__default);
44
+ const _resolvehref = requireResolveHref();
45
+ const _islocalurl = requireIsLocalUrl();
46
+ const _formaturl = requireFormatUrl();
47
+ const _utils = requireUtils();
48
+ const _addlocale = requireAddLocale();
49
+ const _routercontextsharedruntime = requireRouterContext_sharedRuntime();
50
+ const _useintersection = requireUseIntersection();
51
+ const _getdomainlocale = requireGetDomainLocale();
52
+ const _addbasepath = requireAddBasePath();
53
+ const _usemergedref = requireUseMergedRef();
54
+ const prefetched = new Set();
55
+ function prefetch(router, href, as, options) {
56
+ if (typeof window === 'undefined') {
57
+ return;
58
+ }
59
+ if (!(0, _islocalurl.isLocalURL)(href)) {
60
+ return;
61
+ }
62
+ // We should only dedupe requests when experimental.optimisticClientCache is
63
+ // disabled.
64
+ if (!options.bypassPrefetchedCheck) {
65
+ const locale = // Let the link's locale prop override the default router locale.
66
+ typeof options.locale !== 'undefined' ? options.locale : 'locale' in router ? router.locale : undefined;
67
+ const prefetchedKey = href + '%' + as + '%' + locale;
68
+ // If we've already fetched the key, then don't prefetch it again!
69
+ if (prefetched.has(prefetchedKey)) {
70
+ return;
71
+ }
72
+ // Mark this URL as prefetched.
73
+ prefetched.add(prefetchedKey);
74
+ }
75
+ // Prefetch the JSON page if asked (only in the client)
76
+ // We need to handle a prefetch error here since we may be
77
+ // loading with priority which can reject but we don't
78
+ // want to force navigation since this is only a prefetch
79
+ router.prefetch(href, as, options).catch((err)=>{
80
+ if (process.env.NODE_ENV !== 'production') {
81
+ // rethrow to show invalid URL errors
82
+ throw err;
83
+ }
84
+ });
85
+ }
86
+ function isModifiedEvent(event) {
87
+ const eventTarget = event.currentTarget;
88
+ const target = eventTarget.getAttribute('target');
89
+ return target && target !== '_self' || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || // triggers resource download
90
+ event.nativeEvent && event.nativeEvent.which === 2;
91
+ }
92
+ function linkClicked(e, router, href, as, replace, shallow, scroll, locale, onNavigate) {
93
+ const { nodeName } = e.currentTarget;
94
+ // anchors inside an svg have a lowercase nodeName
95
+ const isAnchorNodeName = nodeName.toUpperCase() === 'A';
96
+ if (isAnchorNodeName && isModifiedEvent(e) || e.currentTarget.hasAttribute('download')) {
97
+ // ignore click for browser’s default behavior
98
+ return;
99
+ }
100
+ if (!(0, _islocalurl.isLocalURL)(href)) {
101
+ if (replace) {
102
+ // browser default behavior does not replace the history state
103
+ // so we need to do it manually
104
+ e.preventDefault();
105
+ location.replace(href);
106
+ }
107
+ // ignore click for browser’s default behavior
108
+ return;
109
+ }
110
+ e.preventDefault();
111
+ const navigate = ()=>{
112
+ if (onNavigate) {
113
+ let isDefaultPrevented = false;
114
+ onNavigate({
115
+ preventDefault: ()=>{
116
+ isDefaultPrevented = true;
117
+ }
118
+ });
119
+ if (isDefaultPrevented) {
120
+ return;
121
+ }
122
+ }
123
+ // If the router is an NextRouter instance it will have `beforePopState`
124
+ const routerScroll = scroll ?? true;
125
+ if ('beforePopState' in router) {
126
+ router[replace ? 'replace' : 'push'](href, as, {
127
+ shallow,
128
+ locale,
129
+ scroll: routerScroll
130
+ });
131
+ } else {
132
+ router[replace ? 'replace' : 'push'](as || href, {
133
+ scroll: routerScroll
134
+ });
135
+ }
136
+ };
137
+ navigate();
138
+ }
139
+ function formatStringOrUrl(urlObjOrString) {
140
+ if (typeof urlObjOrString === 'string') {
141
+ return urlObjOrString;
142
+ }
143
+ return (0, _formaturl.formatUrl)(urlObjOrString);
144
+ }
145
+ /**
146
+ * A React component that extends the HTML `<a>` element to provide [prefetching](https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#2-prefetching)
147
+ * and client-side navigation between routes.
148
+ *
149
+ * It is the primary way to navigate between routes in Next.js.
150
+ *
151
+ * Read more: [Next.js docs: `<Link>`](https://nextjs.org/docs/app/api-reference/components/link)
152
+ */ const Link = /*#__PURE__*/ _react.default.forwardRef(function LinkComponent(props, forwardedRef) {
153
+ let children;
154
+ const { href: hrefProp, as: asProp, children: childrenProp, prefetch: prefetchProp = null, passHref, replace, shallow, scroll, locale, onClick, onNavigate, onMouseEnter: onMouseEnterProp, onTouchStart: onTouchStartProp, legacyBehavior = false, transitionTypes, ...restProps } = props;
155
+ children = childrenProp;
156
+ if (legacyBehavior && (typeof children === 'string' || typeof children === 'number')) {
157
+ children = /*#__PURE__*/ (0, _jsxruntime.jsx)("a", {
158
+ children: children
159
+ });
160
+ }
161
+ const router = _react.default.useContext(_routercontextsharedruntime.RouterContext);
162
+ const prefetchEnabled = prefetchProp !== false;
163
+ if (process.env.NODE_ENV !== 'production') {
164
+ function createPropError(args) {
165
+ 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", {
166
+ value: "E319",
167
+ enumerable: false,
168
+ configurable: true
169
+ });
170
+ }
171
+ // TypeScript trick for type-guarding:
172
+ const requiredPropsGuard = {
173
+ href: true
174
+ };
175
+ const requiredProps = Object.keys(requiredPropsGuard);
176
+ requiredProps.forEach((key)=>{
177
+ if (key === 'href') {
178
+ if (props[key] == null || typeof props[key] !== 'string' && typeof props[key] !== 'object') {
179
+ throw createPropError({
180
+ key,
181
+ expected: '`string` or `object`',
182
+ actual: props[key] === null ? 'null' : typeof props[key]
183
+ });
184
+ }
185
+ }
186
+ });
187
+ // TypeScript trick for type-guarding:
188
+ const optionalPropsGuard = {
189
+ as: true,
190
+ replace: true,
191
+ scroll: true,
192
+ shallow: true,
193
+ passHref: true,
194
+ prefetch: true,
195
+ locale: true,
196
+ onClick: true,
197
+ onMouseEnter: true,
198
+ onTouchStart: true,
199
+ legacyBehavior: true,
200
+ onNavigate: true,
201
+ transitionTypes: true
202
+ };
203
+ const optionalProps = Object.keys(optionalPropsGuard);
204
+ optionalProps.forEach((key)=>{
205
+ const valType = typeof props[key];
206
+ if (key === 'as') {
207
+ if (props[key] && valType !== 'string' && valType !== 'object') {
208
+ throw createPropError({
209
+ key,
210
+ expected: '`string` or `object`',
211
+ actual: valType
212
+ });
213
+ }
214
+ } else if (key === 'locale') {
215
+ if (props[key] && valType !== 'string') {
216
+ throw createPropError({
217
+ key,
218
+ expected: '`string`',
219
+ actual: valType
220
+ });
221
+ }
222
+ } else if (key === 'onClick' || key === 'onMouseEnter' || key === 'onTouchStart' || key === 'onNavigate') {
223
+ if (props[key] && valType !== 'function') {
224
+ throw createPropError({
225
+ key,
226
+ expected: '`function`',
227
+ actual: valType
228
+ });
229
+ }
230
+ } else if (key === 'replace' || key === 'scroll' || key === 'shallow' || key === 'passHref' || key === 'legacyBehavior') {
231
+ if (props[key] != null && valType !== 'boolean') {
232
+ throw createPropError({
233
+ key,
234
+ expected: '`boolean`',
235
+ actual: valType
236
+ });
237
+ }
238
+ } else if (key === 'prefetch') {
239
+ if (props[key] != null && valType !== 'boolean' && props[key] !== 'auto') {
240
+ throw createPropError({
241
+ key,
242
+ expected: '`boolean | "auto"`',
243
+ actual: valType
244
+ });
245
+ }
246
+ } else if (key === 'transitionTypes') {
247
+ if (props[key] != null && !Array.isArray(props[key])) {
248
+ throw createPropError({
249
+ key,
250
+ expected: '`string[]`',
251
+ actual: valType
252
+ });
253
+ }
254
+ } else ;
255
+ });
256
+ }
257
+ const { href, as } = _react.default.useMemo(()=>{
258
+ if (!router) {
259
+ const resolvedHref = formatStringOrUrl(hrefProp);
260
+ return {
261
+ href: resolvedHref,
262
+ as: asProp ? formatStringOrUrl(asProp) : resolvedHref
263
+ };
264
+ }
265
+ const [resolvedHref, resolvedAs] = (0, _resolvehref.resolveHref)(router, hrefProp, true);
266
+ return {
267
+ href: resolvedHref,
268
+ as: asProp ? (0, _resolvehref.resolveHref)(router, asProp) : resolvedAs || resolvedHref
269
+ };
270
+ }, [
271
+ router,
272
+ hrefProp,
273
+ asProp
274
+ ]);
275
+ const previousHref = _react.default.useRef(href);
276
+ const previousAs = _react.default.useRef(as);
277
+ // This will return the first child, if multiple are provided it will throw an error
278
+ let child;
279
+ if (legacyBehavior) {
280
+ if (process.env.NODE_ENV === 'development') {
281
+ if (onClick) {
282
+ 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`);
283
+ }
284
+ if (onMouseEnterProp) {
285
+ 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`);
286
+ }
287
+ try {
288
+ child = _react.default.Children.only(children);
289
+ } catch (err) {
290
+ if (!children) {
291
+ 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", {
292
+ value: "E320",
293
+ enumerable: false,
294
+ configurable: true
295
+ });
296
+ }
297
+ 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", {
298
+ value: "E266",
299
+ enumerable: false,
300
+ configurable: true
301
+ });
302
+ }
303
+ } else {
304
+ child = _react.default.Children.only(children);
305
+ }
306
+ } else {
307
+ if (process.env.NODE_ENV === 'development') {
308
+ if (children?.type === 'a') {
309
+ 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", {
310
+ value: "E209",
311
+ enumerable: false,
312
+ configurable: true
313
+ });
314
+ }
315
+ }
316
+ }
317
+ const childRef = legacyBehavior ? child && typeof child === 'object' && child.ref : forwardedRef;
318
+ const [setIntersectionRef, isVisible, resetVisible] = (0, _useintersection.useIntersection)({
319
+ rootMargin: '200px'
320
+ });
321
+ const setIntersectionWithResetRef = _react.default.useCallback((el)=>{
322
+ // Before the link getting observed, check if visible state need to be reset
323
+ if (previousAs.current !== as || previousHref.current !== href) {
324
+ resetVisible();
325
+ previousAs.current = as;
326
+ previousHref.current = href;
327
+ }
328
+ setIntersectionRef(el);
329
+ }, [
330
+ as,
331
+ href,
332
+ resetVisible,
333
+ setIntersectionRef
334
+ ]);
335
+ const setRef = (0, _usemergedref.useMergedRef)(setIntersectionWithResetRef, childRef);
336
+ // Prefetch the URL if we haven't already and it's visible.
337
+ _react.default.useEffect(()=>{
338
+ // in dev, we only prefetch on hover to avoid wasting resources as the prefetch will trigger compiling the page.
339
+ if (process.env.NODE_ENV !== 'production') {
340
+ return;
341
+ }
342
+ if (!router) {
343
+ return;
344
+ }
345
+ // If we don't need to prefetch the URL, don't do prefetch.
346
+ if (!isVisible || !prefetchEnabled) {
347
+ return;
348
+ }
349
+ // Prefetch the URL.
350
+ prefetch(router, href, as, {
351
+ // dedupe across appear/disappear of the Link.
352
+ bypassPrefetchedCheck: false,
353
+ locale
354
+ });
355
+ }, [
356
+ as,
357
+ href,
358
+ isVisible,
359
+ locale,
360
+ prefetchEnabled,
361
+ router?.locale,
362
+ router
363
+ ]);
364
+ const childProps = {
365
+ ref: setRef,
366
+ onClick (e) {
367
+ if (process.env.NODE_ENV !== 'production') {
368
+ if (!e) {
369
+ throw Object.defineProperty(new Error(`Component rendered inside next/link has to pass click event to "onClick" prop.`), "__NEXT_ERROR_CODE", {
370
+ value: "E312",
371
+ enumerable: false,
372
+ configurable: true
373
+ });
374
+ }
375
+ }
376
+ if (!legacyBehavior && typeof onClick === 'function') {
377
+ onClick(e);
378
+ }
379
+ if (legacyBehavior && child.props && typeof child.props.onClick === 'function') {
380
+ child.props.onClick(e);
381
+ }
382
+ if (!router) {
383
+ return;
384
+ }
385
+ if (e.defaultPrevented) {
386
+ return;
387
+ }
388
+ linkClicked(e, router, href, as, replace, shallow, scroll, locale, onNavigate);
389
+ },
390
+ onMouseEnter (e) {
391
+ if (!legacyBehavior && typeof onMouseEnterProp === 'function') {
392
+ onMouseEnterProp(e);
393
+ }
394
+ if (legacyBehavior && child.props && typeof child.props.onMouseEnter === 'function') {
395
+ child.props.onMouseEnter(e);
396
+ }
397
+ if (!router) {
398
+ return;
399
+ }
400
+ prefetch(router, href, as, {
401
+ locale,
402
+ priority: true,
403
+ // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
404
+ bypassPrefetchedCheck: true
405
+ });
406
+ },
407
+ onTouchStart: process.env.__NEXT_LINK_NO_TOUCH_START ? undefined : function onTouchStart(e) {
408
+ if (!legacyBehavior && typeof onTouchStartProp === 'function') {
409
+ onTouchStartProp(e);
410
+ }
411
+ if (legacyBehavior && child.props && typeof child.props.onTouchStart === 'function') {
412
+ child.props.onTouchStart(e);
413
+ }
414
+ if (!router) {
415
+ return;
416
+ }
417
+ prefetch(router, href, as, {
418
+ locale,
419
+ priority: true,
420
+ // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
421
+ bypassPrefetchedCheck: true
422
+ });
423
+ }
424
+ };
425
+ // If the url is absolute, we can bypass the logic to prepend the domain and locale.
426
+ if ((0, _utils.isAbsoluteUrl)(as)) {
427
+ childProps.href = as;
428
+ } else if (!legacyBehavior || passHref || child.type === 'a' && !('href' in child.props)) {
429
+ const curLocale = typeof locale !== 'undefined' ? locale : router?.locale;
430
+ // we only render domain locales if we are currently on a domain locale
431
+ // so that locale links are still visitable in development/preview envs
432
+ const localeDomain = router?.isLocaleDomain && (0, _getdomainlocale.getDomainLocale)(as, curLocale, router?.locales, router?.domainLocales);
433
+ childProps.href = localeDomain || (0, _addbasepath.addBasePath)((0, _addlocale.addLocale)(as, curLocale, router?.defaultLocale));
434
+ }
435
+ if (legacyBehavior) {
436
+ if (process.env.NODE_ENV === 'development') {
437
+ const { errorOnce } = requireErrorOnce();
438
+ errorOnce('`legacyBehavior` is deprecated and will be removed in a future ' + 'release. A codemod is available to upgrade your components:\n\n' + 'npx @next/codemod@latest new-link .\n\n' + 'Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components');
439
+ }
440
+ return /*#__PURE__*/ _react.default.cloneElement(child, childProps);
441
+ }
442
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)("a", {
443
+ ...restProps,
444
+ ...childProps,
445
+ children: children
446
+ });
447
+ });
448
+ const LinkStatusContext = /*#__PURE__*/ (0, _react.createContext)({
449
+ // We do not support link status in the Pages Router, so we always return false
450
+ pending: false
451
+ });
452
+ const useLinkStatus = ()=>{
453
+ // This behaviour is like React's useFormStatus. When the component is not under
454
+ // a <form> tag, it will get the default value, instead of throwing an error.
455
+ return (0, _react.useContext)(LinkStatusContext);
456
+ };
457
+ const _default = Link;
458
+
459
+ if ((typeof exports$1.default === 'function' || (typeof exports$1.default === 'object' && exports$1.default !== null)) && typeof exports$1.default.__esModule === 'undefined') {
460
+ Object.defineProperty(exports$1.default, '__esModule', { value: true });
461
+ Object.assign(exports$1.default, exports$1);
462
+ module.exports = exports$1.default;
463
+ }
464
+
465
+
466
+ } (link, link.exports));
467
+ return link.exports;
468
+ }
469
+
470
+ export { requireLink as __require };
471
+ //# sourceMappingURL=link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.js","sources":["../../../../../node_modules/next/dist/client/link.js"],"sourcesContent":["'use client';\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n default: null,\n useLinkStatus: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n default: function() {\n return _default;\n },\n useLinkStatus: function() {\n return useLinkStatus;\n }\n});\nconst _interop_require_wildcard = require(\"@swc/helpers/_/_interop_require_wildcard\");\nconst _jsxruntime = require(\"react/jsx-runtime\");\nconst _react = /*#__PURE__*/ _interop_require_wildcard._(require(\"react\"));\nconst _resolvehref = require(\"./resolve-href\");\nconst _islocalurl = require(\"../shared/lib/router/utils/is-local-url\");\nconst _formaturl = require(\"../shared/lib/router/utils/format-url\");\nconst _utils = require(\"../shared/lib/utils\");\nconst _addlocale = require(\"./add-locale\");\nconst _routercontextsharedruntime = require(\"../shared/lib/router-context.shared-runtime\");\nconst _useintersection = require(\"./use-intersection\");\nconst _getdomainlocale = require(\"./get-domain-locale\");\nconst _addbasepath = require(\"./add-base-path\");\nconst _usemergedref = require(\"./use-merged-ref\");\nconst prefetched = new Set();\nfunction prefetch(router, href, as, options) {\n if (typeof window === 'undefined') {\n return;\n }\n if (!(0, _islocalurl.isLocalURL)(href)) {\n return;\n }\n // We should only dedupe requests when experimental.optimisticClientCache is\n // disabled.\n if (!options.bypassPrefetchedCheck) {\n const locale = // Let the link's locale prop override the default router locale.\n typeof options.locale !== 'undefined' ? options.locale : 'locale' in router ? router.locale : undefined;\n const prefetchedKey = href + '%' + as + '%' + locale;\n // If we've already fetched the key, then don't prefetch it again!\n if (prefetched.has(prefetchedKey)) {\n return;\n }\n // Mark this URL as prefetched.\n prefetched.add(prefetchedKey);\n }\n // Prefetch the JSON page if asked (only in the client)\n // We need to handle a prefetch error here since we may be\n // loading with priority which can reject but we don't\n // want to force navigation since this is only a prefetch\n router.prefetch(href, as, options).catch((err)=>{\n if (process.env.NODE_ENV !== 'production') {\n // rethrow to show invalid URL errors\n throw err;\n }\n });\n}\nfunction isModifiedEvent(event) {\n const eventTarget = event.currentTarget;\n const target = eventTarget.getAttribute('target');\n return target && target !== '_self' || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || // triggers resource download\n event.nativeEvent && event.nativeEvent.which === 2;\n}\nfunction linkClicked(e, router, href, as, replace, shallow, scroll, locale, onNavigate) {\n const { nodeName } = e.currentTarget;\n // anchors inside an svg have a lowercase nodeName\n const isAnchorNodeName = nodeName.toUpperCase() === 'A';\n if (isAnchorNodeName && isModifiedEvent(e) || e.currentTarget.hasAttribute('download')) {\n // ignore click for browser’s default behavior\n return;\n }\n if (!(0, _islocalurl.isLocalURL)(href)) {\n if (replace) {\n // browser default behavior does not replace the history state\n // so we need to do it manually\n e.preventDefault();\n location.replace(href);\n }\n // ignore click for browser’s default behavior\n return;\n }\n e.preventDefault();\n const navigate = ()=>{\n if (onNavigate) {\n let isDefaultPrevented = false;\n onNavigate({\n preventDefault: ()=>{\n isDefaultPrevented = true;\n }\n });\n if (isDefaultPrevented) {\n return;\n }\n }\n // If the router is an NextRouter instance it will have `beforePopState`\n const routerScroll = scroll ?? true;\n if ('beforePopState' in router) {\n router[replace ? 'replace' : 'push'](href, as, {\n shallow,\n locale,\n scroll: routerScroll\n });\n } else {\n router[replace ? 'replace' : 'push'](as || href, {\n scroll: routerScroll\n });\n }\n };\n navigate();\n}\nfunction formatStringOrUrl(urlObjOrString) {\n if (typeof urlObjOrString === 'string') {\n return urlObjOrString;\n }\n return (0, _formaturl.formatUrl)(urlObjOrString);\n}\n/**\n * A React component that extends the HTML `<a>` element to provide [prefetching](https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#2-prefetching)\n * and client-side navigation between routes.\n *\n * It is the primary way to navigate between routes in Next.js.\n *\n * Read more: [Next.js docs: `<Link>`](https://nextjs.org/docs/app/api-reference/components/link)\n */ const Link = /*#__PURE__*/ _react.default.forwardRef(function LinkComponent(props, forwardedRef) {\n let children;\n const { href: hrefProp, as: asProp, children: childrenProp, prefetch: prefetchProp = null, passHref, replace, shallow, scroll, locale, onClick, onNavigate, onMouseEnter: onMouseEnterProp, onTouchStart: onTouchStartProp, legacyBehavior = false, transitionTypes, ...restProps } = props;\n children = childrenProp;\n if (legacyBehavior && (typeof children === 'string' || typeof children === 'number')) {\n children = /*#__PURE__*/ (0, _jsxruntime.jsx)(\"a\", {\n children: children\n });\n }\n const router = _react.default.useContext(_routercontextsharedruntime.RouterContext);\n const prefetchEnabled = prefetchProp !== false;\n if (process.env.NODE_ENV !== 'production') {\n function createPropError(args) {\n 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\", {\n value: \"E319\",\n enumerable: false,\n configurable: true\n });\n }\n // TypeScript trick for type-guarding:\n const requiredPropsGuard = {\n href: true\n };\n const requiredProps = Object.keys(requiredPropsGuard);\n requiredProps.forEach((key)=>{\n if (key === 'href') {\n if (props[key] == null || typeof props[key] !== 'string' && typeof props[key] !== 'object') {\n throw createPropError({\n key,\n expected: '`string` or `object`',\n actual: props[key] === null ? 'null' : typeof props[key]\n });\n }\n } else {\n // TypeScript trick for type-guarding:\n const _ = key;\n }\n });\n // TypeScript trick for type-guarding:\n const optionalPropsGuard = {\n as: true,\n replace: true,\n scroll: true,\n shallow: true,\n passHref: true,\n prefetch: true,\n locale: true,\n onClick: true,\n onMouseEnter: true,\n onTouchStart: true,\n legacyBehavior: true,\n onNavigate: true,\n transitionTypes: true\n };\n const optionalProps = Object.keys(optionalPropsGuard);\n optionalProps.forEach((key)=>{\n const valType = typeof props[key];\n if (key === 'as') {\n if (props[key] && valType !== 'string' && valType !== 'object') {\n throw createPropError({\n key,\n expected: '`string` or `object`',\n actual: valType\n });\n }\n } else if (key === 'locale') {\n if (props[key] && valType !== 'string') {\n throw createPropError({\n key,\n expected: '`string`',\n actual: valType\n });\n }\n } else if (key === 'onClick' || key === 'onMouseEnter' || key === 'onTouchStart' || key === 'onNavigate') {\n if (props[key] && valType !== 'function') {\n throw createPropError({\n key,\n expected: '`function`',\n actual: valType\n });\n }\n } else if (key === 'replace' || key === 'scroll' || key === 'shallow' || key === 'passHref' || key === 'legacyBehavior') {\n if (props[key] != null && valType !== 'boolean') {\n throw createPropError({\n key,\n expected: '`boolean`',\n actual: valType\n });\n }\n } else if (key === 'prefetch') {\n if (props[key] != null && valType !== 'boolean' && props[key] !== 'auto') {\n throw createPropError({\n key,\n expected: '`boolean | \"auto\"`',\n actual: valType\n });\n }\n } else if (key === 'transitionTypes') {\n if (props[key] != null && !Array.isArray(props[key])) {\n throw createPropError({\n key,\n expected: '`string[]`',\n actual: valType\n });\n }\n } else {\n // TypeScript trick for type-guarding:\n const _ = key;\n }\n });\n }\n const { href, as } = _react.default.useMemo(()=>{\n if (!router) {\n const resolvedHref = formatStringOrUrl(hrefProp);\n return {\n href: resolvedHref,\n as: asProp ? formatStringOrUrl(asProp) : resolvedHref\n };\n }\n const [resolvedHref, resolvedAs] = (0, _resolvehref.resolveHref)(router, hrefProp, true);\n return {\n href: resolvedHref,\n as: asProp ? (0, _resolvehref.resolveHref)(router, asProp) : resolvedAs || resolvedHref\n };\n }, [\n router,\n hrefProp,\n asProp\n ]);\n const previousHref = _react.default.useRef(href);\n const previousAs = _react.default.useRef(as);\n // This will return the first child, if multiple are provided it will throw an error\n let child;\n if (legacyBehavior) {\n if (process.env.NODE_ENV === 'development') {\n if (onClick) {\n 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`);\n }\n if (onMouseEnterProp) {\n 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`);\n }\n try {\n child = _react.default.Children.only(children);\n } catch (err) {\n if (!children) {\n 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\", {\n value: \"E320\",\n enumerable: false,\n configurable: true\n });\n }\n 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\", {\n value: \"E266\",\n enumerable: false,\n configurable: true\n });\n }\n } else {\n child = _react.default.Children.only(children);\n }\n } else {\n if (process.env.NODE_ENV === 'development') {\n if (children?.type === 'a') {\n 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\", {\n value: \"E209\",\n enumerable: false,\n configurable: true\n });\n }\n }\n }\n const childRef = legacyBehavior ? child && typeof child === 'object' && child.ref : forwardedRef;\n const [setIntersectionRef, isVisible, resetVisible] = (0, _useintersection.useIntersection)({\n rootMargin: '200px'\n });\n const setIntersectionWithResetRef = _react.default.useCallback((el)=>{\n // Before the link getting observed, check if visible state need to be reset\n if (previousAs.current !== as || previousHref.current !== href) {\n resetVisible();\n previousAs.current = as;\n previousHref.current = href;\n }\n setIntersectionRef(el);\n }, [\n as,\n href,\n resetVisible,\n setIntersectionRef\n ]);\n const setRef = (0, _usemergedref.useMergedRef)(setIntersectionWithResetRef, childRef);\n // Prefetch the URL if we haven't already and it's visible.\n _react.default.useEffect(()=>{\n // in dev, we only prefetch on hover to avoid wasting resources as the prefetch will trigger compiling the page.\n if (process.env.NODE_ENV !== 'production') {\n return;\n }\n if (!router) {\n return;\n }\n // If we don't need to prefetch the URL, don't do prefetch.\n if (!isVisible || !prefetchEnabled) {\n return;\n }\n // Prefetch the URL.\n prefetch(router, href, as, {\n // dedupe across appear/disappear of the Link.\n bypassPrefetchedCheck: false,\n locale\n });\n }, [\n as,\n href,\n isVisible,\n locale,\n prefetchEnabled,\n router?.locale,\n router\n ]);\n const childProps = {\n ref: setRef,\n onClick (e) {\n if (process.env.NODE_ENV !== 'production') {\n if (!e) {\n throw Object.defineProperty(new Error(`Component rendered inside next/link has to pass click event to \"onClick\" prop.`), \"__NEXT_ERROR_CODE\", {\n value: \"E312\",\n enumerable: false,\n configurable: true\n });\n }\n }\n if (!legacyBehavior && typeof onClick === 'function') {\n onClick(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onClick === 'function') {\n child.props.onClick(e);\n }\n if (!router) {\n return;\n }\n if (e.defaultPrevented) {\n return;\n }\n linkClicked(e, router, href, as, replace, shallow, scroll, locale, onNavigate);\n },\n onMouseEnter (e) {\n if (!legacyBehavior && typeof onMouseEnterProp === 'function') {\n onMouseEnterProp(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onMouseEnter === 'function') {\n child.props.onMouseEnter(e);\n }\n if (!router) {\n return;\n }\n prefetch(router, href, as, {\n locale,\n priority: true,\n // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}\n bypassPrefetchedCheck: true\n });\n },\n onTouchStart: process.env.__NEXT_LINK_NO_TOUCH_START ? undefined : function onTouchStart(e) {\n if (!legacyBehavior && typeof onTouchStartProp === 'function') {\n onTouchStartProp(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onTouchStart === 'function') {\n child.props.onTouchStart(e);\n }\n if (!router) {\n return;\n }\n prefetch(router, href, as, {\n locale,\n priority: true,\n // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}\n bypassPrefetchedCheck: true\n });\n }\n };\n // If the url is absolute, we can bypass the logic to prepend the domain and locale.\n if ((0, _utils.isAbsoluteUrl)(as)) {\n childProps.href = as;\n } else if (!legacyBehavior || passHref || child.type === 'a' && !('href' in child.props)) {\n const curLocale = typeof locale !== 'undefined' ? locale : router?.locale;\n // we only render domain locales if we are currently on a domain locale\n // so that locale links are still visitable in development/preview envs\n const localeDomain = router?.isLocaleDomain && (0, _getdomainlocale.getDomainLocale)(as, curLocale, router?.locales, router?.domainLocales);\n childProps.href = localeDomain || (0, _addbasepath.addBasePath)((0, _addlocale.addLocale)(as, curLocale, router?.defaultLocale));\n }\n if (legacyBehavior) {\n if (process.env.NODE_ENV === 'development') {\n const { errorOnce } = require('../shared/lib/utils/error-once');\n errorOnce('`legacyBehavior` is deprecated and will be removed in a future ' + 'release. A codemod is available to upgrade your components:\\n\\n' + 'npx @next/codemod@latest new-link .\\n\\n' + 'Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components');\n }\n return /*#__PURE__*/ _react.default.cloneElement(child, childProps);\n }\n return /*#__PURE__*/ (0, _jsxruntime.jsx)(\"a\", {\n ...restProps,\n ...childProps,\n children: children\n });\n});\nconst LinkStatusContext = /*#__PURE__*/ (0, _react.createContext)({\n // We do not support link status in the Pages Router, so we always return false\n pending: false\n});\nconst useLinkStatus = ()=>{\n // This behaviour is like React's useFormStatus. When the component is not under\n // a <form> tag, it will get the default value, instead of throwing an error.\n return (0, _react.useContext)(LinkStatusContext);\n};\nconst _default = Link;\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=link.js.map"],"names":["exports","require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8","require$$9","require$$10","require$$11","require$$12","require$$13"],"mappings":";;;;;;;;;;;;;;;;;;;;;;EAAA,YAAY;AAEZ,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AAKF,EAAA,SAAS,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE;AAC9B,MAAI,IAAI,IAAI,IAAI,IAAI,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE;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-path.js';
2
+ import { __require as requireNormalizeLocalePath$1 } from '../shared/lib/i18n/normalize-locale-path.js';
3
+
4
+ var hasRequiredNormalizeLocalePath;
5
+
6
+ function requireNormalizeLocalePath () {
7
+ if (hasRequiredNormalizeLocalePath) return normalizeLocalePath.exports;
8
+ hasRequiredNormalizeLocalePath = 1;
9
+ (function (module, exports$1) {
10
+ Object.defineProperty(exports$1, "__esModule", {
11
+ value: true
12
+ });
13
+ Object.defineProperty(exports$1, "normalizeLocalePath", {
14
+ enumerable: true,
15
+ get: function() {
16
+ return normalizeLocalePath;
17
+ }
18
+ });
19
+ const normalizeLocalePath = (pathname, locales)=>{
20
+ if (process.env.__NEXT_I18N_SUPPORT) {
21
+ return requireNormalizeLocalePath$1().normalizeLocalePath(pathname, locales);
22
+ }
23
+ return {
24
+ pathname,
25
+ detectedLocale: undefined
26
+ };
27
+ };
28
+
29
+ if ((typeof exports$1.default === 'function' || (typeof exports$1.default === 'object' && exports$1.default !== null)) && typeof exports$1.default.__esModule === 'undefined') {
30
+ Object.defineProperty(exports$1.default, '__esModule', { value: true });
31
+ Object.assign(exports$1.default, exports$1);
32
+ module.exports = exports$1.default;
33
+ }
34
+
35
+
36
+ } (normalizeLocalePath, normalizeLocalePath.exports));
37
+ return normalizeLocalePath.exports;
38
+ }
39
+
40
+ export { requireNormalizeLocalePath as __require };
41
+ //# sourceMappingURL=normalize-locale-path.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalize-locale-path.js","sources":["../../../../../node_modules/next/dist/client/normalize-locale-path.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"normalizeLocalePath\", {\n enumerable: true,\n get: function() {\n return normalizeLocalePath;\n }\n});\nconst normalizeLocalePath = (pathname, locales)=>{\n if (process.env.__NEXT_I18N_SUPPORT) {\n return require('../shared/lib/i18n/normalize-locale-path').normalizeLocalePath(pathname, locales);\n }\n return {\n pathname,\n detectedLocale: undefined\n };\n};\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=normalize-locale-path.js.map"],"names":["exports","require$$0"],"mappings":";;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAACA,SAAO,EAAE,qBAAqB,EAAE;MAClD,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,mBAAmB;AAClC,MAAA;AACA,GAAC,CAAC;AACF,EAAA,MAAM,mBAAmB,GAAG,CAAC,QAAQ,EAAE,OAAO,GAAG;AACjD,MAAI,IAAI,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE;UACjC,OAAOC,8BAAmD,CAAC,mBAAmB,CAAC,QAAQ,EAAE,OAAO,CAAC;AACzG,MAAA;AACA,MAAI,OAAO;AACX,UAAQ,QAAQ;AAChB,UAAQ,cAAc,EAAE;OACnB;EACL,CAAC;;AAED,EAAA,IAAI,CAAC,OAAOD,SAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAOA,SAAO,CAAC,OAAO,KAAK,QAAQ,IAAIA,SAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAOA,SAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAACA,SAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAACA,SAAO,CAAC,OAAO,EAAEA,SAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiBA,SAAO,CAAC,OAAO;AAClC,EAAA;;AAEA;;;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,52 @@
1
+ import { __module as normalizeTrailingSlash } from '../../../../_virtual/normalize-trailing-slash.js';
2
+ import { __require as requireRemoveTrailingSlash } from '../shared/lib/router/utils/remove-trailing-slash.js';
3
+ import { __require as requireParsePath } from '../shared/lib/router/utils/parse-path.js';
4
+
5
+ var hasRequiredNormalizeTrailingSlash;
6
+
7
+ function requireNormalizeTrailingSlash () {
8
+ if (hasRequiredNormalizeTrailingSlash) return normalizeTrailingSlash.exports;
9
+ hasRequiredNormalizeTrailingSlash = 1;
10
+ (function (module, exports$1) {
11
+ Object.defineProperty(exports$1, "__esModule", {
12
+ value: true
13
+ });
14
+ Object.defineProperty(exports$1, "normalizePathTrailingSlash", {
15
+ enumerable: true,
16
+ get: function() {
17
+ return normalizePathTrailingSlash;
18
+ }
19
+ });
20
+ const _removetrailingslash = requireRemoveTrailingSlash();
21
+ const _parsepath = requireParsePath();
22
+ const normalizePathTrailingSlash = (path)=>{
23
+ // 47 is the char code for '/'
24
+ if (path.charCodeAt(0) !== 47 || process.env.__NEXT_MANUAL_TRAILING_SLASH) {
25
+ return path;
26
+ }
27
+ const { pathname, query, hash } = (0, _parsepath.parsePath)(path);
28
+ if (process.env.__NEXT_TRAILING_SLASH) {
29
+ if (/\.[^/]+\/?$/.test(pathname)) {
30
+ return `${(0, _removetrailingslash.removeTrailingSlash)(pathname)}${query}${hash}`;
31
+ } else if (pathname.endsWith('/')) {
32
+ return `${pathname}${query}${hash}`;
33
+ } else {
34
+ return `${pathname}/${query}${hash}`;
35
+ }
36
+ }
37
+ return `${(0, _removetrailingslash.removeTrailingSlash)(pathname)}${query}${hash}`;
38
+ };
39
+
40
+ if ((typeof exports$1.default === 'function' || (typeof exports$1.default === 'object' && exports$1.default !== null)) && typeof exports$1.default.__esModule === 'undefined') {
41
+ Object.defineProperty(exports$1.default, '__esModule', { value: true });
42
+ Object.assign(exports$1.default, exports$1);
43
+ module.exports = exports$1.default;
44
+ }
45
+
46
+
47
+ } (normalizeTrailingSlash, normalizeTrailingSlash.exports));
48
+ return normalizeTrailingSlash.exports;
49
+ }
50
+
51
+ export { requireNormalizeTrailingSlash as __require };
52
+ //# sourceMappingURL=normalize-trailing-slash.js.map