lkd-web-kit 0.0.9 → 0.0.10

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 (447) hide show
  1. package/dist/_virtual/link.cjs +1 -0
  2. package/dist/_virtual/link.js +7 -0
  3. package/dist/_virtual/navigation.cjs +1 -0
  4. package/dist/_virtual/navigation.js +5 -0
  5. package/dist/components/EmptyState/index.cjs +1 -0
  6. package/dist/{index2.js → components/EmptyState/index.js} +1 -1
  7. package/dist/components/NavItems.cjs +1 -0
  8. package/dist/{index5.js → components/NavItems.js} +11 -10
  9. package/dist/components/SelectInfinity/index.cjs +1 -0
  10. package/dist/{index4.js → components/SelectInfinity/index.js} +22 -21
  11. package/dist/contexts/NavigationHistoryContext/index.cjs +1 -0
  12. package/dist/{index8.js → contexts/NavigationHistoryContext/index.js} +1 -1
  13. package/dist/hocs/withForm.cjs +1 -0
  14. package/dist/{index14.js → hocs/withForm.js} +1 -1
  15. package/dist/hocs/withModalManager.cjs +1 -0
  16. package/dist/hocs/withModalManager.js +28 -0
  17. package/dist/hooks/useFetchNextPageOnScroll.cjs +1 -0
  18. package/dist/{index16.js → hooks/useFetchNextPageOnScroll.js} +1 -1
  19. package/dist/index.cjs +1 -1
  20. package/dist/index.js +26 -26
  21. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +1 -0
  22. package/dist/{index57.js → node_modules/@swc/helpers/cjs/_interop_require_default.js} +1 -1
  23. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +1 -0
  24. package/dist/{index44.js → node_modules/@swc/helpers/cjs/_interop_require_wildcard.js} +1 -1
  25. package/dist/node_modules/next/dist/client/add-base-path.cjs +1 -0
  26. package/dist/{index53.js → node_modules/next/dist/client/add-base-path.js} +3 -3
  27. package/dist/node_modules/next/dist/client/add-locale.cjs +1 -0
  28. package/dist/{index49.js → node_modules/next/dist/client/add-locale.js} +3 -3
  29. package/dist/node_modules/next/dist/client/components/app-router-headers.cjs +1 -0
  30. package/dist/{index121.js → node_modules/next/dist/client/components/app-router-headers.js} +1 -1
  31. package/dist/node_modules/next/dist/client/components/bailout-to-client-rendering.cjs +1 -0
  32. package/dist/{index42.js → node_modules/next/dist/client/components/bailout-to-client-rendering.js} +3 -3
  33. package/dist/node_modules/next/dist/client/components/forbidden.cjs +1 -0
  34. package/dist/{index65.js → node_modules/next/dist/client/components/forbidden.js} +2 -2
  35. package/dist/node_modules/next/dist/client/components/hooks-server-context.cjs +1 -0
  36. package/dist/{index70.js → node_modules/next/dist/client/components/hooks-server-context.js} +1 -1
  37. package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.cjs +1 -0
  38. package/dist/{index108.js → node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js} +1 -1
  39. package/dist/node_modules/next/dist/client/components/is-next-router-error.cjs +1 -0
  40. package/dist/{index151.js → node_modules/next/dist/client/components/is-next-router-error.js} +3 -3
  41. package/dist/node_modules/next/dist/client/components/navigation.cjs +1 -0
  42. package/dist/{index33.js → node_modules/next/dist/client/components/navigation.js} +9 -9
  43. package/dist/{index39.cjs → node_modules/next/dist/client/components/navigation.react-server.cjs} +1 -1
  44. package/dist/{index39.js → node_modules/next/dist/client/components/navigation.react-server.js} +7 -7
  45. package/dist/node_modules/next/dist/client/components/not-found.cjs +1 -0
  46. package/dist/{index64.js → node_modules/next/dist/client/components/not-found.js} +2 -2
  47. package/dist/node_modules/next/dist/client/components/redirect-error.cjs +1 -0
  48. package/dist/{index63.js → node_modules/next/dist/client/components/redirect-error.js} +2 -2
  49. package/dist/node_modules/next/dist/client/components/redirect-status-code.cjs +1 -0
  50. package/dist/{index104.js → node_modules/next/dist/client/components/redirect-status-code.js} +1 -1
  51. package/dist/node_modules/next/dist/client/components/redirect.cjs +1 -0
  52. package/dist/{index62.js → node_modules/next/dist/client/components/redirect.js} +4 -4
  53. package/dist/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.cjs +1 -0
  54. package/dist/{index37.js → node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js} +1 -1
  55. package/dist/node_modules/next/dist/client/components/static-generation-bailout.cjs +1 -0
  56. package/dist/{index71.js → node_modules/next/dist/client/components/static-generation-bailout.js} +1 -1
  57. package/dist/node_modules/next/dist/client/components/unauthorized.cjs +1 -0
  58. package/dist/{index66.js → node_modules/next/dist/client/components/unauthorized.js} +2 -2
  59. package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.cjs +1 -0
  60. package/dist/{index113.js → node_modules/next/dist/client/components/unstable-rethrow.browser.js} +3 -3
  61. package/dist/node_modules/next/dist/client/components/unstable-rethrow.cjs +1 -0
  62. package/dist/{index67.js → node_modules/next/dist/client/components/unstable-rethrow.js} +3 -3
  63. package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.cjs +1 -0
  64. package/dist/{index112.js → node_modules/next/dist/client/components/unstable-rethrow.server.js} +7 -7
  65. package/dist/node_modules/next/dist/client/detect-domain-locale.cjs +1 -0
  66. package/dist/{index97.js → node_modules/next/dist/client/detect-domain-locale.js} +2 -2
  67. package/dist/node_modules/next/dist/client/get-domain-locale.cjs +1 -0
  68. package/dist/{index52.js → node_modules/next/dist/client/get-domain-locale.js} +4 -4
  69. package/dist/node_modules/next/dist/client/has-base-path.cjs +1 -0
  70. package/dist/{index87.js → node_modules/next/dist/client/has-base-path.js} +2 -2
  71. package/dist/{index31.cjs → node_modules/next/dist/client/link.cjs} +1 -1
  72. package/dist/{index31.js → node_modules/next/dist/client/link.js} +13 -13
  73. package/dist/node_modules/next/dist/client/normalize-locale-path.cjs +1 -0
  74. package/dist/{index96.js → node_modules/next/dist/client/normalize-locale-path.js} +2 -2
  75. package/dist/node_modules/next/dist/client/normalize-trailing-slash.cjs +1 -0
  76. package/dist/{index83.js → node_modules/next/dist/client/normalize-trailing-slash.js} +3 -3
  77. package/dist/node_modules/next/dist/client/request-idle-callback.cjs +1 -0
  78. package/dist/{index94.js → node_modules/next/dist/client/request-idle-callback.js} +1 -1
  79. package/dist/node_modules/next/dist/client/resolve-href.cjs +1 -0
  80. package/dist/{index45.js → node_modules/next/dist/client/resolve-href.js} +9 -9
  81. package/dist/node_modules/next/dist/client/use-intersection.cjs +1 -0
  82. package/dist/{index51.js → node_modules/next/dist/client/use-intersection.js} +2 -2
  83. package/dist/node_modules/next/dist/client/use-merged-ref.cjs +1 -0
  84. package/dist/{index54.js → node_modules/next/dist/client/use-merged-ref.js} +1 -1
  85. package/dist/node_modules/next/dist/lib/constants.cjs +1 -0
  86. package/dist/{index164.js → node_modules/next/dist/lib/constants.js} +1 -1
  87. package/dist/node_modules/next/dist/lib/metadata/metadata-constants.cjs +1 -0
  88. package/dist/{index75.js → node_modules/next/dist/lib/metadata/metadata-constants.js} +1 -1
  89. package/dist/node_modules/next/dist/lib/scheduler.cjs +1 -0
  90. package/dist/{index76.js → node_modules/next/dist/lib/scheduler.js} +1 -1
  91. package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.cjs +1 -0
  92. package/dist/{index147.js → node_modules/next/dist/server/app-render/action-async-storage-instance.js} +2 -2
  93. package/dist/{index105.cjs → node_modules/next/dist/server/app-render/action-async-storage.external.cjs} +1 -1
  94. package/dist/{index105.js → node_modules/next/dist/server/app-render/action-async-storage.external.js} +2 -2
  95. package/dist/node_modules/next/dist/server/app-render/async-local-storage.cjs +1 -0
  96. package/dist/{index154.js → node_modules/next/dist/server/app-render/async-local-storage.js} +1 -1
  97. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.cjs +4 -0
  98. package/dist/{index41.js → node_modules/next/dist/server/app-render/dynamic-rendering.js} +8 -8
  99. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.cjs +1 -0
  100. package/dist/{index116.js → node_modules/next/dist/server/app-render/work-async-storage-instance.js} +2 -2
  101. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.cjs +1 -0
  102. package/dist/{index73.js → node_modules/next/dist/server/app-render/work-async-storage.external.js} +2 -2
  103. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.cjs +1 -0
  104. package/dist/{index120.js → node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js} +2 -2
  105. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.cjs +1 -0
  106. package/dist/{index72.js → node_modules/next/dist/server/app-render/work-unit-async-storage.external.js} +3 -3
  107. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.cjs +1 -0
  108. package/dist/{index74.js → node_modules/next/dist/server/dynamic-rendering-utils.js} +1 -1
  109. package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.cjs +1 -0
  110. package/dist/{index150.js → node_modules/next/dist/server/lib/router-utils/is-postpone.js} +1 -1
  111. package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.cjs +1 -0
  112. package/dist/{index35.js → node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js} +2 -2
  113. package/dist/node_modules/next/dist/shared/lib/escape-regexp.cjs +1 -0
  114. package/dist/{index165.js → node_modules/next/dist/shared/lib/escape-regexp.js} +1 -1
  115. package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.cjs +1 -0
  116. package/dist/{index36.js → node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js} +1 -1
  117. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.cjs +1 -0
  118. package/dist/{index143.js → node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js} +1 -1
  119. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.cjs +1 -0
  120. package/dist/{index141.js → node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js} +1 -1
  121. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.cjs +1 -0
  122. package/dist/{index78.js → node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js} +1 -1
  123. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.cjs +1 -0
  124. package/dist/{index178.js → node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js} +1 -1
  125. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.cjs +1 -0
  126. package/dist/{index91.js → node_modules/next/dist/shared/lib/router/utils/add-locale.js} +3 -3
  127. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.cjs +1 -0
  128. package/dist/{index99.js → node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js} +2 -2
  129. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.cjs +1 -0
  130. package/dist/{index174.js → node_modules/next/dist/shared/lib/router/utils/app-paths.js} +3 -3
  131. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.cjs +1 -0
  132. package/dist/{index47.js → node_modules/next/dist/shared/lib/router/utils/format-url.js} +3 -3
  133. package/dist/node_modules/next/dist/shared/lib/router/utils/index.cjs +1 -0
  134. package/dist/{index84.js → node_modules/next/dist/shared/lib/router/utils/index.js} +3 -3
  135. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.cjs +1 -0
  136. package/dist/{index161.js → node_modules/next/dist/shared/lib/router/utils/interception-routes.js} +2 -2
  137. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.cjs +1 -0
  138. package/dist/{index85.js → node_modules/next/dist/shared/lib/router/utils/interpolate-as.js} +3 -3
  139. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.cjs +1 -0
  140. package/dist/{index132.js → node_modules/next/dist/shared/lib/router/utils/is-dynamic.js} +2 -2
  141. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.cjs +1 -0
  142. package/dist/{index46.js → node_modules/next/dist/shared/lib/router/utils/is-local-url.js} +3 -3
  143. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.cjs +1 -0
  144. package/dist/{index82.js → node_modules/next/dist/shared/lib/router/utils/omit.js} +1 -1
  145. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.cjs +1 -0
  146. package/dist/{index129.js → node_modules/next/dist/shared/lib/router/utils/parse-path.js} +1 -1
  147. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.cjs +1 -0
  148. package/dist/{index137.js → node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js} +2 -2
  149. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.cjs +1 -0
  150. package/dist/{index81.js → node_modules/next/dist/shared/lib/router/utils/querystring.js} +1 -1
  151. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.cjs +1 -0
  152. package/dist/{index128.js → node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js} +1 -1
  153. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.cjs +1 -0
  154. package/dist/{index134.js → node_modules/next/dist/shared/lib/router/utils/route-matcher.js} +2 -2
  155. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.cjs +1 -0
  156. package/dist/{index135.js → node_modules/next/dist/shared/lib/router/utils/route-regex.js} +5 -5
  157. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.cjs +1 -0
  158. package/dist/{index131.js → node_modules/next/dist/shared/lib/router/utils/sorted-routes.js} +1 -1
  159. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.cjs +1 -0
  160. package/dist/{index50.js → node_modules/next/dist/shared/lib/router-context.shared-runtime.js} +2 -2
  161. package/dist/node_modules/next/dist/shared/lib/segment.cjs +1 -0
  162. package/dist/{index38.js → node_modules/next/dist/shared/lib/segment.js} +1 -1
  163. package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.cjs +1 -0
  164. package/dist/{index40.js → node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js} +2 -2
  165. package/dist/node_modules/next/dist/shared/lib/utils/error-once.cjs +1 -0
  166. package/dist/{index55.js → node_modules/next/dist/shared/lib/utils/error-once.js} +1 -1
  167. package/dist/node_modules/next/dist/shared/lib/utils.cjs +1 -0
  168. package/dist/{index48.js → node_modules/next/dist/shared/lib/utils.js} +1 -1
  169. package/dist/node_modules/next/link.cjs +1 -0
  170. package/dist/{index30.js → node_modules/next/link.js} +1 -1
  171. package/dist/node_modules/next/navigation.cjs +1 -0
  172. package/dist/{index32.js → node_modules/next/navigation.js} +1 -1
  173. package/dist/utils/ky/addBodyJsonHook.cjs +1 -0
  174. package/dist/{index22.js → utils/ky/addBodyJsonHook.js} +1 -1
  175. package/package.json +1 -1
  176. package/dist/index104.cjs +0 -1
  177. package/dist/index108.cjs +0 -1
  178. package/dist/index112.cjs +0 -1
  179. package/dist/index113.cjs +0 -1
  180. package/dist/index116.cjs +0 -1
  181. package/dist/index120.cjs +0 -1
  182. package/dist/index121.cjs +0 -1
  183. package/dist/index128.cjs +0 -1
  184. package/dist/index129.cjs +0 -1
  185. package/dist/index131.cjs +0 -1
  186. package/dist/index132.cjs +0 -1
  187. package/dist/index134.cjs +0 -1
  188. package/dist/index135.cjs +0 -1
  189. package/dist/index137.cjs +0 -1
  190. package/dist/index14.cjs +0 -1
  191. package/dist/index141.cjs +0 -1
  192. package/dist/index143.cjs +0 -1
  193. package/dist/index147.cjs +0 -1
  194. package/dist/index15.cjs +0 -1
  195. package/dist/index15.js +0 -20
  196. package/dist/index150.cjs +0 -1
  197. package/dist/index151.cjs +0 -1
  198. package/dist/index154.cjs +0 -1
  199. package/dist/index16.cjs +0 -1
  200. package/dist/index161.cjs +0 -1
  201. package/dist/index164.cjs +0 -1
  202. package/dist/index165.cjs +0 -1
  203. package/dist/index174.cjs +0 -1
  204. package/dist/index178.cjs +0 -1
  205. package/dist/index18.cjs +0 -1
  206. package/dist/index18.js +0 -5
  207. package/dist/index2.cjs +0 -1
  208. package/dist/index22.cjs +0 -1
  209. package/dist/index29.cjs +0 -1
  210. package/dist/index29.js +0 -7
  211. package/dist/index30.cjs +0 -1
  212. package/dist/index32.cjs +0 -1
  213. package/dist/index33.cjs +0 -1
  214. package/dist/index35.cjs +0 -1
  215. package/dist/index36.cjs +0 -1
  216. package/dist/index37.cjs +0 -1
  217. package/dist/index38.cjs +0 -1
  218. package/dist/index4.cjs +0 -1
  219. package/dist/index40.cjs +0 -1
  220. package/dist/index41.cjs +0 -4
  221. package/dist/index42.cjs +0 -1
  222. package/dist/index44.cjs +0 -1
  223. package/dist/index45.cjs +0 -1
  224. package/dist/index46.cjs +0 -1
  225. package/dist/index47.cjs +0 -1
  226. package/dist/index48.cjs +0 -1
  227. package/dist/index49.cjs +0 -1
  228. package/dist/index5.cjs +0 -1
  229. package/dist/index50.cjs +0 -1
  230. package/dist/index51.cjs +0 -1
  231. package/dist/index52.cjs +0 -1
  232. package/dist/index53.cjs +0 -1
  233. package/dist/index54.cjs +0 -1
  234. package/dist/index55.cjs +0 -1
  235. package/dist/index57.cjs +0 -1
  236. package/dist/index62.cjs +0 -1
  237. package/dist/index63.cjs +0 -1
  238. package/dist/index64.cjs +0 -1
  239. package/dist/index65.cjs +0 -1
  240. package/dist/index66.cjs +0 -1
  241. package/dist/index67.cjs +0 -1
  242. package/dist/index70.cjs +0 -1
  243. package/dist/index71.cjs +0 -1
  244. package/dist/index72.cjs +0 -1
  245. package/dist/index73.cjs +0 -1
  246. package/dist/index74.cjs +0 -1
  247. package/dist/index75.cjs +0 -1
  248. package/dist/index76.cjs +0 -1
  249. package/dist/index78.cjs +0 -1
  250. package/dist/index8.cjs +0 -1
  251. package/dist/index81.cjs +0 -1
  252. package/dist/index82.cjs +0 -1
  253. package/dist/index83.cjs +0 -1
  254. package/dist/index84.cjs +0 -1
  255. package/dist/index85.cjs +0 -1
  256. package/dist/index87.cjs +0 -1
  257. package/dist/index91.cjs +0 -1
  258. package/dist/index94.cjs +0 -1
  259. package/dist/index96.cjs +0 -1
  260. package/dist/index97.cjs +0 -1
  261. package/dist/index99.cjs +0 -1
  262. /package/dist/{index180.cjs → _virtual/_commonjsHelpers.cjs} +0 -0
  263. /package/dist/{index180.js → _virtual/_commonjsHelpers.js} +0 -0
  264. /package/dist/{index101.cjs → _virtual/_interop_require_default.cjs} +0 -0
  265. /package/dist/{index102.js → _virtual/_interop_require_default.js} +0 -0
  266. /package/dist/{index102.cjs → _virtual/_interop_require_wildcard.cjs} +0 -0
  267. /package/dist/{index101.js → _virtual/_interop_require_wildcard.js} +0 -0
  268. /package/dist/{index114.cjs → _virtual/action-async-storage-instance.cjs} +0 -0
  269. /package/dist/{index123.js → _virtual/action-async-storage-instance.js} +0 -0
  270. /package/dist/{index115.cjs → _virtual/action-async-storage.external.cjs} +0 -0
  271. /package/dist/{index138.js → _virtual/action-async-storage.external.js} +0 -0
  272. /package/dist/{index100.cjs → _virtual/add-base-path.cjs} +0 -0
  273. /package/dist/{index127.js → _virtual/add-base-path.js} +0 -0
  274. /package/dist/{index103.cjs → _virtual/add-locale.cjs} +0 -0
  275. /package/dist/{index136.js → _virtual/add-locale.js} +0 -0
  276. /package/dist/{index119.cjs → _virtual/add-locale2.cjs} +0 -0
  277. /package/dist/{index144.js → _virtual/add-locale2.js} +0 -0
  278. /package/dist/{index122.cjs → _virtual/add-path-prefix.cjs} +0 -0
  279. /package/dist/{index146.js → _virtual/add-path-prefix.js} +0 -0
  280. /package/dist/{index124.cjs → _virtual/app-paths.cjs} +0 -0
  281. /package/dist/{index158.js → _virtual/app-paths.js} +0 -0
  282. /package/dist/{index125.cjs → _virtual/app-router-context.shared-runtime.cjs} +0 -0
  283. /package/dist/{index122.js → _virtual/app-router-context.shared-runtime.js} +0 -0
  284. /package/dist/{index106.cjs → _virtual/app-router-headers.cjs} +0 -0
  285. /package/dist/{index100.js → _virtual/app-router-headers.js} +0 -0
  286. /package/dist/{index126.cjs → _virtual/async-local-storage.cjs} +0 -0
  287. /package/dist/{index160.js → _virtual/async-local-storage.js} +0 -0
  288. /package/dist/{index107.cjs → _virtual/bailout-to-client-rendering.cjs} +0 -0
  289. /package/dist/{index103.js → _virtual/bailout-to-client-rendering.js} +0 -0
  290. /package/dist/{index130.cjs → _virtual/bailout-to-csr.cjs} +0 -0
  291. /package/dist/{index114.js → _virtual/bailout-to-csr.js} +0 -0
  292. /package/dist/{index123.cjs → _virtual/constants.cjs} +0 -0
  293. /package/dist/{index175.js → _virtual/constants.js} +0 -0
  294. /package/dist/{index109.cjs → _virtual/detect-domain-locale.cjs} +0 -0
  295. /package/dist/{index109.js → _virtual/detect-domain-locale.js} +0 -0
  296. /package/dist/{index133.cjs → _virtual/detect-domain-locale2.cjs} +0 -0
  297. /package/dist/{index124.js → _virtual/detect-domain-locale2.js} +0 -0
  298. /package/dist/{index138.cjs → _virtual/dynamic-rendering-utils.cjs} +0 -0
  299. /package/dist/{index133.js → _virtual/dynamic-rendering-utils.js} +0 -0
  300. /package/dist/{index144.cjs → _virtual/dynamic-rendering.cjs} +0 -0
  301. /package/dist/{index159.js → _virtual/dynamic-rendering.js} +0 -0
  302. /package/dist/{index146.cjs → _virtual/ensure-leading-slash.cjs} +0 -0
  303. /package/dist/{index163.js → _virtual/ensure-leading-slash.js} +0 -0
  304. /package/dist/{index153.cjs → _virtual/error-once.cjs} +0 -0
  305. /package/dist/{index115.js → _virtual/error-once.js} +0 -0
  306. /package/dist/{index155.cjs → _virtual/escape-regexp.cjs} +0 -0
  307. /package/dist/{index169.js → _virtual/escape-regexp.js} +0 -0
  308. /package/dist/{index110.cjs → _virtual/forbidden.cjs} +0 -0
  309. /package/dist/{index110.js → _virtual/forbidden.js} +0 -0
  310. /package/dist/{index157.cjs → _virtual/format-url.cjs} +0 -0
  311. /package/dist/{index119.js → _virtual/format-url.js} +0 -0
  312. /package/dist/{index111.cjs → _virtual/get-domain-locale.cjs} +0 -0
  313. /package/dist/{index111.js → _virtual/get-domain-locale.js} +0 -0
  314. /package/dist/{index117.cjs → _virtual/get-segment-value.cjs} +0 -0
  315. /package/dist/{index117.js → _virtual/get-segment-value.js} +0 -0
  316. /package/dist/{index118.cjs → _virtual/has-base-path.cjs} +0 -0
  317. /package/dist/{index140.js → _virtual/has-base-path.js} +0 -0
  318. /package/dist/{index158.cjs → _virtual/hooks-client-context.shared-runtime.cjs} +0 -0
  319. /package/dist/{index173.js → _virtual/hooks-client-context.shared-runtime.js} +0 -0
  320. /package/dist/{index127.cjs → _virtual/hooks-server-context.cjs} +0 -0
  321. /package/dist/{index139.js → _virtual/hooks-server-context.js} +0 -0
  322. /package/dist/{index136.cjs → _virtual/http-access-fallback.cjs} +0 -0
  323. /package/dist/{index148.js → _virtual/http-access-fallback.js} +0 -0
  324. /package/dist/{index159.cjs → _virtual/index.cjs} +0 -0
  325. /package/dist/{index125.js → _virtual/index.js} +0 -0
  326. /package/dist/{index160.cjs → _virtual/interception-routes.cjs} +0 -0
  327. /package/dist/{index176.js → _virtual/interception-routes.js} +0 -0
  328. /package/dist/{index162.cjs → _virtual/interpolate-as.cjs} +0 -0
  329. /package/dist/{index179.js → _virtual/interpolate-as.js} +0 -0
  330. /package/dist/{index163.cjs → _virtual/is-dynamic.cjs} +0 -0
  331. /package/dist/{index166.js → _virtual/is-dynamic.js} +0 -0
  332. /package/dist/{index166.cjs → _virtual/is-local-url.cjs} +0 -0
  333. /package/dist/{index130.js → _virtual/is-local-url.js} +0 -0
  334. /package/dist/{index139.cjs → _virtual/is-next-router-error.cjs} +0 -0
  335. /package/dist/{index106.js → _virtual/is-next-router-error.js} +0 -0
  336. /package/dist/{index167.cjs → _virtual/is-postpone.cjs} +0 -0
  337. /package/dist/{index126.js → _virtual/is-postpone.js} +0 -0
  338. /package/dist/{index140.cjs → _virtual/link2.cjs} +0 -0
  339. /package/dist/{index142.js → _virtual/link2.js} +0 -0
  340. /package/dist/{index175.cjs → _virtual/metadata-constants.cjs} +0 -0
  341. /package/dist/{index167.js → _virtual/metadata-constants.js} +0 -0
  342. /package/dist/{index142.cjs → _virtual/navigation.react-server.cjs} +0 -0
  343. /package/dist/{index145.js → _virtual/navigation.react-server.js} +0 -0
  344. /package/dist/{index145.cjs → _virtual/navigation2.cjs} +0 -0
  345. /package/dist/{index34.js → _virtual/navigation2.js} +0 -0
  346. /package/dist/{index148.cjs → _virtual/normalize-locale-path.cjs} +0 -0
  347. /package/dist/{index90.js → _virtual/normalize-locale-path.js} +0 -0
  348. /package/dist/{index168.cjs → _virtual/normalize-locale-path2.cjs} +0 -0
  349. /package/dist/{index168.js → _virtual/normalize-locale-path2.js} +0 -0
  350. /package/dist/{index149.cjs → _virtual/normalize-trailing-slash.cjs} +0 -0
  351. /package/dist/{index98.js → _virtual/normalize-trailing-slash.js} +0 -0
  352. /package/dist/{index152.cjs → _virtual/not-found.cjs} +0 -0
  353. /package/dist/{index107.js → _virtual/not-found.js} +0 -0
  354. /package/dist/{index169.cjs → _virtual/omit.cjs} +0 -0
  355. /package/dist/{index170.js → _virtual/omit.js} +0 -0
  356. /package/dist/{index170.cjs → _virtual/parse-path.cjs} +0 -0
  357. /package/dist/{index172.js → _virtual/parse-path.js} +0 -0
  358. /package/dist/{index172.cjs → _virtual/path-has-prefix.cjs} +0 -0
  359. /package/dist/{index177.js → _virtual/path-has-prefix.js} +0 -0
  360. /package/dist/{index173.cjs → _virtual/querystring.cjs} +0 -0
  361. /package/dist/{index153.js → _virtual/querystring.js} +0 -0
  362. /package/dist/{index156.cjs → _virtual/redirect-error.cjs} +0 -0
  363. /package/dist/{index171.js → _virtual/redirect-error.js} +0 -0
  364. /package/dist/{index171.cjs → _virtual/redirect-status-code.cjs} +0 -0
  365. /package/dist/{index149.js → _virtual/redirect-status-code.js} +0 -0
  366. /package/dist/{index34.cjs → _virtual/redirect.cjs} +0 -0
  367. /package/dist/{index152.js → _virtual/redirect.js} +0 -0
  368. /package/dist/{index176.cjs → _virtual/remove-trailing-slash.cjs} +0 -0
  369. /package/dist/{index155.js → _virtual/remove-trailing-slash.js} +0 -0
  370. /package/dist/{index43.cjs → _virtual/request-idle-callback.cjs} +0 -0
  371. /package/dist/{index156.js → _virtual/request-idle-callback.js} +0 -0
  372. /package/dist/{index59.cjs → _virtual/resolve-href.cjs} +0 -0
  373. /package/dist/{index43.js → _virtual/resolve-href.js} +0 -0
  374. /package/dist/{index177.cjs → _virtual/route-matcher.cjs} +0 -0
  375. /package/dist/{index157.js → _virtual/route-matcher.js} +0 -0
  376. /package/dist/{index179.cjs → _virtual/route-regex.cjs} +0 -0
  377. /package/dist/{index56.js → _virtual/route-regex.js} +0 -0
  378. /package/dist/{index56.cjs → _virtual/router-context.shared-runtime.cjs} +0 -0
  379. /package/dist/{index58.js → _virtual/router-context.shared-runtime.js} +0 -0
  380. /package/dist/{index58.cjs → _virtual/scheduler.cjs} +0 -0
  381. /package/dist/{index60.js → _virtual/scheduler.js} +0 -0
  382. /package/dist/{index60.cjs → _virtual/segment.cjs} +0 -0
  383. /package/dist/{index68.js → _virtual/segment.js} +0 -0
  384. /package/dist/{index68.cjs → _virtual/server-inserted-html.shared-runtime.cjs} +0 -0
  385. /package/dist/{index69.js → _virtual/server-inserted-html.shared-runtime.js} +0 -0
  386. /package/dist/{index69.cjs → _virtual/sorted-routes.cjs} +0 -0
  387. /package/dist/{index92.js → _virtual/sorted-routes.js} +0 -0
  388. /package/dist/{index61.cjs → _virtual/static-generation-bailout.cjs} +0 -0
  389. /package/dist/{index118.js → _virtual/static-generation-bailout.js} +0 -0
  390. /package/dist/{index77.cjs → _virtual/unauthorized.cjs} +0 -0
  391. /package/dist/{index59.js → _virtual/unauthorized.js} +0 -0
  392. /package/dist/{index80.cjs → _virtual/unstable-rethrow.browser.cjs} +0 -0
  393. /package/dist/{index61.js → _virtual/unstable-rethrow.browser.js} +0 -0
  394. /package/dist/{index90.cjs → _virtual/unstable-rethrow.cjs} +0 -0
  395. /package/dist/{index77.js → _virtual/unstable-rethrow.js} +0 -0
  396. /package/dist/{index93.cjs → _virtual/unstable-rethrow.server.cjs} +0 -0
  397. /package/dist/{index80.js → _virtual/unstable-rethrow.server.js} +0 -0
  398. /package/dist/{index95.cjs → _virtual/use-intersection.cjs} +0 -0
  399. /package/dist/{index93.js → _virtual/use-intersection.js} +0 -0
  400. /package/dist/{index98.cjs → _virtual/use-merged-ref.cjs} +0 -0
  401. /package/dist/{index95.js → _virtual/use-merged-ref.js} +0 -0
  402. /package/dist/{index79.cjs → _virtual/utils.cjs} +0 -0
  403. /package/dist/{index162.js → _virtual/utils.js} +0 -0
  404. /package/dist/{index86.cjs → _virtual/work-async-storage-instance.cjs} +0 -0
  405. /package/dist/{index79.js → _virtual/work-async-storage-instance.js} +0 -0
  406. /package/dist/{index88.cjs → _virtual/work-async-storage.external.cjs} +0 -0
  407. /package/dist/{index86.js → _virtual/work-async-storage.external.js} +0 -0
  408. /package/dist/{index89.cjs → _virtual/work-unit-async-storage-instance.cjs} +0 -0
  409. /package/dist/{index88.js → _virtual/work-unit-async-storage-instance.js} +0 -0
  410. /package/dist/{index92.cjs → _virtual/work-unit-async-storage.external.cjs} +0 -0
  411. /package/dist/{index89.js → _virtual/work-unit-async-storage.external.js} +0 -0
  412. /package/dist/{index28.cjs → components/Icon.cjs} +0 -0
  413. /package/dist/{index28.js → components/Icon.js} +0 -0
  414. /package/dist/{index3.cjs → components/InfinityLoader/index.cjs} +0 -0
  415. /package/dist/{index3.js → components/InfinityLoader/index.js} +0 -0
  416. /package/dist/{index6.cjs → consts/http-status.cjs} +0 -0
  417. /package/dist/{index6.js → consts/http-status.js} +0 -0
  418. /package/dist/{index7.cjs → consts/revalidate.cjs} +0 -0
  419. /package/dist/{index7.js → consts/revalidate.js} +0 -0
  420. /package/dist/{index9.cjs → contexts/PageDataContext/index.cjs} +0 -0
  421. /package/dist/{index9.js → contexts/PageDataContext/index.js} +0 -0
  422. /package/dist/{index10.cjs → form/Form.cjs} +0 -0
  423. /package/dist/{index10.js → form/Form.js} +0 -0
  424. /package/dist/{index11.cjs → form/FormButtonSubmit.cjs} +0 -0
  425. /package/dist/{index11.js → form/FormButtonSubmit.js} +0 -0
  426. /package/dist/{index13.cjs → form/utils/nullableInput.cjs} +0 -0
  427. /package/dist/{index13.js → form/utils/nullableInput.js} +0 -0
  428. /package/dist/{index12.cjs → form/utils/zodValidator.cjs} +0 -0
  429. /package/dist/{index12.js → form/utils/zodValidator.js} +0 -0
  430. /package/dist/{index17.cjs → hooks/useOnScrollProgress.cjs} +0 -0
  431. /package/dist/{index17.js → hooks/useOnScrollProgress.js} +0 -0
  432. /package/dist/{index19.cjs → mantine/breakpointsWithPx.cjs} +0 -0
  433. /package/dist/{index19.js → mantine/breakpointsWithPx.js} +0 -0
  434. /package/dist/{index20.cjs → mantine/toTailwindColors.cjs} +0 -0
  435. /package/dist/{index20.js → mantine/toTailwindColors.js} +0 -0
  436. /package/dist/{index24.cjs → utils/array/groupBy.cjs} +0 -0
  437. /package/dist/{index24.js → utils/array/groupBy.js} +0 -0
  438. /package/dist/{index25.cjs → utils/array/shuffleArray.cjs} +0 -0
  439. /package/dist/{index25.js → utils/array/shuffleArray.js} +0 -0
  440. /package/dist/{index21.cjs → utils/formatBytes.cjs} +0 -0
  441. /package/dist/{index21.js → utils/formatBytes.js} +0 -0
  442. /package/dist/{index27.cjs → utils/isInfinityEmpty.cjs} +0 -0
  443. /package/dist/{index27.js → utils/isInfinityEmpty.js} +0 -0
  444. /package/dist/{index23.cjs → utils/ky/parseJson.cjs} +0 -0
  445. /package/dist/{index23.js → utils/ky/parseJson.js} +0 -0
  446. /package/dist/{index26.cjs → utils/newHref.cjs} +0 -0
  447. /package/dist/{index26.js → utils/newHref.js} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";const r=require("./_commonjsHelpers.cjs"),e=require("../node_modules/next/link.cjs");var s=e.__require();const t=r.getDefaultExportFromCjs(s);module.exports=t;
