lkd-web-kit 0.0.8 → 0.0.9

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 (444) hide show
  1. package/dist/index.cjs +1 -0
  2. package/dist/index.js +60 -1
  3. package/dist/index10.js +21 -0
  4. package/dist/index100.js +4 -0
  5. package/dist/index101.js +4 -0
  6. package/dist/index102.js +4 -0
  7. package/dist/index103.js +4 -0
  8. package/dist/index104.cjs +1 -0
  9. package/dist/index104.js +21 -0
  10. package/dist/index105.cjs +1 -0
  11. package/dist/index105.js +19 -0
  12. package/dist/index106.js +4 -0
  13. package/dist/index107.js +4 -0
  14. package/dist/index108.cjs +1 -0
  15. package/dist/index108.js +63 -0
  16. package/dist/index109.js +4 -0
  17. package/dist/index11.js +18 -0
  18. package/dist/index110.js +4 -0
  19. package/dist/index111.js +4 -0
  20. package/dist/index112.cjs +1 -0
  21. package/dist/index112.js +30 -0
  22. package/dist/index113.cjs +1 -0
  23. package/dist/index113.js +26 -0
  24. package/dist/index114.js +4 -0
  25. package/dist/index115.js +4 -0
  26. package/dist/index116.cjs +1 -0
  27. package/dist/index116.js +19 -0
  28. package/dist/index117.js +4 -0
  29. package/dist/index118.js +4 -0
  30. package/dist/index119.js +4 -0
  31. package/dist/index12.js +9 -0
  32. package/dist/index120.cjs +1 -0
  33. package/dist/index120.js +19 -0
  34. package/dist/index121.cjs +1 -0
  35. package/dist/index121.js +76 -0
  36. package/dist/index122.js +4 -0
  37. package/dist/index123.js +4 -0
  38. package/dist/index124.js +4 -0
  39. package/dist/index125.js +4 -0
  40. package/dist/index126.js +4 -0
  41. package/dist/index127.js +4 -0
  42. package/dist/index128.cjs +1 -0
  43. package/dist/index128.js +20 -0
  44. package/dist/index129.cjs +1 -0
  45. package/dist/index129.js +29 -0
  46. package/dist/index13.js +9 -0
  47. package/dist/index130.js +4 -0
  48. package/dist/index131.cjs +1 -0
  49. package/dist/index131.js +154 -0
  50. package/dist/index132.cjs +1 -0
  51. package/dist/index132.js +22 -0
  52. package/dist/index133.js +4 -0
  53. package/dist/index134.cjs +1 -0
  54. package/dist/index134.js +42 -0
  55. package/dist/index135.cjs +1 -0
  56. package/dist/index135.js +167 -0
  57. package/dist/index136.js +4 -0
  58. package/dist/index137.cjs +1 -0
  59. package/dist/index137.js +25 -0
  60. package/dist/index138.js +4 -0
  61. package/dist/index139.js +4 -0
  62. package/dist/index14.cjs +1 -0
  63. package/dist/index14.js +47 -0
  64. package/dist/index140.js +4 -0
  65. package/dist/index141.cjs +1 -0
  66. package/dist/index141.js +37 -0
  67. package/dist/index142.js +4 -0
  68. package/dist/index143.cjs +1 -0
  69. package/dist/index143.js +28 -0
  70. package/dist/index144.js +4 -0
  71. package/dist/index145.js +4 -0
  72. package/dist/index146.js +4 -0
  73. package/dist/index147.cjs +1 -0
  74. package/dist/index147.js +19 -0
  75. package/dist/index148.js +4 -0
  76. package/dist/index149.js +4 -0
  77. package/dist/index15.js +20 -0
  78. package/dist/index150.cjs +1 -0
  79. package/dist/index150.js +21 -0
  80. package/dist/index151.cjs +1 -0
  81. package/dist/index151.js +24 -0
  82. package/dist/index152.js +4 -0
  83. package/dist/index153.js +4 -0
  84. package/dist/index154.cjs +1 -0
  85. package/dist/index154.js +65 -0
  86. package/dist/index155.js +4 -0
  87. package/dist/index156.js +4 -0
  88. package/dist/index157.js +4 -0
  89. package/dist/index158.js +4 -0
  90. package/dist/index159.js +4 -0
  91. package/dist/index16.cjs +1 -0
  92. package/dist/index16.js +17 -0
  93. package/dist/index160.js +4 -0
  94. package/dist/index161.cjs +1 -0
  95. package/dist/index161.js +90 -0
  96. package/dist/index162.js +4 -0
  97. package/dist/index163.js +4 -0
  98. package/dist/index164.cjs +1 -0
  99. package/dist/index164.js +285 -0
  100. package/dist/index165.cjs +1 -0
  101. package/dist/index165.js +21 -0
  102. package/dist/index166.js +4 -0
  103. package/dist/index167.js +4 -0
  104. package/dist/index168.js +4 -0
  105. package/dist/index169.js +4 -0
  106. package/dist/index17.js +18 -0
  107. package/dist/index170.js +4 -0
  108. package/dist/index171.js +4 -0
  109. package/dist/index172.js +4 -0
  110. package/dist/index173.js +4 -0
  111. package/dist/index174.cjs +1 -0
  112. package/dist/index174.js +39 -0
  113. package/dist/index175.js +4 -0
  114. package/dist/index176.js +4 -0
  115. package/dist/index177.js +4 -0
  116. package/dist/index178.cjs +1 -0
  117. package/dist/index178.js +20 -0
  118. package/dist/index179.js +4 -0
  119. package/dist/index18.cjs +1 -0
  120. package/dist/index18.js +5 -0
  121. package/dist/index180.js +6 -0
  122. package/dist/index19.js +11 -0
  123. package/dist/index2.cjs +1 -0
  124. package/dist/index2.js +36 -0
  125. package/dist/index20.js +10 -0
  126. package/dist/index21.js +8 -0
  127. package/dist/index22.cjs +1 -0
  128. package/dist/index22.js +5 -0
  129. package/dist/index23.js +6 -0
  130. package/dist/index24.js +34 -0
  131. package/dist/index25.js +13 -0
  132. package/dist/index26.js +20 -0
  133. package/dist/index27.js +4 -0
  134. package/dist/index28.js +54 -0
  135. package/dist/index29.cjs +1 -0
  136. package/dist/index29.js +7 -0
  137. package/dist/index3.js +6 -0
  138. package/dist/index30.cjs +1 -0
  139. package/dist/index30.js +8 -0
  140. package/dist/{node_modules/next/dist/client/link.js → index31.cjs} +1 -1
  141. package/dist/index31.js +280 -0
  142. package/dist/index32.cjs +1 -0
  143. package/dist/index32.js +8 -0
  144. package/dist/index33.cjs +1 -0
  145. package/dist/index33.js +133 -0
  146. package/dist/index34.js +4 -0
  147. package/dist/index35.cjs +1 -0
  148. package/dist/index35.js +41 -0
  149. package/dist/index36.cjs +1 -0
  150. package/dist/index36.js +33 -0
  151. package/dist/index37.cjs +1 -0
  152. package/dist/index37.js +21 -0
  153. package/dist/index38.cjs +1 -0
  154. package/dist/index38.js +49 -0
  155. package/dist/index39.cjs +1 -0
  156. package/dist/index39.js +75 -0
  157. package/dist/index4.cjs +1 -0
  158. package/dist/index4.js +105 -0
  159. package/dist/index40.cjs +1 -0
  160. package/dist/index40.js +34 -0
  161. package/dist/index41.cjs +4 -0
  162. package/dist/index41.js +346 -0
  163. package/dist/index42.cjs +1 -0
  164. package/dist/index42.js +30 -0
  165. package/dist/index43.js +4 -0
  166. package/dist/index44.cjs +1 -0
  167. package/dist/index44.js +30 -0
  168. package/dist/index45.cjs +1 -0
  169. package/dist/index45.js +67 -0
  170. package/dist/index46.cjs +1 -0
  171. package/dist/index46.js +29 -0
  172. package/dist/index47.cjs +1 -0
  173. package/dist/index47.js +57 -0
  174. package/dist/index48.cjs +1 -0
  175. package/dist/index48.js +166 -0
  176. package/dist/{node_modules/next/dist/client/add-locale.js → index49.cjs} +1 -1
  177. package/dist/index49.js +25 -0
  178. package/dist/index5.cjs +1 -0
  179. package/dist/index5.js +35 -0
  180. package/dist/index50.cjs +1 -0
  181. package/dist/index50.js +21 -0
  182. package/dist/index51.cjs +1 -0
  183. package/dist/index51.js +85 -0
  184. package/dist/index52.cjs +1 -0
  185. package/dist/index52.js +33 -0
  186. package/dist/index53.cjs +1 -0
  187. package/dist/index53.js +24 -0
  188. package/dist/index54.cjs +1 -0
  189. package/dist/index54.js +44 -0
  190. package/dist/index55.cjs +1 -0
  191. package/dist/index55.js +25 -0
  192. package/dist/index56.js +4 -0
  193. package/dist/index57.cjs +1 -0
  194. package/dist/index57.js +13 -0
  195. package/dist/index58.js +4 -0
  196. package/dist/index59.js +4 -0
  197. package/dist/index6.js +4 -0
  198. package/dist/index60.js +4 -0
  199. package/dist/index61.js +4 -0
  200. package/dist/index62.cjs +1 -0
  201. package/dist/index62.js +80 -0
  202. package/dist/index63.cjs +1 -0
  203. package/dist/index63.js +41 -0
  204. package/dist/index64.cjs +1 -0
  205. package/dist/index64.js +28 -0
  206. package/dist/index65.cjs +1 -0
  207. package/dist/index65.js +34 -0
  208. package/dist/index66.cjs +1 -0
  209. package/dist/index66.js +34 -0
  210. package/dist/index67.cjs +1 -0
  211. package/dist/index67.js +21 -0
  212. package/dist/index68.js +4 -0
  213. package/dist/index69.js +4 -0
  214. package/dist/index7.js +4 -0
  215. package/dist/index70.cjs +1 -0
  216. package/dist/index70.js +36 -0
  217. package/dist/index71.cjs +1 -0
  218. package/dist/index71.js +36 -0
  219. package/dist/index72.cjs +1 -0
  220. package/dist/index72.js +102 -0
  221. package/dist/index73.cjs +1 -0
  222. package/dist/index73.js +19 -0
  223. package/dist/index74.cjs +1 -0
  224. package/dist/index74.js +62 -0
  225. package/dist/index75.cjs +1 -0
  226. package/dist/index75.js +30 -0
  227. package/dist/index76.cjs +1 -0
  228. package/dist/index76.js +45 -0
  229. package/dist/index77.js +4 -0
  230. package/dist/index78.cjs +1 -0
  231. package/dist/index78.js +35 -0
  232. package/dist/index79.js +4 -0
  233. package/dist/index8.cjs +1 -0
  234. package/dist/index8.js +47 -0
  235. package/dist/index80.js +4 -0
  236. package/dist/index81.cjs +1 -0
  237. package/dist/index81.js +64 -0
  238. package/dist/index82.cjs +1 -0
  239. package/dist/index82.js +23 -0
  240. package/dist/index83.cjs +1 -0
  241. package/dist/index83.js +26 -0
  242. package/dist/index84.cjs +1 -0
  243. package/dist/index84.js +32 -0
  244. package/dist/index85.cjs +1 -0
  245. package/dist/index85.js +49 -0
  246. package/dist/index86.js +4 -0
  247. package/dist/index87.cjs +1 -0
  248. package/dist/index87.js +23 -0
  249. package/dist/index88.js +4 -0
  250. package/dist/index89.js +4 -0
  251. package/dist/index9.js +15 -0
  252. package/dist/index90.js +4 -0
  253. package/dist/index91.cjs +1 -0
  254. package/dist/index91.js +25 -0
  255. package/dist/index92.js +4 -0
  256. package/dist/index93.js +4 -0
  257. package/dist/index94.cjs +1 -0
  258. package/dist/index94.js +40 -0
  259. package/dist/index95.js +4 -0
  260. package/dist/index96.cjs +1 -0
  261. package/dist/index96.js +23 -0
  262. package/dist/index97.cjs +1 -0
  263. package/dist/index97.js +25 -0
  264. package/dist/index98.js +4 -0
  265. package/dist/index99.cjs +1 -0
  266. package/dist/index99.js +25 -0
  267. package/package.json +3 -3
  268. package/dist/_virtual/link.js +0 -1
  269. package/dist/_virtual/navigation.js +0 -1
  270. package/dist/components/EmptyState/index.js +0 -1
  271. package/dist/components/NavItems.js +0 -1
  272. package/dist/components/SelectInfinity/index.js +0 -1
  273. package/dist/contexts/NavigationHistoryContext/index.js +0 -1
  274. package/dist/hocs/withForm.js +0 -1
  275. package/dist/hooks/useFetchNextPageOnScroll.js +0 -1
  276. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -1
  277. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -1
  278. package/dist/node_modules/next/dist/client/add-base-path.js +0 -1
  279. package/dist/node_modules/next/dist/client/components/app-router-headers.js +0 -1
  280. package/dist/node_modules/next/dist/client/components/bailout-to-client-rendering.js +0 -1
  281. package/dist/node_modules/next/dist/client/components/forbidden.js +0 -1
  282. package/dist/node_modules/next/dist/client/components/hooks-server-context.js +0 -1
  283. package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +0 -1
  284. package/dist/node_modules/next/dist/client/components/is-next-router-error.js +0 -1
  285. package/dist/node_modules/next/dist/client/components/navigation.js +0 -1
  286. package/dist/node_modules/next/dist/client/components/navigation.react-server.js +0 -1
  287. package/dist/node_modules/next/dist/client/components/not-found.js +0 -1
  288. package/dist/node_modules/next/dist/client/components/redirect-error.js +0 -1
  289. package/dist/node_modules/next/dist/client/components/redirect-status-code.js +0 -1
  290. package/dist/node_modules/next/dist/client/components/redirect.js +0 -1
  291. package/dist/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js +0 -1
  292. package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +0 -1
  293. package/dist/node_modules/next/dist/client/components/unauthorized.js +0 -1
  294. package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +0 -1
  295. package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +0 -1
  296. package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +0 -1
  297. package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -1
  298. package/dist/node_modules/next/dist/client/get-domain-locale.js +0 -1
  299. package/dist/node_modules/next/dist/client/has-base-path.js +0 -1
  300. package/dist/node_modules/next/dist/client/normalize-locale-path.js +0 -1
  301. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -1
  302. package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -1
  303. package/dist/node_modules/next/dist/client/resolve-href.js +0 -1
  304. package/dist/node_modules/next/dist/client/use-intersection.js +0 -1
  305. package/dist/node_modules/next/dist/client/use-merged-ref.js +0 -1
  306. package/dist/node_modules/next/dist/lib/constants.js +0 -1
  307. package/dist/node_modules/next/dist/lib/metadata/metadata-constants.js +0 -1
  308. package/dist/node_modules/next/dist/lib/scheduler.js +0 -1
  309. package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +0 -1
  310. package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +0 -1
  311. package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +0 -1
  312. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +0 -4
  313. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +0 -1
  314. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +0 -1
  315. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +0 -1
  316. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +0 -1
  317. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +0 -1
  318. package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +0 -1
  319. package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +0 -1
  320. package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -1
  321. package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +0 -1
  322. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -1
  323. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -1
  324. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +0 -1
  325. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -1
  326. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -1
  327. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -1
  328. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -1
  329. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -1
  330. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -1
  331. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -1
  332. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -1
  333. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -1
  334. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -1
  335. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -1
  336. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -1
  337. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -1
  338. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +0 -1
  339. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -1
  340. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -1
  341. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -1
  342. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -1
  343. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -1
  344. package/dist/node_modules/next/dist/shared/lib/segment.js +0 -1
  345. package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +0 -1
  346. package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +0 -1
  347. package/dist/node_modules/next/dist/shared/lib/utils.js +0 -1
  348. package/dist/node_modules/next/link.js +0 -1
  349. package/dist/node_modules/next/navigation.js +0 -1
  350. package/dist/utils/ky/addBodyJsonHook.js +0 -1
  351. /package/dist/{form/Form.js → index10.cjs} +0 -0
  352. /package/dist/{_virtual/add-base-path.js → index100.cjs} +0 -0
  353. /package/dist/{_virtual/_interop_require_default.js → index101.cjs} +0 -0
  354. /package/dist/{_virtual/_interop_require_wildcard.js → index102.cjs} +0 -0
  355. /package/dist/{_virtual/add-locale.js → index103.cjs} +0 -0
  356. /package/dist/{_virtual/app-router-headers.js → index106.cjs} +0 -0
  357. /package/dist/{_virtual/bailout-to-client-rendering.js → index107.cjs} +0 -0
  358. /package/dist/{_virtual/detect-domain-locale.js → index109.cjs} +0 -0
  359. /package/dist/{form/FormButtonSubmit.js → index11.cjs} +0 -0
  360. /package/dist/{_virtual/forbidden.js → index110.cjs} +0 -0
  361. /package/dist/{_virtual/get-domain-locale.js → index111.cjs} +0 -0
  362. /package/dist/{_virtual/action-async-storage-instance.js → index114.cjs} +0 -0
  363. /package/dist/{_virtual/action-async-storage.external.js → index115.cjs} +0 -0
  364. /package/dist/{_virtual/get-segment-value.js → index117.cjs} +0 -0
  365. /package/dist/{_virtual/has-base-path.js → index118.cjs} +0 -0
  366. /package/dist/{_virtual/add-locale2.js → index119.cjs} +0 -0
  367. /package/dist/{form/utils/zodValidator.js → index12.cjs} +0 -0
  368. /package/dist/{_virtual/add-path-prefix.js → index122.cjs} +0 -0
  369. /package/dist/{_virtual/constants.js → index123.cjs} +0 -0
  370. /package/dist/{_virtual/app-paths.js → index124.cjs} +0 -0
  371. /package/dist/{_virtual/app-router-context.shared-runtime.js → index125.cjs} +0 -0
  372. /package/dist/{_virtual/async-local-storage.js → index126.cjs} +0 -0
  373. /package/dist/{_virtual/hooks-server-context.js → index127.cjs} +0 -0
  374. /package/dist/{form/utils/nullableInput.js → index13.cjs} +0 -0
  375. /package/dist/{_virtual/bailout-to-csr.js → index130.cjs} +0 -0
  376. /package/dist/{_virtual/detect-domain-locale2.js → index133.cjs} +0 -0
  377. /package/dist/{_virtual/http-access-fallback.js → index136.cjs} +0 -0
  378. /package/dist/{_virtual/dynamic-rendering-utils.js → index138.cjs} +0 -0
  379. /package/dist/{_virtual/is-next-router-error.js → index139.cjs} +0 -0
  380. /package/dist/{_virtual/link2.js → index140.cjs} +0 -0
  381. /package/dist/{_virtual/navigation.react-server.js → index142.cjs} +0 -0
  382. /package/dist/{_virtual/dynamic-rendering.js → index144.cjs} +0 -0
  383. /package/dist/{_virtual/navigation2.js → index145.cjs} +0 -0
  384. /package/dist/{_virtual/ensure-leading-slash.js → index146.cjs} +0 -0
  385. /package/dist/{_virtual/normalize-locale-path.js → index148.cjs} +0 -0
  386. /package/dist/{_virtual/normalize-trailing-slash.js → index149.cjs} +0 -0
  387. /package/dist/{hocs/withModalManager.js → index15.cjs} +0 -0
  388. /package/dist/{_virtual/not-found.js → index152.cjs} +0 -0
  389. /package/dist/{_virtual/error-once.js → index153.cjs} +0 -0
  390. /package/dist/{_virtual/escape-regexp.js → index155.cjs} +0 -0
  391. /package/dist/{_virtual/redirect-error.js → index156.cjs} +0 -0
  392. /package/dist/{_virtual/format-url.js → index157.cjs} +0 -0
  393. /package/dist/{_virtual/hooks-client-context.shared-runtime.js → index158.cjs} +0 -0
  394. /package/dist/{_virtual/index.js → index159.cjs} +0 -0
  395. /package/dist/{_virtual/interception-routes.js → index160.cjs} +0 -0
  396. /package/dist/{_virtual/interpolate-as.js → index162.cjs} +0 -0
  397. /package/dist/{_virtual/is-dynamic.js → index163.cjs} +0 -0
  398. /package/dist/{_virtual/is-local-url.js → index166.cjs} +0 -0
  399. /package/dist/{_virtual/is-postpone.js → index167.cjs} +0 -0
  400. /package/dist/{_virtual/normalize-locale-path2.js → index168.cjs} +0 -0
  401. /package/dist/{_virtual/omit.js → index169.cjs} +0 -0
  402. /package/dist/{hooks/useOnScrollProgress.js → index17.cjs} +0 -0
  403. /package/dist/{_virtual/parse-path.js → index170.cjs} +0 -0
  404. /package/dist/{_virtual/redirect-status-code.js → index171.cjs} +0 -0
  405. /package/dist/{_virtual/path-has-prefix.js → index172.cjs} +0 -0
  406. /package/dist/{_virtual/querystring.js → index173.cjs} +0 -0
  407. /package/dist/{_virtual/metadata-constants.js → index175.cjs} +0 -0
  408. /package/dist/{_virtual/remove-trailing-slash.js → index176.cjs} +0 -0
  409. /package/dist/{_virtual/route-matcher.js → index177.cjs} +0 -0
  410. /package/dist/{_virtual/route-regex.js → index179.cjs} +0 -0
  411. /package/dist/{_virtual/_commonjsHelpers.js → index180.cjs} +0 -0
  412. /package/dist/{mantine/breakpointsWithPx.js → index19.cjs} +0 -0
  413. /package/dist/{mantine/toTailwindColors.js → index20.cjs} +0 -0
  414. /package/dist/{utils/formatBytes.js → index21.cjs} +0 -0
  415. /package/dist/{utils/ky/parseJson.js → index23.cjs} +0 -0
  416. /package/dist/{utils/array/groupBy.js → index24.cjs} +0 -0
  417. /package/dist/{utils/array/shuffleArray.js → index25.cjs} +0 -0
  418. /package/dist/{utils/newHref.js → index26.cjs} +0 -0
  419. /package/dist/{utils/isInfinityEmpty.js → index27.cjs} +0 -0
  420. /package/dist/{components/Icon.js → index28.cjs} +0 -0
  421. /package/dist/{components/InfinityLoader/index.js → index3.cjs} +0 -0
  422. /package/dist/{_virtual/redirect.js → index34.cjs} +0 -0
  423. /package/dist/{_virtual/request-idle-callback.js → index43.cjs} +0 -0
  424. /package/dist/{_virtual/router-context.shared-runtime.js → index56.cjs} +0 -0
  425. /package/dist/{_virtual/scheduler.js → index58.cjs} +0 -0
  426. /package/dist/{_virtual/resolve-href.js → index59.cjs} +0 -0
  427. /package/dist/{consts/http-status.js → index6.cjs} +0 -0
  428. /package/dist/{_virtual/segment.js → index60.cjs} +0 -0
  429. /package/dist/{_virtual/static-generation-bailout.js → index61.cjs} +0 -0
  430. /package/dist/{_virtual/server-inserted-html.shared-runtime.js → index68.cjs} +0 -0
  431. /package/dist/{_virtual/sorted-routes.js → index69.cjs} +0 -0
  432. /package/dist/{consts/revalidate.js → index7.cjs} +0 -0
  433. /package/dist/{_virtual/unauthorized.js → index77.cjs} +0 -0
  434. /package/dist/{_virtual/utils.js → index79.cjs} +0 -0
  435. /package/dist/{_virtual/unstable-rethrow.browser.js → index80.cjs} +0 -0
  436. /package/dist/{_virtual/work-async-storage-instance.js → index86.cjs} +0 -0
  437. /package/dist/{_virtual/work-async-storage.external.js → index88.cjs} +0 -0
  438. /package/dist/{_virtual/work-unit-async-storage-instance.js → index89.cjs} +0 -0
  439. /package/dist/{contexts/PageDataContext/index.js → index9.cjs} +0 -0
  440. /package/dist/{_virtual/unstable-rethrow.js → index90.cjs} +0 -0
  441. /package/dist/{_virtual/work-unit-async-storage.external.js → index92.cjs} +0 -0
  442. /package/dist/{_virtual/unstable-rethrow.server.js → index93.cjs} +0 -0
  443. /package/dist/{_virtual/use-intersection.js → index95.cjs} +0 -0
  444. /package/dist/{_virtual/use-merged-ref.js → index98.cjs} +0 -0
