@atme-lab/ui-kit 0.1.23 → 0.1.24

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 (245) hide show
  1. package/dist/components/primitives/Term/Term.d.ts +1 -2
  2. package/dist/index.cjs10.js +1 -1
  3. package/dist/index.cjs11.js +1 -1
  4. package/dist/index.cjs12.js +1 -1
  5. package/dist/index.cjs13.js +1 -1
  6. package/dist/index.cjs14.js +1 -1
  7. package/dist/index.cjs15.js +1 -1
  8. package/dist/index.cjs16.js +1 -1
  9. package/dist/index.cjs18.js +1 -1
  10. package/dist/index.cjs19.js +1 -1
  11. package/dist/index.cjs20.js +1 -1
  12. package/dist/index.cjs21.js +1 -1
  13. package/dist/index.cjs22.js +1 -1
  14. package/dist/index.cjs23.js +1 -1
  15. package/dist/index.cjs24.js +1 -1
  16. package/dist/index.cjs24.js.map +1 -1
  17. package/dist/index.cjs25.js +1 -1
  18. package/dist/index.cjs27.js +1 -1
  19. package/dist/index.cjs28.js +1 -1
  20. package/dist/index.cjs29.js +1 -1
  21. package/dist/index.cjs30.js +1 -1
  22. package/dist/index.cjs31.js +1 -1
  23. package/dist/index.cjs387.js +1 -1
  24. package/dist/index.cjs41.js +1 -1
  25. package/dist/index.cjs413.js +1 -1
  26. package/dist/index.cjs414.js +1 -1
  27. package/dist/index.cjs415.js +1 -1
  28. package/dist/index.cjs416.js +1 -1
  29. package/dist/index.cjs42.js +1 -1
  30. package/dist/index.cjs430.js +1 -1
  31. package/dist/index.cjs432.js +1 -1
  32. package/dist/index.cjs435.js +1 -1
  33. package/dist/index.cjs44.js +1 -1
  34. package/dist/index.cjs445.js +6 -1
  35. package/dist/index.cjs445.js.map +1 -1
  36. package/dist/index.cjs446.js +6 -1
  37. package/dist/index.cjs446.js.map +1 -1
  38. package/dist/index.cjs447.js +6 -1
  39. package/dist/index.cjs447.js.map +1 -1
  40. package/dist/index.cjs448.js +6 -1
  41. package/dist/index.cjs448.js.map +1 -1
  42. package/dist/index.cjs449.js +1 -1
  43. package/dist/index.cjs449.js.map +1 -1
  44. package/dist/index.cjs45.js +1 -1
  45. package/dist/index.cjs450.js +1 -1
  46. package/dist/index.cjs450.js.map +1 -1
  47. package/dist/index.cjs451.js +1 -6
  48. package/dist/index.cjs451.js.map +1 -1
  49. package/dist/index.cjs452.js +1 -6
  50. package/dist/index.cjs452.js.map +1 -1
  51. package/dist/index.cjs453.js +1 -6
  52. package/dist/index.cjs453.js.map +1 -1
  53. package/dist/index.cjs454.js +1 -6
  54. package/dist/index.cjs454.js.map +1 -1
  55. package/dist/index.cjs46.js +1 -1
  56. package/dist/index.cjs46.js.map +1 -1
  57. package/dist/index.cjs47.js +1 -1
  58. package/dist/index.cjs48.js +1 -1
  59. package/dist/index.cjs49.js +1 -1
  60. package/dist/index.cjs50.js +1 -1
  61. package/dist/index.cjs51.js +1 -1
  62. package/dist/index.cjs51.js.map +1 -1
  63. package/dist/index.cjs52.js +1 -1
  64. package/dist/index.cjs53.js +1 -1
  65. package/dist/index.cjs54.js +1 -1
  66. package/dist/index.cjs54.js.map +1 -1
  67. package/dist/index.cjs55.js +1 -1
  68. package/dist/index.cjs56.js +1 -1
  69. package/dist/index.cjs56.js.map +1 -1
  70. package/dist/index.cjs57.js +1 -1
  71. package/dist/index.cjs57.js.map +1 -1
  72. package/dist/index.cjs58.js +1 -1
  73. package/dist/index.cjs59.js +1 -1
  74. package/dist/index.cjs59.js.map +1 -1
  75. package/dist/index.cjs60.js +1 -1
  76. package/dist/index.cjs61.js +1 -1
  77. package/dist/index.cjs61.js.map +1 -1
  78. package/dist/index.cjs62.js +1 -1
  79. package/dist/index.cjs62.js.map +1 -1
  80. package/dist/index.cjs63.js +1 -1
  81. package/dist/index.cjs64.js +1 -1
  82. package/dist/index.cjs64.js.map +1 -1
  83. package/dist/index.cjs65.js +1 -1
  84. package/dist/index.cjs65.js.map +1 -1
  85. package/dist/index.cjs66.js +1 -1
  86. package/dist/index.cjs66.js.map +1 -1
  87. package/dist/index.cjs67.js +1 -1
  88. package/dist/index.cjs67.js.map +1 -1
  89. package/dist/index.cjs69.js +1 -1
  90. package/dist/index.cjs70.js +1 -1
  91. package/dist/index.cjs71.js +1 -1
  92. package/dist/index.cjs72.js +1 -1
  93. package/dist/index.cjs74.js +1 -1
  94. package/dist/index.cjs75.js +1 -1
  95. package/dist/index.cjs76.js +1 -1
  96. package/dist/index.cjs76.js.map +1 -1
  97. package/dist/index.cjs77.js +1 -1
  98. package/dist/index.cjs77.js.map +1 -1
  99. package/dist/index.cjs80.js +1 -1
  100. package/dist/index.cjs80.js.map +1 -1
  101. package/dist/index.cjs81.js +1 -1
  102. package/dist/index.cjs81.js.map +1 -1
  103. package/dist/index.cjs82.js +1 -2
  104. package/dist/index.cjs82.js.map +1 -1
  105. package/dist/index.cjs83.js +2 -1
  106. package/dist/index.cjs83.js.map +1 -1
  107. package/dist/index.cjs84.js +1 -1
  108. package/dist/index.cjs84.js.map +1 -1
  109. package/dist/index.cjs85.js +1 -1
  110. package/dist/index.cjs85.js.map +1 -1
  111. package/dist/index.cjs86.js +1 -1
  112. package/dist/index.cjs86.js.map +1 -1
  113. package/dist/index.cjs9.js +1 -1
  114. package/dist/index.esm10.js +2 -2
  115. package/dist/index.esm11.js +1 -1
  116. package/dist/index.esm12.js +3 -3
  117. package/dist/index.esm13.js +1 -1
  118. package/dist/index.esm14.js +1 -1
  119. package/dist/index.esm15.js +1 -1
  120. package/dist/index.esm16.js +1 -1
  121. package/dist/index.esm18.js +1 -1
  122. package/dist/index.esm19.js +1 -1
  123. package/dist/index.esm20.js +1 -1
  124. package/dist/index.esm21.js +2 -2
  125. package/dist/index.esm22.js +2 -2
  126. package/dist/index.esm23.js +1 -1
  127. package/dist/index.esm24.js +8 -69
  128. package/dist/index.esm24.js.map +1 -1
  129. package/dist/index.esm25.js +2 -2
  130. package/dist/index.esm27.js +1 -1
  131. package/dist/index.esm28.js +1 -1
  132. package/dist/index.esm29.js +2 -2
  133. package/dist/index.esm30.js +1 -1
  134. package/dist/index.esm31.js +3 -3
  135. package/dist/index.esm387.js +1 -1
  136. package/dist/index.esm41.js +1 -1
  137. package/dist/index.esm413.js +1 -1
  138. package/dist/index.esm414.js +1 -1
  139. package/dist/index.esm415.js +1 -1
  140. package/dist/index.esm416.js +1 -1
  141. package/dist/index.esm42.js +1 -1
  142. package/dist/index.esm430.js +1 -1
  143. package/dist/index.esm432.js +6 -6
  144. package/dist/index.esm435.js +1 -1
  145. package/dist/index.esm44.js +32 -40
  146. package/dist/index.esm44.js.map +1 -1
  147. package/dist/index.esm445.js +21 -6
  148. package/dist/index.esm445.js.map +1 -1
  149. package/dist/index.esm446.js +9 -10
  150. package/dist/index.esm446.js.map +1 -1
  151. package/dist/index.esm447.js +38 -7
  152. package/dist/index.esm447.js.map +1 -1
  153. package/dist/index.esm448.js +18 -4
  154. package/dist/index.esm448.js.map +1 -1
  155. package/dist/index.esm449.js +5 -84
  156. package/dist/index.esm449.js.map +1 -1
  157. package/dist/index.esm45.js +11 -47
  158. package/dist/index.esm450.js +9 -37
  159. package/dist/index.esm450.js.map +1 -1
  160. package/dist/index.esm451.js +7 -21
  161. package/dist/index.esm451.js.map +1 -1
  162. package/dist/index.esm452.js +4 -9
  163. package/dist/index.esm452.js.map +1 -1
  164. package/dist/index.esm453.js +85 -38
  165. package/dist/index.esm453.js.map +1 -1
  166. package/dist/index.esm454.js +38 -18
  167. package/dist/index.esm454.js.map +1 -1
  168. package/dist/index.esm46.js +30 -11
  169. package/dist/index.esm46.js.map +1 -1
  170. package/dist/index.esm47.js +27 -40
  171. package/dist/index.esm47.js.map +1 -1
  172. package/dist/index.esm48.js +5 -4
  173. package/dist/index.esm48.js.map +1 -1
  174. package/dist/index.esm49.js +2 -6
  175. package/dist/index.esm49.js.map +1 -1
  176. package/dist/index.esm50.js +2 -9
  177. package/dist/index.esm50.js.map +1 -1
  178. package/dist/index.esm51.js +65 -28
  179. package/dist/index.esm51.js.map +1 -1
  180. package/dist/index.esm52.js +29 -2
  181. package/dist/index.esm52.js.map +1 -1
  182. package/dist/index.esm53.js +9 -2
  183. package/dist/index.esm53.js.map +1 -1
  184. package/dist/index.esm54.js +5 -88
  185. package/dist/index.esm54.js.map +1 -1
  186. package/dist/index.esm55.js +47 -35
  187. package/dist/index.esm55.js.map +1 -1
  188. package/dist/index.esm56.js +11 -127
  189. package/dist/index.esm56.js.map +1 -1
  190. package/dist/index.esm57.js +88 -29
  191. package/dist/index.esm57.js.map +1 -1
  192. package/dist/index.esm58.js +34 -64
  193. package/dist/index.esm58.js.map +1 -1
  194. package/dist/index.esm59.js +127 -41
  195. package/dist/index.esm59.js.map +1 -1
  196. package/dist/index.esm60.js +8 -10
  197. package/dist/index.esm60.js.map +1 -1
  198. package/dist/index.esm61.js +28 -17
  199. package/dist/index.esm61.js.map +1 -1
  200. package/dist/index.esm62.js +41 -16
  201. package/dist/index.esm62.js.map +1 -1
  202. package/dist/index.esm63.js +6 -15
  203. package/dist/index.esm63.js.map +1 -1
  204. package/dist/index.esm64.js +8 -96
  205. package/dist/index.esm64.js.map +1 -1
  206. package/dist/index.esm65.js +7 -7
  207. package/dist/index.esm65.js.map +1 -1
  208. package/dist/index.esm66.js +16 -9
  209. package/dist/index.esm66.js.map +1 -1
  210. package/dist/index.esm67.js +97 -7
  211. package/dist/index.esm67.js.map +1 -1
  212. package/dist/index.esm69.js +42 -39
  213. package/dist/index.esm69.js.map +1 -1
  214. package/dist/index.esm70.js +40 -32
  215. package/dist/index.esm70.js.map +1 -1
  216. package/dist/index.esm71.js +36 -8
  217. package/dist/index.esm71.js.map +1 -1
  218. package/dist/index.esm72.js +39 -32
  219. package/dist/index.esm72.js.map +1 -1
  220. package/dist/index.esm74.js +6 -36
  221. package/dist/index.esm74.js.map +1 -1
  222. package/dist/index.esm75.js +8 -10
  223. package/dist/index.esm75.js.map +1 -1
  224. package/dist/index.esm76.js +17 -30
  225. package/dist/index.esm76.js.map +1 -1
  226. package/dist/index.esm77.js +16 -9
  227. package/dist/index.esm77.js.map +1 -1
  228. package/dist/index.esm80.js +4 -55
  229. package/dist/index.esm80.js.map +1 -1
  230. package/dist/index.esm81.js +55 -257
  231. package/dist/index.esm81.js.map +1 -1
  232. package/dist/index.esm82.js +208 -1637
  233. package/dist/index.esm82.js.map +1 -1
  234. package/dist/index.esm83.js +1685 -1413
  235. package/dist/index.esm83.js.map +1 -1
  236. package/dist/index.esm84.js +1286 -260
  237. package/dist/index.esm84.js.map +1 -1
  238. package/dist/index.esm85.js +387 -5
  239. package/dist/index.esm85.js.map +1 -1
  240. package/dist/index.esm86.js +5 -3
  241. package/dist/index.esm86.js.map +1 -1
  242. package/dist/index.esm9.js +1 -1
  243. package/dist/styles.css +1 -1
  244. package/dist/ui-kit.css +1 -1
  245. package/package.json +1 -1