@@ -0,0 +1,7 @@
1
+ import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
+ import { __require as o } from "../node_modules/next/link.js";
3
+ var t = o();
4
+ const a = /* @__PURE__ */ r(t);
5
+ export {
6
+ a as default
7
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../node_modules/next/navigation.cjs");var e=t.__require();exports.navigationExports=e;
@@ -0,0 +1,5 @@
1
+ import { __require as r } from "../node_modules/next/navigation.js";
2
+ var i = r();
3
+ export {
4
+ i as n
5
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("clsx"),a=require("../Icon.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;
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
2
  import l from "clsx";
3
- import a from "./index28.js";
3
+ import a from "../Icon.js";
4
4
  const n = {
5
5
  sm: 48,
6
6
  md: 60,
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),a=require("@mantine/core"),s=require("../_virtual/link.cjs"),u=require("../_virtual/navigation.cjs"),l=({items:c})=>{const o=u.navigationExports.usePathname();return n.jsx(a.Stack,{gap:0,children:c.map(({href:t,isActive:r,...e})=>{if(t){const i=r??t.includes(o);return n.jsx(a.NavLink,{active:i,component:s,prefetch:!1,href:t,...e},e.label)}return n.jsx(a.NavLink,{active:r,component:"button",...e},e.label)})})};exports.NavItems=l;
@@ -1,17 +1,18 @@
1
+ "use client";
1
2
  import { jsx as o } from "react/jsx-runtime";
2
- import { Stack as p, NavLink as m } from "@mantine/core";
3
- import i from "./index29.js";
4
- import { n as l } from "./index18.js";
5
- const x = ({ items: n }) => {
3
+ import { Stack as i, NavLink as a } from "@mantine/core";
4
+ import p from "../_virtual/link.js";
5
+ import { n as l } from "../_virtual/navigation.js";
6
+ const x = ({ items: m }) => {
6
7
  const r = l.usePathname();
7
- return /* @__PURE__ */ o(p, { gap: 0, children: n.map(({ href: e, isActive: a, ...t }) => {
8
+ return /* @__PURE__ */ o(i, { gap: 0, children: m.map(({ href: e, isActive: n, ...t }) => {
8
9
  if (e) {
9
- const c = a ?? e.includes(r);
10
+ const c = n ?? e.includes(r);
10
11
  return /* @__PURE__ */ o(
11
- m,
12
+ a,
12
13
  {
13
14
  active: c,
14
- component: i,
15
+ component: p,
15
16
  prefetch: !1,
16
17
  href: e,
17
18
  ...t
@@ -20,9 +21,9 @@ const x = ({ items: n }) => {
20
21
  );
21
22
  }
22
23
  return /* @__PURE__ */ o(
23
- m,
24
+ a,
24
25
  {
25
- active: a,
26
+ active: n,
26
27
  component: "button",
27
28
  ...t
28
29
  },
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("@mantine/core"),j=require("react"),C=require("../../hooks/useFetchNextPageOnScroll.cjs"),S=require("../InfinityLoader/index.cjs");function f({value:a,onChange:b,data:s=[],searchValue:p,onSearchChange:l,renderOption:c,onOptionSubmit:x,nothingFoundMessage:d,infinity:r,placeholder:m,...h}){const t=o.useCombobox({onDropdownClose:()=>{t.resetSelectedOption(),t.focusTarget(),l?.("")},onDropdownOpen:()=>{t.focusSearchInput()}}),i=s.map(n=>e.jsx(o.Combobox.Option,{value:n.value,children:c?c({option:n}):n.label},n.value)),g=s.find(n=>n.value===a),u=j.useRef(null);return C.useFetchNextPageOnScroll(r,u),e.jsxs(o.Combobox,{store:t,middlewares:{shift:{crossAxis:!0}},onOptionSubmit:n=>{b?.(n),x?.(n),t.closeDropdown()},children:[e.jsx(o.Combobox.Target,{children:e.jsx(o.InputBase,{component:"button",type:"button",pointer:!0,rightSection:e.jsx(o.Combobox.Chevron,{}),onClick:()=>t.toggleDropdown(),rightSectionPointerEvents:"none",...h,children:g?.label||e.jsx(o.Input.Placeholder,{children:m})})}),e.jsxs(o.Combobox.Dropdown,{children:[e.jsx(o.Combobox.Search,{value:p,onChange:n=>l?.(n.currentTarget.value),placeholder:"Escribe para buscar"}),e.jsx(o.Combobox.Options,{children:e.jsxs(o.ScrollArea.Autosize,{mah:200,type:"scroll",viewportRef:u,children:[i.length>0?i:r.isFetching?null:e.jsx(o.Combobox.Empty,{onClick:()=>t.closeDropdown(),className:"min-h-6",children:d??"Sin resultados"}),e.jsx(S.InfinityLoader,{className:"text-sm",infinity:r,loaderProps:{size:"sm",className:"mt-1 mb-2"}})]})})]})]})}exports.SelectInfinity=f;
@@ -1,11 +1,12 @@
1
+ "use client";
1
2
  import { jsx as o, jsxs as l } from "react/jsx-runtime";
2
- import { useCombobox as S, Combobox as r, InputBase as v, Input as w, ScrollArea as C } from "@mantine/core";
3
+ import { useCombobox as S, Combobox as t, InputBase as v, Input as w, ScrollArea as C } from "@mantine/core";
3
4
  import { useRef as D } from "react";
4
- import { useFetchNextPageOnScroll as O } from "./index16.js";
5
- import { InfinityLoader as I } from "./index3.js";
5
+ import { useFetchNextPageOnScroll as O } from "../../hooks/useFetchNextPageOnScroll.js";
6
+ import { InfinityLoader as I } from "../InfinityLoader/index.js";
6
7
  function R({
7
- value: m,
8
- onChange: u,
8
+ value: u,
9
+ onChange: m,
9
10
  data: s = [],
10
11
  searchValue: d,
11
12
  onSearchChange: c,
@@ -16,57 +17,57 @@ function R({
16
17
  placeholder: f,
17
18
  ...g
18
19
  }) {
19
- const t = S({
20
+ const r = S({
20
21
  onDropdownClose: () => {
21
- t.resetSelectedOption(), t.focusTarget(), c?.("");
22
+ r.resetSelectedOption(), r.focusTarget(), c?.("");
22
23
  },
23
24
  onDropdownOpen: () => {
24
- t.focusSearchInput();
25
+ r.focusSearchInput();
25
26
  }
26
27
  }), p = s.map((e) => /* @__PURE__ */ o(
27
- r.Option,
28
+ t.Option,
28
29
  {
29
30
  value: e.value,
30
31
  children: i ? i({ option: e }) : e.label
31
32
  },
32
33
  e.value
33
- )), x = s.find((e) => e.value === m), a = D(null);
34
+ )), x = s.find((e) => e.value === u), a = D(null);
34
35
  return O(n, a), /* @__PURE__ */ l(
35
- r,
36
+ t,
36
37
  {
37
- store: t,
38
+ store: r,
38
39
  middlewares: {
39
40
  shift: {
40
41
  crossAxis: !0
41
42
  }
42
43
  },
43
44
  onOptionSubmit: (e) => {
44
- u?.(e), h?.(e), t.closeDropdown();
45
+ m?.(e), h?.(e), r.closeDropdown();
45
46
  },
46
47
  children: [
47
- /* @__PURE__ */ o(r.Target, { children: /* @__PURE__ */ o(
48
+ /* @__PURE__ */ o(t.Target, { children: /* @__PURE__ */ o(
48
49
  v,
49
50
  {
50
51
  component: "button",
51
52
  type: "button",
52
53
  pointer: !0,
53
- rightSection: /* @__PURE__ */ o(r.Chevron, {}),
54
- onClick: () => t.toggleDropdown(),
54
+ rightSection: /* @__PURE__ */ o(t.Chevron, {}),
55
+ onClick: () => r.toggleDropdown(),
55
56
  rightSectionPointerEvents: "none",
56
57
  ...g,
57
58
  children: x?.label || /* @__PURE__ */ o(w.Placeholder, { children: f })
58
59
  }
59
60
  ) }),
60
- /* @__PURE__ */ l(r.Dropdown, { children: [
61
+ /* @__PURE__ */ l(t.Dropdown, { children: [
61
62
  /* @__PURE__ */ o(
62
- r.Search,
63
+ t.Search,
63
64
  {
64
65
  value: d,
65
66
  onChange: (e) => c?.(e.currentTarget.value),
66
67
  placeholder: "Escribe para buscar"
67
68
  }
68
69
  ),
69
- /* @__PURE__ */ o(r.Options, { children: /* @__PURE__ */ l(
70
+ /* @__PURE__ */ o(t.Options, { children: /* @__PURE__ */ l(
70
71
  C.Autosize,
71
72
  {
72
73
  mah: 200,
@@ -74,9 +75,9 @@ function R({
74
75
  viewportRef: a,
75
76
  children: [
76
77
  p.length > 0 ? p : n.isFetching ? null : /* @__PURE__ */ o(
77
- r.Empty,
78
+ t.Empty,
78
79
  {
79
- onClick: () => t.closeDropdown(),
80
+ onClick: () => r.closeDropdown(),
80
81
  className: "min-h-6",
81
82
  children: b ?? "Sin resultados"
82
83
  }
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react/jsx-runtime"),i=require("../../_virtual/navigation.cjs"),u=require("react"),c=u.createContext(null);function P({children:s}){const e=i.navigationExports.usePathname(),o=i.navigationExports.useSearchParams(),[t,a]=u.useState([]);return u.useEffect(()=>{const r=o?.size?`${e}?${o.toString()}`:e;r&&a(n=>n.length>0&&n[n.length-1]===r?n:[...n,r])},[e,o]),v.jsx(c.Provider,{value:{history:t},children:s})}const g="backUrl";function y(){const s=u.useContext(c),e=i.navigationExports.useRouter();if(!s)throw new Error("useNavigationHistory debe usarse dentro de un NavigationHistoryProvider");const o=i.navigationExports.useSearchParams(),{history:t}=s;return{history:t,goBack:r=>{const n=o.get(g);if(n){e.push(n);return}if(t.length<=1){e.push(r??"/");return}const h=t[t.length-2],l=t[t.length-1];if(t.length>=3&&t[t.length-3]===l){e.push(r??"/");return}e.push(h??"/")},currentRoute:t.length>0?t[t.length-1]:null,hasPreviousRoute:t.length>1,getPreviousRoute:()=>t.length>=2?t[t.length-2]:null}}exports.NavigationHistoryProvider=P;exports.QP_BACK_URL_NAME=g;exports.useNavigationHistory=y;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as g } from "react/jsx-runtime";
3
- import { n as u } from "./index18.js";
3
+ import { n as u } from "../../_virtual/navigation.js";
4
4
  import { createContext as l, useState as f, useEffect as m, useContext as P } from "react";
5
5
  const a = l(null);
6
6
  function R({ children: s }) {
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),b=require("react-hook-form");require("@mantine/core");const f=require("../form/utils/zodValidator.cjs");require("zod");const h=(i,a)=>{const t=e=>{const{validate:l,name:d="",placeholder:s,label:u,description:c,...n}=e;return o.jsx(b.Controller,{name:d,defaultValue:"",rules:{validate:l&&!e.disabled?f.zodValidator(l):void 0},disabled:e.disabled,...a?.(e),render:r=>{const{fieldState:{isTouched:q,error:m}}=r,F={...r,props:{...e,validate:void 0},field:{...r.field,label:u,placeholder:s,description:c,error:m?.message},...n};return o.jsx(i,{...F})}})};return t.displayName=`withForm(${i.displayName})`,t};exports.withForm=h;
@@ -2,7 +2,7 @@
2
2
  import { jsx as o } from "react/jsx-runtime";
3
3
  import { Controller as h } from "react-hook-form";
4
4
  import "@mantine/core";
5
- import { zodValidator as v } from "./index12.js";
5
+ import { zodValidator as v } from "../form/utils/zodValidator.js";
6
6
  import "zod";
7
7
  const V = (t, d) => {
8
8
  const r = (e) => {
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),a=require("react"),c=e=>{const t=({removeModal:i,opened:s,...n})=>{const[u,o]=a.useState(!1),r=()=>{o(!1),setTimeout(()=>i(),200),n.onClose?.()};return a.useEffect(()=>{s?setTimeout(()=>o(!0),0):r()},[s]),l.jsx(e,{...n,opened:u,onClose:r})};return t.displayName=`withModalManager(${e.displayName})`,t};exports.withModalManager=c;
@@ -0,0 +1,28 @@
1
+ "use client";
2
+ import { jsx as r } from "react/jsx-runtime";
3
+ import { useState as m, useEffect as u } from "react";
4
+ const M = (e) => {
5
+ const t = ({
6
+ removeModal: i,
7
+ opened: s,
8
+ ...o
9
+ }) => {
10
+ const [l, n] = m(!1), a = () => {
11
+ n(!1), setTimeout(() => i(), 200), o.onClose?.();
12
+ };
13
+ return u(() => {
14
+ s ? setTimeout(() => n(!0), 0) : a();
15
+ }, [s]), /* @__PURE__ */ r(
16
+ e,
17
+ {
18
+ ...o,
19
+ opened: l,
20
+ onClose: a
21
+ }
22
+ );
23
+ };
24
+ return t.displayName = `withModalManager(${e.displayName})`, t;
25
+ };
26
+ export {
27
+ M as withModalManager
28
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),s=require("./useOnScrollProgress.cjs"),o=(e,t)=>{s.useOnScrollProgress(.9,()=>{e.hasNextPage&&e.fetchNextPage()},t),r.useEffect(()=>{const c=t?.current??document.documentElement;!(c.scrollHeight>c.clientHeight)&&e.hasNextPage&&e.fetchNextPage()},[e.data,t])};exports.useFetchNextPageOnScroll=o;
@@ -1,5 +1,5 @@
1
1
  import { useEffect as o } from "react";
2
- import { useOnScrollProgress as r } from "./index17.js";
2
+ import { useOnScrollProgress as r } from "./useOnScrollProgress.js";
3
3
  const h = (e, t) => {
4
4
  r(
5
5
  0.9,
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index2.cjs"),i=require("./index3.cjs"),n=require("./index4.cjs"),a=require("./index5.cjs");require("react/jsx-runtime");require("clsx");const s=require("./index6.cjs"),u=require("./index7.cjs"),e=require("./index8.cjs"),r=require("./index9.cjs"),l=require("./index10.cjs"),d=require("./index11.cjs"),c=require("./index12.cjs"),y=require("./index13.cjs"),q=require("./index14.cjs"),m=require("./index15.cjs");require("@mantine/core");const g=require("./index16.cjs"),p=require("./index17.cjs");require("./index18.cjs");const f=require("./index19.cjs"),P=require("./index20.cjs"),S=require("./index21.cjs"),h=require("./index22.cjs"),B=require("./index23.cjs"),t=require("./index24.cjs"),v=require("./index25.cjs"),N=require("./index26.cjs"),x=require("./index27.cjs");exports.EmptyState=o.EmptyState;exports.InfinityLoader=i.InfinityLoader;exports.SelectInfinity=n.SelectInfinity;exports.NavItems=a.NavItems;exports.HttpStatus=s.HttpStatus;exports.Revalidate=u.Revalidate;exports.NavigationHistoryProvider=e.NavigationHistoryProvider;exports.QP_BACK_URL_NAME=e.QP_BACK_URL_NAME;exports.useNavigationHistory=e.useNavigationHistory;exports.PageDataProvider=r.PageDataProvider;exports.usePageData=r.usePageData;exports.Form=l.Form;exports.FormButtonSubmit=d.FormButtonSubmit;exports.zodValidator=c.zodValidator;exports.nullableInput=y.nullableInput;exports.withForm=q.withForm;exports.withModalManager=m.withModalManager;exports.useFetchNextPageOnScroll=g.useFetchNextPageOnScroll;exports.useOnScrollProgress=p.useOnScrollProgress;exports.breakpointsWithPx=f.breakpointsWithPx;exports.toTailwindColors=P.toTailwindColors;exports.formatBytes=S.formatBytes;exports.addBodyJsonHook=h.addBodyJsonHook;exports.parseJSON=B.parseJSON;exports.groupBy=t.groupBy;exports.indexBy=t.indexBy;exports.shuffleArray=v.shuffleArray;exports.newHref=N.newHref;exports.isInfinityEmpty=x.isInfinityEmpty;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./components/EmptyState/index.cjs"),i=require("./components/InfinityLoader/index.cjs"),n=require("./components/SelectInfinity/index.cjs"),a=require("./components/NavItems.cjs");require("react/jsx-runtime");require("clsx");const s=require("./consts/http-status.cjs"),u=require("./consts/revalidate.cjs"),e=require("./contexts/NavigationHistoryContext/index.cjs"),r=require("./contexts/PageDataContext/index.cjs"),l=require("./form/Form.cjs"),d=require("./form/FormButtonSubmit.cjs"),c=require("./form/utils/zodValidator.cjs"),y=require("./form/utils/nullableInput.cjs"),q=require("./hocs/withForm.cjs"),m=require("./hocs/withModalManager.cjs");require("@mantine/core");const g=require("./hooks/useFetchNextPageOnScroll.cjs"),p=require("./hooks/useOnScrollProgress.cjs");require("./_virtual/navigation.cjs");const f=require("./mantine/breakpointsWithPx.cjs"),P=require("./mantine/toTailwindColors.cjs"),S=require("./utils/formatBytes.cjs"),h=require("./utils/ky/addBodyJsonHook.cjs"),B=require("./utils/ky/parseJson.cjs"),t=require("./utils/array/groupBy.cjs"),v=require("./utils/array/shuffleArray.cjs"),N=require("./utils/newHref.cjs"),x=require("./utils/isInfinityEmpty.cjs");exports.EmptyState=o.EmptyState;exports.InfinityLoader=i.InfinityLoader;exports.SelectInfinity=n.SelectInfinity;exports.NavItems=a.NavItems;exports.HttpStatus=s.HttpStatus;exports.Revalidate=u.Revalidate;exports.NavigationHistoryProvider=e.NavigationHistoryProvider;exports.QP_BACK_URL_NAME=e.QP_BACK_URL_NAME;exports.useNavigationHistory=e.useNavigationHistory;exports.PageDataProvider=r.PageDataProvider;exports.usePageData=r.usePageData;exports.Form=l.Form;exports.FormButtonSubmit=d.FormButtonSubmit;exports.zodValidator=c.zodValidator;exports.nullableInput=y.nullableInput;exports.withForm=q.withForm;exports.withModalManager=m.withModalManager;exports.useFetchNextPageOnScroll=g.useFetchNextPageOnScroll;exports.useOnScrollProgress=p.useOnScrollProgress;exports.breakpointsWithPx=f.breakpointsWithPx;exports.toTailwindColors=P.toTailwindColors;exports.formatBytes=S.formatBytes;exports.addBodyJsonHook=h.addBodyJsonHook;exports.parseJSON=B.parseJSON;exports.groupBy=t.groupBy;exports.indexBy=t.indexBy;exports.shuffleArray=v.shuffleArray;exports.newHref=N.newHref;exports.isInfinityEmpty=x.isInfinityEmpty;
package/dist/index.js CHANGED
@@ -1,32 +1,32 @@
1
- import { EmptyState as f } from "./index2.js";
2
- import { InfinityLoader as i } from "./index3.js";
3
- import { SelectInfinity as n } from "./index4.js";
4
- import { NavItems as l } from "./index5.js";
1
+ import { EmptyState as f } from "./components/EmptyState/index.js";
2
+ import { InfinityLoader as i } from "./components/InfinityLoader/index.js";
3
+ import { SelectInfinity as n } from "./components/SelectInfinity/index.js";
4
+ import { NavItems as l } from "./components/NavItems.js";
5
5
  import "react/jsx-runtime";
6
6
  import "clsx";
7
- import { HttpStatus as y } from "./index6.js";
8
- import { Revalidate as g } from "./index7.js";
9
- import { NavigationHistoryProvider as S, QP_BACK_URL_NAME as v, useNavigationHistory as B } from "./index8.js";
10
- import { PageDataProvider as h, usePageData as H } from "./index9.js";
11
- import { Form as c } from "./index10.js";
12
- import { FormButtonSubmit as F } from "./index11.js";
13
- import { zodValidator as A } from "./index12.js";
14
- import { nullableInput as M } from "./index13.js";
15
- import { withForm as _ } from "./index14.js";
16
- import { withModalManager as C } from "./index15.js";
7
+ import { HttpStatus as y } from "./consts/http-status.js";
8
+ import { Revalidate as g } from "./consts/revalidate.js";
9
+ import { NavigationHistoryProvider as S, QP_BACK_URL_NAME as v, useNavigationHistory as B } from "./contexts/NavigationHistoryContext/index.js";
10
+ import { PageDataProvider as h, usePageData as H } from "./contexts/PageDataContext/index.js";
11
+ import { Form as c } from "./form/Form.js";
12
+ import { FormButtonSubmit as F } from "./form/FormButtonSubmit.js";
13
+ import { zodValidator as A } from "./form/utils/zodValidator.js";
14
+ import { nullableInput as M } from "./form/utils/nullableInput.js";
15
+ import { withForm as _ } from "./hocs/withForm.js";
16
+ import { withModalManager as C } from "./hocs/withModalManager.js";
17
17
  import "@mantine/core";
18
- import { useFetchNextPageOnScroll as J } from "./index16.js";
19
- import { useOnScrollProgress as R } from "./index17.js";
20
- import "./index18.js";
21
- import { breakpointsWithPx as K } from "./index19.js";
22
- import { toTailwindColors as T } from "./index20.js";
23
- import { formatBytes as V } from "./index21.js";
24
- import { addBodyJsonHook as j } from "./index22.js";
25
- import { parseJSON as G } from "./index23.js";
26
- import { groupBy as Y, indexBy as Z } from "./index24.js";
27
- import { shuffleArray as oo } from "./index25.js";
28
- import { newHref as to } from "./index26.js";
29
- import { isInfinityEmpty as mo } from "./index27.js";
18
+ import { useFetchNextPageOnScroll as J } from "./hooks/useFetchNextPageOnScroll.js";
19
+ import { useOnScrollProgress as R } from "./hooks/useOnScrollProgress.js";
20
+ import "./_virtual/navigation.js";
21
+ import { breakpointsWithPx as K } from "./mantine/breakpointsWithPx.js";
22
+ import { toTailwindColors as T } from "./mantine/toTailwindColors.js";
23
+ import { formatBytes as V } from "./utils/formatBytes.js";
24
+ import { addBodyJsonHook as j } from "./utils/ky/addBodyJsonHook.js";
25
+ import { parseJSON as G } from "./utils/ky/parseJson.js";
26
+ import { groupBy as Y, indexBy as Z } from "./utils/array/groupBy.js";
27
+ import { shuffleArray as oo } from "./utils/array/shuffleArray.js";
28
+ import { newHref as to } from "./utils/newHref.js";
29
+ import { isInfinityEmpty as mo } from "./utils/isInfinityEmpty.js";
30
30
  export {
31
31
  f as EmptyState,
32
32
  c as Form,
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../../_virtual/_interop_require_default.cjs");var t;function u(){if(t)return r.__exports;t=1;function _(e){return e&&e.__esModule?e:{default:e}}return r.__exports._=_,r.__exports}exports.__require=u;
@@ -1,4 +1,4 @@
1
- import { __exports as r } from "./index102.js";
1
+ import { __exports as r } from "../../../../_virtual/_interop_require_default.js";
2
2
  var _;
3
3
  function i() {
4
4
  if (_) return r;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../../../_virtual/_interop_require_wildcard.cjs");var _;function l(){if(_)return a.__exports;_=1;function c(e){if(typeof WeakMap!="function")return null;var n=new WeakMap,r=new WeakMap;return(c=function(t){return t?r:n})(e)}function p(e,n){if(!n&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=c(n);if(r&&r.has(e))return r.get(e);var t={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var u=f?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(t,i,u):t[i]=e[i]}return t.default=e,r&&r.set(e,t),t}return a.__exports._=p,a.__exports}exports.__require=l;
@@ -1,4 +1,4 @@
1
- import { __exports as u } from "./index79.js";
1
+ import { __exports as u } from "../../../../_virtual/_interop_require_wildcard.js";
2
2
  var c;
3
3
  function o() {
4
4
  if (c) return u;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../../_virtual/add-base-path.cjs"),o=require("../shared/lib/router/utils/add-path-prefix.cjs"),f=require("./normalize-trailing-slash.cjs");var r;function s(){return r||(r=1,function(u,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addBasePath",{enumerable:!0,get:function(){return _}});const d=o.__require(),n=f.__require(),i=process.env.__NEXT_ROUTER_BASEPATH||"";function _(a,l){return(0,n.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH&&!l?a:(0,d.addPathPrefix)(a,i))}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),u.exports=e.default)}(t.__module,t.__module.exports)),t.__module.exports}exports.__require=s;
@@ -1,6 +1,6 @@
1
- import { __module as a } from "./index98.js";
2
- import { __require as _ } from "./index99.js";
3
- import { __require as l } from "./index83.js";
1
+ import { __module as a } from "../../../../_virtual/add-base-path.js";
2
+ import { __require as _ } from "../shared/lib/router/utils/add-path-prefix.js";
3
+ import { __require as l } from "./normalize-trailing-slash.js";
4
4
  var t;
5
5
  function h() {
6
6
  return t ? a.exports : (t = 1, function(u, e) {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../../../_virtual/add-locale.cjs"),c=require("./normalize-trailing-slash.cjs"),f=require("../shared/lib/router/utils/add-locale.cjs");var l;function _(){return l||(l=1,function(d,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLocale",{enumerable:!0,get:function(){return i}});const o=c.__require(),i=function(a){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return process.env.__NEXT_I18N_SUPPORT?(0,o.normalizePathTrailingSlash)(f.__require().addLocale(a,...n)):a};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),d.exports=e.default)}(u.__module,u.__module.exports)),u.__module.exports}exports.__require=_;
@@ -1,6 +1,6 @@
1
- import { __module as a } from "./index90.js";
2
- import { __require as f } from "./index83.js";
3
- import { __require as c } from "./index91.js";
1
+ import { __module as a } from "../../../../_virtual/add-locale.js";
2
+ import { __require as f } from "./normalize-trailing-slash.js";
3
+ import { __require as c } from "../shared/lib/router/utils/add-locale.js";
4
4
  var i;
5
5
  function g() {
6
6
  return i ? a.exports : (i = 1, function(o, e) {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../_virtual/app-router-headers.cjs");var o;function P(){return o||(o=1,function(H,E){Object.defineProperty(E,"__esModule",{value:!0});function N(l,u){for(var T in u)Object.defineProperty(l,T,{enumerable:!0,get:u[T]})}N(E,{ACTION_HEADER:function(){return c},FLIGHT_HEADERS:function(){return s},NEXT_DID_POSTPONE_HEADER:function(){return d},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return f},NEXT_HMR_REFRESH_HEADER:function(){return r},NEXT_IS_PRERENDER_HEADER:function(){return a},NEXT_REWRITTEN_PATH_HEADER:function(){return O},NEXT_REWRITTEN_QUERY_HEADER:function(){return X},NEXT_ROUTER_PREFETCH_HEADER:function(){return n},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return R},NEXT_ROUTER_STALE_TIME_HEADER:function(){return S},NEXT_ROUTER_STATE_TREE_HEADER:function(){return _},NEXT_RSC_UNION_QUERY:function(){return D},NEXT_URL:function(){return i},RSC_CONTENT_TYPE_HEADER:function(){return A},RSC_HEADER:function(){return t}});const t="RSC",c="Next-Action",_="Next-Router-State-Tree",n="Next-Router-Prefetch",R="Next-Router-Segment-Prefetch",r="Next-HMR-Refresh",f="__next_hmr_refresh_hash__",i="Next-Url",A="text/x-component",s=[t,_,n,r,R],D="_rsc",S="x-nextjs-stale-time",d="x-nextjs-postponed",O="x-nextjs-rewritten-path",X="x-nextjs-rewritten-query",a="x-nextjs-prerender";(typeof E.default=="function"||typeof E.default=="object"&&E.default!==null)&&typeof E.default.__esModule>"u"&&(Object.defineProperty(E.default,"__esModule",{value:!0}),Object.assign(E.default,E),H.exports=E.default)}(e.__module,e.__module.exports)),e.__module.exports}exports.__require=P;
@@ -1,4 +1,4 @@
1
- import { __module as e } from "./index156.js";
1
+ import { __module as e } from "../../../../../_virtual/app-router-headers.js";
2
2
  var o;
3
3
  function C() {
4
4
  return o ? e.exports : (o = 1, function(H, E) {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../../../_virtual/bailout-to-client-rendering.cjs"),d=require("../../shared/lib/lazy-dynamic/bailout-to-csr.cjs"),f=require("../../server/app-render/work-async-storage.external.cjs");var n;function c(){return n||(n=1,function(o,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"bailoutToClientRendering",{enumerable:!0,get:function(){return l}});const u=d.__require(),i=f.__require();function l(a){const t=i.workAsyncStorage.getStore();if(!t?.forceStatic&&t?.isStaticGeneration)throw Object.defineProperty(new u.BailoutToCSRError(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),o.exports=e.default)}(r.__module,r.__module.exports)),r.__module.exports}exports.__require=c;
@@ -1,6 +1,6 @@
1
- import { __module as r } from "./index77.js";
2
- import { __require as f } from "./index78.js";
3
- import { __require as d } from "./index73.js";
1
+ import { __module as r } from "../../../../../_virtual/bailout-to-client-rendering.js";
2
+ import { __require as f } from "../../shared/lib/lazy-dynamic/bailout-to-csr.js";
3
+ import { __require as d } from "../../server/app-render/work-async-storage.external.js";
4
4
  var o;
5
5
  function b() {
6
6
  return o ? r.exports : (o = 1, function(n, e) {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../../../_virtual/forbidden.cjs"),d=require("./http-access-fallback/http-access-fallback.cjs");var u;function a(){return u||(u=1,function(l,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"forbidden",{enumerable:!0,get:function(){return o}});const t=""+d.__require().HTTP_ERROR_FALLBACK_ERROR_CODE+";403";function o(){if(!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS)throw Object.defineProperty(new Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0});const n=Object.defineProperty(new Error(t),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw n.digest=t,n}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),l.exports=e.default)}(r.__module,r.__module.exports)),r.__module.exports}exports.__require=a;
@@ -1,5 +1,5 @@
1
- import { __module as r } from "./index109.js";
2
- import { __require as l } from "./index108.js";
1
+ import { __module as r } from "../../../../../_virtual/forbidden.js";
2
+ import { __require as l } from "./http-access-fallback/http-access-fallback.js";
3
3
  var u;
4
4
  function _() {
5
5
  return u ? r.exports : (u = 1, function(a, e) {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../../../../_virtual/hooks-server-context.cjs");var i;function l(){return i||(i=1,function(f,e){Object.defineProperty(e,"__esModule",{value:!0});function d(r,t){for(var o in t)Object.defineProperty(r,o,{enumerable:!0,get:t[o]})}d(e,{DynamicServerError:function(){return c},isDynamicServerError:function(){return s}});const n="DYNAMIC_SERVER_USAGE";class c extends Error{constructor(t){super("Dynamic server usage: "+t),this.description=t,this.digest=n}}function s(r){return typeof r!="object"||r===null||!("digest"in r)||typeof r.digest!="string"?!1:r.digest===n}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),f.exports=e.default)}(u.__module,u.__module.exports)),u.__module.exports}exports.__require=l;
@@ -1,4 +1,4 @@
1
- import { __module as n } from "./index117.js";
1
+ import { __module as n } from "../../../../../_virtual/hooks-server-context.js";
2
2
  var i;
3
3
  function l() {
4
4
  return i ? n.exports : (i = 1, function(f, e) {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../../../../../_virtual/http-access-fallback.cjs");var a;function T(){return a||(a=1,function(l,t){Object.defineProperty(t,"__esModule",{value:!0});function i(e,u){for(var c in u)Object.defineProperty(e,c,{enumerable:!0,get:u[c]})}i(t,{HTTPAccessErrorStatus:function(){return r},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return s},getAccessFallbackErrorTypeByStatus:function(){return _},getAccessFallbackHTTPStatus:function(){return d},isHTTPAccessFallbackError:function(){return f}});const r={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},o=new Set(Object.values(r)),s="NEXT_HTTP_ERROR_FALLBACK";function f(e){if(typeof e!="object"||e===null||!("digest"in e)||typeof e.digest!="string")return!1;const[u,c]=e.digest.split(";");return u===s&&o.has(Number(c))}function d(e){const u=e.digest.split(";")[1];return Number(u)}function _(e){switch(e){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),l.exports=t.default)}(n.__module,n.__module.exports)),n.__module.exports}exports.__require=T;
@@ -1,4 +1,4 @@
1
- import { __module as n } from "./index148.js";
1
+ import { __module as n } from "../../../../../../_virtual/http-access-fallback.js";
2
2
  var a;
3
3
  function b() {
4
4
  return a ? n.exports : (a = 1, function(i, e) {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../../../_virtual/is-next-router-error.cjs"),l=require("./http-access-fallback/http-access-fallback.cjs"),d=require("./redirect-error.cjs");var u;function f(){return u||(u=1,function(o,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isNextRouterError",{enumerable:!0,get:function(){return n}});const i=l.__require(),c=d.__require();function n(t){return(0,c.isRedirectError)(t)||(0,i.isHTTPAccessFallbackError)(t)}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),o.exports=e.default)}(r.__module,r.__module.exports)),r.__module.exports}exports.__require=f;
@@ -1,6 +1,6 @@
1
- import { __module as r } from "./index171.js";
2
- import { __require as c } from "./index108.js";
3
- import { __require as n } from "./index63.js";
1
+ import { __module as r } from "../../../../../_virtual/is-next-router-error.js";
2
+ import { __require as c } from "./http-access-fallback/http-access-fallback.js";
3
+ import { __require as n } from "./redirect-error.js";
4
4
  var u;
5
5
  function _() {
6
6
  return u ? r.exports : (u = 1, function(o, e) {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("../../../../../_virtual/navigation2.cjs"),E=require("react"),M=require("../../shared/lib/app-router-context.shared-runtime.cjs"),w=require("../../shared/lib/hooks-client-context.shared-runtime.cjs"),O=require("./router-reducer/reducers/get-segment-value.cjs"),j=require("../../shared/lib/segment.cjs"),H=require("./navigation.react-server.cjs"),I=require("../../shared/lib/server-inserted-html.shared-runtime.cjs"),N=require("../../server/app-render/dynamic-rendering.cjs"),D=require("./bailout-to-client-rendering.cjs");var y;function U(){return y||(y=1,function(q,r){Object.defineProperty(r,"__esModule",{value:!0});function P(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}P(r,{ReadonlyURLSearchParams:function(){return u.ReadonlyURLSearchParams},RedirectType:function(){return u.RedirectType},ServerInsertedHTMLContext:function(){return m.ServerInsertedHTMLContext},forbidden:function(){return u.forbidden},notFound:function(){return u.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},unauthorized:function(){return u.unauthorized},unstable_rethrow:function(){return u.unstable_rethrow},useParams:function(){return p},usePathname:function(){return C},useRouter:function(){return L},useSearchParams:function(){return b},useSelectedLayoutSegment:function(){return T},useSelectedLayoutSegments:function(){return h},useServerInsertedHTML:function(){return m.useServerInsertedHTML}});const i=E,l=M.__require(),d=w.__require(),R=O.__require(),_=j.__require(),u=H.__require(),m=I.__require(),o=typeof window>"u"?N.__require().useDynamicRouteParams:void 0;function b(){const e=(0,i.useContext)(d.SearchParamsContext),t=(0,i.useMemo)(()=>e?new u.ReadonlyURLSearchParams(e):null,[e]);if(typeof window>"u"){const{bailoutToClientRendering:n}=D.__require();n("useSearchParams()")}return t}function C(){return o?.("usePathname()"),(0,i.useContext)(d.PathnameContext)}function L(){const e=(0,i.useContext)(l.AppRouterContext);if(e===null)throw Object.defineProperty(new Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return e}function p(){return o?.("useParams()"),(0,i.useContext)(d.PathParamsContext)}function S(e,t,n,a){n===void 0&&(n=!0),a===void 0&&(a=[]);let s;if(n)s=e[1][t];else{const v=e[1];var g;s=(g=v.children)!=null?g:Object.values(v)[0]}if(!s)return a;const x=s[0];let f=(0,R.getSegmentValue)(x);return!f||f.startsWith(_.PAGE_SEGMENT_KEY)?a:(a.push(f),S(s,t,!1,a))}function h(e){e===void 0&&(e="children"),o?.("useSelectedLayoutSegments()");const t=(0,i.useContext)(l.LayoutRouterContext);return t?S(t.parentTree,e):null}function T(e){e===void 0&&(e="children"),o?.("useSelectedLayoutSegment()");const t=h(e);if(!t||t.length===0)return null;const n=e==="children"?t[0]:t[t.length-1];return n===_.DEFAULT_SEGMENT_KEY?null:n}(typeof r.default=="function"||typeof r.default=="object"&&r.default!==null)&&typeof r.default.__esModule>"u"&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),q.exports=r.default)}(c.__module,c.__module.exports)),c.__module.exports}exports.__require=U;
@@ -1,13 +1,13 @@
1
- import { __module as c } from "./index34.js";
1
+ import { __module as c } from "../../../../../_virtual/navigation2.js";
2
2
  import T from "react";
3
- import { __require as M } from "./index35.js";
4
- import { __require as w } from "./index36.js";
5
- import { __require as O } from "./index37.js";
6
- import { __require as j } from "./index38.js";
7
- import { __require as H } from "./index39.js";
8
- import { __require as N } from "./index40.js";
9
- import { __require as D } from "./index41.js";
10
- import { __require as I } from "./index42.js";
3
+ import { __require as M } from "../../shared/lib/app-router-context.shared-runtime.js";
4
+ import { __require as w } from "../../shared/lib/hooks-client-context.shared-runtime.js";
5
+ import { __require as O } from "./router-reducer/reducers/get-segment-value.js";
6
+ import { __require as j } from "../../shared/lib/segment.js";
7
+ import { __require as H } from "./navigation.react-server.js";
8
+ import { __require as N } from "../../shared/lib/server-inserted-html.shared-runtime.js";
9
+ import { __require as D } from "../../server/app-render/dynamic-rendering.js";
10
+ import { __require as I } from "./bailout-to-client-rendering.js";
11
11
  var p;
12
12
  function W() {
13
13
  return p ? c.exports : (p = 1, function(y, n) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index61.cjs"),p=require("./index62.cjs"),q=require("./index63.cjs"),R=require("./index64.cjs"),m=require("./index65.cjs"),y=require("./index66.cjs"),v=require("./index67.cjs");var i;function w(){return i||(i=1,function(d,e){Object.defineProperty(e,"__esModule",{value:!0});function c(n,o){for(var a in o)Object.defineProperty(n,a,{enumerable:!0,get:o[a]})}c(e,{ReadonlyURLSearchParams:function(){return b},RedirectType:function(){return s.RedirectType},forbidden:function(){return f.forbidden},notFound:function(){return _.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},unauthorized:function(){return l.unauthorized},unstable_rethrow:function(){return h.unstable_rethrow}});const u=p.__require(),s=q.__require(),_=R.__require(),f=m.__require(),l=y.__require(),h=v.__require();class r extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class b extends URLSearchParams{append(){throw new r}delete(){throw new r}set(){throw new r}sort(){throw new r}}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),d.exports=e.default)}(t.__module,t.__module.exports)),t.__module.exports}exports.__require=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../../../_virtual/navigation.react-server.cjs"),p=require("./redirect.cjs"),q=require("./redirect-error.cjs"),R=require("./not-found.cjs"),m=require("./forbidden.cjs"),y=require("./unauthorized.cjs"),v=require("./unstable-rethrow.cjs");var i;function w(){return i||(i=1,function(d,e){Object.defineProperty(e,"__esModule",{value:!0});function c(n,o){for(var a in o)Object.defineProperty(n,a,{enumerable:!0,get:o[a]})}c(e,{ReadonlyURLSearchParams:function(){return b},RedirectType:function(){return s.RedirectType},forbidden:function(){return f.forbidden},notFound:function(){return _.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},unauthorized:function(){return l.unauthorized},unstable_rethrow:function(){return h.unstable_rethrow}});const u=p.__require(),s=q.__require(),_=R.__require(),f=m.__require(),l=y.__require(),h=v.__require();class r extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class b extends URLSearchParams{append(){throw new r}delete(){throw new r}set(){throw new r}sort(){throw new r}}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),d.exports=e.default)}(t.__module,t.__module.exports)),t.__module.exports}exports.__require=w;
@@ -1,10 +1,10 @@
1
- import { __module as t } from "./index61.js";
2
- import { __require as h } from "./index62.js";
3
- import { __require as R } from "./index63.js";
4
- import { __require as b } from "./index64.js";
5
- import { __require as q } from "./index65.js";
6
- import { __require as w } from "./index66.js";
7
- import { __require as y } from "./index67.js";
1
+ import { __module as t } from "../../../../../_virtual/navigation.react-server.js";
2
+ import { __require as h } from "./redirect.js";
3
+ import { __require as R } from "./redirect-error.js";
4
+ import { __require as b } from "./not-found.js";
5
+ import { __require as q } from "./forbidden.js";
6
+ import { __require as w } from "./unauthorized.js";
7
+ import { __require as y } from "./unstable-rethrow.js";
8
8
  var i;
9
9
  function z() {
10
10
  return i ? t.exports : (i = 1, function(d, e) {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../../../_virtual/not-found.cjs"),d=require("./http-access-fallback/http-access-fallback.cjs");var r;function c(){return r||(r=1,function(o,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"notFound",{enumerable:!0,get:function(){return l}});const u=""+d.__require().HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function l(){const n=Object.defineProperty(new Error(u),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw n.digest=u,n}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),o.exports=e.default)}(t.__module,t.__module.exports)),t.__module.exports}exports.__require=c;
@@ -1,5 +1,5 @@
1
- import { __module as t } from "./index107.js";
2
- import { __require as f } from "./index108.js";
1
+ import { __module as t } from "../../../../../_virtual/not-found.js";
2
+ import { __require as f } from "./http-access-fallback/http-access-fallback.js";
3
3
  var n;
4
4
  function i() {
5
5
  return n ? t.exports : (n = 1, function(o, e) {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../../../../_virtual/redirect-error.cjs"),p=require("./redirect-status-code.cjs");var c;function y(){return c||(c=1,function(s,t){Object.defineProperty(t,"__esModule",{value:!0});function f(e,r){for(var u in r)Object.defineProperty(e,u,{enumerable:!0,get:r[u]})}f(t,{REDIRECT_ERROR_CODE:function(){return i},RedirectType:function(){return a},isRedirectError:function(){return _}});const l=p.__require(),i="NEXT_REDIRECT";var a=function(e){return e.push="push",e.replace="replace",e}({});function _(e){if(typeof e!="object"||e===null||!("digest"in e)||typeof e.digest!="string")return!1;const r=e.digest.split(";"),[u,o]=r,R=r.slice(2,-2).join(";"),E=r.at(-2),d=Number(E);return u===i&&(o==="replace"||o==="push")&&typeof R=="string"&&!isNaN(d)&&d in l.RedirectStatusCode}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),s.exports=t.default)}(n.__module,n.__module.exports)),n.__module.exports}exports.__require=y;
@@ -1,5 +1,5 @@
1
- import { __module as i } from "./index106.js";
2
- import { __require as E } from "./index104.js";
1
+ import { __module as i } from "../../../../../_virtual/redirect-error.js";
2
+ import { __require as E } from "./redirect-status-code.js";
3
3
  var d;
4
4
  function b() {
5
5
  return d ? i.exports : (d = 1, function(s, t) {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../../../_virtual/redirect-status-code.cjs");var u;function f(){return u||(u=1,function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RedirectStatusCode",{enumerable:!0,get:function(){return d}});var d=function(r){return r[r.SeeOther=303]="SeeOther",r[r.TemporaryRedirect=307]="TemporaryRedirect",r[r.PermanentRedirect=308]="PermanentRedirect",r}({});(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),n.exports=e.default)}(t.__module,t.__module.exports)),t.__module.exports}exports.__require=f;
@@ -1,4 +1,4 @@
1
- import { __module as t } from "./index145.js";
1
+ import { __module as t } from "../../../../../_virtual/redirect-status-code.js";
2
2
  var u;
3
3
  function d() {
4
4
  return u ? t.exports : (u = 1, function(n, e) {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../../../_virtual/redirect.cjs"),b=require("./redirect-status-code.cjs"),y=require("./redirect-error.cjs"),O=require("../../server/app-render/action-async-storage.external.cjs");var f;function p(){return f||(f=1,function(l,t){Object.defineProperty(t,"__esModule",{value:!0});function R(e,r){for(var i in r)Object.defineProperty(e,i,{enumerable:!0,get:r[i]})}R(t,{getRedirectError:function(){return c},getRedirectStatusCodeFromError:function(){return m},getRedirectTypeFromError:function(){return g},getURLFromRedirectError:function(){return E},permanentRedirect:function(){return s},redirect:function(){return _}});const u=b.__require(),n=y.__require(),d=typeof window>"u"?O.__require().actionAsyncStorage:void 0;function c(e,r,i){i===void 0&&(i=u.RedirectStatusCode.TemporaryRedirect);const a=Object.defineProperty(new Error(n.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return a.digest=n.REDIRECT_ERROR_CODE+";"+r+";"+e+";"+i+";",a}function _(e,r){var i;throw r??(r=!(d==null||(i=d.getStore())==null)&&i.isAction?n.RedirectType.push:n.RedirectType.replace),c(e,r,u.RedirectStatusCode.TemporaryRedirect)}function s(e,r){throw r===void 0&&(r=n.RedirectType.replace),c(e,r,u.RedirectStatusCode.PermanentRedirect)}function E(e){return(0,n.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function g(e){if(!(0,n.isRedirectError)(e))throw Object.defineProperty(new Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return e.digest.split(";",2)[1]}function m(e){if(!(0,n.isRedirectError)(e))throw Object.defineProperty(new Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(e.digest.split(";").at(-2))}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),l.exports=t.default)}(o.__module,o.__module.exports)),o.__module.exports}exports.__require=p;