@caffeinebounce/ui 0.62.2 → 0.63.0

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 (122) hide show
  1. package/README.md +1 -1
  2. package/dist/blog.js +8 -6
  3. package/dist/blog.mjs +3 -1
  4. package/dist/charts.d.cts +1 -1
  5. package/dist/charts.d.ts +1 -1
  6. package/dist/{chunk-6DVWMJ3H.mjs → chunk-2EFVMX6V.mjs} +4 -3
  7. package/dist/chunk-33JR5SYE.js +1 -0
  8. package/dist/{chunk-OZZWDIOY.js → chunk-375DECW4.js} +32 -31
  9. package/dist/chunk-3NDB4YPC.js +1 -0
  10. package/dist/{chunk-PZRI43EZ.js → chunk-46JYKBRX.js} +0 -43
  11. package/dist/chunk-5D55OVD5.js +75 -0
  12. package/dist/chunk-5RW4PYZ6.js +1 -0
  13. package/dist/chunk-5THF4YP6.mjs +1 -0
  14. package/dist/{chunk-JORVSG52.js → chunk-663CFAHS.js} +212 -269
  15. package/dist/chunk-6BUBNZPG.mjs +1 -0
  16. package/dist/chunk-6HKJDV43.mjs +48 -0
  17. package/dist/chunk-6NCRGHV3.mjs +64 -0
  18. package/dist/{chunk-OLAAXLXY.mjs → chunk-6QAKQG57.mjs} +5 -4
  19. package/dist/chunk-72JGQ7IJ.mjs +1 -0
  20. package/dist/{chunk-N6AFNFZR.mjs → chunk-7ERVZXIN.mjs} +215 -270
  21. package/dist/chunk-7IKHZKAC.js +1 -0
  22. package/dist/chunk-APFEP5B7.mjs +100 -0
  23. package/dist/chunk-C3OADNSG.js +348 -0
  24. package/dist/{chunk-RVEFPVZF.mjs → chunk-C57MX3BG.mjs} +1 -0
  25. package/dist/{chunk-CC4KUIKC.js → chunk-DH5Z3ETN.js} +67 -45
  26. package/dist/chunk-DYWZ23QT.mjs +90 -0
  27. package/dist/{chunk-KRRIRS6A.mjs → chunk-E67IR6HU.mjs} +31 -9
  28. package/dist/{chunk-D3QXPL47.mjs → chunk-EXQSWHLD.mjs} +7 -6
  29. package/dist/{chunk-ZOA7B32D.js → chunk-F35KL6TX.js} +10 -9
  30. package/dist/{chunk-YSLD2HLP.mjs → chunk-FFJC66KO.mjs} +2 -1
  31. package/dist/chunk-FRRS2YZH.mjs +1 -0
  32. package/dist/chunk-G5TQWWQA.mjs +1 -0
  33. package/dist/{chunk-MPZFPU4X.js → chunk-GMBLPQ3I.js} +4 -3
  34. package/dist/chunk-IJFPPLQW.js +50 -0
  35. package/dist/chunk-J6OLBSZR.js +1 -0
  36. package/dist/chunk-KGGQ5NZV.js +1 -0
  37. package/dist/chunk-KHCC5UKW.mjs +1 -0
  38. package/dist/{chunk-BMFQG6RA.mjs → chunk-KJIX6V32.mjs} +108 -1885
  39. package/dist/chunk-LABHD4PU.js +109 -0
  40. package/dist/chunk-LQCVRWVF.js +1 -0
  41. package/dist/{chunk-GAIQJCAZ.js → chunk-LT5VD4KR.js} +150 -1953
  42. package/dist/{chunk-7DHKQODW.mjs → chunk-LTLCIRZY.mjs} +257 -474
  43. package/dist/chunk-N5BHXWR3.mjs +34 -0
  44. package/dist/chunk-OCO3Z5YA.js +37 -0
  45. package/dist/chunk-OFQLWSUR.mjs +1 -0
  46. package/dist/chunk-OIJ7XMDV.mjs +71 -0
  47. package/dist/chunk-ORBH4IBC.mjs +316 -0
  48. package/dist/{chunk-C4UT5V3P.js → chunk-OWHI5VGJ.js} +1 -0
  49. package/dist/chunk-OWWOAYIY.js +2652 -0
  50. package/dist/chunk-PFHOXDSW.mjs +10 -0
  51. package/dist/chunk-Q52ZEL62.mjs +1 -0
  52. package/dist/chunk-QRS7DJGS.js +103 -0
  53. package/dist/chunk-R26Y7LGJ.js +1 -0
  54. package/dist/{chunk-BFWX5GJZ.mjs → chunk-R3X4B4JJ.mjs} +56 -8
  55. package/dist/chunk-RBUYW6QQ.js +1 -0
  56. package/dist/chunk-RM7ACPTM.mjs +2601 -0
  57. package/dist/chunk-RODSGPBB.mjs +75 -0
  58. package/dist/chunk-SORWLKOK.js +1 -0
  59. package/dist/{chunk-T6ZBA6VJ.js → chunk-UHAV34YX.js} +9 -8
  60. package/dist/{chunk-GUSTCU2W.mjs → chunk-ULANYJ7Y.mjs} +1 -59
  61. package/dist/chunk-ULDE7QSN.js +70 -0
  62. package/dist/chunk-UT36VNVZ.mjs +47 -0
  63. package/dist/chunk-UY3H4PKB.js +71 -0
  64. package/dist/{chunk-KB7UXIQZ.mjs → chunk-VIVWFQG5.mjs} +3 -1
  65. package/dist/{chunk-ESZ7CBA2.js → chunk-VKBJ3SGT.js} +7 -5
  66. package/dist/{chunk-UM7WMXIU.js → chunk-W3YOQ5ZD.js} +265 -505
  67. package/dist/chunk-WOITB4JL.js +1 -0
  68. package/dist/{chunk-E42B4GSB.js → chunk-XGJL6DLV.js} +58 -7
  69. package/dist/chunk-YKZEKJMZ.mjs +1 -0
  70. package/dist/chunk-YRIBFIQ5.js +116 -0
  71. package/dist/chunk-ZFLZA7UP.mjs +1 -0
  72. package/dist/chunk-ZKUIUE7W.mjs +1 -0
  73. package/dist/chunk-ZWWJ3RRA.js +15 -0
  74. package/dist/data-grid.d.cts +241 -0
  75. package/dist/data-grid.d.ts +241 -0
  76. package/dist/data-grid.js +6486 -0
  77. package/dist/data-grid.mjs +6459 -0
  78. package/dist/data-table-CDQBo-Ve.d.ts +818 -0
  79. package/dist/data-table-jLzt6plY.d.cts +818 -0
  80. package/dist/data-table.d.cts +8 -42
  81. package/dist/data-table.d.ts +8 -42
  82. package/dist/data-table.js +61 -187
  83. package/dist/data-table.mjs +11 -5
  84. package/dist/finance.d.cts +534 -0
  85. package/dist/finance.d.ts +534 -0
  86. package/dist/finance.js +188 -0
  87. package/dist/finance.mjs +15 -0
  88. package/dist/forms.js +9 -6
  89. package/dist/forms.mjs +7 -4
  90. package/dist/{hooks-B2jU1GVT.d.ts → hooks-A55E0fgf.d.ts} +3 -2
  91. package/dist/{hooks-8ORd7T1A.d.cts → hooks-Bys_AZPI.d.cts} +3 -2
  92. package/dist/hooks.d.cts +1 -1
  93. package/dist/hooks.d.ts +1 -1
  94. package/dist/hooks.js +26 -23
  95. package/dist/hooks.mjs +6 -3
  96. package/dist/index.d.cts +536 -665
  97. package/dist/index.d.ts +536 -665
  98. package/dist/index.js +3830 -3408
  99. package/dist/index.mjs +2068 -1767
  100. package/dist/layouts.js +26 -25
  101. package/dist/layouts.mjs +5 -4
  102. package/dist/marketing-3d.js +1 -0
  103. package/dist/marketing-3d.mjs +1 -0
  104. package/dist/marketing.js +75 -74
  105. package/dist/marketing.mjs +5 -4
  106. package/dist/media.js +1 -0
  107. package/dist/media.mjs +1 -0
  108. package/dist/navigation.js +29 -28
  109. package/dist/navigation.mjs +7 -6
  110. package/dist/primitives.d.cts +72 -109
  111. package/dist/primitives.d.ts +72 -109
  112. package/dist/primitives.js +78 -72
  113. package/dist/primitives.mjs +8 -6
  114. package/dist/settings.js +9 -9
  115. package/dist/settings.mjs +4 -4
  116. package/package.json +21 -4
  117. package/dist/UnifiedTableControls-CG299y9h.d.ts +0 -1233
  118. package/dist/UnifiedTableControls-CIjRpNhy.d.cts +0 -1233
  119. package/dist/chunk-GMBGWOCR.mjs +0 -48
  120. package/dist/chunk-HBLKVQIQ.mjs +0 -23
  121. package/dist/chunk-HMAMMC72.js +0 -26
  122. package/dist/chunk-MVYRNJA6.js +0 -74