@@ -0,0 +1,4 @@
1
+ var a = {};
2
+ export {
3
+ a as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
@@ -0,0 +1,18 @@
1
+ import { useEffect as h } from "react";
2
+ const E = (o, l, r) => {
3
+ if (o < 0 || o > 1)
4
+ throw new Error("El porcentaje debe estar entre 0 y 1");
5
+ h(() => {
6
+ let e = !1;
7
+ const s = () => {
8
+ const c = r?.current, t = c ?? document.documentElement, i = t.scrollHeight - t.clientHeight, d = c ? t.scrollTop : window.scrollY, u = i > 0 ? Math.min(1, d / i) : 0;
9
+ !e && u >= o && (l(), e = !0);
10
+ }, n = r?.current ?? window;
11
+ return n.addEventListener("scroll", s), s(), () => {
12
+ n.removeEventListener("scroll", s);
13
+ };
14
+ }, [o, l, r]);
15
+ };
16
+ export {
17
+ E as useOnScrollProgress
18
+ };
@@ -0,0 +1,4 @@
1
+ var o = {};
2
+ export {
3
+ o as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = { exports: {} };
2
+ export {
3
+ r as __module
4
+ };
@@ -0,0 +1,4 @@
1
+ var a = {};
2
+ export {
3
+ a as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index177.cjs"),l=require("./index178.cjs"),d=require("./index38.cjs");var i;function q(){return i||(i=1,function(u){Object.defineProperty(u,"__esModule",{value:!0});function o(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}o(u,{normalizeAppPath:function(){return _},normalizeRscURL:function(){return f}});const s=l.__require(),c=d.__require();function _(t){return(0,s.ensureLeadingSlash)(t.split("/").reduce((e,r,p,a)=>!r||(0,c.isGroupSegment)(r)||r[0]==="@"||(r==="page"||r==="route")&&p===a.length-1?e:e+"/"+r,""))}function f(t){return t.replace(/\.rsc($|\?)/,"$1")}}(n.__exports)),n.__exports}exports.__require=q;
@@ -0,0 +1,39 @@
1
+ import { __exports as n } from "./index177.js";
2
+ import { __require as l } from "./index178.js";
3
+ import { __require as d } from "./index38.js";
4
+ var t;
5
+ function R() {
6
+ return t ? n : (t = 1, function(i) {
7
+ Object.defineProperty(i, "__esModule", {
8
+ value: !0
9
+ });
10
+ function o(u, e) {
11
+ for (var r in e) Object.defineProperty(u, r, {
12
+ enumerable: !0,
13
+ get: e[r]
14
+ });
15
+ }
16
+ o(i, {
17
+ normalizeAppPath: function() {
18
+ return a;
19
+ },
20
+ normalizeRscURL: function() {
21
+ return p;
22
+ }
23
+ });
24
+ const s = l(), f = d();
25
+ function a(u) {
26
+ return (0, s.ensureLeadingSlash)(u.split("/").reduce((e, r, c, _) => !r || (0, f.isGroupSegment)(r) || r[0] === "@" || (r === "page" || r === "route") && c === _.length - 1 ? e : e + "/" + r, ""));
27
+ }
28
+ function p(u) {
29
+ return u.replace(
30
+ /\.rsc($|\?)/,
31
+ // $1 ensures `?` is preserved
32
+ "$1"
33
+ );
34
+ }
35
+ }(n), n);
36
+ }
37
+ export {
38
+ R as __require
39
+ };
@@ -0,0 +1,4 @@
1
+ var s = {};
2
+ export {
3
+ s as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var a = {};
2
+ export {
3
+ a as __exports
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index179.cjs");var t;function i(){return t||(t=1,function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ensureLeadingSlash",{enumerable:!0,get:function(){return u}});function u(e){return e.startsWith("/")?e:"/"+e}}(r.__exports)),r.__exports}exports.__require=i;
@@ -0,0 +1,20 @@
1
+ import { __exports as r } from "./index179.js";
2
+ var u;
3
+ function s() {
4
+ return u ? r : (u = 1, function(n) {
5
+ Object.defineProperty(n, "__esModule", {
6
+ value: !0
7
+ }), Object.defineProperty(n, "ensureLeadingSlash", {
8
+ enumerable: !0,
9
+ get: function() {
10
+ return t;
11
+ }
12
+ });
13
+ function t(e) {
14
+ return e.startsWith("/") ? e : "/" + e;
15
+ }
16
+ }(r), r);
17
+ }
18
+ export {
19
+ s as __require
20
+ };
@@ -0,0 +1,4 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index32.cjs");var e=t.__require();exports.navigationExports=e;
@@ -0,0 +1,5 @@
1
+ import { __require as r } from "./index32.js";
2
+ var i = r();
3
+ export {
4
+ i as n
5
+ };
@@ -0,0 +1,6 @@
1
+ function e(t) {
2
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3
+ }
4
+ export {
5
+ e as getDefaultExportFromCjs
6
+ };
@@ -0,0 +1,11 @@
1
+ const x = {
2
+ xs: "576px",
3
+ sm: "640px",
4
+ md: "768px",
5
+ lg: "1024px",
6
+ xl: "1280px",
7
+ "2xl": "1536px"
8
+ };
9
+ export {
10
+ x as breakpointsWithPx
11
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("clsx"),a=require("./index28.cjs"),o={sm:48,md:60,lg:84},m=({label:t,action:s,icon:r,className:c,size:i="md",...l})=>e.jsxs("div",{className:n("justfiy-center flex flex-col items-center gap-1",c),...l,children:[e.jsx(a,{i:r,size:o[i],className:"text-gray-2"}),e.jsx("p",{className:"text-gray-6 text-sm font-semibold",children:t}),e.jsx("div",{children:s})]});exports.EmptyState=m;
package/dist/index2.js ADDED
@@ -0,0 +1,36 @@
1
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
+ import l from "clsx";
3
+ import a from "./index28.js";
4
+ const n = {
5
+ sm: 48,
6
+ md: 60,
7
+ lg: 84
8
+ }, f = ({
9
+ label: t,
10
+ action: s,
11
+ icon: m,
12
+ className: r,
13
+ size: i = "md",
14
+ ...c
15
+ }) => /* @__PURE__ */ o(
16
+ "div",
17
+ {
18
+ className: l("justfiy-center flex flex-col items-center gap-1", r),
19
+ ...c,
20
+ children: [
21
+ /* @__PURE__ */ e(
22
+ a,
23
+ {
24
+ i: m,
25
+ size: n[i],
26
+ className: "text-gray-2"
27
+ }
28
+ ),
29
+ /* @__PURE__ */ e("p", { className: "text-gray-6 text-sm font-semibold", children: t }),
30
+ /* @__PURE__ */ e("div", { children: s })
31
+ ]
32
+ }
33
+ );
34
+ export {
35
+ f as EmptyState
36
+ };
@@ -0,0 +1,10 @@
1
+ const i = (t) => Object.entries(t).reduce(
2
+ (e, [n, o]) => (e[n] = o.reduce(
3
+ (r, u, d) => (r[d] = u, r),
4
+ {}
5
+ ), e),
6
+ {}
7
+ );
8
+ export {
9
+ i as toTailwindColors
10
+ };
@@ -0,0 +1,8 @@
1
+ function e(t, o = 2) {
2
+ if (!+t) return "0 Bytes";
3
+ const n = 1024, s = o < 0 ? 0 : o, a = ["Bytes", "KB", "MB"], r = Math.floor(Math.log(t) / Math.log(n));
4
+ return `${parseFloat((t / Math.pow(n, r)).toFixed(s))} ${a[r]}`;
5
+ }
6
+ export {
7
+ e as formatBytes
8
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index23.cjs"),e=async o=>(o.response.bodyJson=await s.parseJSON(o.response),o);exports.addBodyJsonHook=e;
@@ -0,0 +1,5 @@
1
+ import { parseJSON as s } from "./index23.js";
2
+ const a = async (o) => (o.response.bodyJson = await s(o.response), o);
3
+ export {
4
+ a as addBodyJsonHook
5
+ };
@@ -0,0 +1,6 @@
1
+ const e = async (r) => r.text().then(function(n) {
2
+ return n ? JSON.parse(n) : {};
3
+ });
4
+ export {
5
+ e as parseJSON
6
+ };
@@ -0,0 +1,34 @@
1
+ function t(e, f, u) {
2
+ return u ? e.reduce(
3
+ (n, r) => {
4
+ const o = f(r);
5
+ return o === void 0 || (n[o] = u(r)), n;
6
+ },
7
+ {}
8
+ ) : e.reduce(
9
+ (n, r) => {
10
+ const o = f(r);
11
+ return o === void 0 || (n[o] = r), n;
12
+ },
13
+ {}
14
+ );
15
+ }
16
+ const s = (e, f) => {
17
+ const u = {};
18
+ return e?.forEach((n) => {
19
+ const r = f(n);
20
+ if (r !== null) {
21
+ if (Array.isArray(r)) {
22
+ r.forEach((o) => {
23
+ u[o] || (u[o] = []), u[o]?.push(n);
24
+ });
25
+ return;
26
+ }
27
+ u[r] || (u[r] = []), u[r]?.push(n);
28
+ }
29
+ }), u;
30
+ };
31
+ export {
32
+ s as groupBy,
33
+ t as indexBy
34
+ };
@@ -0,0 +1,13 @@
1
+ const o = (t) => {
2
+ const r = [...t];
3
+ let e = r.length, n;
4
+ for (; e > 0; )
5
+ n = Math.floor(Math.random() * e), e--, [r[e], r[n]] = [
6
+ r[n],
7
+ r[e]
8
+ ];
9
+ return r;
10
+ };
11
+ export {
12
+ o as shuffleArray
13
+ };
@@ -0,0 +1,20 @@
1
+ import a from "query-string";
2
+ const n = (r) => (t) => {
3
+ const e = typeof r == "string" ? r : r(
4
+ t ?? {
5
+ params: {},
6
+ searchParams: {}
7
+ }
8
+ );
9
+ if (t?.searchParams) {
10
+ const s = a.stringify(t.searchParams, {
11
+ skipEmptyString: !0,
12
+ skipNull: !0
13
+ });
14
+ return `${e}${s ? `?${s}` : ""}`;
15
+ }
16
+ return e;
17
+ };
18
+ export {
19
+ n as newHref
20
+ };
@@ -0,0 +1,4 @@
1
+ const n = (t) => t?.pages[0].data.length === 0;
2
+ export {
3
+ n as isInfinityEmpty
4
+ };
@@ -0,0 +1,54 @@
1
+ "use client";
2
+ import { jsx as s } from "react/jsx-runtime";
3
+ import d from "clsx";
4
+ const n = ({
5
+ i: h,
6
+ size: t = "md",
7
+ style: e,
8
+ rotate: i,
9
+ className: o,
10
+ ...r
11
+ }) => /* @__PURE__ */ s(
12
+ h,
13
+ {
14
+ ...typeof t == "number" ? {
15
+ height: t,
16
+ width: t
17
+ } : m[t],
18
+ viewBox: "0 0 24 24",
19
+ style: {
20
+ ...e,
21
+ transform: `rotate(${i}deg)`
22
+ },
23
+ className: d("shrink-0", o),
24
+ ...r
25
+ }
26
+ ), m = {
27
+ xs: {
28
+ height: 16,
29
+ width: 16
30
+ },
31
+ sm: {
32
+ height: 20,
33
+ width: 20
34
+ },
35
+ md: {
36
+ height: 24,
37
+ width: 24
38
+ },
39
+ lg: {
40
+ height: 28,
41
+ width: 28
42
+ },
43
+ xl: {
44
+ height: 32,
45
+ width: 32
46
+ },
47
+ "2xl": {
48
+ height: 40,
49
+ width: 40
50
+ }
51
+ };
52
+ export {
53
+ n as default
54
+ };
@@ -0,0 +1 @@
1
+ "use strict";const r=require("./index180.cjs"),e=require("./index30.cjs");var s=e.__require();const t=r.getDefaultExportFromCjs(s);module.exports=t;
@@ -0,0 +1,7 @@
1
+ import { getDefaultExportFromCjs as r } from "./index180.js";
2
+ import { __require as o } from "./index30.js";
3
+ var t = o();
4
+ const a = /* @__PURE__ */ r(t);
5
+ export {
6
+ a as default
7
+ };
package/dist/index3.js ADDED
@@ -0,0 +1,6 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { Center as a, Loader as s } from "@mantine/core";
3
+ const m = ({ infinity: e, loaderProps: o, ...t }) => /* @__PURE__ */ r(a, { ...t, children: e.isFetching ? /* @__PURE__ */ r(s, { ...o }) : !e.hasNextPage && (e.data?.pages.length ?? 0) > 1 && /* @__PURE__ */ r("p", { children: "No hay más resultados" }) });
4
+ export {
5
+ m as InfinityLoader
6
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index31.cjs");var e,r;function n(){return r||(r=1,e=i.__require()),e}exports.__require=n;
@@ -0,0 +1,8 @@
1
+ import { __require as i } from "./index31.js";
2
+ var r, e;
3
+ function u() {
4
+ return e || (e = 1, r = i()), r;
5
+ }
6
+ export {
7
+ u as __require
8
+ };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../../_virtual/link2.js"),de=require("../../../@swc/helpers/cjs/_interop_require_wildcard.js"),pe=require("react/jsx-runtime"),he=require("react"),_e=require("./resolve-href.js"),ve=require("../shared/lib/router/utils/is-local-url.js"),Ee=require("../shared/lib/router/utils/format-url.js"),be=require("../shared/lib/utils.js"),ge=require("./add-locale.js"),me=require("../shared/lib/router-context.shared-runtime.js"),we=require("./use-intersection.js"),qe=require("./get-domain-locale.js"),ye=require("./add-base-path.js"),Pe=require("./use-merged-ref.js"),Ce=require("../shared/lib/utils/error-once.js");var I;function Oe(){return I||(I=1,function(K,d){"use client";Object.defineProperty(d,"__esModule",{value:!0});function X(t,n){for(var c in n)Object.defineProperty(t,c,{enumerable:!0,get:n[c]})}X(d,{default:function(){return se},useLinkStatus:function(){return ie}});const $=de.__require(),L=pe,a=$._(he),N=_e.__require(),T=ve.__require(),G=Ee.__require(),F=be.__require(),W=ge.__require(),z=me.__require(),J=we.__require(),Q=qe.__require(),Y=ye.__require(),Z=Pe.__require(),ee=Ce.__require(),x=new Set;function y(t,n,c,i){if(!(typeof window>"u")&&(0,T.isLocalURL)(n)){if(!i.bypassPrefetchedCheck){const u=typeof i.locale<"u"?i.locale:"locale"in t?t.locale:void 0,p=n+"%"+c+"%"+u;if(x.has(p))return;x.add(p)}t.prefetch(n,c,i).catch(u=>{if(process.env.NODE_ENV!=="production")throw u})}}function re(t){const c=t.currentTarget.getAttribute("target");return c&&c!=="_self"||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&t.nativeEvent.which===2}function te(t,n,c,i,u,p,g,P,m){const{nodeName:C}=t.currentTarget;if(C.toUpperCase()==="A"&&re(t)||t.currentTarget.hasAttribute("download"))return;if(!(0,T.isLocalURL)(c)){u&&(t.preventDefault(),location.replace(c));return}t.preventDefault(),(()=>{if(m){let b=!1;if(m({preventDefault:()=>{b=!0}}),b)return}const h=g??!0;"beforePopState"in n?n[u?"replace":"push"](c,i,{shallow:p,locale:P,scroll:h}):n[u?"replace":"push"](i||c,{scroll:h})})()}function j(t){return typeof t=="string"?t:(0,G.formatUrl)(t)}const oe=a.default.forwardRef(function(n,c){let i;const{href:u,as:p,children:g,prefetch:P=null,passHref:m,replace:C,shallow:D,scroll:M,locale:h,onClick:b,onNavigate:ce,onMouseEnter:O,onTouchStart:k,legacyBehavior:f=!1,...ue}=n;i=g,f&&(typeof i=="string"||typeof i=="number")&&(i=(0,L.jsx)("a",{children:i}));const r=a.default.useContext(z.RouterContext),S=P!==!1;if(process.env.NODE_ENV!=="production"){let o=function(e){return Object.defineProperty(new Error("Failed prop type: The prop `"+e.key+"` expects a "+e.expected+" in `<Link>`, but got `"+e.actual+"` instead."+(typeof window<"u"?`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("./index43.cjs"),de=require("./index44.cjs"),pe=require("react/jsx-runtime"),he=require("react"),_e=require("./index45.cjs"),ve=require("./index46.cjs"),Ee=require("./index47.cjs"),be=require("./index48.cjs"),ge=require("./index49.cjs"),me=require("./index50.cjs"),we=require("./index51.cjs"),qe=require("./index52.cjs"),ye=require("./index53.cjs"),Pe=require("./index54.cjs"),Ce=require("./index55.cjs");var I;function Oe(){return I||(I=1,function(K,d){"use client";Object.defineProperty(d,"__esModule",{value:!0});function X(t,n){for(var c in n)Object.defineProperty(t,c,{enumerable:!0,get:n[c]})}X(d,{default:function(){return se},useLinkStatus:function(){return ie}});const $=de.__require(),L=pe,a=$._(he),N=_e.__require(),T=ve.__require(),G=Ee.__require(),F=be.__require(),W=ge.__require(),z=me.__require(),J=we.__require(),Q=qe.__require(),Y=ye.__require(),Z=Pe.__require(),ee=Ce.__require(),x=new Set;function y(t,n,c,i){if(!(typeof window>"u")&&(0,T.isLocalURL)(n)){if(!i.bypassPrefetchedCheck){const u=typeof i.locale<"u"?i.locale:"locale"in t?t.locale:void 0,p=n+"%"+c+"%"+u;if(x.has(p))return;x.add(p)}t.prefetch(n,c,i).catch(u=>{if(process.env.NODE_ENV!=="production")throw u})}}function re(t){const c=t.currentTarget.getAttribute("target");return c&&c!=="_self"||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&t.nativeEvent.which===2}function te(t,n,c,i,u,p,g,P,m){const{nodeName:C}=t.currentTarget;if(C.toUpperCase()==="A"&&re(t)||t.currentTarget.hasAttribute("download"))return;if(!(0,T.isLocalURL)(c)){u&&(t.preventDefault(),location.replace(c));return}t.preventDefault(),(()=>{if(m){let b=!1;if(m({preventDefault:()=>{b=!0}}),b)return}const h=g??!0;"beforePopState"in n?n[u?"replace":"push"](c,i,{shallow:p,locale:P,scroll:h}):n[u?"replace":"push"](i||c,{scroll:h})})()}function j(t){return typeof t=="string"?t:(0,G.formatUrl)(t)}const oe=a.default.forwardRef(function(n,c){let i;const{href:u,as:p,children:g,prefetch:P=null,passHref:m,replace:C,shallow:D,scroll:M,locale:h,onClick:b,onNavigate:ce,onMouseEnter:O,onTouchStart:k,legacyBehavior:f=!1,...ue}=n;i=g,f&&(typeof i=="string"||typeof i=="number")&&(i=(0,L.jsx)("a",{children:i}));const r=a.default.useContext(z.RouterContext),S=P!==!1;if(process.env.NODE_ENV!=="production"){let o=function(e){return Object.defineProperty(new Error("Failed prop type: The prop `"+e.key+"` expects a "+e.expected+" in `<Link>`, but got `"+e.actual+"` instead."+(typeof window<"u"?`
2
2
  Open your browser's console to view the Component stack trace.`:"")),"__NEXT_ERROR_CODE",{value:"E319",enumerable:!1,configurable:!0})};Object.keys({href:!0}).forEach(e=>{if(e==="href"&&(n[e]==null||typeof n[e]!="string"&&typeof n[e]!="object"))throw o({key:e,expected:"`string` or `object`",actual:n[e]===null?"null":typeof n[e]})}),Object.keys({as:!0,replace:!0,scroll:!0,shallow:!0,passHref:!0,prefetch:!0,locale:!0,onClick:!0,onMouseEnter:!0,onTouchStart:!0,legacyBehavior:!0,onNavigate:!0}).forEach(e=>{const v=typeof n[e];if(e==="as"){if(n[e]&&v!=="string"&&v!=="object")throw o({key:e,expected:"`string` or `object`",actual:v})}else if(e==="locale"){if(n[e]&&v!=="string")throw o({key:e,expected:"`string`",actual:v})}else if(e==="onClick"||e==="onMouseEnter"||e==="onTouchStart"||e==="onNavigate"){if(n[e]&&v!=="function")throw o({key:e,expected:"`function`",actual:v})}else if((e==="replace"||e==="scroll"||e==="shallow"||e==="passHref"||e==="prefetch"||e==="legacyBehavior")&&n[e]!=null&&v!=="boolean")throw o({key:e,expected:"`boolean`",actual:v})})}const{href:_,as:l}=a.default.useMemo(()=>{if(!r){const R=j(u);return{href:R,as:p?j(p):R}}const[o,E]=(0,N.resolveHref)(r,u,!0);return{href:o,as:p?(0,N.resolveHref)(r,p):E||o}},[r,u,p]),A=a.default.useRef(_),H=a.default.useRef(l);let s;if(f)if(process.env.NODE_ENV==="development"){b&&console.warn('"onClick" was passed to <Link> with `href` of `'+u+'` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link'),O&&console.warn('"onMouseEnter" was passed to <Link> with `href` of `'+u+'` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');try{s=a.default.Children.only(i)}catch{throw i?Object.defineProperty(new Error("Multiple children were passed to <Link> with `href` of `"+u+"` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children"+(typeof window<"u"?`
3
3
  Open your browser's console to view the Component stack trace.`:"")),"__NEXT_ERROR_CODE",{value:"E266",enumerable:!1,configurable:!0}):Object.defineProperty(new Error("No children were passed to <Link> with `href` of `"+u+"` but one child is required https://nextjs.org/docs/messages/link-no-children"),"__NEXT_ERROR_CODE",{value:"E320",enumerable:!1,configurable:!0})}}else s=a.default.Children.only(i);else if(process.env.NODE_ENV==="development"&&i?.type==="a")throw Object.defineProperty(new Error(`Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
4
4
  Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`),"__NEXT_ERROR_CODE",{value:"E209",enumerable:!1,configurable:!0});const le=f?s&&typeof s=="object"&&s.ref:c,[B,U,V]=(0,J.useIntersection)({rootMargin:"200px"}),ae=a.default.useCallback(o=>{(H.current!==l||A.current!==_)&&(V(),H.current=l,A.current=_),B(o)},[l,_,V,B]),fe=(0,Z.useMergedRef)(ae,le);a.default.useEffect(()=>{process.env.NODE_ENV==="production"&&r&&(!U||!S||y(r,_,l,{locale:h}))},[l,_,U,h,S,r?.locale,r]);const w={ref:fe,onClick(o){if(process.env.NODE_ENV!=="production"&&!o)throw Object.defineProperty(new Error('Component rendered inside next/link has to pass click event to "onClick" prop.'),"__NEXT_ERROR_CODE",{value:"E312",enumerable:!1,configurable:!0});!f&&typeof b=="function"&&b(o),f&&s.props&&typeof s.props.onClick=="function"&&s.props.onClick(o),r&&(o.defaultPrevented||te(o,r,_,l,C,D,M,h,ce))},onMouseEnter(o){!f&&typeof O=="function"&&O(o),f&&s.props&&typeof s.props.onMouseEnter=="function"&&s.props.onMouseEnter(o),r&&y(r,_,l,{locale:h,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:process.env.__NEXT_LINK_NO_TOUCH_START?void 0:function(E){!f&&typeof k=="function"&&k(E),f&&s.props&&typeof s.props.onTouchStart=="function"&&s.props.onTouchStart(E),r&&y(r,_,l,{locale:h,priority:!0,bypassPrefetchedCheck:!0})}};if((0,F.isAbsoluteUrl)(l))w.href=l;else if(!f||m||s.type==="a"&&!("href"in s.props)){const o=typeof h<"u"?h:r?.locale,E=r?.isLocaleDomain&&(0,Q.getDomainLocale)(l,o,r?.locales,r?.domainLocales);w.href=E||(0,Y.addBasePath)((0,W.addLocale)(l,o,r?.defaultLocale))}return f?(process.env.NODE_ENV==="development"&&(0,ee.errorOnce)(`\`legacyBehavior\` is deprecated and will be removed in a future release. A codemod is available to upgrade your components: