lkd-web-kit 0.0.7 → 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 (362) hide show
  1. package/dist/index.cjs +1 -0
  2. package/dist/index.js +59 -6322
  3. package/dist/index10.cjs +1 -0
  4. package/dist/index10.js +21 -0
  5. package/dist/index100.cjs +1 -0
  6. package/dist/index100.js +4 -0
  7. package/dist/index101.cjs +1 -0
  8. package/dist/index101.js +4 -0
  9. package/dist/index102.cjs +1 -0
  10. package/dist/index102.js +4 -0
  11. package/dist/index103.cjs +1 -0
  12. package/dist/index103.js +4 -0
  13. package/dist/index104.cjs +1 -0
  14. package/dist/index104.js +21 -0
  15. package/dist/index105.cjs +1 -0
  16. package/dist/index105.js +19 -0
  17. package/dist/index106.cjs +1 -0
  18. package/dist/index106.js +4 -0
  19. package/dist/index107.cjs +1 -0
  20. package/dist/index107.js +4 -0
  21. package/dist/index108.cjs +1 -0
  22. package/dist/index108.js +63 -0
  23. package/dist/index109.cjs +1 -0
  24. package/dist/index109.js +4 -0
  25. package/dist/index11.cjs +1 -0
  26. package/dist/index11.js +18 -0
  27. package/dist/index110.cjs +1 -0
  28. package/dist/index110.js +4 -0
  29. package/dist/index111.cjs +1 -0
  30. package/dist/index111.js +4 -0
  31. package/dist/index112.cjs +1 -0
  32. package/dist/index112.js +30 -0
  33. package/dist/index113.cjs +1 -0
  34. package/dist/index113.js +26 -0
  35. package/dist/index114.cjs +1 -0
  36. package/dist/index114.js +4 -0
  37. package/dist/index115.cjs +1 -0
  38. package/dist/index115.js +4 -0
  39. package/dist/index116.cjs +1 -0
  40. package/dist/index116.js +19 -0
  41. package/dist/index117.cjs +1 -0
  42. package/dist/index117.js +4 -0
  43. package/dist/index118.cjs +1 -0
  44. package/dist/index118.js +4 -0
  45. package/dist/index119.cjs +1 -0
  46. package/dist/index119.js +4 -0
  47. package/dist/index12.cjs +1 -0
  48. package/dist/index12.js +9 -0
  49. package/dist/index120.cjs +1 -0
  50. package/dist/index120.js +19 -0
  51. package/dist/index121.cjs +1 -0
  52. package/dist/index121.js +76 -0
  53. package/dist/index122.cjs +1 -0
  54. package/dist/index122.js +4 -0
  55. package/dist/index123.cjs +1 -0
  56. package/dist/index123.js +4 -0
  57. package/dist/index124.cjs +1 -0
  58. package/dist/index124.js +4 -0
  59. package/dist/index125.cjs +1 -0
  60. package/dist/index125.js +4 -0
  61. package/dist/index126.cjs +1 -0
  62. package/dist/index126.js +4 -0
  63. package/dist/index127.cjs +1 -0
  64. package/dist/index127.js +4 -0
  65. package/dist/index128.cjs +1 -0
  66. package/dist/index128.js +20 -0
  67. package/dist/index129.cjs +1 -0
  68. package/dist/index129.js +29 -0
  69. package/dist/index13.cjs +1 -0
  70. package/dist/index13.js +9 -0
  71. package/dist/index130.cjs +1 -0
  72. package/dist/index130.js +4 -0
  73. package/dist/index131.cjs +1 -0
  74. package/dist/index131.js +154 -0
  75. package/dist/index132.cjs +1 -0
  76. package/dist/index132.js +22 -0
  77. package/dist/index133.cjs +1 -0
  78. package/dist/index133.js +4 -0
  79. package/dist/index134.cjs +1 -0
  80. package/dist/index134.js +42 -0
  81. package/dist/index135.cjs +1 -0
  82. package/dist/index135.js +167 -0
  83. package/dist/index136.cjs +1 -0
  84. package/dist/index136.js +4 -0
  85. package/dist/index137.cjs +1 -0
  86. package/dist/index137.js +25 -0
  87. package/dist/index138.cjs +1 -0
  88. package/dist/index138.js +4 -0
  89. package/dist/index139.cjs +1 -0
  90. package/dist/index139.js +4 -0
  91. package/dist/index14.cjs +1 -0
  92. package/dist/index14.js +47 -0
  93. package/dist/index140.cjs +1 -0
  94. package/dist/index140.js +4 -0
  95. package/dist/index141.cjs +1 -0
  96. package/dist/index141.js +37 -0
  97. package/dist/index142.cjs +1 -0
  98. package/dist/index142.js +4 -0
  99. package/dist/index143.cjs +1 -0
  100. package/dist/index143.js +28 -0
  101. package/dist/index144.cjs +1 -0
  102. package/dist/index144.js +4 -0
  103. package/dist/index145.cjs +1 -0
  104. package/dist/index145.js +4 -0
  105. package/dist/index146.cjs +1 -0
  106. package/dist/index146.js +4 -0
  107. package/dist/index147.cjs +1 -0
  108. package/dist/index147.js +19 -0
  109. package/dist/index148.cjs +1 -0
  110. package/dist/index148.js +4 -0
  111. package/dist/index149.cjs +1 -0
  112. package/dist/index149.js +4 -0
  113. package/dist/index15.cjs +1 -0
  114. package/dist/index15.js +20 -0
  115. package/dist/index150.cjs +1 -0
  116. package/dist/index150.js +21 -0
  117. package/dist/index151.cjs +1 -0
  118. package/dist/index151.js +24 -0
  119. package/dist/index152.cjs +1 -0
  120. package/dist/index152.js +4 -0
  121. package/dist/index153.cjs +1 -0
  122. package/dist/index153.js +4 -0
  123. package/dist/index154.cjs +1 -0
  124. package/dist/index154.js +65 -0
  125. package/dist/index155.cjs +1 -0
  126. package/dist/index155.js +4 -0
  127. package/dist/index156.cjs +1 -0
  128. package/dist/index156.js +4 -0
  129. package/dist/index157.cjs +1 -0
  130. package/dist/index157.js +4 -0
  131. package/dist/index158.cjs +1 -0
  132. package/dist/index158.js +4 -0
  133. package/dist/index159.cjs +1 -0
  134. package/dist/index159.js +4 -0
  135. package/dist/index16.cjs +1 -0
  136. package/dist/index16.js +17 -0
  137. package/dist/index160.cjs +1 -0
  138. package/dist/index160.js +4 -0
  139. package/dist/index161.cjs +1 -0
  140. package/dist/index161.js +90 -0
  141. package/dist/index162.cjs +1 -0
  142. package/dist/index162.js +4 -0
  143. package/dist/index163.cjs +1 -0
  144. package/dist/index163.js +4 -0
  145. package/dist/index164.cjs +1 -0
  146. package/dist/index164.js +285 -0
  147. package/dist/index165.cjs +1 -0
  148. package/dist/index165.js +21 -0
  149. package/dist/index166.cjs +1 -0
  150. package/dist/index166.js +4 -0
  151. package/dist/index167.cjs +1 -0
  152. package/dist/index167.js +4 -0
  153. package/dist/index168.cjs +1 -0
  154. package/dist/index168.js +4 -0
  155. package/dist/index169.cjs +1 -0
  156. package/dist/index169.js +4 -0
  157. package/dist/index17.cjs +1 -0
  158. package/dist/index17.js +18 -0
  159. package/dist/index170.cjs +1 -0
  160. package/dist/index170.js +4 -0
  161. package/dist/index171.cjs +1 -0
  162. package/dist/index171.js +4 -0
  163. package/dist/index172.cjs +1 -0
  164. package/dist/index172.js +4 -0
  165. package/dist/index173.cjs +1 -0
  166. package/dist/index173.js +4 -0
  167. package/dist/index174.cjs +1 -0
  168. package/dist/index174.js +39 -0
  169. package/dist/index175.cjs +1 -0
  170. package/dist/index175.js +4 -0
  171. package/dist/index176.cjs +1 -0
  172. package/dist/index176.js +4 -0
  173. package/dist/index177.cjs +1 -0
  174. package/dist/index177.js +4 -0
  175. package/dist/index178.cjs +1 -0
  176. package/dist/index178.js +20 -0
  177. package/dist/index179.cjs +1 -0
  178. package/dist/index179.js +4 -0
  179. package/dist/index18.cjs +1 -0
  180. package/dist/index18.js +5 -0
  181. package/dist/index180.cjs +1 -0
  182. package/dist/index180.js +6 -0
  183. package/dist/index19.cjs +1 -0
  184. package/dist/index19.js +11 -0
  185. package/dist/index2.cjs +1 -0
  186. package/dist/index2.js +36 -0
  187. package/dist/index20.cjs +1 -0
  188. package/dist/index20.js +10 -0
  189. package/dist/index21.cjs +1 -0
  190. package/dist/index21.js +8 -0
  191. package/dist/index22.cjs +1 -0
  192. package/dist/index22.js +5 -0
  193. package/dist/index23.cjs +1 -0
  194. package/dist/index23.js +6 -0
  195. package/dist/index24.cjs +1 -0
  196. package/dist/index24.js +34 -0
  197. package/dist/index25.cjs +1 -0
  198. package/dist/index25.js +13 -0
  199. package/dist/index26.cjs +1 -0
  200. package/dist/index26.js +20 -0
  201. package/dist/index27.cjs +1 -0
  202. package/dist/index27.js +4 -0
  203. package/dist/index28.cjs +1 -0
  204. package/dist/index28.js +54 -0
  205. package/dist/index29.cjs +1 -0
  206. package/dist/index29.js +7 -0
  207. package/dist/index3.cjs +1 -0
  208. package/dist/index3.js +6 -0
  209. package/dist/index30.cjs +1 -0
  210. package/dist/index30.js +8 -0
  211. package/dist/index31.cjs +8 -0
  212. package/dist/index31.js +280 -0
  213. package/dist/index32.cjs +1 -0
  214. package/dist/index32.js +8 -0
  215. package/dist/index33.cjs +1 -0
  216. package/dist/index33.js +133 -0
  217. package/dist/index34.cjs +1 -0
  218. package/dist/index34.js +4 -0
  219. package/dist/index35.cjs +1 -0
  220. package/dist/index35.js +41 -0
  221. package/dist/index36.cjs +1 -0
  222. package/dist/index36.js +33 -0
  223. package/dist/index37.cjs +1 -0
  224. package/dist/index37.js +21 -0
  225. package/dist/index38.cjs +1 -0
  226. package/dist/index38.js +49 -0
  227. package/dist/index39.cjs +1 -0
  228. package/dist/index39.js +75 -0
  229. package/dist/index4.cjs +1 -0
  230. package/dist/index4.js +105 -0
  231. package/dist/index40.cjs +1 -0
  232. package/dist/index40.js +34 -0
  233. package/dist/index41.cjs +4 -0
  234. package/dist/index41.js +346 -0
  235. package/dist/index42.cjs +1 -0
  236. package/dist/index42.js +30 -0
  237. package/dist/index43.cjs +1 -0
  238. package/dist/index43.js +4 -0
  239. package/dist/index44.cjs +1 -0
  240. package/dist/index44.js +30 -0
  241. package/dist/index45.cjs +1 -0
  242. package/dist/index45.js +67 -0
  243. package/dist/index46.cjs +1 -0
  244. package/dist/index46.js +29 -0
  245. package/dist/index47.cjs +1 -0
  246. package/dist/index47.js +57 -0
  247. package/dist/index48.cjs +1 -0
  248. package/dist/index48.js +166 -0
  249. package/dist/index49.cjs +1 -0
  250. package/dist/index49.js +25 -0
  251. package/dist/index5.cjs +1 -0
  252. package/dist/index5.js +35 -0
  253. package/dist/index50.cjs +1 -0
  254. package/dist/index50.js +21 -0
  255. package/dist/index51.cjs +1 -0
  256. package/dist/index51.js +85 -0
  257. package/dist/index52.cjs +1 -0
  258. package/dist/index52.js +33 -0
  259. package/dist/index53.cjs +1 -0
  260. package/dist/index53.js +24 -0
  261. package/dist/index54.cjs +1 -0
  262. package/dist/index54.js +44 -0
  263. package/dist/index55.cjs +1 -0
  264. package/dist/index55.js +25 -0
  265. package/dist/index56.cjs +1 -0
  266. package/dist/index56.js +4 -0
  267. package/dist/index57.cjs +1 -0
  268. package/dist/index57.js +13 -0
  269. package/dist/index58.cjs +1 -0
  270. package/dist/index58.js +4 -0
  271. package/dist/index59.cjs +1 -0
  272. package/dist/index59.js +4 -0
  273. package/dist/index6.cjs +1 -0
  274. package/dist/index6.js +4 -0
  275. package/dist/index60.cjs +1 -0
  276. package/dist/index60.js +4 -0
  277. package/dist/index61.cjs +1 -0
  278. package/dist/index61.js +4 -0
  279. package/dist/index62.cjs +1 -0
  280. package/dist/index62.js +80 -0
  281. package/dist/index63.cjs +1 -0
  282. package/dist/index63.js +41 -0
  283. package/dist/index64.cjs +1 -0
  284. package/dist/index64.js +28 -0
  285. package/dist/index65.cjs +1 -0
  286. package/dist/index65.js +34 -0
  287. package/dist/index66.cjs +1 -0
  288. package/dist/index66.js +34 -0
  289. package/dist/index67.cjs +1 -0
  290. package/dist/index67.js +21 -0
  291. package/dist/index68.cjs +1 -0
  292. package/dist/index68.js +4 -0
  293. package/dist/index69.cjs +1 -0
  294. package/dist/index69.js +4 -0
  295. package/dist/index7.cjs +1 -0
  296. package/dist/index7.js +4 -0
  297. package/dist/index70.cjs +1 -0
  298. package/dist/index70.js +36 -0
  299. package/dist/index71.cjs +1 -0
  300. package/dist/index71.js +36 -0
  301. package/dist/index72.cjs +1 -0
  302. package/dist/index72.js +102 -0
  303. package/dist/index73.cjs +1 -0
  304. package/dist/index73.js +19 -0
  305. package/dist/index74.cjs +1 -0
  306. package/dist/index74.js +62 -0
  307. package/dist/index75.cjs +1 -0
  308. package/dist/index75.js +30 -0
  309. package/dist/index76.cjs +1 -0
  310. package/dist/index76.js +45 -0
  311. package/dist/index77.cjs +1 -0
  312. package/dist/index77.js +4 -0
  313. package/dist/index78.cjs +1 -0
  314. package/dist/index78.js +35 -0
  315. package/dist/index79.cjs +1 -0
  316. package/dist/index79.js +4 -0
  317. package/dist/index8.cjs +1 -0
  318. package/dist/index8.js +47 -0
  319. package/dist/index80.cjs +1 -0
  320. package/dist/index80.js +4 -0
  321. package/dist/index81.cjs +1 -0
  322. package/dist/index81.js +64 -0
  323. package/dist/index82.cjs +1 -0
  324. package/dist/index82.js +23 -0
  325. package/dist/index83.cjs +1 -0
  326. package/dist/index83.js +26 -0
  327. package/dist/index84.cjs +1 -0
  328. package/dist/index84.js +32 -0
  329. package/dist/index85.cjs +1 -0
  330. package/dist/index85.js +49 -0
  331. package/dist/index86.cjs +1 -0
  332. package/dist/index86.js +4 -0
  333. package/dist/index87.cjs +1 -0
  334. package/dist/index87.js +23 -0
  335. package/dist/index88.cjs +1 -0
  336. package/dist/index88.js +4 -0
  337. package/dist/index89.cjs +1 -0
  338. package/dist/index89.js +4 -0
  339. package/dist/index9.cjs +1 -0
  340. package/dist/index9.js +15 -0
  341. package/dist/index90.cjs +1 -0
  342. package/dist/index90.js +4 -0
  343. package/dist/index91.cjs +1 -0
  344. package/dist/index91.js +25 -0
  345. package/dist/index92.cjs +1 -0
  346. package/dist/index92.js +4 -0
  347. package/dist/index93.cjs +1 -0
  348. package/dist/index93.js +4 -0
  349. package/dist/index94.cjs +1 -0
  350. package/dist/index94.js +40 -0
  351. package/dist/index95.cjs +1 -0
  352. package/dist/index95.js +4 -0
  353. package/dist/index96.cjs +1 -0
  354. package/dist/index96.js +23 -0
  355. package/dist/index97.cjs +1 -0
  356. package/dist/index97.js +25 -0
  357. package/dist/index98.cjs +1 -0
  358. package/dist/index98.js +4 -0
  359. package/dist/index99.cjs +1 -0
  360. package/dist/index99.js +25 -0
  361. package/package.json +11 -10
  362. package/dist/index.umd.cjs +0 -6354
@@ -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 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=n=>{const e=[...n];let r=e.length,t;for(;r>0;)t=Math.floor(Math.random()*r),r--,[e[r],e[t]]=[e[t],e[r]];return e};exports.shuffleArray=l;
@@ -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 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("query-string"),n=r=>e=>{const t=typeof r=="string"?r:r(e??{params:{},searchParams:{}});if(e?.searchParams){const s=i.stringify(e.searchParams,{skipEmptyString:!0,skipNull:!0});return`${t}${s?`?${s}`:""}`}return t};exports.newHref=n;
@@ -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 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=t=>t?.pages[0].data.length===0;exports.isInfinityEmpty=e;
@@ -0,0 +1,4 @@
1
+ const n = (t) => t?.pages[0].data.length === 0;
2
+ export {
3
+ n as isInfinityEmpty
4
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";const d=require("react/jsx-runtime"),n=require("clsx"),o=({i:e,size:t="md",style:h,rotate:i,className:s,...r})=>d.jsx(e,{...typeof t=="number"?{height:t,width:t}:c[t],viewBox:"0 0 24 24",style:{...h,transform:`rotate(${i}deg)`},className:n("shrink-0",s),...r}),c={xs:{height:16,width:16},sm:{height:20,width:20},md:{height:24,width:24},lg:{height:28,width:28},xl:{height:32,width:32},"2xl":{height:40,width:40}};module.exports=o;
@@ -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
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),t=require("@mantine/core"),a=({infinity:e,loaderProps:s,...o})=>r.jsx(t.Center,{...o,children:e.isFetching?r.jsx(t.Loader,{...s}):!e.hasNextPage&&(e.data?.pages.length??0)>1&&r.jsx("p",{children:"No hay más resultados"})});exports.InfinityLoader=a;
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
+ };
@@ -0,0 +1,8 @@
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
+ 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
+ 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
+ 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:
5
+
6
+ npx @next/codemod@latest new-link .
7
+
8
+ Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components`),a.default.cloneElement(s,w)):(0,L.jsx)("a",{...ue,...w,children:i})}),ne=(0,a.createContext)({pending:!1}),ie=()=>(0,a.useContext)(ne),se=oe;(typeof d.default=="function"||typeof d.default=="object"&&d.default!==null)&&typeof d.default.__esModule>"u"&&(Object.defineProperty(d.default,"__esModule",{value:!0}),Object.assign(d.default,d),K.exports=d.default)}(q.__module,q.__module.exports)),q.__module.exports}exports.__require=Oe;
@@ -0,0 +1,280 @@
1
+ import { __module as q } from "./index43.js";
2
+ import { __require as de } from "./index44.js";
3
+ import pe from "react/jsx-runtime";
4
+ import he from "react";
5
+ import { __require as _e } from "./index45.js";
6
+ import { __require as me } from "./index46.js";
7
+ import { __require as ve } from "./index47.js";
8
+ import { __require as Ee } from "./index48.js";
9
+ import { __require as be } from "./index49.js";
10
+ import { __require as ge } from "./index50.js";
11
+ import { __require as we } from "./index51.js";
12
+ import { __require as qe } from "./index52.js";
13
+ import { __require as ye } from "./index53.js";
14
+ import { __require as Pe } from "./index54.js";
15
+ import { __require as Ce } from "./index55.js";
16
+ var I;
17
+ function Ke() {
18
+ return I ? q.exports : (I = 1, function(K, d) {
19
+ "use client";
20
+ Object.defineProperty(d, "__esModule", {
21
+ value: !0
22
+ });
23
+ function X(t, n) {
24
+ for (var a in n) Object.defineProperty(t, a, {
25
+ enumerable: !0,
26
+ get: n[a]
27
+ });
28
+ }
29
+ X(d, {
30
+ default: function() {
31
+ return se;
32
+ },
33
+ useLinkStatus: function() {
34
+ return ie;
35
+ }
36
+ });
37
+ const G = /* @__PURE__ */ de(), L = pe, c = /* @__PURE__ */ G._(he), N = _e(), T = me(), $ = ve(), F = Ee(), W = be(), z = ge(), J = we(), Q = qe(), Y = ye(), Z = Pe(), ee = Ce(), x = /* @__PURE__ */ new Set();
38
+ function y(t, n, a, i) {
39
+ if (!(typeof window > "u") && (0, T.isLocalURL)(n)) {
40
+ if (!i.bypassPrefetchedCheck) {
41
+ const l = (
42
+ // Let the link's locale prop override the default router locale.
43
+ typeof i.locale < "u" ? i.locale : "locale" in t ? t.locale : void 0
44
+ ), p = n + "%" + a + "%" + l;
45
+ if (x.has(p))
46
+ return;
47
+ x.add(p);
48
+ }
49
+ t.prefetch(n, a, i).catch((l) => {
50
+ if (process.env.NODE_ENV !== "production")
51
+ throw l;
52
+ });
53
+ }
54
+ }
55
+ function re(t) {
56
+ const a = t.currentTarget.getAttribute("target");
57
+ return a && a !== "_self" || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || // triggers resource download
58
+ t.nativeEvent && t.nativeEvent.which === 2;
59
+ }
60
+ function te(t, n, a, i, l, p, b, P, g) {
61
+ const { nodeName: C } = t.currentTarget;
62
+ if (C.toUpperCase() === "A" && re(t) || t.currentTarget.hasAttribute("download"))
63
+ return;
64
+ if (!(0, T.isLocalURL)(a)) {
65
+ l && (t.preventDefault(), location.replace(a));
66
+ return;
67
+ }
68
+ t.preventDefault(), (() => {
69
+ if (g) {
70
+ let E = !1;
71
+ if (g({
72
+ preventDefault: () => {
73
+ E = !0;
74
+ }
75
+ }), E)
76
+ return;
77
+ }
78
+ const h = b ?? !0;
79
+ "beforePopState" in n ? n[l ? "replace" : "push"](a, i, {
80
+ shallow: p,
81
+ locale: P,
82
+ scroll: h
83
+ }) : n[l ? "replace" : "push"](i || a, {
84
+ scroll: h
85
+ });
86
+ })();
87
+ }
88
+ function j(t) {
89
+ return typeof t == "string" ? t : (0, $.formatUrl)(t);
90
+ }
91
+ const oe = /* @__PURE__ */ c.default.forwardRef(function(n, a) {
92
+ let i;
93
+ const { href: l, as: p, children: b, prefetch: P = null, passHref: g, replace: C, shallow: D, scroll: k, locale: h, onClick: E, onNavigate: ae, onMouseEnter: R, onTouchStart: M, legacyBehavior: f = !1, ...le } = n;
94
+ i = b, f && (typeof i == "string" || typeof i == "number") && (i = /* @__PURE__ */ (0, L.jsx)("a", {
95
+ children: i
96
+ }));
97
+ const r = c.default.useContext(z.RouterContext), S = P !== !1;
98
+ if (process.env.NODE_ENV !== "production") {
99
+ let o = function(e) {
100
+ 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" ? `
101
+ Open your browser's console to view the Component stack trace.` : "")), "__NEXT_ERROR_CODE", {
102
+ value: "E319",
103
+ enumerable: !1,
104
+ configurable: !0
105
+ });
106
+ };
107
+ Object.keys({
108
+ href: !0
109
+ }).forEach((e) => {
110
+ if (e === "href" && (n[e] == null || typeof n[e] != "string" && typeof n[e] != "object"))
111
+ throw o({
112
+ key: e,
113
+ expected: "`string` or `object`",
114
+ actual: n[e] === null ? "null" : typeof n[e]
115
+ });
116
+ }), Object.keys({
117
+ as: !0,
118
+ replace: !0,
119
+ scroll: !0,
120
+ shallow: !0,
121
+ passHref: !0,
122
+ prefetch: !0,
123
+ locale: !0,
124
+ onClick: !0,
125
+ onMouseEnter: !0,
126
+ onTouchStart: !0,
127
+ legacyBehavior: !0,
128
+ onNavigate: !0
129
+ }).forEach((e) => {
130
+ const m = typeof n[e];
131
+ if (e === "as") {
132
+ if (n[e] && m !== "string" && m !== "object")
133
+ throw o({
134
+ key: e,
135
+ expected: "`string` or `object`",
136
+ actual: m
137
+ });
138
+ } else if (e === "locale") {
139
+ if (n[e] && m !== "string")
140
+ throw o({
141
+ key: e,
142
+ expected: "`string`",
143
+ actual: m
144
+ });
145
+ } else if (e === "onClick" || e === "onMouseEnter" || e === "onTouchStart" || e === "onNavigate") {
146
+ if (n[e] && m !== "function")
147
+ throw o({
148
+ key: e,
149
+ expected: "`function`",
150
+ actual: m
151
+ });
152
+ } else if ((e === "replace" || e === "scroll" || e === "shallow" || e === "passHref" || e === "prefetch" || e === "legacyBehavior") && n[e] != null && m !== "boolean")
153
+ throw o({
154
+ key: e,
155
+ expected: "`boolean`",
156
+ actual: m
157
+ });
158
+ });
159
+ }
160
+ const { href: _, as: u } = c.default.useMemo(() => {
161
+ if (!r) {
162
+ const O = j(l);
163
+ return {
164
+ href: O,
165
+ as: p ? j(p) : O
166
+ };
167
+ }
168
+ const [o, v] = (0, N.resolveHref)(r, l, !0);
169
+ return {
170
+ href: o,
171
+ as: p ? (0, N.resolveHref)(r, p) : v || o
172
+ };
173
+ }, [
174
+ r,
175
+ l,
176
+ p
177
+ ]), A = c.default.useRef(_), U = c.default.useRef(u);
178
+ let s;
179
+ if (f)
180
+ if (process.env.NODE_ENV === "development") {
181
+ E && console.warn('"onClick" was passed to <Link> with `href` of `' + l + '` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link'), R && console.warn('"onMouseEnter" was passed to <Link> with `href` of `' + l + '` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');
182
+ try {
183
+ s = c.default.Children.only(i);
184
+ } catch {
185
+ throw i ? Object.defineProperty(new Error("Multiple children were passed to <Link> with `href` of `" + l + "` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children" + (typeof window < "u" ? `
186
+ Open your browser's console to view the Component stack trace.` : "")), "__NEXT_ERROR_CODE", {
187
+ value: "E266",
188
+ enumerable: !1,
189
+ configurable: !0
190
+ }) : Object.defineProperty(new Error("No children were passed to <Link> with `href` of `" + l + "` but one child is required https://nextjs.org/docs/messages/link-no-children"), "__NEXT_ERROR_CODE", {
191
+ value: "E320",
192
+ enumerable: !1,
193
+ configurable: !0
194
+ });
195
+ }
196
+ } else
197
+ s = c.default.Children.only(i);
198
+ else if (process.env.NODE_ENV === "development" && i?.type === "a")
199
+ throw Object.defineProperty(new Error(`Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
200
+ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`), "__NEXT_ERROR_CODE", {
201
+ value: "E209",
202
+ enumerable: !1,
203
+ configurable: !0
204
+ });
205
+ const ue = f ? s && typeof s == "object" && s.ref : a, [H, B, V] = (0, J.useIntersection)({
206
+ rootMargin: "200px"
207
+ }), ce = c.default.useCallback((o) => {
208
+ (U.current !== u || A.current !== _) && (V(), U.current = u, A.current = _), H(o);
209
+ }, [
210
+ u,
211
+ _,
212
+ V,
213
+ H
214
+ ]), fe = (0, Z.useMergedRef)(ce, ue);
215
+ c.default.useEffect(() => {
216
+ process.env.NODE_ENV === "production" && r && (!B || !S || y(r, _, u, {
217
+ locale: h
218
+ }));
219
+ }, [
220
+ u,
221
+ _,
222
+ B,
223
+ h,
224
+ S,
225
+ r?.locale,
226
+ r
227
+ ]);
228
+ const w = {
229
+ ref: fe,
230
+ onClick(o) {
231
+ if (process.env.NODE_ENV !== "production" && !o)
232
+ throw Object.defineProperty(new Error('Component rendered inside next/link has to pass click event to "onClick" prop.'), "__NEXT_ERROR_CODE", {
233
+ value: "E312",
234
+ enumerable: !1,
235
+ configurable: !0
236
+ });
237
+ !f && typeof E == "function" && E(o), f && s.props && typeof s.props.onClick == "function" && s.props.onClick(o), r && (o.defaultPrevented || te(o, r, _, u, C, D, k, h, ae));
238
+ },
239
+ onMouseEnter(o) {
240
+ !f && typeof R == "function" && R(o), f && s.props && typeof s.props.onMouseEnter == "function" && s.props.onMouseEnter(o), r && y(r, _, u, {
241
+ locale: h,
242
+ priority: !0,
243
+ // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
244
+ bypassPrefetchedCheck: !0
245
+ });
246
+ },
247
+ onTouchStart: process.env.__NEXT_LINK_NO_TOUCH_START ? void 0 : function(v) {
248
+ !f && typeof M == "function" && M(v), f && s.props && typeof s.props.onTouchStart == "function" && s.props.onTouchStart(v), r && y(r, _, u, {
249
+ locale: h,
250
+ priority: !0,
251
+ // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
252
+ bypassPrefetchedCheck: !0
253
+ });
254
+ }
255
+ };
256
+ if ((0, F.isAbsoluteUrl)(u))
257
+ w.href = u;
258
+ else if (!f || g || s.type === "a" && !("href" in s.props)) {
259
+ const o = typeof h < "u" ? h : r?.locale, v = r?.isLocaleDomain && (0, Q.getDomainLocale)(u, o, r?.locales, r?.domainLocales);
260
+ w.href = v || (0, Y.addBasePath)((0, W.addLocale)(u, o, r?.defaultLocale));
261
+ }
262
+ 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:
263
+
264
+ npx @next/codemod@latest new-link .
265
+
266
+ Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components`), /* @__PURE__ */ c.default.cloneElement(s, w)) : /* @__PURE__ */ (0, L.jsx)("a", {
267
+ ...le,
268
+ ...w,
269
+ children: i
270
+ });
271
+ }), ne = /* @__PURE__ */ (0, c.createContext)({
272
+ // We do not support link status in the Pages Router, so we always return false
273
+ pending: !1
274
+ }), ie = () => (0, c.useContext)(ne), se = oe;
275
+ (typeof d.default == "function" || typeof d.default == "object" && d.default !== null) && typeof d.default.__esModule > "u" && (Object.defineProperty(d.default, "__esModule", { value: !0 }), Object.assign(d.default, d), K.exports = d.default);
276
+ }(q, q.exports), q.exports);
277
+ }
278
+ export {
279
+ Ke as __require
280
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index33.cjs");var e,r;function t(){return r||(r=1,e=i.__require()),e}exports.__require=t;
@@ -0,0 +1,8 @@
1
+ import { __require as a } from "./index33.js";
2
+ var r, i;
3
+ function n() {
4
+ return i || (i = 1, r = a()), r;
5
+ }
6
+ export {
7
+ n as __require
8
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index34.cjs"),E=require("react"),M=require("./index35.cjs"),w=require("./index36.cjs"),O=require("./index37.cjs"),j=require("./index38.cjs"),H=require("./index39.cjs"),I=require("./index40.cjs"),N=require("./index41.cjs"),D=require("./index42.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;
@@ -0,0 +1,133 @@
1
+ import { __module as c } from "./index34.js";
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";
11
+ var p;
12
+ function W() {
13
+ return p ? c.exports : (p = 1, function(y, n) {
14
+ Object.defineProperty(n, "__esModule", {
15
+ value: !0
16
+ });
17
+ function P(e, t) {
18
+ for (var r in t) Object.defineProperty(e, r, {
19
+ enumerable: !0,
20
+ get: t[r]
21
+ });
22
+ }
23
+ P(n, {
24
+ ReadonlyURLSearchParams: function() {
25
+ return u.ReadonlyURLSearchParams;
26
+ },
27
+ RedirectType: function() {
28
+ return u.RedirectType;
29
+ },
30
+ ServerInsertedHTMLContext: function() {
31
+ return _.ServerInsertedHTMLContext;
32
+ },
33
+ forbidden: function() {
34
+ return u.forbidden;
35
+ },
36
+ notFound: function() {
37
+ return u.notFound;
38
+ },
39
+ permanentRedirect: function() {
40
+ return u.permanentRedirect;
41
+ },
42
+ redirect: function() {
43
+ return u.redirect;
44
+ },
45
+ unauthorized: function() {
46
+ return u.unauthorized;
47
+ },
48
+ unstable_rethrow: function() {
49
+ return u.unstable_rethrow;
50
+ },
51
+ useParams: function() {
52
+ return b;
53
+ },
54
+ usePathname: function() {
55
+ return C;
56
+ },
57
+ useRouter: function() {
58
+ return L;
59
+ },
60
+ useSearchParams: function() {
61
+ return q;
62
+ },
63
+ useSelectedLayoutSegment: function() {
64
+ return x;
65
+ },
66
+ useSelectedLayoutSegments: function() {
67
+ return h;
68
+ },
69
+ useServerInsertedHTML: function() {
70
+ return _.useServerInsertedHTML;
71
+ }
72
+ });
73
+ const i = T, m = M(), d = w(), R = O(), l = j(), u = H(), _ = N(), o = typeof window > "u" ? D().useDynamicRouteParams : void 0;
74
+ function q() {
75
+ const e = (0, i.useContext)(d.SearchParamsContext), t = (0, i.useMemo)(() => e ? new u.ReadonlyURLSearchParams(e) : null, [
76
+ e
77
+ ]);
78
+ if (typeof window > "u") {
79
+ const { bailoutToClientRendering: r } = I();
80
+ r("useSearchParams()");
81
+ }
82
+ return t;
83
+ }
84
+ function C() {
85
+ return o?.("usePathname()"), (0, i.useContext)(d.PathnameContext);
86
+ }
87
+ function L() {
88
+ const e = (0, i.useContext)(m.AppRouterContext);
89
+ if (e === null)
90
+ throw Object.defineProperty(new Error("invariant expected app router to be mounted"), "__NEXT_ERROR_CODE", {
91
+ value: "E238",
92
+ enumerable: !1,
93
+ configurable: !0
94
+ });
95
+ return e;
96
+ }
97
+ function b() {
98
+ return o?.("useParams()"), (0, i.useContext)(d.PathParamsContext);
99
+ }
100
+ function S(e, t, r, a) {
101
+ r === void 0 && (r = !0), a === void 0 && (a = []);
102
+ let s;
103
+ if (r)
104
+ s = e[1][t];
105
+ else {
106
+ const g = e[1];
107
+ var v;
108
+ s = (v = g.children) != null ? v : Object.values(g)[0];
109
+ }
110
+ if (!s) return a;
111
+ const E = s[0];
112
+ let f = (0, R.getSegmentValue)(E);
113
+ return !f || f.startsWith(l.PAGE_SEGMENT_KEY) ? a : (a.push(f), S(s, t, !1, a));
114
+ }
115
+ function h(e) {
116
+ e === void 0 && (e = "children"), o?.("useSelectedLayoutSegments()");
117
+ const t = (0, i.useContext)(m.LayoutRouterContext);
118
+ return t ? S(t.parentTree, e) : null;
119
+ }
120
+ function x(e) {
121
+ e === void 0 && (e = "children"), o?.("useSelectedLayoutSegment()");
122
+ const t = h(e);
123
+ if (!t || t.length === 0)
124
+ return null;
125
+ const r = e === "children" ? t[0] : t[t.length - 1];
126
+ return r === l.DEFAULT_SEGMENT_KEY ? null : r;
127
+ }
128
+ (typeof n.default == "function" || typeof n.default == "object" && n.default !== null) && typeof n.default.__esModule > "u" && (Object.defineProperty(n.default, "__esModule", { value: !0 }), Object.assign(n.default, n), y.exports = n.default);
129
+ }(c, c.exports), c.exports);
130
+ }
131
+ export {
132
+ W as __require
133
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
@@ -0,0 +1,4 @@
1
+ var a = { exports: {} };
2
+ export {
3
+ a as __module
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index56.cjs"),x=require("./index57.cjs"),d=require("react");var c;function f(){return c||(c=1,function(o){"use client";Object.defineProperty(o,"__esModule",{value:!0});function p(_,i){for(var l in i)Object.defineProperty(_,l,{enumerable:!0,get:i[l]})}p(o,{AppRouterContext:function(){return r},GlobalLayoutRouterContext:function(){return u},LayoutRouterContext:function(){return n},MissingSlotContext:function(){return s},TemplateContext:function(){return a}});const e=x.__require()._(d),r=e.default.createContext(null),n=e.default.createContext(null),u=e.default.createContext(null),a=e.default.createContext(null);process.env.NODE_ENV!=="production"&&(r.displayName="AppRouterContext",n.displayName="LayoutRouterContext",u.displayName="GlobalLayoutRouterContext",a.displayName="TemplateContext");const s=e.default.createContext(new Set)}(t.__exports)),t.__exports}exports.__require=f;