@@ -0,0 +1,348 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ var chunkKGGQ5NZV_js = require('./chunk-KGGQ5NZV.js');
5
+ var chunk6TGV2DNP_js = require('./chunk-6TGV2DNP.js');
6
+ var chunkADIDI7AJ_js = require('./chunk-ADIDI7AJ.js');
7
+ var lucideReact = require('lucide-react');
8
+ var React = require('react');
9
+ var reactDayPicker = require('react-day-picker');
10
+ var jsxRuntime = require('react/jsx-runtime');
11
+ var cmdk = require('cmdk');
12
+
13
+ function _interopNamespace(e) {
14
+ if (e && e.__esModule) return e;
15
+ var n = Object.create(null);
16
+ if (e) {
17
+ Object.keys(e).forEach(function (k) {
18
+ if (k !== 'default') {
19
+ var d = Object.getOwnPropertyDescriptor(e, k);
20
+ Object.defineProperty(n, k, d.get ? d : {
21
+ enumerable: true,
22
+ get: function () { return e[k]; }
23
+ });
24
+ }
25
+ });
26
+ }
27
+ n.default = e;
28
+ return Object.freeze(n);
29
+ }
30
+
31
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
32
+
33
+ function Calendar({
34
+ className,
35
+ classNames,
36
+ showOutsideDays = true,
37
+ captionLayout = "label",
38
+ buttonVariant = "ghost",
39
+ formatters,
40
+ components,
41
+ ...props
42
+ }) {
43
+ const defaultClassNames = reactDayPicker.getDefaultClassNames();
44
+ return /* @__PURE__ */ jsxRuntime.jsx(
45
+ reactDayPicker.DayPicker,
46
+ {
47
+ showOutsideDays,
48
+ className: chunkADIDI7AJ_js.cn(
49
+ "group/calendar bg-background p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",
50
+ String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,
51
+ String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
52
+ className
53
+ ),
54
+ captionLayout,
55
+ formatters: {
56
+ formatMonthDropdown: (date) => date.toLocaleString("default", { month: "short" }),
57
+ ...formatters
58
+ },
59
+ classNames: {
60
+ root: chunkADIDI7AJ_js.cn("w-fit", defaultClassNames.root),
61
+ months: chunkADIDI7AJ_js.cn(
62
+ "relative flex flex-col gap-4 md:flex-row",
63
+ defaultClassNames.months
64
+ ),
65
+ month: chunkADIDI7AJ_js.cn("flex w-full flex-col gap-4", defaultClassNames.month),
66
+ nav: chunkADIDI7AJ_js.cn(
67
+ "absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",
68
+ defaultClassNames.nav
69
+ ),
70
+ button_previous: chunkADIDI7AJ_js.cn(
71
+ chunk6TGV2DNP_js.buttonVariants({ variant: buttonVariant }),
72
+ "size-(--cell-size) p-0 select-none aria-disabled:opacity-50",
73
+ defaultClassNames.button_previous
74
+ ),
75
+ button_next: chunkADIDI7AJ_js.cn(
76
+ chunk6TGV2DNP_js.buttonVariants({ variant: buttonVariant }),
77
+ "size-(--cell-size) p-0 select-none aria-disabled:opacity-50",
78
+ defaultClassNames.button_next
79
+ ),
80
+ month_caption: chunkADIDI7AJ_js.cn(
81
+ "flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)",
82
+ defaultClassNames.month_caption
83
+ ),
84
+ dropdowns: chunkADIDI7AJ_js.cn(
85
+ "flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium",
86
+ defaultClassNames.dropdowns
87
+ ),
88
+ dropdown_root: chunkADIDI7AJ_js.cn(
89
+ "relative rounded-md border border-input shadow-xs has-focus:border-ring has-focus:ring-[3px] has-focus:ring-ring/50",
90
+ defaultClassNames.dropdown_root
91
+ ),
92
+ dropdown: chunkADIDI7AJ_js.cn(
93
+ "absolute inset-0 bg-popover opacity-0",
94
+ defaultClassNames.dropdown
95
+ ),
96
+ caption_label: chunkADIDI7AJ_js.cn(
97
+ "font-medium select-none",
98
+ captionLayout === "label" ? "text-sm" : "flex h-8 items-center gap-1 rounded-md pr-1 pl-2 text-sm [&>svg]:size-3.5 [&>svg]:text-muted-foreground",
99
+ defaultClassNames.caption_label
100
+ ),
101
+ month_grid: chunkADIDI7AJ_js.cn("w-full border-collapse", defaultClassNames.month_grid),
102
+ weekdays: chunkADIDI7AJ_js.cn("flex", defaultClassNames.weekdays),
103
+ weekday: chunkADIDI7AJ_js.cn(
104
+ "flex-1 rounded-md text-[0.8rem] font-normal text-muted-foreground select-none",
105
+ defaultClassNames.weekday
106
+ ),
107
+ week: chunkADIDI7AJ_js.cn("mt-2 flex w-full", defaultClassNames.week),
108
+ week_number_header: chunkADIDI7AJ_js.cn(
109
+ "w-(--cell-size) select-none",
110
+ defaultClassNames.week_number_header
111
+ ),
112
+ week_number: chunkADIDI7AJ_js.cn(
113
+ "text-[0.8rem] text-muted-foreground select-none",
114
+ defaultClassNames.week_number
115
+ ),
116
+ day: chunkADIDI7AJ_js.cn(
117
+ "group/day relative aspect-square h-full w-full p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-r-md",
118
+ props.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-md" : "[&:first-child[data-selected=true]_button]:rounded-l-md",
119
+ defaultClassNames.day
120
+ ),
121
+ range_start: chunkADIDI7AJ_js.cn(
122
+ "rounded-l-md bg-accent",
123
+ defaultClassNames.range_start
124
+ ),
125
+ range_middle: chunkADIDI7AJ_js.cn("rounded-none", defaultClassNames.range_middle),
126
+ range_end: chunkADIDI7AJ_js.cn("rounded-r-md bg-accent", defaultClassNames.range_end),
127
+ today: chunkADIDI7AJ_js.cn(
128
+ "rounded-md bg-accent text-accent-foreground data-[selected=true]:rounded-none",
129
+ defaultClassNames.today
130
+ ),
131
+ outside: chunkADIDI7AJ_js.cn(
132
+ "text-muted-foreground aria-selected:text-muted-foreground",
133
+ defaultClassNames.outside
134
+ ),
135
+ disabled: chunkADIDI7AJ_js.cn(
136
+ "text-muted-foreground opacity-50",
137
+ defaultClassNames.disabled
138
+ ),
139
+ hidden: chunkADIDI7AJ_js.cn("invisible", defaultClassNames.hidden),
140
+ ...classNames
141
+ },
142
+ components: {
143
+ Root: ({ className: className2, rootRef, ...props2 }) => {
144
+ return /* @__PURE__ */ jsxRuntime.jsx(
145
+ "div",
146
+ {
147
+ "data-slot": "calendar",
148
+ ref: rootRef,
149
+ className: chunkADIDI7AJ_js.cn(className2),
150
+ ...props2
151
+ }
152
+ );
153
+ },
154
+ Chevron: ({ className: className2, orientation, ...props2 }) => {
155
+ if (orientation === "left") {
156
+ return /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeftIcon, { className: chunkADIDI7AJ_js.cn("size-4", className2), ...props2 });
157
+ }
158
+ if (orientation === "right") {
159
+ return /* @__PURE__ */ jsxRuntime.jsx(
160
+ lucideReact.ChevronRightIcon,
161
+ {
162
+ className: chunkADIDI7AJ_js.cn("size-4", className2),
163
+ ...props2
164
+ }
165
+ );
166
+ }
167
+ return /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDownIcon, { className: chunkADIDI7AJ_js.cn("size-4", className2), ...props2 });
168
+ },
169
+ DayButton: CalendarDayButton,
170
+ WeekNumber: ({ children, ...props2 }) => {
171
+ return /* @__PURE__ */ jsxRuntime.jsx("td", { ...props2, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) });
172
+ },
173
+ ...components
174
+ },
175
+ ...props
176
+ }
177
+ );
178
+ }
179
+ function CalendarDayButton({
180
+ className,
181
+ day,
182
+ modifiers,
183
+ ...props
184
+ }) {
185
+ const defaultClassNames = reactDayPicker.getDefaultClassNames();
186
+ const ref = React__namespace.useRef(null);
187
+ React__namespace.useEffect(() => {
188
+ if (modifiers.focused) ref.current?.focus();
189
+ }, [modifiers.focused]);
190
+ return /* @__PURE__ */ jsxRuntime.jsx(
191
+ chunk6TGV2DNP_js.Button,
192
+ {
193
+ ref,
194
+ variant: "ghost",
195
+ size: "icon",
196
+ "data-day": day.date.toLocaleDateString(),
197
+ "data-selected-single": modifiers.selected && !modifiers.range_start && !modifiers.range_end && !modifiers.range_middle,
198
+ "data-range-start": modifiers.range_start,
199
+ "data-range-end": modifiers.range_end,
200
+ "data-range-middle": modifiers.range_middle,
201
+ className: chunkADIDI7AJ_js.cn(
202
+ "flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground dark:hover:text-accent-foreground [&>span]:text-xs [&>span]:opacity-70",
203
+ defaultClassNames.day,
204
+ className
205
+ ),
206
+ ...props
207
+ }
208
+ );
209
+ }
210
+ function Command({
211
+ className,
212
+ ...props
213
+ }) {
214
+ return /* @__PURE__ */ jsxRuntime.jsx(
215
+ cmdk.Command,
216
+ {
217
+ className: chunkADIDI7AJ_js.cn(
218
+ "bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-box",
219
+ className
220
+ ),
221
+ ...props
222
+ }
223
+ );
224
+ }
225
+ function CommandDialog({
226
+ children,
227
+ title = "Command palette",
228
+ ...props
229
+ }) {
230
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkKGGQ5NZV_js.Dialog, { ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkKGGQ5NZV_js.DialogContent, { className: "overflow-hidden p-0", children: [
231
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKGGQ5NZV_js.DialogTitle, { className: "sr-only", children: title }),
232
+ /* @__PURE__ */ jsxRuntime.jsx(Command, { className: "[&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children })
233
+ ] }) });
234
+ }
235
+ function CommandInput({
236
+ className,
237
+ ...props
238
+ }) {
239
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
240
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
241
+ /* @__PURE__ */ jsxRuntime.jsx(
242
+ cmdk.Command.Input,
243
+ {
244
+ className: chunkADIDI7AJ_js.cn(
245
+ "placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground flex h-10 w-full rounded-box bg-transparent py-3 text-sm outline-none disabled:cursor-not-allowed disabled:opacity-50",
246
+ className
247
+ ),
248
+ ...props
249
+ }
250
+ )
251
+ ] });
252
+ }
253
+ function CommandList({
254
+ className,
255
+ ...props
256
+ }) {
257
+ return /* @__PURE__ */ jsxRuntime.jsx(
258
+ cmdk.Command.List,
259
+ {
260
+ className: chunkADIDI7AJ_js.cn(
261
+ "max-h-[300px] overflow-y-auto overflow-x-hidden scroll-py-1",
262
+ className
263
+ ),
264
+ ...props
265
+ }
266
+ );
267
+ }
268
+ function CommandEmpty({
269
+ className,
270
+ ...props
271
+ }) {
272
+ return /* @__PURE__ */ jsxRuntime.jsx(
273
+ cmdk.Command.Empty,
274
+ {
275
+ className: chunkADIDI7AJ_js.cn("py-6 text-center text-sm", className),
276
+ ...props
277
+ }
278
+ );
279
+ }
280
+ function CommandGroup({
281
+ className,
282
+ ...props
283
+ }) {
284
+ return /* @__PURE__ */ jsxRuntime.jsx(
285
+ cmdk.Command.Group,
286
+ {
287
+ className: chunkADIDI7AJ_js.cn(
288
+ "text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",
289
+ className
290
+ ),
291
+ ...props
292
+ }
293
+ );
294
+ }
295
+ function CommandSeparator({
296
+ className,
297
+ ...props
298
+ }) {
299
+ return /* @__PURE__ */ jsxRuntime.jsx(
300
+ cmdk.Command.Separator,
301
+ {
302
+ className: chunkADIDI7AJ_js.cn("bg-border -mx-1 h-px", className),
303
+ ...props
304
+ }
305
+ );
306
+ }
307
+ function CommandItem({
308
+ className,
309
+ ...props
310
+ }) {
311
+ return /* @__PURE__ */ jsxRuntime.jsx(
312
+ cmdk.Command.Item,
313
+ {
314
+ className: chunkADIDI7AJ_js.cn(
315
+ "data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
316
+ className
317
+ ),
318
+ ...props
319
+ }
320
+ );
321
+ }
322
+ function CommandShortcut({
323
+ className,
324
+ ...props
325
+ }) {
326
+ return /* @__PURE__ */ jsxRuntime.jsx(
327
+ "span",
328
+ {
329
+ className: chunkADIDI7AJ_js.cn(
330
+ "text-muted-foreground ml-auto text-xs tracking-widest",
331
+ className
332
+ ),
333
+ ...props
334
+ }
335
+ );
336
+ }
337
+
338
+ exports.Calendar = Calendar;
339
+ exports.CalendarDayButton = CalendarDayButton;
340
+ exports.Command = Command;
341
+ exports.CommandDialog = CommandDialog;
342
+ exports.CommandEmpty = CommandEmpty;
343
+ exports.CommandGroup = CommandGroup;
344
+ exports.CommandInput = CommandInput;
345
+ exports.CommandItem = CommandItem;
346
+ exports.CommandList = CommandList;
347
+ exports.CommandSeparator = CommandSeparator;
348
+ exports.CommandShortcut = CommandShortcut;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { cn } from './chunk-IMKLN273.mjs';
2
3
  import * as React from 'react';
3
4
  import { jsx } from 'react/jsx-runtime';
@@ -1,8 +1,9 @@
1
+ "use client";
1
2
  'use strict';
2
3
 
3
- var chunkMVYRNJA6_js = require('./chunk-MVYRNJA6.js');
4
- var chunkE42B4GSB_js = require('./chunk-E42B4GSB.js');
5
- var chunkHMAMMC72_js = require('./chunk-HMAMMC72.js');
4
+ var chunkXGJL6DLV_js = require('./chunk-XGJL6DLV.js');
5
+ var chunkYRIBFIQ5_js = require('./chunk-YRIBFIQ5.js');
6
+ var chunkOCO3Z5YA_js = require('./chunk-OCO3Z5YA.js');
6
7
  var chunkJ6OLBSZR_js = require('./chunk-J6OLBSZR.js');
7
8
  var chunkSORWLKOK_js = require('./chunk-SORWLKOK.js');
8
9
  var chunkQ256HRYD_js = require('./chunk-Q256HRYD.js');
@@ -405,7 +406,7 @@ function ThemeToggle({
405
406
  }
406
407
  const tooltipContent = tooltip ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
407
408
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: ariaLabel }),
408
- shouldShowShortcut && shortcutDisplay && /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.KeyboardShortcut, { className: "ml-2 text-xs", children: shortcutDisplay })
409
+ shouldShowShortcut && shortcutDisplay && /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.KeyboardShortcut, { className: "ml-2 text-xs", children: shortcutDisplay })
409
410
  ] });
