@slipstream-ui/core 0.11.9 → 0.11.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 (237) hide show
  1. package/dist/index.d.mts +117 -2
  2. package/dist/index.d.ts +117 -2
  3. package/dist/index.js +1084 -827
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +1082 -827
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/manifests/accordion.manifest.json +1 -1
  8. package/dist/manifests/alert.manifest.json +1 -1
  9. package/dist/manifests/announcement-bar.manifest.json +1 -1
  10. package/dist/manifests/app-shell.manifest.json +1 -1
  11. package/dist/manifests/applied-filters.manifest.json +1 -1
  12. package/dist/manifests/article-card.manifest.json +1 -1
  13. package/dist/manifests/auth-layout.manifest.json +1 -1
  14. package/dist/manifests/autocomplete.manifest.json +1 -1
  15. package/dist/manifests/avatar.manifest.json +1 -1
  16. package/dist/manifests/badge.manifest.json +1 -1
  17. package/dist/manifests/block.manifest.json +1 -1
  18. package/dist/manifests/bottom-nav.manifest.json +1 -1
  19. package/dist/manifests/breadcrumb.manifest.json +1 -1
  20. package/dist/manifests/button-group.manifest.json +1 -1
  21. package/dist/manifests/button.manifest.json +1 -1
  22. package/dist/manifests/calendar.manifest.json +1 -1
  23. package/dist/manifests/card.manifest.json +1 -1
  24. package/dist/manifests/checkbox.manifest.json +1 -1
  25. package/dist/manifests/comparison-table.manifest.json +1 -1
  26. package/dist/manifests/confirm-dialog.manifest.json +1 -1
  27. package/dist/manifests/contact-strip.manifest.json +1 -1
  28. package/dist/manifests/container.manifest.json +1 -1
  29. package/dist/manifests/cover-image.manifest.json +1 -1
  30. package/dist/manifests/cta-section.manifest.json +1 -1
  31. package/dist/manifests/data-table.manifest.json +1 -1
  32. package/dist/manifests/date-picker-popover.manifest.json +1 -1
  33. package/dist/manifests/date-picker.manifest.json +1 -1
  34. package/dist/manifests/date-range-picker.manifest.json +1 -1
  35. package/dist/manifests/deal-card.manifest.json +1 -1
  36. package/dist/manifests/dialog.manifest.json +1 -1
  37. package/dist/manifests/document-card.manifest.json +1 -1
  38. package/dist/manifests/drawer.manifest.json +1 -1
  39. package/dist/manifests/empty-state.manifest.json +1 -1
  40. package/dist/manifests/entity-card.manifest.json +1 -1
  41. package/dist/manifests/feature-grid.manifest.json +1 -1
  42. package/dist/manifests/feature-row.manifest.json +1 -1
  43. package/dist/manifests/fieldset.manifest.json +1 -1
  44. package/dist/manifests/file-upload.manifest.json +1 -1
  45. package/dist/manifests/filter-bar.manifest.json +1 -1
  46. package/dist/manifests/filter-chips.manifest.json +1 -1
  47. package/dist/manifests/filter-panel.manifest.json +1 -1
  48. package/dist/manifests/flex.manifest.json +1 -1
  49. package/dist/manifests/form-field.manifest.json +1 -1
  50. package/dist/manifests/form-layout.manifest.json +1 -1
  51. package/dist/manifests/form.manifest.json +1 -1
  52. package/dist/manifests/grid.manifest.json +1 -1
  53. package/dist/manifests/heading.manifest.json +1 -1
  54. package/dist/manifests/hero.manifest.json +1 -1
  55. package/dist/manifests/image.manifest.json +1 -1
  56. package/dist/manifests/input-group.manifest.json +1 -1
  57. package/dist/manifests/input.manifest.json +1 -1
  58. package/dist/manifests/label.manifest.json +1 -1
  59. package/dist/manifests/link-tabs.manifest.json +1 -1
  60. package/dist/manifests/link.manifest.json +1 -1
  61. package/dist/manifests/list-toolbar.manifest.json +1 -1
  62. package/dist/manifests/list.manifest.json +1 -1
  63. package/dist/manifests/load-more.manifest.json +1 -1
  64. package/dist/manifests/logo-cloud.manifest.json +1 -1
  65. package/dist/manifests/media-card.manifest.json +161 -0
  66. package/dist/manifests/menu.manifest.json +1 -1
  67. package/dist/manifests/metric-card.manifest.json +1 -1
  68. package/dist/manifests/month-schedule.manifest.json +217 -0
  69. package/dist/manifests/multi-select.manifest.json +1 -1
  70. package/dist/manifests/newsletter.manifest.json +1 -1
  71. package/dist/manifests/page-header.manifest.json +1 -1
  72. package/dist/manifests/pagination.manifest.json +1 -1
  73. package/dist/manifests/password-input.manifest.json +1 -1
  74. package/dist/manifests/popover.manifest.json +1 -1
  75. package/dist/manifests/process-steps.manifest.json +1 -1
  76. package/dist/manifests/progress.manifest.json +1 -1
  77. package/dist/manifests/prose.manifest.json +1 -1
  78. package/dist/manifests/radio.manifest.json +1 -1
  79. package/dist/manifests/range-slider.manifest.json +1 -1
  80. package/dist/manifests/search.manifest.json +1 -1
  81. package/dist/manifests/section-heading.manifest.json +1 -1
  82. package/dist/manifests/section.manifest.json +1 -1
  83. package/dist/manifests/segmented-control.manifest.json +1 -1
  84. package/dist/manifests/select-menu.manifest.json +1 -1
  85. package/dist/manifests/select.manifest.json +1 -1
  86. package/dist/manifests/separator.manifest.json +1 -1
  87. package/dist/manifests/site-footer.manifest.json +1 -1
  88. package/dist/manifests/site-header.manifest.json +1 -1
  89. package/dist/manifests/skeleton.manifest.json +1 -1
  90. package/dist/manifests/spinner.manifest.json +1 -1
  91. package/dist/manifests/stat-band.manifest.json +1 -1
  92. package/dist/manifests/stepper.manifest.json +1 -1
  93. package/dist/manifests/switch.manifest.json +1 -1
  94. package/dist/manifests/table-card.manifest.json +1 -1
  95. package/dist/manifests/table-of-contents.manifest.json +1 -1
  96. package/dist/manifests/table.manifest.json +1 -1
  97. package/dist/manifests/tabs.manifest.json +1 -1
  98. package/dist/manifests/testimonial.manifest.json +1 -1
  99. package/dist/manifests/text.manifest.json +1 -1
  100. package/dist/manifests/textarea.manifest.json +1 -1
  101. package/dist/manifests/theme-toggle.manifest.json +1 -1
  102. package/dist/manifests/time-picker.manifest.json +1 -1
  103. package/dist/manifests/timeline.manifest.json +1 -1
  104. package/dist/manifests/toast.manifest.json +1 -1
  105. package/dist/manifests/tombstone-card.manifest.json +1 -1
  106. package/dist/manifests/tooltip.manifest.json +1 -1
  107. package/dist/src/components/media-card/MediaCard.d.ts +61 -0
  108. package/dist/src/components/media-card/MediaCard.js +88 -0
  109. package/dist/src/components/media-card/MediaCard.js.map +1 -0
  110. package/dist/src/components/media-card/MediaCard.mjs +54 -0
  111. package/dist/src/components/media-card/MediaCard.mjs.map +1 -0
  112. package/dist/src/components/media-card/index.d.ts +1 -0
  113. package/dist/src/components/media-card/index.js +23 -0
  114. package/dist/src/components/media-card/index.js.map +1 -0
  115. package/dist/src/components/media-card/index.mjs +2 -0
  116. package/dist/src/components/media-card/index.mjs.map +1 -0
  117. package/dist/src/components/month-schedule/MonthSchedule.d.ts +56 -0
  118. package/dist/src/components/month-schedule/MonthSchedule.js +245 -0
  119. package/dist/src/components/month-schedule/MonthSchedule.js.map +1 -0
  120. package/dist/src/components/month-schedule/MonthSchedule.mjs +219 -0
  121. package/dist/src/components/month-schedule/MonthSchedule.mjs.map +1 -0
  122. package/dist/src/components/month-schedule/index.d.ts +1 -0
  123. package/dist/src/components/month-schedule/index.js +23 -0
  124. package/dist/src/components/month-schedule/index.js.map +1 -0
  125. package/dist/src/components/month-schedule/index.mjs +2 -0
  126. package/dist/src/components/month-schedule/index.mjs.map +1 -0
  127. package/dist/src/index.d.ts +2 -0
  128. package/dist/styles-full.css +1 -1
  129. package/dist/styles.css +1 -1
  130. package/package.json +1 -1
  131. package/src/components/media-card/MediaCard.test.tsx +97 -0
  132. package/src/components/media-card/MediaCard.tsx +116 -0
  133. package/src/components/media-card/index.ts +1 -0
  134. package/src/components/month-schedule/MonthSchedule.test.tsx +137 -0
  135. package/src/components/month-schedule/MonthSchedule.tsx +332 -0
  136. package/src/components/month-schedule/index.ts +1 -0
  137. package/src/index.ts +2 -0
  138. package/src/manifests/accordion.manifest.json +1 -1
  139. package/src/manifests/alert.manifest.json +1 -1
  140. package/src/manifests/announcement-bar.manifest.json +1 -1
  141. package/src/manifests/app-shell.manifest.json +1 -1
  142. package/src/manifests/applied-filters.manifest.json +1 -1
  143. package/src/manifests/article-card.manifest.json +1 -1
  144. package/src/manifests/auth-layout.manifest.json +1 -1
  145. package/src/manifests/autocomplete.manifest.json +1 -1
  146. package/src/manifests/avatar.manifest.json +1 -1
  147. package/src/manifests/badge.manifest.json +1 -1
  148. package/src/manifests/block.manifest.json +1 -1
  149. package/src/manifests/bottom-nav.manifest.json +1 -1
  150. package/src/manifests/breadcrumb.manifest.json +1 -1
  151. package/src/manifests/button-group.manifest.json +1 -1
  152. package/src/manifests/button.manifest.json +1 -1
  153. package/src/manifests/calendar.manifest.json +1 -1
  154. package/src/manifests/card.manifest.json +1 -1
  155. package/src/manifests/checkbox.manifest.json +1 -1
  156. package/src/manifests/comparison-table.manifest.json +1 -1
  157. package/src/manifests/confirm-dialog.manifest.json +1 -1
  158. package/src/manifests/contact-strip.manifest.json +1 -1
  159. package/src/manifests/container.manifest.json +1 -1
  160. package/src/manifests/cover-image.manifest.json +1 -1
  161. package/src/manifests/cta-section.manifest.json +1 -1
  162. package/src/manifests/data-table.manifest.json +1 -1
  163. package/src/manifests/date-picker-popover.manifest.json +1 -1
  164. package/src/manifests/date-picker.manifest.json +1 -1
  165. package/src/manifests/date-range-picker.manifest.json +1 -1
  166. package/src/manifests/deal-card.manifest.json +1 -1
  167. package/src/manifests/dialog.manifest.json +1 -1
  168. package/src/manifests/document-card.manifest.json +1 -1
  169. package/src/manifests/drawer.manifest.json +1 -1
  170. package/src/manifests/empty-state.manifest.json +1 -1
  171. package/src/manifests/entity-card.manifest.json +1 -1
  172. package/src/manifests/feature-grid.manifest.json +1 -1
  173. package/src/manifests/feature-row.manifest.json +1 -1
  174. package/src/manifests/fieldset.manifest.json +1 -1
  175. package/src/manifests/file-upload.manifest.json +1 -1
  176. package/src/manifests/filter-bar.manifest.json +1 -1
  177. package/src/manifests/filter-chips.manifest.json +1 -1
  178. package/src/manifests/filter-panel.manifest.json +1 -1
  179. package/src/manifests/flex.manifest.json +1 -1
  180. package/src/manifests/form-field.manifest.json +1 -1
  181. package/src/manifests/form-layout.manifest.json +1 -1
  182. package/src/manifests/form.manifest.json +1 -1
  183. package/src/manifests/grid.manifest.json +1 -1
  184. package/src/manifests/heading.manifest.json +1 -1
  185. package/src/manifests/hero.manifest.json +1 -1
  186. package/src/manifests/image.manifest.json +1 -1
  187. package/src/manifests/input-group.manifest.json +1 -1
  188. package/src/manifests/input.manifest.json +1 -1
  189. package/src/manifests/label.manifest.json +1 -1
  190. package/src/manifests/link-tabs.manifest.json +1 -1
  191. package/src/manifests/link.manifest.json +1 -1
  192. package/src/manifests/list-toolbar.manifest.json +1 -1
  193. package/src/manifests/list.manifest.json +1 -1
  194. package/src/manifests/load-more.manifest.json +1 -1
  195. package/src/manifests/logo-cloud.manifest.json +1 -1
  196. package/src/manifests/media-card.manifest.json +161 -0
  197. package/src/manifests/menu.manifest.json +1 -1
  198. package/src/manifests/metric-card.manifest.json +1 -1
  199. package/src/manifests/month-schedule.manifest.json +217 -0
  200. package/src/manifests/multi-select.manifest.json +1 -1
  201. package/src/manifests/newsletter.manifest.json +1 -1
  202. package/src/manifests/page-header.manifest.json +1 -1
  203. package/src/manifests/pagination.manifest.json +1 -1
  204. package/src/manifests/password-input.manifest.json +1 -1
  205. package/src/manifests/popover.manifest.json +1 -1
  206. package/src/manifests/process-steps.manifest.json +1 -1
  207. package/src/manifests/progress.manifest.json +1 -1
  208. package/src/manifests/prose.manifest.json +1 -1
  209. package/src/manifests/radio.manifest.json +1 -1
  210. package/src/manifests/range-slider.manifest.json +1 -1
  211. package/src/manifests/search.manifest.json +1 -1
  212. package/src/manifests/section-heading.manifest.json +1 -1
  213. package/src/manifests/section.manifest.json +1 -1
  214. package/src/manifests/segmented-control.manifest.json +1 -1
  215. package/src/manifests/select-menu.manifest.json +1 -1
  216. package/src/manifests/select.manifest.json +1 -1
  217. package/src/manifests/separator.manifest.json +1 -1
  218. package/src/manifests/site-footer.manifest.json +1 -1
  219. package/src/manifests/site-header.manifest.json +1 -1
  220. package/src/manifests/skeleton.manifest.json +1 -1
  221. package/src/manifests/spinner.manifest.json +1 -1
  222. package/src/manifests/stat-band.manifest.json +1 -1
  223. package/src/manifests/stepper.manifest.json +1 -1
  224. package/src/manifests/switch.manifest.json +1 -1
  225. package/src/manifests/table-card.manifest.json +1 -1
  226. package/src/manifests/table-of-contents.manifest.json +1 -1
  227. package/src/manifests/table.manifest.json +1 -1
  228. package/src/manifests/tabs.manifest.json +1 -1
  229. package/src/manifests/testimonial.manifest.json +1 -1
  230. package/src/manifests/text.manifest.json +1 -1
  231. package/src/manifests/textarea.manifest.json +1 -1
  232. package/src/manifests/theme-toggle.manifest.json +1 -1
  233. package/src/manifests/time-picker.manifest.json +1 -1
  234. package/src/manifests/timeline.manifest.json +1 -1
  235. package/src/manifests/toast.manifest.json +1 -1
  236. package/src/manifests/tombstone-card.manifest.json +1 -1
  237. package/src/manifests/tooltip.manifest.json +1 -1