@@ -2,9 +2,9 @@
2
2
  import { j as r } from "./index.esm37.js";
3
3
  import { forwardRef as m } from "react";
4
4
  import l from "./index.esm43.js";
5
- import s from "./index.esm50.js";
5
+ import s from "./index.esm60.js";
6
6
  import { Root as c } from "./index.esm8.js";
7
- import { LinkIcon as p } from "./index.esm51.js";
7
+ import { LinkIcon as p } from "./index.esm61.js";
8
8
  const d = m(
9
9
  ({ children: i, showIcon: o = !0, className: e, testId: t, ...a }, n) => /* @__PURE__ */ r.jsxs(
10
10
  c,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { j as o } from "./index.esm37.js";
3
3
  import l from "./index.esm43.js";
4
- import s from "./index.esm77.js";
4
+ import s from "./index.esm75.js";
5
5
  import { Root as n } from "./index.esm8.js";
6
6
  import { Typography as r } from "./index.esm9.js";
7
7
  const p = ({
@@ -1,74 +1,13 @@
1
1
  "use client";
2
- import { j as p } from "./index.esm37.js";
3
- import { useState as L, useRef as f, useEffect as O } from "react";
4
- import M from "./index.esm43.js";
5
- import a from "./index.esm60.js";
6
- import { Root as S } from "./index.esm8.js";
7
- const _ = 300, n = 8, g = 4;
8
- function z({ definition: c, tooltipWidth: o, children: T, className: b, testId: j }) {
9
- const [u, d] = L(!1), [r, w] = L(null), s = f(null), h = f(null), x = f(null), E = () => {
10
- s.current && (clearTimeout(s.current), s.current = null);
11
- }, R = () => {
12
- const e = h.current, v = x.current;
13
- if (!e || !v) return;
14
- const l = e.getBoundingClientRect(), i = v.getBoundingClientRect(), A = window.innerWidth - i.width - n, D = window.innerHeight - i.height - n;
15
- let t = l.top - i.height - g;
16
- t < n && (t = l.bottom + g), t = Math.max(n, Math.min(t, D));
17
- let m = l.left + l.width / 2 - i.width / 2;
18
- m = Math.max(n, Math.min(m, A)), w({ top: t, left: m });
19
- };
20
- O(() => {
21
- if (!u) {
22
- w(null);
23
- return;
24
- }
25
- R();
26
- const e = () => R();
27
- return window.addEventListener("scroll", e, !0), window.addEventListener("resize", e), () => {
28
- window.removeEventListener("scroll", e, !0), window.removeEventListener("resize", e);
29
- };
30
- }, [u, c]);
31
- const y = () => {
32
- E(), s.current = setTimeout(() => d(!0), _);
33
- }, N = () => {
34
- E(), d(!1);
35
- }, P = {
36
- ...o != null ? { maxWidth: typeof o == "number" ? `${o}px` : o } : {},
37
- ...r ? {
38
- position: "fixed",
39
- top: r.top,
40
- left: r.left,
41
- transform: "none",
42
- bottom: "auto"
43
- } : {}
44
- };
45
- return /* @__PURE__ */ p.jsxs(
46
- S,
47
- {
48
- ref: h,
49
- as: "span",
50
- className: M(a.wrapper, b),
51
- testId: j,
52
- onMouseEnter: y,
53
- onMouseLeave: N,
54
- children: [
55
- /* @__PURE__ */ p.jsx("abbr", { className: a.term, title: c, children: T }),
56
- u && /* @__PURE__ */ p.jsx(
57
- "span",
58
- {
59
- ref: x,
60
- className: M(a.tooltip, r == null && a.tooltipMeasure),
61
- role: "tooltip",
62
- style: P,
63
- children: c
64
- }
65
- )
66
- ]
67
- }
68
- );
2
+ import { j as r } from "./index.esm37.js";
3
+ import a from "./index.esm43.js";
4
+ import e from "./index.esm74.js";
5
+ import { Root as i } from "./index.esm8.js";
6
+ function p({ definition: m, children: s, className: t, testId: o }) {
7
+ return /* @__PURE__ */ r.jsx(i, { as: "span", className: a(e.wrapper, t), testId: o, children: /* @__PURE__ */ r.jsx("abbr", { className: e.term, title: m, children: s }) });
69
8
  }
70
- z.displayName = "Term";
9
+ p.displayName = "Term";
71
10
  export {
72
- z as Term
11
+ p as Term
73
12
  };
74
13
  //# sourceMappingURL=index.esm24.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm24.js","sources":["../src/components/primitives/Term/Term.tsx"],"sourcesContent":["import React, { useState, useRef, useEffect } from \"react\";\nimport cn from \"classnames\";\nimport { Root } from \"../Root\";\nimport { BaseComponentProps } from \"@components/types\";\nimport styles from \"./Term.module.pcss\";\n\nconst HOVER_DELAY_MS = 300;\nconst VIEWPORT_PADDING = 8;\nconst GAP = 4;\n\nexport interface TermProps extends BaseComponentProps {\n definition: string;\n tooltipWidth?: number | string;\n children: React.ReactNode;\n}\n\nexport function Term({ definition, tooltipWidth, children, className, testId }: TermProps) {\n const [open, setOpen] = useState(false);\n const [placement, setPlacement] = useState<{ top: number; left: number } | null>(null);\n const timeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n const wrapperRef = useRef<HTMLSpanElement>(null);\n const tooltipRef = useRef<HTMLSpanElement>(null);\n\n const clearTimer = () => {\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n timeoutRef.current = null;\n }\n };\n\n const updatePosition = () => {\n const wrapper = wrapperRef.current;\n const tooltip = tooltipRef.current;\n if (!wrapper || !tooltip) return;\n\n const wr = wrapper.getBoundingClientRect();\n const tr = tooltip.getBoundingClientRect();\n const maxLeft = window.innerWidth - tr.width - VIEWPORT_PADDING;\n const maxTop = window.innerHeight - tr.height - VIEWPORT_PADDING;\n\n let top = wr.top - tr.height - GAP;\n if (top < VIEWPORT_PADDING) {\n top = wr.bottom + GAP;\n }\n top = Math.max(VIEWPORT_PADDING, Math.min(top, maxTop));\n\n let left = wr.left + wr.width / 2 - tr.width / 2;\n left = Math.max(VIEWPORT_PADDING, Math.min(left, maxLeft));\n\n setPlacement({ top, left });\n };\n\n useEffect(() => {\n if (!open) {\n setPlacement(null);\n return;\n }\n updatePosition();\n const onUpdate = () => updatePosition();\n window.addEventListener(\"scroll\", onUpdate, true);\n window.addEventListener(\"resize\", onUpdate);\n return () => {\n window.removeEventListener(\"scroll\", onUpdate, true);\n window.removeEventListener(\"resize\", onUpdate);\n };\n }, [open, definition]);\n\n const handleEnter = () => {\n clearTimer();\n timeoutRef.current = setTimeout(() => setOpen(true), HOVER_DELAY_MS);\n };\n\n const handleLeave = () => {\n clearTimer();\n setOpen(false);\n };\n\n const tooltipStyle: React.CSSProperties = {\n ...(tooltipWidth != null\n ? { maxWidth: typeof tooltipWidth === \"number\" ? `${tooltipWidth}px` : tooltipWidth }\n : {}),\n ...(placement\n ? {\n position: \"fixed\",\n top: placement.top,\n left: placement.left,\n transform: \"none\",\n bottom: \"auto\",\n }\n : {}),\n };\n\n return (\n <Root\n ref={wrapperRef as React.Ref<HTMLSpanElement>}\n as=\"span\"\n className={cn(styles.wrapper, className)}\n testId={testId}\n onMouseEnter={handleEnter}\n onMouseLeave={handleLeave}\n >\n <abbr className={styles.term} title={definition}>\n {children}\n </abbr>\n {open && (\n <span\n ref={tooltipRef}\n className={cn(styles.tooltip, placement == null && styles.tooltipMeasure)}\n role=\"tooltip\"\n style={tooltipStyle}\n >\n {definition}\n </span>\n )}\n </Root>\n );\n}\n\nTerm.displayName = \"Term\";\n"],"names":["HOVER_DELAY_MS","VIEWPORT_PADDING","GAP","Term","definition","tooltipWidth","children","className","testId","open","setOpen","useState","placement","setPlacement","timeoutRef","useRef","wrapperRef","tooltipRef","clearTimer","updatePosition","wrapper","tooltip","wr","tr","maxLeft","maxTop","top","left","useEffect","onUpdate","handleEnter","handleLeave","tooltipStyle","jsxs","Root","cn","styles","jsx"],"mappings":"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"}
1
+ {"version":3,"file":"index.esm24.js","sources":["../src/components/primitives/Term/Term.tsx"],"sourcesContent":["import React from \"react\";\nimport cn from \"classnames\";\nimport { Root } from \"../Root\";\nimport { BaseComponentProps } from \"@components/types\";\nimport styles from \"./Term.module.pcss\";\n\nexport interface TermProps extends BaseComponentProps {\n definition: string;\n children: React.ReactNode;\n}\n\nexport function Term({ definition, children, className, testId }: TermProps) {\n return (\n <Root as=\"span\" className={cn(styles.wrapper, className)} testId={testId}>\n <abbr className={styles.term} title={definition}>\n {children}\n </abbr>\n </Root>\n );\n}\n\nTerm.displayName = \"Term\";\n"],"names":["Term","definition","children","className","testId","Root","cn","styles","jsx"],"mappings":";;;;;AAWO,SAASA,EAAK,EAAE,YAAAC,GAAY,UAAAC,GAAU,WAAAC,GAAW,QAAAC,KAAqB;AAC3E,+BACGC,GAAA,EAAK,IAAG,QAAO,WAAWC,EAAGC,EAAO,SAASJ,CAAS,GAAG,QAAAC,GACxD,UAAAI,gBAAAA,MAAC,UAAK,WAAWD,EAAO,MAAM,OAAON,GAClC,UAAAC,GACH,GACF;AAEJ;AAEAF,EAAK,cAAc;"}
@@ -2,7 +2,7 @@
2
2
  import { j as r } from "./index.esm37.js";
3
3
  import { useState as d, useEffect as j } from "react";
4
4
  import h from "./index.esm43.js";
5
- import t from "./index.esm46.js";
5
+ import t from "./index.esm56.js";
6
6
  import { Root as p } from "./index.esm8.js";
7
7
  import { Typography as u } from "./index.esm9.js";
8
8
  const g = ({
@@ -15,7 +15,7 @@ const g = ({
15
15
  const [l, x] = d(""), [c, m] = d(null);
16
16
  return j(() => {
17
17
  let o = !1;
18
- return m(null), import("./index.esm45.js").then(
18
+ return m(null), import("./index.esm55.js").then(
19
19
  ({ codeToHtml: e }) => e(s, {
20
20
  lang: n,
21
21
  themes: {
@@ -3,7 +3,7 @@ import { j as m } from "./index.esm37.js";
3
3
  import { forwardRef as y } from "react";
4
4
  import v from "./index.esm43.js";
5
5
  import { getSpacingVar as n } from "./index.esm3.js";
6
- import b from "./index.esm48.js";
6
+ import b from "./index.esm54.js";
7
7
  const j = y(
8
8
  ({
9
9
  columns: r = 12,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { j as o } from "./index.esm37.js";
3
3
  import l from "./index.esm43.js";
4
- import a from "./index.esm59.js";
4
+ import a from "./index.esm62.js";
5
5
  const c = ({
6
6
  children: e,
7
7
  className: i,
@@ -3,8 +3,8 @@ import { j as s } from "./index.esm37.js";
3
3
  import { forwardRef as B, useMemo as L, useCallback as M } from "react";
4
4
  import g from "./index.esm43.js";
5
5
  import { formatDateRu as k } from "./index.esm34.js";
6
- import i from "./index.esm63.js";
7
- import { ArticlePreviewContent as q } from "./index.esm64.js";
6
+ import i from "./index.esm66.js";
7
+ import { ArticlePreviewContent as q } from "./index.esm67.js";
8
8
  const w = B(
9
9
  ({
10
10
  title: m,
@@ -2,7 +2,7 @@
2
2
  import { j as e } from "./index.esm37.js";
3
3
  import { forwardRef as f } from "react";
4
4
  import o from "./index.esm43.js";
5
- import r from "./index.esm72.js";
5
+ import r from "./index.esm47.js";
6
6
  import { Root as h } from "./index.esm8.js";
7
7
  import { Typography as n } from "./index.esm9.js";
8
8
  const v = f(
@@ -2,9 +2,9 @@
2
2
  import { j as i } from "./index.esm37.js";
3
3
  import { useRef as y, useState as F, useEffect as O, useMemo as $ } from "react";
4
4
  import f from "./index.esm43.js";
5
- import { createSeededRandom as k, generatePattern as X } from "./index.esm54.js";
6
- import r from "./index.esm55.js";
7
- import { PatternCell as Y } from "./index.esm56.js";
5
+ import { createSeededRandom as k, generatePattern as X } from "./index.esm57.js";
6
+ import r from "./index.esm58.js";
7
+ import { PatternCell as Y } from "./index.esm59.js";
8
8
  import { Root as B } from "./index.esm8.js";
9
9
  const R = 24, G = 1, H = 8, S = 400, K = 1e6, U = [
10
10
  "var(--palette-border-subtle)",
@@ -2,7 +2,7 @@
2
2
  import { j as r } from "./index.esm37.js";
3
3
  import { useCallback as t } from "react";
4
4
  import m from "./index.esm43.js";
5
- import k from "./index.esm65.js";
5
+ import k from "./index.esm63.js";
6
6
  import { Tag as u } from "./index.esm11.js";
7
7
  const f = (o) => o.stopPropagation();
8
8
  function d({ tag: o, baseTagProps: l }) {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { __exports as t } from "./index.esm52.js";
2
+ import { __exports as t } from "./index.esm49.js";
3
3
  import d from "react";
4
4
  /**
5
5
  * @license React
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import e from "./index.esm451.js";
2
+ import e from "./index.esm445.js";
3
3
  /**
4
4
  * @license lucide-react v0.468.0 - ISC
5
5
  *
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import e from "./index.esm451.js";
2
+ import e from "./index.esm445.js";
3
3
  /**
4
4
  * @license lucide-react v0.468.0 - ISC
5
5
  *
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import e from "./index.esm451.js";
2
+ import e from "./index.esm445.js";
3
3
  /**
4
4
  * @license lucide-react v0.468.0 - ISC
5
5
  *
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import e from "./index.esm451.js";
2
+ import e from "./index.esm445.js";
3
3
  /**
4
4
  * @license lucide-react v0.468.0 - ISC
5
5
  *
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { __exports as m } from "./index.esm53.js";
2
+ import { __exports as m } from "./index.esm50.js";
3
3
  import ir from "react";
4
4
  /**
5
5
  * @license React
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { stringifyEntities as n } from "./index.esm445.js";
2
+ import { stringifyEntities as n } from "./index.esm449.js";
3
3
  const i = /^>|^->|<!--|-->|--!>|<!-$/g, o = [">"], r = ["<", ">"];
4
4
  function b(t, m, u, e) {
5
5
  return e.settings.bogusComments ? "<?" + n(
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- import { ccount as a } from "./index.esm446.js";
3
- import { stringify as u } from "./index.esm447.js";
2
+ import { ccount as a } from "./index.esm450.js";
3
+ import { stringify as u } from "./index.esm451.js";
4
4
  import { svg as h } from "./index.esm420.js";
5
- import { stringify as b } from "./index.esm448.js";
6
- import { closing as d } from "./index.esm449.js";
7
- import { opening as y } from "./index.esm450.js";
5
+ import { stringify as b } from "./index.esm452.js";
6
+ import { closing as d } from "./index.esm453.js";
7
+ import { opening as y } from "./index.esm454.js";
8
8
  import { find as A } from "./index.esm441.js";
9
- import { stringifyEntities as m } from "./index.esm445.js";
9
+ import { stringifyEntities as m } from "./index.esm449.js";
10
10
  const g = {
11
11
  // See: <https://html.spec.whatwg.org/#attribute-name-state>.
12
12
  name: [
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { stringifyEntities as i } from "./index.esm445.js";
2
+ import { stringifyEntities as i } from "./index.esm449.js";
3
3
  const c = ["<", "&"];
4
4
  function u(e, n, t, s) {
5
5
  return t && t.type === "element" && (t.tagName === "script" || t.tagName === "style") ? e.value : i(
@@ -1,45 +1,37 @@
1
1
  "use client";
2
- const t = "_tag_brr3k_1", r = "_tag--link_brr3k_18", a = "_tagContent_brr3k_34", g = "_tagIcon_brr3k_39", _ = "_tagClose_brr3k_51", n = "_tag--sm_brr3k_77", s = "_tag--md_brr3k_82", o = "_tag--lg_brr3k_87", c = "_tag--primary_brr3k_92", e = "_tag--secondary_brr3k_98", k = "_tag--success_brr3k_104", b = "_tag--warning_brr3k_110", l = "_tag--error_brr3k_116", i = "_tag--neutral_brr3k_122", m = {
3
- tag: t,
4
- "tag--link": "_tag--link_brr3k_18",
5
- tagLink: r,
6
- tagContent: a,
7
- tagIcon: g,
8
- tagClose: _,
9
- "tag--sm": "_tag--sm_brr3k_77",
10
- tagSm: n,
11
- "tag--md": "_tag--md_brr3k_82",
12
- tagMd: s,
13
- "tag--lg": "_tag--lg_brr3k_87",
14
- tagLg: o,
15
- "tag--primary": "_tag--primary_brr3k_92",
16
- tagPrimary: c,
17
- "tag--secondary": "_tag--secondary_brr3k_98",
18
- tagSecondary: e,
19
- "tag--success": "_tag--success_brr3k_104",
20
- tagSuccess: k,
21
- "tag--warning": "_tag--warning_brr3k_110",
22
- tagWarning: b,
23
- "tag--error": "_tag--error_brr3k_116",
24
- tagError: l,
25
- "tag--neutral": "_tag--neutral_brr3k_122",
26
- tagNeutral: i
2
+ const o = "_root_13e6p_1", t = "_root--disabled_13e6p_10", c = "_input_13e6p_15", n = "_control_13e6p_26", _ = "_control--sm_13e6p_44", l = "_control--md_13e6p_49", r = "_control--lg_13e6p_54", e = "_control--checkbox_13e6p_59", s = "_control--radio_13e6p_63", p = "_content_13e6p_123", d = "_label_13e6p_129", i = "_description_13e6p_135", a = {
3
+ root: o,
4
+ "root--disabled": "_root--disabled_13e6p_10",
5
+ rootDisabled: t,
6
+ input: c,
7
+ control: n,
8
+ "control--sm": "_control--sm_13e6p_44",
9
+ controlSm: _,
10
+ "control--md": "_control--md_13e6p_49",
11
+ controlMd: l,
12
+ "control--lg": "_control--lg_13e6p_54",
13
+ controlLg: r,
14
+ "control--checkbox": "_control--checkbox_13e6p_59",
15
+ controlCheckbox: e,
16
+ "control--radio": "_control--radio_13e6p_63",
17
+ controlRadio: s,
18
+ content: p,
19
+ label: d,
20
+ description: i
27
21
  };
28
22
  export {
29
- m as default,
30
- t as tag,
31
- _ as tagClose,
32
- a as tagContent,
33
- l as tagError,
34
- g as tagIcon,
35
- o as tagLg,
36
- r as tagLink,
37
- s as tagMd,
38
- i as tagNeutral,
39
- c as tagPrimary,
40
- e as tagSecondary,
41
- n as tagSm,
42
- k as tagSuccess,
43
- b as tagWarning
23
+ p as content,
24
+ n as control,
25
+ e as controlCheckbox,
26
+ r as controlLg,
27
+ l as controlMd,
28
+ s as controlRadio,
29
+ _ as controlSm,
30
+ a as default,
31
+ i as description,
32
+ c as input,
33
+ d as label,
34
+ o as root,
35
+ t as rootDisabled
44
36
  };
45
37
  //# sourceMappingURL=index.esm44.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm44.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm44.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
@@ -1,10 +1,25 @@
1
1
  "use client";
2
- import { core as i } from "./index.esm458.js";
3
- import { formatSmart as o } from "./index.esm459.js";
4
- function n(t, r) {
5
- return i(t, Object.assign({ format: o }, r));
6
- }
2
+ import { forwardRef as m, createElement as c } from "react";
3
+ import { mergeClasses as n, toKebabCase as l } from "./index.esm446.js";
4
+ import f from "./index.esm447.js";
5
+ /**
6
+ * @license lucide-react v0.468.0 - ISC
7
+ *
8
+ * This source code is licensed under the ISC license.
9
+ * See the LICENSE file in the root directory of this source tree.
10
+ */
11
+ const u = (e, r) => {
12
+ const o = m(
13
+ ({ className: t, ...a }, s) => c(f, {
14
+ ref: s,
15
+ iconNode: r,
16
+ className: n(`lucide-${l(e)}`, t),
17
+ ...a
18
+ })
19
+ );
20
+ return o.displayName = `${e}`, o;
21
+ };
7
22
  export {
8
- n as stringifyEntities
23
+ u as default
9
24
  };
10
25
  //# sourceMappingURL=index.esm445.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm445.js","sources":["../node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('./core.js').CoreOptions & import('./util/format-smart.js').FormatSmartOptions} Options\n * @typedef {import('./core.js').CoreOptions} LightOptions\n */\n\nimport {core} from './core.js'\nimport {formatSmart} from './util/format-smart.js'\nimport {formatBasic} from './util/format-basic.js'\n\n/**\n * Encode special characters in `value`.\n *\n * @param {string} value\n * Value to encode.\n * @param {Options} [options]\n * Configuration.\n * @returns {string}\n * Encoded value.\n */\nexport function stringifyEntities(value, options) {\n return core(value, Object.assign({format: formatSmart}, options))\n}\n\n/**\n * Encode special characters in `value` as hexadecimals.\n *\n * @param {string} value\n * Value to encode.\n * @param {LightOptions} [options]\n * Configuration.\n * @returns {string}\n * Encoded value.\n */\nexport function stringifyEntitiesLight(value, options) {\n return core(value, Object.assign({format: formatBasic}, options))\n}\n"],"names":["stringifyEntities","value","options","core","formatSmart"],"mappings":";;;AAmBO,SAASA,EAAkBC,GAAOC,GAAS;AAChD,SAAOC,EAAKF,GAAO,OAAO,OAAO,EAAC,QAAQG,EAAW,GAAGF,CAAO,CAAC;AAClE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.esm445.js","sources":["../node_modules/.pnpm/lucide-react@0.468.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js"],"sourcesContent":["/**\n * @license lucide-react v0.468.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport { mergeClasses, toKebabCase } from './shared/src/utils.js';\nimport Icon from './Icon.js';\n\nconst createLucideIcon = (iconName, iconNode) => {\n const Component = forwardRef(\n ({ className, ...props }, ref) => createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),\n ...props\n })\n );\n Component.displayName = `${iconName}`;\n return Component;\n};\n\nexport { createLucideIcon as default };\n//# sourceMappingURL=createLucideIcon.js.map\n"],"names":["createLucideIcon","iconName","iconNode","Component","forwardRef","className","props","ref","createElement","Icon","mergeClasses","toKebabCase"],"mappings":";;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWK,MAACA,IAAmB,CAACC,GAAUC,MAAa;AAC/C,QAAMC,IAAYC;AAAA,IAChB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAK,GAAIC,MAAQC,EAAcC,GAAM;AAAA,MACpD,KAAAF;AAAA,MACA,UAAAL;AAAA,MACA,WAAWQ,EAAa,UAAUC,EAAYV,CAAQ,CAAC,IAAII,CAAS;AAAA,MACpE,GAAGC;AAAA,IACT,CAAK;AAAA,EACL;AACE,SAAAH,EAAU,cAAc,GAAGF,CAAQ,IAC5BE;AACT;","x_google_ignoreList":[0]}
@@ -1,14 +1,13 @@
1
1
  "use client";
2
- function r(o, e) {
3
- const t = String(o);
4
- if (typeof e != "string")
5
- throw new TypeError("Expected character");
6
- let i = 0, n = t.indexOf(e);
7
- for (; n !== -1; )
8
- i++, n = t.indexOf(e, n + e.length);
9
- return i;
10
- }
2
+ /**
3
+ * @license lucide-react v0.468.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const n = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), i = (...e) => e.filter((t, o, r) => !!t && t.trim() !== "" && r.indexOf(t) === o).join(" ").trim();
11
9
  export {
12
- r as ccount
10
+ i as mergeClasses,
11
+ n as toKebabCase
13
12
  };
14
13
  //# sourceMappingURL=index.esm446.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm446.js","sources":["../node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.js"],"sourcesContent":["/**\n * Count how often a character (or substring) is used in a string.\n *\n * @param {string} value\n * Value to search in.\n * @param {string} character\n * Character (or substring) to look for.\n * @return {number}\n * Number of times `character` occurred in `value`.\n */\nexport function ccount(value, character) {\n const source = String(value)\n\n if (typeof character !== 'string') {\n throw new TypeError('Expected character')\n }\n\n let count = 0\n let index = source.indexOf(character)\n\n while (index !== -1) {\n count++\n index = source.indexOf(character, index + character.length)\n }\n\n return count\n}\n"],"names":["ccount","value","character","source","count","index"],"mappings":";AAUO,SAASA,EAAOC,GAAOC,GAAW;AACvC,QAAMC,IAAS,OAAOF,CAAK;AAE3B,MAAI,OAAOC,KAAc;AACvB,UAAM,IAAI,UAAU,oBAAoB;AAG1C,MAAIE,IAAQ,GACRC,IAAQF,EAAO,QAAQD,CAAS;AAEpC,SAAOG,MAAU;AACf,IAAAD,KACAC,IAAQF,EAAO,QAAQD,GAAWG,IAAQH,EAAU,MAAM;AAG5D,SAAOE;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.esm446.js","sources":["../node_modules/.pnpm/lucide-react@0.468.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js"],"sourcesContent":["/**\n * @license lucide-react v0.468.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase();\nconst mergeClasses = (...classes) => classes.filter((className, index, array) => {\n return Boolean(className) && className.trim() !== \"\" && array.indexOf(className) === index;\n}).join(\" \").trim();\n\nexport { mergeClasses, toKebabCase };\n//# sourceMappingURL=utils.js.map\n"],"names":["toKebabCase","string","mergeClasses","classes","className","index","array"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOK,MAACA,IAAc,CAACC,MAAWA,EAAO,QAAQ,sBAAsB,OAAO,EAAE,YAAW,GACnFC,IAAe,IAAIC,MAAYA,EAAQ,OAAO,CAACC,GAAWC,GAAOC,MAC9D,EAAQF,KAAcA,EAAU,KAAI,MAAO,MAAME,EAAM,QAAQF,CAAS,MAAMC,CACtF,EAAE,KAAK,GAAG,EAAE,KAAI;","x_google_ignoreList":[0]}
@@ -1,11 +1,42 @@
1
1
  "use client";
2
- function o(t, i) {
3
- const n = i || {};
4
- return (t[t.length - 1] === "" ? [...t, ""] : t).join(
5
- (n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")
6
- ).trim();
7
- }
2
+ import { forwardRef as p, createElement as o } from "react";
3
+ import n from "./index.esm448.js";
4
+ import { mergeClasses as b } from "./index.esm446.js";
5
+ /**
6
+ * @license lucide-react v0.468.0 - ISC
7
+ *
8
+ * This source code is licensed under the ISC license.
9
+ * See the LICENSE file in the root directory of this source tree.
10
+ */
11
+ const N = p(
12
+ ({
13
+ color: m = "currentColor",
14
+ size: r = 24,
15
+ strokeWidth: t = 2,
16
+ absoluteStrokeWidth: a,
17
+ className: s = "",
18
+ children: e,
19
+ iconNode: u,
20
+ ...f
21
+ }, l) => o(
22
+ "svg",
23
+ {
24
+ ref: l,
25
+ ...n,
26
+ width: r,
27
+ height: r,
28
+ stroke: m,
29
+ strokeWidth: a ? Number(t) * 24 / Number(r) : t,
30
+ className: b("lucide", s),
31
+ ...f
32
+ },
33
+ [
34
+ ...u.map(([c, i]) => o(c, i)),
35
+ ...Array.isArray(e) ? e : [e]
36
+ ]
37
+ )
38
+ );
8
39
  export {
9
- o as stringify
40
+ N as default
10
41
  };
11
42
  //# sourceMappingURL=index.esm447.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm447.js","sources":["../node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.js"],"sourcesContent":["/**\n * @typedef Options\n * Configuration for `stringify`.\n * @property {boolean} [padLeft=true]\n * Whether to pad a space before a token.\n * @property {boolean} [padRight=false]\n * Whether to pad a space after a token.\n */\n\n/**\n * @typedef {Options} StringifyOptions\n * Please use `StringifyOptions` instead.\n */\n\n/**\n * Parse comma-separated tokens to an array.\n *\n * @param {string} value\n * Comma-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n /** @type {Array<string>} */\n const tokens = []\n const input = String(value || '')\n let index = input.indexOf(',')\n let start = 0\n /** @type {boolean} */\n let end = false\n\n while (!end) {\n if (index === -1) {\n index = input.length\n end = true\n }\n\n const token = input.slice(start, index).trim()\n\n if (token || !end) {\n tokens.push(token)\n }\n\n start = index + 1\n index = input.indexOf(',', start)\n }\n\n return tokens\n}\n\n/**\n * Serialize an array of strings or numbers to comma-separated tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @param {Options} [options]\n * Configuration for `stringify` (optional).\n * @returns {string}\n * Comma-separated tokens.\n */\nexport function stringify(values, options) {\n const settings = options || {}\n\n // Ensure the last empty entry is seen.\n const input = values[values.length - 1] === '' ? [...values, ''] : values\n\n return input\n .join(\n (settings.padRight ? ' ' : '') +\n ',' +\n (settings.padLeft === false ? '' : ' ')\n )\n .trim()\n}\n"],"names":["stringify","values","options","settings"],"mappings":";AA4DO,SAASA,EAAUC,GAAQC,GAAS;AACzC,QAAMC,IAAWD,KAAW,CAAA;AAK5B,UAFcD,EAAOA,EAAO,SAAS,CAAC,MAAM,KAAK,CAAC,GAAGA,GAAQ,EAAE,IAAIA,GAGhE;AAAA,KACEE,EAAS,WAAW,MAAM,MACzB,OACCA,EAAS,YAAY,KAAQ,KAAK;AAAA,EAC3C,EACK,KAAI;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.esm447.js","sources":["../node_modules/.pnpm/lucide-react@0.468.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js"],"sourcesContent":["/**\n * @license lucide-react v0.468.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport defaultAttributes from './defaultAttributes.js';\nimport { mergeClasses } from './shared/src/utils.js';\n\nconst Icon = forwardRef(\n ({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = \"\",\n children,\n iconNode,\n ...rest\n }, ref) => {\n return createElement(\n \"svg\",\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,\n className: mergeClasses(\"lucide\", className),\n ...rest\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...Array.isArray(children) ? children : [children]\n ]\n );\n }\n);\n\nexport { Icon as default };\n//# sourceMappingURL=Icon.js.map\n"],"names":["Icon","forwardRef","color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode","rest","ref","createElement","defaultAttributes","mergeClasses","tag","attrs"],"mappings":";;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWK,MAACA,IAAOC;AAAA,EACX,CAAC;AAAA,IACC,OAAAC,IAAQ;AAAA,IACR,MAAAC,IAAO;AAAA,IACP,aAAAC,IAAc;AAAA,IACd,qBAAAC;AAAA,IACA,WAAAC,IAAY;AAAA,IACZ,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,GAAGC;AAAA,EACP,GAAKC,MACMC;AAAA,IACL;AAAA,IACA;AAAA,MACE,KAAAD;AAAA,MACA,GAAGE;AAAA,MACH,OAAOT;AAAA,MACP,QAAQA;AAAA,MACR,QAAQD;AAAA,MACR,aAAaG,IAAsB,OAAOD,CAAW,IAAI,KAAK,OAAOD,CAAI,IAAIC;AAAA,MAC7E,WAAWS,EAAa,UAAUP,CAAS;AAAA,MAC3C,GAAGG;AAAA,IACX;AAAA,IACM;AAAA,MACE,GAAGD,EAAS,IAAI,CAAC,CAACM,GAAKC,CAAK,MAAMJ,EAAcG,GAAKC,CAAK,CAAC;AAAA,MAC3D,GAAG,MAAM,QAAQR,CAAQ,IAAIA,IAAW,CAACA,CAAQ;AAAA,IACzD;AAAA,EACA;AAEA;","x_google_ignoreList":[0]}
@@ -1,8 +1,22 @@
1
1
  "use client";
2
- function n(i) {
3
- return i.join(" ").trim();
4
- }
2
+ /**
3
+ * @license lucide-react v0.468.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ var t = {
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ width: 24,
11
+ height: 24,
12
+ viewBox: "0 0 24 24",
13
+ fill: "none",
14
+ stroke: "currentColor",
15
+ strokeWidth: 2,
16
+ strokeLinecap: "round",
17
+ strokeLinejoin: "round"
18
+ };
5
19
  export {
6
- n as stringify
20
+ t as default
7
21
  };
8
22
  //# sourceMappingURL=index.esm448.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm448.js","sources":["../node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js"],"sourcesContent":["/**\n * Parse space-separated tokens to an array of strings.\n *\n * @param {string} value\n * Space-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n const input = String(value || '').trim()\n return input ? input.split(/[ \\t\\n\\r\\f]+/g) : []\n}\n\n/**\n * Serialize an array of strings as space separated-tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @returns {string}\n * Space-separated tokens.\n */\nexport function stringify(values) {\n return values.join(' ').trim()\n}\n"],"names":["stringify","values"],"mappings":";AAqBO,SAASA,EAAUC,GAAQ;AAChC,SAAOA,EAAO,KAAK,GAAG,EAAE,KAAI;AAC9B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.esm448.js","sources":["../node_modules/.pnpm/lucide-react@0.468.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js"],"sourcesContent":["/**\n * @license lucide-react v0.468.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nvar defaultAttributes = {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: \"currentColor\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n};\n\nexport { defaultAttributes as default };\n//# sourceMappingURL=defaultAttributes.js.map\n"],"names":["defaultAttributes"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOG,IAACA,IAAoB;AAAA,EACtB,OAAO;AAAA,EACP,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,eAAe;AAAA,EACf,gBAAgB;AAClB;","x_google_ignoreList":[0]}