410
411
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkSORWLKOK_js.Tooltip, { children: [
411
412
  /* @__PURE__ */ jsxRuntime.jsx(chunkSORWLKOK_js.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -469,7 +470,7 @@ function AppHeader({
469
470
  className
470
471
  ),
471
472
  children: [
472
- showSidebarTrigger && /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarTrigger, { className: "-ml-1" }),
473
+ showSidebarTrigger && /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarTrigger, { className: "-ml-1" }),
473
474
  leadingContent,
474
475
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1" }),
475
476
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
@@ -639,12 +640,12 @@ function AppSidebar({
639
640
  const renderNavItem = (item) => {
640
641
  const isActive = getIsActive(item);
641
642
  const Icon = item.icon;
642
- const Shortcut = ShortcutComponent || chunkE42B4GSB_js.KeyboardShortcut;
643
+ const Shortcut = ShortcutComponent || chunkXGJL6DLV_js.KeyboardShortcut;
643
644
  const iconAnimationClass = item.disabled ? "" : getIconAnimationClass(item.iconAnimation);
644
645
  if (item.disabled) {
645
646
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkSORWLKOK_js.Tooltip, { children: [
646
647
  /* @__PURE__ */ jsxRuntime.jsx(chunkSORWLKOK_js.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
647
- chunkE42B4GSB_js.SidebarMenuButton,
648
+ chunkXGJL6DLV_js.SidebarMenuButton,
648
649
  {
649
650
  className: "cursor-not-allowed opacity-40",
650
651
  isActive: false,
@@ -660,7 +661,7 @@ function AppSidebar({
660
661
  ] });
661
662
  }
662
663
  return /* @__PURE__ */ jsxRuntime.jsx(
663
- chunkE42B4GSB_js.SidebarMenuButton,
664
+ chunkXGJL6DLV_js.SidebarMenuButton,
664
665
  {
665
666
  asChild: true,
666
667
  isActive,
@@ -674,11 +675,11 @@ function AppSidebar({
674
675
  }
675
676
  );
676
677
  };
677
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkE42B4GSB_js.Sidebar, { collapsible, children: [
678
- header && /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarHeader, { children: header }),
679
- /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarContent, { children: processedNavGroups.map((group) => {
678
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkXGJL6DLV_js.Sidebar, { collapsible, children: [
679
+ header && /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarHeader, { children: header }),
680
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarContent, { children: processedNavGroups.map((group) => {
680
681
  if (group.type === "divider") {
681
- return /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarSeparator, { className: "my-2" }, group.key);
682
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarSeparator, { className: "my-2" }, group.key);
682
683
  }
683
684
  if (group.type === "section") {
684
685
  const section = group.section;
@@ -695,8 +696,8 @@ function AppSidebar({
695
696
  [section.label]: open
696
697
  })),
697
698
  className: "group/collapsible",
698
- children: /* @__PURE__ */ jsxRuntime.jsxs(chunkE42B4GSB_js.SidebarGroup, { children: [
699
- SectionIcon && sectionHref && /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarGroupContent, { className: "hidden group-data-[collapsible=icon]:block", children: /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarMenu, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsxs(
699
+ children: /* @__PURE__ */ jsxRuntime.jsxs(chunkXGJL6DLV_js.SidebarGroup, { children: [
700
+ SectionIcon && sectionHref && /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarGroupContent, { className: "hidden group-data-[collapsible=icon]:block", children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenu, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsxs(
700
701
  chunkJ6OLBSZR_js.DropdownMenu,
701
702
  {
702
703
  onOpenChange: (open) => {
@@ -707,7 +708,7 @@ function AppSidebar({
707
708
  },
708
709
  children: [
709
710
  /* @__PURE__ */ jsxRuntime.jsx(chunkJ6OLBSZR_js.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
710
- chunkE42B4GSB_js.SidebarMenuButton,
711
+ chunkXGJL6DLV_js.SidebarMenuButton,
711
712
  {
712
713
  "aria-label": section.label,
713
714
  tooltip: suppressSectionTooltip === section.label ? void 0 : section.label,
@@ -750,7 +751,7 @@ function AppSidebar({
750
751
  ) }) }) }),
751
752
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "group-data-[collapsible=icon]:hidden", children: [
752
753
  /* @__PURE__ */ jsxRuntime.jsx(
753
- chunkE42B4GSB_js.SidebarGroupLabel,
754
+ chunkXGJL6DLV_js.SidebarGroupLabel,
754
755
  {
755
756
  asChild: true,
756
757
  className: "text-xs font-medium uppercase tracking-wider text-sidebar-foreground",
@@ -763,28 +764,28 @@ function AppSidebar({
763
764
  ] })
764
765
  }
765
766
  ),
766
- /* @__PURE__ */ jsxRuntime.jsx(CollapsibleContent2, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarGroupContent, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarMenu, { children: section.items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarMenuItem, { children: renderNavItem(item) }, item.href)) }) }) })
767
+ /* @__PURE__ */ jsxRuntime.jsx(CollapsibleContent2, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarGroupContent, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenu, { children: section.items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenuItem, { children: renderNavItem(item) }, item.href)) }) }) })
767
768
  ] })
768
769
  ] })
769
770
  },
770
771
  `section-${section.label}`
771
772
  );
772
773
  }
773
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkE42B4GSB_js.SidebarGroup, { children: [
774
- /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarGroupLabel, { className: "text-xs font-medium uppercase tracking-wider text-sidebar-foreground", children: section.label }),
775
- /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarGroupContent, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarMenu, { children: section.items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarMenuItem, { children: renderNavItem(item) }, item.href)) }) })
774
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkXGJL6DLV_js.SidebarGroup, { children: [
775
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarGroupLabel, { className: "text-xs font-medium uppercase tracking-wider text-sidebar-foreground", children: section.label }),
776
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarGroupContent, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenu, { children: section.items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenuItem, { children: renderNavItem(item) }, item.href)) }) })
776
777
  ] }, `section-${section.label}`);