package/dist/index.js CHANGED
@@ -112,6 +112,7 @@ __export(index_exports, {
112
112
  ListToolbar: () => ListToolbar,
113
113
  LoadMore: () => LoadMore,
114
114
  LogoCloud: () => LogoCloud,
115
+ MediaCard: () => MediaCard,
115
116
  Menu: () => Menu,
116
117
  MenuContent: () => MenuContent,
117
118
  MenuItem: () => MenuItem,
@@ -119,6 +120,7 @@ __export(index_exports, {
119
120
  MenuSeparator: () => MenuSeparator,
120
121
  MenuTrigger: () => MenuTrigger,
121
122
  MetricCard: () => MetricCard,
123
+ MonthSchedule: () => MonthSchedule,
122
124
  MultiSelect: () => MultiSelect,
123
125
  Newsletter: () => Newsletter,
124
126
  PageHeader: () => PageHeader,
@@ -3627,14 +3629,218 @@ function partsOf(key) {
3627
3629
  return { year: parts?.year ?? 1970, month: parts?.month ?? 0 };
3628
3630
  }
3629
3631
 
3630
- // src/components/card/Card.tsx
3632
+ // src/components/month-schedule/MonthSchedule.tsx
3631
3633
  var React39 = __toESM(require("react"));
3632
- var import_react_slot3 = require("@radix-ui/react-slot");
3633
3634
  var import_jsx_runtime38 = require("react/jsx-runtime");
3634
- var Card = React39.forwardRef(
3635
+ var TYPE_TONES = [
3636
+ "outline-info",
3637
+ "outline-success",
3638
+ "outline-warning",
3639
+ "outline-danger",
3640
+ "outline"
3641
+ ];
3642
+ function typeTone(type, legend) {
3643
+ if (!type) return "outline";
3644
+ const index = legend?.findIndex((item) => item.type === type) ?? -1;
3645
+ if (index >= 0) return TYPE_TONES[index % TYPE_TONES.length];
3646
+ let hash = 0;
3647
+ for (let i = 0; i < type.length; i += 1) hash = hash * 31 + type.charCodeAt(i) >>> 0;
3648
+ return TYPE_TONES[hash % TYPE_TONES.length];
3649
+ }
3650
+ function monthOf(key) {
3651
+ const parts = parseDateKey(`${key}-01`);
3652
+ return { year: parts?.year ?? 1970, month: parts?.month ?? 0 };
3653
+ }
3654
+ function shiftMonth(monthKey, delta) {
3655
+ const { year, month } = monthOf(monthKey);
3656
+ const shifted = addMonths(`${year}-${String(month + 1).padStart(2, "0")}-01`, delta);
3657
+ return shifted.slice(0, 7);
3658
+ }
3659
+ function MonthSchedule({
3660
+ events,
3661
+ getDate,
3662
+ getLabel,
3663
+ getType,
3664
+ getHref,
3665
+ month,
3666
+ defaultMonth,
3667
+ onMonthChange,
3668
+ today,
3669
+ locale = "en-US",
3670
+ weekStartsOn = 0,
3671
+ maxPerDay = 3,
3672
+ legend,
3673
+ agendaBreakpoint = "md",
3674
+ linkComponent,
3675
+ linkHrefProp = "href",
3676
+ "aria-label": ariaLabel,
3677
+ className
3678
+ }) {
3679
+ const resolvedToday = today ?? todayKey();
3680
+ const Link3 = linkComponent ?? "a";
3681
+ const [internalMonth, setInternalMonth] = React39.useState(
3682
+ () => month ?? defaultMonth ?? resolvedToday.slice(0, 7)
3683
+ );
3684
+ const activeMonth = month ?? internalMonth;
3685
+ const { year, month: monthIndex } = monthOf(activeMonth);
3686
+ const byDay = React39.useMemo(() => {
3687
+ const map = /* @__PURE__ */ new Map();
3688
+ for (const event of events) {
3689
+ const key = getDate(event);
3690
+ const list = map.get(key);
3691
+ if (list) list.push(event);
3692
+ else map.set(key, [event]);
3693
+ }
3694
+ for (const list of map.values()) {
3695
+ list.sort((a, b) => getLabel(a).localeCompare(getLabel(b)));
3696
+ }
3697
+ return map;
3698
+ }, [events, getDate, getLabel]);
3699
+ const weeks = React39.useMemo(
3700
+ () => calendarWeeks(year, monthIndex, weekStartsOn),
3701
+ [year, monthIndex, weekStartsOn]
3702
+ );
3703
+ const weekdays = React39.useMemo(
3704
+ () => weekdayLabels(locale, weekStartsOn),
3705
+ [locale, weekStartsOn]
3706
+ );
3707
+ const monthName = monthLabel(year, monthIndex, locale);
3708
+ const agendaDays = React39.useMemo(
3709
+ () => [...byDay.keys()].filter((key) => key.startsWith(activeMonth)).sort().map((key) => ({ key, items: byDay.get(key) ?? [] })),
3710
+ [byDay, activeMonth]
3711
+ );
3712
+ const page = (delta) => {
3713
+ const next = shiftMonth(activeMonth, delta);
3714
+ if (month === void 0) setInternalMonth(next);
3715
+ onMonthChange?.(next);
3716
+ };
3717
+ const renderEvent = (event, key) => {
3718
+ const label = getLabel(event);
3719
+ const type = getType?.(event);
3720
+ const tone = typeTone(type, legend);
3721
+ const href = getHref?.(event);
3722
+ const chip = /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Badge, { variant: tone, size: "sm", className: "max-w-full truncate", children: label });
3723
+ if (!href) return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { children: chip }, key);
3724
+ const destination = linkHrefProp === "to" ? { to: href } : { href };
3725
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3726
+ Link3,
3727
+ {
3728
+ ...destination,
3729
+ className: "block max-w-full rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
3730
+ children: chip
3731
+ },
3732
+ key
3733
+ );
3734
+ };
3735
+ const gridHidden = agendaBreakpoint === "sm" ? "hidden sm:block" : "hidden md:block";
3736
+ const agendaHidden = agendaBreakpoint === "sm" ? "sm:hidden" : "md:hidden";
3737
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: cn("w-full select-none", className), children: [
3738
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "mb-2 flex items-center justify-between gap-2", children: [
3739
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3740
+ Button,
3741
+ {
3742
+ type: "button",
3743
+ variant: "ghost",
3744
+ size: "icon",
3745
+ "aria-label": "Previous month",
3746
+ onClick: () => page(-1),
3747
+ children: "\u2039"
3748
+ }
3749
+ ),
3750
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { "aria-live": "polite", className: "text-sm font-semibold text-foreground", children: monthName }),
3751
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3752
+ Button,
3753
+ {
3754
+ type: "button",
3755
+ variant: "ghost",
3756
+ size: "icon",
3757
+ "aria-label": "Next month",
3758
+ onClick: () => page(1),
3759
+ children: "\u203A"
3760
+ }
3761
+ )
3762
+ ] }),
3763
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
3764
+ "div",
3765
+ {
3766
+ role: "grid",
3767
+ "aria-label": ariaLabel ?? monthName,
3768
+ className: cn("flex flex-col gap-1", gridHidden),
3769
+ children: [
3770
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { role: "row", className: "grid grid-cols-7 gap-1 text-center text-xs text-muted-foreground", children: weekdays.map((weekday) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { role: "columnheader", "aria-label": weekday, className: "py-1", children: weekday }, weekday)) }),
3771
+ weeks.map((week) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { role: "row", className: "grid grid-cols-7 gap-1", children: week.map((day) => {
3772
+ const dayEvents = byDay.get(day.key) ?? [];
3773
+ const visible = dayEvents.slice(0, maxPerDay);
3774
+ const overflow = dayEvents.length - visible.length;
3775
+ const isToday = day.key === resolvedToday;
3776
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
3777
+ "div",
3778
+ {
3779
+ role: "gridcell",
3780
+ "aria-current": isToday ? "date" : void 0,
3781
+ className: cn(
3782
+ "flex min-h-16 flex-col gap-0.5 rounded-md border border-transparent p-1",
3783
+ !day.inMonth && "opacity-50",
3784
+ isToday && "border-primary/40 bg-primary/5"
3785
+ ),
3786
+ children: [
3787
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3788
+ "span",
3789
+ {
3790
+ className: cn(
3791
+ "self-start px-1 text-xs tabular-nums",
3792
+ isToday ? "font-semibold text-primary-ink" : "text-muted-foreground"
3793
+ ),
3794
+ children: day.day
3795
+ }
3796
+ ),
3797
+ visible.map(
3798
+ (event, index) => renderEvent(event, `${day.key}-${index}-${getLabel(event)}`)
3799
+ ),
3800
+ overflow > 0 && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("span", { className: "px-1 text-[11px] text-muted-foreground", children: [
3801
+ "+",
3802
+ overflow,
3803
+ " more"
3804
+ ] })
3805
+ ]
3806
+ },
3807
+ day.key
3808
+ );
3809
+ }) }, week[0]?.key))
3810
+ ]
3811
+ }
3812
+ ),
3813
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: cn("flex flex-col gap-3", agendaHidden), children: agendaDays.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "py-6 text-center text-sm text-muted-foreground", children: "No events this month." }) : agendaDays.map(({ key, items }) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("section", { "aria-label": formatDateLabel(key, locale), children: [
3814
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("h3", { className: "mb-1 text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: formatDateLabel(key, locale) }),
3815
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("ul", { className: "flex flex-col gap-1", children: items.map((event, index) => {
3816
+ const label = getLabel(event);
3817
+ const type = getType?.(event);
3818
+ const tone = typeTone(type, legend);
3819
+ const href = getHref?.(event);
3820
+ const row = /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Badge, { variant: tone, size: "sm", className: "max-w-full truncate", children: label });
3821
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("li", { children: href ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3822
+ Link3,
3823
+ {
3824
+ ...linkHrefProp === "to" ? { to: href } : { href },
3825
+ className: "block max-w-full rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
3826
+ children: row
3827
+ }
3828
+ ) : row }, `${key}-${index}-${label}`);
3829
+ }) })
3830
+ ] }, key)) }),
3831
+ legend && legend.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("ul", { className: "mt-3 flex flex-wrap gap-x-4 gap-y-1", "aria-label": "Event types", children: legend.map((item) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("li", { className: "flex items-center gap-1.5 text-xs text-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Badge, { variant: typeTone(item.type, legend), size: "sm", children: item.label }) }, item.type)) })
3832
+ ] });
3833
+ }
3834
+ MonthSchedule.displayName = "MonthSchedule";
3835
+
3836
+ // src/components/card/Card.tsx
3837
+ var React40 = __toESM(require("react"));
3838
+ var import_react_slot3 = require("@radix-ui/react-slot");
3839
+ var import_jsx_runtime39 = require("react/jsx-runtime");
3840
+ var Card = React40.forwardRef(
3635
3841
  ({ className, asChild = false, ...props }, ref) => {
3636
3842
  const Comp = asChild ? import_react_slot3.Slot : "div";
3637
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3843
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3638
3844
  Comp,
3639
3845
  {
3640
3846
  ref,
@@ -3645,12 +3851,12 @@ var Card = React39.forwardRef(
3645
3851
  }
3646
3852
  );
3647
3853
  Card.displayName = "Card";
3648
- var CardHeader = React39.forwardRef(
3649
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { ref, className: cn("flex flex-col space-y-1.5 p-6", className), ...props })
3854
+ var CardHeader = React40.forwardRef(
3855
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { ref, className: cn("flex flex-col space-y-1.5 p-6", className), ...props })
3650
3856
  );
3651
3857
  CardHeader.displayName = "CardHeader";
3652
- var CardTitle = React39.forwardRef(
3653
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3858
+ var CardTitle = React40.forwardRef(
3859
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3654
3860
  "h3",
3655
3861
  {
3656
3862
  ref,
@@ -3660,22 +3866,22 @@ var CardTitle = React39.forwardRef(
3660
3866
  )
3661
3867
  );
3662
3868
  CardTitle.displayName = "CardTitle";
3663
- var CardDescription = React39.forwardRef(
3664
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { ref, className: cn("text-sm text-muted-foreground", className), ...props })
3869
+ var CardDescription = React40.forwardRef(
3870
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { ref, className: cn("text-sm text-muted-foreground", className), ...props })
3665
3871
  );
3666
3872
  CardDescription.displayName = "CardDescription";
3667
- var CardContent = React39.forwardRef(
3668
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { ref, className: cn("p-6 pt-0", className), ...props })
3873
+ var CardContent = React40.forwardRef(
3874
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { ref, className: cn("p-6 pt-0", className), ...props })
3669
3875
  );
3670
3876
  CardContent.displayName = "CardContent";
3671
- var CardFooter = React39.forwardRef(
3672
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { ref, className: cn("flex items-center p-6 pt-0", className), ...props })
3877
+ var CardFooter = React40.forwardRef(
3878
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { ref, className: cn("flex items-center p-6 pt-0", className), ...props })
3673
3879
  );
3674
3880
  CardFooter.displayName = "CardFooter";
3675
3881
 
3676
3882
  // src/components/confirm-dialog/ConfirmDialog.tsx
3677
- var React40 = __toESM(require("react"));
3678
- var import_jsx_runtime39 = require("react/jsx-runtime");
3883
+ var React41 = __toESM(require("react"));
3884
+ var import_jsx_runtime40 = require("react/jsx-runtime");
3679
3885
  function ConfirmDialog({
3680
3886
  open,
3681
3887
  onOpenChange,
@@ -3688,7 +3894,7 @@ function ConfirmDialog({
3688
3894
  closeOnConfirm = true,
3689
3895
  children
3690
3896
  }) {
3691
- const [pending, setPending] = React40.useState(false);
3897
+ const [pending, setPending] = React41.useState(false);
3692
3898
  const handleConfirm = async () => {
3693
3899
  try {
3694
3900
  setPending(true);
@@ -3698,7 +3904,7 @@ function ConfirmDialog({
3698
3904
  setPending(false);
3699
3905
  }
3700
3906
  };
3701
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3907
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3702
3908
  Dialog,
3703
3909
  {
3704
3910
  open,
@@ -3709,9 +3915,9 @@ function ConfirmDialog({
3709
3915
  title,
3710
3916
  description,
3711
3917
  size: "sm",
3712
- footer: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(DialogFooter, { children: [
3713
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Button, { variant: "ghost", onClick: () => onOpenChange(false), disabled: pending, children: cancelLabel }),
3714
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3918
+ footer: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(DialogFooter, { children: [
3919
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Button, { variant: "ghost", onClick: () => onOpenChange(false), disabled: pending, children: cancelLabel }),
3920
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3715
3921
  Button,
3716
3922
  {
3717
3923
  variant: destructive ? "destructive" : "default",
@@ -3727,8 +3933,8 @@ function ConfirmDialog({
3727
3933
  }
3728
3934
 
3729
3935
  // src/components/table-of-contents/TableOfContents.tsx
3730
- var React41 = __toESM(require("react"));
3731
- var import_jsx_runtime40 = require("react/jsx-runtime");
3936
+ var React42 = __toESM(require("react"));
3937
+ var import_jsx_runtime41 = require("react/jsx-runtime");
3732
3938
  function TableOfContents({
3733
3939
  headings,
3734
3940
  activeId,
@@ -3740,17 +3946,17 @@ function TableOfContents({
3740
3946
  className,
3741
3947
  ...props
3742
3948
  }) {
3743
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
3949
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3744
3950
  "nav",
3745
3951
  {
3746
3952
  "aria-label": ariaLabel ?? label,
3747
3953
  className: cn("text-sm", sticky && "sticky top-20 max-h-[calc(100vh-6rem)] overflow-y-auto", className),
3748
3954
  ...props,
3749
3955
  children: [
3750
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: cn("mb-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground", labelClassName), children: label }),
3751
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("ul", { className: "space-y-1 border-l border-border", children: headings.map((heading) => {
3956
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: cn("mb-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground", labelClassName), children: label }),
3957
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("ul", { className: "space-y-1 border-l border-border", children: headings.map((heading) => {
3752
3958
  const active = heading.id === activeId;
3753
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("li", { style: { paddingLeft: `${(heading.level - 2) * 0.75}rem` }, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3959
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("li", { style: { paddingLeft: `${(heading.level - 2) * 0.75}rem` }, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3754
3960
  "a",
3755
3961
  {
3756
3962
  href: `#${heading.id}`,
@@ -3769,10 +3975,10 @@ function TableOfContents({
3769
3975
  );
3770
3976
  }
3771
3977
  function useScrollSpy(ids, options) {
3772
- const [activeId, setActiveId] = React41.useState();
3978
+ const [activeId, setActiveId] = React42.useState();
3773
3979
  const idKey = ids.join("|");
3774
3980
  const rootMargin = options?.rootMargin ?? "0px 0px -70% 0px";
3775
- React41.useEffect(() => {
3981
+ React42.useEffect(() => {
3776
3982
  if (idKey.length === 0 || typeof IntersectionObserver === "undefined") return;
3777
3983
  const elements = idKey.split("|").map((id) => document.getElementById(id)).filter((element) => element !== null);
3778
3984
  if (elements.length === 0) return;
@@ -3787,7 +3993,7 @@ function useScrollSpy(ids, options) {
3787
3993
  elements.forEach((element) => observer.observe(element));
3788
3994
  return () => observer.disconnect();
3789
3995
  }, [idKey, rootMargin]);
3790
- React41.useEffect(() => {
3996
+ React42.useEffect(() => {
3791
3997
  if (typeof window === "undefined") return;
3792
3998
  const ids2 = idKey.split("|").filter(Boolean);
3793
3999
  const syncFromHash = () => {
@@ -3802,15 +4008,15 @@ function useScrollSpy(ids, options) {
3802
4008
  }
3803
4009
 
3804
4010
  // src/components/prose/Prose.tsx
3805
- var React42 = __toESM(require("react"));
3806
- var import_jsx_runtime41 = require("react/jsx-runtime");
4011
+ var React43 = __toESM(require("react"));
4012
+ var import_jsx_runtime42 = require("react/jsx-runtime");
3807
4013
  var sizeClasses3 = {
3808
4014
  sm: "text-sm [&_h2]:text-xl [&_h3]:text-lg",
3809
4015
  md: "text-base [&_h2]:text-2xl [&_h3]:text-xl",
3810
4016
  lg: "text-lg [&_h2]:text-3xl [&_h3]:text-2xl"
3811
4017
  };
3812
- var Prose = React42.forwardRef(function Prose2({ size = "md", className, ...props }, ref) {
3813
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4018
+ var Prose = React43.forwardRef(function Prose2({ size = "md", className, ...props }, ref) {
4019
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3814
4020
  "div",
3815
4021
  {
3816
4022
  ref,
@@ -3849,7 +4055,7 @@ var Prose = React42.forwardRef(function Prose2({ size = "md", className, ...prop
3849
4055
  });
3850
4056
 
3851
4057
  // src/components/site-footer/SiteFooter.tsx
3852
- var import_jsx_runtime42 = require("react/jsx-runtime");
4058
+ var import_jsx_runtime43 = require("react/jsx-runtime");
3853
4059
  function isActive2(itemHref, activeHref, match) {
3854
4060
  if (!activeHref) return false;
3855
4061
  if (itemHref === activeHref) return true;
@@ -3871,18 +4077,18 @@ function SiteFooter({
3871
4077
  }) {
3872
4078
  const Link3 = linkComponent ?? "a";
3873
4079
  const destination = (href) => linkHrefProp === "to" ? { to: href } : { href };
3874
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("footer", { className: cn("border-t border-border bg-muted/30", className), ...props, children: [
3875
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "mx-auto grid w-full max-w-7xl gap-8 px-4 py-12 sm:grid-cols-2 sm:px-6 lg:grid-cols-4", children: [
3876
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "min-w-0", children: [
4080
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("footer", { className: cn("border-t border-border bg-muted/30", className), ...props, children: [
4081
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "mx-auto grid w-full max-w-7xl gap-8 px-4 py-12 sm:grid-cols-2 sm:px-6 lg:grid-cols-4", children: [
4082
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "min-w-0", children: [
3877
4083
  brand,
3878
- tagline && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "mt-3 max-w-56 text-sm text-muted-foreground", children: tagline }),
3879
- contact && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "mt-3 max-w-56 text-sm text-muted-foreground", children: contact })
4084
+ tagline && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: "mt-3 max-w-56 text-sm text-muted-foreground", children: tagline }),
4085
+ contact && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "mt-3 max-w-56 text-sm text-muted-foreground", children: contact })
3880
4086
  ] }),
3881
- columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { children: [
3882
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("h2", { className: "mb-3 text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: column.title }),
3883
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("ul", { className: "m-0 list-none space-y-2 p-0 text-sm", children: column.links.map((link) => {
4087
+ columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { children: [
4088
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("h2", { className: "mb-3 text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: column.title }),
4089
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("ul", { className: "m-0 list-none space-y-2 p-0 text-sm", children: column.links.map((link) => {
3884
4090
  const active = isActive2(link.href, activeHref, match);
3885
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4091
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3886
4092
  Link3,
3887
4093
  {
3888
4094
  ...destination(link.href),
@@ -3898,13 +4104,13 @@ function SiteFooter({
3898
4104
  }) })
3899
4105
  ] }, column.title))
3900
4106
  ] }),
3901
- legal && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "border-t border-border", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "mx-auto flex w-full max-w-7xl flex-wrap items-center justify-between gap-2 px-4 py-4 text-xs text-muted-foreground sm:px-6", children: legal }) })
4107
+ legal && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "border-t border-border", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "mx-auto flex w-full max-w-7xl flex-wrap items-center justify-between gap-2 px-4 py-4 text-xs text-muted-foreground sm:px-6", children: legal }) })
3902
4108
  ] });
3903
4109
  }
3904
4110
 
3905
4111
  // src/components/site-header/SiteHeader.tsx
3906
- var React43 = __toESM(require("react"));
3907
- var import_jsx_runtime43 = require("react/jsx-runtime");
4112
+ var React44 = __toESM(require("react"));
4113
+ var import_jsx_runtime44 = require("react/jsx-runtime");
3908
4114
  function isActive3(itemHref, activeHref, match) {
3909
4115
  if (!activeHref) return false;
3910
4116
  if (itemHref === activeHref) return true;
@@ -3912,7 +4118,7 @@ function isActive3(itemHref, activeHref, match) {
3912
4118
  return activeHref === itemHref || activeHref.startsWith(itemHref.endsWith("/") ? itemHref : `${itemHref}/`);
3913
4119
  }
3914
4120
  function Caret() {
3915
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4121
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3916
4122
  "svg",
3917
4123
  {
3918
4124
  "aria-hidden": "true",
@@ -3923,7 +4129,7 @@ function Caret() {
3923
4129
  strokeWidth: "1.75",
3924
4130
  strokeLinecap: "round",
3925
4131
  strokeLinejoin: "round",
3926
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("path", { d: "m2.5 4.5 3.5 3.5 3.5-3.5" })
4132
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", { d: "m2.5 4.5 3.5 3.5 3.5-3.5" })
3927
4133
  }
3928
4134
  );
3929
4135
  }
@@ -3950,14 +4156,14 @@ function SiteHeader({
3950
4156
  className,
3951
4157
  ...props
3952
4158
  }) {
3953
- const [mobileOpen, setMobileOpen] = React43.useState(false);
3954
- const [openMenu, setOpenMenu] = React43.useState(null);
3955
- const pendingFocus = React43.useRef(null);
3956
- const generatedId = React43.useId();
4159
+ const [mobileOpen, setMobileOpen] = React44.useState(false);
4160
+ const [openMenu, setOpenMenu] = React44.useState(null);
4161
+ const pendingFocus = React44.useRef(null);
4162
+ const generatedId = React44.useId();
3957
4163
  const menuId = `${generatedId}-menu`;
3958
4164
  const Link3 = linkComponent ?? "a";
3959
4165
  const destination = (href) => linkHrefProp === "to" ? { to: href } : { href };
3960
- React43.useEffect(() => {
4166
+ React44.useEffect(() => {
3961
4167
  if (!openMenu) return;
3962
4168
  const onKey = (event) => {
3963
4169
  if (event.key === "Escape") setOpenMenu(null);
@@ -3974,7 +4180,7 @@ function SiteHeader({
3974
4180
  document.removeEventListener("pointerdown", onPointer);
3975
4181
  };
3976
4182
  }, [openMenu]);
3977
- React43.useEffect(() => {
4183
+ React44.useEffect(() => {
3978
4184
  if (!openMenu || !pendingFocus.current) return;
3979
4185
  const panel = document.getElementById(pendingFocus.current);
3980
4186
  pendingFocus.current = null;
@@ -3982,7 +4188,7 @@ function SiteHeader({
3982
4188
  }, [openMenu]);
3983
4189
  const navLink = (item, extra) => {
3984
4190
  const active = isActive3(item.href, activeHref, match);
3985
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4191
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3986
4192
  Link3,
3987
4193
  {
3988
4194
  ...destination(item.href),
@@ -3996,17 +4202,17 @@ function SiteHeader({
3996
4202
  !extra && "text-sm hover:text-foreground",
3997
4203
  !extra && (active ? "font-medium text-foreground" : "text-muted-foreground")
3998
4204
  ),
3999
- children: extra === "panel" ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
4000
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "block text-sm font-medium", children: item.label }),
4001
- item.description && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: item.description })
4205
+ children: extra === "panel" ? /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, { children: [
4206
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "block text-sm font-medium", children: item.label }),
4207
+ item.description && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: item.description })
4002
4208
  ] }) : item.label
4003
4209
  },
4004
4210
  item.href
4005
4211
  );
4006
4212
  };
4007
4213
  const hasColumns = (item) => Array.isArray(item.columns) && item.columns.length > 0;
4008
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
4009
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4214
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, { children: [
4215
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4010
4216
  "header",
4011
4217
  {
4012
4218
  className: cn(
@@ -4015,7 +4221,7 @@ function SiteHeader({
4015
4221
  className
4016
4222
  ),
4017
4223
  ...props,
4018
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4224
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
4019
4225
  "nav",
4020
4226
  {
4021
4227
  "aria-label": navLabel,
@@ -4024,8 +4230,8 @@ function SiteHeader({
4024
4230
  navClassName
4025
4231
  ),
4026
4232
  children: [
4027
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex min-w-0 items-center gap-6", children: [
4028
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4233
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "flex min-w-0 items-center gap-6", children: [
4234
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4029
4235
  Link3,
4030
4236
  {
4031
4237
  ...destination("/"),
@@ -4034,7 +4240,7 @@ function SiteHeader({
4034
4240
  children: brand
4035
4241
  }
4036
4242
  ),
4037
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4243
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4038
4244
  "ul",
4039
4245
  {
4040
4246
  className: cn(
@@ -4043,11 +4249,11 @@ function SiteHeader({
4043
4249
  ),
4044
4250
  children: items.map((item) => {
4045
4251
  if (!hasColumns(item)) {
4046
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("li", { children: navLink(item) }, item.href);
4252
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("li", { children: navLink(item) }, item.href);
4047
4253
  }
4048
4254
  const panelId = `${generatedId}-panel-${item.label.replace(/\s+/g, "-").toLowerCase()}`;
4049
4255
  const open = openMenu === item.label;
4050
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4256
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
4051
4257
  "li",
4052
4258
  {
4053
4259
  "data-site-nav-item": true,
@@ -4061,7 +4267,7 @@ function SiteHeader({
4061
4267
  }
4062
4268
  },
4063
4269
  children: [
4064
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4270
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
4065
4271
  "button",
4066
4272
  {
4067
4273
  type: "button",
@@ -4085,11 +4291,11 @@ function SiteHeader({
4085
4291
  ),
4086
4292
  children: [
4087
4293
  item.label,
4088
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Caret, {})
4294
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Caret, {})
4089
4295
  ]
4090
4296
  }
4091
4297
  ),
4092
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4298
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4093
4299
  "div",
4094
4300
  {
4095
4301
  id: panelId,
@@ -4099,9 +4305,9 @@ function SiteHeader({
4099
4305
  item.columns.length > 1 ? "grid-cols-2" : "grid-cols-1",
4100
4306
  "min-w-[22rem]"
4101
4307
  ),
4102
- children: item.columns.map((column, index) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "min-w-40", children: [
4103
- column.heading && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: "mb-2 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: column.heading }),
4104
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("ul", { className: "flex flex-col gap-0.5", children: column.items.map((link) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("li", { children: navLink(link, "panel") }, `${column.heading ?? index}-${link.href}-${link.label}`)) })
4308
+ children: item.columns.map((column, index) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "min-w-40", children: [
4309
+ column.heading && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { className: "mb-2 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: column.heading }),
4310
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("ul", { className: "flex flex-col gap-0.5", children: column.items.map((link) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("li", { children: navLink(link, "panel") }, `${column.heading ?? index}-${link.href}-${link.label}`)) })
4105
4311
  ] }, column.heading ?? index))
4106
4312
  }
4107
4313
  )
@@ -4113,9 +4319,9 @@ function SiteHeader({
4113
4319
  }
4114
4320
  )
4115
4321
  ] }),
4116
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex items-center gap-2", children: [
4322
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "flex items-center gap-2", children: [
4117
4323
  actions,
4118
- showMobileTrigger && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4324
+ showMobileTrigger && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4119
4325
  "button",
4120
4326
  {
4121
4327
  type: "button",
@@ -4128,7 +4334,7 @@ function SiteHeader({
4128
4334
  "rounded-md border border-border p-2 text-muted-foreground hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
4129
4335
  desktopBreakpoint === "lg" ? "lg:hidden" : "md:hidden"
4130
4336
  ),
4131
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4337
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4132
4338
  "svg",
4133
4339
  {
4134
4340
  "aria-hidden": "true",
@@ -4138,7 +4344,7 @@ function SiteHeader({
4138
4344
  stroke: "currentColor",
4139
4345
  strokeWidth: "2",
4140
4346
  strokeLinecap: "round",
4141
- children: mobileOpen ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("path", { d: "M6 6l12 12M18 6L6 18" }) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("path", { d: "M4 7h16M4 12h16M4 17h16" })
4347
+ children: mobileOpen ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", { d: "M6 6l12 12M18 6L6 18" }) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", { d: "M4 7h16M4 12h16M4 17h16" })
4142
4348
  }
4143
4349
  )
4144
4350
  }
@@ -4149,7 +4355,7 @@ function SiteHeader({
4149
4355
  )
4150
4356
  }
4151
4357
  ),
4152
- showMobileTrigger && /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4358
+ showMobileTrigger && /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
4153
4359
  Drawer,
4154
4360
  {
4155
4361
  open: mobileOpen,
@@ -4160,16 +4366,16 @@ function SiteHeader({
4160
4366
  size: "sm",
4161
4367
  animate: true,
4162
4368
  children: [
4163
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("nav", { id: menuId, "aria-label": mobileNavLabel, className: "flex flex-col gap-1", children: items.map(
4164
- (item) => hasColumns(item) ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("details", { className: "rounded-md", children: [
4165
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("summary", { className: "cursor-pointer rounded-md px-3 py-2 text-base font-medium hover:bg-accent", children: item.label }),
4166
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "mt-1 flex flex-col gap-2 pb-2", children: item.columns.map((column, index) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "px-3", children: [
4167
- column.heading && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: "mb-1 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: column.heading }),
4168
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("ul", { className: "flex flex-col gap-1", children: column.items.map((link) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("li", { children: navLink(link, "mobile") }, `${column.heading ?? index}-${link.href}-${link.label}`)) })
4369
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("nav", { id: menuId, "aria-label": mobileNavLabel, className: "flex flex-col gap-1", children: items.map(
4370
+ (item) => hasColumns(item) ? /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("details", { className: "rounded-md", children: [
4371
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("summary", { className: "cursor-pointer rounded-md px-3 py-2 text-base font-medium hover:bg-accent", children: item.label }),
4372
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "mt-1 flex flex-col gap-2 pb-2", children: item.columns.map((column, index) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "px-3", children: [
4373
+ column.heading && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { className: "mb-1 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: column.heading }),
4374
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("ul", { className: "flex flex-col gap-1", children: column.items.map((link) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("li", { children: navLink(link, "mobile") }, `${column.heading ?? index}-${link.href}-${link.label}`)) })
4169
4375
  ] }, column.heading ?? index)) })
4170
4376
  ] }, item.label) : navLink(item, "mobile")
4171
4377
  ) }),
4172
- (mobileActions ?? actions) && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "mt-4 border-t border-border pt-4", children: mobileActions ?? actions })
4378
+ (mobileActions ?? actions) && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "mt-4 border-t border-border pt-4", children: mobileActions ?? actions })
4173
4379
  ]
4174
4380
  }
4175
4381
  )
@@ -4177,15 +4383,15 @@ function SiteHeader({
4177
4383
  }
4178
4384
 
4179
4385
  // src/components/accordion/Accordion.tsx
4180
- var React44 = __toESM(require("react"));
4181
- var import_jsx_runtime44 = require("react/jsx-runtime");
4182
- var AccordionContext = React44.createContext({
4386
+ var React45 = __toESM(require("react"));
4387
+ var import_jsx_runtime45 = require("react/jsx-runtime");
4388
+ var AccordionContext = React45.createContext({
4183
4389
  openItems: /* @__PURE__ */ new Set(),
4184
4390
  toggle: () => {
4185
4391
  },
4186
4392
  collapsible: true
4187
4393
  });
4188
- var Accordion = React44.forwardRef(
4394
+ var Accordion = React45.forwardRef(
4189
4395
  ({
4190
4396
  value,
4191
4397
  defaultValue = [],
@@ -4198,9 +4404,9 @@ var Accordion = React44.forwardRef(
4198
4404
  style,
4199
4405
  children
4200
4406
  }, ref) => {
4201
- const [internalOpen, setInternalOpen] = React44.useState(defaultValue);
4407
+ const [internalOpen, setInternalOpen] = React45.useState(defaultValue);
4202
4408
  const current = value ?? internalOpen;
4203
- const toggle = React44.useCallback(
4409
+ const toggle = React45.useCallback(
4204
4410
  (id) => {
4205
4411
  const next = current.includes(id) ? current.filter((item) => item !== id) : collapsible ? [id] : [...current, id];
4206
4412
  if (value === void 0) setInternalOpen(next);
@@ -4209,7 +4415,7 @@ var Accordion = React44.forwardRef(
4209
4415
  [current, collapsible, value, onValueChange]
4210
4416
  );
4211
4417
  const gapResolved = resolveGap(gap);
4212
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4418
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4213
4419
  "div",
4214
4420
  {
4215
4421
  ref,
@@ -4222,28 +4428,28 @@ var Accordion = React44.forwardRef(
4222
4428
  className
4223
4429
  ),
4224
4430
  style: { ...gapResolved.style, ...style },
4225
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(AccordionContext.Provider, { value: { openItems: new Set(current), toggle, collapsible }, children: items ? items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(AccordionItem, { id: item.id, children: [
4226
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(AccordionTrigger, { disabled: item.disabled, children: item.title }),
4227
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(AccordionContent, { children: item.content })
4431
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(AccordionContext.Provider, { value: { openItems: new Set(current), toggle, collapsible }, children: items ? items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(AccordionItem, { id: item.id, children: [
4432
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(AccordionTrigger, { disabled: item.disabled, children: item.title }),
4433
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(AccordionContent, { children: item.content })
4228
4434
  ] }, item.id)) : children })
4229
4435
  }
4230
4436
  );
4231
4437
  }
4232
4438
  );
4233
4439
  Accordion.displayName = "Accordion";
4234
- var AccordionItem = React44.forwardRef(
4235
- ({ id, className, children }, ref) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { ref, "data-accordion-item": id, className, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(AccordionItemContext.Provider, { value: { id }, children }) })
4440
+ var AccordionItem = React45.forwardRef(
4441
+ ({ id, className, children }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { ref, "data-accordion-item": id, className, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(AccordionItemContext.Provider, { value: { id }, children }) })
4236
4442
  );
4237
4443
  AccordionItem.displayName = "AccordionItem";
4238
- var AccordionItemContext = React44.createContext({ id: "" });
4239
- var AccordionTrigger = React44.forwardRef(
4444
+ var AccordionItemContext = React45.createContext({ id: "" });
4445
+ var AccordionTrigger = React45.forwardRef(
4240
4446
  ({ className, children, icon, ...props }, ref) => {
4241
- const { id } = React44.useContext(AccordionItemContext);
4242
- const { openItems, toggle } = React44.useContext(AccordionContext);
4447
+ const { id } = React45.useContext(AccordionItemContext);
4448
+ const { openItems, toggle } = React45.useContext(AccordionContext);
4243
4449
  const open = openItems.has(id);
4244
4450
  const panelId = `${id}-panel`;
4245
4451
  const triggerId = `${id}-trigger`;
4246
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
4452
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
4247
4453
  "button",
4248
4454
  {
4249
4455
  ref,
@@ -4262,7 +4468,7 @@ var AccordionTrigger = React44.forwardRef(
4262
4468
  ...props,
4263
4469
  children: [
4264
4470
  children,
4265
- icon ?? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4471
+ icon ?? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4266
4472
  "svg",
4267
4473
  {
4268
4474
  "aria-hidden": "true",
@@ -4272,7 +4478,7 @@ var AccordionTrigger = React44.forwardRef(
4272
4478
  strokeWidth: "2",
4273
4479
  strokeLinecap: "round",
4274
4480
  className: cn("h-4 w-4 shrink-0 transition-transform duration-200", open && "rotate-180"),
4275
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("polyline", { points: "6 9 12 15 18 9" })
4481
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("polyline", { points: "6 9 12 15 18 9" })
4276
4482
  }
4277
4483
  )
4278
4484
  ]
@@ -4281,14 +4487,14 @@ var AccordionTrigger = React44.forwardRef(
4281
4487
  }
4282
4488
  );
4283
4489
  AccordionTrigger.displayName = "AccordionTrigger";
4284
- var AccordionContent = React44.forwardRef(
4490
+ var AccordionContent = React45.forwardRef(
4285
4491
  ({ className, children, ...props }, ref) => {
4286
- const { id } = React44.useContext(AccordionItemContext);
4287
- const { openItems } = React44.useContext(AccordionContext);
4492
+ const { id } = React45.useContext(AccordionItemContext);
4493
+ const { openItems } = React45.useContext(AccordionContext);
4288
4494
  const open = openItems.has(id);
4289
- const [mounted, setMounted] = React44.useState(open);
4290
- const [expanded, setExpanded] = React44.useState(open);
4291
- React44.useEffect(() => {
4495
+ const [mounted, setMounted] = React45.useState(open);
4496
+ const [expanded, setExpanded] = React45.useState(open);
4497
+ React45.useEffect(() => {
4292
4498
  const reduce = typeof window.matchMedia === "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
4293
4499
  if (open) {
4294
4500
  setMounted(true);
@@ -4313,7 +4519,7 @@ var AccordionContent = React44.forwardRef(
4313
4519
  const timer = setTimeout(() => setMounted(false), 320);
4314
4520
  return () => clearTimeout(timer);
4315
4521
  }, [open]);
4316
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4522
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4317
4523
  "div",
4318
4524
  {
4319
4525
  ref,
@@ -4332,7 +4538,7 @@ var AccordionContent = React44.forwardRef(
4332
4538
  className
4333
4539
  ),
4334
4540
  ...props,
4335
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "px-4 pb-3 text-sm text-muted-foreground", children }) })
4541
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "px-4 pb-3 text-sm text-muted-foreground", children }) })
4336
4542
  }
4337
4543
  );
4338
4544
  }
@@ -4340,10 +4546,10 @@ var AccordionContent = React44.forwardRef(
4340
4546
  AccordionContent.displayName = "AccordionContent";
4341
4547
 
4342
4548
  // src/components/table/Table.tsx
4343
- var React45 = __toESM(require("react"));
4344
- var import_jsx_runtime45 = require("react/jsx-runtime");
4345
- var Table = React45.forwardRef(
4346
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4549
+ var React46 = __toESM(require("react"));
4550
+ var import_jsx_runtime46 = require("react/jsx-runtime");
4551
+ var Table = React46.forwardRef(
4552
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4347
4553
  "table",
4348
4554
  {
4349
4555
  ref,
@@ -4353,16 +4559,16 @@ var Table = React45.forwardRef(
4353
4559
  ) })
4354
4560
  );
4355
4561
  Table.displayName = "Table";
4356
- var TableHeader = React45.forwardRef(
4357
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("thead", { ref, className: cn("[&_tr]:border-b", className), ...props })
4562
+ var TableHeader = React46.forwardRef(
4563
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("thead", { ref, className: cn("[&_tr]:border-b", className), ...props })
4358
4564
  );
4359
4565
  TableHeader.displayName = "TableHeader";
4360
- var TableBody = React45.forwardRef(
4361
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("tbody", { ref, className: cn("[&_tr:last-child]:border-0", className), ...props })
4566
+ var TableBody = React46.forwardRef(
4567
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("tbody", { ref, className: cn("[&_tr:last-child]:border-0", className), ...props })
4362
4568
  );
4363
4569
  TableBody.displayName = "TableBody";
4364
- var TableFooter = React45.forwardRef(
4365
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4570
+ var TableFooter = React46.forwardRef(
4571
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4366
4572
  "tfoot",
4367
4573
  {
4368
4574
  ref,
@@ -4372,8 +4578,8 @@ var TableFooter = React45.forwardRef(
4372
4578
  )
4373
4579
  );
4374
4580
  TableFooter.displayName = "TableFooter";
4375
- var TableRow = React45.forwardRef(
4376
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4581
+ var TableRow = React46.forwardRef(
4582
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4377
4583
  "tr",
4378
4584
  {
4379
4585
  ref,
@@ -4386,8 +4592,8 @@ var TableRow = React45.forwardRef(
4386
4592
  )
4387
4593
  );
4388
4594
  TableRow.displayName = "TableRow";
4389
- var TableHead = React45.forwardRef(
4390
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4595
+ var TableHead = React46.forwardRef(
4596
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4391
4597
  "th",
4392
4598
  {
4393
4599
  ref,
@@ -4401,27 +4607,27 @@ var TableHead = React45.forwardRef(
4401
4607
  )
4402
4608
  );
4403
4609
  TableHead.displayName = "TableHead";
4404
- var TableCell = React45.forwardRef(
4405
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("td", { ref, className: cn("px-3 py-2 align-middle", className), ...props })
4610
+ var TableCell = React46.forwardRef(
4611
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("td", { ref, className: cn("px-3 py-2 align-middle", className), ...props })
4406
4612
  );
4407
4613
  TableCell.displayName = "TableCell";
4408
- var TableCaption = React45.forwardRef(
4409
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("caption", { ref, className: cn("mt-3 text-xs text-muted-foreground", className), ...props })
4614
+ var TableCaption = React46.forwardRef(
4615
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("caption", { ref, className: cn("mt-3 text-xs text-muted-foreground", className), ...props })
4410
4616
  );
4411
4617
  TableCaption.displayName = "TableCaption";
4412
4618
 
4413
4619
  // src/components/data-table/DataTable.tsx
4414
- var React47 = __toESM(require("react"));
4620
+ var React48 = __toESM(require("react"));
4415
4621
 
4416
4622
  // src/components/pagination/Pagination.tsx
4417
- var React46 = __toESM(require("react"));
4418
- var import_jsx_runtime46 = require("react/jsx-runtime");
4623
+ var React47 = __toESM(require("react"));
4624
+ var import_jsx_runtime47 = require("react/jsx-runtime");
4419
4625
  var controlClass = "inline-flex h-8 items-center rounded-md border border-border px-2.5 text-sm transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50";
4420
4626
  var controlDisabledClass = "pointer-events-none opacity-50";
4421
4627
  var pageClass = "inline-flex h-8 w-8 items-center justify-center rounded-md border text-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";
4422
4628
  var pageActiveClass = "border-primary bg-primary text-primary-foreground font-medium";
4423
4629
  var pageIdleClass = "border-border hover:bg-muted";
4424
- var Pagination = React46.forwardRef(
4630
+ var Pagination = React47.forwardRef(
4425
4631
  ({
4426
4632
  page: pageProp,
4427
4633
  pageCount: pageCountProp,
@@ -4468,11 +4674,11 @@ var Pagination = React46.forwardRef(
4468
4674
  if (linkMode) {
4469
4675
  const href = hrefFor(target);
4470
4676
  if (disabled || href === void 0) {
4471
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { "aria-label": label, "aria-disabled": "true", className: cn(controlClass, controlDisabledClass), children: content });
4677
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { "aria-label": label, "aria-disabled": "true", className: cn(controlClass, controlDisabledClass), children: content });
4472
4678
  }
4473
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(LinkEl, { ...destination(href), "aria-label": label, className: controlClass, children: content });
4679
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(LinkEl, { ...destination(href), "aria-label": label, className: controlClass, children: content });
4474
4680
  }
4475
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4681
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4476
4682
  "button",
4477
4683
  {
4478
4684
  type: "button",
@@ -4491,11 +4697,11 @@ var Pagination = React46.forwardRef(
4491
4697
  if (linkMode) {
4492
4698
  const href = hrefFor(entry);
4493
4699
  if (isCurrent || href === void 0) {
4494
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { "aria-current": "page", "aria-label": label, className: classes, children: entry }, entry);
4700
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { "aria-current": "page", "aria-label": label, className: classes, children: entry }, entry);
4495
4701
  }
4496
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(LinkEl, { ...destination(href), "aria-label": label, className: classes, children: entry }, entry);
4702
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(LinkEl, { ...destination(href), "aria-label": label, className: classes, children: entry }, entry);
4497
4703
  }
4498
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4704
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4499
4705
  "button",
4500
4706
  {
4501
4707
  type: "button",
@@ -4508,7 +4714,7 @@ var Pagination = React46.forwardRef(
4508
4714
  entry
4509
4715
  );
4510
4716
  };
4511
- const nav = /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4717
+ const nav = /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
4512
4718
  "nav",
4513
4719
  {
4514
4720
  ref,
@@ -4519,7 +4725,7 @@ var Pagination = React46.forwardRef(
4519
4725
  withFirst && step(1, labels?.first ?? "First page", icons?.first ?? "\xAB", page <= 1),
4520
4726
  step(page - 1, labels?.previous ?? "Previous page", icons?.previous ?? "<", page <= 1),
4521
4727
  pages.map(
4522
- (entry, index) => entry === "ellipsis" ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4728
+ (entry, index) => entry === "ellipsis" ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4523
4729
  "span",
4524
4730
  {
4525
4731
  "aria-hidden": "true",
@@ -4535,8 +4741,8 @@ var Pagination = React46.forwardRef(
4535
4741
  }
4536
4742
  );
4537
4743
  if (!summaryEnabled) return nav;
4538
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: cn("flex flex-wrap items-center justify-between gap-3", className), children: [
4539
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("p", { className: "text-sm text-muted-foreground", children: rangeStart !== void 0 && rangeEnd !== void 0 && total !== void 0 ? `Showing ${rangeStart}\u2013${rangeEnd} of ${total} ${itemLabel}` : `Page ${page} of ${pageCount}` }),
4744
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: cn("flex flex-wrap items-center justify-between gap-3", className), children: [
4745
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-sm text-muted-foreground", children: rangeStart !== void 0 && rangeEnd !== void 0 && total !== void 0 ? `Showing ${rangeStart}\u2013${rangeEnd} of ${total} ${itemLabel}` : `Page ${page} of ${pageCount}` }),
4540
4746
  nav
4541
4747
  ] });
4542
4748
  }
@@ -4544,7 +4750,7 @@ var Pagination = React46.forwardRef(
4544
4750
  Pagination.displayName = "Pagination";
4545
4751
 
4546
4752
  // src/components/data-table/DataTable.tsx
4547
- var import_jsx_runtime47 = require("react/jsx-runtime");
4753
+ var import_jsx_runtime48 = require("react/jsx-runtime");
4548
4754
  var cardBreakpointClasses = {
4549
4755
  sm: { table: "max-sm:hidden", cards: "sm:hidden" },
4550
4756
  md: { table: "max-md:hidden", cards: "md:hidden" },
@@ -4591,9 +4797,9 @@ function DataTable({
4591
4797
  loadingRows,
4592
4798
  className
4593
4799
  }) {
4594
- const [internalSort, setInternalSort] = React47.useState(defaultSort);
4595
- const [internalPage, setInternalPage] = React47.useState(1);
4596
- const sort = React47.useMemo(() => {
4800
+ const [internalSort, setInternalSort] = React48.useState(defaultSort);
4801
+ const [internalPage, setInternalPage] = React48.useState(1);
4802
+ const sort = React48.useMemo(() => {
4597
4803
  if (sortKey !== void 0) {
4598
4804
  return sortKey === null ? null : { key: sortKey, dir: sortDir ?? "asc" };
4599
4805
  }
@@ -4610,7 +4816,7 @@ function DataTable({
4610
4816
  if (page === void 0) setInternalPage(next);
4611
4817
  onPageChange?.(next);
4612
4818
  };
4613
- const sorted = React47.useMemo(() => {
4819
+ const sorted = React48.useMemo(() => {
4614
4820
  if (!sort) return data;
4615
4821
  const column = columns.find((c) => c.key === sort.key);
4616
4822
  if (!column) return data;
@@ -4630,10 +4836,10 @@ function DataTable({
4630
4836
  const pageCount = pageCountProp ?? computedPageCount;
4631
4837
  const safePage = Math.min(currentPage, pageCount || 1);
4632
4838
  const visible = manualPagination ? data : pageSize ? sorted.slice((safePage - 1) * pageSize, safePage * pageSize) : sorted;
4633
- const [internalSelected, setInternalSelected] = React47.useState([]);
4839
+ const [internalSelected, setInternalSelected] = React48.useState([]);
4634
4840
  const selectionEnabled = selectedRowIds !== void 0 || onSelectedRowIdsChange !== void 0;
4635
4841
  const selectedIds = selectedRowIds ?? internalSelected;
4636
- const selectedSet = React47.useMemo(() => new Set(selectedIds), [selectedIds]);
4842
+ const selectedSet = React48.useMemo(() => new Set(selectedIds), [selectedIds]);
4637
4843
  const selectableVisible = isRowSelectable ? visible.filter(isRowSelectable) : visible;
4638
4844
  const allSelected = selectableVisible.length > 0 && selectableVisible.every((row) => selectedSet.has(rowId(row)));
4639
4845
  const someSelected = selectableVisible.some((row) => selectedSet.has(rowId(row)));
@@ -4666,7 +4872,7 @@ function DataTable({
4666
4872
  const cardCell = (row, column, index) => {
4667
4873
  const value = cellValue(row, column, index);
4668
4874
  if (column.onClick) {
4669
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4875
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4670
4876
  "button",
4671
4877
  {
4672
4878
  type: "button",
@@ -4678,23 +4884,23 @@ function DataTable({
4678
4884
  }
4679
4885
  return value;
4680
4886
  };
4681
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: cn("w-full space-y-3", className), children: [
4682
- selectionEnabled && selectedIds.length > 0 && bulkActions && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-wrap items-center justify-between gap-2 rounded-lg border border-border bg-muted/40 px-3 py-2 text-sm", children: [
4683
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "font-medium", children: selectedLabel.replace("{count}", String(selectedIds.length)) }),
4684
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex flex-wrap items-center gap-2", children: bulkActions })
4887
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: cn("w-full space-y-3", className), children: [
4888
+ selectionEnabled && selectedIds.length > 0 && bulkActions && /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-wrap items-center justify-between gap-2 rounded-lg border border-border bg-muted/40 px-3 py-2 text-sm", children: [
4889
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "font-medium", children: selectedLabel.replace("{count}", String(selectedIds.length)) }),
4890
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex flex-wrap items-center gap-2", children: bulkActions })
4685
4891
  ] }),
4686
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4892
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4687
4893
  "div",
4688
4894
  {
4689
4895
  className: cn("w-full overflow-x-auto rounded-lg border border-border", cardClasses?.table),
4690
- children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
4896
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
4691
4897
  "table",
4692
4898
  {
4693
4899
  className: cn("w-full caption-bottom", density === "compact" ? "text-xs" : "text-sm"),
4694
4900
  children: [
4695
- caption && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("caption", { className: "px-3 py-2 text-left text-xs text-muted-foreground", children: caption }),
4696
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("thead", { className: cn("bg-muted/50", stickyHeader && "sticky top-0 z-10 bg-background"), children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("tr", { children: [
4697
- selectionEnabled && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("th", { scope: "col", className: "w-10 border-b border-border px-3 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4901
+ caption && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("caption", { className: "px-3 py-2 text-left text-xs text-muted-foreground", children: caption }),
4902
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("thead", { className: cn("bg-muted/50", stickyHeader && "sticky top-0 z-10 bg-background"), children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("tr", { children: [
4903
+ selectionEnabled && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("th", { scope: "col", className: "w-10 border-b border-border px-3 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4698
4904
  Checkbox,
4699
4905
  {
4700
4906
  "aria-label": selectAllLabel,
@@ -4708,7 +4914,7 @@ function DataTable({
4708
4914
  columns.map((column) => {
4709
4915
  const isSorted = sort?.key === column.key;
4710
4916
  const ariaSort = !column.sortable ? void 0 : isSorted ? sort.dir === "asc" ? "ascending" : "descending" : "none";
4711
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4917
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4712
4918
  "th",
4713
4919
  {
4714
4920
  scope: "col",
@@ -4718,7 +4924,7 @@ function DataTable({
4718
4924
  alignClass(column.align),
4719
4925
  column.className
4720
4926
  ),
4721
- children: column.sortable ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
4927
+ children: column.sortable ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
4722
4928
  "button",
4723
4929
  {
4724
4930
  type: "button",
@@ -4726,7 +4932,7 @@ function DataTable({
4726
4932
  className: "inline-flex items-center gap-1 rounded px-1 py-0.5 transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
4727
4933
  children: [
4728
4934
  column.header,
4729
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { "aria-hidden": "true", className: "text-[10px] text-muted-foreground", children: renderSortIcon ? renderSortIcon(isSorted ? sort.dir === "asc" ? "asc" : "desc" : "none") : isSorted ? sort.dir === "asc" ? "\u25B2" : "\u25BC" : "\u2195" })
4935
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { "aria-hidden": "true", className: "text-[10px] text-muted-foreground", children: renderSortIcon ? renderSortIcon(isSorted ? sort.dir === "asc" ? "asc" : "desc" : "none") : isSorted ? sort.dir === "asc" ? "\u25B2" : "\u25BC" : "\u2195" })
4730
4936
  ]
4731
4937
  }
4732
4938
  ) : column.header
@@ -4735,20 +4941,20 @@ function DataTable({
4735
4941
  );
4736
4942
  })
4737
4943
  ] }) }),
4738
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("tbody", { "aria-busy": loading || void 0, children: loading ? Array.from(
4944
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("tbody", { "aria-busy": loading || void 0, children: loading ? Array.from(
4739
4945
  { length: (loadingRows ?? pageSize ?? Math.min(visible.length, 5)) || 5 },
4740
- (_, skeletonRow) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("tr", { children: [
4741
- selectionEnabled && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("td", { className: cn("px-3 py-2", density === "compact" && "px-2 py-1"), children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Skeleton, { className: "h-4 w-4" }) }),
4742
- columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("td", { className: cn("px-3 py-2", density === "compact" && "px-2 py-1"), children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Skeleton, { className: density === "compact" ? "h-3 w-full" : "h-4 w-full" }) }, column.key))
4946
+ (_, skeletonRow) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("tr", { children: [
4947
+ selectionEnabled && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("td", { className: cn("px-3 py-2", density === "compact" && "px-2 py-1"), children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Skeleton, { className: "h-4 w-4" }) }),
4948
+ columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("td", { className: cn("px-3 py-2", density === "compact" && "px-2 py-1"), children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Skeleton, { className: density === "compact" ? "h-3 w-full" : "h-4 w-full" }) }, column.key))
4743
4949
  ] }, `skeleton-${skeletonRow}`)
4744
- ) : visible.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("tr", { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4950
+ ) : visible.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("tr", { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4745
4951
  "td",
4746
4952
  {
4747
4953
  colSpan: columns.length + (selectionEnabled ? 1 : 0),
4748
4954
  className: "px-3 py-8 text-center text-sm text-muted-foreground",
4749
4955
  children: emptyMessage
4750
4956
  }
4751
- ) }) : visible.map((row, index) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
4957
+ ) }) : visible.map((row, index) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
4752
4958
  "tr",
4753
4959
  {
4754
4960
  tabIndex: onRowClick ? 0 : void 0,
@@ -4765,12 +4971,12 @@ function DataTable({
4765
4971
  onRowClick && "cursor-pointer transition-colors hover:bg-muted/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring"
4766
4972
  ),
4767
4973
  children: [
4768
- selectionEnabled && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4974
+ selectionEnabled && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4769
4975
  "td",
4770
4976
  {
4771
4977
  className: cn("align-middle", density === "compact" ? "px-2 py-1" : "px-3 py-2"),
4772
4978
  onClick: (event) => event.stopPropagation(),
4773
- children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4979
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4774
4980
  Checkbox,
4775
4981
  {
4776
4982
  "aria-label": `Select row ${rowId(row)}`,
@@ -4781,7 +4987,7 @@ function DataTable({
4781
4987
  )
4782
4988
  }
4783
4989
  ),
4784
- columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4990
+ columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4785
4991
  "td",
4786
4992
  {
4787
4993
  className: cn(
@@ -4790,7 +4996,7 @@ function DataTable({
4790
4996
  alignClass(column.align),
4791
4997
  column.className
4792
4998
  ),
4793
- children: column.onClick ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4999
+ children: column.onClick ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4794
5000
  "button",
4795
5001
  {
4796
5002
  type: "button",
@@ -4811,14 +5017,14 @@ function DataTable({
4811
5017
  )
4812
5018
  }
4813
5019
  ),
4814
- cardClasses && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("ul", { "aria-label": caption, "aria-busy": loading || void 0, className: cn("space-y-3", cardClasses.cards), children: loading ? Array.from(
5020
+ cardClasses && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("ul", { "aria-label": caption, "aria-busy": loading || void 0, className: cn("space-y-3", cardClasses.cards), children: loading ? Array.from(
4815
5021
  { length: (loadingRows ?? pageSize ?? Math.min(visible.length, 5)) || 5 },
4816
- (_, skeletonRow) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("li", { className: "rounded-lg border border-border p-3", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "space-y-2", children: [
4817
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Skeleton, { className: "h-4 w-1/3" }),
4818
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Skeleton, { className: "h-4 w-full" }),
4819
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Skeleton, { className: "h-4 w-2/3" })
5022
+ (_, skeletonRow) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("li", { className: "rounded-lg border border-border p-3", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "space-y-2", children: [
5023
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Skeleton, { className: "h-4 w-1/3" }),
5024
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Skeleton, { className: "h-4 w-full" }),
5025
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Skeleton, { className: "h-4 w-2/3" })
4820
5026
  ] }) }, `skeleton-${skeletonRow}`)
4821
- ) : visible.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("li", { className: "rounded-lg border border-border px-3 py-8 text-center text-sm text-muted-foreground", children: emptyMessage }) : visible.map((row, index) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
5027
+ ) : visible.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("li", { className: "rounded-lg border border-border px-3 py-8 text-center text-sm text-muted-foreground", children: emptyMessage }) : visible.map((row, index) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
4822
5028
  "div",
4823
5029
  {
4824
5030
  tabIndex: onRowClick ? 0 : void 0,
@@ -4834,12 +5040,12 @@ function DataTable({
4834
5040
  onRowClick && "cursor-pointer transition-colors hover:bg-muted/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
4835
5041
  ),
4836
5042
  children: [
4837
- selectionEnabled && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5043
+ selectionEnabled && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4838
5044
  "div",
4839
5045
  {
4840
5046
  className: "flex items-center justify-end px-3 pt-2",
4841
5047
  onClick: (event) => event.stopPropagation(),
4842
- children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5048
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4843
5049
  Checkbox,
4844
5050
  {
4845
5051
  "aria-label": `Select row ${rowId(row)}`,
@@ -4850,15 +5056,15 @@ function DataTable({
4850
5056
  )
4851
5057
  }
4852
5058
  ),
4853
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("dl", { className: "divide-y divide-border", children: columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "px-3 py-2", children: [
4854
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("dt", { className: "text-xs font-medium text-muted-foreground", children: column.header }),
4855
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("dd", { className: cn("mt-0.5 text-sm", alignClass(column.align)), children: cardCell(row, column, index) })
5059
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("dl", { className: "divide-y divide-border", children: columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "px-3 py-2", children: [
5060
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("dt", { className: "text-xs font-medium text-muted-foreground", children: column.header }),
5061
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("dd", { className: cn("mt-0.5 text-sm", alignClass(column.align)), children: cardCell(row, column, index) })
4856
5062
  ] }, column.key)) })
4857
5063
  ]
4858
5064
  }
4859
5065
  ) }, rowId(row))) }),
4860
- pageSize && pageCount > 1 && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-wrap items-center justify-between gap-x-4 gap-y-2", children: [
4861
- /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
5066
+ pageSize && pageCount > 1 && /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-wrap items-center justify-between gap-x-4 gap-y-2", children: [
5067
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
4862
5068
  "p",
4863
5069
  {
4864
5070
  className: "min-h-8 leading-none text-xs text-muted-foreground",
@@ -4873,17 +5079,17 @@ function DataTable({
4873
5079
  ]
4874
5080
  }
4875
5081
  ),
4876
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Pagination, { page: safePage, pageCount, onPageChange: setPage })
5082
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Pagination, { page: safePage, pageCount, onPageChange: setPage })
4877
5083
  ] })
4878
5084
  ] });
4879
5085
  }
4880
5086
 
4881
5087
  // src/components/list/List.tsx
4882
- var React48 = __toESM(require("react"));
4883
- var import_jsx_runtime48 = require("react/jsx-runtime");
4884
- var ListDensityContext = React48.createContext("default");
4885
- var List = React48.forwardRef(
4886
- ({ divided, bordered, size = "default", className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ListDensityContext.Provider, { value: size, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5088
+ var React49 = __toESM(require("react"));
5089
+ var import_jsx_runtime49 = require("react/jsx-runtime");
5090
+ var ListDensityContext = React49.createContext("default");
5091
+ var List = React49.forwardRef(
5092
+ ({ divided, bordered, size = "default", className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ListDensityContext.Provider, { value: size, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
4887
5093
  "ul",
4888
5094
  {
4889
5095
  ref,
@@ -4898,9 +5104,9 @@ var List = React48.forwardRef(
4898
5104
  ) })
4899
5105
  );
4900
5106
  List.displayName = "List";
4901
- var ListItem = React48.forwardRef(
5107
+ var ListItem = React49.forwardRef(
4902
5108
  ({ leading, trailing, selected, onClick, description, disabled, className, children, ...props }, ref) => {
4903
- const density = React48.useContext(ListDensityContext);
5109
+ const density = React49.useContext(ListDensityContext);
4904
5110
  const padding = density === "compact" ? "px-3 py-1.5" : "px-3 py-2.5";
4905
5111
  const rowClass = cn(
4906
5112
  "flex w-full items-center gap-3 text-left text-sm",
@@ -4909,24 +5115,24 @@ var ListItem = React48.forwardRef(
4909
5115
  disabled && "opacity-50",
4910
5116
  className
4911
5117
  );
4912
- const body = /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
4913
- leading && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "flex shrink-0 items-center", children: leading }),
4914
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("span", { className: "min-w-0 flex-1", children: [
4915
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "block truncate", children }),
4916
- description && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: description })
5118
+ const body = /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
5119
+ leading && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "flex shrink-0 items-center", children: leading }),
5120
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("span", { className: "min-w-0 flex-1", children: [
5121
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "block truncate", children }),
5122
+ description && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: description })
4917
5123
  ] }),
4918
- trailing && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "flex shrink-0 items-center text-xs text-muted-foreground", children: trailing })
5124
+ trailing && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "flex shrink-0 items-center text-xs text-muted-foreground", children: trailing })
4919
5125
  ] });
4920
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("li", { ref, ...props, children: onClick ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("button", { type: "button", onClick, disabled, className: cn(padding, rowClass), children: body }) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: cn(padding, rowClass), children: body }) });
5126
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("li", { ref, ...props, children: onClick ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("button", { type: "button", onClick, disabled, className: cn(padding, rowClass), children: body }) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: cn(padding, rowClass), children: body }) });
4921
5127
  }
4922
5128
  );
4923
5129
  ListItem.displayName = "ListItem";
4924
5130
 
4925
5131
  // src/components/link/Link.tsx
4926
- var React49 = __toESM(require("react"));
5132
+ var React50 = __toESM(require("react"));
4927
5133
  var import_react_slot4 = require("@radix-ui/react-slot");
4928
5134
  var import_class_variance_authority7 = require("class-variance-authority");
4929
- var import_jsx_runtime49 = require("react/jsx-runtime");
5135
+ var import_jsx_runtime50 = require("react/jsx-runtime");
4930
5136
  var linkVariants = (0, import_class_variance_authority7.cva)("inline-flex items-center gap-1 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background rounded-sm", {
4931
5137
  variants: {
4932
5138
  variant: {
@@ -4940,12 +5146,12 @@ var linkVariants = (0, import_class_variance_authority7.cva)("inline-flex items-
4940
5146
  defaultVariants: { variant: "default" }
4941
5147
  });
4942
5148
  var ABSOLUTE = /^https?:\/\//i;
4943
- var Link = React49.forwardRef(function Link2({ className, variant, asChild = false, external, target, rel, children, ...props }, ref) {
5149
+ var Link = React50.forwardRef(function Link2({ className, variant, asChild = false, external, target, rel, children, ...props }, ref) {
4944
5150
  const isAbsolute = typeof props.href === "string" && ABSOLUTE.test(props.href);
4945
5151
  const isExternal = external ?? isAbsolute;
4946
5152
  const Comp = asChild ? import_react_slot4.Slot : "a";
4947
5153
  if (asChild) {
4948
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5154
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4949
5155
  Comp,
4950
5156
  {
4951
5157
  ref,
@@ -4957,7 +5163,7 @@ var Link = React49.forwardRef(function Link2({ className, variant, asChild = fal
4957
5163
  }
4958
5164
  );
4959
5165
  }
4960
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
5166
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
4961
5167
  Comp,
4962
5168
  {
4963
5169
  ref,
@@ -4967,9 +5173,9 @@ var Link = React49.forwardRef(function Link2({ className, variant, asChild = fal
4967
5173
  ...props,
4968
5174
  children: [
4969
5175
  children,
4970
- isExternal && variant !== "muted" && /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
4971
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { "aria-hidden": "true", className: "text-[0.75em]", children: "\u2197" }),
4972
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "sr-only", children: "(opens in a new tab)" })
5176
+ isExternal && variant !== "muted" && /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_jsx_runtime50.Fragment, { children: [
5177
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { "aria-hidden": "true", className: "text-[0.75em]", children: "\u2197" }),
5178
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "sr-only", children: "(opens in a new tab)" })
4973
5179
  ] })
4974
5180
  ]
4975
5181
  }
@@ -4977,8 +5183,8 @@ var Link = React49.forwardRef(function Link2({ className, variant, asChild = fal
4977
5183
  });
4978
5184
 
4979
5185
  // src/components/image/Image.tsx
4980
- var React50 = __toESM(require("react"));
4981
- var import_jsx_runtime50 = require("react/jsx-runtime");
5186
+ var React51 = __toESM(require("react"));
5187
+ var import_jsx_runtime51 = require("react/jsx-runtime");
4982
5188
  function Image2({
4983
5189
  src,
4984
5190
  alt,
@@ -4992,16 +5198,16 @@ function Image2({
4992
5198
  sizes,
4993
5199
  style
4994
5200
  }) {
4995
- const [stage, setStage] = React50.useState(0);
4996
- const [prevUrls, setPrevUrls] = React50.useState({ src, fallbackSrc });
5201
+ const [stage, setStage] = React51.useState(0);
5202
+ const [prevUrls, setPrevUrls] = React51.useState({ src, fallbackSrc });
4997
5203
  if (prevUrls.src !== src || prevUrls.fallbackSrc !== fallbackSrc) {
4998
5204
  setPrevUrls({ src, fallbackSrc });
4999
5205
  setStage(0);
5000
5206
  }
5001
5207
  const onError = () => setStage((current2) => current2 === 0 && fallbackSrc ? 1 : 2);
5002
5208
  const current = stage === 0 ? src : stage === 1 ? fallbackSrc : null;
5003
- if (!current || stage === 2) return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_jsx_runtime50.Fragment, { children: fallback ?? null });
5004
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
5209
+ if (!current || stage === 2) return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_jsx_runtime51.Fragment, { children: fallback ?? null });
5210
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5005
5211
  "img",
5006
5212
  {
5007
5213
  src: current,
@@ -5021,7 +5227,7 @@ function Image2({
5021
5227
  Image2.displayName = "Image";
5022
5228
 
5023
5229
  // src/components/cover-image/CoverImage.tsx
5024
- var import_jsx_runtime51 = require("react/jsx-runtime");
5230
+ var import_jsx_runtime52 = require("react/jsx-runtime");
5025
5231
  var aspectClasses = {
5026
5232
  video: "aspect-video",
5027
5233
  square: "aspect-square",
@@ -5056,21 +5262,21 @@ function CoverImage({
5056
5262
  }) {
5057
5263
  const preset = aspectClasses[aspect];
5058
5264
  const aspectStyle = preset === void 0 && typeof aspect === "string" ? { aspectRatio: aspect } : void 0;
5059
- const fallbackNode = fallback ?? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5265
+ const fallbackNode = fallback ?? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5060
5266
  "div",
5061
5267
  {
5062
5268
  className: "flex h-full w-full items-center justify-center",
5063
5269
  style: seededGradient(seed ?? alt),
5064
5270
  "aria-hidden": "true",
5065
- children: mark && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "text-muted-foreground [&_svg]:size-8", children: mark })
5271
+ children: mark && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "text-muted-foreground [&_svg]:size-8", children: mark })
5066
5272
  }
5067
5273
  );
5068
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5274
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5069
5275
  "div",
5070
5276
  {
5071
5277
  className: cn("relative overflow-hidden rounded-lg bg-muted", preset, className),
5072
5278
  style: aspectStyle,
5073
- children: src ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5279
+ children: src ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5074
5280
  Image2,
5075
5281
  {
5076
5282
  src,
@@ -5087,8 +5293,8 @@ function CoverImage({
5087
5293
  CoverImage.displayName = "CoverImage";
5088
5294
 
5089
5295
  // src/components/text/Text.tsx
5090
- var React51 = __toESM(require("react"));
5091
- var import_jsx_runtime52 = require("react/jsx-runtime");
5296
+ var React52 = __toESM(require("react"));
5297
+ var import_jsx_runtime53 = require("react/jsx-runtime");
5092
5298
  var sizeClasses4 = {
5093
5299
  xs: "text-xs",
5094
5300
  sm: "text-sm",
@@ -5102,10 +5308,10 @@ var weightClasses = {
5102
5308
  semibold: "font-semibold",
5103
5309
  bold: "font-bold"
5104
5310
  };
5105
- var Text = React51.forwardRef(
5311
+ var Text = React52.forwardRef(
5106
5312
  ({ inline, size = "base", weight, muted, className, ...props }, ref) => {
5107
5313
  const Tag = inline ? "span" : "p";
5108
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5314
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5109
5315
  Tag,
5110
5316
  {
5111
5317
  ref,
@@ -5124,8 +5330,8 @@ var Text = React51.forwardRef(
5124
5330
  Text.displayName = "Text";
5125
5331
 
5126
5332
  // src/components/heading/Heading.tsx
5127
- var React52 = __toESM(require("react"));
5128
- var import_jsx_runtime53 = require("react/jsx-runtime");
5333
+ var React53 = __toESM(require("react"));
5334
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5129
5335
  var levelClasses = {
5130
5336
  1: "text-4xl",
5131
5337
  2: "text-3xl",
@@ -5142,10 +5348,10 @@ var sizeClasses5 = {
5142
5348
  "2xl": "text-4xl",
5143
5349
  "3xl": "text-5xl"
5144
5350
  };
5145
- var Heading = React52.forwardRef(
5351
+ var Heading = React53.forwardRef(
5146
5352
  ({ level, size, muted, className, ...props }, ref) => {
5147
5353
  const Tag = `h${level}`;
5148
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5354
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5149
5355
  Tag,
5150
5356
  {
5151
5357
  ref,
@@ -5163,10 +5369,10 @@ var Heading = React52.forwardRef(
5163
5369
  Heading.displayName = "Heading";
5164
5370
 
5165
5371
  // src/components/empty-state/EmptyState.tsx
5166
- var React53 = __toESM(require("react"));
5167
- var import_jsx_runtime54 = require("react/jsx-runtime");
5372
+ var React54 = __toESM(require("react"));
5373
+ var import_jsx_runtime55 = require("react/jsx-runtime");
5168
5374
  function isActionObject(value) {
5169
- return typeof value === "object" && value !== null && !React53.isValidElement(value) && "label" in value;
5375
+ return typeof value === "object" && value !== null && !React54.isValidElement(value) && "label" in value;
5170
5376
  }
5171
5377
  function renderAction(action, linkComponent, linkHrefProp = "href") {
5172
5378
  if (!isActionObject(action)) return action;
@@ -5174,11 +5380,11 @@ function renderAction(action, linkComponent, linkHrefProp = "href") {
5174
5380
  if (href) {
5175
5381
  const LinkEl = linkComponent ?? "a";
5176
5382
  const destination = linkHrefProp === "to" ? { to: href } : { href };
5177
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { variant, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(LinkEl, { ...destination, children: label }) });
5383
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { variant, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(LinkEl, { ...destination, children: label }) });
5178
5384
  }
5179
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { variant, onClick, children: label });
5385
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { variant, onClick, children: label });
5180
5386
  }
5181
- var EmptyState = React53.forwardRef(function EmptyState2({
5387
+ var EmptyState = React54.forwardRef(function EmptyState2({
5182
5388
  icon,
5183
5389
  title,
5184
5390
  description,
@@ -5197,7 +5403,7 @@ var EmptyState = React53.forwardRef(function EmptyState2({
5197
5403
  }, ref) {
5198
5404
  const primaryAction = renderAction(action, linkComponent, linkHrefProp) ?? actions;
5199
5405
  const start = align === "start";
5200
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5406
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
5201
5407
  "div",
5202
5408
  {
5203
5409
  ref,
@@ -5211,11 +5417,11 @@ var EmptyState = React53.forwardRef(function EmptyState2({
5211
5417
  ),
5212
5418
  ...props,
5213
5419
  children: [
5214
- icon && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "text-muted-foreground [&_svg]:size-8", children: icon }),
5215
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Title, { className: cn("font-semibold", size === "md" ? "text-base" : "text-sm"), children: title }),
5216
- description && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: cn("max-w-sm text-sm text-muted-foreground", start && "max-w-md"), children: description }),
5420
+ icon && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "text-muted-foreground [&_svg]:size-8", children: icon }),
5421
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Title, { className: cn("font-semibold", size === "md" ? "text-base" : "text-sm"), children: title }),
5422
+ description && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: cn("max-w-sm text-sm text-muted-foreground", start && "max-w-md"), children: description }),
5217
5423
  children,
5218
- (primaryAction || secondaryAction) && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: cn("mt-1 flex flex-wrap items-center gap-2", start ? "justify-start" : "justify-center"), children: [
5424
+ (primaryAction || secondaryAction) && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: cn("mt-1 flex flex-wrap items-center gap-2", start ? "justify-start" : "justify-center"), children: [
5219
5425
  primaryAction,
5220
5426
  secondaryAction
5221
5427
  ] })
@@ -5225,27 +5431,27 @@ var EmptyState = React53.forwardRef(function EmptyState2({
5225
5431
  });
5226
5432
 
5227
5433
  // src/components/page-header/PageHeader.tsx
5228
- var React54 = __toESM(require("react"));
5229
- var import_jsx_runtime55 = require("react/jsx-runtime");
5434
+ var React55 = __toESM(require("react"));
5435
+ var import_jsx_runtime56 = require("react/jsx-runtime");
5230
5436
  var sizeClasses6 = {
5231
5437
  sm: "text-xl",
5232
5438
  md: "text-2xl",
5233
5439
  lg: "text-3xl",
5234
5440
  hero: "text-4xl sm:text-5xl lg:text-[3.4rem] lg:leading-[1.1]"
5235
5441
  };
5236
- var PageHeader = React54.forwardRef(function PageHeader2({ title, description, subtitle, breadcrumbs, actions, eyebrow, size = "md", as: Heading2 = "h1", align = "left", titleClassName, descriptionClassName, eyebrowClassName, className, children, ...props }, ref) {
5442
+ var PageHeader = React55.forwardRef(function PageHeader2({ title, description, subtitle, breadcrumbs, actions, eyebrow, size = "md", as: Heading2 = "h1", align = "left", titleClassName, descriptionClassName, eyebrowClassName, className, children, ...props }, ref) {
5237
5443
  const supporting = description ?? subtitle;
5238
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { ref, className: cn("flex flex-col gap-2", align === "center" && "items-center text-center", className), ...props, children: [
5239
- breadcrumbs && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "text-sm text-muted-foreground", children: breadcrumbs }),
5240
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: cn("text-xs font-medium uppercase tracking-wide text-primary-ink", eyebrowClassName), children: eyebrow }),
5241
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: cn("flex w-full flex-wrap items-start justify-between gap-3", align === "center" && "justify-center"), children: [
5242
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
5243
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Heading2, { className: cn("font-semibold tracking-tight", sizeClasses6[size], titleClassName), children: title }),
5244
- supporting && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: cn("mt-2 max-w-2xl text-base text-muted-foreground", descriptionClassName), children: supporting })
5444
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { ref, className: cn("flex flex-col gap-2", align === "center" && "items-center text-center", className), ...props, children: [
5445
+ breadcrumbs && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "text-sm text-muted-foreground", children: breadcrumbs }),
5446
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: cn("text-xs font-medium uppercase tracking-wide text-primary-ink", eyebrowClassName), children: eyebrow }),
5447
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: cn("flex w-full flex-wrap items-start justify-between gap-3", align === "center" && "justify-center"), children: [
5448
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
5449
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading2, { className: cn("font-semibold tracking-tight", sizeClasses6[size], titleClassName), children: title }),
5450
+ supporting && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: cn("mt-2 max-w-2xl text-base text-muted-foreground", descriptionClassName), children: supporting })
5245
5451
  ] }),
5246
- actions && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "flex shrink-0 items-center gap-2", children: actions })
5452
+ actions && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex shrink-0 items-center gap-2", children: actions })
5247
5453
  ] }),
5248
- children && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "mt-2", children })
5454
+ children && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "mt-2", children })
5249
5455
  ] });
5250
5456
  });
5251
5457
 
@@ -5265,16 +5471,16 @@ function documentHead({
5265
5471
  }
5266
5472
 
5267
5473
  // src/components/section-heading/SectionHeading.tsx
5268
- var React55 = __toESM(require("react"));
5269
- var import_jsx_runtime56 = require("react/jsx-runtime");
5474
+ var React56 = __toESM(require("react"));
5475
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5270
5476
  var sizeClasses7 = {
5271
5477
  sm: "text-lg",
5272
5478
  md: "text-2xl",
5273
5479
  lg: "text-3xl"
5274
5480
  };
5275
- var SectionHeading = React55.forwardRef(function SectionHeading2({ title, description, eyebrow, actions, level = 2, align = "left", size = "md", titleClassName, descriptionClassName, eyebrowClassName, className, ...props }, ref) {
5481
+ var SectionHeading = React56.forwardRef(function SectionHeading2({ title, description, eyebrow, actions, level = 2, align = "left", size = "md", titleClassName, descriptionClassName, eyebrowClassName, className, ...props }, ref) {
5276
5482
  const Heading2 = `h${level}`;
5277
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
5483
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
5278
5484
  "div",
5279
5485
  {
5280
5486
  ref,
@@ -5285,20 +5491,20 @@ var SectionHeading = React55.forwardRef(function SectionHeading2({ title, descri
5285
5491
  ),
5286
5492
  ...props,
5287
5493
  children: [
5288
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
5289
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: cn("mb-1 text-xs font-medium uppercase tracking-wide text-primary-ink", eyebrowClassName), children: eyebrow }),
5290
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading2, { className: cn("font-semibold tracking-tight", sizeClasses7[size], titleClassName), children: title }),
5291
- description && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: cn("mt-2 max-w-2xl text-muted-foreground", align === "center" ? "mx-auto" : "", descriptionClassName), children: description })
5494
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
5495
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: cn("mb-1 text-xs font-medium uppercase tracking-wide text-primary-ink", eyebrowClassName), children: eyebrow }),
5496
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Heading2, { className: cn("font-semibold tracking-tight", sizeClasses7[size], titleClassName), children: title }),
5497
+ description && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: cn("mt-2 max-w-2xl text-muted-foreground", align === "center" ? "mx-auto" : "", descriptionClassName), children: description })
5292
5498
  ] }),
5293
- actions && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex shrink-0 items-center gap-2", children: actions })
5499
+ actions && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "flex shrink-0 items-center gap-2", children: actions })
5294
5500
  ]
5295
5501
  }
5296
5502
  );
5297
5503
  });
5298
5504
 
5299
5505
  // src/components/metric-card/MetricCard.tsx
5300
- var React56 = __toESM(require("react"));
5301
- var import_jsx_runtime57 = require("react/jsx-runtime");
5506
+ var React57 = __toESM(require("react"));
5507
+ var import_jsx_runtime58 = require("react/jsx-runtime");
5302
5508
  var trendClasses = {
5303
5509
  up: "text-success",
5304
5510
  down: "text-destructive",
@@ -5311,11 +5517,11 @@ var toneClasses = {
5311
5517
  destructive: "text-destructive"
5312
5518
  };
5313
5519
  var trendGlyph = { up: "\u2191", down: "\u2193", flat: "\u2192" };
5314
- var MetricCard = React56.forwardRef(function MetricCard2({ label, value, hint, title, description, delta, trend = "flat", tone = "default", loading = false, icon, className, ...props }, ref) {
5520
+ var MetricCard = React57.forwardRef(function MetricCard2({ label, value, hint, title, description, delta, trend = "flat", tone = "default", loading = false, icon, className, ...props }, ref) {
5315
5521
  const heading = label ?? title;
5316
5522
  const supporting = hint ?? description;
5317
5523
  if (loading) {
5318
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
5524
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
5319
5525
  "div",
5320
5526
  {
5321
5527
  ref,
@@ -5323,41 +5529,41 @@ var MetricCard = React56.forwardRef(function MetricCard2({ label, value, hint, t
5323
5529
  className: cn("rounded-xl border border-border bg-card p-5", className),
5324
5530
  ...props,
5325
5531
  children: [
5326
- /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
5327
- heading && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: "text-sm text-muted-foreground", children: heading }),
5328
- icon && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "text-muted-foreground [&_svg]:size-4", children: icon })
5532
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
5533
+ heading && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: "text-sm text-muted-foreground", children: heading }),
5534
+ icon && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "text-muted-foreground [&_svg]:size-4", children: icon })
5329
5535
  ] }),
5330
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { "aria-hidden": "true", className: "mt-3 block h-7 w-24 animate-pulse rounded-md bg-muted" }),
5331
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "sr-only", children: "Loading" })
5536
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { "aria-hidden": "true", className: "mt-3 block h-7 w-24 animate-pulse rounded-md bg-muted" }),
5537
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "sr-only", children: "Loading" })
5332
5538
  ]
5333
5539
  }
5334
5540
  );
5335
5541
  }
5336
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { ref, className: cn("rounded-xl border border-border bg-card p-5", className), ...props, children: [
5337
- /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
5338
- heading && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: "text-sm text-muted-foreground", children: heading }),
5339
- icon && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "text-muted-foreground [&_svg]:size-4", children: icon })
5542
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { ref, className: cn("rounded-xl border border-border bg-card p-5", className), ...props, children: [
5543
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
5544
+ heading && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: "text-sm text-muted-foreground", children: heading }),
5545
+ icon && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "text-muted-foreground [&_svg]:size-4", children: icon })
5340
5546
  ] }),
5341
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: cn("mt-2 text-2xl font-semibold tabular-nums", toneClasses[tone]), children: value }),
5342
- (delta || supporting) && /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("p", { className: "mt-1 flex items-center gap-2 text-sm", children: [
5343
- delta && /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("span", { className: cn("font-medium tabular-nums", trendClasses[trend]), children: [
5344
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { "aria-hidden": "true", children: trendGlyph[trend] }),
5547
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: cn("mt-2 text-2xl font-semibold tabular-nums", toneClasses[tone]), children: value }),
5548
+ (delta || supporting) && /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("p", { className: "mt-1 flex items-center gap-2 text-sm", children: [
5549
+ delta && /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("span", { className: cn("font-medium tabular-nums", trendClasses[trend]), children: [
5550
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { "aria-hidden": "true", children: trendGlyph[trend] }),
5345
5551
  " ",
5346
5552
  delta
5347
5553
  ] }),
5348
- supporting && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "text-muted-foreground", children: supporting })
5554
+ supporting && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "text-muted-foreground", children: supporting })
5349
5555
  ] })
5350
5556
  ] });
5351
5557
  });
5352
5558
 
5353
5559
  // src/components/password-input/PasswordInput.tsx
5354
- var React57 = __toESM(require("react"));
5355
- var import_jsx_runtime58 = require("react/jsx-runtime");
5356
- var PasswordInput = React57.forwardRef(function PasswordInput2({ className, showLabel = "Show password", hideLabel = "Hide password", ...props }, ref) {
5357
- const [visible, setVisible] = React57.useState(false);
5358
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: cn("relative flex items-center", className), children: [
5359
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Input, { ref, type: visible ? "text" : "password", className: "pr-24", ...props }),
5360
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
5560
+ var React58 = __toESM(require("react"));
5561
+ var import_jsx_runtime59 = require("react/jsx-runtime");
5562
+ var PasswordInput = React58.forwardRef(function PasswordInput2({ className, showLabel = "Show password", hideLabel = "Hide password", ...props }, ref) {
5563
+ const [visible, setVisible] = React58.useState(false);
5564
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: cn("relative flex items-center", className), children: [
5565
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Input, { ref, type: visible ? "text" : "password", className: "pr-24", ...props }),
5566
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5361
5567
  Button,
5362
5568
  {
5363
5569
  type: "button",
@@ -5374,14 +5580,14 @@ var PasswordInput = React57.forwardRef(function PasswordInput2({ className, show
5374
5580
  });
5375
5581
 
5376
5582
  // src/components/auth-layout/AuthLayout.tsx
5377
- var React58 = __toESM(require("react"));
5378
- var import_jsx_runtime59 = require("react/jsx-runtime");
5583
+ var React59 = __toESM(require("react"));
5584
+ var import_jsx_runtime60 = require("react/jsx-runtime");
5379
5585
  var sizeClasses8 = {
5380
5586
  sm: "max-w-sm",
5381
5587
  md: "max-w-md",
5382
5588
  lg: "max-w-lg"
5383
5589
  };
5384
- var AuthLayout = React58.forwardRef(function AuthLayout2({
5590
+ var AuthLayout = React59.forwardRef(function AuthLayout2({
5385
5591
  title,
5386
5592
  description,
5387
5593
  subtitle,
@@ -5400,7 +5606,7 @@ var AuthLayout = React58.forwardRef(function AuthLayout2({
5400
5606
  const supporting = description ?? subtitle;
5401
5607
  const mark = brand ?? logo;
5402
5608
  const widthStyle = maxWidth === void 0 ? void 0 : { maxWidth: typeof maxWidth === "number" ? `${maxWidth}px` : maxWidth };
5403
- const form = /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
5609
+ const form = /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
5404
5610
  "div",
5405
5611
  {
5406
5612
  className: cn(
@@ -5409,8 +5615,8 @@ var AuthLayout = React58.forwardRef(function AuthLayout2({
5409
5615
  ),
5410
5616
  style: widthStyle,
5411
5617
  children: [
5412
- mark && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mb-6", children: mark }),
5413
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
5618
+ mark && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "mb-6", children: mark }),
5619
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
5414
5620
  "div",
5415
5621
  {
5416
5622
  className: cn(
@@ -5419,31 +5625,31 @@ var AuthLayout = React58.forwardRef(function AuthLayout2({
5419
5625
  ),
5420
5626
  style: widthStyle,
5421
5627
  children: [
5422
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("h1", { className: "text-xl font-semibold tracking-tight", children: title }),
5423
- supporting && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: "mt-1 text-sm text-muted-foreground", children: supporting }),
5424
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mt-6", children })
5628
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("h1", { className: "text-xl font-semibold tracking-tight", children: title }),
5629
+ supporting && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: "mt-1 text-sm text-muted-foreground", children: supporting }),
5630
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "mt-6", children })
5425
5631
  ]
5426
5632
  }
5427
5633
  ),
5428
- footer && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mt-6 text-center text-sm text-muted-foreground", children: footer })
5634
+ footer && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "mt-6 text-center text-sm text-muted-foreground", children: footer })
5429
5635
  ]
5430
5636
  }
5431
5637
  );
5432
5638
  if (split) {
5433
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5639
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5434
5640
  "div",
5435
5641
  {
5436
5642
  ref,
5437
5643
  className: cn("min-h-screen bg-muted/30 px-4 py-12 lg:px-8", className),
5438
5644
  ...props,
5439
- children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "mx-auto grid min-h-[calc(100vh-6rem)] w-full max-w-6xl items-center gap-10 lg:grid-cols-[minmax(0,1fr)_minmax(0,1.1fr)]", children: [
5645
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "mx-auto grid min-h-[calc(100vh-6rem)] w-full max-w-6xl items-center gap-10 lg:grid-cols-[minmax(0,1fr)_minmax(0,1.1fr)]", children: [
5440
5646
  form,
5441
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("aside", { className: "w-full", children: aside })
5647
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("aside", { className: "w-full", children: aside })
5442
5648
  ] })
5443
5649
  }
5444
5650
  );
5445
5651
  }
5446
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5652
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5447
5653
  "div",
5448
5654
  {
5449
5655
  ref,
@@ -5458,9 +5664,9 @@ var AuthLayout = React58.forwardRef(function AuthLayout2({
5458
5664
  });
5459
5665
 
5460
5666
  // src/components/filter-bar/FilterBar.tsx
5461
- var React59 = __toESM(require("react"));
5462
- var import_jsx_runtime60 = require("react/jsx-runtime");
5463
- var FilterBar = React59.forwardRef(function FilterBar2({
5667
+ var React60 = __toESM(require("react"));
5668
+ var import_jsx_runtime61 = require("react/jsx-runtime");
5669
+ var FilterBar = React60.forwardRef(function FilterBar2({
5464
5670
  searchValue,
5465
5671
  onSearchChange,
5466
5672
  searchPlaceholder = "Search\u2026",
@@ -5475,7 +5681,7 @@ var FilterBar = React59.forwardRef(function FilterBar2({
5475
5681
  children,
5476
5682
  ...props
5477
5683
  }, ref) {
5478
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
5684
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
5479
5685
  "div",
5480
5686
  {
5481
5687
  ref,
@@ -5486,7 +5692,7 @@ var FilterBar = React59.forwardRef(function FilterBar2({
5486
5692
  ),
5487
5693
  ...props,
5488
5694
  children: [
5489
- onSearchChange !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5695
+ onSearchChange !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5490
5696
  Input,
5491
5697
  {
5492
5698
  type: "search",
@@ -5497,28 +5703,28 @@ var FilterBar = React59.forwardRef(function FilterBar2({
5497
5703
  className: "h-9 w-full min-w-40 flex-1 sm:w-auto"
5498
5704
  }
5499
5705
  ),
5500
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "flex flex-wrap items-center gap-2", children }),
5501
- onOpenFilters && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(Button, { type: "button", variant: "outline", size: "sm", onClick: onOpenFilters, children: [
5706
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "flex flex-wrap items-center gap-2", children }),
5707
+ onOpenFilters && /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Button, { type: "button", variant: "outline", size: "sm", onClick: onOpenFilters, children: [
5502
5708
  filtersLabel,
5503
5709
  activeCount > 0 ? ` (${activeCount})` : ""
5504
5710
  ] }),
5505
- onReset && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onReset, children: [
5711
+ onReset && /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onReset, children: [
5506
5712
  "Reset",
5507
5713
  activeCount > 0 ? ` (${activeCount})` : ""
5508
5714
  ] }),
5509
- resultsCount !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("span", { className: "ml-auto text-sm text-muted-foreground", children: [
5715
+ resultsCount !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("span", { className: "ml-auto text-sm text-muted-foreground", children: [
5510
5716
  resultsCount,
5511
5717
  " ",
5512
5718
  resultsLabel
5513
5719
  ] }),
5514
- trailing && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: cn("flex items-center gap-2", resultsCount === void 0 && "ml-auto"), children: trailing })
5720
+ trailing && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: cn("flex items-center gap-2", resultsCount === void 0 && "ml-auto"), children: trailing })
5515
5721
  ]
5516
5722
  }
5517
5723
  );
5518
5724
  });
5519
5725
 
5520
5726
  // src/components/list-toolbar/ListToolbar.tsx
5521
- var import_jsx_runtime61 = require("react/jsx-runtime");
5727
+ var import_jsx_runtime62 = require("react/jsx-runtime");
5522
5728
  var alignClasses = {
5523
5729
  between: "justify-between",
5524
5730
  start: "justify-start",
@@ -5536,22 +5742,22 @@ function ListToolbar({
5536
5742
  ...props
5537
5743
  }) {
5538
5744
  const hasSummary = count !== void 0 || position !== void 0 || note !== void 0;
5539
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
5745
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
5540
5746
  "div",
5541
5747
  {
5542
5748
  className: cn("flex flex-wrap items-center gap-x-4 gap-y-2 text-sm", alignClasses[align], className),
5543
5749
  ...props,
5544
5750
  children: [
5545
- hasSummary && /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("p", { className: "flex flex-wrap items-baseline gap-x-2 text-muted-foreground", "aria-live": "polite", children: [
5546
- count !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("span", { className: "font-medium text-foreground", children: [
5751
+ hasSummary && /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("p", { className: "flex flex-wrap items-baseline gap-x-2 text-muted-foreground", "aria-live": "polite", children: [
5752
+ count !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("span", { className: "font-medium text-foreground", children: [
5547
5753
  count,
5548
5754
  " ",
5549
5755
  countLabel
5550
5756
  ] }),
5551
- position && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { children: position }),
5552
- note && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "text-xs", children: note })
5757
+ position && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { children: position }),
5758
+ note && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "text-xs", children: note })
5553
5759
  ] }),
5554
- children && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "flex flex-wrap items-center gap-2", children })
5760
+ children && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "flex flex-wrap items-center gap-2", children })
5555
5761
  ]
5556
5762
  }
5557
5763
  );
@@ -5559,17 +5765,17 @@ function ListToolbar({
5559
5765
  ListToolbar.displayName = "ListToolbar";
5560
5766
 
5561
5767
  // src/components/date-picker/DatePicker.tsx
5562
- var React60 = __toESM(require("react"));
5563
- var import_jsx_runtime62 = require("react/jsx-runtime");
5564
- var DatePicker = React60.forwardRef(function DatePicker2({ value, defaultValue, onValueChange, onChange, clearable = false, clearLabel = "Clear date", className, ...props }, ref) {
5565
- const [internal, setInternal] = React60.useState(defaultValue ?? "");
5768
+ var React61 = __toESM(require("react"));
5769
+ var import_jsx_runtime63 = require("react/jsx-runtime");
5770
+ var DatePicker = React61.forwardRef(function DatePicker2({ value, defaultValue, onValueChange, onChange, clearable = false, clearLabel = "Clear date", className, ...props }, ref) {
5771
+ const [internal, setInternal] = React61.useState(defaultValue ?? "");
5566
5772
  const current = value ?? internal;
5567
5773
  const commit = (next) => {
5568
5774
  if (value === void 0) setInternal(next);
5569
5775
  onValueChange?.(next);
5570
5776
  };
5571
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: cn("relative flex items-center", className), children: [
5572
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5777
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: cn("relative flex items-center", className), children: [
5778
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
5573
5779
  Input,
5574
5780
  {
5575
5781
  ref,
@@ -5583,7 +5789,7 @@ var DatePicker = React60.forwardRef(function DatePicker2({ value, defaultValue,
5583
5789
  ...props
5584
5790
  }
5585
5791
  ),
5586
- clearable && current && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5792
+ clearable && current && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
5587
5793
  "button",
5588
5794
  {
5589
5795
  type: "button",
@@ -5597,10 +5803,10 @@ var DatePicker = React60.forwardRef(function DatePicker2({ value, defaultValue,
5597
5803
  });
5598
5804
 
5599
5805
  // src/components/date-picker-popover/DatePickerPopover.tsx
5600
- var React62 = __toESM(require("react"));
5806
+ var React63 = __toESM(require("react"));
5601
5807
 
5602
5808
  // src/components/popover/Popover.tsx
5603
- var React61 = __toESM(require("react"));
5809
+ var React62 = __toESM(require("react"));
5604
5810
  var import_react_dom7 = require("react-dom");
5605
5811
 
5606
5812
  // src/utils/position.ts
@@ -5669,8 +5875,8 @@ function computePosition({
5669
5875
  }
5670
5876
 
5671
5877
  // src/components/popover/Popover.tsx
5672
- var import_jsx_runtime63 = require("react/jsx-runtime");
5673
- var PopoverContext = React61.createContext({
5878
+ var import_jsx_runtime64 = require("react/jsx-runtime");
5879
+ var PopoverContext = React62.createContext({
5674
5880
  open: false,
5675
5881
  setOpen: () => {
5676
5882
  },
@@ -5680,16 +5886,16 @@ var PopoverContext = React61.createContext({
5680
5886
  anchorRef: { current: null },
5681
5887
  triggerRef: { current: null }
5682
5888
  });
5683
- var Popover = React61.forwardRef(
5889
+ var Popover = React62.forwardRef(
5684
5890
  ({ open, onOpenChange, className, children }, ref) => {
5685
- const [internalOpen, setInternalOpen] = React61.useState(false);
5891
+ const [internalOpen, setInternalOpen] = React62.useState(false);
5686
5892
  const current = open ?? internalOpen;
5687
- const triggerId = React61.useId();
5688
- const contentId = React61.useId();
5689
- const wrapperRef = React61.useRef(null);
5690
- const anchorRef = React61.useRef(null);
5691
- const triggerRef = React61.useRef(null);
5692
- const setRefs = React61.useCallback(
5893
+ const triggerId = React62.useId();
5894
+ const contentId = React62.useId();
5895
+ const wrapperRef = React62.useRef(null);
5896
+ const anchorRef = React62.useRef(null);
5897
+ const triggerRef = React62.useRef(null);
5898
+ const setRefs = React62.useCallback(
5693
5899
  (node) => {
5694
5900
  wrapperRef.current = node;
5695
5901
  if (typeof ref === "function") ref(node);
@@ -5697,14 +5903,14 @@ var Popover = React61.forwardRef(
5697
5903
  },
5698
5904
  [ref]
5699
5905
  );
5700
- const setOpen = React61.useCallback(
5906
+ const setOpen = React62.useCallback(
5701
5907
  (next) => {
5702
5908
  if (open === void 0) setInternalOpen(next);
5703
5909
  onOpenChange?.(next);
5704
5910
  },
5705
5911
  [open, onOpenChange]
5706
5912
  );
5707
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { ref: setRefs, className: cn("relative inline-block", className), children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
5913
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { ref: setRefs, className: cn("relative inline-block", className), children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5708
5914
  PopoverContext.Provider,
5709
5915
  {
5710
5916
  value: { open: current, setOpen, triggerId, contentId, wrapperRef, anchorRef, triggerRef },
@@ -5714,10 +5920,10 @@ var Popover = React61.forwardRef(
5714
5920
  }
5715
5921
  );
5716
5922
  Popover.displayName = "Popover";
5717
- var PopoverTrigger = React61.forwardRef(
5923
+ var PopoverTrigger = React62.forwardRef(
5718
5924
  ({ className, children, onClick, id, ...props }, ref) => {
5719
- const { open, setOpen, triggerId, contentId, triggerRef } = React61.useContext(PopoverContext);
5720
- const setRefs = React61.useCallback(
5925
+ const { open, setOpen, triggerId, contentId, triggerRef } = React62.useContext(PopoverContext);
5926
+ const setRefs = React62.useCallback(
5721
5927
  (node) => {
5722
5928
  triggerRef.current = node;
5723
5929
  if (typeof ref === "function") ref(node);
@@ -5725,7 +5931,7 @@ var PopoverTrigger = React61.forwardRef(
5725
5931
  },
5726
5932
  [ref, triggerRef]
5727
5933
  );
5728
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
5934
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5729
5935
  "button",
5730
5936
  {
5731
5937
  ref: setRefs,
@@ -5750,10 +5956,10 @@ var PopoverTrigger = React61.forwardRef(
5750
5956
  }
5751
5957
  );
5752
5958
  PopoverTrigger.displayName = "PopoverTrigger";
5753
- var PopoverAnchor = React61.forwardRef(
5959
+ var PopoverAnchor = React62.forwardRef(
5754
5960
  ({ className, children, ...props }, ref) => {
5755
- const { anchorRef } = React61.useContext(PopoverContext);
5756
- const setRefs = React61.useCallback(
5961
+ const { anchorRef } = React62.useContext(PopoverContext);
5962
+ const setRefs = React62.useCallback(
5757
5963
  (node) => {
5758
5964
  anchorRef.current = node;
5759
5965
  if (typeof ref === "function") ref(node);
@@ -5761,7 +5967,7 @@ var PopoverAnchor = React61.forwardRef(
5761
5967
  },
5762
5968
  [anchorRef, ref]
5763
5969
  );
5764
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { ref: setRefs, className: cn("inline-block", className), ...props, children });
5970
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { ref: setRefs, className: cn("inline-block", className), ...props, children });
5765
5971
  }
5766
5972
  );
5767
5973
  PopoverAnchor.displayName = "PopoverAnchor";
@@ -5774,7 +5980,7 @@ function rectOf(element) {
5774
5980
  height: rect.height || element.offsetHeight || 0
5775
5981
  };
5776
5982
  }
5777
- var PopoverContent = React61.forwardRef(
5983
+ var PopoverContent = React62.forwardRef(
5778
5984
  ({
5779
5985
  className,
5780
5986
  children,
@@ -5788,12 +5994,12 @@ var PopoverContent = React61.forwardRef(
5788
5994
  matchTriggerWidth = false,
5789
5995
  ...props
5790
5996
  }, ref) => {
5791
- const { open, setOpen, contentId, wrapperRef, anchorRef, triggerRef } = React61.useContext(PopoverContext);
5997
+ const { open, setOpen, contentId, wrapperRef, anchorRef, triggerRef } = React62.useContext(PopoverContext);
5792
5998
  const labelledBy = triggerRef.current?.id || void 0;
5793
- const contentRef = React61.useRef(null);
5794
- const [pos, setPos] = React61.useState(null);
5795
- const [width, setWidth] = React61.useState(void 0);
5796
- const updatePosition = React61.useCallback(() => {
5999
+ const contentRef = React62.useRef(null);
6000
+ const [pos, setPos] = React62.useState(null);
6001
+ const [width, setWidth] = React62.useState(void 0);
6002
+ const updatePosition = React62.useCallback(() => {
5797
6003
  const anchorEl = anchorRef.current ?? wrapperRef.current;
5798
6004
  const panel = contentRef.current;
5799
6005
  if (!anchorEl || !panel) return;
@@ -5822,17 +6028,17 @@ var PopoverContent = React61.forwardRef(
5822
6028
  sideOffset,
5823
6029
  wrapperRef
5824
6030
  ]);
5825
- React61.useLayoutEffect(() => {
6031
+ React62.useLayoutEffect(() => {
5826
6032
  if (!open) {
5827
6033
  setPos(null);
5828
6034
  return;
5829
6035
  }
5830
6036
  updatePosition();
5831
6037
  }, [open, updatePosition]);
5832
- React61.useEffect(() => {
6038
+ React62.useEffect(() => {
5833
6039
  if (open && !pos) updatePosition();
5834
6040
  }, [open, pos, updatePosition]);
5835
- React61.useEffect(() => {
6041
+ React62.useEffect(() => {
5836
6042
  if (!open) return;
5837
6043
  const onScroll = () => updatePosition();
5838
6044
  window.addEventListener("scroll", onScroll, true);
@@ -5846,7 +6052,7 @@ var PopoverContent = React61.forwardRef(
5846
6052
  observer?.disconnect();
5847
6053
  };
5848
6054
  }, [open, updatePosition]);
5849
- React61.useEffect(() => {
6055
+ React62.useEffect(() => {
5850
6056
  if (!open) return;
5851
6057
  function onPointerDown(event) {
5852
6058
  if (!contentRef.current?.contains(event.target)) setOpen(false);
@@ -5854,14 +6060,14 @@ var PopoverContent = React61.forwardRef(
5854
6060
  document.addEventListener("pointerdown", onPointerDown);
5855
6061
  return () => document.removeEventListener("pointerdown", onPointerDown);
5856
6062
  }, [open, setOpen]);
5857
- React61.useEffect(() => {
6063
+ React62.useEffect(() => {
5858
6064
  if (open && pos && contentRef.current) {
5859
6065
  contentRef.current.focus();
5860
6066
  }
5861
6067
  }, [open, pos]);
5862
6068
  if (!open || typeof document === "undefined") return null;
5863
6069
  return (0, import_react_dom7.createPortal)(
5864
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
6070
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5865
6071
  "div",
5866
6072
  {
5867
6073
  ref: (node) => {
@@ -5906,8 +6112,8 @@ var PopoverContent = React61.forwardRef(
5906
6112
  PopoverContent.displayName = "PopoverContent";
5907
6113
 
5908
6114
  // src/components/date-picker-popover/DatePickerPopover.tsx
5909
- var import_jsx_runtime64 = require("react/jsx-runtime");
5910
- var DatePickerPopover = React62.forwardRef(
6115
+ var import_jsx_runtime65 = require("react/jsx-runtime");
6116
+ var DatePickerPopover = React63.forwardRef(
5911
6117
  ({
5912
6118
  value,
5913
6119
  onValueChange,
@@ -5928,9 +6134,9 @@ var DatePickerPopover = React62.forwardRef(
5928
6134
  "aria-describedby": ariaDescribedBy,
5929
6135
  "aria-invalid": ariaInvalid
5930
6136
  }, ref) => {
5931
- const [open, setOpen] = React62.useState(false);
5932
- const triggerRef = React62.useRef(null);
5933
- const setTriggerRef = React62.useCallback(
6137
+ const [open, setOpen] = React63.useState(false);
6138
+ const triggerRef = React63.useRef(null);
6139
+ const setTriggerRef = React63.useCallback(
5934
6140
  (node) => {
5935
6141
  triggerRef.current = node;
5936
6142
  if (typeof ref === "function") ref(node);
@@ -5939,9 +6145,9 @@ var DatePickerPopover = React62.forwardRef(
5939
6145
  [ref]
5940
6146
  );
5941
6147
  const label = value ? formatDateLabel(value, locale) : placeholder;
5942
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
5943
- /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
5944
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
6148
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_jsx_runtime65.Fragment, { children: [
6149
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
6150
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5945
6151
  PopoverTrigger,
5946
6152
  {
5947
6153
  ref: setTriggerRef,
@@ -5959,7 +6165,7 @@ var DatePickerPopover = React62.forwardRef(
5959
6165
  children: label
5960
6166
  }
5961
6167
  ),
5962
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(PopoverContent, { side, align, matchTriggerWidth: true, className: "w-auto p-3", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
6168
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(PopoverContent, { side, align, matchTriggerWidth: true, className: "w-auto p-3", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5963
6169
  Calendar,
5964
6170
  {
5965
6171
  value,
@@ -5977,24 +6183,24 @@ var DatePickerPopover = React62.forwardRef(
5977
6183
  }
5978
6184
  ) })
5979
6185
  ] }),
5980
- name ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("input", { type: "hidden", name, value: value ?? "", required }) : null
6186
+ name ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("input", { type: "hidden", name, value: value ?? "", required }) : null
5981
6187
  ] });
5982
6188
  }
5983
6189
  );
5984
6190
  DatePickerPopover.displayName = "DatePickerPopover";
5985
6191
 
5986
6192
  // src/components/time-picker/TimePicker.tsx
5987
- var React63 = __toESM(require("react"));
5988
- var import_jsx_runtime65 = require("react/jsx-runtime");
5989
- var TimePicker = React63.forwardRef(function TimePicker2({ value, defaultValue, onValueChange, onChange, clearable = false, clearLabel = "Clear time", className, ...props }, ref) {
5990
- const [internal, setInternal] = React63.useState(defaultValue ?? "");
6193
+ var React64 = __toESM(require("react"));
6194
+ var import_jsx_runtime66 = require("react/jsx-runtime");
6195
+ var TimePicker = React64.forwardRef(function TimePicker2({ value, defaultValue, onValueChange, onChange, clearable = false, clearLabel = "Clear time", className, ...props }, ref) {
6196
+ const [internal, setInternal] = React64.useState(defaultValue ?? "");
5991
6197
  const current = value ?? internal;
5992
6198
  const commit = (next) => {
5993
6199
  if (value === void 0) setInternal(next);
5994
6200
  onValueChange?.(next);
5995
6201
  };
5996
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: cn("relative flex items-center", className), children: [
5997
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6202
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: cn("relative flex items-center", className), children: [
6203
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
5998
6204
  Input,
5999
6205
  {
6000
6206
  ref,
@@ -6008,7 +6214,7 @@ var TimePicker = React63.forwardRef(function TimePicker2({ value, defaultValue,
6008
6214
  ...props
6009
6215
  }
6010
6216
  ),
6011
- clearable && current && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6217
+ clearable && current && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6012
6218
  "button",
6013
6219
  {
6014
6220
  type: "button",
@@ -6022,9 +6228,9 @@ var TimePicker = React63.forwardRef(function TimePicker2({ value, defaultValue,
6022
6228
  });
6023
6229
 
6024
6230
  // src/components/stepper/Stepper.tsx
6025
- var React64 = __toESM(require("react"));
6026
- var import_jsx_runtime66 = require("react/jsx-runtime");
6027
- var Stepper = React64.forwardRef(function Stepper2({
6231
+ var React65 = __toESM(require("react"));
6232
+ var import_jsx_runtime67 = require("react/jsx-runtime");
6233
+ var Stepper = React65.forwardRef(function Stepper2({
6028
6234
  steps,
6029
6235
  current,
6030
6236
  orientation = "horizontal",
@@ -6047,7 +6253,7 @@ var Stepper = React64.forwardRef(function Stepper2({
6047
6253
  const verticalTitlePad = size === "sm" ? "pt-0.5" : "pt-1";
6048
6254
  const connectorTop = variant === "dots" ? size === "sm" ? "mt-1" : "mt-[5px]" : size === "sm" ? "mt-3" : "mt-3.5";
6049
6255
  const focusClass = "rounded-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background";
6050
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6256
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6051
6257
  "ol",
6052
6258
  {
6053
6259
  ref,
@@ -6061,7 +6267,7 @@ var Stepper = React64.forwardRef(function Stepper2({
6061
6267
  const isLast = index === steps.length - 1;
6062
6268
  const titleCentered = alignTitles === "center" && !step.description;
6063
6269
  const below = !vertical && labelPlacement === "below";
6064
- const marker = /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6270
+ const marker = /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6065
6271
  "span",
6066
6272
  {
6067
6273
  "aria-hidden": "true",
@@ -6083,8 +6289,8 @@ var Stepper = React64.forwardRef(function Stepper2({
6083
6289
  children: variant === "numbered" ? state === "complete" ? "\u2713" : index + 1 : null
6084
6290
  }
6085
6291
  );
6086
- const label = /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("span", { className: "min-w-0", children: [
6087
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6292
+ const label = /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("span", { className: "min-w-0", children: [
6293
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6088
6294
  "span",
6089
6295
  {
6090
6296
  className: cn(
@@ -6096,7 +6302,7 @@ var Stepper = React64.forwardRef(function Stepper2({
6096
6302
  children: step.label
6097
6303
  }
6098
6304
  ),
6099
- step.description && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6305
+ step.description && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6100
6306
  "span",
6101
6307
  {
6102
6308
  className: cn(
@@ -6107,9 +6313,9 @@ var Stepper = React64.forwardRef(function Stepper2({
6107
6313
  children: step.description
6108
6314
  }
6109
6315
  ),
6110
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "sr-only", children: state === "complete" ? labels?.completed ?? " (completed)" : state === "current" ? labels?.current ?? " (current step)" : labels?.upcoming ?? " (upcoming)" })
6316
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "sr-only", children: state === "complete" ? labels?.completed ?? " (completed)" : state === "current" ? labels?.current ?? " (current step)" : labels?.upcoming ?? " (upcoming)" })
6111
6317
  ] });
6112
- const renderRow = (children, rowClassName) => interactive ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6318
+ const renderRow = (children, rowClassName) => interactive ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6113
6319
  "button",
6114
6320
  {
6115
6321
  type: "button",
@@ -6118,29 +6324,29 @@ var Stepper = React64.forwardRef(function Stepper2({
6118
6324
  className: cn(rowClassName, focusClass),
6119
6325
  children
6120
6326
  }
6121
- ) : /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { "aria-current": state === "current" ? "step" : void 0, className: rowClassName, children });
6327
+ ) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { "aria-current": state === "current" ? "step" : void 0, className: rowClassName, children });
6122
6328
  if (vertical) {
6123
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("li", { className: "flex", children: renderRow(
6124
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_jsx_runtime66.Fragment, { children: [
6125
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex flex-col items-center", children: [
6329
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("li", { className: "flex", children: renderRow(
6330
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx_runtime67.Fragment, { children: [
6331
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex flex-col items-center", children: [
6126
6332
  marker,
6127
- !isLast && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { "aria-hidden": "true", className: "my-1 w-px flex-1 rounded-full bg-border" })
6333
+ !isLast && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { "aria-hidden": "true", className: "my-1 w-px flex-1 rounded-full bg-border" })
6128
6334
  ] }),
6129
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: cn("min-w-0 pb-6", titleCentered && verticalTitlePad), children: label })
6335
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: cn("min-w-0 pb-6", titleCentered && verticalTitlePad), children: label })
6130
6336
  ] }),
6131
6337
  "flex w-full items-stretch gap-3 text-left"
6132
6338
  ) }, step.label);
6133
6339
  }
6134
6340
  if (below) {
6135
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("li", { className: "flex min-w-0 flex-1 items-start gap-2", children: [
6341
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("li", { className: "flex min-w-0 flex-1 items-start gap-2", children: [
6136
6342
  renderRow(
6137
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_jsx_runtime66.Fragment, { children: [
6343
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx_runtime67.Fragment, { children: [
6138
6344
  marker,
6139
6345
  label
6140
6346
  ] }),
6141
6347
  "flex min-w-0 flex-1 flex-col items-center gap-2 text-center"
6142
6348
  ),
6143
- !isLast && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6349
+ !isLast && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6144
6350
  "span",
6145
6351
  {
6146
6352
  "aria-hidden": "true",
@@ -6149,15 +6355,15 @@ var Stepper = React64.forwardRef(function Stepper2({
6149
6355
  )
6150
6356
  ] }, step.label);
6151
6357
  }
6152
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("li", { className: "flex min-w-0 items-start gap-2", children: [
6358
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("li", { className: "flex min-w-0 items-start gap-2", children: [
6153
6359
  renderRow(
6154
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_jsx_runtime66.Fragment, { children: [
6360
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx_runtime67.Fragment, { children: [
6155
6361
  marker,
6156
6362
  label
6157
6363
  ] }),
6158
6364
  cn("flex min-w-0 text-left", gapClass, titleCentered ? "items-center" : "items-start")
6159
6365
  ),
6160
- !isLast && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6366
+ !isLast && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6161
6367
  "span",
6162
6368
  {
6163
6369
  "aria-hidden": "true",
@@ -6171,14 +6377,14 @@ var Stepper = React64.forwardRef(function Stepper2({
6171
6377
  });
6172
6378
 
6173
6379
  // src/components/file-upload/FileUpload.tsx
6174
- var React65 = __toESM(require("react"));
6175
- var import_jsx_runtime67 = require("react/jsx-runtime");
6380
+ var React66 = __toESM(require("react"));
6381
+ var import_jsx_runtime68 = require("react/jsx-runtime");
6176
6382
  function formatSize(bytes) {
6177
6383
  if (bytes < 1024) return `${bytes} B`;
6178
6384
  if (bytes < 1024 * 1024) return `${(bytes / 1024).toFixed(1)} KB`;
6179
6385
  return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;
6180
6386
  }
6181
- var FileUpload = React65.forwardRef(function FileUpload2({
6387
+ var FileUpload = React66.forwardRef(function FileUpload2({
6182
6388
  files,
6183
6389
  defaultFiles,
6184
6390
  onFilesChange,
@@ -6195,13 +6401,13 @@ var FileUpload = React65.forwardRef(function FileUpload2({
6195
6401
  id,
6196
6402
  ...props
6197
6403
  }, ref) {
6198
- const [internal, setInternal] = React65.useState(defaultFiles ?? []);
6199
- const [dragging, setDragging] = React65.useState(false);
6404
+ const [internal, setInternal] = React66.useState(defaultFiles ?? []);
6405
+ const [dragging, setDragging] = React66.useState(false);
6200
6406
  const current = files ?? internal;
6201
- const generatedId = React65.useId();
6407
+ const generatedId = React66.useId();
6202
6408
  const inputId = id ?? generatedId;
6203
- const fileIds = React65.useRef(/* @__PURE__ */ new WeakMap());
6204
- const nextFileId = React65.useRef(0);
6409
+ const fileIds = React66.useRef(/* @__PURE__ */ new WeakMap());
6410
+ const nextFileId = React66.useRef(0);
6205
6411
  const idFor = (file) => {
6206
6412
  let fileId = fileIds.current.get(file);
6207
6413
  if (!fileId) {
@@ -6219,8 +6425,8 @@ var FileUpload = React65.forwardRef(function FileUpload2({
6219
6425
  const list = Array.from(incoming);
6220
6426
  commit(multiple ? [...current, ...list] : list.slice(0, 1));
6221
6427
  };
6222
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: cn("flex flex-col gap-3", className), children: [
6223
- /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
6428
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: cn("flex flex-col gap-3", className), children: [
6429
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
6224
6430
  "div",
6225
6431
  {
6226
6432
  onDragOver: (event) => {
@@ -6241,9 +6447,9 @@ var FileUpload = React65.forwardRef(function FileUpload2({
6241
6447
  disabled && "opacity-50"
6242
6448
  ),
6243
6449
  children: [
6244
- /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("label", { htmlFor: inputId, className: cn("block text-sm", disabled ? "cursor-not-allowed" : "cursor-pointer"), children: [
6450
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("label", { htmlFor: inputId, className: cn("block text-sm", disabled ? "cursor-not-allowed" : "cursor-pointer"), children: [
6245
6451
  label,
6246
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6452
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6247
6453
  "input",
6248
6454
  {
6249
6455
  ref,
@@ -6261,15 +6467,15 @@ var FileUpload = React65.forwardRef(function FileUpload2({
6261
6467
  }
6262
6468
  )
6263
6469
  ] }),
6264
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "mt-1 text-xs text-muted-foreground", children: hint ?? (accept ? `Accepted: ${accept}` : "Any file type") })
6470
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: "mt-1 text-xs text-muted-foreground", children: hint ?? (accept ? `Accepted: ${accept}` : "Any file type") })
6265
6471
  ]
6266
6472
  }
6267
6473
  ),
6268
- current.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("ul", { "aria-label": selectedFilesLabel, className: "space-y-2", children: current.map((file) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("li", { className: "flex items-center justify-between gap-3 rounded-md border border-border px-3 py-2", children: [
6269
- /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "min-w-0", children: [
6270
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "truncate text-sm", children: file.name }),
6271
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-xs text-muted-foreground", children: formatSize(file.size) }),
6272
- progress?.[file.name] !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6474
+ current.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("ul", { "aria-label": selectedFilesLabel, className: "space-y-2", children: current.map((file) => /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("li", { className: "flex items-center justify-between gap-3 rounded-md border border-border px-3 py-2", children: [
6475
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "min-w-0", children: [
6476
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: "truncate text-sm", children: file.name }),
6477
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: "text-xs text-muted-foreground", children: formatSize(file.size) }),
6478
+ progress?.[file.name] !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6273
6479
  "div",
6274
6480
  {
6275
6481
  role: "progressbar",
@@ -6278,11 +6484,11 @@ var FileUpload = React65.forwardRef(function FileUpload2({
6278
6484
  "aria-valuemax": 100,
6279
6485
  "aria-label": uploadingLabel(file),
6280
6486
  className: "mt-1 h-1.5 w-40 overflow-hidden rounded-full bg-muted",
6281
- children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "h-full bg-primary", style: { width: `${progress[file.name]}%` } })
6487
+ children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "h-full bg-primary", style: { width: `${progress[file.name]}%` } })
6282
6488
  }
6283
6489
  )
6284
6490
  ] }),
6285
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6491
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6286
6492
  "button",
6287
6493
  {
6288
6494
  type: "button",
@@ -6297,18 +6503,18 @@ var FileUpload = React65.forwardRef(function FileUpload2({
6297
6503
  });
6298
6504
 
6299
6505
  // src/components/timeline/Timeline.tsx
6300
- var React66 = __toESM(require("react"));
6301
- var import_jsx_runtime68 = require("react/jsx-runtime");
6302
- var Timeline = React66.forwardRef(function Timeline2({ items, className, ...props }, ref) {
6303
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("ol", { ref, className: cn("relative flex flex-col gap-6", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("li", { className: "relative flex gap-4", children: [
6304
- index < items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6506
+ var React67 = __toESM(require("react"));
6507
+ var import_jsx_runtime69 = require("react/jsx-runtime");
6508
+ var Timeline = React67.forwardRef(function Timeline2({ items, className, ...props }, ref) {
6509
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("ol", { ref, className: cn("relative flex flex-col gap-6", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("li", { className: "relative flex gap-4", children: [
6510
+ index < items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6305
6511
  "span",
6306
6512
  {
6307
6513
  "aria-hidden": "true",
6308
6514
  className: "absolute left-[5.5px] top-4 -bottom-7 w-px bg-border"
6309
6515
  }
6310
6516
  ),
6311
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "relative z-10 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6517
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "relative z-10 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6312
6518
  "span",
6313
6519
  {
6314
6520
  "aria-hidden": "true",
@@ -6318,22 +6524,22 @@ var Timeline = React66.forwardRef(function Timeline2({ items, className, ...prop
6318
6524
  )
6319
6525
  }
6320
6526
  ) }),
6321
- /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "min-w-0 pb-1", children: [
6322
- item.period && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: item.period }),
6323
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: cn("text-sm font-semibold", item.muted && "text-muted-foreground"), children: item.title }),
6324
- item.description && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: "mt-1 text-sm text-muted-foreground", children: item.description }),
6325
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "mt-1 text-muted-foreground [&_svg]:size-4", children: item.icon })
6527
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "min-w-0 pb-1", children: [
6528
+ item.period && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("p", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: item.period }),
6529
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("p", { className: cn("text-sm font-semibold", item.muted && "text-muted-foreground"), children: item.title }),
6530
+ item.description && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("p", { className: "mt-1 text-sm text-muted-foreground", children: item.description }),
6531
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "mt-1 text-muted-foreground [&_svg]:size-4", children: item.icon })
6326
6532
  ] })
6327
6533
  ] }, `${item.title}-${index}`)) });
6328
6534
  });
6329
6535
 
6330
6536
  // src/components/block/Block.tsx
6331
- var React67 = __toESM(require("react"));
6332
- var import_jsx_runtime69 = require("react/jsx-runtime");
6333
- var Block = React67.forwardRef(
6537
+ var React68 = __toESM(require("react"));
6538
+ var import_jsx_runtime70 = require("react/jsx-runtime");
6539
+ var Block = React68.forwardRef(
6334
6540
  ({ as = "div", inline, muted, className, ...props }, ref) => {
6335
6541
  const Tag = inline ? "span" : as;
6336
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6542
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6337
6543
  Tag,
6338
6544
  {
6339
6545
  ref,
@@ -6346,8 +6552,8 @@ var Block = React67.forwardRef(
6346
6552
  Block.displayName = "Block";
6347
6553
 
6348
6554
  // src/components/flex/Flex.tsx
6349
- var React68 = __toESM(require("react"));
6350
- var import_jsx_runtime70 = require("react/jsx-runtime");
6555
+ var React69 = __toESM(require("react"));
6556
+ var import_jsx_runtime71 = require("react/jsx-runtime");
6351
6557
  var justifyClasses = {
6352
6558
  start: "justify-start",
6353
6559
  center: "justify-center",
@@ -6363,11 +6569,11 @@ var alignClasses2 = {
6363
6569
  stretch: "items-stretch",
6364
6570
  baseline: "items-baseline"
6365
6571
  };
6366
- var Flex = React68.forwardRef(
6572
+ var Flex = React69.forwardRef(
6367
6573
  ({ direction = "row", align, justify, wrap, gap = "md", as = "div", className, style, ...props }, ref) => {
6368
6574
  const Tag = as;
6369
6575
  const gapResolved = resolveGap(gap);
6370
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6576
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6371
6577
  Tag,
6372
6578
  {
6373
6579
  ref,
@@ -6394,7 +6600,7 @@ var selfAlignClasses = {
6394
6600
  stretch: "self-stretch",
6395
6601
  baseline: "self-baseline"
6396
6602
  };
6397
- var FlexItem = React68.forwardRef(
6603
+ var FlexItem = React69.forwardRef(
6398
6604
  ({ grow, shrink, basis, align, as = "div", className, ...props }, ref) => {
6399
6605
  const Tag = as;
6400
6606
  const style = {
@@ -6402,7 +6608,7 @@ var FlexItem = React68.forwardRef(
6402
6608
  ...shrink === false ? { flexShrink: 0 } : typeof shrink === "string" && shrink ? { flexShrink: Number(shrink) || shrink } : {},
6403
6609
  ...basis ? { flexBasis: basis } : {}
6404
6610
  };
6405
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6611
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6406
6612
  Tag,
6407
6613
  {
6408
6614
  ref,
@@ -6416,8 +6622,8 @@ var FlexItem = React68.forwardRef(
6416
6622
  FlexItem.displayName = "FlexItem";
6417
6623
 
6418
6624
  // src/components/grid/Grid.tsx
6419
- var React69 = __toESM(require("react"));
6420
- var import_jsx_runtime71 = require("react/jsx-runtime");
6625
+ var React70 = __toESM(require("react"));
6626
+ var import_jsx_runtime72 = require("react/jsx-runtime");
6421
6627
  var BASE_COLS = {
6422
6628
  1: "grid-cols-1",
6423
6629
  2: "grid-cols-2",
@@ -6482,11 +6688,11 @@ var LG_COL_SPAN = {
6482
6688
  5: "lg:col-span-5",
6483
6689
  6: "lg:col-span-6"
6484
6690
  };
6485
- var Grid = React69.forwardRef(
6691
+ var Grid = React70.forwardRef(
6486
6692
  ({ cols, smCols, mdCols, lgCols, minCol, gap = "md", as = "div", className, style, ...props }, ref) => {
6487
6693
  const Tag = as;
6488
6694
  const gapResolved = resolveGap(gap);
6489
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6695
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6490
6696
  Tag,
6491
6697
  {
6492
6698
  ref,
@@ -6510,10 +6716,10 @@ var Grid = React69.forwardRef(
6510
6716
  }
6511
6717
  );
6512
6718
  Grid.displayName = "Grid";
6513
- var GridItem = React69.forwardRef(
6719
+ var GridItem = React70.forwardRef(
6514
6720
  ({ span, smSpan, mdSpan, lgSpan, as = "div", className, ...props }, ref) => {
6515
6721
  const Tag = as;
6516
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6722
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6517
6723
  Tag,
6518
6724
  {
6519
6725
  ref,
@@ -6532,8 +6738,8 @@ var GridItem = React69.forwardRef(
6532
6738
  GridItem.displayName = "GridItem";
6533
6739
 
6534
6740
  // src/components/container/Container.tsx
6535
- var React70 = __toESM(require("react"));
6536
- var import_jsx_runtime72 = require("react/jsx-runtime");
6741
+ var React71 = __toESM(require("react"));
6742
+ var import_jsx_runtime73 = require("react/jsx-runtime");
6537
6743
  var widthClasses = {
6538
6744
  sm: "max-w-3xl",
6539
6745
  md: "max-w-5xl",
@@ -6547,9 +6753,9 @@ var paddingClasses = {
6547
6753
  md: "px-4 sm:px-6",
6548
6754
  lg: "px-4 sm:px-6 lg:px-8"
6549
6755
  };
6550
- var Container = React70.forwardRef(function Container2({ width = "lg", padding = "md", as = "div", className, ...props }, ref) {
6756
+ var Container = React71.forwardRef(function Container2({ width = "lg", padding = "md", as = "div", className, ...props }, ref) {
6551
6757
  const Tag = as;
6552
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6758
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6553
6759
  Tag,
6554
6760
  {
6555
6761
  ref,
@@ -6560,8 +6766,8 @@ var Container = React70.forwardRef(function Container2({ width = "lg", padding =
6560
6766
  });
6561
6767
 
6562
6768
  // src/components/section/Section.tsx
6563
- var React71 = __toESM(require("react"));
6564
- var import_jsx_runtime73 = require("react/jsx-runtime");
6769
+ var React72 = __toESM(require("react"));
6770
+ var import_jsx_runtime74 = require("react/jsx-runtime");
6565
6771
  var toneClasses2 = {
6566
6772
  default: "bg-background text-foreground",
6567
6773
  muted: "bg-muted/40 text-foreground",
@@ -6601,7 +6807,7 @@ var brandVars = {
6601
6807
  "--border": "var(--primary-foreground)",
6602
6808
  "--input": "var(--primary-foreground)"
6603
6809
  };
6604
- var Section = React71.forwardRef(function Section2({
6810
+ var Section = React72.forwardRef(function Section2({
6605
6811
  tone = "default",
6606
6812
  padding = "md",
6607
6813
  width = "lg",
@@ -6615,7 +6821,7 @@ var Section = React71.forwardRef(function Section2({
6615
6821
  }, ref) {
6616
6822
  const Tag = as;
6617
6823
  const toneStyle = tone === "inverse" ? inverseVars : tone === "brand" ? brandVars : void 0;
6618
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6824
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
6619
6825
  Tag,
6620
6826
  {
6621
6827
  ref,
@@ -6623,19 +6829,19 @@ var Section = React71.forwardRef(function Section2({
6623
6829
  className: cn("w-full", toneClasses2[tone], paddingClasses2[padding], className),
6624
6830
  style: { ...toneStyle, ...style },
6625
6831
  ...props,
6626
- children: container ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Container, { width, className: containerClassName, children }) : children
6832
+ children: container ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Container, { width, className: containerClassName, children }) : children
6627
6833
  }
6628
6834
  );
6629
6835
  });
6630
6836
 
6631
6837
  // src/components/hero/Hero.tsx
6632
- var React72 = __toESM(require("react"));
6633
- var import_jsx_runtime74 = require("react/jsx-runtime");
6838
+ var React73 = __toESM(require("react"));
6839
+ var import_jsx_runtime75 = require("react/jsx-runtime");
6634
6840
  var titleSizes = {
6635
6841
  md: "text-3xl sm:text-4xl md:text-5xl",
6636
6842
  lg: "text-4xl sm:text-5xl md:text-6xl lg:leading-[1.05]"
6637
6843
  };
6638
- var Hero = React72.forwardRef(function Hero2({
6844
+ var Hero = React73.forwardRef(function Hero2({
6639
6845
  title,
6640
6846
  description,
6641
6847
  eyebrow,
@@ -6661,7 +6867,7 @@ var Hero = React72.forwardRef(function Hero2({
6661
6867
  const Heading2 = `h${level}`;
6662
6868
  const centered = layout === "centered" || align === "center";
6663
6869
  const overlay = layout === "overlay";
6664
- const copy = /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
6870
+ const copy = /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
6665
6871
  "div",
6666
6872
  {
6667
6873
  className: cn(
@@ -6670,7 +6876,7 @@ var Hero = React72.forwardRef(function Hero2({
6670
6876
  overlay && "max-w-2xl"
6671
6877
  ),
6672
6878
  children: [
6673
- badge && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
6879
+ badge && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6674
6880
  "div",
6675
6881
  {
6676
6882
  className: cn(
@@ -6681,7 +6887,7 @@ var Hero = React72.forwardRef(function Hero2({
6681
6887
  children: badge
6682
6888
  }
6683
6889
  ),
6684
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
6890
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6685
6891
  "p",
6686
6892
  {
6687
6893
  className: cn(
@@ -6692,7 +6898,7 @@ var Hero = React72.forwardRef(function Hero2({
6692
6898
  children: eyebrow
6693
6899
  }
6694
6900
  ),
6695
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
6901
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6696
6902
  Heading2,
6697
6903
  {
6698
6904
  className: cn(
@@ -6704,7 +6910,7 @@ var Hero = React72.forwardRef(function Hero2({
6704
6910
  children: title
6705
6911
  }
6706
6912
  ),
6707
- description && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
6913
+ description && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6708
6914
  "p",
6709
6915
  {
6710
6916
  className: cn(
@@ -6716,7 +6922,7 @@ var Hero = React72.forwardRef(function Hero2({
6716
6922
  children: description
6717
6923
  }
6718
6924
  ),
6719
- actions && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
6925
+ actions && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6720
6926
  "div",
6721
6927
  {
6722
6928
  className: cn(
@@ -6730,7 +6936,7 @@ var Hero = React72.forwardRef(function Hero2({
6730
6936
  }
6731
6937
  );
6732
6938
  if (overlay) {
6733
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
6939
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
6734
6940
  Tag,
6735
6941
  {
6736
6942
  ref,
@@ -6740,7 +6946,7 @@ var Hero = React72.forwardRef(function Hero2({
6740
6946
  ),
6741
6947
  ...props,
6742
6948
  children: [
6743
- media && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
6949
+ media && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6744
6950
  "div",
6745
6951
  {
6746
6952
  className: cn(
@@ -6750,20 +6956,20 @@ var Hero = React72.forwardRef(function Hero2({
6750
6956
  children: media
6751
6957
  }
6752
6958
  ),
6753
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { "aria-hidden": "true", className: "absolute inset-0 -z-10 bg-foreground/60" }),
6754
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "relative w-full px-4 sm:px-6 lg:px-10", children: copy })
6959
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { "aria-hidden": "true", className: "absolute inset-0 -z-10 bg-foreground/60" }),
6960
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "relative w-full px-4 sm:px-6 lg:px-10", children: copy })
6755
6961
  ]
6756
6962
  }
6757
6963
  );
6758
6964
  }
6759
6965
  if (layout === "centered") {
6760
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(Tag, { ref, className: cn("w-full", className), ...props, children: [
6966
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(Tag, { ref, className: cn("w-full", className), ...props, children: [
6761
6967
  copy,
6762
- media && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: cn("mt-12 min-w-0", mediaClassName), children: media })
6968
+ media && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: cn("mt-12 min-w-0", mediaClassName), children: media })
6763
6969
  ] });
6764
6970
  }
6765
6971
  if (layout === "stacked") {
6766
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
6972
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
6767
6973
  Tag,
6768
6974
  {
6769
6975
  ref,
@@ -6771,28 +6977,28 @@ var Hero = React72.forwardRef(function Hero2({
6771
6977
  ...props,
6772
6978
  children: [
6773
6979
  copy,
6774
- media && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: cn("min-w-0 w-full", mediaClassName), children: media })
6980
+ media && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: cn("min-w-0 w-full", mediaClassName), children: media })
6775
6981
  ]
6776
6982
  }
6777
6983
  );
6778
6984
  }
6779
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
6985
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
6780
6986
  Tag,
6781
6987
  {
6782
6988
  ref,
6783
6989
  className: cn("grid w-full items-center gap-10 lg:grid-cols-2 lg:gap-16 xl:gap-20", className),
6784
6990
  ...props,
6785
6991
  children: [
6786
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: cn(mediaPosition === "left" && "lg:order-2"), children: copy }),
6787
- media && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-1", mediaClassName), children: media })
6992
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: cn(mediaPosition === "left" && "lg:order-2"), children: copy }),
6993
+ media && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-1", mediaClassName), children: media })
6788
6994
  ]
6789
6995
  }
6790
6996
  );
6791
6997
  });
6792
6998
 
6793
6999
  // src/components/stat-band/StatBand.tsx
6794
- var React73 = __toESM(require("react"));
6795
- var import_jsx_runtime75 = require("react/jsx-runtime");
7000
+ var React74 = __toESM(require("react"));
7001
+ var import_jsx_runtime76 = require("react/jsx-runtime");
6796
7002
  var columnClasses = {
6797
7003
  2: "sm:grid-cols-2",
6798
7004
  3: "sm:grid-cols-2 lg:grid-cols-3",
@@ -6808,7 +7014,7 @@ var panelValueClasses = {
6808
7014
  md: "text-xl sm:text-2xl",
6809
7015
  lg: "text-2xl sm:text-3xl"
6810
7016
  };
6811
- var StatBand = React73.forwardRef(function StatBand2({
7017
+ var StatBand = React74.forwardRef(function StatBand2({
6812
7018
  items,
6813
7019
  columns = 3,
6814
7020
  align = "center",
@@ -6820,7 +7026,7 @@ var StatBand = React73.forwardRef(function StatBand2({
6820
7026
  ...props
6821
7027
  }, ref) {
6822
7028
  const panel = variant === "panel";
6823
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
7029
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
6824
7030
  "dl",
6825
7031
  {
6826
7032
  ref,
@@ -6832,7 +7038,7 @@ var StatBand = React73.forwardRef(function StatBand2({
6832
7038
  className
6833
7039
  ),
6834
7040
  ...props,
6835
- children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
7041
+ children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
6836
7042
  "div",
6837
7043
  {
6838
7044
  className: cn(
@@ -6841,7 +7047,7 @@ var StatBand = React73.forwardRef(function StatBand2({
6841
7047
  align === "center" ? "items-center text-center" : "items-start text-left"
6842
7048
  ),
6843
7049
  children: [
6844
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
7050
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
6845
7051
  "dt",
6846
7052
  {
6847
7053
  className: cn(
@@ -6850,11 +7056,11 @@ var StatBand = React73.forwardRef(function StatBand2({
6850
7056
  ),
6851
7057
  children: [
6852
7058
  item.label,
6853
- item.hint && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: cn("mt-1 block font-normal", panel ? "text-xs normal-case tracking-normal" : "text-xs"), children: item.hint })
7059
+ item.hint && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: cn("mt-1 block font-normal", panel ? "text-xs normal-case tracking-normal" : "text-xs"), children: item.hint })
6854
7060
  ]
6855
7061
  }
6856
7062
  ),
6857
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
7063
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
6858
7064
  "dd",
6859
7065
  {
6860
7066
  className: cn(
@@ -6874,14 +7080,14 @@ var StatBand = React73.forwardRef(function StatBand2({
6874
7080
  });
6875
7081
 
6876
7082
  // src/components/cta-section/CTASection.tsx
6877
- var React74 = __toESM(require("react"));
6878
- var import_jsx_runtime76 = require("react/jsx-runtime");
7083
+ var React75 = __toESM(require("react"));
7084
+ var import_jsx_runtime77 = require("react/jsx-runtime");
6879
7085
  var sizePadding = {
6880
7086
  sm: "md",
6881
7087
  md: "lg",
6882
7088
  lg: "xl"
6883
7089
  };
6884
- var CTASection = React74.forwardRef(function CTASection2({
7090
+ var CTASection = React75.forwardRef(function CTASection2({
6885
7091
  title,
6886
7092
  description,
6887
7093
  eyebrow,
@@ -6893,7 +7099,7 @@ var CTASection = React74.forwardRef(function CTASection2({
6893
7099
  className,
6894
7100
  ...props
6895
7101
  }, ref) {
6896
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
7102
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
6897
7103
  Section,
6898
7104
  {
6899
7105
  ref,
@@ -6902,7 +7108,7 @@ var CTASection = React74.forwardRef(function CTASection2({
6902
7108
  width,
6903
7109
  className,
6904
7110
  ...props,
6905
- children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
7111
+ children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
6906
7112
  "div",
6907
7113
  {
6908
7114
  className: cn(
@@ -6910,10 +7116,10 @@ var CTASection = React74.forwardRef(function CTASection2({
6910
7116
  align === "center" ? "items-center text-center" : "items-start text-left"
6911
7117
  ),
6912
7118
  children: [
6913
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
6914
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("h2", { className: "max-w-3xl text-3xl font-semibold tracking-tight text-balance sm:text-4xl", children: title }),
6915
- description && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("p", { className: cn("max-w-2xl text-base leading-relaxed text-muted-foreground sm:text-lg"), children: description }),
6916
- actions && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: cn("mt-2 flex flex-wrap items-center gap-3", align === "center" && "justify-center"), children: actions })
7119
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
7120
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("h2", { className: "max-w-3xl text-3xl font-semibold tracking-tight text-balance sm:text-4xl", children: title }),
7121
+ description && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("p", { className: cn("max-w-2xl text-base leading-relaxed text-muted-foreground sm:text-lg"), children: description }),
7122
+ actions && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: cn("mt-2 flex flex-wrap items-center gap-3", align === "center" && "justify-center"), children: actions })
6917
7123
  ]
6918
7124
  }
6919
7125
  )
@@ -6922,10 +7128,10 @@ var CTASection = React74.forwardRef(function CTASection2({
6922
7128
  });
6923
7129
 
6924
7130
  // src/components/comparison-table/ComparisonTable.tsx
6925
- var React75 = __toESM(require("react"));
6926
- var import_jsx_runtime77 = require("react/jsx-runtime");
7131
+ var React76 = __toESM(require("react"));
7132
+ var import_jsx_runtime78 = require("react/jsx-runtime");
6927
7133
  function CheckMark() {
6928
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7134
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
6929
7135
  "svg",
6930
7136
  {
6931
7137
  "aria-hidden": "true",
@@ -6936,12 +7142,12 @@ function CheckMark() {
6936
7142
  strokeLinecap: "round",
6937
7143
  strokeLinejoin: "round",
6938
7144
  className: "mx-auto h-5 w-5 text-success",
6939
- children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("path", { d: "m4 10.5 4 4 8-9" })
7145
+ children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("path", { d: "m4 10.5 4 4 8-9" })
6940
7146
  }
6941
7147
  );
6942
7148
  }
6943
7149
  function DashMark() {
6944
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7150
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
6945
7151
  "svg",
6946
7152
  {
6947
7153
  "aria-hidden": "true",
@@ -6951,11 +7157,11 @@ function DashMark() {
6951
7157
  strokeWidth: "2.2",
6952
7158
  strokeLinecap: "round",
6953
7159
  className: "mx-auto h-5 w-5 text-muted-foreground/60",
6954
- children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("path", { d: "M5 10h10" })
7160
+ children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("path", { d: "M5 10h10" })
6955
7161
  }
6956
7162
  );
6957
7163
  }
6958
- var ComparisonTable = React75.forwardRef(
7164
+ var ComparisonTable = React76.forwardRef(
6959
7165
  function ComparisonTable2({
6960
7166
  columns,
6961
7167
  rows,
@@ -6967,11 +7173,11 @@ var ComparisonTable = React75.forwardRef(
6967
7173
  }, ref) {
6968
7174
  const yes = valueLabels?.yes ?? "Included";
6969
7175
  const no = valueLabels?.no ?? "Not included";
6970
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "w-full overflow-x-auto rounded-xl border border-border bg-card", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("table", { ref, className: cn("w-full border-collapse text-sm", className), ...props, children: [
6971
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("caption", { className: "sr-only", children: caption }),
6972
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("tr", { className: "border-b border-border", children: [
6973
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("th", { scope: "col", className: "min-w-48 px-5 py-4 text-left font-medium text-muted-foreground", children: featureLabel }),
6974
- columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7176
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "w-full overflow-x-auto rounded-xl border border-border bg-card", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("table", { ref, className: cn("w-full border-collapse text-sm", className), ...props, children: [
7177
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("caption", { className: "sr-only", children: caption }),
7178
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("tr", { className: "border-b border-border", children: [
7179
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("th", { scope: "col", className: "min-w-48 px-5 py-4 text-left font-medium text-muted-foreground", children: featureLabel }),
7180
+ columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
6975
7181
  "th",
6976
7182
  {
6977
7183
  scope: "col",
@@ -6984,21 +7190,21 @@ var ComparisonTable = React75.forwardRef(
6984
7190
  column.label
6985
7191
  ))
6986
7192
  ] }) }),
6987
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("tbody", { children: rows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("tr", { className: "border-b border-border last:border-b-0", children: [
6988
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("th", { scope: "row", className: "px-5 py-4 text-left font-medium", children: [
7193
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("tbody", { children: rows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("tr", { className: "border-b border-border last:border-b-0", children: [
7194
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("th", { scope: "row", className: "px-5 py-4 text-left font-medium", children: [
6989
7195
  row.feature,
6990
- row.hint && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "mt-1 block text-xs font-normal text-muted-foreground", children: row.hint })
7196
+ row.hint && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "mt-1 block text-xs font-normal text-muted-foreground", children: row.hint })
6991
7197
  ] }),
6992
7198
  columns.map((column, index) => {
6993
7199
  const value = row.values[index];
6994
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7200
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
6995
7201
  "td",
6996
7202
  {
6997
7203
  className: cn("px-5 py-4 text-center align-middle", column.highlight && "bg-primary/5"),
6998
- children: typeof value === "boolean" ? /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_jsx_runtime77.Fragment, { children: [
6999
- value ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(CheckMark, {}) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(DashMark, {}),
7000
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "sr-only", children: value ? yes : no })
7001
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { children: value ?? "" })
7204
+ children: typeof value === "boolean" ? /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_jsx_runtime78.Fragment, { children: [
7205
+ value ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(CheckMark, {}) : /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(DashMark, {}),
7206
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "sr-only", children: value ? yes : no })
7207
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { children: value ?? "" })
7002
7208
  },
7003
7209
  `${row.feature}-${column.label}`
7004
7210
  );
@@ -7009,8 +7215,8 @@ var ComparisonTable = React75.forwardRef(
7009
7215
  );
7010
7216
 
7011
7217
  // src/components/logo-cloud/LogoCloud.tsx
7012
- var React76 = __toESM(require("react"));
7013
- var import_jsx_runtime78 = require("react/jsx-runtime");
7218
+ var React77 = __toESM(require("react"));
7219
+ var import_jsx_runtime79 = require("react/jsx-runtime");
7014
7220
  var columnClasses2 = {
7015
7221
  3: "grid-cols-2 sm:grid-cols-3",
7016
7222
  4: "grid-cols-2 sm:grid-cols-4",
@@ -7022,7 +7228,7 @@ var sizeClasses9 = {
7022
7228
  md: "h-8",
7023
7229
  lg: "h-12"
7024
7230
  };
7025
- var LogoCloud = React76.forwardRef(function LogoCloud2({
7231
+ var LogoCloud = React77.forwardRef(function LogoCloud2({
7026
7232
  items,
7027
7233
  caption,
7028
7234
  columns = 4,
@@ -7040,8 +7246,8 @@ var LogoCloud = React76.forwardRef(function LogoCloud2({
7040
7246
  sizeClasses9[size],
7041
7247
  grayscale && "opacity-70 grayscale hover:opacity-100 hover:grayscale-0"
7042
7248
  );
7043
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { ref, className: cn("w-full", className), ...props, children: [
7044
- caption && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
7249
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { ref, className: cn("w-full", className), ...props, children: [
7250
+ caption && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
7045
7251
  "p",
7046
7252
  {
7047
7253
  className: cn(
@@ -7051,12 +7257,12 @@ var LogoCloud = React76.forwardRef(function LogoCloud2({
7051
7257
  children: caption
7052
7258
  }
7053
7259
  ),
7054
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("ul", { className: cn("grid items-center gap-x-8 gap-y-6", columnClasses2[columns], align === "center" && "justify-items-center"), children: items.map((item) => {
7055
- const content = /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_jsx_runtime78.Fragment, { children: [
7056
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: logoClass, "aria-hidden": "true", children: item.logo }),
7057
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "sr-only", children: item.name })
7260
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("ul", { className: cn("grid items-center gap-x-8 gap-y-6", columnClasses2[columns], align === "center" && "justify-items-center"), children: items.map((item) => {
7261
+ const content = /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_jsx_runtime79.Fragment, { children: [
7262
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: logoClass, "aria-hidden": "true", children: item.logo }),
7263
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "sr-only", children: item.name })
7058
7264
  ] });
7059
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("li", { className: cn("min-w-0", align === "center" ? "justify-self-center" : "justify-self-start"), children: item.href ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
7265
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("li", { className: cn("min-w-0", align === "center" ? "justify-self-center" : "justify-self-start"), children: item.href ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
7060
7266
  Link3,
7061
7267
  {
7062
7268
  ...linkHrefProp === "to" ? { to: item.href } : { href: item.href },
@@ -7069,41 +7275,41 @@ var LogoCloud = React76.forwardRef(function LogoCloud2({
7069
7275
  });
7070
7276
 
7071
7277
  // src/components/feature-grid/FeatureGrid.tsx
7072
- var React77 = __toESM(require("react"));
7073
- var import_jsx_runtime79 = require("react/jsx-runtime");
7278
+ var React78 = __toESM(require("react"));
7279
+ var import_jsx_runtime80 = require("react/jsx-runtime");
7074
7280
  var columnClasses3 = {
7075
7281
  2: "sm:grid-cols-2",
7076
7282
  3: "sm:grid-cols-2 lg:grid-cols-3",
7077
7283
  4: "sm:grid-cols-2 lg:grid-cols-4"
7078
7284
  };
7079
- var FeatureGrid = React77.forwardRef(function FeatureGrid2({ features, columns = 3, variant = "card", align = "left", linkComponent, className, ...props }, ref) {
7285
+ var FeatureGrid = React78.forwardRef(function FeatureGrid2({ features, columns = 3, variant = "card", align = "left", linkComponent, className, ...props }, ref) {
7080
7286
  const Link3 = linkComponent ?? "a";
7081
7287
  const cardClass = cn(
7082
7288
  "group flex h-full flex-col gap-3 rounded-xl p-6",
7083
7289
  variant === "card" && "border border-border bg-card shadow-sm transition-colors hover:border-primary/40",
7084
7290
  align === "center" && "items-center text-center"
7085
7291
  );
7086
- const content = (feature) => /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_jsx_runtime79.Fragment, { children: [
7087
- feature.icon && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-5", children: feature.icon }),
7088
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("h3", { className: "text-base font-semibold tracking-tight", children: feature.title }),
7089
- feature.description && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("p", { className: "text-sm leading-relaxed text-muted-foreground", children: feature.description }),
7090
- feature.href && feature.actionLabel && /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("span", { className: "mt-auto pt-2 text-sm font-medium text-primary-ink", children: [
7292
+ const content = (feature) => /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_jsx_runtime80.Fragment, { children: [
7293
+ feature.icon && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-5", children: feature.icon }),
7294
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("h3", { className: "text-base font-semibold tracking-tight", children: feature.title }),
7295
+ feature.description && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "text-sm leading-relaxed text-muted-foreground", children: feature.description }),
7296
+ feature.href && feature.actionLabel && /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("span", { className: "mt-auto pt-2 text-sm font-medium text-primary-ink", children: [
7091
7297
  feature.actionLabel,
7092
7298
  " ",
7093
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { "aria-hidden": "true", children: "\u2192" })
7299
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { "aria-hidden": "true", children: "\u2192" })
7094
7300
  ] })
7095
7301
  ] });
7096
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("ul", { ref, className: cn("grid gap-6", columnClasses3[columns], className), ...props, children: features.map((feature) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("li", { className: "min-w-0", children: feature.href ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Link3, { href: feature.href, className: cn(cardClass, "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"), children: content(feature) }) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: cardClass, children: content(feature) }) }, feature.title)) });
7302
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("ul", { ref, className: cn("grid gap-6", columnClasses3[columns], className), ...props, children: features.map((feature) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("li", { className: "min-w-0", children: feature.href ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Link3, { href: feature.href, className: cn(cardClass, "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"), children: content(feature) }) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: cardClass, children: content(feature) }) }, feature.title)) });
7097
7303
  });
7098
7304
 
7099
7305
  // src/components/feature-row/FeatureRow.tsx
7100
- var React78 = __toESM(require("react"));
7101
- var import_jsx_runtime80 = require("react/jsx-runtime");
7306
+ var React79 = __toESM(require("react"));
7307
+ var import_jsx_runtime81 = require("react/jsx-runtime");
7102
7308
  var titleSizes2 = {
7103
7309
  md: "text-3xl",
7104
7310
  lg: "text-3xl sm:text-4xl"
7105
7311
  };
7106
- var FeatureRow = React78.forwardRef(function FeatureRow2({
7312
+ var FeatureRow = React79.forwardRef(function FeatureRow2({
7107
7313
  title,
7108
7314
  description,
7109
7315
  eyebrow,
@@ -7116,35 +7322,35 @@ var FeatureRow = React78.forwardRef(function FeatureRow2({
7116
7322
  ...props
7117
7323
  }, ref) {
7118
7324
  const Heading2 = `h${level}`;
7119
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
7325
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
7120
7326
  "div",
7121
7327
  {
7122
7328
  ref,
7123
7329
  className: cn("grid items-center gap-10 lg:grid-cols-2 lg:gap-16", className),
7124
7330
  ...props,
7125
7331
  children: [
7126
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-2"), children: [
7127
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "mb-3 text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
7128
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Heading2, { className: cn("font-semibold tracking-tight text-balance", titleSizes2[size]), children: title }),
7129
- description && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "mt-4 max-w-xl text-base leading-relaxed text-muted-foreground sm:text-lg", children: description }),
7130
- actions && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "mt-7 flex flex-wrap items-center gap-3", children: actions })
7332
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-2"), children: [
7333
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "mb-3 text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
7334
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Heading2, { className: cn("font-semibold tracking-tight text-balance", titleSizes2[size]), children: title }),
7335
+ description && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "mt-4 max-w-xl text-base leading-relaxed text-muted-foreground sm:text-lg", children: description }),
7336
+ actions && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "mt-7 flex flex-wrap items-center gap-3", children: actions })
7131
7337
  ] }),
7132
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-1"), children: media })
7338
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-1"), children: media })
7133
7339
  ]
7134
7340
  }
7135
7341
  );
7136
7342
  });
7137
7343
 
7138
7344
  // src/components/testimonial/Testimonial.tsx
7139
- var React79 = __toESM(require("react"));
7140
- var import_jsx_runtime81 = require("react/jsx-runtime");
7345
+ var React80 = __toESM(require("react"));
7346
+ var import_jsx_runtime82 = require("react/jsx-runtime");
7141
7347
  var quoteSizes = {
7142
7348
  sm: "text-base",
7143
7349
  md: "text-lg",
7144
7350
  lg: "text-xl sm:text-2xl"
7145
7351
  };
7146
- var Testimonial = React79.forwardRef(function Testimonial2({ quote, name, role, company, avatar, logo, variant = "card", size = "md", className, ...props }, ref) {
7147
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
7352
+ var Testimonial = React80.forwardRef(function Testimonial2({ quote, name, role, company, avatar, logo, variant = "card", size = "md", className, ...props }, ref) {
7353
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
7148
7354
  "figure",
7149
7355
  {
7150
7356
  ref,
@@ -7155,17 +7361,17 @@ var Testimonial = React79.forwardRef(function Testimonial2({ quote, name, role,
7155
7361
  ),
7156
7362
  ...props,
7157
7363
  children: [
7158
- logo && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "flex items-center", children: logo }),
7159
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("blockquote", { className: cn("flex-1 leading-relaxed", quoteSizes[size]), children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("p", { children: [
7364
+ logo && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "flex items-center", children: logo }),
7365
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("blockquote", { className: cn("flex-1 leading-relaxed", quoteSizes[size]), children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("p", { children: [
7160
7366
  "\u201C",
7161
7367
  quote,
7162
7368
  "\u201D"
7163
7369
  ] }) }),
7164
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("figcaption", { className: "flex items-center gap-3", children: [
7165
- avatar && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "shrink-0", children: avatar }),
7166
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "min-w-0", children: [
7167
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "text-sm font-semibold", children: name }),
7168
- (role || company) && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "text-xs text-muted-foreground", children: [role, company].filter(Boolean).join(", ") })
7370
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("figcaption", { className: "flex items-center gap-3", children: [
7371
+ avatar && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "shrink-0", children: avatar }),
7372
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "min-w-0", children: [
7373
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "text-sm font-semibold", children: name }),
7374
+ (role || company) && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "text-xs text-muted-foreground", children: [role, company].filter(Boolean).join(", ") })
7169
7375
  ] })
7170
7376
  ] })
7171
7377
  ]
@@ -7174,24 +7380,24 @@ var Testimonial = React79.forwardRef(function Testimonial2({ quote, name, role,
7174
7380
  });
7175
7381
 
7176
7382
  // src/components/process-steps/ProcessSteps.tsx
7177
- var React80 = __toESM(require("react"));
7178
- var import_jsx_runtime82 = require("react/jsx-runtime");
7383
+ var React81 = __toESM(require("react"));
7384
+ var import_jsx_runtime83 = require("react/jsx-runtime");
7179
7385
  var columnClasses4 = {
7180
7386
  2: "sm:grid-cols-2",
7181
7387
  3: "sm:grid-cols-2 lg:grid-cols-3",
7182
7388
  4: "sm:grid-cols-2 lg:grid-cols-4"
7183
7389
  };
7184
- var ProcessSteps = React80.forwardRef(function ProcessSteps2({ steps, columns = 3, numbered = true, align = "left", headingLevel = 3, className, ...props }, ref) {
7390
+ var ProcessSteps = React81.forwardRef(function ProcessSteps2({ steps, columns = 3, numbered = true, align = "left", headingLevel = 3, className, ...props }, ref) {
7185
7391
  const HeadingTag = { 2: "h2", 3: "h3", 4: "h4" }[headingLevel];
7186
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("ol", { ref, className: cn("grid gap-8", columnClasses4[columns], className), ...props, children: steps.map((step, index) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
7392
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("ol", { ref, className: cn("grid gap-8", columnClasses4[columns], className), ...props, children: steps.map((step, index) => /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
7187
7393
  "li",
7188
7394
  {
7189
7395
  className: cn("flex min-w-0 flex-col gap-4", align === "center" && "items-center text-center"),
7190
7396
  children: [
7191
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-primary/10 text-sm font-semibold text-primary-ink [&_svg]:size-5", children: step.icon ?? (numbered ? String(index + 1).padStart(2, "0") : null) }),
7192
- /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "min-w-0", children: [
7193
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(HeadingTag, { className: "text-base font-semibold tracking-tight", children: step.title }),
7194
- step.description && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "mt-1 text-sm leading-relaxed text-muted-foreground", children: step.description })
7397
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-primary/10 text-sm font-semibold text-primary-ink [&_svg]:size-5", children: step.icon ?? (numbered ? String(index + 1).padStart(2, "0") : null) }),
7398
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: "min-w-0", children: [
7399
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(HeadingTag, { className: "text-base font-semibold tracking-tight", children: step.title }),
7400
+ step.description && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "mt-1 text-sm leading-relaxed text-muted-foreground", children: step.description })
7195
7401
  ] })
7196
7402
  ]
7197
7403
  },
@@ -7200,9 +7406,9 @@ var ProcessSteps = React80.forwardRef(function ProcessSteps2({ steps, columns =
7200
7406
  });
7201
7407
 
7202
7408
  // src/components/article-card/ArticleCard.tsx
7203
- var React81 = __toESM(require("react"));
7204
- var import_jsx_runtime83 = require("react/jsx-runtime");
7205
- var ArticleCard = React81.forwardRef(function ArticleCard2({
7409
+ var React82 = __toESM(require("react"));
7410
+ var import_jsx_runtime84 = require("react/jsx-runtime");
7411
+ var ArticleCard = React82.forwardRef(function ArticleCard2({
7206
7412
  title,
7207
7413
  description,
7208
7414
  href,
@@ -7216,7 +7422,7 @@ var ArticleCard = React81.forwardRef(function ArticleCard2({
7216
7422
  }, ref) {
7217
7423
  const Link3 = linkComponent ?? "a";
7218
7424
  const compact = variant === "compact";
7219
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("article", { ref, className: cn("h-full", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
7425
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("article", { ref, className: cn("h-full", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
7220
7426
  Link3,
7221
7427
  {
7222
7428
  href,
@@ -7225,22 +7431,71 @@ var ArticleCard = React81.forwardRef(function ArticleCard2({
7225
7431
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
7226
7432
  ),
7227
7433
  children: [
7228
- media && !compact && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "aspect-[16/10] w-full overflow-hidden bg-muted [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: media }),
7229
- /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: cn("flex flex-1 flex-col gap-2", compact ? "p-4" : "p-5"), children: [
7230
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
7231
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("h3", { className: cn("font-semibold tracking-tight transition-colors group-hover:text-primary-ink", compact ? "text-base" : "text-lg"), children: title }),
7232
- description && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
7233
- meta && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "mt-auto pt-2 text-xs text-muted-foreground", children: meta })
7434
+ media && !compact && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "aspect-[16/10] w-full overflow-hidden bg-muted [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: media }),
7435
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: cn("flex flex-1 flex-col gap-2", compact ? "p-4" : "p-5"), children: [
7436
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
7437
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("h3", { className: cn("font-semibold tracking-tight transition-colors group-hover:text-primary-ink", compact ? "text-base" : "text-lg"), children: title }),
7438
+ description && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
7439
+ meta && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "mt-auto pt-2 text-xs text-muted-foreground", children: meta })
7234
7440
  ] })
7235
7441
  ]
7236
7442
  }
7237
7443
  ) });
7238
7444
  });
7239
7445
 
7446
+ // src/components/media-card/MediaCard.tsx
7447
+ var React83 = __toESM(require("react"));
7448
+ var import_jsx_runtime85 = require("react/jsx-runtime");
7449
+ var MediaCard = React83.forwardRef(function MediaCard2({
7450
+ title,
7451
+ description,
7452
+ href,
7453
+ cover,
7454
+ meta,
7455
+ chips,
7456
+ footer,
7457
+ layout = "vertical",
7458
+ linkComponent,
7459
+ linkHrefProp = "href",
7460
+ className,
7461
+ ...props
7462
+ }, ref) {
7463
+ const Link3 = linkComponent ?? "a";
7464
+ const destination = href ? linkHrefProp === "to" ? { to: href } : { href } : void 0;
7465
+ const row = layout === "row";
7466
+ const body = /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
7467
+ cover && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
7468
+ CoverImage,
7469
+ {
7470
+ ...cover,
7471
+ className: cn(
7472
+ row ? "w-36 shrink-0 sm:w-44" : "w-full",
7473
+ !row && "rounded-none border-b border-border"
7474
+ )
7475
+ }
7476
+ ),
7477
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: cn("flex min-w-0 flex-1 flex-col gap-2", row ? "p-4" : "p-5"), children: [
7478
+ chips && chips.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "flex flex-wrap gap-1.5", children: chips.map((chip) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Badge, { variant: chip.variant ?? "outline", size: "sm", dot: chip.dot, children: chip.label }, chip.label)) }),
7479
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("h3", { className: "font-semibold tracking-tight transition-colors group-hover:text-primary-ink", children: title }),
7480
+ description && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
7481
+ meta && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "text-xs text-muted-foreground", children: meta }),
7482
+ footer && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "mt-auto pt-2 text-xs text-muted-foreground", children: footer })
7483
+ ] })
7484
+ ] });
7485
+ const cardClass = cn(
7486
+ "group flex h-full overflow-hidden rounded-xl border border-border bg-card shadow-sm transition-colors hover:border-primary/40",
7487
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
7488
+ row ? "flex-row" : "flex-col",
7489
+ className
7490
+ );
7491
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("article", { ref, className: "h-full", ...props, children: href && destination ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Link3, { ...destination, className: cardClass, children: body }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: cardClass, children: body }) });
7492
+ });
7493
+ MediaCard.displayName = "MediaCard";
7494
+
7240
7495
  // src/components/newsletter/Newsletter.tsx
7241
- var React82 = __toESM(require("react"));
7242
- var import_jsx_runtime84 = require("react/jsx-runtime");
7243
- var Newsletter = React82.forwardRef(function Newsletter2({
7496
+ var React84 = __toESM(require("react"));
7497
+ var import_jsx_runtime86 = require("react/jsx-runtime");
7498
+ var Newsletter = React84.forwardRef(function Newsletter2({
7244
7499
  title,
7245
7500
  description,
7246
7501
  placeholder = "you@example.com",
@@ -7255,9 +7510,9 @@ var Newsletter = React82.forwardRef(function Newsletter2({
7255
7510
  className,
7256
7511
  ...props
7257
7512
  }, ref) {
7258
- const id = React82.useId();
7259
- const [email, setEmail] = React82.useState("");
7260
- const [status, setStatus] = React82.useState("idle");
7513
+ const id = React84.useId();
7514
+ const [email, setEmail] = React84.useState("");
7515
+ const [status, setStatus] = React84.useState("idle");
7261
7516
  const Heading2 = `h${level}`;
7262
7517
  const handleSubmit = async (event) => {
7263
7518
  event.preventDefault();
@@ -7271,13 +7526,13 @@ var Newsletter = React82.forwardRef(function Newsletter2({
7271
7526
  setStatus("error");
7272
7527
  }
7273
7528
  };
7274
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "w-full", children: [
7275
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Heading2, { className: "text-2xl font-semibold tracking-tight", children: title }),
7276
- description && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("p", { className: "mt-2 max-w-2xl text-sm leading-relaxed text-muted-foreground", children: description }),
7277
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("form", { ref, onSubmit: handleSubmit, className: cn("mt-5", className), ...props, children: [
7278
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: cn("flex gap-2", layout === "inline" ? "flex-col sm:flex-row" : "flex-col"), children: [
7279
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("label", { htmlFor: id, className: "sr-only", children: label }),
7280
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
7529
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "w-full", children: [
7530
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Heading2, { className: "text-2xl font-semibold tracking-tight", children: title }),
7531
+ description && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "mt-2 max-w-2xl text-sm leading-relaxed text-muted-foreground", children: description }),
7532
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("form", { ref, onSubmit: handleSubmit, className: cn("mt-5", className), ...props, children: [
7533
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: cn("flex gap-2", layout === "inline" ? "flex-col sm:flex-row" : "flex-col"), children: [
7534
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("label", { htmlFor: id, className: "sr-only", children: label }),
7535
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
7281
7536
  Input,
7282
7537
  {
7283
7538
  id,
@@ -7292,44 +7547,44 @@ var Newsletter = React82.forwardRef(function Newsletter2({
7292
7547
  className: "sm:flex-1"
7293
7548
  }
7294
7549
  ),
7295
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Button, { type: "submit", loading: status === "loading", className: "shrink-0", children: buttonLabel })
7550
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Button, { type: "submit", loading: status === "loading", className: "shrink-0", children: buttonLabel })
7296
7551
  ] }),
7297
- consent && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "mt-3 text-xs leading-relaxed text-muted-foreground", children: consent }),
7298
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { "aria-live": "polite", className: "mt-2 min-h-5 text-sm", children: [
7299
- status === "success" && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("p", { className: "text-success", children: successMessage }),
7300
- status === "error" && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("p", { role: "alert", className: "text-destructive", children: errorMessage })
7552
+ consent && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "mt-3 text-xs leading-relaxed text-muted-foreground", children: consent }),
7553
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { "aria-live": "polite", className: "mt-2 min-h-5 text-sm", children: [
7554
+ status === "success" && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "text-success", children: successMessage }),
7555
+ status === "error" && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { role: "alert", className: "text-destructive", children: errorMessage })
7301
7556
  ] })
7302
7557
  ] })
7303
7558
  ] });
7304
7559
  });
7305
7560
 
7306
7561
  // src/components/contact-strip/ContactStrip.tsx
7307
- var React83 = __toESM(require("react"));
7308
- var import_jsx_runtime85 = require("react/jsx-runtime");
7562
+ var React85 = __toESM(require("react"));
7563
+ var import_jsx_runtime87 = require("react/jsx-runtime");
7309
7564
  var columnClasses5 = {
7310
7565
  2: "sm:grid-cols-2",
7311
7566
  3: "sm:grid-cols-3"
7312
7567
  };
7313
- var ContactStrip = React83.forwardRef(function ContactStrip2({ items, columns = 2, align = "left", linkComponent, className, ...props }, ref) {
7568
+ var ContactStrip = React85.forwardRef(function ContactStrip2({ items, columns = 2, align = "left", linkComponent, className, ...props }, ref) {
7314
7569
  const Link3 = linkComponent ?? "a";
7315
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("ul", { ref, className: cn("grid gap-6", columnClasses5[columns], className), ...props, children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("li", { className: cn("flex min-w-0 items-start gap-3", align === "center" && "justify-center text-center"), children: [
7316
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: "mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-4", children: item.icon }),
7317
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "min-w-0", children: [
7318
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: item.label }),
7319
- item.href ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Link3, { href: item.href, className: "mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline", children: item.value }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
7570
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("ul", { ref, className: cn("grid gap-6", columnClasses5[columns], className), ...props, children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("li", { className: cn("flex min-w-0 items-start gap-3", align === "center" && "justify-center text-center"), children: [
7571
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-4", children: item.icon }),
7572
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "min-w-0", children: [
7573
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: item.label }),
7574
+ item.href ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Link3, { href: item.href, className: "mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline", children: item.value }) : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
7320
7575
  ] })
7321
7576
  ] }, item.label)) });
7322
7577
  });
7323
7578
 
7324
7579
  // src/components/announcement-bar/AnnouncementBar.tsx
7325
- var React84 = __toESM(require("react"));
7326
- var import_jsx_runtime86 = require("react/jsx-runtime");
7580
+ var React86 = __toESM(require("react"));
7581
+ var import_jsx_runtime88 = require("react/jsx-runtime");
7327
7582
  var toneClasses3 = {
7328
7583
  muted: "bg-muted text-foreground",
7329
7584
  brand: "bg-primary text-primary-foreground",
7330
7585
  inverse: "bg-inverse text-inverse-foreground"
7331
7586
  };
7332
- var AnnouncementBar = React84.forwardRef(
7587
+ var AnnouncementBar = React86.forwardRef(
7333
7588
  function AnnouncementBar2({
7334
7589
  message,
7335
7590
  href,
@@ -7342,14 +7597,14 @@ var AnnouncementBar = React84.forwardRef(
7342
7597
  className,
7343
7598
  ...props
7344
7599
  }, ref) {
7345
- const [dismissed, setDismissed] = React84.useState(false);
7600
+ const [dismissed, setDismissed] = React86.useState(false);
7346
7601
  const Link3 = linkComponent ?? "a";
7347
7602
  if (dismissed) return null;
7348
7603
  const dismiss2 = () => {
7349
7604
  setDismissed(true);
7350
7605
  onDismiss?.();
7351
7606
  };
7352
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
7607
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7353
7608
  "div",
7354
7609
  {
7355
7610
  ref,
@@ -7362,9 +7617,9 @@ var AnnouncementBar = React84.forwardRef(
7362
7617
  className
7363
7618
  ),
7364
7619
  ...props,
7365
- children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "mx-auto flex w-full max-w-7xl items-center justify-center gap-3 px-4 py-2 text-sm sm:px-6", children: [
7366
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "min-w-0 text-center", children: message }),
7367
- href && actionLabel && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
7620
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "mx-auto flex w-full max-w-7xl items-center justify-center gap-3 px-4 py-2 text-sm sm:px-6", children: [
7621
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: "min-w-0 text-center", children: message }),
7622
+ href && actionLabel && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7368
7623
  Link3,
7369
7624
  {
7370
7625
  href,
@@ -7372,14 +7627,14 @@ var AnnouncementBar = React84.forwardRef(
7372
7627
  children: actionLabel
7373
7628
  }
7374
7629
  ),
7375
- dismissible && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
7630
+ dismissible && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7376
7631
  "button",
7377
7632
  {
7378
7633
  type: "button",
7379
7634
  onClick: dismiss2,
7380
7635
  "aria-label": "Dismiss announcement",
7381
7636
  className: "shrink-0 rounded p-1 opacity-70 transition-opacity hover:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-current",
7382
- children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
7637
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
7383
7638
  }
7384
7639
  )
7385
7640
  ] })
@@ -7389,15 +7644,15 @@ var AnnouncementBar = React84.forwardRef(
7389
7644
  );
7390
7645
 
7391
7646
  // src/components/deal-card/DealCard.tsx
7392
- var React85 = __toESM(require("react"));
7393
- var import_jsx_runtime87 = require("react/jsx-runtime");
7647
+ var React87 = __toESM(require("react"));
7648
+ var import_jsx_runtime89 = require("react/jsx-runtime");
7394
7649
  var statusConfig = {
7395
7650
  available: { label: "Available", variant: "success" },
7396
7651
  "under-nda": { label: "Under NDA", variant: "info" },
7397
7652
  closed: { label: "Closed", variant: "secondary" },
7398
7653
  draft: { label: "Draft", variant: "outline" }
7399
7654
  };
7400
- var DealCard = React85.forwardRef(function DealCard2({
7655
+ var DealCard = React87.forwardRef(function DealCard2({
7401
7656
  title,
7402
7657
  sector,
7403
7658
  location,
@@ -7418,29 +7673,29 @@ var DealCard = React85.forwardRef(function DealCard2({
7418
7673
  }, ref) {
7419
7674
  const Link3 = linkComponent ?? "a";
7420
7675
  const statusInfo = statusConfig[status];
7421
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(Card, { ref, className: cn("flex h-full flex-col overflow-hidden", className), ...props, children: [
7422
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(CardHeader, { className: "gap-2 p-5 pb-3", children: [
7423
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-start justify-between gap-2", children: [
7424
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: sector }),
7425
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label })
7676
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(Card, { ref, className: cn("flex h-full flex-col overflow-hidden", className), ...props, children: [
7677
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(CardHeader, { className: "gap-2 p-5 pb-3", children: [
7678
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "flex items-start justify-between gap-2", children: [
7679
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: sector }),
7680
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label })
7426
7681
  ] }),
7427
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("h3", { className: "text-lg font-semibold leading-snug tracking-tight", children: href ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Link3, { href, className: "rounded-sm hover:text-primary-ink focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", children: title }) : title }),
7428
- location && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: "text-xs text-muted-foreground", children: location })
7682
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("h3", { className: "text-lg font-semibold leading-snug tracking-tight", children: href ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Link3, { href, className: "rounded-sm hover:text-primary-ink focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", children: title }) : title }),
7683
+ location && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { className: "text-xs text-muted-foreground", children: location })
7429
7684
  ] }),
7430
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(CardContent, { className: "flex-1 px-5 pb-3", children: [
7431
- description && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: "line-clamp-2 text-sm leading-relaxed text-muted-foreground", children: description }),
7432
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("dl", { className: "mt-4 grid grid-cols-3 gap-3", children: metrics.map((metric) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "min-w-0", children: [
7433
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("dt", { className: "text-xs text-muted-foreground", children: metric.label }),
7434
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("dd", { className: "mt-0.5 truncate text-sm font-semibold tabular-nums", children: metric.value })
7685
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(CardContent, { className: "flex-1 px-5 pb-3", children: [
7686
+ description && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { className: "line-clamp-2 text-sm leading-relaxed text-muted-foreground", children: description }),
7687
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("dl", { className: "mt-4 grid grid-cols-3 gap-3", children: metrics.map((metric) => /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "min-w-0", children: [
7688
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("dt", { className: "text-xs text-muted-foreground", children: metric.label }),
7689
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("dd", { className: "mt-0.5 truncate text-sm font-semibold tabular-nums", children: metric.value })
7435
7690
  ] }, metric.label)) }),
7436
- (ndaAvailable || cimAvailable) && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "mt-4 flex flex-wrap gap-1.5", children: [
7437
- ndaAvailable && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Badge, { variant: "info", children: "NDA available" }),
7438
- cimAvailable && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Badge, { variant: "secondary", children: "CIM available" })
7691
+ (ndaAvailable || cimAvailable) && /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "mt-4 flex flex-wrap gap-1.5", children: [
7692
+ ndaAvailable && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Badge, { variant: "info", children: "NDA available" }),
7693
+ cimAvailable && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Badge, { variant: "secondary", children: "CIM available" })
7439
7694
  ] })
7440
7695
  ] }),
7441
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(CardFooter, { className: "flex flex-wrap items-center gap-2 border-t border-border px-5 py-3", children: [
7442
- onRequestAccess && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Button, { type: "button", size: "sm", onClick: onRequestAccess, children: requestLabel }),
7443
- onSave && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
7696
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(CardFooter, { className: "flex flex-wrap items-center gap-2 border-t border-border px-5 py-3", children: [
7697
+ onRequestAccess && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { type: "button", size: "sm", onClick: onRequestAccess, children: requestLabel }),
7698
+ onSave && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7444
7699
  Button,
7445
7700
  {
7446
7701
  type: "button",
@@ -7457,12 +7712,12 @@ var DealCard = React85.forwardRef(function DealCard2({
7457
7712
  });
7458
7713
 
7459
7714
  // src/components/entity-card/EntityCard.tsx
7460
- var React86 = __toESM(require("react"));
7461
- var import_jsx_runtime88 = require("react/jsx-runtime");
7715
+ var React88 = __toESM(require("react"));
7716
+ var import_jsx_runtime90 = require("react/jsx-runtime");
7462
7717
  function initials(name) {
7463
7718
  return name.split(/\s+/).filter(Boolean).slice(0, 2).map((part) => part[0]?.toUpperCase() ?? "").join("");
7464
7719
  }
7465
- var EntityCard = React86.forwardRef(function EntityCard2({
7720
+ var EntityCard = React88.forwardRef(function EntityCard2({
7466
7721
  name,
7467
7722
  entityType,
7468
7723
  location,
@@ -7480,11 +7735,11 @@ var EntityCard = React86.forwardRef(function EntityCard2({
7480
7735
  const Link3 = linkComponent ?? "a";
7481
7736
  const stretched = Boolean(cardHref);
7482
7737
  const nameHref = cardHref ?? href;
7483
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(Card, { ref, className: cn("flex h-full flex-col", stretched && "relative isolate", className), ...props, children: [
7484
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(CardHeader, { className: "flex-row items-start gap-3 p-5 pb-3", children: [
7485
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "shrink-0", children: logo ?? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Avatar, { children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(AvatarFallback, { children: initials(name) }) }) }),
7486
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "min-w-0 flex-1", children: [
7487
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("h3", { className: "truncate text-base font-semibold tracking-tight", children: nameHref ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7738
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(Card, { ref, className: cn("flex h-full flex-col", stretched && "relative isolate", className), ...props, children: [
7739
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(CardHeader, { className: "flex-row items-start gap-3 p-5 pb-3", children: [
7740
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "shrink-0", children: logo ?? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Avatar, { children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(AvatarFallback, { children: initials(name) }) }) }),
7741
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "min-w-0 flex-1", children: [
7742
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("h3", { className: "truncate text-base font-semibold tracking-tight", children: nameHref ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
7488
7743
  Link3,
7489
7744
  {
7490
7745
  href: nameHref,
@@ -7495,20 +7750,20 @@ var EntityCard = React86.forwardRef(function EntityCard2({
7495
7750
  children: name
7496
7751
  }
7497
7752
  ) : name }),
7498
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: entityType }),
7499
- location && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: location })
7753
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: entityType }),
7754
+ location && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: location })
7500
7755
  ] })
7501
7756
  ] }),
7502
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(CardContent, { className: "flex-1 px-5 pb-3", children: [
7503
- description && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
7504
- tags && tags.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "mt-3 flex flex-wrap gap-1.5", children: tags.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Badge, { variant: "secondary", children: tag }, tag)) }),
7505
- stats && stats.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("dl", { className: "mt-4 grid grid-cols-2 gap-3", children: stats.map((stat) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "min-w-0", children: [
7506
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("dt", { className: "text-xs text-muted-foreground", children: stat.label }),
7507
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("dd", { className: "mt-0.5 truncate text-sm font-semibold tabular-nums", children: stat.value })
7757
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(CardContent, { className: "flex-1 px-5 pb-3", children: [
7758
+ description && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
7759
+ tags && tags.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "mt-3 flex flex-wrap gap-1.5", children: tags.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Badge, { variant: "secondary", children: tag }, tag)) }),
7760
+ stats && stats.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("dl", { className: "mt-4 grid grid-cols-2 gap-3", children: stats.map((stat) => /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "min-w-0", children: [
7761
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("dt", { className: "text-xs text-muted-foreground", children: stat.label }),
7762
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("dd", { className: "mt-0.5 truncate text-sm font-semibold tabular-nums", children: stat.value })
7508
7763
  ] }, stat.label)) })
7509
7764
  ] }),
7510
- (href && !stretched || actions) && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(CardFooter, { className: cn("flex flex-wrap items-center gap-2 border-t border-border px-5 py-3", stretched && "relative z-10"), children: [
7511
- href && !stretched && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7765
+ (href && !stretched || actions) && /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(CardFooter, { className: cn("flex flex-wrap items-center gap-2 border-t border-border px-5 py-3", stretched && "relative z-10"), children: [
7766
+ href && !stretched && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
7512
7767
  Link3,
7513
7768
  {
7514
7769
  href,
@@ -7516,21 +7771,21 @@ var EntityCard = React86.forwardRef(function EntityCard2({
7516
7771
  children: "View profile"
7517
7772
  }
7518
7773
  ),
7519
- actions && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "ml-auto flex items-center gap-2", children: actions })
7774
+ actions && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "ml-auto flex items-center gap-2", children: actions })
7520
7775
  ] })
7521
7776
  ] });
7522
7777
  });
7523
7778
  var ProfileCard = EntityCard;
7524
7779
 
7525
7780
  // src/components/tombstone-card/TombstoneCard.tsx
7526
- var React87 = __toESM(require("react"));
7527
- var import_jsx_runtime89 = require("react/jsx-runtime");
7781
+ var React89 = __toESM(require("react"));
7782
+ var import_jsx_runtime91 = require("react/jsx-runtime");
7528
7783
  var statusConfig2 = {
7529
7784
  archived: { label: "Archived", variant: "secondary" },
7530
7785
  unavailable: { label: "Unavailable", variant: "warning" },
7531
7786
  closed: { label: "Closed", variant: "outline" }
7532
7787
  };
7533
- var TombstoneCard = React87.forwardRef(function TombstoneCard2({
7788
+ var TombstoneCard = React89.forwardRef(function TombstoneCard2({
7534
7789
  title,
7535
7790
  reason,
7536
7791
  status = "unavailable",
@@ -7543,20 +7798,20 @@ var TombstoneCard = React87.forwardRef(function TombstoneCard2({
7543
7798
  }, ref) {
7544
7799
  const Link3 = linkComponent ?? "a";
7545
7800
  const statusInfo = statusConfig2[status];
7546
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7801
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
7547
7802
  Card,
7548
7803
  {
7549
7804
  ref,
7550
7805
  className: cn("flex h-full flex-col border-dashed bg-muted/30 shadow-none", className),
7551
7806
  ...props,
7552
- children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(CardContent, { className: "flex flex-1 flex-col gap-3 p-5", children: [
7553
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "flex items-start justify-between gap-2", children: [
7554
- logo && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: "min-w-0 opacity-70", children: logo }),
7555
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label })
7807
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(CardContent, { className: "flex flex-1 flex-col gap-3 p-5", children: [
7808
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "flex items-start justify-between gap-2", children: [
7809
+ logo && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: "min-w-0 opacity-70", children: logo }),
7810
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label })
7556
7811
  ] }),
7557
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("h3", { className: "text-base font-semibold tracking-tight text-foreground/80", children: title }),
7558
- reason && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { className: "text-sm leading-relaxed text-muted-foreground", children: reason }),
7559
- href && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7812
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("h3", { className: "text-base font-semibold tracking-tight text-foreground/80", children: title }),
7813
+ reason && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("p", { className: "text-sm leading-relaxed text-muted-foreground", children: reason }),
7814
+ href && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
7560
7815
  Link3,
7561
7816
  {
7562
7817
  href,
@@ -7570,14 +7825,14 @@ var TombstoneCard = React87.forwardRef(function TombstoneCard2({
7570
7825
  });
7571
7826
 
7572
7827
  // src/components/document-card/DocumentCard.tsx
7573
- var React88 = __toESM(require("react"));
7574
- var import_jsx_runtime90 = require("react/jsx-runtime");
7828
+ var React90 = __toESM(require("react"));
7829
+ var import_jsx_runtime92 = require("react/jsx-runtime");
7575
7830
  var statusConfig3 = {
7576
7831
  available: { label: "Available", variant: "success" },
7577
7832
  restricted: { label: "Restricted", variant: "warning" },
7578
7833
  pending: { label: "Pending", variant: "info" }
7579
7834
  };
7580
- var DocumentCard = React88.forwardRef(function DocumentCard2({
7835
+ var DocumentCard = React90.forwardRef(function DocumentCard2({
7581
7836
  name,
7582
7837
  fileType,
7583
7838
  size,
@@ -7591,14 +7846,14 @@ var DocumentCard = React88.forwardRef(function DocumentCard2({
7591
7846
  }, ref) {
7592
7847
  const statusInfo = statusConfig3[status];
7593
7848
  const meta = [fileType, size, updatedAt].filter(Boolean).join(" \xB7 ");
7594
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Card, { ref, className: cn("w-full", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(CardContent, { className: "flex items-center gap-3 p-4", children: [
7595
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-5", children: icon ?? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { className: "text-[10px] font-bold uppercase tracking-wide", children: fileType }) }),
7596
- /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "min-w-0 flex-1", children: [
7597
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("p", { className: "truncate text-sm font-medium", children: name }),
7598
- meta && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: meta })
7849
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Card, { ref, className: cn("w-full", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(CardContent, { className: "flex items-center gap-3 p-4", children: [
7850
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-5", children: icon ?? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { className: "text-[10px] font-bold uppercase tracking-wide", children: fileType }) }),
7851
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: "min-w-0 flex-1", children: [
7852
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("p", { className: "truncate text-sm font-medium", children: name }),
7853
+ meta && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: meta })
7599
7854
  ] }),
7600
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label }),
7601
- onDownload && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
7855
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label }),
7856
+ onDownload && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
7602
7857
  Button,
7603
7858
  {
7604
7859
  type: "button",
@@ -7614,9 +7869,9 @@ var DocumentCard = React88.forwardRef(function DocumentCard2({
7614
7869
  });
7615
7870
 
7616
7871
  // src/components/load-more/LoadMore.tsx
7617
- var React89 = __toESM(require("react"));
7618
- var import_jsx_runtime91 = require("react/jsx-runtime");
7619
- var LoadMore = React89.forwardRef(function LoadMore2({
7872
+ var React91 = __toESM(require("react"));
7873
+ var import_jsx_runtime93 = require("react/jsx-runtime");
7874
+ var LoadMore = React91.forwardRef(function LoadMore2({
7620
7875
  hasMore,
7621
7876
  onLoadMore,
7622
7877
  loading = false,
@@ -7626,12 +7881,12 @@ var LoadMore = React89.forwardRef(function LoadMore2({
7626
7881
  className,
7627
7882
  ...props
7628
7883
  }, ref) {
7629
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { ref, "aria-live": "polite", className: cn("flex w-full justify-center py-4", className), ...props, children: hasMore ? /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Button, { type: "button", variant: "outline", onClick: onLoadMore, loading, children: loading ? loadingLabel : loadLabel }) : /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("p", { role: "status", className: "text-sm text-muted-foreground", children: endLabel }) });
7884
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { ref, "aria-live": "polite", className: cn("flex w-full justify-center py-4", className), ...props, children: hasMore ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { type: "button", variant: "outline", onClick: onLoadMore, loading, children: loading ? loadingLabel : loadLabel }) : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { role: "status", className: "text-sm text-muted-foreground", children: endLabel }) });
7630
7885
  });
7631
7886
 
7632
7887
  // src/components/segmented-control/SegmentedControl.tsx
7633
- var React90 = __toESM(require("react"));
7634
- var import_jsx_runtime92 = require("react/jsx-runtime");
7888
+ var React92 = __toESM(require("react"));
7889
+ var import_jsx_runtime94 = require("react/jsx-runtime");
7635
7890
  var sizeClasses10 = {
7636
7891
  sm: "h-8 px-2.5 text-xs",
7637
7892
  md: "h-9 px-3 text-sm",
@@ -7644,7 +7899,7 @@ var fullWidthBreakpoints = {
7644
7899
  xl: "max-xl",
7645
7900
  "2xl": "max-2xl"
7646
7901
  };
7647
- var SegmentedControl = React90.forwardRef(
7902
+ var SegmentedControl = React92.forwardRef(
7648
7903
  function SegmentedControl2({
7649
7904
  options,
7650
7905
  value,
@@ -7660,7 +7915,7 @@ var SegmentedControl = React90.forwardRef(
7660
7915
  ...props
7661
7916
  }, ref) {
7662
7917
  const isControlled = value !== void 0;
7663
- const [internal, setInternal] = React90.useState(
7918
+ const [internal, setInternal] = React92.useState(
7664
7919
  () => multiple ? Array.isArray(defaultValue) ? defaultValue : [] : typeof defaultValue === "string" ? defaultValue : ""
7665
7920
  );
7666
7921
  const current = isControlled ? value : internal;
@@ -7669,7 +7924,7 @@ var SegmentedControl = React90.forwardRef(
7669
7924
  const linkMode = options.some((option) => option.href !== void 0);
7670
7925
  const LinkEl = linkComponent ?? "a";
7671
7926
  const destination = (href) => linkHrefProp === "to" ? { to: href } : { href };
7672
- const refs = React90.useRef([]);
7927
+ const refs = React92.useRef([]);
7673
7928
  const commit = (next) => {
7674
7929
  if (!isControlled) setInternal(next);
7675
7930
  onValueChange?.(next);
@@ -7719,7 +7974,7 @@ var SegmentedControl = React90.forwardRef(
7719
7974
  moveFocus("last");
7720
7975
  }
7721
7976
  };
7722
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
7977
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
7723
7978
  "div",
7724
7979
  {
7725
7980
  ref,
@@ -7745,14 +8000,14 @@ var SegmentedControl = React90.forwardRef(
7745
8000
  fullWidthBelow && `${fullWidthBelow}:flex-1`,
7746
8001
  active ? "bg-background text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
7747
8002
  );
7748
- const segmentContent = /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_jsx_runtime92.Fragment, { children: [
7749
- option.icon && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { className: "shrink-0 [&_svg]:size-4", children: option.icon }),
7750
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { className: "truncate", children: option.label }),
7751
- option.hint && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { "aria-hidden": "true", className: "shrink-0 text-[10px] font-normal text-muted-foreground/70", children: option.hint })
8003
+ const segmentContent = /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_jsx_runtime94.Fragment, { children: [
8004
+ option.icon && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { className: "shrink-0 [&_svg]:size-4", children: option.icon }),
8005
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { className: "truncate", children: option.label }),
8006
+ option.hint && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { "aria-hidden": "true", className: "shrink-0 text-[10px] font-normal text-muted-foreground/70", children: option.hint })
7752
8007
  ] });
7753
8008
  if (option.href !== void 0) {
7754
8009
  if (option.disabled || active) {
7755
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
8010
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
7756
8011
  "span",
7757
8012
  {
7758
8013
  "aria-current": active ? "page" : void 0,
@@ -7764,7 +8019,7 @@ var SegmentedControl = React90.forwardRef(
7764
8019
  option.value
7765
8020
  );
7766
8021
  }
7767
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
8022
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
7768
8023
  LinkEl,
7769
8024
  {
7770
8025
  ...destination(option.href),
@@ -7775,7 +8030,7 @@ var SegmentedControl = React90.forwardRef(
7775
8030
  option.value
7776
8031
  );
7777
8032
  }
7778
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
8033
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
7779
8034
  "button",
7780
8035
  {
7781
8036
  ref: (node) => {
@@ -7803,8 +8058,8 @@ var SegmentedControl = React90.forwardRef(
7803
8058
  );
7804
8059
 
7805
8060
  // src/components/range-slider/RangeSlider.tsx
7806
- var React91 = __toESM(require("react"));
7807
- var import_jsx_runtime93 = require("react/jsx-runtime");
8061
+ var React93 = __toESM(require("react"));
8062
+ var import_jsx_runtime95 = require("react/jsx-runtime");
7808
8063
  var rangeInputClass = cn(
7809
8064
  "pointer-events-none absolute inset-x-0 top-1/2 h-6 w-full -translate-y-1/2 appearance-none bg-transparent",
7810
8065
  "[&::-webkit-slider-runnable-track]:h-1 [&::-webkit-slider-runnable-track]:rounded-full [&::-webkit-slider-runnable-track]:bg-transparent",
@@ -7814,7 +8069,7 @@ var rangeInputClass = cn(
7814
8069
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
7815
8070
  "disabled:cursor-not-allowed disabled:opacity-50"
7816
8071
  );
7817
- var RangeSlider = React91.forwardRef(function RangeSlider2({
8072
+ var RangeSlider = React93.forwardRef(function RangeSlider2({
7818
8073
  value,
7819
8074
  defaultValue,
7820
8075
  onValueChange,
@@ -7830,7 +8085,7 @@ var RangeSlider = React91.forwardRef(function RangeSlider2({
7830
8085
  ...props
7831
8086
  }, ref) {
7832
8087
  const clamp2 = (entry) => Math.min(Math.max(entry, min), max);
7833
- const [internal, setInternal] = React91.useState(() => {
8088
+ const [internal, setInternal] = React93.useState(() => {
7834
8089
  const initial = defaultValue ?? [min, max];
7835
8090
  return [clamp2(initial[0]), clamp2(initial[1])];
7836
8091
  });
@@ -7844,21 +8099,21 @@ var RangeSlider = React91.forwardRef(function RangeSlider2({
7844
8099
  const span = max - min || 1;
7845
8100
  const lowPercent = (low - min) / span * 100;
7846
8101
  const highPercent = (high - min) / span * 100;
7847
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { ref, className: cn("w-full", className), ...props, children: [
7848
- showValues && /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "mb-2 flex items-center justify-between text-sm font-medium tabular-nums", children: [
7849
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { children: formatValue(low) }),
7850
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { children: formatValue(high) })
8102
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { ref, className: cn("w-full", className), ...props, children: [
8103
+ showValues && /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "mb-2 flex items-center justify-between text-sm font-medium tabular-nums", children: [
8104
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { children: formatValue(low) }),
8105
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { children: formatValue(high) })
7851
8106
  ] }),
7852
- /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "relative h-6 w-full", children: [
7853
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "absolute inset-x-0 top-1/2 h-1 -translate-y-1/2 rounded-full bg-border" }),
7854
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
8107
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "relative h-6 w-full", children: [
8108
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "absolute inset-x-0 top-1/2 h-1 -translate-y-1/2 rounded-full bg-border" }),
8109
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
7855
8110
  "div",
7856
8111
  {
7857
8112
  className: "absolute top-1/2 h-1 -translate-y-1/2 rounded-full bg-primary",
7858
8113
  style: { left: `${lowPercent}%`, right: `${100 - highPercent}%` }
7859
8114
  }
7860
8115
  ),
7861
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
8116
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
7862
8117
  "input",
7863
8118
  {
7864
8119
  type: "range",
@@ -7873,7 +8128,7 @@ var RangeSlider = React91.forwardRef(function RangeSlider2({
7873
8128
  className: cn(rangeInputClass, "z-10")
7874
8129
  }
7875
8130
  ),
7876
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
8131
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
7877
8132
  "input",
7878
8133
  {
7879
8134
  type: "range",
@@ -7893,8 +8148,8 @@ var RangeSlider = React91.forwardRef(function RangeSlider2({
7893
8148
  });
7894
8149
 
7895
8150
  // src/components/filter-chips/FilterChips.tsx
7896
- var React92 = __toESM(require("react"));
7897
- var import_jsx_runtime94 = require("react/jsx-runtime");
8151
+ var React94 = __toESM(require("react"));
8152
+ var import_jsx_runtime96 = require("react/jsx-runtime");
7898
8153
  var CHIP_SIZES = {
7899
8154
  sm: {
7900
8155
  chip: "gap-1 py-0.5 pl-2.5 pr-0.5 text-xs",
@@ -7915,7 +8170,7 @@ var CHIP_SIZES = {
7915
8170
  clear: "text-base"
7916
8171
  }
7917
8172
  };
7918
- var FilterChips = React92.forwardRef(function FilterChips2({
8173
+ var FilterChips = React94.forwardRef(function FilterChips2({
7919
8174
  filters,
7920
8175
  size = "md",
7921
8176
  onClearAll,
@@ -7926,10 +8181,10 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7926
8181
  ...props
7927
8182
  }, ref) {
7928
8183
  if (filters.length === 0) {
7929
- return emptyLabel ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
8184
+ return emptyLabel ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
7930
8185
  }
7931
8186
  const scale = CHIP_SIZES[size];
7932
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
8187
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
7933
8188
  "div",
7934
8189
  {
7935
8190
  ref,
@@ -7938,7 +8193,7 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7938
8193
  className: cn("flex flex-wrap items-center gap-2", className),
7939
8194
  ...props,
7940
8195
  children: [
7941
- filters.map((filter) => /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
8196
+ filters.map((filter) => /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
7942
8197
  "span",
7943
8198
  {
7944
8199
  className: cn(
@@ -7946,15 +8201,15 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7946
8201
  scale.chip
7947
8202
  ),
7948
8203
  children: [
7949
- /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("span", { className: "truncate", children: [
7950
- /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("span", { className: "text-muted-foreground", children: [
8204
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("span", { className: "truncate", children: [
8205
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("span", { className: "text-muted-foreground", children: [
7951
8206
  filter.label,
7952
8207
  ":"
7953
8208
  ] }),
7954
8209
  " ",
7955
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { className: "font-medium", children: filter.value ?? "Any" })
8210
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "font-medium", children: filter.value ?? "Any" })
7956
8211
  ] }),
7957
- filter.onRemove && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
8212
+ filter.onRemove && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
7958
8213
  "button",
7959
8214
  {
7960
8215
  type: "button",
@@ -7964,14 +8219,14 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7964
8219
  "rounded-full text-muted-foreground transition-colors hover:bg-background hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7965
8220
  scale.remove
7966
8221
  ),
7967
- children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: scale.icon, fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
8222
+ children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: scale.icon, fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
7968
8223
  }
7969
8224
  )
7970
8225
  ]
7971
8226
  },
7972
8227
  filter.key
7973
8228
  )),
7974
- onClearAll && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
8229
+ onClearAll && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
7975
8230
  "button",
7976
8231
  {
7977
8232
  type: "button",
@@ -7989,9 +8244,9 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7989
8244
  });
7990
8245
 
7991
8246
  // src/components/multi-select/MultiSelect.tsx
7992
- var React93 = __toESM(require("react"));
7993
- var import_jsx_runtime95 = require("react/jsx-runtime");
7994
- var MultiSelect = React93.forwardRef(function MultiSelect2({
8247
+ var React95 = __toESM(require("react"));
8248
+ var import_jsx_runtime97 = require("react/jsx-runtime");
8249
+ var MultiSelect = React95.forwardRef(function MultiSelect2({
7995
8250
  options,
7996
8251
  value,
7997
8252
  defaultValue,
@@ -8005,10 +8260,10 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
8005
8260
  className,
8006
8261
  ...props
8007
8262
  }, ref) {
8008
- const labelId = React93.useId();
8009
- const [internal, setInternal] = React93.useState(defaultValue ?? []);
8010
- const [query, setQuery] = React93.useState("");
8011
- const [open, setOpen] = React93.useState(false);
8263
+ const labelId = React95.useId();
8264
+ const [internal, setInternal] = React95.useState(defaultValue ?? []);
8265
+ const [query, setQuery] = React95.useState("");
8266
+ const [open, setOpen] = React95.useState(false);
8012
8267
  const selected = value ?? internal;
8013
8268
  const commit = (next) => {
8014
8269
  if (value === void 0) setInternal(next);
@@ -8025,7 +8280,7 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
8025
8280
  const q = query.trim().toLowerCase();
8026
8281
  return option.label.toLowerCase().includes(q) || option.value.toLowerCase().includes(q) || option.description?.toLowerCase().includes(q) || option.group?.toLowerCase().includes(q);
8027
8282
  }) : options;
8028
- const groups = React93.useMemo(() => {
8283
+ const groups = React95.useMemo(() => {
8029
8284
  let last;
8030
8285
  return filtered.map((option) => {
8031
8286
  const heading = option.group && option.group !== last ? option.group : void 0;
@@ -8035,16 +8290,16 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
8035
8290
  }, [filtered]);
8036
8291
  const visibleChips = selectedOptions.slice(0, maxDisplay);
8037
8292
  const hiddenCount = selectedOptions.length - visibleChips.length;
8038
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { ref, className: cn("flex flex-col gap-2", className), ...props, children: [
8039
- label && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { id: labelId, className: "text-sm font-medium", children: label }),
8040
- visibleChips.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "flex flex-wrap gap-1.5", children: [
8041
- visibleChips.map((option) => /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
8293
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { ref, className: cn("flex flex-col gap-2", className), ...props, children: [
8294
+ label && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { id: labelId, className: "text-sm font-medium", children: label }),
8295
+ visibleChips.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: "flex flex-wrap gap-1.5", children: [
8296
+ visibleChips.map((option) => /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
8042
8297
  "span",
8043
8298
  {
8044
8299
  className: "inline-flex max-w-full items-center gap-1 rounded-full border border-border bg-muted/60 py-0.5 pl-2.5 pr-1 text-xs",
8045
8300
  children: [
8046
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: "truncate", children: option.label }),
8047
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
8301
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { className: "truncate", children: option.label }),
8302
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
8048
8303
  "button",
8049
8304
  {
8050
8305
  type: "button",
@@ -8052,26 +8307,26 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
8052
8307
  disabled,
8053
8308
  "aria-label": `Remove ${option.label}`,
8054
8309
  className: "rounded-full p-1 text-muted-foreground hover:bg-background hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none",
8055
- children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
8310
+ children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
8056
8311
  }
8057
8312
  )
8058
8313
  ]
8059
8314
  },
8060
8315
  option.value
8061
8316
  )),
8062
- hiddenCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("span", { className: "self-center text-xs text-muted-foreground", children: [
8317
+ hiddenCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("span", { className: "self-center text-xs text-muted-foreground", children: [
8063
8318
  "+",
8064
8319
  hiddenCount,
8065
8320
  " more"
8066
8321
  ] })
8067
8322
  ] }),
8068
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
8069
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(PopoverTrigger, { "aria-labelledby": label ? labelId : void 0, disabled, className: "w-full justify-between", children: [
8070
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { children: selected.length > 0 ? `${selected.length} selected` : triggerLabel }),
8071
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { "aria-hidden": "true", className: "text-muted-foreground", children: "\u2304" })
8323
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
8324
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(PopoverTrigger, { "aria-labelledby": label ? labelId : void 0, disabled, className: "w-full justify-between", children: [
8325
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { children: selected.length > 0 ? `${selected.length} selected` : triggerLabel }),
8326
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { "aria-hidden": "true", className: "text-muted-foreground", children: "\u2304" })
8072
8327
  ] }),
8073
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(PopoverContent, { className: "w-80 p-0", children: [
8074
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "border-b border-border p-3", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
8328
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(PopoverContent, { className: "w-80 p-0", children: [
8329
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: "border-b border-border p-3", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
8075
8330
  Input,
8076
8331
  {
8077
8332
  type: "search",
@@ -8082,9 +8337,9 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
8082
8337
  autoFocus: true
8083
8338
  }
8084
8339
  ) }),
8085
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "max-h-64 overflow-y-auto p-1", children: groups.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("p", { className: "px-3 py-3 text-sm text-muted-foreground", children: emptyText }) : groups.map(({ option, heading }) => /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(React93.Fragment, { children: [
8086
- heading && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("p", { className: "px-3 pb-1 pt-2 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: heading }),
8087
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
8340
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: "max-h-64 overflow-y-auto p-1", children: groups.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("p", { className: "px-3 py-3 text-sm text-muted-foreground", children: emptyText }) : groups.map(({ option, heading }) => /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(React95.Fragment, { children: [
8341
+ heading && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("p", { className: "px-3 pb-1 pt-2 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: heading }),
8342
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
8088
8343
  "label",
8089
8344
  {
8090
8345
  className: cn(
@@ -8092,7 +8347,7 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
8092
8347
  option.disabled && "cursor-not-allowed opacity-50"
8093
8348
  ),
8094
8349
  children: [
8095
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
8350
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
8096
8351
  Checkbox,
8097
8352
  {
8098
8353
  checked: selected.includes(option.value),
@@ -8101,16 +8356,16 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
8101
8356
  className: "mt-0.5"
8102
8357
  }
8103
8358
  ),
8104
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("span", { className: "min-w-0", children: [
8105
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: "block", children: option.label }),
8106
- option.description && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: option.description })
8359
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("span", { className: "min-w-0", children: [
8360
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { className: "block", children: option.label }),
8361
+ option.description && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: option.description })
8107
8362
  ] })
8108
8363
  ]
8109
8364
  }
8110
8365
  )
8111
8366
  ] }, option.value)) }),
8112
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "flex items-center justify-between gap-2 border-t border-border p-2", children: [
8113
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
8367
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: "flex items-center justify-between gap-2 border-t border-border p-2", children: [
8368
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
8114
8369
  Button,
8115
8370
  {
8116
8371
  type: "button",
@@ -8120,7 +8375,7 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
8120
8375
  children: "Select all"
8121
8376
  }
8122
8377
  ),
8123
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: () => commit([]), children: "Clear" })
8378
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: () => commit([]), children: "Clear" })
8124
8379
  ] })
8125
8380
  ] })
8126
8381
  ] })
@@ -8128,9 +8383,9 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
8128
8383
  });
8129
8384
 
8130
8385
  // src/components/filter-panel/FilterPanel.tsx
8131
- var React94 = __toESM(require("react"));
8132
- var import_jsx_runtime96 = require("react/jsx-runtime");
8133
- var FilterPanel = React94.forwardRef(function FilterPanel2({
8386
+ var React96 = __toESM(require("react"));
8387
+ var import_jsx_runtime98 = require("react/jsx-runtime");
8388
+ var FilterPanel = React96.forwardRef(function FilterPanel2({
8134
8389
  sections,
8135
8390
  title = "Filters",
8136
8391
  description,
@@ -8146,7 +8401,7 @@ var FilterPanel = React94.forwardRef(function FilterPanel2({
8146
8401
  ...props
8147
8402
  }, ref) {
8148
8403
  const Tag = as;
8149
- const [open, setOpen] = React94.useState(() => {
8404
+ const [open, setOpen] = React96.useState(() => {
8150
8405
  if (defaultOpen) {
8151
8406
  return sections.flatMap((section, index) => defaultOpen.includes(section.title) ? [index] : []);
8152
8407
  }
@@ -8159,16 +8414,16 @@ var FilterPanel = React94.forwardRef(function FilterPanel2({
8159
8414
  (current) => current.includes(index) ? current.filter((entry) => entry !== index) : [...current, index]
8160
8415
  );
8161
8416
  };
8162
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(Tag, { ref, className: cn("w-full rounded-xl border border-border bg-card", className), ...props, children: [
8163
- (title || description) && /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "border-b border-border px-4 py-3", children: [
8164
- title && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("h2", { className: "text-sm font-semibold", children: title }),
8165
- description && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { className: "mt-1 text-xs text-muted-foreground", children: description })
8417
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(Tag, { ref, className: cn("w-full rounded-xl border border-border bg-card", className), ...props, children: [
8418
+ (title || description) && /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "border-b border-border px-4 py-3", children: [
8419
+ title && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("h2", { className: "text-sm font-semibold", children: title }),
8420
+ description && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("p", { className: "mt-1 text-xs text-muted-foreground", children: description })
8166
8421
  ] }),
8167
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "divide-y divide-border", children: sections.map((section, index) => {
8422
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: "divide-y divide-border", children: sections.map((section, index) => {
8168
8423
  const expanded = isOpen(index);
8169
8424
  const sectionId = `filter-section-${index}`;
8170
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "px-4 py-3", children: [
8171
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("h3", { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
8425
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "px-4 py-3", children: [
8426
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("h3", { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
8172
8427
  "button",
8173
8428
  {
8174
8429
  type: "button",
@@ -8181,28 +8436,28 @@ var FilterPanel = React94.forwardRef(function FilterPanel2({
8181
8436
  collapsible && "rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
8182
8437
  ),
8183
8438
  children: [
8184
- /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("span", { children: [
8439
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("span", { children: [
8185
8440
  section.title,
8186
- section.description && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "mt-0.5 block text-xs font-normal text-muted-foreground", children: section.description })
8441
+ section.description && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("span", { className: "mt-0.5 block text-xs font-normal text-muted-foreground", children: section.description })
8187
8442
  ] }),
8188
- collapsible && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { "aria-hidden": "true", className: cn("text-muted-foreground transition-transform", expanded && "rotate-180"), children: "\u2304" })
8443
+ collapsible && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("span", { "aria-hidden": "true", className: cn("text-muted-foreground transition-transform", expanded && "rotate-180"), children: "\u2304" })
8189
8444
  ]
8190
8445
  }
8191
8446
  ) }),
8192
- expanded && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { id: sectionId, className: "mt-3", children: section.content })
8447
+ expanded && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { id: sectionId, className: "mt-3", children: section.content })
8193
8448
  ] }, index);
8194
8449
  }) }),
8195
- (onReset || onApply || actions) && /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "flex flex-wrap items-center gap-2 border-t border-border px-4 py-3", children: [
8450
+ (onReset || onApply || actions) && /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "flex flex-wrap items-center gap-2 border-t border-border px-4 py-3", children: [
8196
8451
  actions,
8197
- onReset && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onReset, className: "ml-auto", children: resetLabel }),
8198
- onApply && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Button, { type: "button", size: "sm", onClick: onApply, children: applyLabel })
8452
+ onReset && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onReset, className: "ml-auto", children: resetLabel }),
8453
+ onApply && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Button, { type: "button", size: "sm", onClick: onApply, children: applyLabel })
8199
8454
  ] })
8200
8455
  ] });
8201
8456
  });
8202
8457
 
8203
8458
  // src/components/date-range-picker/DateRangePicker.tsx
8204
- var React95 = __toESM(require("react"));
8205
- var import_jsx_runtime97 = require("react/jsx-runtime");
8459
+ var React97 = __toESM(require("react"));
8460
+ var import_jsx_runtime99 = require("react/jsx-runtime");
8206
8461
  var DEFAULT_PRESETS = [
8207
8462
  { label: "7 days", days: 7 },
8208
8463
  { label: "30 days", days: 30 },
@@ -8215,7 +8470,7 @@ function toIsoDate(date) {
8215
8470
  const day = String(date.getDate()).padStart(2, "0");
8216
8471
  return `${year}-${month}-${day}`;
8217
8472
  }
8218
- var DateRangePicker = React95.forwardRef(
8473
+ var DateRangePicker = React97.forwardRef(
8219
8474
  function DateRangePicker2({
8220
8475
  value,
8221
8476
  defaultValue,
@@ -8228,9 +8483,9 @@ var DateRangePicker = React95.forwardRef(
8228
8483
  className,
8229
8484
  ...props
8230
8485
  }, ref) {
8231
- const startId = React95.useId();
8232
- const endId = React95.useId();
8233
- const [internal, setInternal] = React95.useState(defaultValue ?? {});
8486
+ const startId = React97.useId();
8487
+ const endId = React97.useId();
8488
+ const [internal, setInternal] = React97.useState(defaultValue ?? {});
8234
8489
  const current = value ?? internal;
8235
8490
  const commit = (next) => {
8236
8491
  if (value === void 0) setInternal(next);
@@ -8254,8 +8509,8 @@ var DateRangePicker = React95.forwardRef(
8254
8509
  }
8255
8510
  commit({ start: toIsoDate(start), end: toIsoDate(end) });
8256
8511
  };
8257
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { ref, className: cn("flex flex-col gap-3", className), ...props, children: [
8258
- showPresets && presets.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: "flex flex-wrap gap-2", children: presets.map((preset) => /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
8512
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { ref, className: cn("flex flex-col gap-3", className), ...props, children: [
8513
+ showPresets && presets.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "flex flex-wrap gap-2", children: presets.map((preset) => /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
8259
8514
  Button,
8260
8515
  {
8261
8516
  type: "button",
@@ -8267,10 +8522,10 @@ var DateRangePicker = React95.forwardRef(
8267
8522
  },
8268
8523
  preset.label
8269
8524
  )) }),
8270
- /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: "grid gap-3 sm:grid-cols-2", children: [
8271
- /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { children: [
8272
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("label", { htmlFor: startId, className: "mb-1 block text-xs font-medium text-muted-foreground", children: startLabel }),
8273
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
8525
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "grid gap-3 sm:grid-cols-2", children: [
8526
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { children: [
8527
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("label", { htmlFor: startId, className: "mb-1 block text-xs font-medium text-muted-foreground", children: startLabel }),
8528
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
8274
8529
  DatePicker,
8275
8530
  {
8276
8531
  id: startId,
@@ -8282,9 +8537,9 @@ var DateRangePicker = React95.forwardRef(
8282
8537
  }
8283
8538
  )
8284
8539
  ] }),
8285
- /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { children: [
8286
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("label", { htmlFor: endId, className: "mb-1 block text-xs font-medium text-muted-foreground", children: endLabel }),
8287
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
8540
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { children: [
8541
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("label", { htmlFor: endId, className: "mb-1 block text-xs font-medium text-muted-foreground", children: endLabel }),
8542
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
8288
8543
  DatePicker,
8289
8544
  {
8290
8545
  id: endId,
@@ -8302,9 +8557,9 @@ var DateRangePicker = React95.forwardRef(
8302
8557
  );
8303
8558
 
8304
8559
  // src/components/applied-filters/AppliedFilters.tsx
8305
- var React96 = __toESM(require("react"));
8306
- var import_jsx_runtime98 = require("react/jsx-runtime");
8307
- var AppliedFilters = React96.forwardRef(
8560
+ var React98 = __toESM(require("react"));
8561
+ var import_jsx_runtime100 = require("react/jsx-runtime");
8562
+ var AppliedFilters = React98.forwardRef(
8308
8563
  function AppliedFilters2({
8309
8564
  filters,
8310
8565
  onClearAll,
@@ -8317,9 +8572,9 @@ var AppliedFilters = React96.forwardRef(
8317
8572
  }, ref) {
8318
8573
  const summary = label ?? `${filters.length} active`;
8319
8574
  if (filters.length === 0) {
8320
- return emptyLabel ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
8575
+ return emptyLabel ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
8321
8576
  }
8322
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
8577
+ return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(
8323
8578
  "div",
8324
8579
  {
8325
8580
  ref,
@@ -8327,9 +8582,9 @@ var AppliedFilters = React96.forwardRef(
8327
8582
  className: cn("flex flex-wrap items-center gap-2", className),
8328
8583
  ...props,
8329
8584
  children: [
8330
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("span", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: summary }),
8331
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(FilterChips, { filters, onClearAll }),
8332
- onEdit && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onEdit, children: editLabel })
8585
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: summary }),
8586
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(FilterChips, { filters, onClearAll }),
8587
+ onEdit && /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onEdit, children: editLabel })
8333
8588
  ]
8334
8589
  }
8335
8590
  );
@@ -8337,11 +8592,11 @@ var AppliedFilters = React96.forwardRef(
8337
8592
  );
8338
8593
 
8339
8594
  // src/components/menu/Menu.tsx
8340
- var React97 = __toESM(require("react"));
8595
+ var React99 = __toESM(require("react"));
8341
8596
  var import_react_dom8 = require("react-dom");
8342
8597
  var import_react_slot5 = require("@radix-ui/react-slot");
8343
- var import_jsx_runtime99 = require("react/jsx-runtime");
8344
- var MenuContext = React97.createContext({
8598
+ var import_jsx_runtime101 = require("react/jsx-runtime");
8599
+ var MenuContext = React99.createContext({
8345
8600
  open: false,
8346
8601
  setOpen: () => {
8347
8602
  },
@@ -8350,13 +8605,13 @@ var MenuContext = React97.createContext({
8350
8605
  },
8351
8606
  wrapperRef: { current: null }
8352
8607
  });
8353
- var Menu = React97.forwardRef(
8608
+ var Menu = React99.forwardRef(
8354
8609
  ({ open, onOpenChange, className, children }, ref) => {
8355
- const [internalOpen, setInternalOpen] = React97.useState(false);
8356
- const [activeIndex, setActiveIndex] = React97.useState(-1);
8610
+ const [internalOpen, setInternalOpen] = React99.useState(false);
8611
+ const [activeIndex, setActiveIndex] = React99.useState(-1);
8357
8612
  const current = open ?? internalOpen;
8358
- const wrapperRef = React97.useRef(null);
8359
- const setRefs = React97.useCallback(
8613
+ const wrapperRef = React99.useRef(null);
8614
+ const setRefs = React99.useCallback(
8360
8615
  (node) => {
8361
8616
  wrapperRef.current = node;
8362
8617
  if (typeof ref === "function") ref(node);
@@ -8364,7 +8619,7 @@ var Menu = React97.forwardRef(
8364
8619
  },
8365
8620
  [ref]
8366
8621
  );
8367
- const setOpen = React97.useCallback(
8622
+ const setOpen = React99.useCallback(
8368
8623
  (next) => {
8369
8624
  if (open === void 0) setInternalOpen(next);
8370
8625
  onOpenChange?.(next);
@@ -8372,7 +8627,7 @@ var Menu = React97.forwardRef(
8372
8627
  },
8373
8628
  [open, onOpenChange]
8374
8629
  );
8375
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { ref: setRefs, className: cn("relative inline-block", className), children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
8630
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { ref: setRefs, className: cn("relative inline-block", className), children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
8376
8631
  MenuContext.Provider,
8377
8632
  {
8378
8633
  value: { open: current, setOpen, activeIndex, setActiveIndex, wrapperRef },
@@ -8382,10 +8637,10 @@ var Menu = React97.forwardRef(
8382
8637
  }
8383
8638
  );
8384
8639
  Menu.displayName = "Menu";
8385
- var MenuTrigger = React97.forwardRef(
8640
+ var MenuTrigger = React99.forwardRef(
8386
8641
  ({ className, children, ...props }, ref) => {
8387
- const { open, setOpen } = React97.useContext(MenuContext);
8388
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
8642
+ const { open, setOpen } = React99.useContext(MenuContext);
8643
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
8389
8644
  "button",
8390
8645
  {
8391
8646
  ref,
@@ -8405,13 +8660,13 @@ var MenuTrigger = React97.forwardRef(
8405
8660
  }
8406
8661
  );
8407
8662
  MenuTrigger.displayName = "MenuTrigger";
8408
- var MenuContent = React97.forwardRef(
8663
+ var MenuContent = React99.forwardRef(
8409
8664
  ({ className, children, ...props }, ref) => {
8410
- const { open, setOpen, activeIndex, setActiveIndex, wrapperRef } = React97.useContext(MenuContext);
8411
- const contentRef = React97.useRef(null);
8412
- const [pos, setPos] = React97.useState(null);
8413
- const itemsRef = React97.useRef([]);
8414
- React97.useLayoutEffect(() => {
8665
+ const { open, setOpen, activeIndex, setActiveIndex, wrapperRef } = React99.useContext(MenuContext);
8666
+ const contentRef = React99.useRef(null);
8667
+ const [pos, setPos] = React99.useState(null);
8668
+ const itemsRef = React99.useRef([]);
8669
+ React99.useLayoutEffect(() => {
8415
8670
  if (!open) {
8416
8671
  setPos(null);
8417
8672
  return;
@@ -8431,7 +8686,7 @@ var MenuContent = React97.forwardRef(
8431
8686
  window.removeEventListener("resize", measure);
8432
8687
  };
8433
8688
  }, [open, setOpen, wrapperRef]);
8434
- React97.useEffect(() => {
8689
+ React99.useEffect(() => {
8435
8690
  if (!open) return;
8436
8691
  function onPointerDown(event) {
8437
8692
  if (!contentRef.current?.contains(event.target)) setOpen(false);
@@ -8439,7 +8694,7 @@ var MenuContent = React97.forwardRef(
8439
8694
  document.addEventListener("pointerdown", onPointerDown);
8440
8695
  return () => document.removeEventListener("pointerdown", onPointerDown);
8441
8696
  }, [open, setOpen]);
8442
- React97.useEffect(() => {
8697
+ React99.useEffect(() => {
8443
8698
  if (open && pos && contentRef.current) {
8444
8699
  itemsRef.current = Array.from(
8445
8700
  contentRef.current.querySelectorAll('[role="menuitem"]:not([disabled])')
@@ -8487,7 +8742,7 @@ var MenuContent = React97.forwardRef(
8487
8742
  };
8488
8743
  if (!open || !pos || typeof document === "undefined") return null;
8489
8744
  return (0, import_react_dom8.createPortal)(
8490
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
8745
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
8491
8746
  "div",
8492
8747
  {
8493
8748
  ref: (node) => {
@@ -8511,12 +8766,12 @@ var MenuContent = React97.forwardRef(
8511
8766
  }
8512
8767
  );
8513
8768
  MenuContent.displayName = "MenuContent";
8514
- var MenuItem = React97.forwardRef(
8769
+ var MenuItem = React99.forwardRef(
8515
8770
  ({ className, destructive, asChild = false, onClick, ...props }, ref) => {
8516
- const { setOpen } = React97.useContext(MenuContext);
8771
+ const { setOpen } = React99.useContext(MenuContext);
8517
8772
  const Comp = asChild ? import_react_slot5.Slot : "button";
8518
8773
  const typeProp = asChild ? {} : { type: "button" };
8519
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
8774
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
8520
8775
  Comp,
8521
8776
  {
8522
8777
  ref,
@@ -8538,12 +8793,12 @@ var MenuItem = React97.forwardRef(
8538
8793
  }
8539
8794
  );
8540
8795
  MenuItem.displayName = "MenuItem";
8541
- var MenuSeparator = React97.forwardRef(
8542
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { ref, role: "separator", className: cn("-mx-1 my-1 h-px bg-border", className), ...props })
8796
+ var MenuSeparator = React99.forwardRef(
8797
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { ref, role: "separator", className: cn("-mx-1 my-1 h-px bg-border", className), ...props })
8543
8798
  );
8544
8799
  MenuSeparator.displayName = "MenuSeparator";
8545
- var MenuLabel = React97.forwardRef(
8546
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
8800
+ var MenuLabel = React99.forwardRef(
8801
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
8547
8802
  "div",
8548
8803
  {
8549
8804
  ref,
@@ -8555,9 +8810,9 @@ var MenuLabel = React97.forwardRef(
8555
8810
  MenuLabel.displayName = "MenuLabel";
8556
8811
 
8557
8812
  // src/components/alert/Alert.tsx
8558
- var React98 = __toESM(require("react"));
8813
+ var React100 = __toESM(require("react"));
8559
8814
  var import_class_variance_authority8 = require("class-variance-authority");
8560
- var import_jsx_runtime100 = require("react/jsx-runtime");
8815
+ var import_jsx_runtime102 = require("react/jsx-runtime");
8561
8816
  var alertVariants = (0, import_class_variance_authority8.cva)(
8562
8817
  "relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",
8563
8818
  {
@@ -8577,8 +8832,8 @@ var alertVariants = (0, import_class_variance_authority8.cva)(
8577
8832
  }
8578
8833
  }
8579
8834
  );
8580
- var Alert = React98.forwardRef(
8581
- ({ className, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
8835
+ var Alert = React100.forwardRef(
8836
+ ({ className, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
8582
8837
  "div",
8583
8838
  {
8584
8839
  ref,
@@ -8589,8 +8844,8 @@ var Alert = React98.forwardRef(
8589
8844
  )
8590
8845
  );
8591
8846
  Alert.displayName = "Alert";
8592
- var AlertTitle = React98.forwardRef(
8593
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
8847
+ var AlertTitle = React100.forwardRef(
8848
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
8594
8849
  "h5",
8595
8850
  {
8596
8851
  ref,
@@ -8600,8 +8855,8 @@ var AlertTitle = React98.forwardRef(
8600
8855
  )
8601
8856
  );
8602
8857
  AlertTitle.displayName = "AlertTitle";
8603
- var AlertDescription = React98.forwardRef(
8604
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
8858
+ var AlertDescription = React100.forwardRef(
8859
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
8605
8860
  "div",
8606
8861
  {
8607
8862
  ref,
@@ -8613,23 +8868,23 @@ var AlertDescription = React98.forwardRef(
8613
8868
  AlertDescription.displayName = "AlertDescription";
8614
8869
 
8615
8870
  // src/components/breadcrumb/Breadcrumb.tsx
8616
- var React99 = __toESM(require("react"));
8617
- var import_jsx_runtime101 = require("react/jsx-runtime");
8618
- var Breadcrumb = React99.forwardRef(
8871
+ var React101 = __toESM(require("react"));
8872
+ var import_jsx_runtime103 = require("react/jsx-runtime");
8873
+ var Breadcrumb = React101.forwardRef(
8619
8874
  ({ items, label = "Breadcrumb", separator = "/", onItemClick, linkComponent, linkHrefProp = "href", truncateCurrent = false, className, ...props }, ref) => {
8620
8875
  const LinkEl = linkComponent ?? "a";
8621
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
8876
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
8622
8877
  "nav",
8623
8878
  {
8624
8879
  ref,
8625
8880
  "aria-label": label,
8626
8881
  className: cn("flex items-center space-x-1.5 text-sm text-muted-foreground", className),
8627
8882
  ...props,
8628
- children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("ol", { className: "flex flex-wrap items-center space-x-1.5", children: items.map((item, index) => {
8883
+ children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("ol", { className: "flex flex-wrap items-center space-x-1.5", children: items.map((item, index) => {
8629
8884
  const isLast = index === items.length - 1;
8630
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("li", { className: cn("flex items-center space-x-1.5", truncateCurrent && isLast && "min-w-0"), children: [
8631
- index > 0 && /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("span", { "aria-hidden": "true", className: "text-muted-foreground/50", children: separator }),
8632
- item.href && !isLast ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
8885
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("li", { className: cn("flex items-center space-x-1.5", truncateCurrent && isLast && "min-w-0"), children: [
8886
+ index > 0 && /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("span", { "aria-hidden": "true", className: "text-muted-foreground/50", children: separator }),
8887
+ item.href && !isLast ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
8633
8888
  LinkEl,
8634
8889
  {
8635
8890
  ...linkHrefProp === "to" ? { to: item.href } : { href: item.href },
@@ -8640,7 +8895,7 @@ var Breadcrumb = React99.forwardRef(
8640
8895
  } : void 0,
8641
8896
  children: item.label
8642
8897
  }
8643
- ) : /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
8898
+ ) : /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
8644
8899
  "span",
8645
8900
  {
8646
8901
  "aria-current": isLast ? "page" : void 0,
@@ -8740,6 +8995,7 @@ Breadcrumb.displayName = "Breadcrumb";
8740
8995
  ListToolbar,
8741
8996
  LoadMore,
8742
8997
  LogoCloud,
8998
+ MediaCard,
8743
8999
  Menu,
8744
9000
  MenuContent,
8745
9001
  MenuItem,
@@ -8747,6 +9003,7 @@ Breadcrumb.displayName = "Breadcrumb";
8747
9003
  MenuSeparator,
8748
9004
  MenuTrigger,
8749
9005
  MetricCard,
9006
+ MonthSchedule,
8750
9007
  MultiSelect,
8751
9008
  Newsletter,
8752
9009
  PageHeader,