777
778
  }
778
779
  if (group.type === "plain-group") {
779
- return /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarGroup, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarGroupContent, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarMenu, { children: group.items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarMenuItem, { children: renderNavItem(item) }, item.href)) }) }) }, group.key);
780
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarGroup, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarGroupContent, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenu, { children: group.items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenuItem, { children: renderNavItem(item) }, item.href)) }) }) }, group.key);
780
781
  }
781
782
  return null;
782
783
  }) }),
783
- /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarFooter, { children: userLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarMenu, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 px-2 py-1.5", children: [
784
- /* @__PURE__ */ jsxRuntime.jsx(chunkHMAMMC72_js.Spinner, { size: "sm" }),
784
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarFooter, { children: userLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenu, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 px-2 py-1.5", children: [
785
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOCO3Z5YA_js.SizedSpinner, { size: "sm" }),
785
786
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-muted-foreground", children: "Loading..." })
786
- ] }) }) }) : user ? /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarMenu, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsx(
787
- chunkE42B4GSB_js.UserAvatarMenu,
787
+ ] }) }) }) : user ? /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenu, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsx(
788
+ chunkXGJL6DLV_js.UserAvatarMenu,
788
789
  {
789
790
  user: {
790
791
  id: user.id,
@@ -802,21 +803,21 @@ function AppSidebar({
802
803
  LinkComponent,
803
804
  ShortcutComponent,
804
805
  trigger: /* @__PURE__ */ jsxRuntime.jsxs(
805
- chunkE42B4GSB_js.SidebarMenuButton,
806
+ chunkXGJL6DLV_js.SidebarMenuButton,
806
807
  {
807
808
  size: "lg",
808
809
  className: `rounded-xl focus-visible:ring-0 ${menuOpen || isOnProfilePage ? "bg-sidebar-accent text-sidebar-accent-foreground" : ""}`,
809
810
  children: [
810
- /* @__PURE__ */ jsxRuntime.jsxs(chunkE42B4GSB_js.Avatar, { className: "h-8 w-8 rounded-full", children: [
811
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXGJL6DLV_js.Avatar, { className: "h-8 w-8 rounded-full", children: [
811
812
  user.avatarUrl && /* @__PURE__ */ jsxRuntime.jsx(
812
- chunkE42B4GSB_js.AvatarImage,
813
+ chunkXGJL6DLV_js.AvatarImage,
813
814
  {
814
815
  src: user.avatarUrl,
815
816
  alt: user.name || ""
816
817
  }
817
818
  ),
818
819
  /* @__PURE__ */ jsxRuntime.jsx(
819
- chunkE42B4GSB_js.AvatarFallback,
820
+ chunkXGJL6DLV_js.AvatarFallback,
820
821
  {
821
822
  className: "rounded-full text-xs font-medium text-white",
822
823
  style: chunkQ256HRYD_js.getAvatarGradient(user.id).style,
@@ -834,11 +835,11 @@ function AppSidebar({
834
835
  }
835
836
  )
836
837
  }
837
- ) }) }) : /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarMenu, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarMenuButton, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(Link3, { href: signInHref, children: [
838
+ ) }) }) : /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenu, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenuButton, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(Link3, { href: signInHref, children: [
838
839
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, {}),
839
840
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Sign In" })
840
841
  ] }) }) }) }) }),
841
- /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.SidebarRail, {})
842
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarRail, {})
842
843
  ] });
843
844
  }
844
845
  function FloatingUserMenu({
@@ -850,7 +851,7 @@ function FloatingUserMenu({
850
851
  profilePath = "/profile",
851
852
  LinkComponent = "a"
852
853
  }) {
853
- const { isMobile } = chunkE42B4GSB_js.useSidebar();
854
+ const { isMobile } = chunkXGJL6DLV_js.useSidebar();
854
855
  const [open, setOpen] = React.useState(false);
855
856
  const isOnProfilePage = pathname === profilePath || pathname.startsWith(`${profilePath}/`);
856
857
  const allMenuItems = React.useMemo(() => {
@@ -868,13 +869,13 @@ function FloatingUserMenu({
868
869
  }, [menuItems, onSignOut]);
869
870
  if (!isMobile) return null;
870
871
  if (loading) {
871
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed bottom-2 left-2 z-50 flex h-8 w-8 items-center justify-center rounded-full bg-background shadow-md border", children: /* @__PURE__ */ jsxRuntime.jsx(chunkHMAMMC72_js.Spinner, { size: "sm" }) });
872
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed bottom-2 left-2 z-50 flex h-8 w-8 items-center justify-center rounded-full bg-background shadow-md border", children: /* @__PURE__ */ jsxRuntime.jsx(chunkOCO3Z5YA_js.SizedSpinner, { size: "sm" }) });
872
873
  }
873
874
  if (!user) return null;
874
875
  const displayName = user.name || user.email || "User";
875
876
  const initials = user.initials || user.name?.[0]?.toUpperCase() || "U";
876
877
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed bottom-2 left-2 z-50", children: /* @__PURE__ */ jsxRuntime.jsx(
877
- chunkE42B4GSB_js.UserAvatarMenu,
878
+ chunkXGJL6DLV_js.UserAvatarMenu,
878
879
  {
879
880
  user: {
880
881
  id: user.id,
@@ -897,10 +898,10 @@ function FloatingUserMenu({
897
898
  type: "button",
898
899
  className: `flex h-8 w-8 items-center justify-center rounded-full shadow-md border bg-background transition-all hover:scale-105 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${open || isOnProfilePage ? "ring-2 ring-primary" : ""}`,
899
900
  children: [
900
- /* @__PURE__ */ jsxRuntime.jsxs(chunkE42B4GSB_js.Avatar, { className: "h-8 w-8 rounded-full", children: [
901
- user.avatarUrl && /* @__PURE__ */ jsxRuntime.jsx(chunkE42B4GSB_js.AvatarImage, { src: user.avatarUrl, alt: displayName }),
901
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXGJL6DLV_js.Avatar, { className: "h-8 w-8 rounded-full", children: [
902
+ user.avatarUrl && /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.AvatarImage, { src: user.avatarUrl, alt: displayName }),
902
903
  /* @__PURE__ */ jsxRuntime.jsx(
903
- chunkE42B4GSB_js.AvatarFallback,
904
+ chunkXGJL6DLV_js.AvatarFallback,
904
905
  {
905
906
  className: "rounded-full text-xs font-medium text-white",
906
907
  style: chunkQ256HRYD_js.getAvatarGradient(user.id).style,
@@ -991,7 +992,7 @@ function AppLayout({
991
992
  }
992
993
  ) : null;
993
994
  return /* @__PURE__ */ jsxRuntime.jsxs(
994
- chunkE42B4GSB_js.SidebarProvider,
995
+ chunkXGJL6DLV_js.SidebarProvider,
995
996
  {
996
997
  defaultOpen,
997
998
  open,
@@ -999,7 +1000,7 @@ function AppLayout({
999
1000
  className: chunkADIDI7AJ_js.cn("h-dvh", className),
1000
1001
  children: [
1001
1002
  sidebarElement,
1002
- /* @__PURE__ */ jsxRuntime.jsxs(chunkE42B4GSB_js.SidebarInset, { children: [
1003
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXGJL6DLV_js.SidebarInset, { children: [
1003
1004
  headerElement,
1004
1005
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto overflow-x-hidden min-w-0", children })
1005
1006
  ] }),
@@ -1491,9 +1492,30 @@ function MarketingLayout({
1491
1492
  footer
1492
1493
  ] });
1493
1494
  }
1494
- function Toaster({ ...props }) {
1495
- return /* @__PURE__ */ jsxRuntime.jsx(sonner.Toaster, { ...props });
1496
- }
1495
+ var Toaster = ({ ...props }) => {
1496
+ const { theme = "system" } = nextThemes.useTheme();
1497
+ return /* @__PURE__ */ jsxRuntime.jsx(
1498
+ sonner.Toaster,
1499
+ {
1500
+ theme,
1501
+ className: "toaster group",
1502
+ icons: {
1503
+ success: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CircleCheckIcon, { className: "size-4" }),
1504
+ info: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "size-4" }),
1505
+ warning: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.TriangleAlertIcon, { className: "size-4" }),
1506
+ error: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.OctagonXIcon, { className: "size-4" }),
1507
+ loading: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2Icon, { className: "size-4 animate-spin" })
1508
+ },
1509
+ style: {
1510
+ "--normal-bg": "var(--popover)",
1511
+ "--normal-text": "var(--popover-foreground)",
1512
+ "--normal-border": "var(--border)",
1513
+ "--border-radius": "var(--radius)"
1514
+ },
1515
+ ...props
1516
+ }
1517
+ );
1518
+ };
1497
1519
  var themeScript = `
1498
1520
  (function() {
1499
1521
  try {
@@ -1580,17 +1602,17 @@ function UserPageLayout({
1580
1602
  showHeader,
1581
1603
  beforeHeader: backLink ? /* @__PURE__ */ jsxRuntime.jsx(BackLink, { href: backLink.href, children: backLink.label }) : null,
1582
1604
  children: loading && loadingSkeleton ? loadingSkeleton : tabs && tabs.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
1583
- chunkMVYRNJA6_js.Tabs,
1605
+ chunkYRIBFIQ5_js.Tabs,
1584
1606
  {
1585
1607
  defaultValue: defaultTab || tabs[0].value,
1586
1608
  onValueChange: onTabChange,
1587
1609
  className: "space-y-4",
1588
1610
  children: [
1589
- /* @__PURE__ */ jsxRuntime.jsx(chunkMVYRNJA6_js.TabsList, { children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsxs(chunkMVYRNJA6_js.TabsTrigger, { value: tab.value, className: "gap-2", children: [
1611
+ /* @__PURE__ */ jsxRuntime.jsx(chunkYRIBFIQ5_js.TabsList, { children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsxs(chunkYRIBFIQ5_js.TabsTrigger, { value: tab.value, className: "gap-2", children: [
1590
1612
  tab.icon && /* @__PURE__ */ jsxRuntime.jsx(tab.icon, { className: "h-4 w-4" }),
1591
1613
  tab.label
1592
1614
  ] }, tab.value)) }),
1593
- tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(chunkMVYRNJA6_js.TabsContent, { value: tab.value, className: "mt-2", children: tab.content }, tab.value))
1615
+ tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(chunkYRIBFIQ5_js.TabsContent, { value: tab.value, className: "mt-2", children: tab.content }, tab.value))
1594
1616
  ]
1595
1617
  }
1596
1618
  ) : children