@cupcodev/ui 1.0.2 → 1.0.7

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.
package/dist/index.js CHANGED
@@ -422,7 +422,7 @@ function BackgroundStars() {
422
422
  const { r, g, b } = hexToRgb(hex);
423
423
  return [r / 255, g / 255, b / 255];
424
424
  }
425
- let comets = [];
425
+ const comets = [];
426
426
  function spawnComet() {
427
427
  const angle = Math.random() * Math.PI * 2;
428
428
  const len = rand(80, 160);
@@ -621,10 +621,10 @@ CardGlass.displayName = "CardGlass";
621
621
  import { X } from "lucide-react";
622
622
  import { jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
623
623
  var variantStyles = {
624
- default: "bg-muted text-cupcode-ink border-border",
624
+ default: "bg-muted text-cupcode-ink border-border dark:text-white dark:bg-cupcode-ink/40",
625
625
  primary: "bg-gradient-to-r from-cupcode-pink to-cupcode-purple text-white border-transparent",
626
626
  secondary: "bg-cupcode-purple/10 text-cupcode-purple border-cupcode-purple/20",
627
- outline: "bg-transparent text-cupcode-ink border-cupcode-purple"
627
+ outline: "bg-transparent text-cupcode-ink border-cupcode-purple dark:text-cupcode-purple"
628
628
  };
629
629
  var ChipTag = ({
630
630
  label,
@@ -764,7 +764,9 @@ var Dock = ({ items, className }) => {
764
764
  items.map((item, index) => /* @__PURE__ */ jsx9(
765
765
  "li",
766
766
  {
767
- ref: (el) => itemsRef.current[index] = el,
767
+ ref: (el) => {
768
+ itemsRef.current[index] = el;
769
+ },
768
770
  className: "relative z-10",
769
771
  children: /* @__PURE__ */ jsxs7(Tooltip, { children: [
770
772
  /* @__PURE__ */ jsx9(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx9(
@@ -802,11 +804,11 @@ var Dock = ({ items, className }) => {
802
804
  };
803
805
 
804
806
  // src/components/cupcode/DockWrapper.tsx
805
- import { useEffect as useEffect5, useRef as useRef4 } from "react";
807
+ import { useEffect as useEffect5, useRef as useRef4, useMemo } from "react";
806
808
 
807
809
  // src/hooks/useTelescupAsset.ts
808
810
  import { useState as useState2, useEffect as useEffect4 } from "react";
809
- var API_BASE = "https://telescup.cupcode.dev";
811
+ var API_BASE = "https://cdn.cupcode.com.br";
810
812
  function buildTelescupImageURL(options) {
811
813
  const { id, width, height, fit = "cover", format = "avif", quality = 60 } = options;
812
814
  const params = new URLSearchParams({ id });
@@ -865,21 +867,109 @@ function parseAssetId(input) {
865
867
 
866
868
  // src/components/cupcode/DockWrapper.tsx
867
869
  import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
868
- var DockWrapper = ({ categories }) => {
870
+ var getImageUrl = (rawId, width = 60, height = 60, format = "avif", quality = 60) => {
871
+ const id = parseAssetId(rawId);
872
+ if (!id) return void 0;
873
+ return buildTelescupImageURL({ id, width, height, fit: "cover", format, quality });
874
+ };
875
+ var DockCardIcon = ({ card }) => {
876
+ const url = getImageUrl(card.iconApiId, 64, 64, card.iconFormat, card.iconQuality);
877
+ if (!url) return null;
878
+ return /* @__PURE__ */ jsx10(
879
+ "img",
880
+ {
881
+ className: "icon",
882
+ src: url,
883
+ loading: "lazy",
884
+ decoding: "async",
885
+ alt: card.title
886
+ }
887
+ );
888
+ };
889
+ var DockCategoryBg = ({ apiIdOrUrl, alt }) => {
890
+ const url = getImageUrl(apiIdOrUrl, 90, 90);
891
+ const fallbackText = (alt == null ? void 0 : alt.trim().slice(0, 1).toUpperCase()) || "\u2022";
892
+ return /* @__PURE__ */ jsx10(
893
+ "div",
894
+ {
895
+ className: `bg-img-menu-fix-mob${url ? " has-bg" : " dock-fallback"}`,
896
+ "aria-label": alt,
897
+ role: "img",
898
+ style: {
899
+ backgroundImage: url ? `url(${url})` : void 0,
900
+ backgroundSize: "contain",
901
+ backgroundPosition: "center",
902
+ backgroundRepeat: "no-repeat"
903
+ },
904
+ children: !url ? /* @__PURE__ */ jsx10("span", { className: "dock-fallback-icon", "aria-hidden": "true", children: fallbackText }) : null
905
+ }
906
+ );
907
+ };
908
+ var DockWrapper = ({ categories, activeCategoryId }) => {
869
909
  const rootRef = useRef4(null);
870
910
  const timeoutsRef = useRef4([]);
871
911
  const listenersRef = useRef4([]);
912
+ const sortedCategories = useMemo(
913
+ () => [...categories].sort((a, b) => a.order - b.order),
914
+ [categories]
915
+ );
916
+ const lastInteractiveId = useMemo(() => {
917
+ for (let i = sortedCategories.length - 1; i >= 0; i -= 1) {
918
+ const candidate = sortedCategories[i];
919
+ if (candidate && candidate.type !== "divider") {
920
+ return candidate.id;
921
+ }
922
+ }
923
+ return void 0;
924
+ }, [sortedCategories]);
872
925
  useEffect5(() => {
926
+ var _a;
873
927
  const root = rootRef.current;
874
928
  if (!root) return;
875
929
  const $ = (sel) => root.querySelector(sel);
876
- const $$ = (sel) => Array.from(root.querySelectorAll(sel));
877
930
  const tabbar = $(".tabbar");
878
931
  const dock = $(".dock");
879
932
  const listMenuShow = $(".list-menu-mob-show");
880
933
  const tabbarUl = root.querySelector(".tabbar ul");
881
- const dockItems = $$(".tab-style1 li");
934
+ const INTERACTIVE_SELECTOR = '.tab-style1 li[data-divider="false"]';
935
+ const getDockItems = () => Array.from(root.querySelectorAll(INTERACTIVE_SELECTOR));
936
+ const dockItems = getDockItems();
882
937
  if (!tabbar || !dock || !listMenuShow || !tabbarUl || dockItems.length === 0) return;
938
+ const persistentId = (_a = activeCategoryId != null ? activeCategoryId : lastInteractiveId) != null ? _a : null;
939
+ let openItem = null;
940
+ let latestToggleToken = null;
941
+ const persistentSelector = persistentId != null ? `${INTERACTIVE_SELECTOR}[data-cat-id="${persistentId}"]` : null;
942
+ const getPersistentItem = () => {
943
+ if (persistentSelector) {
944
+ const candidate = root.querySelector(persistentSelector);
945
+ if (candidate) return candidate;
946
+ }
947
+ if (lastInteractiveId) {
948
+ return root.querySelector(
949
+ `${INTERACTIVE_SELECTOR}[data-cat-id="${lastInteractiveId}"]`
950
+ );
951
+ }
952
+ return null;
953
+ };
954
+ const clearPersistentHighlight = () => {
955
+ const persistent = getPersistentItem();
956
+ if (!persistent) return;
957
+ delete persistent.dataset.persistent;
958
+ persistent.removeAttribute("aria-current");
959
+ };
960
+ const ensurePersistentHighlight = () => {
961
+ if (openItem) return;
962
+ const persistent = getPersistentItem();
963
+ if (persistent) {
964
+ persistent.dataset.persistent = "true";
965
+ persistent.setAttribute("aria-current", "page");
966
+ }
967
+ const items = getDockItems();
968
+ const fallback = items.length > 0 ? items[items.length - 1] : null;
969
+ const target = persistent != null ? persistent : fallback;
970
+ if (!target) return;
971
+ requestAnimationFrame(() => moveSliderTo(target));
972
+ };
883
973
  const tip = document.createElement("div");
884
974
  tip.id = "dock-tip";
885
975
  Object.assign(tip.style, {
@@ -1089,6 +1179,19 @@ var DockWrapper = ({ categories }) => {
1089
1179
  submenuStack.style.left = `${offsetX}px`;
1090
1180
  submenuStack.style.top = `-${submenuStack.offsetHeight + 10}px`;
1091
1181
  }
1182
+ const getMenuFor = (item) => {
1183
+ if (!item) return null;
1184
+ const dataWhere = item.getAttribute("data-where");
1185
+ if (!dataWhere) return null;
1186
+ return root.querySelector(
1187
+ `.mob-list-menu[data-tagget="${dataWhere}"]`
1188
+ );
1189
+ };
1190
+ const setTabbarTheme = (slug) => {
1191
+ if (!tabbar) return;
1192
+ const base = tabbar.className.split(" ").filter((c) => !c.endsWith("-style")).join(" ").trim() || "tabbar tab-style1";
1193
+ tabbar.className = slug ? `${base} ${slug}-style` : base;
1194
+ };
1092
1195
  function openMenu(menu) {
1093
1196
  if (!menu) return;
1094
1197
  menu.classList.remove("hide");
@@ -1130,107 +1233,138 @@ var DockWrapper = ({ categories }) => {
1130
1233
  callback == null ? void 0 : callback();
1131
1234
  }, total);
1132
1235
  }
1133
- const onItemClick = (item) => (_e) => {
1134
- var _a;
1236
+ const hideBootstrapTooltip = (el) => {
1237
+ var _a2, _b;
1238
+ const tooltip = ((_b = (_a2 = window.bootstrap) == null ? void 0 : _a2.Tooltip) == null ? void 0 : _b.getInstance) ? window.bootstrap.Tooltip.getInstance(el) : null;
1239
+ tooltip == null ? void 0 : tooltip.hide();
1240
+ };
1241
+ const openMenuForItem = (item, menu) => {
1242
+ clearPersistentHighlight();
1243
+ openItem = item;
1244
+ item.classList.add("active");
1245
+ item.dataset.menuOpen = "true";
1246
+ listMenuShow.classList.add("show");
1247
+ tabbar.classList.add("is-active-menu");
1248
+ dock.classList.add("dock-open");
1249
+ setTabbarTheme(item.getAttribute("data-where"));
1250
+ openMenu(menu);
1251
+ positionSubmenuFor(item, menu);
1135
1252
  moveSliderTo(item);
1136
- const hasCards = item.getAttribute("data-has-cards") === "true";
1137
- if (!hasCards) return;
1138
- const dataWhere = item.getAttribute("data-where");
1139
- const targetMenu = root.querySelector(
1140
- `.mob-list-menu[data-tagget="${dataWhere}"]`
1141
- );
1142
- const isActive = item.classList.contains("active");
1143
- const anyWin = window;
1144
- const tooltip = ((_a = anyWin == null ? void 0 : anyWin.bootstrap) == null ? void 0 : _a.Tooltip) ? anyWin.bootstrap.Tooltip.getInstance(item) : null;
1145
- if (tooltip) tooltip.hide();
1146
- if (isActive) {
1147
- closeMenu(targetMenu, () => {
1148
- $$(".tab-style1 li").forEach((el) => el.classList.remove("active"));
1253
+ latestToggleToken = null;
1254
+ };
1255
+ const closeActiveMenu = (opts = {}) => {
1256
+ var _a2;
1257
+ if (!opts.onClosed) {
1258
+ latestToggleToken = null;
1259
+ }
1260
+ const itemToClose = openItem;
1261
+ if (!itemToClose) {
1262
+ if (!opts.preserveWrapper) ensurePersistentHighlight();
1263
+ (_a2 = opts.onClosed) == null ? void 0 : _a2.call(opts);
1264
+ return;
1265
+ }
1266
+ const menu = getMenuFor(itemToClose);
1267
+ openItem = null;
1268
+ itemToClose.classList.remove("active");
1269
+ delete itemToClose.dataset.menuOpen;
1270
+ const finalize = () => {
1271
+ var _a3;
1272
+ if (!opts.preserveWrapper) {
1149
1273
  listMenuShow.classList.remove("show");
1150
1274
  tabbar.classList.remove("is-active-menu");
1151
1275
  dock.classList.remove("dock-open");
1152
- const resetClass = tabbar.className.split(" ").filter((c) => !c.endsWith("-style")).join(" ");
1153
- tabbar.className = `${resetClass} tab-style1`;
1154
- });
1155
- } else {
1156
- const currentActiveItem = root.querySelector(
1157
- '.tab-style1 li.active[data-has-cards="true"]'
1158
- );
1159
- if (currentActiveItem && currentActiveItem !== item) {
1160
- const currentWhere = currentActiveItem.getAttribute("data-where");
1161
- const currentMenu = root.querySelector(
1162
- `.mob-list-menu[data-tagget="${currentWhere}"]`
1163
- );
1164
- currentActiveItem.classList.remove("active");
1165
- closeMenu(currentMenu, () => {
1166
- item.classList.add("active");
1167
- tabbar.classList.add("is-active-menu");
1168
- dock.classList.add("dock-open");
1169
- listMenuShow.classList.add("show");
1170
- openMenu(targetMenu);
1171
- positionSubmenuFor(item, targetMenu);
1172
- const resetClass = tabbar.className.split(" ").filter((c) => !c.endsWith("-style")).join(" ");
1173
- tabbar.className = `${resetClass} ${dataWhere}-style`;
1174
- });
1175
- } else {
1176
- item.classList.add("active");
1177
- tabbar.classList.add("is-active-menu");
1178
- dock.classList.add("dock-open");
1179
- listMenuShow.classList.add("show");
1180
- openMenu(targetMenu);
1181
- positionSubmenuFor(item, targetMenu);
1182
- const resetClass = tabbar.className.split(" ").filter((c) => !c.endsWith("-style")).join(" ");
1183
- tabbar.className = `${resetClass} ${dataWhere}-style`;
1276
+ setTabbarTheme(null);
1277
+ ensurePersistentHighlight();
1184
1278
  }
1279
+ (_a3 = opts.onClosed) == null ? void 0 : _a3.call(opts);
1280
+ };
1281
+ closeMenu(menu, finalize);
1282
+ };
1283
+ const toggleItem = (item) => {
1284
+ const hasCards = item.getAttribute("data-has-cards") === "true";
1285
+ hideBootstrapTooltip(item);
1286
+ if (!hasCards) {
1287
+ clearPersistentHighlight();
1288
+ moveSliderTo(item);
1289
+ ensurePersistentHighlight();
1290
+ return;
1291
+ }
1292
+ const menu = getMenuFor(item);
1293
+ if (!menu) return;
1294
+ if (item.dataset.menuOpen === "true") {
1295
+ latestToggleToken = null;
1296
+ closeActiveMenu();
1297
+ return;
1298
+ }
1299
+ const token = Symbol("dock-toggle");
1300
+ latestToggleToken = token;
1301
+ const activate = () => {
1302
+ if (latestToggleToken !== token) return;
1303
+ openMenuForItem(item, menu);
1304
+ };
1305
+ if (openItem) {
1306
+ closeActiveMenu({ preserveWrapper: true, onClosed: activate });
1307
+ } else {
1308
+ activate();
1185
1309
  }
1186
1310
  };
1187
- dockItems.forEach((item) => on(item, "click", onItemClick(item)));
1311
+ const onItemClick = (item) => (event) => {
1312
+ if (item.getAttribute("data-has-cards") === "true") {
1313
+ event.preventDefault();
1314
+ }
1315
+ toggleItem(item);
1316
+ };
1317
+ const onItemKeyDown = (item) => (event) => {
1318
+ if (!(event instanceof KeyboardEvent)) return;
1319
+ if (event.key === " " || event.key === "Enter") {
1320
+ event.preventDefault();
1321
+ toggleItem(item);
1322
+ }
1323
+ };
1324
+ dockItems.forEach((item) => {
1325
+ on(item, "click", onItemClick(item));
1326
+ on(item, "keydown", onItemKeyDown(item));
1327
+ });
1188
1328
  const clickOutside = (e) => {
1189
1329
  if (!tabbar || !listMenuShow) return;
1190
1330
  const target = e.target;
1191
1331
  const isInside = tabbar.contains(target) || listMenuShow.contains(target);
1192
1332
  if (!isInside) {
1193
- const currentActiveItem = root.querySelector(
1194
- '.tab-style1 li.active[data-has-cards="true"]'
1195
- );
1196
- if (currentActiveItem) {
1197
- const currentWhere = currentActiveItem.getAttribute("data-where");
1198
- const currentMenu = root.querySelector(
1199
- `.mob-list-menu[data-tagget="${currentWhere}"]`
1200
- );
1201
- closeMenu(currentMenu, () => {
1202
- $$(".tab-style1 li").forEach((el) => el.classList.remove("active"));
1203
- listMenuShow.classList.remove("show");
1204
- tabbar.classList.remove("is-active-menu");
1205
- dock.classList.remove("dock-open");
1206
- tabbar.className = "tabbar tab-style1";
1207
- const firstItem = root.querySelector(".tab-style1 li");
1208
- if (firstItem) moveSliderTo(firstItem);
1209
- });
1210
- currentActiveItem.classList.remove("active");
1211
- }
1333
+ closeActiveMenu();
1212
1334
  }
1213
1335
  };
1214
1336
  on(document, "click", clickOutside);
1215
1337
  const onResize = () => {
1216
- const activeItem = root.querySelector(".tab-style1 li.active") || root.querySelector(".tab-style1 li");
1217
- if (activeItem) {
1218
- moveSliderTo(activeItem);
1219
- const where = activeItem.getAttribute("data-where");
1220
- const menu = root.querySelector(
1221
- `.mob-list-menu[data-tagget="${where}"]`
1222
- );
1223
- if (menu && menu.classList.contains("show")) positionSubmenuFor(activeItem, menu);
1338
+ if (openItem) {
1339
+ moveSliderTo(openItem);
1340
+ const menu = getMenuFor(openItem);
1341
+ if (menu && menu.classList.contains("show")) {
1342
+ positionSubmenuFor(openItem, menu);
1343
+ }
1344
+ return;
1224
1345
  }
1346
+ const persistent = getPersistentItem();
1347
+ if (persistent) {
1348
+ moveSliderTo(persistent);
1349
+ return;
1350
+ }
1351
+ const items = getDockItems();
1352
+ const lastItem = items.length > 0 ? items[items.length - 1] : null;
1353
+ if (lastItem) moveSliderTo(lastItem);
1225
1354
  };
1226
1355
  on(window, "resize", onResize);
1227
- const init = () => {
1228
- const initial = root.querySelector(".tab-style1 li.active") || root.querySelector(".tab-style1 li");
1229
- if (initial) moveSliderTo(initial);
1230
- };
1231
- requestAnimationFrame(init);
1356
+ getDockItems().forEach((el) => {
1357
+ el.classList.remove("active");
1358
+ delete el.dataset.menuOpen;
1359
+ delete el.dataset.persistent;
1360
+ el.removeAttribute("aria-current");
1361
+ });
1362
+ setTabbarTheme(null);
1363
+ requestAnimationFrame(() => {
1364
+ ensurePersistentHighlight();
1365
+ });
1232
1366
  return () => {
1233
- timeoutsRef.current.forEach((id) => clearTimeout(id));
1367
+ clearAllTimeouts();
1234
1368
  cleanupListeners();
1235
1369
  tabbarUl.removeEventListener("mouseover", _tipOver);
1236
1370
  tabbarUl.removeEventListener("mousemove", _tipMove);
@@ -1238,129 +1372,120 @@ var DockWrapper = ({ categories }) => {
1238
1372
  window.removeEventListener("scroll", _tipOnScroll);
1239
1373
  tip.remove();
1240
1374
  };
1241
- }, [categories]);
1375
+ }, [sortedCategories, activeCategoryId, lastInteractiveId]);
1242
1376
  return /* @__PURE__ */ jsx10("div", { ref: rootRef, children: /* @__PURE__ */ jsxs8("div", { className: "dock", children: [
1243
1377
  /* @__PURE__ */ jsxs8("div", { className: "tabbar tab-style1", children: [
1244
1378
  /* @__PURE__ */ jsx10("div", { className: "glass-filter" }),
1245
1379
  /* @__PURE__ */ jsx10("div", { className: "glass-overlay" }),
1246
1380
  /* @__PURE__ */ jsx10("div", { className: "glass-specular" }),
1247
- /* @__PURE__ */ jsx10("ul", { className: "flex-center", children: categories.map((cat) => {
1248
- var _a, _b;
1381
+ /* @__PURE__ */ jsx10("ul", { className: "flex-center", children: sortedCategories.map((cat) => {
1382
+ var _a;
1383
+ if (cat.type === "divider") {
1384
+ return /* @__PURE__ */ jsx10(
1385
+ "li",
1386
+ {
1387
+ className: "dock-divider",
1388
+ "data-divider": "true",
1389
+ "aria-hidden": "true"
1390
+ },
1391
+ cat.id
1392
+ );
1393
+ }
1394
+ const hasCards = (((_a = cat.cards) == null ? void 0 : _a.length) || 0) > 0;
1395
+ const link = cat.href;
1396
+ const isCurrent = cat.id === activeCategoryId;
1249
1397
  return /* @__PURE__ */ jsxs8(
1250
1398
  "li",
1251
1399
  {
1252
- className: `dock-tooltip ${cat.slug}`,
1400
+ className: `dock-tooltip ${cat.slug}${isCurrent ? " is-current" : ""}`,
1401
+ "data-cat-id": cat.id,
1402
+ "data-divider": "false",
1253
1403
  "data-where": cat.slug,
1254
- "data-has-cards": (((_a = cat.cards) == null ? void 0 : _a.length) || 0) > 0 ? "true" : "false",
1255
- "data-tip": (((_b = cat.cards) == null ? void 0 : _b.length) || 0) > 0 ? cat.tooltip || cat.title : void 0,
1404
+ "data-has-cards": hasCards ? "true" : "false",
1405
+ "data-tip": hasCards ? cat.tooltip || cat.title : void 0,
1256
1406
  role: "button",
1257
1407
  "aria-label": cat.title,
1258
1408
  tabIndex: 0,
1259
1409
  children: [
1260
- (() => {
1261
- var _a2;
1262
- const link = cat.href;
1263
- return (((_a2 = cat.cards) == null ? void 0 : _a2.length) || 0) === 0 && link ? /* @__PURE__ */ jsx10(
1264
- "a",
1265
- {
1266
- className: "link-absolute-menu",
1267
- href: link,
1268
- "data-tip": cat.tooltip || cat.title,
1269
- "aria-label": cat.title
1270
- }
1271
- ) : null;
1272
- })(),
1273
- cat.bgImageUrl && (() => {
1274
- const bgUrl = cat.bgImageUrl.startsWith("http") ? cat.bgImageUrl : buildTelescupImageURL({
1275
- id: parseAssetId(cat.bgImageUrl),
1276
- width: 60,
1277
- height: 60,
1278
- fit: "cover",
1279
- format: "avif",
1280
- quality: 60
1281
- });
1282
- return /* @__PURE__ */ jsx10(
1283
- "div",
1284
- {
1285
- className: "bg-img-menu-fix-mob",
1286
- style: { backgroundImage: `url(${bgUrl})` }
1287
- }
1288
- );
1289
- })()
1410
+ link && !hasCards ? /* @__PURE__ */ jsx10(
1411
+ "a",
1412
+ {
1413
+ className: "link-absolute-menu",
1414
+ href: link,
1415
+ "data-tip": cat.tooltip || cat.title,
1416
+ "aria-label": cat.title,
1417
+ target: link.startsWith("http") ? "_blank" : void 0,
1418
+ rel: link.startsWith("http") ? "noopener noreferrer" : void 0
1419
+ }
1420
+ ) : null,
1421
+ /* @__PURE__ */ jsx10(DockCategoryBg, { apiIdOrUrl: cat.bgImageUrl, alt: cat.title })
1290
1422
  ]
1291
1423
  },
1292
1424
  cat.id
1293
1425
  );
1294
1426
  }) }),
1295
- /* @__PURE__ */ jsx10("div", { className: "list-menu-mob-show", children: categories.map((cat) => /* @__PURE__ */ jsx10("div", { className: "mob-list-menu hide", "data-tagget": cat.slug, children: /* @__PURE__ */ jsx10("div", { className: `submenu-stack ${cat.slug}`, children: cat.cards.map((card, i) => {
1427
+ /* @__PURE__ */ jsx10("div", { className: "list-menu-mob-show", children: sortedCategories.filter((cat) => {
1296
1428
  var _a;
1297
- return /* @__PURE__ */ jsxs8("div", { className: "submenu-card", children: [
1298
- /* @__PURE__ */ jsx10("div", { className: "fold" }),
1299
- /* @__PURE__ */ jsx10("div", { className: "glass-filter" }),
1300
- /* @__PURE__ */ jsx10("div", { className: "glass-overlay" }),
1301
- /* @__PURE__ */ jsx10("div", { className: "glass-specular" }),
1302
- /* @__PURE__ */ jsxs8("div", { className: "card-content", children: [
1303
- card.iconUrl && (() => {
1304
- const iconUrl = card.iconUrl.startsWith("http") ? card.iconUrl : buildTelescupImageURL({
1305
- id: parseAssetId(card.iconUrl),
1306
- width: 50,
1307
- height: 50,
1308
- fit: "cover",
1309
- format: "avif",
1310
- quality: 60
1311
- });
1312
- return /* @__PURE__ */ jsx10(
1313
- "img",
1314
- {
1315
- className: "icon",
1316
- src: iconUrl,
1317
- "data-api-id": !card.iconUrl.startsWith("http") ? parseAssetId(card.iconUrl) : void 0,
1318
- loading: "lazy",
1319
- decoding: "async",
1320
- alt: card.title
1321
- }
1322
- );
1323
- })(),
1324
- /* @__PURE__ */ jsxs8("div", { className: "text-content", children: [
1325
- /* @__PURE__ */ jsx10("div", { className: "title", children: card.title }),
1326
- card.description ? /* @__PURE__ */ jsx10("div", { className: "description", children: card.description }) : null
1327
- ] }),
1328
- /* @__PURE__ */ jsx10("div", { className: "actions", children: ((_a = card.buttons) != null ? _a : []).slice(0, 2).map((btn, idx) => {
1329
- var _a2, _b, _c, _d;
1330
- const className = idx === 0 ? "saiba-mais" : "saiba-mais-1";
1331
- if (btn.type === "popup") {
1332
- return /* @__PURE__ */ jsx10(
1333
- "a",
1334
- {
1335
- href: "#",
1336
- "data-popup-id": btn.popupId,
1337
- className,
1338
- onClick: (e) => {
1339
- e.preventDefault();
1340
- if (btn.popupId) {
1341
- window.dispatchEvent(new Event(`qw:open:${btn.popupId}`));
1342
- }
1343
- },
1344
- children: (_a2 = btn.label) != null ? _a2 : "Abrir"
1345
- },
1346
- `${cat.id}-card-${i}-btn-${idx}`
1347
- );
1348
- }
1349
- return /* @__PURE__ */ jsx10(
1350
- "a",
1351
- {
1352
- href: btn.href || "#",
1353
- className,
1354
- target: ((_b = btn.href) == null ? void 0 : _b.startsWith("http")) ? "_blank" : void 0,
1355
- rel: ((_c = btn.href) == null ? void 0 : _c.startsWith("http")) ? "noopener noreferrer" : void 0,
1356
- children: (_d = btn.label) != null ? _d : "Saiba mais >"
1357
- },
1358
- `${cat.id}-card-${i}-btn-${idx}`
1359
- );
1360
- }) })
1361
- ] })
1362
- ] }, `${cat.id}-card-${i}`);
1363
- }) }) }, `${cat.id}-menu`)) })
1429
+ return cat.type !== "divider" && (((_a = cat.cards) == null ? void 0 : _a.length) || 0) > 0;
1430
+ }).map((cat) => {
1431
+ var _a;
1432
+ return /* @__PURE__ */ jsx10("div", { className: "mob-list-menu hide", "data-tagget": cat.slug, children: /* @__PURE__ */ jsx10("div", { className: `submenu-stack ${cat.slug}`, children: ((_a = cat.cards) != null ? _a : []).map((card, i) => {
1433
+ var _a2;
1434
+ return /* @__PURE__ */ jsxs8(
1435
+ "div",
1436
+ {
1437
+ className: `submenu-card${card.backgroundClass ? ` ${card.backgroundClass}` : ""}`,
1438
+ children: [
1439
+ /* @__PURE__ */ jsx10("div", { className: "fold" }),
1440
+ /* @__PURE__ */ jsx10("div", { className: "glass-filter" }),
1441
+ /* @__PURE__ */ jsx10("div", { className: "glass-overlay" }),
1442
+ /* @__PURE__ */ jsx10("div", { className: "glass-specular" }),
1443
+ /* @__PURE__ */ jsxs8("div", { className: "card-content", children: [
1444
+ /* @__PURE__ */ jsx10(DockCardIcon, { card }),
1445
+ /* @__PURE__ */ jsxs8("div", { className: "text-content", children: [
1446
+ /* @__PURE__ */ jsx10("div", { className: "title", children: card.title }),
1447
+ card.description ? /* @__PURE__ */ jsx10("div", { className: "description", children: card.description }) : null
1448
+ ] }),
1449
+ /* @__PURE__ */ jsx10("div", { className: "actions", children: ((_a2 = card.buttons) != null ? _a2 : []).slice(0, 2).map((btn, idx) => {
1450
+ var _a3, _b, _c, _d;
1451
+ const className = idx === 0 ? "saiba-mais" : "saiba-mais-1";
1452
+ if (btn.type === "popup") {
1453
+ return /* @__PURE__ */ jsx10(
1454
+ "a",
1455
+ {
1456
+ href: "#",
1457
+ "data-popup-id": btn.popupId,
1458
+ className,
1459
+ onClick: (e) => {
1460
+ e.preventDefault();
1461
+ if (btn.popupId) {
1462
+ window.dispatchEvent(new Event(`qw:open:${btn.popupId}`));
1463
+ }
1464
+ },
1465
+ children: (_a3 = btn.label) != null ? _a3 : "Abrir"
1466
+ },
1467
+ `${cat.id}-card-${i}-btn-${idx}`
1468
+ );
1469
+ }
1470
+ return /* @__PURE__ */ jsx10(
1471
+ "a",
1472
+ {
1473
+ href: btn.href || "#",
1474
+ className,
1475
+ target: ((_b = btn.href) == null ? void 0 : _b.startsWith("http")) ? "_blank" : void 0,
1476
+ rel: ((_c = btn.href) == null ? void 0 : _c.startsWith("http")) ? "noopener noreferrer" : void 0,
1477
+ children: (_d = btn.label) != null ? _d : "Saiba mais >"
1478
+ },
1479
+ `${cat.id}-card-${i}-btn-${idx}`
1480
+ );
1481
+ }) })
1482
+ ] })
1483
+ ]
1484
+ },
1485
+ `${cat.id}-card-${i}`
1486
+ );
1487
+ }) }) }, `${cat.id}-menu`);
1488
+ }) })
1364
1489
  ] }),
1365
1490
  /* @__PURE__ */ jsx10("svg", { id: "lg-filter", style: { display: "none" }, children: /* @__PURE__ */ jsxs8("filter", { id: "lg-dist", x: "-10%", y: "-10%", width: "120%", height: "120%", children: [
1366
1491
  /* @__PURE__ */ jsx10(
@@ -1381,11 +1506,9 @@ var DockWrapper = ({ categories }) => {
1381
1506
  in2: "blurred",
1382
1507
  scale: "50",
1383
1508
  xChannelSelector: "R",
1384
- yChannelSelector: "G",
1385
- result: "displaced"
1509
+ yChannelSelector: "G"
1386
1510
  }
1387
- ),
1388
- /* @__PURE__ */ jsx10("feComposite", { in: "displaced", in2: "SourceGraphic", operator: "atop" })
1511
+ )
1389
1512
  ] }) })
1390
1513
  ] }) });
1391
1514
  };
@@ -1397,16 +1520,25 @@ import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
1397
1520
  var JellyButton = forwardRef6(
1398
1521
  ({ variant = "primary", size = "md", className, children, onClick, ...props }, ref) => {
1399
1522
  const internalRef = useRef5(null);
1400
- const buttonRef = ref || internalRef;
1401
- const rafRef = useRef5();
1523
+ const rafRef = useRef5(null);
1402
1524
  const animationRef = useRef5(null);
1403
1525
  const isAnimatingRef = useRef5(false);
1526
+ const setButtonRef = (node) => {
1527
+ internalRef.current = node;
1528
+ if (typeof ref === "function") {
1529
+ ref(node);
1530
+ return;
1531
+ }
1532
+ if (ref) {
1533
+ ref.current = node;
1534
+ }
1535
+ };
1404
1536
  const ROTATE_LIMIT = 8;
1405
1537
  const SMOOTHING = 0.15;
1406
1538
  const REFLECT_SMOOTHING = 0.2;
1407
1539
  const JELLY_DURATION = 1600;
1408
1540
  useEffect6(() => {
1409
- const button = buttonRef.current;
1541
+ const button = internalRef.current;
1410
1542
  if (!button) return;
1411
1543
  let targetRx = 0, targetRy = 0;
1412
1544
  let currentRx = 0, currentRy = 0;
@@ -1464,7 +1596,7 @@ var JellyButton = forwardRef6(
1464
1596
  return () => {
1465
1597
  button.removeEventListener("mousemove", handleMouseMove);
1466
1598
  button.removeEventListener("mouseleave", handleMouseLeave);
1467
- if (rafRef.current) cancelAnimationFrame(rafRef.current);
1599
+ if (rafRef.current !== null) cancelAnimationFrame(rafRef.current);
1468
1600
  };
1469
1601
  }, []);
1470
1602
  const handleClick = (e) => {
@@ -1507,10 +1639,15 @@ var JellyButton = forwardRef6(
1507
1639
  }
1508
1640
  };
1509
1641
  const currentStyle = variantStyles3[variant];
1642
+ const buttonStyle = {
1643
+ transform: "perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1, 1)",
1644
+ "--rx": "50%",
1645
+ "--ry": "50%"
1646
+ };
1510
1647
  return /* @__PURE__ */ jsxs9(
1511
1648
  "button",
1512
1649
  {
1513
- ref: buttonRef,
1650
+ ref: setButtonRef,
1514
1651
  onClick: handleClick,
1515
1652
  className: cn(
1516
1653
  baseClasses,
@@ -1518,12 +1655,7 @@ var JellyButton = forwardRef6(
1518
1655
  currentStyle.base,
1519
1656
  className
1520
1657
  ),
1521
- style: {
1522
- transform: "perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1, 1)",
1523
- // @ts-ignore
1524
- "--rx": "50%",
1525
- "--ry": "50%"
1526
- },
1658
+ style: buttonStyle,
1527
1659
  ...props,
1528
1660
  children: [
1529
1661
  currentStyle.overlay && /* @__PURE__ */ jsx11("span", { className: cn("absolute inset-0 pointer-events-none", currentStyle.overlay) }),
@@ -1652,7 +1784,12 @@ var HeroTitle = ({
1652
1784
  className,
1653
1785
  level = 2
1654
1786
  }) => {
1655
- const Tag = `h${level}`;
1787
+ const headingTagMap = {
1788
+ 1: "h1",
1789
+ 2: "h2",
1790
+ 3: "h3"
1791
+ };
1792
+ const Tag = headingTagMap[level];
1656
1793
  return /* @__PURE__ */ jsxs12("div", { className: cn("space-y-3", className), children: [
1657
1794
  eyebrow && /* @__PURE__ */ jsx15("span", { className: "span-destaque animate-fade-in", children: eyebrow }),
1658
1795
  /* @__PURE__ */ jsxs12(Tag, { className: "font-display font-bold leading-tight animate-slide-up", children: [
@@ -1705,9 +1842,9 @@ InputField.displayName = "InputField";
1705
1842
  import { useEffect as useEffect8, useRef as useRef6 } from "react";
1706
1843
 
1707
1844
  // src/hooks/useResponsiveSize.ts
1708
- import { useEffect as useEffect7, useState as useState4 } from "react";
1845
+ import { useEffect as useEffect7, useState as useState3 } from "react";
1709
1846
  function useBreakpoint() {
1710
- const [bp, setBp] = useState4(null);
1847
+ const [bp, setBp] = useState3(null);
1711
1848
  useEffect7(() => {
1712
1849
  function calcBp() {
1713
1850
  const w = window.innerWidth;
@@ -2067,7 +2204,6 @@ ModalDescription.displayName = DialogPrimitive.Description.displayName;
2067
2204
  // src/components/cupcode/NavbarCupcode.tsx
2068
2205
  import * as React10 from "react";
2069
2206
  import { Menu, X as X3 } from "lucide-react";
2070
- import { Link } from "react-router-dom";
2071
2207
  import { jsx as jsx21, jsxs as jsxs17 } from "react/jsx-runtime";
2072
2208
  var NavbarCupcode = ({
2073
2209
  logo,
@@ -2080,48 +2216,59 @@ var NavbarCupcode = ({
2080
2216
  "nav",
2081
2217
  {
2082
2218
  className: cn(
2083
- "fixed top-0 left-0 right-0 z-50",
2219
+ "fixed top-0 left-0 right-0 z-[200] pointer-events-auto",
2084
2220
  "glass border-b border-border",
2085
2221
  className
2086
2222
  ),
2087
2223
  children: /* @__PURE__ */ jsxs17("div", { className: "cc-container", children: [
2088
2224
  /* @__PURE__ */ jsxs17("div", { className: "flex items-center justify-between h-16", children: [
2089
2225
  /* @__PURE__ */ jsx21("div", { className: "flex-shrink-0", children: logo }),
2090
- /* @__PURE__ */ jsx21("div", { className: "hidden md:flex items-center space-x-8", children: items.map((item, index) => item.href.startsWith("#") ? /* @__PURE__ */ jsxs17(
2091
- "a",
2092
- {
2093
- href: item.href,
2094
- className: cn(
2095
- "flex items-center gap-2 text-sm font-semibold text-foreground",
2096
- "hover:text-primary transition-colors duration-200",
2097
- "relative after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-0",
2098
- "after:bg-primary after:transition-all after:duration-300",
2099
- "hover:after:w-full"
2100
- ),
2101
- children: [
2102
- item.icon && /* @__PURE__ */ jsx21("span", { children: item.icon }),
2103
- item.label
2104
- ]
2105
- },
2106
- index
2107
- ) : /* @__PURE__ */ jsxs17(
2108
- Link,
2109
- {
2110
- to: item.href,
2111
- className: cn(
2112
- "flex items-center gap-2 text-sm font-semibold text-foreground",
2113
- "hover:text-primary transition-colors duration-200",
2114
- "relative after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-0",
2115
- "after:bg-primary after:transition-all after:duration-300",
2116
- "hover:after:w-full"
2117
- ),
2118
- children: [
2119
- item.icon && /* @__PURE__ */ jsx21("span", { children: item.icon }),
2120
- item.label
2121
- ]
2122
- },
2123
- index
2124
- )) }),
2226
+ /* @__PURE__ */ jsx21("div", { className: "hidden md:flex items-center space-x-8", children: items.map((item, index) => {
2227
+ const key = `${item.label}-${index}`;
2228
+ const isActive = item.isActive;
2229
+ const baseClasses = cn(
2230
+ "flex items-center gap-2 text-sm font-semibold text-foreground",
2231
+ "hover:text-primary transition-colors duration-200",
2232
+ "relative after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-0",
2233
+ "after:bg-primary after:transition-all after:duration-300",
2234
+ "hover:after:w-full",
2235
+ isActive && "text-primary after:w-full"
2236
+ );
2237
+ const handleClick = (event) => {
2238
+ var _a;
2239
+ (_a = item.onClick) == null ? void 0 : _a.call(item, event);
2240
+ };
2241
+ if (item.href.startsWith("#")) {
2242
+ return /* @__PURE__ */ jsxs17(
2243
+ "a",
2244
+ {
2245
+ href: item.href,
2246
+ className: baseClasses,
2247
+ onClick: handleClick,
2248
+ "aria-current": isActive ? "page" : void 0,
2249
+ children: [
2250
+ item.icon && /* @__PURE__ */ jsx21("span", { children: item.icon }),
2251
+ item.label
2252
+ ]
2253
+ },
2254
+ key
2255
+ );
2256
+ }
2257
+ return /* @__PURE__ */ jsxs17(
2258
+ "a",
2259
+ {
2260
+ href: item.href,
2261
+ className: baseClasses,
2262
+ onClick: handleClick,
2263
+ "aria-current": isActive ? "page" : void 0,
2264
+ children: [
2265
+ item.icon && /* @__PURE__ */ jsx21("span", { children: item.icon }),
2266
+ item.label
2267
+ ]
2268
+ },
2269
+ key
2270
+ );
2271
+ }) }),
2125
2272
  actions && /* @__PURE__ */ jsx21("div", { className: "hidden md:flex", children: actions }),
2126
2273
  /* @__PURE__ */ jsx21(
2127
2274
  "button",
@@ -2133,31 +2280,29 @@ var NavbarCupcode = ({
2133
2280
  )
2134
2281
  ] }),
2135
2282
  isOpen && /* @__PURE__ */ jsxs17("div", { className: "md:hidden py-4 space-y-3 animate-slide-up", children: [
2136
- items.map((item, index) => item.href.startsWith("#") ? /* @__PURE__ */ jsxs17(
2137
- "a",
2138
- {
2139
- href: item.href,
2140
- className: "flex items-center gap-2 px-4 py-2 text-sm font-semibold text-foreground hover:bg-primary/10 rounded-lg transition-colors",
2141
- onClick: () => setIsOpen(false),
2142
- children: [
2143
- item.icon && /* @__PURE__ */ jsx21("span", { children: item.icon }),
2144
- item.label
2145
- ]
2146
- },
2147
- index
2148
- ) : /* @__PURE__ */ jsxs17(
2149
- Link,
2150
- {
2151
- to: item.href,
2152
- className: "flex items-center gap-2 px-4 py-2 text-sm font-semibold text-foreground hover:bg-primary/10 rounded-lg transition-colors",
2153
- onClick: () => setIsOpen(false),
2154
- children: [
2283
+ items.map((item, index) => {
2284
+ const key = `${item.label}-${index}`;
2285
+ const isActive = item.isActive;
2286
+ const classes = cn(
2287
+ "flex items-center gap-2 px-4 py-2 text-sm font-semibold text-foreground hover:bg-primary/10 rounded-lg transition-colors",
2288
+ isActive && "text-primary"
2289
+ );
2290
+ const handleClick = (event) => {
2291
+ var _a;
2292
+ (_a = item.onClick) == null ? void 0 : _a.call(item, event);
2293
+ setIsOpen(false);
2294
+ };
2295
+ if (item.href.startsWith("#")) {
2296
+ return /* @__PURE__ */ jsxs17("a", { href: item.href, className: classes, onClick: handleClick, children: [
2155
2297
  item.icon && /* @__PURE__ */ jsx21("span", { children: item.icon }),
2156
2298
  item.label
2157
- ]
2158
- },
2159
- index
2160
- )),
2299
+ ] }, key);
2300
+ }
2301
+ return /* @__PURE__ */ jsxs17("a", { href: item.href, className: classes, onClick: handleClick, children: [
2302
+ item.icon && /* @__PURE__ */ jsx21("span", { children: item.icon }),
2303
+ item.label
2304
+ ] }, key);
2305
+ }),
2161
2306
  actions && /* @__PURE__ */ jsx21("div", { className: "px-4 pt-2", children: actions })
2162
2307
  ] })
2163
2308
  ] })
@@ -2165,16 +2310,232 @@ var NavbarCupcode = ({
2165
2310
  );
2166
2311
  };
2167
2312
 
2168
- // src/components/cupcode/ParticleSystem.tsx
2169
- import { useEffect as useEffect9, useRef as useRef7 } from "react";
2313
+ // src/components/cupcode/MainNavbar.tsx
2314
+ import { useMemo as useMemo2 } from "react";
2315
+
2316
+ // src/components/cupcode/TelescupImage.tsx
2170
2317
  import { jsx as jsx22 } from "react/jsx-runtime";
2318
+ var TelescupImage = ({
2319
+ apiId,
2320
+ imageWidth,
2321
+ imageHeight,
2322
+ fit = "cover",
2323
+ format = "avif",
2324
+ quality = 60,
2325
+ lang = "pt-BR",
2326
+ alt,
2327
+ title,
2328
+ loading = "lazy",
2329
+ className,
2330
+ ...props
2331
+ }) => {
2332
+ const { url, meta } = useTelescupImage(
2333
+ {
2334
+ id: apiId,
2335
+ width: imageWidth,
2336
+ height: imageHeight,
2337
+ fit,
2338
+ format,
2339
+ quality
2340
+ },
2341
+ lang
2342
+ );
2343
+ return /* @__PURE__ */ jsx22(
2344
+ "img",
2345
+ {
2346
+ src: url,
2347
+ "data-api-id": apiId,
2348
+ alt: alt || meta.alt || "",
2349
+ title: title || meta.title,
2350
+ loading,
2351
+ className,
2352
+ ...props
2353
+ }
2354
+ );
2355
+ };
2356
+
2357
+ // src/components/cupcode/ThemeToggle.tsx
2358
+ import * as React11 from "react";
2359
+ import { Moon, Sun } from "lucide-react";
2360
+ import { jsx as jsx23, jsxs as jsxs18 } from "react/jsx-runtime";
2361
+ function resolveTheme(defaultTheme) {
2362
+ if (typeof document === "undefined") return defaultTheme;
2363
+ if (document.documentElement.classList.contains("dark")) return "dark";
2364
+ if (document.documentElement.classList.contains("light")) return "light";
2365
+ if (typeof window !== "undefined" && window.matchMedia("(prefers-color-scheme: dark)").matches) {
2366
+ return "dark";
2367
+ }
2368
+ return defaultTheme;
2369
+ }
2370
+ var ThemeToggle = ({
2371
+ className,
2372
+ theme,
2373
+ defaultTheme = "light",
2374
+ onThemeChange
2375
+ }) => {
2376
+ var _a;
2377
+ const [mounted, setMounted] = React11.useState(false);
2378
+ const [internalTheme, setInternalTheme] = React11.useState(defaultTheme);
2379
+ const isControlled = typeof theme !== "undefined";
2380
+ const activeTheme = (_a = isControlled ? theme : internalTheme) != null ? _a : defaultTheme;
2381
+ React11.useEffect(() => {
2382
+ if (!isControlled) {
2383
+ setInternalTheme(resolveTheme(defaultTheme));
2384
+ }
2385
+ setMounted(true);
2386
+ }, [defaultTheme, isControlled]);
2387
+ React11.useEffect(() => {
2388
+ if (!mounted || isControlled || typeof document === "undefined") return;
2389
+ document.documentElement.classList.toggle("dark", activeTheme === "dark");
2390
+ }, [activeTheme, isControlled, mounted]);
2391
+ if (!mounted) {
2392
+ return /* @__PURE__ */ jsx23("div", { className: cn("w-10 h-10 rounded-lg bg-muted", className) });
2393
+ }
2394
+ const handleToggle = () => {
2395
+ const nextTheme = activeTheme === "dark" ? "light" : "dark";
2396
+ if (!isControlled) {
2397
+ setInternalTheme(nextTheme);
2398
+ }
2399
+ onThemeChange == null ? void 0 : onThemeChange(nextTheme);
2400
+ };
2401
+ return /* @__PURE__ */ jsxs18(
2402
+ "button",
2403
+ {
2404
+ onClick: handleToggle,
2405
+ className: cn(
2406
+ "relative inline-flex items-center justify-center w-10 h-10",
2407
+ "rounded-lg transition-all duration-300",
2408
+ "glass hover:glass-strong",
2409
+ "group",
2410
+ className
2411
+ ),
2412
+ "aria-label": "Toggle theme",
2413
+ children: [
2414
+ /* @__PURE__ */ jsx23(Sun, { className: "h-5 w-5 text-cupcode-purple rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" }),
2415
+ /* @__PURE__ */ jsx23(Moon, { className: "absolute h-5 w-5 text-cupcode-pink rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" }),
2416
+ /* @__PURE__ */ jsxs18("span", { className: "sr-only", children: [
2417
+ "Current theme: ",
2418
+ activeTheme
2419
+ ] })
2420
+ ]
2421
+ }
2422
+ );
2423
+ };
2424
+
2425
+ // src/lib/navigation.tsx
2426
+ import { BookOpen, Home, Layers } from "lucide-react";
2427
+ import { jsx as jsx24 } from "react/jsx-runtime";
2428
+ var getMainNavItems = () => [
2429
+ {
2430
+ label: "In\xEDcio",
2431
+ href: "/",
2432
+ icon: /* @__PURE__ */ jsx24(Home, { className: "h-4 w-4" })
2433
+ },
2434
+ {
2435
+ label: "Componentes",
2436
+ href: "/componentes",
2437
+ icon: /* @__PURE__ */ jsx24(Layers, { className: "h-4 w-4" })
2438
+ },
2439
+ {
2440
+ label: "Docs",
2441
+ href: "/docs",
2442
+ icon: /* @__PURE__ */ jsx24(BookOpen, { className: "h-4 w-4" })
2443
+ }
2444
+ ];
2445
+
2446
+ // src/components/cupcode/MainNavbar.tsx
2447
+ import { jsx as jsx25, jsxs as jsxs19 } from "react/jsx-runtime";
2448
+ var MainNavbar = ({
2449
+ ctaLabel = "Ver Componentes",
2450
+ ctaHref = "/componentes",
2451
+ pathname,
2452
+ onNavigate
2453
+ }) => {
2454
+ const currentPathname = useMemo2(() => {
2455
+ if (pathname && pathname.trim() !== "") return pathname;
2456
+ if (typeof window !== "undefined") return window.location.pathname || "/";
2457
+ return "/";
2458
+ }, [pathname]);
2459
+ const items = useMemo2(() => {
2460
+ const normalizedPathname = currentPathname === "" ? "/" : currentPathname;
2461
+ return getMainNavItems().map((item) => {
2462
+ const isAnchor = item.href.startsWith("#");
2463
+ const isActive = !isAnchor ? item.href === "/" ? normalizedPathname === "/" : normalizedPathname.startsWith(item.href) : false;
2464
+ return {
2465
+ ...item,
2466
+ isActive,
2467
+ onClick: isAnchor ? item.onClick : (event) => {
2468
+ var _a;
2469
+ (_a = item.onClick) == null ? void 0 : _a.call(item, event);
2470
+ if (!onNavigate || event.defaultPrevented) return;
2471
+ event.preventDefault();
2472
+ onNavigate(item.href);
2473
+ }
2474
+ };
2475
+ });
2476
+ }, [currentPathname, onNavigate]);
2477
+ const handleCtaClick = () => {
2478
+ if (onNavigate) {
2479
+ onNavigate(ctaHref);
2480
+ return;
2481
+ }
2482
+ if (typeof window !== "undefined") {
2483
+ window.location.href = ctaHref;
2484
+ }
2485
+ };
2486
+ return /* @__PURE__ */ jsx25(
2487
+ NavbarCupcode,
2488
+ {
2489
+ logo: /* @__PURE__ */ jsxs19("div", { className: "flex items-center gap-[15px]", children: [
2490
+ /* @__PURE__ */ jsx25(
2491
+ TelescupImage,
2492
+ {
2493
+ apiId: "be574751-cf1b-499a-8473-360b4115b447",
2494
+ imageWidth: 40,
2495
+ imageHeight: 40,
2496
+ alt: "Design System Cupcode",
2497
+ loading: "eager",
2498
+ className: "h-10 w-auto"
2499
+ }
2500
+ ),
2501
+ /* @__PURE__ */ jsx25(
2502
+ TelescupImage,
2503
+ {
2504
+ apiId: "3b913721-2eda-48fd-8d76-1a53055a337f",
2505
+ imageWidth: 120,
2506
+ imageHeight: 32,
2507
+ alt: "Cupcode",
2508
+ loading: "eager",
2509
+ className: "h-8 w-auto"
2510
+ }
2511
+ )
2512
+ ] }),
2513
+ items,
2514
+ actions: /* @__PURE__ */ jsxs19("div", { className: "flex items-center gap-2", children: [
2515
+ /* @__PURE__ */ jsx25(ThemeToggle, {}),
2516
+ /* @__PURE__ */ jsx25(
2517
+ JellyButtonOriginal,
2518
+ {
2519
+ label: ctaLabel,
2520
+ size: "sm",
2521
+ onClick: handleCtaClick
2522
+ }
2523
+ )
2524
+ ] })
2525
+ }
2526
+ );
2527
+ };
2528
+
2529
+ // src/components/cupcode/ParticleSystem.tsx
2530
+ import { useEffect as useEffect10, useRef as useRef7 } from "react";
2531
+ import { jsx as jsx26 } from "react/jsx-runtime";
2171
2532
  function ParticleSystem({
2172
2533
  count: count2 = 50,
2173
2534
  variant = "stars",
2174
2535
  className
2175
2536
  }) {
2176
2537
  const canvasRef = useRef7(null);
2177
- useEffect9(() => {
2538
+ useEffect10(() => {
2178
2539
  const canvas = canvasRef.current;
2179
2540
  if (!canvas) return;
2180
2541
  const ctx = canvas.getContext("2d");
@@ -2239,7 +2600,7 @@ function ParticleSystem({
2239
2600
  cancelAnimationFrame(animationId);
2240
2601
  };
2241
2602
  }, [count2, variant]);
2242
- return /* @__PURE__ */ jsx22(
2603
+ return /* @__PURE__ */ jsx26(
2243
2604
  "canvas",
2244
2605
  {
2245
2606
  ref: canvasRef,
@@ -2250,7 +2611,7 @@ function ParticleSystem({
2250
2611
 
2251
2612
  // src/components/cupcode/PricingCard.tsx
2252
2613
  import { Check } from "lucide-react";
2253
- import { jsx as jsx23, jsxs as jsxs18 } from "react/jsx-runtime";
2614
+ import { jsx as jsx27, jsxs as jsxs20 } from "react/jsx-runtime";
2254
2615
  function PricingCard({
2255
2616
  title,
2256
2617
  price,
@@ -2262,7 +2623,7 @@ function PricingCard({
2262
2623
  buttonText = "Escolher plano",
2263
2624
  className
2264
2625
  }) {
2265
- return /* @__PURE__ */ jsxs18(
2626
+ return /* @__PURE__ */ jsxs20(
2266
2627
  CardGlass,
2267
2628
  {
2268
2629
  className: cn(
@@ -2272,17 +2633,17 @@ function PricingCard({
2272
2633
  className
2273
2634
  ),
2274
2635
  children: [
2275
- highlighted && /* @__PURE__ */ jsx23("div", { className: "absolute -top-4 left-1/2 -translate-x-1/2", children: /* @__PURE__ */ jsx23("span", { className: "bg-cupcode-purple text-white text-xs font-bold px-4 py-1 rounded-pill", children: "POPULAR" }) }),
2276
- /* @__PURE__ */ jsxs18("div", { className: "text-center mb-6", children: [
2277
- /* @__PURE__ */ jsx23("h3", { className: "text-2xl font-display font-bold text-foreground mb-2", children: title }),
2278
- description && /* @__PURE__ */ jsx23("p", { className: "text-sm text-muted-foreground", children: description })
2636
+ highlighted && /* @__PURE__ */ jsx27("div", { className: "absolute -top-4 left-1/2 -translate-x-1/2", children: /* @__PURE__ */ jsx27("span", { className: "bg-cupcode-purple text-white text-xs font-bold px-4 py-1 rounded-pill", children: "POPULAR" }) }),
2637
+ /* @__PURE__ */ jsxs20("div", { className: "text-center mb-6", children: [
2638
+ /* @__PURE__ */ jsx27("h3", { className: "text-2xl font-display font-bold text-foreground mb-2", children: title }),
2639
+ description && /* @__PURE__ */ jsx27("p", { className: "text-sm text-muted-foreground", children: description })
2279
2640
  ] }),
2280
- /* @__PURE__ */ jsx23("div", { className: "text-center mb-8", children: /* @__PURE__ */ jsxs18("div", { className: "flex items-baseline justify-center gap-2", children: [
2281
- /* @__PURE__ */ jsx23("span", { className: "text-5xl font-display font-bold cc-text-gradient-galaxy", children: price }),
2282
- /* @__PURE__ */ jsx23("span", { className: "text-muted-foreground", children: period })
2641
+ /* @__PURE__ */ jsx27("div", { className: "text-center mb-8", children: /* @__PURE__ */ jsxs20("div", { className: "flex items-baseline justify-center gap-2", children: [
2642
+ /* @__PURE__ */ jsx27("span", { className: "text-5xl font-display font-bold cc-text-gradient-galaxy", children: price }),
2643
+ /* @__PURE__ */ jsx27("span", { className: "text-muted-foreground", children: period })
2283
2644
  ] }) }),
2284
- /* @__PURE__ */ jsx23("ul", { className: "space-3 mb-8", children: features.map((feature, index) => /* @__PURE__ */ jsxs18("li", { className: "flex items-start gap-3", children: [
2285
- /* @__PURE__ */ jsx23(
2645
+ /* @__PURE__ */ jsx27("ul", { className: "space-3 mb-8", children: features.map((feature, index) => /* @__PURE__ */ jsxs20("li", { className: "flex items-start gap-3", children: [
2646
+ /* @__PURE__ */ jsx27(
2286
2647
  Check,
2287
2648
  {
2288
2649
  className: cn(
@@ -2291,7 +2652,7 @@ function PricingCard({
2291
2652
  )
2292
2653
  }
2293
2654
  ),
2294
- /* @__PURE__ */ jsx23(
2655
+ /* @__PURE__ */ jsx27(
2295
2656
  "span",
2296
2657
  {
2297
2658
  className: cn(
@@ -2302,7 +2663,7 @@ function PricingCard({
2302
2663
  }
2303
2664
  )
2304
2665
  ] }, index)) }),
2305
- /* @__PURE__ */ jsx23(
2666
+ /* @__PURE__ */ jsx27(
2306
2667
  JellyButton,
2307
2668
  {
2308
2669
  onClick: onSelect,
@@ -2317,10 +2678,10 @@ function PricingCard({
2317
2678
  }
2318
2679
 
2319
2680
  // src/components/cupcode/ProgressCupcode.tsx
2320
- import * as React11 from "react";
2681
+ import * as React12 from "react";
2321
2682
  import * as ProgressPrimitive from "@radix-ui/react-progress";
2322
- import { jsx as jsx24, jsxs as jsxs19 } from "react/jsx-runtime";
2323
- var ProgressCupcode = React11.forwardRef(({ className, value, variant = "default", showLabel = false, size = "md", ...props }, ref) => {
2683
+ import { jsx as jsx28, jsxs as jsxs21 } from "react/jsx-runtime";
2684
+ var ProgressCupcode = React12.forwardRef(({ className, value, variant = "default", showLabel = false, size = "md", ...props }, ref) => {
2324
2685
  const sizeClasses2 = {
2325
2686
  sm: "h-2",
2326
2687
  md: "h-3",
@@ -2333,15 +2694,15 @@ var ProgressCupcode = React11.forwardRef(({ className, value, variant = "default
2333
2694
  warning: "bg-warning",
2334
2695
  error: "bg-destructive"
2335
2696
  };
2336
- return /* @__PURE__ */ jsxs19("div", { className: "w-full space-y-2", children: [
2337
- showLabel && /* @__PURE__ */ jsxs19("div", { className: "flex items-center justify-between text-sm", children: [
2338
- /* @__PURE__ */ jsx24("span", { className: "font-semibold text-foreground", children: "Progresso" }),
2339
- /* @__PURE__ */ jsxs19("span", { className: "text-muted-foreground", children: [
2697
+ return /* @__PURE__ */ jsxs21("div", { className: "w-full space-y-2", children: [
2698
+ showLabel && /* @__PURE__ */ jsxs21("div", { className: "flex items-center justify-between text-sm", children: [
2699
+ /* @__PURE__ */ jsx28("span", { className: "font-semibold text-foreground", children: "Progresso" }),
2700
+ /* @__PURE__ */ jsxs21("span", { className: "text-muted-foreground", children: [
2340
2701
  value,
2341
2702
  "%"
2342
2703
  ] })
2343
2704
  ] }),
2344
- /* @__PURE__ */ jsx24(
2705
+ /* @__PURE__ */ jsx28(
2345
2706
  ProgressPrimitive.Root,
2346
2707
  {
2347
2708
  ref,
@@ -2351,7 +2712,7 @@ var ProgressCupcode = React11.forwardRef(({ className, value, variant = "default
2351
2712
  className
2352
2713
  ),
2353
2714
  ...props,
2354
- children: /* @__PURE__ */ jsx24(
2715
+ children: /* @__PURE__ */ jsx28(
2355
2716
  ProgressPrimitive.Indicator,
2356
2717
  {
2357
2718
  className: cn(
@@ -2368,14 +2729,14 @@ var ProgressCupcode = React11.forwardRef(({ className, value, variant = "default
2368
2729
  ProgressCupcode.displayName = "ProgressCupcode";
2369
2730
 
2370
2731
  // src/components/cupcode/SelectField.tsx
2371
- import * as React12 from "react";
2732
+ import * as React13 from "react";
2372
2733
  import * as SelectPrimitive from "@radix-ui/react-select";
2373
2734
  import { Check as Check2, ChevronDown as ChevronDown2 } from "lucide-react";
2374
- import { jsx as jsx25, jsxs as jsxs20 } from "react/jsx-runtime";
2735
+ import { jsx as jsx29, jsxs as jsxs22 } from "react/jsx-runtime";
2375
2736
  var Select = SelectPrimitive.Root;
2376
2737
  var SelectGroup = SelectPrimitive.Group;
2377
2738
  var SelectValue = SelectPrimitive.Value;
2378
- var SelectTrigger = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs20(
2739
+ var SelectTrigger = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs22(
2379
2740
  SelectPrimitive.Trigger,
2380
2741
  {
2381
2742
  ref,
@@ -2393,12 +2754,12 @@ var SelectTrigger = React12.forwardRef(({ className, children, ...props }, ref)
2393
2754
  ...props,
2394
2755
  children: [
2395
2756
  children,
2396
- /* @__PURE__ */ jsx25(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx25(ChevronDown2, { className: "h-4 w-4 opacity-50" }) })
2757
+ /* @__PURE__ */ jsx29(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx29(ChevronDown2, { className: "h-4 w-4 opacity-50" }) })
2397
2758
  ]
2398
2759
  }
2399
2760
  ));
2400
2761
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
2401
- var SelectContent = React12.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx25(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx25(
2762
+ var SelectContent = React13.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx29(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx29(
2402
2763
  SelectPrimitive.Content,
2403
2764
  {
2404
2765
  ref,
@@ -2415,7 +2776,7 @@ var SelectContent = React12.forwardRef(({ className, children, position = "poppe
2415
2776
  ),
2416
2777
  position,
2417
2778
  ...props,
2418
- children: /* @__PURE__ */ jsx25(
2779
+ children: /* @__PURE__ */ jsx29(
2419
2780
  SelectPrimitive.Viewport,
2420
2781
  {
2421
2782
  className: cn(
@@ -2428,7 +2789,7 @@ var SelectContent = React12.forwardRef(({ className, children, position = "poppe
2428
2789
  }
2429
2790
  ) }));
2430
2791
  SelectContent.displayName = SelectPrimitive.Content.displayName;
2431
- var SelectItem = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs20(
2792
+ var SelectItem = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs22(
2432
2793
  SelectPrimitive.Item,
2433
2794
  {
2434
2795
  ref,
@@ -2441,8 +2802,8 @@ var SelectItem = React12.forwardRef(({ className, children, ...props }, ref) =>
2441
2802
  ),
2442
2803
  ...props,
2443
2804
  children: [
2444
- /* @__PURE__ */ jsx25("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx25(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx25(Check2, { className: "h-4 w-4 text-cupcode-purple" }) }) }),
2445
- /* @__PURE__ */ jsx25(SelectPrimitive.ItemText, { children })
2805
+ /* @__PURE__ */ jsx29("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx29(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx29(Check2, { className: "h-4 w-4 text-cupcode-purple" }) }) }),
2806
+ /* @__PURE__ */ jsx29(SelectPrimitive.ItemText, { children })
2446
2807
  ]
2447
2808
  }
2448
2809
  ));
@@ -2456,21 +2817,21 @@ var SelectField = ({
2456
2817
  options,
2457
2818
  disabled
2458
2819
  }) => {
2459
- return /* @__PURE__ */ jsxs20("div", { className: "cc-stack space-2 w-full", children: [
2460
- label && /* @__PURE__ */ jsx25("label", { className: "text-sm font-semibold text-cupcode-ink", children: label }),
2461
- /* @__PURE__ */ jsxs20(Select, { value, onValueChange, disabled, children: [
2462
- /* @__PURE__ */ jsx25(SelectTrigger, { children: /* @__PURE__ */ jsx25(SelectValue, { placeholder }) }),
2463
- /* @__PURE__ */ jsx25(SelectContent, { children: /* @__PURE__ */ jsx25(SelectGroup, { children: options.map((option) => /* @__PURE__ */ jsx25(SelectItem, { value: option.value, children: option.label }, option.value)) }) })
2820
+ return /* @__PURE__ */ jsxs22("div", { className: "cc-stack space-2 w-full", children: [
2821
+ label && /* @__PURE__ */ jsx29("label", { className: "text-sm font-semibold text-cupcode-ink", children: label }),
2822
+ /* @__PURE__ */ jsxs22(Select, { value, onValueChange, disabled, children: [
2823
+ /* @__PURE__ */ jsx29(SelectTrigger, { children: /* @__PURE__ */ jsx29(SelectValue, { placeholder }) }),
2824
+ /* @__PURE__ */ jsx29(SelectContent, { children: /* @__PURE__ */ jsx29(SelectGroup, { children: options.map((option) => /* @__PURE__ */ jsx29(SelectItem, { value: option.value, children: option.label }, option.value)) }) })
2464
2825
  ] }),
2465
- error && /* @__PURE__ */ jsx25("p", { className: "text-xs font-medium text-destructive animate-fade-in", children: error })
2826
+ error && /* @__PURE__ */ jsx29("p", { className: "text-xs font-medium text-destructive animate-fade-in", children: error })
2466
2827
  ] });
2467
2828
  };
2468
2829
 
2469
2830
  // src/components/cupcode/SwitchField.tsx
2470
- import * as React13 from "react";
2831
+ import * as React14 from "react";
2471
2832
  import * as SwitchPrimitives from "@radix-ui/react-switch";
2472
- import { jsx as jsx26, jsxs as jsxs21 } from "react/jsx-runtime";
2473
- var Switch = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx26(
2833
+ import { jsx as jsx30, jsxs as jsxs23 } from "react/jsx-runtime";
2834
+ var Switch = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
2474
2835
  SwitchPrimitives.Root,
2475
2836
  {
2476
2837
  className: cn(
@@ -2485,7 +2846,7 @@ var Switch = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
2485
2846
  ),
2486
2847
  ...props,
2487
2848
  ref,
2488
- children: /* @__PURE__ */ jsx26(
2849
+ children: /* @__PURE__ */ jsx30(
2489
2850
  SwitchPrimitives.Thumb,
2490
2851
  {
2491
2852
  className: cn(
@@ -2501,21 +2862,21 @@ var Switch = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
2501
2862
  ));
2502
2863
  Switch.displayName = SwitchPrimitives.Root.displayName;
2503
2864
  var SwitchField = ({ label, description, ...props }) => {
2504
- return /* @__PURE__ */ jsxs21("div", { className: "flex items-center justify-between space-x-4", children: [
2505
- /* @__PURE__ */ jsxs21("div", { className: "cc-stack space-1 flex-1", children: [
2506
- label && /* @__PURE__ */ jsx26("label", { className: "text-sm font-semibold text-cupcode-ink cursor-pointer", children: label }),
2507
- description && /* @__PURE__ */ jsx26("p", { className: "text-xs text-muted-foreground", children: description })
2865
+ return /* @__PURE__ */ jsxs23("div", { className: "flex items-center justify-between space-x-4", children: [
2866
+ /* @__PURE__ */ jsxs23("div", { className: "cc-stack space-1 flex-1", children: [
2867
+ label && /* @__PURE__ */ jsx30("label", { className: "text-sm font-semibold text-cupcode-ink cursor-pointer", children: label }),
2868
+ description && /* @__PURE__ */ jsx30("p", { className: "text-xs text-muted-foreground", children: description })
2508
2869
  ] }),
2509
- /* @__PURE__ */ jsx26(Switch, { ...props })
2870
+ /* @__PURE__ */ jsx30(Switch, { ...props })
2510
2871
  ] });
2511
2872
  };
2512
2873
 
2513
2874
  // src/components/cupcode/TabsCupcode.tsx
2514
- import * as React14 from "react";
2875
+ import * as React15 from "react";
2515
2876
  import * as TabsPrimitive from "@radix-ui/react-tabs";
2516
- import { jsx as jsx27 } from "react/jsx-runtime";
2877
+ import { jsx as jsx31 } from "react/jsx-runtime";
2517
2878
  var Tabs = TabsPrimitive.Root;
2518
- var TabsList = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
2879
+ var TabsList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx31(
2519
2880
  TabsPrimitive.List,
2520
2881
  {
2521
2882
  ref,
@@ -2528,12 +2889,12 @@ var TabsList = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__
2528
2889
  }
2529
2890
  ));
2530
2891
  TabsList.displayName = TabsPrimitive.List.displayName;
2531
- var TabsTrigger = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
2892
+ var TabsTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx31(
2532
2893
  TabsPrimitive.Trigger,
2533
2894
  {
2534
2895
  ref,
2535
2896
  className: cn(
2536
- "inline-flex items-center justify-center whitespace-nowrap rounded-md px-4 py-2",
2897
+ "inline-flex items-center justify-center whitespace-nowrap rounded-t-md px-4 py-2",
2537
2898
  "text-sm font-semibold ring-offset-background transition-all",
2538
2899
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cupcode-purple focus-visible:ring-offset-2",
2539
2900
  "disabled:pointer-events-none disabled:opacity-50",
@@ -2550,7 +2911,7 @@ var TabsTrigger = React14.forwardRef(({ className, ...props }, ref) => /* @__PUR
2550
2911
  }
2551
2912
  ));
2552
2913
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
2553
- var TabsContent = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
2914
+ var TabsContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx31(
2554
2915
  TabsPrimitive.Content,
2555
2916
  {
2556
2917
  ref,
@@ -2565,49 +2926,8 @@ var TabsContent = React14.forwardRef(({ className, ...props }, ref) => /* @__PUR
2565
2926
  ));
2566
2927
  TabsContent.displayName = TabsPrimitive.Content.displayName;
2567
2928
 
2568
- // src/components/cupcode/TelescupImage.tsx
2569
- import { jsx as jsx28 } from "react/jsx-runtime";
2570
- var TelescupImage = ({
2571
- apiId,
2572
- imageWidth,
2573
- imageHeight,
2574
- fit = "cover",
2575
- format = "avif",
2576
- quality = 60,
2577
- lang = "pt-BR",
2578
- alt,
2579
- title,
2580
- loading = "lazy",
2581
- className,
2582
- ...props
2583
- }) => {
2584
- const { url, meta } = useTelescupImage(
2585
- {
2586
- id: apiId,
2587
- width: imageWidth,
2588
- height: imageHeight,
2589
- fit,
2590
- format,
2591
- quality
2592
- },
2593
- lang
2594
- );
2595
- return /* @__PURE__ */ jsx28(
2596
- "img",
2597
- {
2598
- src: url,
2599
- "data-api-id": apiId,
2600
- alt: alt || meta.alt || "",
2601
- title: title || meta.title,
2602
- loading,
2603
- className,
2604
- ...props
2605
- }
2606
- );
2607
- };
2608
-
2609
2929
  // src/components/cupcode/TelescupVideo.tsx
2610
- import { jsx as jsx29 } from "react/jsx-runtime";
2930
+ import { jsx as jsx32 } from "react/jsx-runtime";
2611
2931
  var TelescupVideo = ({
2612
2932
  apiId,
2613
2933
  lang = "pt-BR",
@@ -2617,7 +2937,7 @@ var TelescupVideo = ({
2617
2937
  }) => {
2618
2938
  const url = buildTelescupVideoURL(apiId);
2619
2939
  const { meta } = useTelescupMeta(apiId, lang);
2620
- return /* @__PURE__ */ jsx29(
2940
+ return /* @__PURE__ */ jsx32(
2621
2941
  "video",
2622
2942
  {
2623
2943
  src: url,
@@ -2631,13 +2951,13 @@ var TelescupVideo = ({
2631
2951
  };
2632
2952
 
2633
2953
  // src/components/cupcode/TextareaField.tsx
2634
- import * as React15 from "react";
2635
- import { jsx as jsx30, jsxs as jsxs22 } from "react/jsx-runtime";
2636
- var TextareaField = React15.forwardRef(
2954
+ import * as React16 from "react";
2955
+ import { jsx as jsx33, jsxs as jsxs24 } from "react/jsx-runtime";
2956
+ var TextareaField = React16.forwardRef(
2637
2957
  ({ className, label, error, ...props }, ref) => {
2638
- return /* @__PURE__ */ jsxs22("div", { className: "cc-stack space-2 w-full", children: [
2639
- label && /* @__PURE__ */ jsx30("label", { className: "text-sm font-semibold text-cupcode-ink", children: label }),
2640
- /* @__PURE__ */ jsx30(
2958
+ return /* @__PURE__ */ jsxs24("div", { className: "cc-stack space-2 w-full", children: [
2959
+ label && /* @__PURE__ */ jsx33("label", { className: "text-sm font-semibold text-cupcode-ink", children: label }),
2960
+ /* @__PURE__ */ jsx33(
2641
2961
  "textarea",
2642
2962
  {
2643
2963
  className: cn(
@@ -2657,65 +2977,18 @@ var TextareaField = React15.forwardRef(
2657
2977
  ...props
2658
2978
  }
2659
2979
  ),
2660
- error && /* @__PURE__ */ jsx30("p", { className: "text-xs font-medium text-destructive animate-fade-in", children: error })
2980
+ error && /* @__PURE__ */ jsx33("p", { className: "text-xs font-medium text-destructive animate-fade-in", children: error })
2661
2981
  ] });
2662
2982
  }
2663
2983
  );
2664
2984
  TextareaField.displayName = "TextareaField";
2665
2985
 
2666
- // src/components/cupcode/ThemeToggle.tsx
2667
- import * as React16 from "react";
2668
- import { Moon, Sun } from "lucide-react";
2669
- import { useTheme } from "next-themes";
2670
- import { jsx as jsx31, jsxs as jsxs23 } from "react/jsx-runtime";
2671
- var ThemeToggle = ({ className }) => {
2672
- const { theme, setTheme } = useTheme();
2673
- const [mounted, setMounted] = React16.useState(false);
2674
- React16.useEffect(() => {
2675
- setMounted(true);
2676
- console.log("ThemeToggle mounted, current theme:", theme);
2677
- }, []);
2678
- React16.useEffect(() => {
2679
- console.log("Theme changed:", theme);
2680
- console.log("HTML class:", document.documentElement.className);
2681
- }, [theme]);
2682
- if (!mounted) {
2683
- return /* @__PURE__ */ jsx31("div", { className: cn("w-10 h-10 rounded-lg bg-muted", className) });
2684
- }
2685
- return /* @__PURE__ */ jsxs23(
2686
- "button",
2687
- {
2688
- onClick: () => {
2689
- const newTheme = theme === "dark" ? "light" : "dark";
2690
- console.log("Theme toggle clicked:", { currentTheme: theme, newTheme });
2691
- setTheme(newTheme);
2692
- },
2693
- className: cn(
2694
- "relative inline-flex items-center justify-center w-10 h-10",
2695
- "rounded-lg transition-all duration-300",
2696
- "glass hover:glass-strong",
2697
- "group",
2698
- className
2699
- ),
2700
- "aria-label": "Toggle theme",
2701
- children: [
2702
- /* @__PURE__ */ jsx31(Sun, { className: "h-5 w-5 text-cupcode-purple rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" }),
2703
- /* @__PURE__ */ jsx31(Moon, { className: "absolute h-5 w-5 text-cupcode-pink rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" }),
2704
- /* @__PURE__ */ jsxs23("span", { className: "sr-only", children: [
2705
- "Current theme: ",
2706
- theme
2707
- ] })
2708
- ]
2709
- }
2710
- );
2711
- };
2712
-
2713
2986
  // src/components/cupcode/TimelineCupcode.tsx
2714
- import { jsx as jsx32, jsxs as jsxs24 } from "react/jsx-runtime";
2987
+ import { jsx as jsx34, jsxs as jsxs25 } from "react/jsx-runtime";
2715
2988
  function Timeline({ items, variant = "vertical", className }) {
2716
2989
  if (variant === "horizontal") {
2717
- return /* @__PURE__ */ jsx32("div", { className: cn("flex items-start gap-4 overflow-x-auto pb-4", className), children: items.map((item, index) => /* @__PURE__ */ jsxs24("div", { className: "flex flex-col items-center min-w-[200px]", children: [
2718
- /* @__PURE__ */ jsx32(
2990
+ return /* @__PURE__ */ jsx34("div", { className: cn("flex items-start gap-4 overflow-x-auto pb-4", className), children: items.map((item, index) => /* @__PURE__ */ jsxs25("div", { className: "flex flex-col items-center min-w-[200px]", children: [
2991
+ /* @__PURE__ */ jsx34(
2719
2992
  "div",
2720
2993
  {
2721
2994
  className: cn(
@@ -2723,27 +2996,27 @@ function Timeline({ items, variant = "vertical", className }) {
2723
2996
  "transition-all duration-300",
2724
2997
  item.active ? "cc-gradient-galaxy text-white elevation-3 scale-110" : "bg-muted text-muted-foreground"
2725
2998
  ),
2726
- children: item.icon || /* @__PURE__ */ jsx32("span", { className: "text-sm font-bold", children: index + 1 })
2999
+ children: item.icon || /* @__PURE__ */ jsx34("span", { className: "text-sm font-bold", children: index + 1 })
2727
3000
  }
2728
3001
  ),
2729
- index < items.length - 1 && /* @__PURE__ */ jsx32("div", { className: cn(
3002
+ index < items.length - 1 && /* @__PURE__ */ jsx34("div", { className: cn(
2730
3003
  "h-1 w-full mb-3",
2731
3004
  item.active ? "bg-cupcode-purple" : "bg-muted"
2732
3005
  ) }),
2733
- /* @__PURE__ */ jsxs24("div", { className: "text-center", children: [
2734
- /* @__PURE__ */ jsx32("h4", { className: cn(
3006
+ /* @__PURE__ */ jsxs25("div", { className: "text-center", children: [
3007
+ /* @__PURE__ */ jsx34("h4", { className: cn(
2735
3008
  "font-display font-semibold mb-1",
2736
3009
  item.active ? "text-cupcode-purple" : "text-foreground"
2737
3010
  ), children: item.title }),
2738
- item.description && /* @__PURE__ */ jsx32("p", { className: "text-sm text-muted-foreground", children: item.description }),
2739
- item.date && /* @__PURE__ */ jsx32("p", { className: "text-xs text-muted-foreground mt-1", children: item.date })
3011
+ item.description && /* @__PURE__ */ jsx34("p", { className: "text-sm text-muted-foreground", children: item.description }),
3012
+ item.date && /* @__PURE__ */ jsx34("p", { className: "text-xs text-muted-foreground mt-1", children: item.date })
2740
3013
  ] })
2741
3014
  ] }, item.id)) });
2742
3015
  }
2743
- return /* @__PURE__ */ jsxs24("div", { className: cn("relative space-6", className), children: [
2744
- /* @__PURE__ */ jsx32("div", { className: "absolute left-6 top-0 bottom-0 w-0.5 bg-muted" }),
2745
- items.map((item, index) => /* @__PURE__ */ jsxs24("div", { className: "relative flex gap-6 pb-8 last:pb-0", children: [
2746
- /* @__PURE__ */ jsx32(
3016
+ return /* @__PURE__ */ jsxs25("div", { className: cn("relative space-6", className), children: [
3017
+ /* @__PURE__ */ jsx34("div", { className: "absolute left-6 top-0 bottom-0 w-0.5 bg-muted" }),
3018
+ items.map((item, index) => /* @__PURE__ */ jsxs25("div", { className: "relative flex gap-6 pb-8 last:pb-0", children: [
3019
+ /* @__PURE__ */ jsx34(
2747
3020
  "div",
2748
3021
  {
2749
3022
  className: cn(
@@ -2751,16 +3024,16 @@ function Timeline({ items, variant = "vertical", className }) {
2751
3024
  "transition-all duration-300",
2752
3025
  item.active ? "cc-gradient-galaxy text-white elevation-3" : "bg-muted text-muted-foreground"
2753
3026
  ),
2754
- children: item.icon || /* @__PURE__ */ jsx32("span", { className: "text-sm font-bold", children: index + 1 })
3027
+ children: item.icon || /* @__PURE__ */ jsx34("span", { className: "text-sm font-bold", children: index + 1 })
2755
3028
  }
2756
3029
  ),
2757
- /* @__PURE__ */ jsxs24("div", { className: "flex-1 pt-1", children: [
2758
- /* @__PURE__ */ jsx32("h4", { className: cn(
3030
+ /* @__PURE__ */ jsxs25("div", { className: "flex-1 pt-1", children: [
3031
+ /* @__PURE__ */ jsx34("h4", { className: cn(
2759
3032
  "font-display font-semibold mb-1",
2760
3033
  item.active ? "text-cupcode-purple" : "text-foreground"
2761
3034
  ), children: item.title }),
2762
- item.description && /* @__PURE__ */ jsx32("p", { className: "text-sm text-muted-foreground mb-2", children: item.description }),
2763
- item.date && /* @__PURE__ */ jsx32("p", { className: "text-xs text-muted-foreground", children: item.date })
3035
+ item.description && /* @__PURE__ */ jsx34("p", { className: "text-sm text-muted-foreground mb-2", children: item.description }),
3036
+ item.date && /* @__PURE__ */ jsx34("p", { className: "text-xs text-muted-foreground", children: item.date })
2764
3037
  ] })
2765
3038
  ] }, item.id))
2766
3039
  ] });
@@ -2768,7 +3041,7 @@ function Timeline({ items, variant = "vertical", className }) {
2768
3041
 
2769
3042
  // src/components/cupcode/ToastCupcode.tsx
2770
3043
  import { X as X4, CheckCircle, AlertCircle, Info, AlertTriangle as AlertTriangle2 } from "lucide-react";
2771
- import { jsx as jsx33, jsxs as jsxs25 } from "react/jsx-runtime";
3044
+ import { jsx as jsx35, jsxs as jsxs26 } from "react/jsx-runtime";
2772
3045
  var variantStyles2 = {
2773
3046
  success: {
2774
3047
  gradient: "from-success/20 to-success/5",
@@ -2803,7 +3076,7 @@ var ToastCupcode = ({
2803
3076
  }) => {
2804
3077
  const style = variantStyles2[variant];
2805
3078
  const Icon3 = style.icon;
2806
- return /* @__PURE__ */ jsx33(
3079
+ return /* @__PURE__ */ jsx35(
2807
3080
  "div",
2808
3081
  {
2809
3082
  className: cn(
@@ -2815,18 +3088,18 @@ var ToastCupcode = ({
2815
3088
  "min-w-[300px] max-w-[420px]",
2816
3089
  "animate-slide-up"
2817
3090
  ),
2818
- children: /* @__PURE__ */ jsxs25("div", { className: "flex items-start gap-3", children: [
2819
- /* @__PURE__ */ jsx33(Icon3, { className: cn("h-5 w-5 shrink-0 mt-0.5", style.iconColor) }),
2820
- /* @__PURE__ */ jsxs25("div", { className: "flex-1 space-y-1", children: [
2821
- /* @__PURE__ */ jsx33("p", { className: "text-sm font-semibold text-cupcode-ink", children: title }),
2822
- description && /* @__PURE__ */ jsx33("p", { className: "text-xs text-cupcode-ink/70", children: description })
3091
+ children: /* @__PURE__ */ jsxs26("div", { className: "flex items-start gap-3", children: [
3092
+ /* @__PURE__ */ jsx35(Icon3, { className: cn("h-5 w-5 shrink-0 mt-0.5", style.iconColor) }),
3093
+ /* @__PURE__ */ jsxs26("div", { className: "flex-1 space-y-1", children: [
3094
+ /* @__PURE__ */ jsx35("p", { className: "text-sm font-semibold text-cupcode-ink", children: title }),
3095
+ description && /* @__PURE__ */ jsx35("p", { className: "text-xs text-cupcode-ink/70", children: description })
2823
3096
  ] }),
2824
- onClose && /* @__PURE__ */ jsx33(
3097
+ onClose && /* @__PURE__ */ jsx35(
2825
3098
  "button",
2826
3099
  {
2827
3100
  onClick: onClose,
2828
3101
  className: "shrink-0 rounded-md p-1 hover:bg-cupcode-ink/10 transition-colors",
2829
- children: /* @__PURE__ */ jsx33(X4, { className: "h-4 w-4 text-cupcode-ink/50" })
3102
+ children: /* @__PURE__ */ jsx35(X4, { className: "h-4 w-4 text-cupcode-ink/50" })
2830
3103
  }
2831
3104
  )
2832
3105
  ] })
@@ -2837,11 +3110,11 @@ var ToastCupcode = ({
2837
3110
  // src/components/cupcode/TooltipCupcode.tsx
2838
3111
  import * as React17 from "react";
2839
3112
  import * as TooltipPrimitive2 from "@radix-ui/react-tooltip";
2840
- import { jsx as jsx34 } from "react/jsx-runtime";
3113
+ import { jsx as jsx36 } from "react/jsx-runtime";
2841
3114
  var TooltipProvider2 = TooltipPrimitive2.Provider;
2842
3115
  var TooltipCupcode = TooltipPrimitive2.Root;
2843
3116
  var TooltipTrigger2 = TooltipPrimitive2.Trigger;
2844
- var TooltipContent2 = React17.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx34(
3117
+ var TooltipContent2 = React17.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx36(
2845
3118
  TooltipPrimitive2.Content,
2846
3119
  {
2847
3120
  ref,
@@ -2865,11 +3138,11 @@ TooltipContent2.displayName = TooltipPrimitive2.Content.displayName;
2865
3138
  import * as React18 from "react";
2866
3139
  import * as AccordionPrimitive2 from "@radix-ui/react-accordion";
2867
3140
  import { ChevronDown as ChevronDown3 } from "lucide-react";
2868
- import { jsx as jsx35, jsxs as jsxs26 } from "react/jsx-runtime";
3141
+ import { jsx as jsx37, jsxs as jsxs27 } from "react/jsx-runtime";
2869
3142
  var Accordion = AccordionPrimitive2.Root;
2870
- var AccordionItem2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(AccordionPrimitive2.Item, { ref, className: cn("border-b", className), ...props }));
3143
+ var AccordionItem2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx37(AccordionPrimitive2.Item, { ref, className: cn("border-b", className), ...props }));
2871
3144
  AccordionItem2.displayName = "AccordionItem";
2872
- var AccordionTrigger2 = React18.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx35(AccordionPrimitive2.Header, { className: "flex", children: /* @__PURE__ */ jsxs26(
3145
+ var AccordionTrigger2 = React18.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx37(AccordionPrimitive2.Header, { className: "flex", children: /* @__PURE__ */ jsxs27(
2873
3146
  AccordionPrimitive2.Trigger,
2874
3147
  {
2875
3148
  ref,
@@ -2880,18 +3153,18 @@ var AccordionTrigger2 = React18.forwardRef(({ className, children, ...props }, r
2880
3153
  ...props,
2881
3154
  children: [
2882
3155
  children,
2883
- /* @__PURE__ */ jsx35(ChevronDown3, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })
3156
+ /* @__PURE__ */ jsx37(ChevronDown3, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })
2884
3157
  ]
2885
3158
  }
2886
3159
  ) }));
2887
3160
  AccordionTrigger2.displayName = AccordionPrimitive2.Trigger.displayName;
2888
- var AccordionContent2 = React18.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx35(
3161
+ var AccordionContent2 = React18.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx37(
2889
3162
  AccordionPrimitive2.Content,
2890
3163
  {
2891
3164
  ref,
2892
3165
  className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
2893
3166
  ...props,
2894
- children: /* @__PURE__ */ jsx35("div", { className: cn("pb-4 pt-0", className), children })
3167
+ children: /* @__PURE__ */ jsx37("div", { className: cn("pb-4 pt-0", className), children })
2895
3168
  }
2896
3169
  ));
2897
3170
  AccordionContent2.displayName = AccordionPrimitive2.Content.displayName;
@@ -2899,7 +3172,7 @@ AccordionContent2.displayName = AccordionPrimitive2.Content.displayName;
2899
3172
  // src/components/ui/alert.tsx
2900
3173
  import * as React19 from "react";
2901
3174
  import { cva } from "class-variance-authority";
2902
- import { jsx as jsx36 } from "react/jsx-runtime";
3175
+ import { jsx as jsx38 } from "react/jsx-runtime";
2903
3176
  var alertVariants = cva(
2904
3177
  "relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
2905
3178
  {
@@ -2914,14 +3187,14 @@ var alertVariants = cva(
2914
3187
  }
2915
3188
  }
2916
3189
  );
2917
- var Alert = React19.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx36("div", { ref, role: "alert", className: cn(alertVariants({ variant }), className), ...props }));
3190
+ var Alert = React19.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx38("div", { ref, role: "alert", className: cn(alertVariants({ variant }), className), ...props }));
2918
3191
  Alert.displayName = "Alert";
2919
3192
  var AlertTitle = React19.forwardRef(
2920
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx36("h5", { ref, className: cn("mb-1 font-medium leading-none tracking-tight", className), ...props })
3193
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx38("h5", { ref, className: cn("mb-1 font-medium leading-none tracking-tight", className), ...props })
2921
3194
  );
2922
3195
  AlertTitle.displayName = "AlertTitle";
2923
3196
  var AlertDescription = React19.forwardRef(
2924
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx36("div", { ref, className: cn("text-sm [&_p]:leading-relaxed", className), ...props })
3197
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx38("div", { ref, className: cn("text-sm [&_p]:leading-relaxed", className), ...props })
2925
3198
  );
2926
3199
  AlertDescription.displayName = "AlertDescription";
2927
3200
 
@@ -2933,7 +3206,7 @@ import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
2933
3206
  import * as React20 from "react";
2934
3207
  import { Slot } from "@radix-ui/react-slot";
2935
3208
  import { cva as cva2 } from "class-variance-authority";
2936
- import { jsx as jsx37 } from "react/jsx-runtime";
3209
+ import { jsx as jsx39 } from "react/jsx-runtime";
2937
3210
  var buttonVariants = cva2(
2938
3211
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
2939
3212
  {
@@ -2962,17 +3235,17 @@ var buttonVariants = cva2(
2962
3235
  var Button = React20.forwardRef(
2963
3236
  ({ className, variant, size, asChild = false, ...props }, ref) => {
2964
3237
  const Comp = asChild ? Slot : "button";
2965
- return /* @__PURE__ */ jsx37(Comp, { className: cn(buttonVariants({ variant, size, className })), ref, ...props });
3238
+ return /* @__PURE__ */ jsx39(Comp, { className: cn(buttonVariants({ variant, size, className })), ref, ...props });
2966
3239
  }
2967
3240
  );
2968
3241
  Button.displayName = "Button";
2969
3242
 
2970
3243
  // src/components/ui/alert-dialog.tsx
2971
- import { jsx as jsx38, jsxs as jsxs27 } from "react/jsx-runtime";
3244
+ import { jsx as jsx40, jsxs as jsxs28 } from "react/jsx-runtime";
2972
3245
  var AlertDialog = AlertDialogPrimitive.Root;
2973
3246
  var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
2974
3247
  var AlertDialogPortal = AlertDialogPrimitive.Portal;
2975
- var AlertDialogOverlay = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
3248
+ var AlertDialogOverlay = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx40(
2976
3249
  AlertDialogPrimitive.Overlay,
2977
3250
  {
2978
3251
  className: cn(
@@ -2984,9 +3257,9 @@ var AlertDialogOverlay = React21.forwardRef(({ className, ...props }, ref) => /*
2984
3257
  }
2985
3258
  ));
2986
3259
  AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
2987
- var AlertDialogContent = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs27(AlertDialogPortal, { children: [
2988
- /* @__PURE__ */ jsx38(AlertDialogOverlay, {}),
2989
- /* @__PURE__ */ jsx38(
3260
+ var AlertDialogContent = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs28(AlertDialogPortal, { children: [
3261
+ /* @__PURE__ */ jsx40(AlertDialogOverlay, {}),
3262
+ /* @__PURE__ */ jsx40(
2990
3263
  AlertDialogPrimitive.Content,
2991
3264
  {
2992
3265
  ref,
@@ -2999,17 +3272,17 @@ var AlertDialogContent = React21.forwardRef(({ className, ...props }, ref) => /*
2999
3272
  )
3000
3273
  ] }));
3001
3274
  AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;
3002
- var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx38("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
3275
+ var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx40("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
3003
3276
  AlertDialogHeader.displayName = "AlertDialogHeader";
3004
- var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx38("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
3277
+ var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx40("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
3005
3278
  AlertDialogFooter.displayName = "AlertDialogFooter";
3006
- var AlertDialogTitle = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(AlertDialogPrimitive.Title, { ref, className: cn("text-lg font-semibold", className), ...props }));
3279
+ var AlertDialogTitle = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx40(AlertDialogPrimitive.Title, { ref, className: cn("text-lg font-semibold", className), ...props }));
3007
3280
  AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
3008
- var AlertDialogDescription = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(AlertDialogPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
3281
+ var AlertDialogDescription = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx40(AlertDialogPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
3009
3282
  AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
3010
- var AlertDialogAction = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(AlertDialogPrimitive.Action, { ref, className: cn(buttonVariants(), className), ...props }));
3283
+ var AlertDialogAction = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx40(AlertDialogPrimitive.Action, { ref, className: cn(buttonVariants(), className), ...props }));
3011
3284
  AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
3012
- var AlertDialogCancel = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
3285
+ var AlertDialogCancel = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx40(
3013
3286
  AlertDialogPrimitive.Cancel,
3014
3287
  {
3015
3288
  ref,
@@ -3026,8 +3299,8 @@ var AspectRatio = AspectRatioPrimitive.Root;
3026
3299
  // src/components/ui/avatar.tsx
3027
3300
  import * as React22 from "react";
3028
3301
  import * as AvatarPrimitive2 from "@radix-ui/react-avatar";
3029
- import { jsx as jsx39 } from "react/jsx-runtime";
3030
- var Avatar2 = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx39(
3302
+ import { jsx as jsx41 } from "react/jsx-runtime";
3303
+ var Avatar2 = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
3031
3304
  AvatarPrimitive2.Root,
3032
3305
  {
3033
3306
  ref,
@@ -3036,9 +3309,9 @@ var Avatar2 = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3036
3309
  }
3037
3310
  ));
3038
3311
  Avatar2.displayName = AvatarPrimitive2.Root.displayName;
3039
- var AvatarImage2 = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx39(AvatarPrimitive2.Image, { ref, className: cn("aspect-square h-full w-full", className), ...props }));
3312
+ var AvatarImage2 = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx41(AvatarPrimitive2.Image, { ref, className: cn("aspect-square h-full w-full", className), ...props }));
3040
3313
  AvatarImage2.displayName = AvatarPrimitive2.Image.displayName;
3041
- var AvatarFallback2 = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx39(
3314
+ var AvatarFallback2 = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
3042
3315
  AvatarPrimitive2.Fallback,
3043
3316
  {
3044
3317
  ref,
@@ -3050,7 +3323,7 @@ AvatarFallback2.displayName = AvatarPrimitive2.Fallback.displayName;
3050
3323
 
3051
3324
  // src/components/ui/badge.tsx
3052
3325
  import { cva as cva3 } from "class-variance-authority";
3053
- import { jsx as jsx40 } from "react/jsx-runtime";
3326
+ import { jsx as jsx42 } from "react/jsx-runtime";
3054
3327
  var badgeVariants = cva3(
3055
3328
  "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
3056
3329
  {
@@ -3068,18 +3341,18 @@ var badgeVariants = cva3(
3068
3341
  }
3069
3342
  );
3070
3343
  function Badge2({ className, variant, ...props }) {
3071
- return /* @__PURE__ */ jsx40("div", { className: cn(badgeVariants({ variant }), className), ...props });
3344
+ return /* @__PURE__ */ jsx42("div", { className: cn(badgeVariants({ variant }), className), ...props });
3072
3345
  }
3073
3346
 
3074
3347
  // src/components/ui/breadcrumb.tsx
3075
3348
  import * as React23 from "react";
3076
3349
  import { Slot as Slot2 } from "@radix-ui/react-slot";
3077
3350
  import { ChevronRight, MoreHorizontal } from "lucide-react";
3078
- import { jsx as jsx41, jsxs as jsxs28 } from "react/jsx-runtime";
3079
- var Breadcrumb = React23.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx41("nav", { ref, "aria-label": "breadcrumb", ...props }));
3351
+ import { jsx as jsx43, jsxs as jsxs29 } from "react/jsx-runtime";
3352
+ var Breadcrumb = React23.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx43("nav", { ref, "aria-label": "breadcrumb", ...props }));
3080
3353
  Breadcrumb.displayName = "Breadcrumb";
3081
3354
  var BreadcrumbList = React23.forwardRef(
3082
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
3355
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx43(
3083
3356
  "ol",
3084
3357
  {
3085
3358
  ref,
@@ -3093,16 +3366,16 @@ var BreadcrumbList = React23.forwardRef(
3093
3366
  );
3094
3367
  BreadcrumbList.displayName = "BreadcrumbList";
3095
3368
  var BreadcrumbItem = React23.forwardRef(
3096
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx41("li", { ref, className: cn("inline-flex items-center gap-1.5", className), ...props })
3369
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx43("li", { ref, className: cn("inline-flex items-center gap-1.5", className), ...props })
3097
3370
  );
3098
3371
  BreadcrumbItem.displayName = "BreadcrumbItem";
3099
3372
  var BreadcrumbLink = React23.forwardRef(({ asChild, className, ...props }, ref) => {
3100
3373
  const Comp = asChild ? Slot2 : "a";
3101
- return /* @__PURE__ */ jsx41(Comp, { ref, className: cn("transition-colors hover:text-foreground", className), ...props });
3374
+ return /* @__PURE__ */ jsx43(Comp, { ref, className: cn("transition-colors hover:text-foreground", className), ...props });
3102
3375
  });
3103
3376
  BreadcrumbLink.displayName = "BreadcrumbLink";
3104
3377
  var BreadcrumbPage = React23.forwardRef(
3105
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
3378
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx43(
3106
3379
  "span",
3107
3380
  {
3108
3381
  ref,
@@ -3115,9 +3388,9 @@ var BreadcrumbPage = React23.forwardRef(
3115
3388
  )
3116
3389
  );
3117
3390
  BreadcrumbPage.displayName = "BreadcrumbPage";
3118
- var BreadcrumbSeparator = ({ children, className, ...props }) => /* @__PURE__ */ jsx41("li", { role: "presentation", "aria-hidden": "true", className: cn("[&>svg]:size-3.5", className), ...props, children: children != null ? children : /* @__PURE__ */ jsx41(ChevronRight, {}) });
3391
+ var BreadcrumbSeparator = ({ children, className, ...props }) => /* @__PURE__ */ jsx43("li", { role: "presentation", "aria-hidden": "true", className: cn("[&>svg]:size-3.5", className), ...props, children: children != null ? children : /* @__PURE__ */ jsx43(ChevronRight, {}) });
3119
3392
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
3120
- var BreadcrumbEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs28(
3393
+ var BreadcrumbEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs29(
3121
3394
  "span",
3122
3395
  {
3123
3396
  role: "presentation",
@@ -3125,8 +3398,8 @@ var BreadcrumbEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs28(
3125
3398
  className: cn("flex h-9 w-9 items-center justify-center", className),
3126
3399
  ...props,
3127
3400
  children: [
3128
- /* @__PURE__ */ jsx41(MoreHorizontal, { className: "h-4 w-4" }),
3129
- /* @__PURE__ */ jsx41("span", { className: "sr-only", children: "More" })
3401
+ /* @__PURE__ */ jsx43(MoreHorizontal, { className: "h-4 w-4" }),
3402
+ /* @__PURE__ */ jsx43("span", { className: "sr-only", children: "More" })
3130
3403
  ]
3131
3404
  }
3132
3405
  );
@@ -3135,9 +3408,9 @@ BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
3135
3408
  // src/components/ui/calendar.tsx
3136
3409
  import { ChevronLeft, ChevronRight as ChevronRight2 } from "lucide-react";
3137
3410
  import { DayPicker } from "react-day-picker";
3138
- import { jsx as jsx42 } from "react/jsx-runtime";
3411
+ import { jsx as jsx44 } from "react/jsx-runtime";
3139
3412
  function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
3140
- return /* @__PURE__ */ jsx42(
3413
+ return /* @__PURE__ */ jsx44(
3141
3414
  DayPicker,
3142
3415
  {
3143
3416
  showOutsideDays,
@@ -3170,8 +3443,12 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
3170
3443
  ...classNames
3171
3444
  },
3172
3445
  components: {
3173
- IconLeft: ({ ..._props }) => /* @__PURE__ */ jsx42(ChevronLeft, { className: "h-4 w-4" }),
3174
- IconRight: ({ ..._props }) => /* @__PURE__ */ jsx42(ChevronRight2, { className: "h-4 w-4" })
3446
+ Chevron: ({ orientation, className: className2, ...chevronProps }) => {
3447
+ if (orientation === "left") {
3448
+ return /* @__PURE__ */ jsx44(ChevronLeft, { className: cn("h-4 w-4", className2), ...chevronProps });
3449
+ }
3450
+ return /* @__PURE__ */ jsx44(ChevronRight2, { className: cn("h-4 w-4", className2), ...chevronProps });
3451
+ }
3175
3452
  },
3176
3453
  ...props
3177
3454
  }
@@ -3181,27 +3458,27 @@ Calendar.displayName = "Calendar";
3181
3458
 
3182
3459
  // src/components/ui/card.tsx
3183
3460
  import * as React24 from "react";
3184
- import { jsx as jsx43 } from "react/jsx-runtime";
3185
- var Card = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx43("div", { ref, className: cn("rounded-lg border bg-card text-card-foreground shadow-sm", className), ...props }));
3461
+ import { jsx as jsx45 } from "react/jsx-runtime";
3462
+ var Card = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx45("div", { ref, className: cn("rounded-lg border bg-card text-card-foreground shadow-sm", className), ...props }));
3186
3463
  Card.displayName = "Card";
3187
3464
  var CardHeader = React24.forwardRef(
3188
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx43("div", { ref, className: cn("flex flex-col space-y-1.5 p-6", className), ...props })
3465
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx45("div", { ref, className: cn("flex flex-col space-y-1.5 p-6", className), ...props })
3189
3466
  );
3190
3467
  CardHeader.displayName = "CardHeader";
3191
3468
  var CardTitle = React24.forwardRef(
3192
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx43("h3", { ref, className: cn("text-2xl font-semibold leading-none tracking-tight", className), ...props })
3469
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx45("h3", { ref, className: cn("text-2xl font-semibold leading-none tracking-tight", className), ...props })
3193
3470
  );
3194
3471
  CardTitle.displayName = "CardTitle";
3195
3472
  var CardDescription = React24.forwardRef(
3196
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx43("p", { ref, className: cn("text-sm text-muted-foreground", className), ...props })
3473
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx45("p", { ref, className: cn("text-sm text-muted-foreground", className), ...props })
3197
3474
  );
3198
3475
  CardDescription.displayName = "CardDescription";
3199
3476
  var CardContent = React24.forwardRef(
3200
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx43("div", { ref, className: cn("p-6 pt-0", className), ...props })
3477
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx45("div", { ref, className: cn("p-6 pt-0", className), ...props })
3201
3478
  );
3202
3479
  CardContent.displayName = "CardContent";
3203
3480
  var CardFooter = React24.forwardRef(
3204
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx43("div", { ref, className: cn("flex items-center p-6 pt-0", className), ...props })
3481
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx45("div", { ref, className: cn("flex items-center p-6 pt-0", className), ...props })
3205
3482
  );
3206
3483
  CardFooter.displayName = "CardFooter";
3207
3484
 
@@ -3209,7 +3486,7 @@ CardFooter.displayName = "CardFooter";
3209
3486
  import * as React25 from "react";
3210
3487
  import useEmblaCarousel from "embla-carousel-react";
3211
3488
  import { ArrowLeft, ArrowRight } from "lucide-react";
3212
- import { jsx as jsx44, jsxs as jsxs29 } from "react/jsx-runtime";
3489
+ import { jsx as jsx46, jsxs as jsxs30 } from "react/jsx-runtime";
3213
3490
  var CarouselContext = React25.createContext(null);
3214
3491
  function useCarousel() {
3215
3492
  const context = React25.useContext(CarouselContext);
@@ -3271,7 +3548,7 @@ var Carousel = React25.forwardRef(
3271
3548
  api == null ? void 0 : api.off("select", onSelect);
3272
3549
  };
3273
3550
  }, [api, onSelect]);
3274
- return /* @__PURE__ */ jsx44(
3551
+ return /* @__PURE__ */ jsx46(
3275
3552
  CarouselContext.Provider,
3276
3553
  {
3277
3554
  value: {
@@ -3284,7 +3561,7 @@ var Carousel = React25.forwardRef(
3284
3561
  canScrollPrev,
3285
3562
  canScrollNext
3286
3563
  },
3287
- children: /* @__PURE__ */ jsx44(
3564
+ children: /* @__PURE__ */ jsx46(
3288
3565
  "div",
3289
3566
  {
3290
3567
  ref,
@@ -3304,7 +3581,7 @@ Carousel.displayName = "Carousel";
3304
3581
  var CarouselContent = React25.forwardRef(
3305
3582
  ({ className, ...props }, ref) => {
3306
3583
  const { carouselRef, orientation } = useCarousel();
3307
- return /* @__PURE__ */ jsx44("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsx44(
3584
+ return /* @__PURE__ */ jsx46("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsx46(
3308
3585
  "div",
3309
3586
  {
3310
3587
  ref,
@@ -3318,7 +3595,7 @@ CarouselContent.displayName = "CarouselContent";
3318
3595
  var CarouselItem = React25.forwardRef(
3319
3596
  ({ className, ...props }, ref) => {
3320
3597
  const { orientation } = useCarousel();
3321
- return /* @__PURE__ */ jsx44(
3598
+ return /* @__PURE__ */ jsx46(
3322
3599
  "div",
3323
3600
  {
3324
3601
  ref,
@@ -3334,7 +3611,7 @@ CarouselItem.displayName = "CarouselItem";
3334
3611
  var CarouselPrevious = React25.forwardRef(
3335
3612
  ({ className, variant = "outline", size = "icon", ...props }, ref) => {
3336
3613
  const { orientation, scrollPrev, canScrollPrev } = useCarousel();
3337
- return /* @__PURE__ */ jsxs29(
3614
+ return /* @__PURE__ */ jsxs30(
3338
3615
  Button,
3339
3616
  {
3340
3617
  ref,
@@ -3349,8 +3626,8 @@ var CarouselPrevious = React25.forwardRef(
3349
3626
  onClick: scrollPrev,
3350
3627
  ...props,
3351
3628
  children: [
3352
- /* @__PURE__ */ jsx44(ArrowLeft, { className: "h-4 w-4" }),
3353
- /* @__PURE__ */ jsx44("span", { className: "sr-only", children: "Previous slide" })
3629
+ /* @__PURE__ */ jsx46(ArrowLeft, { className: "h-4 w-4" }),
3630
+ /* @__PURE__ */ jsx46("span", { className: "sr-only", children: "Previous slide" })
3354
3631
  ]
3355
3632
  }
3356
3633
  );
@@ -3360,7 +3637,7 @@ CarouselPrevious.displayName = "CarouselPrevious";
3360
3637
  var CarouselNext = React25.forwardRef(
3361
3638
  ({ className, variant = "outline", size = "icon", ...props }, ref) => {
3362
3639
  const { orientation, scrollNext, canScrollNext } = useCarousel();
3363
- return /* @__PURE__ */ jsxs29(
3640
+ return /* @__PURE__ */ jsxs30(
3364
3641
  Button,
3365
3642
  {
3366
3643
  ref,
@@ -3375,8 +3652,8 @@ var CarouselNext = React25.forwardRef(
3375
3652
  onClick: scrollNext,
3376
3653
  ...props,
3377
3654
  children: [
3378
- /* @__PURE__ */ jsx44(ArrowRight, { className: "h-4 w-4" }),
3379
- /* @__PURE__ */ jsx44("span", { className: "sr-only", children: "Next slide" })
3655
+ /* @__PURE__ */ jsx46(ArrowRight, { className: "h-4 w-4" }),
3656
+ /* @__PURE__ */ jsx46("span", { className: "sr-only", children: "Next slide" })
3380
3657
  ]
3381
3658
  }
3382
3659
  );
@@ -3387,7 +3664,7 @@ CarouselNext.displayName = "CarouselNext";
3387
3664
  // src/components/ui/chart.tsx
3388
3665
  import * as React26 from "react";
3389
3666
  import * as RechartsPrimitive from "recharts";
3390
- import { Fragment as Fragment2, jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
3667
+ import { Fragment as Fragment2, jsx as jsx47, jsxs as jsxs31 } from "react/jsx-runtime";
3391
3668
  var THEMES = { light: "", dark: ".dark" };
3392
3669
  var ChartContext = React26.createContext(null);
3393
3670
  function useChart() {
@@ -3400,7 +3677,7 @@ function useChart() {
3400
3677
  var ChartContainer = React26.forwardRef(({ id, className, children, config, ...props }, ref) => {
3401
3678
  const uniqueId = React26.useId();
3402
3679
  const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
3403
- return /* @__PURE__ */ jsx45(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ jsxs30(
3680
+ return /* @__PURE__ */ jsx47(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ jsxs31(
3404
3681
  "div",
3405
3682
  {
3406
3683
  "data-chart": chartId,
@@ -3411,8 +3688,8 @@ var ChartContainer = React26.forwardRef(({ id, className, children, config, ...p
3411
3688
  ),
3412
3689
  ...props,
3413
3690
  children: [
3414
- /* @__PURE__ */ jsx45(ChartStyle, { id: chartId, config }),
3415
- /* @__PURE__ */ jsx45(RechartsPrimitive.ResponsiveContainer, { children })
3691
+ /* @__PURE__ */ jsx47(ChartStyle, { id: chartId, config }),
3692
+ /* @__PURE__ */ jsx47(RechartsPrimitive.ResponsiveContainer, { children })
3416
3693
  ]
3417
3694
  }
3418
3695
  ) });
@@ -3423,7 +3700,7 @@ var ChartStyle = ({ id, config }) => {
3423
3700
  if (!colorConfig.length) {
3424
3701
  return null;
3425
3702
  }
3426
- return /* @__PURE__ */ jsx45(
3703
+ return /* @__PURE__ */ jsx47(
3427
3704
  "style",
3428
3705
  {
3429
3706
  dangerouslySetInnerHTML: {
@@ -3470,18 +3747,18 @@ var ChartTooltipContent = React26.forwardRef(
3470
3747
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
3471
3748
  const value = !labelKey && typeof label === "string" ? ((_a = config[label]) == null ? void 0 : _a.label) || label : itemConfig == null ? void 0 : itemConfig.label;
3472
3749
  if (labelFormatter) {
3473
- return /* @__PURE__ */ jsx45("div", { className: cn("font-medium", labelClassName), children: labelFormatter(value, payload) });
3750
+ return /* @__PURE__ */ jsx47("div", { className: cn("font-medium", labelClassName), children: labelFormatter(value, payload) });
3474
3751
  }
3475
3752
  if (!value) {
3476
3753
  return null;
3477
3754
  }
3478
- return /* @__PURE__ */ jsx45("div", { className: cn("font-medium", labelClassName), children: value });
3755
+ return /* @__PURE__ */ jsx47("div", { className: cn("font-medium", labelClassName), children: value });
3479
3756
  }, [label, labelFormatter, payload, hideLabel, labelClassName, config, labelKey]);
3480
3757
  if (!active || !(payload == null ? void 0 : payload.length)) {
3481
3758
  return null;
3482
3759
  }
3483
3760
  const nestLabel = payload.length === 1 && indicator !== "dot";
3484
- return /* @__PURE__ */ jsxs30(
3761
+ return /* @__PURE__ */ jsxs31(
3485
3762
  "div",
3486
3763
  {
3487
3764
  ref,
@@ -3491,19 +3768,19 @@ var ChartTooltipContent = React26.forwardRef(
3491
3768
  ),
3492
3769
  children: [
3493
3770
  !nestLabel ? tooltipLabel : null,
3494
- /* @__PURE__ */ jsx45("div", { className: "grid gap-1.5", children: payload.map((item, index) => {
3771
+ /* @__PURE__ */ jsx47("div", { className: "grid gap-1.5", children: payload.map((item, index) => {
3495
3772
  const key = `${nameKey || item.name || item.dataKey || "value"}`;
3496
3773
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
3497
3774
  const indicatorColor = color || item.payload.fill || item.color;
3498
- return /* @__PURE__ */ jsx45(
3775
+ return /* @__PURE__ */ jsx47(
3499
3776
  "div",
3500
3777
  {
3501
3778
  className: cn(
3502
3779
  "flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",
3503
3780
  indicator === "dot" && "items-center"
3504
3781
  ),
3505
- children: formatter && (item == null ? void 0 : item.value) !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ jsxs30(Fragment2, { children: [
3506
- (itemConfig == null ? void 0 : itemConfig.icon) ? /* @__PURE__ */ jsx45(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ jsx45(
3782
+ children: formatter && (item == null ? void 0 : item.value) !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ jsxs31(Fragment2, { children: [
3783
+ (itemConfig == null ? void 0 : itemConfig.icon) ? /* @__PURE__ */ jsx47(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ jsx47(
3507
3784
  "div",
3508
3785
  {
3509
3786
  className: cn("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]", {
@@ -3518,7 +3795,7 @@ var ChartTooltipContent = React26.forwardRef(
3518
3795
  }
3519
3796
  }
3520
3797
  ),
3521
- /* @__PURE__ */ jsxs30(
3798
+ /* @__PURE__ */ jsxs31(
3522
3799
  "div",
3523
3800
  {
3524
3801
  className: cn(
@@ -3526,11 +3803,11 @@ var ChartTooltipContent = React26.forwardRef(
3526
3803
  nestLabel ? "items-end" : "items-center"
3527
3804
  ),
3528
3805
  children: [
3529
- /* @__PURE__ */ jsxs30("div", { className: "grid gap-1.5", children: [
3806
+ /* @__PURE__ */ jsxs31("div", { className: "grid gap-1.5", children: [
3530
3807
  nestLabel ? tooltipLabel : null,
3531
- /* @__PURE__ */ jsx45("span", { className: "text-muted-foreground", children: (itemConfig == null ? void 0 : itemConfig.label) || item.name })
3808
+ /* @__PURE__ */ jsx47("span", { className: "text-muted-foreground", children: (itemConfig == null ? void 0 : itemConfig.label) || item.name })
3532
3809
  ] }),
3533
- item.value && /* @__PURE__ */ jsx45("span", { className: "font-mono font-medium tabular-nums text-foreground", children: item.value.toLocaleString() })
3810
+ item.value && /* @__PURE__ */ jsx47("span", { className: "font-mono font-medium tabular-nums text-foreground", children: item.value.toLocaleString() })
3534
3811
  ]
3535
3812
  }
3536
3813
  )
@@ -3551,7 +3828,7 @@ var ChartLegendContent = React26.forwardRef(({ className, hideIcon = false, payl
3551
3828
  if (!(payload == null ? void 0 : payload.length)) {
3552
3829
  return null;
3553
3830
  }
3554
- return /* @__PURE__ */ jsx45(
3831
+ return /* @__PURE__ */ jsx47(
3555
3832
  "div",
3556
3833
  {
3557
3834
  ref,
@@ -3559,12 +3836,12 @@ var ChartLegendContent = React26.forwardRef(({ className, hideIcon = false, payl
3559
3836
  children: payload.map((item) => {
3560
3837
  const key = `${nameKey || item.dataKey || "value"}`;
3561
3838
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
3562
- return /* @__PURE__ */ jsxs30(
3839
+ return /* @__PURE__ */ jsxs31(
3563
3840
  "div",
3564
3841
  {
3565
3842
  className: cn("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),
3566
3843
  children: [
3567
- (itemConfig == null ? void 0 : itemConfig.icon) && !hideIcon ? /* @__PURE__ */ jsx45(itemConfig.icon, {}) : /* @__PURE__ */ jsx45(
3844
+ (itemConfig == null ? void 0 : itemConfig.icon) && !hideIcon ? /* @__PURE__ */ jsx47(itemConfig.icon, {}) : /* @__PURE__ */ jsx47(
3568
3845
  "div",
3569
3846
  {
3570
3847
  className: "h-2 w-2 shrink-0 rounded-[2px]",
@@ -3601,8 +3878,8 @@ function getPayloadConfigFromPayload(config, payload, key) {
3601
3878
  import * as React27 from "react";
3602
3879
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3603
3880
  import { Check as Check3 } from "lucide-react";
3604
- import { jsx as jsx46 } from "react/jsx-runtime";
3605
- var Checkbox = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx46(
3881
+ import { jsx as jsx48 } from "react/jsx-runtime";
3882
+ var Checkbox = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
3606
3883
  CheckboxPrimitive.Root,
3607
3884
  {
3608
3885
  ref,
@@ -3611,7 +3888,7 @@ var Checkbox = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3611
3888
  className
3612
3889
  ),
3613
3890
  ...props,
3614
- children: /* @__PURE__ */ jsx46(CheckboxPrimitive.Indicator, { className: cn("flex items-center justify-center text-current"), children: /* @__PURE__ */ jsx46(Check3, { className: "h-4 w-4" }) })
3891
+ children: /* @__PURE__ */ jsx48(CheckboxPrimitive.Indicator, { className: cn("flex items-center justify-center text-current"), children: /* @__PURE__ */ jsx48(Check3, { className: "h-4 w-4" }) })
3615
3892
  }
3616
3893
  ));
3617
3894
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
@@ -3631,12 +3908,12 @@ import { Search } from "lucide-react";
3631
3908
  import * as React28 from "react";
3632
3909
  import * as DialogPrimitive2 from "@radix-ui/react-dialog";
3633
3910
  import { X as X5 } from "lucide-react";
3634
- import { jsx as jsx47, jsxs as jsxs31 } from "react/jsx-runtime";
3911
+ import { jsx as jsx49, jsxs as jsxs32 } from "react/jsx-runtime";
3635
3912
  var Dialog = DialogPrimitive2.Root;
3636
3913
  var DialogTrigger = DialogPrimitive2.Trigger;
3637
3914
  var DialogPortal = DialogPrimitive2.Portal;
3638
3915
  var DialogClose = DialogPrimitive2.Close;
3639
- var DialogOverlay = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx47(
3916
+ var DialogOverlay = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
3640
3917
  DialogPrimitive2.Overlay,
3641
3918
  {
3642
3919
  ref,
@@ -3648,9 +3925,9 @@ var DialogOverlay = React28.forwardRef(({ className, ...props }, ref) => /* @__P
3648
3925
  }
3649
3926
  ));
3650
3927
  DialogOverlay.displayName = DialogPrimitive2.Overlay.displayName;
3651
- var DialogContent = React28.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs31(DialogPortal, { children: [
3652
- /* @__PURE__ */ jsx47(DialogOverlay, {}),
3653
- /* @__PURE__ */ jsxs31(
3928
+ var DialogContent = React28.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs32(DialogPortal, { children: [
3929
+ /* @__PURE__ */ jsx49(DialogOverlay, {}),
3930
+ /* @__PURE__ */ jsxs32(
3654
3931
  DialogPrimitive2.Content,
3655
3932
  {
3656
3933
  ref,
@@ -3661,20 +3938,20 @@ var DialogContent = React28.forwardRef(({ className, children, ...props }, ref)
3661
3938
  ...props,
3662
3939
  children: [
3663
3940
  children,
3664
- /* @__PURE__ */ jsxs31(DialogPrimitive2.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none", children: [
3665
- /* @__PURE__ */ jsx47(X5, { className: "h-4 w-4" }),
3666
- /* @__PURE__ */ jsx47("span", { className: "sr-only", children: "Close" })
3941
+ /* @__PURE__ */ jsxs32(DialogPrimitive2.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none", children: [
3942
+ /* @__PURE__ */ jsx49(X5, { className: "h-4 w-4" }),
3943
+ /* @__PURE__ */ jsx49("span", { className: "sr-only", children: "Close" })
3667
3944
  ] })
3668
3945
  ]
3669
3946
  }
3670
3947
  )
3671
3948
  ] }));
3672
3949
  DialogContent.displayName = DialogPrimitive2.Content.displayName;
3673
- var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx47("div", { className: cn("flex flex-col space-y-1.5 text-center sm:text-left", className), ...props });
3950
+ var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx49("div", { className: cn("flex flex-col space-y-1.5 text-center sm:text-left", className), ...props });
3674
3951
  DialogHeader.displayName = "DialogHeader";
3675
- var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx47("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
3952
+ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx49("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
3676
3953
  DialogFooter.displayName = "DialogFooter";
3677
- var DialogTitle = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx47(
3954
+ var DialogTitle = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
3678
3955
  DialogPrimitive2.Title,
3679
3956
  {
3680
3957
  ref,
@@ -3683,12 +3960,12 @@ var DialogTitle = React28.forwardRef(({ className, ...props }, ref) => /* @__PUR
3683
3960
  }
3684
3961
  ));
3685
3962
  DialogTitle.displayName = DialogPrimitive2.Title.displayName;
3686
- var DialogDescription = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx47(DialogPrimitive2.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
3963
+ var DialogDescription = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(DialogPrimitive2.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
3687
3964
  DialogDescription.displayName = DialogPrimitive2.Description.displayName;
3688
3965
 
3689
3966
  // src/components/ui/command.tsx
3690
- import { jsx as jsx48, jsxs as jsxs32 } from "react/jsx-runtime";
3691
- var Command = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
3967
+ import { jsx as jsx50, jsxs as jsxs33 } from "react/jsx-runtime";
3968
+ var Command = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx50(
3692
3969
  CommandPrimitive,
3693
3970
  {
3694
3971
  ref,
@@ -3701,11 +3978,11 @@ var Command = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3701
3978
  ));
3702
3979
  Command.displayName = CommandPrimitive.displayName;
3703
3980
  var CommandDialog = ({ children, ...props }) => {
3704
- return /* @__PURE__ */ jsx48(Dialog, { ...props, children: /* @__PURE__ */ jsx48(DialogContent, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ jsx48(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[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 }) }) });
3981
+ return /* @__PURE__ */ jsx50(Dialog, { ...props, children: /* @__PURE__ */ jsx50(DialogContent, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ jsx50(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[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 }) }) });
3705
3982
  };
3706
- var CommandInput = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs32("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
3707
- /* @__PURE__ */ jsx48(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
3708
- /* @__PURE__ */ jsx48(
3983
+ var CommandInput = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs33("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
3984
+ /* @__PURE__ */ jsx50(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
3985
+ /* @__PURE__ */ jsx50(
3709
3986
  CommandPrimitive.Input,
3710
3987
  {
3711
3988
  ref,
@@ -3718,7 +3995,7 @@ var CommandInput = React29.forwardRef(({ className, ...props }, ref) => /* @__PU
3718
3995
  )
3719
3996
  ] }));
3720
3997
  CommandInput.displayName = CommandPrimitive.Input.displayName;
3721
- var CommandList = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
3998
+ var CommandList = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx50(
3722
3999
  CommandPrimitive.List,
3723
4000
  {
3724
4001
  ref,
@@ -3727,9 +4004,9 @@ var CommandList = React29.forwardRef(({ className, ...props }, ref) => /* @__PUR
3727
4004
  }
3728
4005
  ));
3729
4006
  CommandList.displayName = CommandPrimitive.List.displayName;
3730
- var CommandEmpty = React29.forwardRef((props, ref) => /* @__PURE__ */ jsx48(CommandPrimitive.Empty, { ref, className: "py-6 text-center text-sm", ...props }));
4007
+ var CommandEmpty = React29.forwardRef((props, ref) => /* @__PURE__ */ jsx50(CommandPrimitive.Empty, { ref, className: "py-6 text-center text-sm", ...props }));
3731
4008
  CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
3732
- var CommandGroup = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
4009
+ var CommandGroup = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx50(
3733
4010
  CommandPrimitive.Group,
3734
4011
  {
3735
4012
  ref,
@@ -3741,9 +4018,9 @@ var CommandGroup = React29.forwardRef(({ className, ...props }, ref) => /* @__PU
3741
4018
  }
3742
4019
  ));
3743
4020
  CommandGroup.displayName = CommandPrimitive.Group.displayName;
3744
- var CommandSeparator = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(CommandPrimitive.Separator, { ref, className: cn("-mx-1 h-px bg-border", className), ...props }));
4021
+ var CommandSeparator = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx50(CommandPrimitive.Separator, { ref, className: cn("-mx-1 h-px bg-border", className), ...props }));
3745
4022
  CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
3746
- var CommandItem = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
4023
+ var CommandItem = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx50(
3747
4024
  CommandPrimitive.Item,
3748
4025
  {
3749
4026
  ref,
@@ -3756,7 +4033,7 @@ var CommandItem = React29.forwardRef(({ className, ...props }, ref) => /* @__PUR
3756
4033
  ));
3757
4034
  CommandItem.displayName = CommandPrimitive.Item.displayName;
3758
4035
  var CommandShortcut = ({ className, ...props }) => {
3759
- return /* @__PURE__ */ jsx48("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
4036
+ return /* @__PURE__ */ jsx50("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
3760
4037
  };
3761
4038
  CommandShortcut.displayName = "CommandShortcut";
3762
4039
 
@@ -3764,14 +4041,14 @@ CommandShortcut.displayName = "CommandShortcut";
3764
4041
  import * as React30 from "react";
3765
4042
  import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
3766
4043
  import { Check as Check4, ChevronRight as ChevronRight3, Circle } from "lucide-react";
3767
- import { jsx as jsx49, jsxs as jsxs33 } from "react/jsx-runtime";
4044
+ import { jsx as jsx51, jsxs as jsxs34 } from "react/jsx-runtime";
3768
4045
  var ContextMenu = ContextMenuPrimitive.Root;
3769
4046
  var ContextMenuTrigger = ContextMenuPrimitive.Trigger;
3770
4047
  var ContextMenuGroup = ContextMenuPrimitive.Group;
3771
4048
  var ContextMenuPortal = ContextMenuPrimitive.Portal;
3772
4049
  var ContextMenuSub = ContextMenuPrimitive.Sub;
3773
4050
  var ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;
3774
- var ContextMenuSubTrigger = React30.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs33(
4051
+ var ContextMenuSubTrigger = React30.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs34(
3775
4052
  ContextMenuPrimitive.SubTrigger,
3776
4053
  {
3777
4054
  ref,
@@ -3783,12 +4060,12 @@ var ContextMenuSubTrigger = React30.forwardRef(({ className, inset, children, ..
3783
4060
  ...props,
3784
4061
  children: [
3785
4062
  children,
3786
- /* @__PURE__ */ jsx49(ChevronRight3, { className: "ml-auto h-4 w-4" })
4063
+ /* @__PURE__ */ jsx51(ChevronRight3, { className: "ml-auto h-4 w-4" })
3787
4064
  ]
3788
4065
  }
3789
4066
  ));
3790
4067
  ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;
3791
- var ContextMenuSubContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
4068
+ var ContextMenuSubContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx51(
3792
4069
  ContextMenuPrimitive.SubContent,
3793
4070
  {
3794
4071
  ref,
@@ -3800,7 +4077,7 @@ var ContextMenuSubContent = React30.forwardRef(({ className, ...props }, ref) =>
3800
4077
  }
3801
4078
  ));
3802
4079
  ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;
3803
- var ContextMenuContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx49(
4080
+ var ContextMenuContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx51(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx51(
3804
4081
  ContextMenuPrimitive.Content,
3805
4082
  {
3806
4083
  ref,
@@ -3812,7 +4089,7 @@ var ContextMenuContent = React30.forwardRef(({ className, ...props }, ref) => /*
3812
4089
  }
3813
4090
  ) }));
3814
4091
  ContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;
3815
- var ContextMenuItem = React30.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx49(
4092
+ var ContextMenuItem = React30.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx51(
3816
4093
  ContextMenuPrimitive.Item,
3817
4094
  {
3818
4095
  ref,
@@ -3825,7 +4102,7 @@ var ContextMenuItem = React30.forwardRef(({ className, inset, ...props }, ref) =
3825
4102
  }
3826
4103
  ));
3827
4104
  ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;
3828
- var ContextMenuCheckboxItem = React30.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs33(
4105
+ var ContextMenuCheckboxItem = React30.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs34(
3829
4106
  ContextMenuPrimitive.CheckboxItem,
3830
4107
  {
3831
4108
  ref,
@@ -3836,13 +4113,13 @@ var ContextMenuCheckboxItem = React30.forwardRef(({ className, children, checked
3836
4113
  checked,
3837
4114
  ...props,
3838
4115
  children: [
3839
- /* @__PURE__ */ jsx49("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx49(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx49(Check4, { className: "h-4 w-4" }) }) }),
4116
+ /* @__PURE__ */ jsx51("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx51(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx51(Check4, { className: "h-4 w-4" }) }) }),
3840
4117
  children
3841
4118
  ]
3842
4119
  }
3843
4120
  ));
3844
4121
  ContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;
3845
- var ContextMenuRadioItem = React30.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs33(
4122
+ var ContextMenuRadioItem = React30.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs34(
3846
4123
  ContextMenuPrimitive.RadioItem,
3847
4124
  {
3848
4125
  ref,
@@ -3852,13 +4129,13 @@ var ContextMenuRadioItem = React30.forwardRef(({ className, children, ...props }
3852
4129
  ),
3853
4130
  ...props,
3854
4131
  children: [
3855
- /* @__PURE__ */ jsx49("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx49(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx49(Circle, { className: "h-2 w-2 fill-current" }) }) }),
4132
+ /* @__PURE__ */ jsx51("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx51(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx51(Circle, { className: "h-2 w-2 fill-current" }) }) }),
3856
4133
  children
3857
4134
  ]
3858
4135
  }
3859
4136
  ));
3860
4137
  ContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;
3861
- var ContextMenuLabel = React30.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx49(
4138
+ var ContextMenuLabel = React30.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx51(
3862
4139
  ContextMenuPrimitive.Label,
3863
4140
  {
3864
4141
  ref,
@@ -3867,27 +4144,27 @@ var ContextMenuLabel = React30.forwardRef(({ className, inset, ...props }, ref)
3867
4144
  }
3868
4145
  ));
3869
4146
  ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;
3870
- var ContextMenuSeparator = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(ContextMenuPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-border", className), ...props }));
4147
+ var ContextMenuSeparator = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx51(ContextMenuPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-border", className), ...props }));
3871
4148
  ContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;
3872
4149
  var ContextMenuShortcut = ({ className, ...props }) => {
3873
- return /* @__PURE__ */ jsx49("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
4150
+ return /* @__PURE__ */ jsx51("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
3874
4151
  };
3875
4152
  ContextMenuShortcut.displayName = "ContextMenuShortcut";
3876
4153
 
3877
4154
  // src/components/ui/drawer.tsx
3878
4155
  import * as React31 from "react";
3879
4156
  import { Drawer as DrawerPrimitive } from "vaul";
3880
- import { jsx as jsx50, jsxs as jsxs34 } from "react/jsx-runtime";
3881
- var Drawer = ({ shouldScaleBackground = true, ...props }) => /* @__PURE__ */ jsx50(DrawerPrimitive.Root, { shouldScaleBackground, ...props });
4157
+ import { jsx as jsx52, jsxs as jsxs35 } from "react/jsx-runtime";
4158
+ var Drawer = ({ shouldScaleBackground = true, ...props }) => /* @__PURE__ */ jsx52(DrawerPrimitive.Root, { shouldScaleBackground, ...props });
3882
4159
  Drawer.displayName = "Drawer";
3883
4160
  var DrawerTrigger = DrawerPrimitive.Trigger;
3884
4161
  var DrawerPortal = DrawerPrimitive.Portal;
3885
4162
  var DrawerClose = DrawerPrimitive.Close;
3886
- var DrawerOverlay = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx50(DrawerPrimitive.Overlay, { ref, className: cn("fixed inset-0 z-50 bg-black/80", className), ...props }));
4163
+ var DrawerOverlay = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx52(DrawerPrimitive.Overlay, { ref, className: cn("fixed inset-0 z-50 bg-black/80", className), ...props }));
3887
4164
  DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName;
3888
- var DrawerContent = React31.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs34(DrawerPortal, { children: [
3889
- /* @__PURE__ */ jsx50(DrawerOverlay, {}),
3890
- /* @__PURE__ */ jsxs34(
4165
+ var DrawerContent = React31.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs35(DrawerPortal, { children: [
4166
+ /* @__PURE__ */ jsx52(DrawerOverlay, {}),
4167
+ /* @__PURE__ */ jsxs35(
3891
4168
  DrawerPrimitive.Content,
3892
4169
  {
3893
4170
  ref,
@@ -3897,18 +4174,18 @@ var DrawerContent = React31.forwardRef(({ className, children, ...props }, ref)
3897
4174
  ),
3898
4175
  ...props,
3899
4176
  children: [
3900
- /* @__PURE__ */ jsx50("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
4177
+ /* @__PURE__ */ jsx52("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
3901
4178
  children
3902
4179
  ]
3903
4180
  }
3904
4181
  )
3905
4182
  ] }));
3906
4183
  DrawerContent.displayName = "DrawerContent";
3907
- var DrawerHeader = ({ className, ...props }) => /* @__PURE__ */ jsx50("div", { className: cn("grid gap-1.5 p-4 text-center sm:text-left", className), ...props });
4184
+ var DrawerHeader = ({ className, ...props }) => /* @__PURE__ */ jsx52("div", { className: cn("grid gap-1.5 p-4 text-center sm:text-left", className), ...props });
3908
4185
  DrawerHeader.displayName = "DrawerHeader";
3909
- var DrawerFooter = ({ className, ...props }) => /* @__PURE__ */ jsx50("div", { className: cn("mt-auto flex flex-col gap-2 p-4", className), ...props });
4186
+ var DrawerFooter = ({ className, ...props }) => /* @__PURE__ */ jsx52("div", { className: cn("mt-auto flex flex-col gap-2 p-4", className), ...props });
3910
4187
  DrawerFooter.displayName = "DrawerFooter";
3911
- var DrawerTitle = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx50(
4188
+ var DrawerTitle = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx52(
3912
4189
  DrawerPrimitive.Title,
3913
4190
  {
3914
4191
  ref,
@@ -3917,21 +4194,21 @@ var DrawerTitle = React31.forwardRef(({ className, ...props }, ref) => /* @__PUR
3917
4194
  }
3918
4195
  ));
3919
4196
  DrawerTitle.displayName = DrawerPrimitive.Title.displayName;
3920
- var DrawerDescription = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx50(DrawerPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
4197
+ var DrawerDescription = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx52(DrawerPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
3921
4198
  DrawerDescription.displayName = DrawerPrimitive.Description.displayName;
3922
4199
 
3923
4200
  // src/components/ui/dropdown-menu.tsx
3924
4201
  import * as React32 from "react";
3925
4202
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
3926
4203
  import { Check as Check5, ChevronRight as ChevronRight4, Circle as Circle2 } from "lucide-react";
3927
- import { jsx as jsx51, jsxs as jsxs35 } from "react/jsx-runtime";
4204
+ import { jsx as jsx53, jsxs as jsxs36 } from "react/jsx-runtime";
3928
4205
  var DropdownMenu = DropdownMenuPrimitive.Root;
3929
4206
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
3930
4207
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
3931
4208
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
3932
4209
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
3933
4210
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
3934
- var DropdownMenuSubTrigger = React32.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs35(
4211
+ var DropdownMenuSubTrigger = React32.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs36(
3935
4212
  DropdownMenuPrimitive.SubTrigger,
3936
4213
  {
3937
4214
  ref,
@@ -3943,12 +4220,12 @@ var DropdownMenuSubTrigger = React32.forwardRef(({ className, inset, children, .
3943
4220
  ...props,
3944
4221
  children: [
3945
4222
  children,
3946
- /* @__PURE__ */ jsx51(ChevronRight4, { className: "ml-auto h-4 w-4" })
4223
+ /* @__PURE__ */ jsx53(ChevronRight4, { className: "ml-auto h-4 w-4" })
3947
4224
  ]
3948
4225
  }
3949
4226
  ));
3950
4227
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
3951
- var DropdownMenuSubContent = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx51(
4228
+ var DropdownMenuSubContent = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx53(
3952
4229
  DropdownMenuPrimitive.SubContent,
3953
4230
  {
3954
4231
  ref,
@@ -3960,7 +4237,7 @@ var DropdownMenuSubContent = React32.forwardRef(({ className, ...props }, ref) =
3960
4237
  }
3961
4238
  ));
3962
4239
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
3963
- var DropdownMenuContent = React32.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx51(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx51(
4240
+ var DropdownMenuContent = React32.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx53(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx53(
3964
4241
  DropdownMenuPrimitive.Content,
3965
4242
  {
3966
4243
  ref,
@@ -3973,7 +4250,7 @@ var DropdownMenuContent = React32.forwardRef(({ className, sideOffset = 4, ...pr
3973
4250
  }
3974
4251
  ) }));
3975
4252
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
3976
- var DropdownMenuItem = React32.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx51(
4253
+ var DropdownMenuItem = React32.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx53(
3977
4254
  DropdownMenuPrimitive.Item,
3978
4255
  {
3979
4256
  ref,
@@ -3986,7 +4263,7 @@ var DropdownMenuItem = React32.forwardRef(({ className, inset, ...props }, ref)
3986
4263
  }
3987
4264
  ));
3988
4265
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
3989
- var DropdownMenuCheckboxItem = React32.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs35(
4266
+ var DropdownMenuCheckboxItem = React32.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs36(
3990
4267
  DropdownMenuPrimitive.CheckboxItem,
3991
4268
  {
3992
4269
  ref,
@@ -3997,13 +4274,13 @@ var DropdownMenuCheckboxItem = React32.forwardRef(({ className, children, checke
3997
4274
  checked,
3998
4275
  ...props,
3999
4276
  children: [
4000
- /* @__PURE__ */ jsx51("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx51(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx51(Check5, { className: "h-4 w-4" }) }) }),
4277
+ /* @__PURE__ */ jsx53("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx53(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx53(Check5, { className: "h-4 w-4" }) }) }),
4001
4278
  children
4002
4279
  ]
4003
4280
  }
4004
4281
  ));
4005
4282
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
4006
- var DropdownMenuRadioItem = React32.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs35(
4283
+ var DropdownMenuRadioItem = React32.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs36(
4007
4284
  DropdownMenuPrimitive.RadioItem,
4008
4285
  {
4009
4286
  ref,
@@ -4013,13 +4290,13 @@ var DropdownMenuRadioItem = React32.forwardRef(({ className, children, ...props
4013
4290
  ),
4014
4291
  ...props,
4015
4292
  children: [
4016
- /* @__PURE__ */ jsx51("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx51(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx51(Circle2, { className: "h-2 w-2 fill-current" }) }) }),
4293
+ /* @__PURE__ */ jsx53("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx53(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx53(Circle2, { className: "h-2 w-2 fill-current" }) }) }),
4017
4294
  children
4018
4295
  ]
4019
4296
  }
4020
4297
  ));
4021
4298
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
4022
- var DropdownMenuLabel = React32.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx51(
4299
+ var DropdownMenuLabel = React32.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx53(
4023
4300
  DropdownMenuPrimitive.Label,
4024
4301
  {
4025
4302
  ref,
@@ -4028,10 +4305,10 @@ var DropdownMenuLabel = React32.forwardRef(({ className, inset, ...props }, ref)
4028
4305
  }
4029
4306
  ));
4030
4307
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
4031
- var DropdownMenuSeparator = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx51(DropdownMenuPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
4308
+ var DropdownMenuSeparator = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx53(DropdownMenuPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
4032
4309
  DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
4033
4310
  var DropdownMenuShortcut = ({ className, ...props }) => {
4034
- return /* @__PURE__ */ jsx51("span", { className: cn("ml-auto text-xs tracking-widest opacity-60", className), ...props });
4311
+ return /* @__PURE__ */ jsx53("span", { className: cn("ml-auto text-xs tracking-widest opacity-60", className), ...props });
4035
4312
  };
4036
4313
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
4037
4314
 
@@ -4044,19 +4321,19 @@ import { Controller, FormProvider, useFormContext } from "react-hook-form";
4044
4321
  import * as React33 from "react";
4045
4322
  import * as LabelPrimitive from "@radix-ui/react-label";
4046
4323
  import { cva as cva4 } from "class-variance-authority";
4047
- import { jsx as jsx52 } from "react/jsx-runtime";
4324
+ import { jsx as jsx54 } from "react/jsx-runtime";
4048
4325
  var labelVariants = cva4("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
4049
- var Label3 = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx52(LabelPrimitive.Root, { ref, className: cn(labelVariants(), className), ...props }));
4326
+ var Label3 = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx54(LabelPrimitive.Root, { ref, className: cn(labelVariants(), className), ...props }));
4050
4327
  Label3.displayName = LabelPrimitive.Root.displayName;
4051
4328
 
4052
4329
  // src/components/ui/form.tsx
4053
- import { jsx as jsx53 } from "react/jsx-runtime";
4330
+ import { jsx as jsx55 } from "react/jsx-runtime";
4054
4331
  var Form = FormProvider;
4055
4332
  var FormFieldContext = React34.createContext({});
4056
4333
  var FormField = ({
4057
4334
  ...props
4058
4335
  }) => {
4059
- return /* @__PURE__ */ jsx53(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx53(Controller, { ...props }) });
4336
+ return /* @__PURE__ */ jsx55(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx55(Controller, { ...props }) });
4060
4337
  };
4061
4338
  var useFormField = () => {
4062
4339
  const fieldContext = React34.useContext(FormFieldContext);
@@ -4080,19 +4357,19 @@ var FormItemContext = React34.createContext({});
4080
4357
  var FormItem = React34.forwardRef(
4081
4358
  ({ className, ...props }, ref) => {
4082
4359
  const id = React34.useId();
4083
- return /* @__PURE__ */ jsx53(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx53("div", { ref, className: cn("space-y-2", className), ...props }) });
4360
+ return /* @__PURE__ */ jsx55(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx55("div", { ref, className: cn("space-y-2", className), ...props }) });
4084
4361
  }
4085
4362
  );
4086
4363
  FormItem.displayName = "FormItem";
4087
4364
  var FormLabel = React34.forwardRef(({ className, ...props }, ref) => {
4088
4365
  const { error, formItemId } = useFormField();
4089
- return /* @__PURE__ */ jsx53(Label3, { ref, className: cn(error && "text-destructive", className), htmlFor: formItemId, ...props });
4366
+ return /* @__PURE__ */ jsx55(Label3, { ref, className: cn(error && "text-destructive", className), htmlFor: formItemId, ...props });
4090
4367
  });
4091
4368
  FormLabel.displayName = "FormLabel";
4092
4369
  var FormControl = React34.forwardRef(
4093
4370
  ({ ...props }, ref) => {
4094
4371
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
4095
- return /* @__PURE__ */ jsx53(
4372
+ return /* @__PURE__ */ jsx55(
4096
4373
  Slot3,
4097
4374
  {
4098
4375
  ref,
@@ -4108,7 +4385,7 @@ FormControl.displayName = "FormControl";
4108
4385
  var FormDescription = React34.forwardRef(
4109
4386
  ({ className, ...props }, ref) => {
4110
4387
  const { formDescriptionId } = useFormField();
4111
- return /* @__PURE__ */ jsx53("p", { ref, id: formDescriptionId, className: cn("text-sm text-muted-foreground", className), ...props });
4388
+ return /* @__PURE__ */ jsx55("p", { ref, id: formDescriptionId, className: cn("text-sm text-muted-foreground", className), ...props });
4112
4389
  }
4113
4390
  );
4114
4391
  FormDescription.displayName = "FormDescription";
@@ -4119,7 +4396,7 @@ var FormMessage = React34.forwardRef(
4119
4396
  if (!body) {
4120
4397
  return null;
4121
4398
  }
4122
- return /* @__PURE__ */ jsx53("p", { ref, id: formMessageId, className: cn("text-sm font-medium text-destructive", className), ...props, children: body });
4399
+ return /* @__PURE__ */ jsx55("p", { ref, id: formMessageId, className: cn("text-sm font-medium text-destructive", className), ...props, children: body });
4123
4400
  }
4124
4401
  );
4125
4402
  FormMessage.displayName = "FormMessage";
@@ -4127,10 +4404,10 @@ FormMessage.displayName = "FormMessage";
4127
4404
  // src/components/ui/hover-card.tsx
4128
4405
  import * as React35 from "react";
4129
4406
  import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
4130
- import { jsx as jsx54 } from "react/jsx-runtime";
4407
+ import { jsx as jsx56 } from "react/jsx-runtime";
4131
4408
  var HoverCard = HoverCardPrimitive.Root;
4132
4409
  var HoverCardTrigger = HoverCardPrimitive.Trigger;
4133
- var HoverCardContent = React35.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx54(
4410
+ var HoverCardContent = React35.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx56(
4134
4411
  HoverCardPrimitive.Content,
4135
4412
  {
4136
4413
  ref,
@@ -4147,10 +4424,10 @@ HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;
4147
4424
 
4148
4425
  // src/components/ui/input.tsx
4149
4426
  import * as React36 from "react";
4150
- import { jsx as jsx55 } from "react/jsx-runtime";
4427
+ import { jsx as jsx57 } from "react/jsx-runtime";
4151
4428
  var Input = React36.forwardRef(
4152
4429
  ({ className, type, ...props }, ref) => {
4153
- return /* @__PURE__ */ jsx55(
4430
+ return /* @__PURE__ */ jsx57(
4154
4431
  "input",
4155
4432
  {
4156
4433
  type,
@@ -4170,9 +4447,9 @@ Input.displayName = "Input";
4170
4447
  import * as React37 from "react";
4171
4448
  import { OTPInput, OTPInputContext } from "input-otp";
4172
4449
  import { Dot } from "lucide-react";
4173
- import { jsx as jsx56, jsxs as jsxs36 } from "react/jsx-runtime";
4450
+ import { jsx as jsx58, jsxs as jsxs37 } from "react/jsx-runtime";
4174
4451
  var InputOTP = React37.forwardRef(
4175
- ({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx56(
4452
+ ({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx58(
4176
4453
  OTPInput,
4177
4454
  {
4178
4455
  ref,
@@ -4184,13 +4461,13 @@ var InputOTP = React37.forwardRef(
4184
4461
  );
4185
4462
  InputOTP.displayName = "InputOTP";
4186
4463
  var InputOTPGroup = React37.forwardRef(
4187
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx56("div", { ref, className: cn("flex items-center", className), ...props })
4464
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx58("div", { ref, className: cn("flex items-center", className), ...props })
4188
4465
  );
4189
4466
  InputOTPGroup.displayName = "InputOTPGroup";
4190
4467
  var InputOTPSlot = React37.forwardRef(({ index, className, ...props }, ref) => {
4191
4468
  const inputOTPContext = React37.useContext(OTPInputContext);
4192
4469
  const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
4193
- return /* @__PURE__ */ jsxs36(
4470
+ return /* @__PURE__ */ jsxs37(
4194
4471
  "div",
4195
4472
  {
4196
4473
  ref,
@@ -4202,14 +4479,14 @@ var InputOTPSlot = React37.forwardRef(({ index, className, ...props }, ref) => {
4202
4479
  ...props,
4203
4480
  children: [
4204
4481
  char,
4205
- hasFakeCaret && /* @__PURE__ */ jsx56("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx56("div", { className: "animate-caret-blink h-4 w-px bg-foreground duration-1000" }) })
4482
+ hasFakeCaret && /* @__PURE__ */ jsx58("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx58("div", { className: "animate-caret-blink h-4 w-px bg-foreground duration-1000" }) })
4206
4483
  ]
4207
4484
  }
4208
4485
  );
4209
4486
  });
4210
4487
  InputOTPSlot.displayName = "InputOTPSlot";
4211
4488
  var InputOTPSeparator = React37.forwardRef(
4212
- ({ ...props }, ref) => /* @__PURE__ */ jsx56("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx56(Dot, {}) })
4489
+ ({ ...props }, ref) => /* @__PURE__ */ jsx58("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx58(Dot, {}) })
4213
4490
  );
4214
4491
  InputOTPSeparator.displayName = "InputOTPSeparator";
4215
4492
 
@@ -4217,13 +4494,13 @@ InputOTPSeparator.displayName = "InputOTPSeparator";
4217
4494
  import * as React38 from "react";
4218
4495
  import * as MenubarPrimitive from "@radix-ui/react-menubar";
4219
4496
  import { Check as Check6, ChevronRight as ChevronRight5, Circle as Circle3 } from "lucide-react";
4220
- import { jsx as jsx57, jsxs as jsxs37 } from "react/jsx-runtime";
4497
+ import { jsx as jsx59, jsxs as jsxs38 } from "react/jsx-runtime";
4221
4498
  var MenubarMenu = MenubarPrimitive.Menu;
4222
4499
  var MenubarGroup = MenubarPrimitive.Group;
4223
4500
  var MenubarPortal = MenubarPrimitive.Portal;
4224
4501
  var MenubarSub = MenubarPrimitive.Sub;
4225
4502
  var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
4226
- var Menubar = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx57(
4503
+ var Menubar = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx59(
4227
4504
  MenubarPrimitive.Root,
4228
4505
  {
4229
4506
  ref,
@@ -4232,7 +4509,7 @@ var Menubar = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__
4232
4509
  }
4233
4510
  ));
4234
4511
  Menubar.displayName = MenubarPrimitive.Root.displayName;
4235
- var MenubarTrigger = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx57(
4512
+ var MenubarTrigger = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx59(
4236
4513
  MenubarPrimitive.Trigger,
4237
4514
  {
4238
4515
  ref,
@@ -4244,7 +4521,7 @@ var MenubarTrigger = React38.forwardRef(({ className, ...props }, ref) => /* @__
4244
4521
  }
4245
4522
  ));
4246
4523
  MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
4247
- var MenubarSubTrigger = React38.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs37(
4524
+ var MenubarSubTrigger = React38.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs38(
4248
4525
  MenubarPrimitive.SubTrigger,
4249
4526
  {
4250
4527
  ref,
@@ -4256,12 +4533,12 @@ var MenubarSubTrigger = React38.forwardRef(({ className, inset, children, ...pro
4256
4533
  ...props,
4257
4534
  children: [
4258
4535
  children,
4259
- /* @__PURE__ */ jsx57(ChevronRight5, { className: "ml-auto h-4 w-4" })
4536
+ /* @__PURE__ */ jsx59(ChevronRight5, { className: "ml-auto h-4 w-4" })
4260
4537
  ]
4261
4538
  }
4262
4539
  ));
4263
4540
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
4264
- var MenubarSubContent = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx57(
4541
+ var MenubarSubContent = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx59(
4265
4542
  MenubarPrimitive.SubContent,
4266
4543
  {
4267
4544
  ref,
@@ -4273,7 +4550,7 @@ var MenubarSubContent = React38.forwardRef(({ className, ...props }, ref) => /*
4273
4550
  }
4274
4551
  ));
4275
4552
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
4276
- var MenubarContent = React38.forwardRef(({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ jsx57(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsx57(
4553
+ var MenubarContent = React38.forwardRef(({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ jsx59(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsx59(
4277
4554
  MenubarPrimitive.Content,
4278
4555
  {
4279
4556
  ref,
@@ -4288,7 +4565,7 @@ var MenubarContent = React38.forwardRef(({ className, align = "start", alignOffs
4288
4565
  }
4289
4566
  ) }));
4290
4567
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
4291
- var MenubarItem = React38.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx57(
4568
+ var MenubarItem = React38.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx59(
4292
4569
  MenubarPrimitive.Item,
4293
4570
  {
4294
4571
  ref,
@@ -4301,7 +4578,7 @@ var MenubarItem = React38.forwardRef(({ className, inset, ...props }, ref) => /*
4301
4578
  }
4302
4579
  ));
4303
4580
  MenubarItem.displayName = MenubarPrimitive.Item.displayName;
4304
- var MenubarCheckboxItem = React38.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs37(
4581
+ var MenubarCheckboxItem = React38.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs38(
4305
4582
  MenubarPrimitive.CheckboxItem,
4306
4583
  {
4307
4584
  ref,
@@ -4312,13 +4589,13 @@ var MenubarCheckboxItem = React38.forwardRef(({ className, children, checked, ..
4312
4589
  checked,
4313
4590
  ...props,
4314
4591
  children: [
4315
- /* @__PURE__ */ jsx57("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx57(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx57(Check6, { className: "h-4 w-4" }) }) }),
4592
+ /* @__PURE__ */ jsx59("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx59(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx59(Check6, { className: "h-4 w-4" }) }) }),
4316
4593
  children
4317
4594
  ]
4318
4595
  }
4319
4596
  ));
4320
4597
  MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
4321
- var MenubarRadioItem = React38.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs37(
4598
+ var MenubarRadioItem = React38.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs38(
4322
4599
  MenubarPrimitive.RadioItem,
4323
4600
  {
4324
4601
  ref,
@@ -4328,13 +4605,13 @@ var MenubarRadioItem = React38.forwardRef(({ className, children, ...props }, re
4328
4605
  ),
4329
4606
  ...props,
4330
4607
  children: [
4331
- /* @__PURE__ */ jsx57("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx57(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx57(Circle3, { className: "h-2 w-2 fill-current" }) }) }),
4608
+ /* @__PURE__ */ jsx59("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx59(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx59(Circle3, { className: "h-2 w-2 fill-current" }) }) }),
4332
4609
  children
4333
4610
  ]
4334
4611
  }
4335
4612
  ));
4336
4613
  MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
4337
- var MenubarLabel = React38.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx57(
4614
+ var MenubarLabel = React38.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx59(
4338
4615
  MenubarPrimitive.Label,
4339
4616
  {
4340
4617
  ref,
@@ -4343,10 +4620,10 @@ var MenubarLabel = React38.forwardRef(({ className, inset, ...props }, ref) => /
4343
4620
  }
4344
4621
  ));
4345
4622
  MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
4346
- var MenubarSeparator = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx57(MenubarPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
4623
+ var MenubarSeparator = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx59(MenubarPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
4347
4624
  MenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;
4348
4625
  var MenubarShortcut = ({ className, ...props }) => {
4349
- return /* @__PURE__ */ jsx57("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
4626
+ return /* @__PURE__ */ jsx59("span", { className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className), ...props });
4350
4627
  };
4351
4628
  MenubarShortcut.displayname = "MenubarShortcut";
4352
4629
 
@@ -4355,8 +4632,8 @@ import * as React39 from "react";
4355
4632
  import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
4356
4633
  import { cva as cva5 } from "class-variance-authority";
4357
4634
  import { ChevronDown as ChevronDown4 } from "lucide-react";
4358
- import { jsx as jsx58, jsxs as jsxs38 } from "react/jsx-runtime";
4359
- var NavigationMenu = React39.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs38(
4635
+ import { jsx as jsx60, jsxs as jsxs39 } from "react/jsx-runtime";
4636
+ var NavigationMenu = React39.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs39(
4360
4637
  NavigationMenuPrimitive.Root,
4361
4638
  {
4362
4639
  ref,
@@ -4364,12 +4641,12 @@ var NavigationMenu = React39.forwardRef(({ className, children, ...props }, ref)
4364
4641
  ...props,
4365
4642
  children: [
4366
4643
  children,
4367
- /* @__PURE__ */ jsx58(NavigationMenuViewport, {})
4644
+ /* @__PURE__ */ jsx60(NavigationMenuViewport, {})
4368
4645
  ]
4369
4646
  }
4370
4647
  ));
4371
4648
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
4372
- var NavigationMenuList = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx58(
4649
+ var NavigationMenuList = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx60(
4373
4650
  NavigationMenuPrimitive.List,
4374
4651
  {
4375
4652
  ref,
@@ -4382,7 +4659,7 @@ var NavigationMenuItem = NavigationMenuPrimitive.Item;
4382
4659
  var navigationMenuTriggerStyle = cva5(
4383
4660
  "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"
4384
4661
  );
4385
- var NavigationMenuTrigger = React39.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs38(
4662
+ var NavigationMenuTrigger = React39.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs39(
4386
4663
  NavigationMenuPrimitive.Trigger,
4387
4664
  {
4388
4665
  ref,
@@ -4391,7 +4668,7 @@ var NavigationMenuTrigger = React39.forwardRef(({ className, children, ...props
4391
4668
  children: [
4392
4669
  children,
4393
4670
  " ",
4394
- /* @__PURE__ */ jsx58(
4671
+ /* @__PURE__ */ jsx60(
4395
4672
  ChevronDown4,
4396
4673
  {
4397
4674
  className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
@@ -4402,7 +4679,7 @@ var NavigationMenuTrigger = React39.forwardRef(({ className, children, ...props
4402
4679
  }
4403
4680
  ));
4404
4681
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
4405
- var NavigationMenuContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx58(
4682
+ var NavigationMenuContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx60(
4406
4683
  NavigationMenuPrimitive.Content,
4407
4684
  {
4408
4685
  ref,
@@ -4415,7 +4692,7 @@ var NavigationMenuContent = React39.forwardRef(({ className, ...props }, ref) =>
4415
4692
  ));
4416
4693
  NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
4417
4694
  var NavigationMenuLink = NavigationMenuPrimitive.Link;
4418
- var NavigationMenuViewport = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx58("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsx58(
4695
+ var NavigationMenuViewport = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx60("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsx60(
4419
4696
  NavigationMenuPrimitive.Viewport,
4420
4697
  {
4421
4698
  className: cn(
@@ -4427,7 +4704,7 @@ var NavigationMenuViewport = React39.forwardRef(({ className, ...props }, ref) =
4427
4704
  }
4428
4705
  ) }));
4429
4706
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
4430
- var NavigationMenuIndicator = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx58(
4707
+ var NavigationMenuIndicator = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx60(
4431
4708
  NavigationMenuPrimitive.Indicator,
4432
4709
  {
4433
4710
  ref,
@@ -4436,7 +4713,7 @@ var NavigationMenuIndicator = React39.forwardRef(({ className, ...props }, ref)
4436
4713
  className
4437
4714
  ),
4438
4715
  ...props,
4439
- children: /* @__PURE__ */ jsx58("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
4716
+ children: /* @__PURE__ */ jsx60("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
4440
4717
  }
4441
4718
  ));
4442
4719
  NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
@@ -4444,8 +4721,8 @@ NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayN
4444
4721
  // src/components/ui/pagination.tsx
4445
4722
  import * as React40 from "react";
4446
4723
  import { ChevronLeft as ChevronLeft2, ChevronRight as ChevronRight6, MoreHorizontal as MoreHorizontal2 } from "lucide-react";
4447
- import { jsx as jsx59, jsxs as jsxs39 } from "react/jsx-runtime";
4448
- var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx59(
4724
+ import { jsx as jsx61, jsxs as jsxs40 } from "react/jsx-runtime";
4725
+ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx61(
4449
4726
  "nav",
4450
4727
  {
4451
4728
  role: "navigation",
@@ -4456,12 +4733,12 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx59(
4456
4733
  );
4457
4734
  Pagination.displayName = "Pagination";
4458
4735
  var PaginationContent = React40.forwardRef(
4459
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx59("ul", { ref, className: cn("flex flex-row items-center gap-1", className), ...props })
4736
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx61("ul", { ref, className: cn("flex flex-row items-center gap-1", className), ...props })
4460
4737
  );
4461
4738
  PaginationContent.displayName = "PaginationContent";
4462
- var PaginationItem = React40.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx59("li", { ref, className: cn("", className), ...props }));
4739
+ var PaginationItem = React40.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx61("li", { ref, className: cn("", className), ...props }));
4463
4740
  PaginationItem.displayName = "PaginationItem";
4464
- var PaginationLink = ({ className, isActive, size = "icon", ...props }) => /* @__PURE__ */ jsx59(
4741
+ var PaginationLink = ({ className, isActive, size = "icon", ...props }) => /* @__PURE__ */ jsx61(
4465
4742
  "a",
4466
4743
  {
4467
4744
  "aria-current": isActive ? "page" : void 0,
@@ -4476,29 +4753,29 @@ var PaginationLink = ({ className, isActive, size = "icon", ...props }) => /* @_
4476
4753
  }
4477
4754
  );
4478
4755
  PaginationLink.displayName = "PaginationLink";
4479
- var PaginationPrevious = ({ className, ...props }) => /* @__PURE__ */ jsxs39(PaginationLink, { "aria-label": "Go to previous page", size: "default", className: cn("gap-1 pl-2.5", className), ...props, children: [
4480
- /* @__PURE__ */ jsx59(ChevronLeft2, { className: "h-4 w-4" }),
4481
- /* @__PURE__ */ jsx59("span", { children: "Previous" })
4756
+ var PaginationPrevious = ({ className, ...props }) => /* @__PURE__ */ jsxs40(PaginationLink, { "aria-label": "Go to previous page", size: "default", className: cn("gap-1 pl-2.5", className), ...props, children: [
4757
+ /* @__PURE__ */ jsx61(ChevronLeft2, { className: "h-4 w-4" }),
4758
+ /* @__PURE__ */ jsx61("span", { children: "Previous" })
4482
4759
  ] });
4483
4760
  PaginationPrevious.displayName = "PaginationPrevious";
4484
- var PaginationNext = ({ className, ...props }) => /* @__PURE__ */ jsxs39(PaginationLink, { "aria-label": "Go to next page", size: "default", className: cn("gap-1 pr-2.5", className), ...props, children: [
4485
- /* @__PURE__ */ jsx59("span", { children: "Next" }),
4486
- /* @__PURE__ */ jsx59(ChevronRight6, { className: "h-4 w-4" })
4761
+ var PaginationNext = ({ className, ...props }) => /* @__PURE__ */ jsxs40(PaginationLink, { "aria-label": "Go to next page", size: "default", className: cn("gap-1 pr-2.5", className), ...props, children: [
4762
+ /* @__PURE__ */ jsx61("span", { children: "Next" }),
4763
+ /* @__PURE__ */ jsx61(ChevronRight6, { className: "h-4 w-4" })
4487
4764
  ] });
4488
4765
  PaginationNext.displayName = "PaginationNext";
4489
- var PaginationEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs39("span", { "aria-hidden": true, className: cn("flex h-9 w-9 items-center justify-center", className), ...props, children: [
4490
- /* @__PURE__ */ jsx59(MoreHorizontal2, { className: "h-4 w-4" }),
4491
- /* @__PURE__ */ jsx59("span", { className: "sr-only", children: "More pages" })
4766
+ var PaginationEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs40("span", { "aria-hidden": true, className: cn("flex h-9 w-9 items-center justify-center", className), ...props, children: [
4767
+ /* @__PURE__ */ jsx61(MoreHorizontal2, { className: "h-4 w-4" }),
4768
+ /* @__PURE__ */ jsx61("span", { className: "sr-only", children: "More pages" })
4492
4769
  ] });
4493
4770
  PaginationEllipsis.displayName = "PaginationEllipsis";
4494
4771
 
4495
4772
  // src/components/ui/popover.tsx
4496
4773
  import * as React41 from "react";
4497
4774
  import * as PopoverPrimitive from "@radix-ui/react-popover";
4498
- import { jsx as jsx60 } from "react/jsx-runtime";
4775
+ import { jsx as jsx62 } from "react/jsx-runtime";
4499
4776
  var Popover = PopoverPrimitive.Root;
4500
4777
  var PopoverTrigger = PopoverPrimitive.Trigger;
4501
- var PopoverContent = React41.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx60(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx60(
4778
+ var PopoverContent = React41.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx62(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx62(
4502
4779
  PopoverPrimitive.Content,
4503
4780
  {
4504
4781
  ref,
@@ -4516,14 +4793,14 @@ PopoverContent.displayName = PopoverPrimitive.Content.displayName;
4516
4793
  // src/components/ui/progress.tsx
4517
4794
  import * as React42 from "react";
4518
4795
  import * as ProgressPrimitive2 from "@radix-ui/react-progress";
4519
- import { jsx as jsx61 } from "react/jsx-runtime";
4520
- var Progress = React42.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx61(
4796
+ import { jsx as jsx63 } from "react/jsx-runtime";
4797
+ var Progress = React42.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx63(
4521
4798
  ProgressPrimitive2.Root,
4522
4799
  {
4523
4800
  ref,
4524
4801
  className: cn("relative h-4 w-full overflow-hidden rounded-full bg-secondary", className),
4525
4802
  ...props,
4526
- children: /* @__PURE__ */ jsx61(
4803
+ children: /* @__PURE__ */ jsx63(
4527
4804
  ProgressPrimitive2.Indicator,
4528
4805
  {
4529
4806
  className: "h-full w-full flex-1 bg-primary transition-all",
@@ -4538,13 +4815,13 @@ Progress.displayName = ProgressPrimitive2.Root.displayName;
4538
4815
  import * as React43 from "react";
4539
4816
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
4540
4817
  import { Circle as Circle4 } from "lucide-react";
4541
- import { jsx as jsx62 } from "react/jsx-runtime";
4818
+ import { jsx as jsx64 } from "react/jsx-runtime";
4542
4819
  var RadioGroup4 = React43.forwardRef(({ className, ...props }, ref) => {
4543
- return /* @__PURE__ */ jsx62(RadioGroupPrimitive.Root, { className: cn("grid gap-2", className), ...props, ref });
4820
+ return /* @__PURE__ */ jsx64(RadioGroupPrimitive.Root, { className: cn("grid gap-2", className), ...props, ref });
4544
4821
  });
4545
4822
  RadioGroup4.displayName = RadioGroupPrimitive.Root.displayName;
4546
4823
  var RadioGroupItem = React43.forwardRef(({ className, ...props }, ref) => {
4547
- return /* @__PURE__ */ jsx62(
4824
+ return /* @__PURE__ */ jsx64(
4548
4825
  RadioGroupPrimitive.Item,
4549
4826
  {
4550
4827
  ref,
@@ -4553,7 +4830,7 @@ var RadioGroupItem = React43.forwardRef(({ className, ...props }, ref) => {
4553
4830
  className
4554
4831
  ),
4555
4832
  ...props,
4556
- children: /* @__PURE__ */ jsx62(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx62(Circle4, { className: "h-2.5 w-2.5 fill-current text-current" }) })
4833
+ children: /* @__PURE__ */ jsx64(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx64(Circle4, { className: "h-2.5 w-2.5 fill-current text-current" }) })
4557
4834
  }
4558
4835
  );
4559
4836
  });
@@ -4562,8 +4839,8 @@ RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
4562
4839
  // src/components/ui/resizable.tsx
4563
4840
  import { GripVertical } from "lucide-react";
4564
4841
  import * as ResizablePrimitive from "react-resizable-panels";
4565
- import { jsx as jsx63 } from "react/jsx-runtime";
4566
- var ResizablePanelGroup = ({ className, ...props }) => /* @__PURE__ */ jsx63(
4842
+ import { jsx as jsx65 } from "react/jsx-runtime";
4843
+ var ResizablePanelGroup = ({ className, ...props }) => /* @__PURE__ */ jsx65(
4567
4844
  ResizablePrimitive.PanelGroup,
4568
4845
  {
4569
4846
  className: cn("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", className),
@@ -4575,7 +4852,7 @@ var ResizableHandle = ({
4575
4852
  withHandle,
4576
4853
  className,
4577
4854
  ...props
4578
- }) => /* @__PURE__ */ jsx63(
4855
+ }) => /* @__PURE__ */ jsx65(
4579
4856
  ResizablePrimitive.PanelResizeHandle,
4580
4857
  {
4581
4858
  className: cn(
@@ -4583,21 +4860,21 @@ var ResizableHandle = ({
4583
4860
  className
4584
4861
  ),
4585
4862
  ...props,
4586
- children: withHandle && /* @__PURE__ */ jsx63("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ jsx63(GripVertical, { className: "h-2.5 w-2.5" }) })
4863
+ children: withHandle && /* @__PURE__ */ jsx65("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ jsx65(GripVertical, { className: "h-2.5 w-2.5" }) })
4587
4864
  }
4588
4865
  );
4589
4866
 
4590
4867
  // src/components/ui/scroll-area.tsx
4591
4868
  import * as React44 from "react";
4592
4869
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
4593
- import { jsx as jsx64, jsxs as jsxs40 } from "react/jsx-runtime";
4594
- var ScrollArea = React44.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs40(ScrollAreaPrimitive.Root, { ref, className: cn("relative overflow-hidden", className), ...props, children: [
4595
- /* @__PURE__ */ jsx64(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
4596
- /* @__PURE__ */ jsx64(ScrollBar, {}),
4597
- /* @__PURE__ */ jsx64(ScrollAreaPrimitive.Corner, {})
4870
+ import { jsx as jsx66, jsxs as jsxs41 } from "react/jsx-runtime";
4871
+ var ScrollArea = React44.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs41(ScrollAreaPrimitive.Root, { ref, className: cn("relative overflow-hidden", className), ...props, children: [
4872
+ /* @__PURE__ */ jsx66(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
4873
+ /* @__PURE__ */ jsx66(ScrollBar, {}),
4874
+ /* @__PURE__ */ jsx66(ScrollAreaPrimitive.Corner, {})
4598
4875
  ] }));
4599
4876
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
4600
- var ScrollBar = React44.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx64(
4877
+ var ScrollBar = React44.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx66(
4601
4878
  ScrollAreaPrimitive.ScrollAreaScrollbar,
4602
4879
  {
4603
4880
  ref,
@@ -4609,7 +4886,7 @@ var ScrollBar = React44.forwardRef(({ className, orientation = "vertical", ...pr
4609
4886
  className
4610
4887
  ),
4611
4888
  ...props,
4612
- children: /* @__PURE__ */ jsx64(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
4889
+ children: /* @__PURE__ */ jsx66(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
4613
4890
  }
4614
4891
  ));
4615
4892
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
@@ -4618,11 +4895,11 @@ ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
4618
4895
  import * as React45 from "react";
4619
4896
  import * as SelectPrimitive2 from "@radix-ui/react-select";
4620
4897
  import { Check as Check7, ChevronDown as ChevronDown5, ChevronUp } from "lucide-react";
4621
- import { jsx as jsx65, jsxs as jsxs41 } from "react/jsx-runtime";
4898
+ import { jsx as jsx67, jsxs as jsxs42 } from "react/jsx-runtime";
4622
4899
  var Select2 = SelectPrimitive2.Root;
4623
4900
  var SelectGroup2 = SelectPrimitive2.Group;
4624
4901
  var SelectValue2 = SelectPrimitive2.Value;
4625
- var SelectTrigger2 = React45.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs41(
4902
+ var SelectTrigger2 = React45.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs42(
4626
4903
  SelectPrimitive2.Trigger,
4627
4904
  {
4628
4905
  ref,
@@ -4633,32 +4910,32 @@ var SelectTrigger2 = React45.forwardRef(({ className, children, ...props }, ref)
4633
4910
  ...props,
4634
4911
  children: [
4635
4912
  children,
4636
- /* @__PURE__ */ jsx65(SelectPrimitive2.Icon, { asChild: true, children: /* @__PURE__ */ jsx65(ChevronDown5, { className: "h-4 w-4 opacity-50" }) })
4913
+ /* @__PURE__ */ jsx67(SelectPrimitive2.Icon, { asChild: true, children: /* @__PURE__ */ jsx67(ChevronDown5, { className: "h-4 w-4 opacity-50" }) })
4637
4914
  ]
4638
4915
  }
4639
4916
  ));
4640
4917
  SelectTrigger2.displayName = SelectPrimitive2.Trigger.displayName;
4641
- var SelectScrollUpButton = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx65(
4918
+ var SelectScrollUpButton = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx67(
4642
4919
  SelectPrimitive2.ScrollUpButton,
4643
4920
  {
4644
4921
  ref,
4645
4922
  className: cn("flex cursor-default items-center justify-center py-1", className),
4646
4923
  ...props,
4647
- children: /* @__PURE__ */ jsx65(ChevronUp, { className: "h-4 w-4" })
4924
+ children: /* @__PURE__ */ jsx67(ChevronUp, { className: "h-4 w-4" })
4648
4925
  }
4649
4926
  ));
4650
4927
  SelectScrollUpButton.displayName = SelectPrimitive2.ScrollUpButton.displayName;
4651
- var SelectScrollDownButton = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx65(
4928
+ var SelectScrollDownButton = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx67(
4652
4929
  SelectPrimitive2.ScrollDownButton,
4653
4930
  {
4654
4931
  ref,
4655
4932
  className: cn("flex cursor-default items-center justify-center py-1", className),
4656
4933
  ...props,
4657
- children: /* @__PURE__ */ jsx65(ChevronDown5, { className: "h-4 w-4" })
4934
+ children: /* @__PURE__ */ jsx67(ChevronDown5, { className: "h-4 w-4" })
4658
4935
  }
4659
4936
  ));
4660
4937
  SelectScrollDownButton.displayName = SelectPrimitive2.ScrollDownButton.displayName;
4661
- var SelectContent2 = React45.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx65(SelectPrimitive2.Portal, { children: /* @__PURE__ */ jsxs41(
4938
+ var SelectContent2 = React45.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx67(SelectPrimitive2.Portal, { children: /* @__PURE__ */ jsxs42(
4662
4939
  SelectPrimitive2.Content,
4663
4940
  {
4664
4941
  ref,
@@ -4670,8 +4947,8 @@ var SelectContent2 = React45.forwardRef(({ className, children, position = "popp
4670
4947
  position,
4671
4948
  ...props,
4672
4949
  children: [
4673
- /* @__PURE__ */ jsx65(SelectScrollUpButton, {}),
4674
- /* @__PURE__ */ jsx65(
4950
+ /* @__PURE__ */ jsx67(SelectScrollUpButton, {}),
4951
+ /* @__PURE__ */ jsx67(
4675
4952
  SelectPrimitive2.Viewport,
4676
4953
  {
4677
4954
  className: cn(
@@ -4681,14 +4958,14 @@ var SelectContent2 = React45.forwardRef(({ className, children, position = "popp
4681
4958
  children
4682
4959
  }
4683
4960
  ),
4684
- /* @__PURE__ */ jsx65(SelectScrollDownButton, {})
4961
+ /* @__PURE__ */ jsx67(SelectScrollDownButton, {})
4685
4962
  ]
4686
4963
  }
4687
4964
  ) }));
4688
4965
  SelectContent2.displayName = SelectPrimitive2.Content.displayName;
4689
- var SelectLabel = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx65(SelectPrimitive2.Label, { ref, className: cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className), ...props }));
4966
+ var SelectLabel = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx67(SelectPrimitive2.Label, { ref, className: cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className), ...props }));
4690
4967
  SelectLabel.displayName = SelectPrimitive2.Label.displayName;
4691
- var SelectItem2 = React45.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs41(
4968
+ var SelectItem2 = React45.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs42(
4692
4969
  SelectPrimitive2.Item,
4693
4970
  {
4694
4971
  ref,
@@ -4698,20 +4975,20 @@ var SelectItem2 = React45.forwardRef(({ className, children, ...props }, ref) =>
4698
4975
  ),
4699
4976
  ...props,
4700
4977
  children: [
4701
- /* @__PURE__ */ jsx65("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx65(SelectPrimitive2.ItemIndicator, { children: /* @__PURE__ */ jsx65(Check7, { className: "h-4 w-4" }) }) }),
4702
- /* @__PURE__ */ jsx65(SelectPrimitive2.ItemText, { children })
4978
+ /* @__PURE__ */ jsx67("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx67(SelectPrimitive2.ItemIndicator, { children: /* @__PURE__ */ jsx67(Check7, { className: "h-4 w-4" }) }) }),
4979
+ /* @__PURE__ */ jsx67(SelectPrimitive2.ItemText, { children })
4703
4980
  ]
4704
4981
  }
4705
4982
  ));
4706
4983
  SelectItem2.displayName = SelectPrimitive2.Item.displayName;
4707
- var SelectSeparator = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx65(SelectPrimitive2.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
4984
+ var SelectSeparator = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx67(SelectPrimitive2.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props }));
4708
4985
  SelectSeparator.displayName = SelectPrimitive2.Separator.displayName;
4709
4986
 
4710
4987
  // src/components/ui/separator.tsx
4711
4988
  import * as React46 from "react";
4712
4989
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
4713
- import { jsx as jsx66 } from "react/jsx-runtime";
4714
- var Separator5 = React46.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx66(
4990
+ import { jsx as jsx68 } from "react/jsx-runtime";
4991
+ var Separator5 = React46.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx68(
4715
4992
  SeparatorPrimitive.Root,
4716
4993
  {
4717
4994
  ref,
@@ -4728,12 +5005,12 @@ import * as SheetPrimitive from "@radix-ui/react-dialog";
4728
5005
  import { cva as cva6 } from "class-variance-authority";
4729
5006
  import { X as X6 } from "lucide-react";
4730
5007
  import * as React47 from "react";
4731
- import { jsx as jsx67, jsxs as jsxs42 } from "react/jsx-runtime";
5008
+ import { jsx as jsx69, jsxs as jsxs43 } from "react/jsx-runtime";
4732
5009
  var Sheet = SheetPrimitive.Root;
4733
5010
  var SheetTrigger = SheetPrimitive.Trigger;
4734
5011
  var SheetClose = SheetPrimitive.Close;
4735
5012
  var SheetPortal = SheetPrimitive.Portal;
4736
- var SheetOverlay = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx67(
5013
+ var SheetOverlay = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx69(
4737
5014
  SheetPrimitive.Overlay,
4738
5015
  {
4739
5016
  className: cn(
@@ -4762,25 +5039,25 @@ var sheetVariants = cva6(
4762
5039
  }
4763
5040
  );
4764
5041
  var SheetContent = React47.forwardRef(
4765
- ({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs42(SheetPortal, { children: [
4766
- /* @__PURE__ */ jsx67(SheetOverlay, {}),
4767
- /* @__PURE__ */ jsxs42(SheetPrimitive.Content, { ref, className: cn(sheetVariants({ side }), className), ...props, children: [
5042
+ ({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs43(SheetPortal, { children: [
5043
+ /* @__PURE__ */ jsx69(SheetOverlay, {}),
5044
+ /* @__PURE__ */ jsxs43(SheetPrimitive.Content, { ref, className: cn(sheetVariants({ side }), className), ...props, children: [
4768
5045
  children,
4769
- /* @__PURE__ */ jsxs42(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-secondary hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none", children: [
4770
- /* @__PURE__ */ jsx67(X6, { className: "h-4 w-4" }),
4771
- /* @__PURE__ */ jsx67("span", { className: "sr-only", children: "Close" })
5046
+ /* @__PURE__ */ jsxs43(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-secondary hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none", children: [
5047
+ /* @__PURE__ */ jsx69(X6, { className: "h-4 w-4" }),
5048
+ /* @__PURE__ */ jsx69("span", { className: "sr-only", children: "Close" })
4772
5049
  ] })
4773
5050
  ] })
4774
5051
  ] })
4775
5052
  );
4776
5053
  SheetContent.displayName = SheetPrimitive.Content.displayName;
4777
- var SheetHeader = ({ className, ...props }) => /* @__PURE__ */ jsx67("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
5054
+ var SheetHeader = ({ className, ...props }) => /* @__PURE__ */ jsx69("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
4778
5055
  SheetHeader.displayName = "SheetHeader";
4779
- var SheetFooter = ({ className, ...props }) => /* @__PURE__ */ jsx67("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
5056
+ var SheetFooter = ({ className, ...props }) => /* @__PURE__ */ jsx69("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
4780
5057
  SheetFooter.displayName = "SheetFooter";
4781
- var SheetTitle = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx67(SheetPrimitive.Title, { ref, className: cn("text-lg font-semibold text-foreground", className), ...props }));
5058
+ var SheetTitle = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx69(SheetPrimitive.Title, { ref, className: cn("text-lg font-semibold text-foreground", className), ...props }));
4782
5059
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
4783
- var SheetDescription = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx67(SheetPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
5060
+ var SheetDescription = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx69(SheetPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
4784
5061
  SheetDescription.displayName = SheetPrimitive.Description.displayName;
4785
5062
 
4786
5063
  // src/components/ui/sidebar.tsx
@@ -4807,13 +5084,13 @@ function useIsMobile() {
4807
5084
  }
4808
5085
 
4809
5086
  // src/components/ui/skeleton.tsx
4810
- import { jsx as jsx68 } from "react/jsx-runtime";
5087
+ import { jsx as jsx70 } from "react/jsx-runtime";
4811
5088
  function Skeleton2({ className, ...props }) {
4812
- return /* @__PURE__ */ jsx68("div", { className: cn("animate-pulse rounded-md bg-muted", className), ...props });
5089
+ return /* @__PURE__ */ jsx70("div", { className: cn("animate-pulse rounded-md bg-muted", className), ...props });
4813
5090
  }
4814
5091
 
4815
5092
  // src/components/ui/sidebar.tsx
4816
- import { jsx as jsx69, jsxs as jsxs43 } from "react/jsx-runtime";
5093
+ import { jsx as jsx71, jsxs as jsxs44 } from "react/jsx-runtime";
4817
5094
  var SIDEBAR_COOKIE_NAME = "sidebar:state";
4818
5095
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
4819
5096
  var SIDEBAR_WIDTH = "16rem";
@@ -4871,7 +5148,7 @@ var SidebarProvider = React49.forwardRef(({ defaultOpen = true, open: openProp,
4871
5148
  }),
4872
5149
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
4873
5150
  );
4874
- return /* @__PURE__ */ jsx69(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx69(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsx69(
5151
+ return /* @__PURE__ */ jsx71(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx71(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsx71(
4875
5152
  "div",
4876
5153
  {
4877
5154
  style: {
@@ -4890,7 +5167,7 @@ SidebarProvider.displayName = "SidebarProvider";
4890
5167
  var Sidebar = React49.forwardRef(({ side = "left", variant = "sidebar", collapsible = "offcanvas", className, children, ...props }, ref) => {
4891
5168
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
4892
5169
  if (collapsible === "none") {
4893
- return /* @__PURE__ */ jsx69(
5170
+ return /* @__PURE__ */ jsx71(
4894
5171
  "div",
4895
5172
  {
4896
5173
  className: cn("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground", className),
@@ -4901,7 +5178,7 @@ var Sidebar = React49.forwardRef(({ side = "left", variant = "sidebar", collapsi
4901
5178
  );
4902
5179
  }
4903
5180
  if (isMobile) {
4904
- return /* @__PURE__ */ jsx69(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsx69(
5181
+ return /* @__PURE__ */ jsx71(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsx71(
4905
5182
  SheetContent,
4906
5183
  {
4907
5184
  "data-sidebar": "sidebar",
@@ -4911,11 +5188,11 @@ var Sidebar = React49.forwardRef(({ side = "left", variant = "sidebar", collapsi
4911
5188
  "--sidebar-width": SIDEBAR_WIDTH_MOBILE
4912
5189
  },
4913
5190
  side,
4914
- children: /* @__PURE__ */ jsx69("div", { className: "flex h-full w-full flex-col", children })
5191
+ children: /* @__PURE__ */ jsx71("div", { className: "flex h-full w-full flex-col", children })
4915
5192
  }
4916
5193
  ) });
4917
5194
  }
4918
- return /* @__PURE__ */ jsxs43(
5195
+ return /* @__PURE__ */ jsxs44(
4919
5196
  "div",
4920
5197
  {
4921
5198
  ref,
@@ -4925,7 +5202,7 @@ var Sidebar = React49.forwardRef(({ side = "left", variant = "sidebar", collapsi
4925
5202
  "data-variant": variant,
4926
5203
  "data-side": side,
4927
5204
  children: [
4928
- /* @__PURE__ */ jsx69(
5205
+ /* @__PURE__ */ jsx71(
4929
5206
  "div",
4930
5207
  {
4931
5208
  className: cn(
@@ -4936,7 +5213,7 @@ var Sidebar = React49.forwardRef(({ side = "left", variant = "sidebar", collapsi
4936
5213
  )
4937
5214
  }
4938
5215
  ),
4939
- /* @__PURE__ */ jsx69(
5216
+ /* @__PURE__ */ jsx71(
4940
5217
  "div",
4941
5218
  {
4942
5219
  className: cn(
@@ -4947,7 +5224,7 @@ var Sidebar = React49.forwardRef(({ side = "left", variant = "sidebar", collapsi
4947
5224
  className
4948
5225
  ),
4949
5226
  ...props,
4950
- children: /* @__PURE__ */ jsx69(
5227
+ children: /* @__PURE__ */ jsx71(
4951
5228
  "div",
4952
5229
  {
4953
5230
  "data-sidebar": "sidebar",
@@ -4965,7 +5242,7 @@ Sidebar.displayName = "Sidebar";
4965
5242
  var SidebarTrigger = React49.forwardRef(
4966
5243
  ({ className, onClick, ...props }, ref) => {
4967
5244
  const { toggleSidebar } = useSidebar();
4968
- return /* @__PURE__ */ jsxs43(
5245
+ return /* @__PURE__ */ jsxs44(
4969
5246
  Button,
4970
5247
  {
4971
5248
  ref,
@@ -4979,8 +5256,8 @@ var SidebarTrigger = React49.forwardRef(
4979
5256
  },
4980
5257
  ...props,
4981
5258
  children: [
4982
- /* @__PURE__ */ jsx69(PanelLeft, {}),
4983
- /* @__PURE__ */ jsx69("span", { className: "sr-only", children: "Toggle Sidebar" })
5259
+ /* @__PURE__ */ jsx71(PanelLeft, {}),
5260
+ /* @__PURE__ */ jsx71("span", { className: "sr-only", children: "Toggle Sidebar" })
4984
5261
  ]
4985
5262
  }
4986
5263
  );
@@ -4990,7 +5267,7 @@ SidebarTrigger.displayName = "SidebarTrigger";
4990
5267
  var SidebarRail = React49.forwardRef(
4991
5268
  ({ className, ...props }, ref) => {
4992
5269
  const { toggleSidebar } = useSidebar();
4993
- return /* @__PURE__ */ jsx69(
5270
+ return /* @__PURE__ */ jsx71(
4994
5271
  "button",
4995
5272
  {
4996
5273
  ref,
@@ -5015,7 +5292,7 @@ var SidebarRail = React49.forwardRef(
5015
5292
  );
5016
5293
  SidebarRail.displayName = "SidebarRail";
5017
5294
  var SidebarInset = React49.forwardRef(({ className, ...props }, ref) => {
5018
- return /* @__PURE__ */ jsx69(
5295
+ return /* @__PURE__ */ jsx71(
5019
5296
  "main",
5020
5297
  {
5021
5298
  ref,
@@ -5031,7 +5308,7 @@ var SidebarInset = React49.forwardRef(({ className, ...props }, ref) => {
5031
5308
  SidebarInset.displayName = "SidebarInset";
5032
5309
  var SidebarInput = React49.forwardRef(
5033
5310
  ({ className, ...props }, ref) => {
5034
- return /* @__PURE__ */ jsx69(
5311
+ return /* @__PURE__ */ jsx71(
5035
5312
  Input,
5036
5313
  {
5037
5314
  ref,
@@ -5047,16 +5324,16 @@ var SidebarInput = React49.forwardRef(
5047
5324
  );
5048
5325
  SidebarInput.displayName = "SidebarInput";
5049
5326
  var SidebarHeader = React49.forwardRef(({ className, ...props }, ref) => {
5050
- return /* @__PURE__ */ jsx69("div", { ref, "data-sidebar": "header", className: cn("flex flex-col gap-2 p-2", className), ...props });
5327
+ return /* @__PURE__ */ jsx71("div", { ref, "data-sidebar": "header", className: cn("flex flex-col gap-2 p-2", className), ...props });
5051
5328
  });
5052
5329
  SidebarHeader.displayName = "SidebarHeader";
5053
5330
  var SidebarFooter = React49.forwardRef(({ className, ...props }, ref) => {
5054
- return /* @__PURE__ */ jsx69("div", { ref, "data-sidebar": "footer", className: cn("flex flex-col gap-2 p-2", className), ...props });
5331
+ return /* @__PURE__ */ jsx71("div", { ref, "data-sidebar": "footer", className: cn("flex flex-col gap-2 p-2", className), ...props });
5055
5332
  });
5056
5333
  SidebarFooter.displayName = "SidebarFooter";
5057
5334
  var SidebarSeparator = React49.forwardRef(
5058
5335
  ({ className, ...props }, ref) => {
5059
- return /* @__PURE__ */ jsx69(
5336
+ return /* @__PURE__ */ jsx71(
5060
5337
  Separator5,
5061
5338
  {
5062
5339
  ref,
@@ -5069,7 +5346,7 @@ var SidebarSeparator = React49.forwardRef(
5069
5346
  );
5070
5347
  SidebarSeparator.displayName = "SidebarSeparator";
5071
5348
  var SidebarContent = React49.forwardRef(({ className, ...props }, ref) => {
5072
- return /* @__PURE__ */ jsx69(
5349
+ return /* @__PURE__ */ jsx71(
5073
5350
  "div",
5074
5351
  {
5075
5352
  ref,
@@ -5084,7 +5361,7 @@ var SidebarContent = React49.forwardRef(({ className, ...props }, ref) => {
5084
5361
  });
5085
5362
  SidebarContent.displayName = "SidebarContent";
5086
5363
  var SidebarGroup = React49.forwardRef(({ className, ...props }, ref) => {
5087
- return /* @__PURE__ */ jsx69(
5364
+ return /* @__PURE__ */ jsx71(
5088
5365
  "div",
5089
5366
  {
5090
5367
  ref,
@@ -5098,7 +5375,7 @@ SidebarGroup.displayName = "SidebarGroup";
5098
5375
  var SidebarGroupLabel = React49.forwardRef(
5099
5376
  ({ className, asChild = false, ...props }, ref) => {
5100
5377
  const Comp = asChild ? Slot4 : "div";
5101
- return /* @__PURE__ */ jsx69(
5378
+ return /* @__PURE__ */ jsx71(
5102
5379
  Comp,
5103
5380
  {
5104
5381
  ref,
@@ -5117,7 +5394,7 @@ SidebarGroupLabel.displayName = "SidebarGroupLabel";
5117
5394
  var SidebarGroupAction = React49.forwardRef(
5118
5395
  ({ className, asChild = false, ...props }, ref) => {
5119
5396
  const Comp = asChild ? Slot4 : "button";
5120
- return /* @__PURE__ */ jsx69(
5397
+ return /* @__PURE__ */ jsx71(
5121
5398
  Comp,
5122
5399
  {
5123
5400
  ref,
@@ -5136,12 +5413,12 @@ var SidebarGroupAction = React49.forwardRef(
5136
5413
  );
5137
5414
  SidebarGroupAction.displayName = "SidebarGroupAction";
5138
5415
  var SidebarGroupContent = React49.forwardRef(
5139
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx69("div", { ref, "data-sidebar": "group-content", className: cn("w-full text-sm", className), ...props })
5416
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx71("div", { ref, "data-sidebar": "group-content", className: cn("w-full text-sm", className), ...props })
5140
5417
  );
5141
5418
  SidebarGroupContent.displayName = "SidebarGroupContent";
5142
- var SidebarMenu = React49.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx69("ul", { ref, "data-sidebar": "menu", className: cn("flex w-full min-w-0 flex-col gap-1", className), ...props }));
5419
+ var SidebarMenu = React49.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx71("ul", { ref, "data-sidebar": "menu", className: cn("flex w-full min-w-0 flex-col gap-1", className), ...props }));
5143
5420
  SidebarMenu.displayName = "SidebarMenu";
5144
- var SidebarMenuItem = React49.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx69("li", { ref, "data-sidebar": "menu-item", className: cn("group/menu-item relative", className), ...props }));
5421
+ var SidebarMenuItem = React49.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx71("li", { ref, "data-sidebar": "menu-item", className: cn("group/menu-item relative", className), ...props }));
5145
5422
  SidebarMenuItem.displayName = "SidebarMenuItem";
5146
5423
  var sidebarMenuButtonVariants = cva7(
5147
5424
  "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
@@ -5166,7 +5443,7 @@ var sidebarMenuButtonVariants = cva7(
5166
5443
  var SidebarMenuButton = React49.forwardRef(({ asChild = false, isActive = false, variant = "default", size = "default", tooltip, className, ...props }, ref) => {
5167
5444
  const Comp = asChild ? Slot4 : "button";
5168
5445
  const { isMobile, state } = useSidebar();
5169
- const button = /* @__PURE__ */ jsx69(
5446
+ const button = /* @__PURE__ */ jsx71(
5170
5447
  Comp,
5171
5448
  {
5172
5449
  ref,
@@ -5185,15 +5462,15 @@ var SidebarMenuButton = React49.forwardRef(({ asChild = false, isActive = false,
5185
5462
  children: tooltip
5186
5463
  };
5187
5464
  }
5188
- return /* @__PURE__ */ jsxs43(Tooltip, { children: [
5189
- /* @__PURE__ */ jsx69(TooltipTrigger, { asChild: true, children: button }),
5190
- /* @__PURE__ */ jsx69(TooltipContent, { side: "right", align: "center", hidden: state !== "collapsed" || isMobile, ...tooltip })
5465
+ return /* @__PURE__ */ jsxs44(Tooltip, { children: [
5466
+ /* @__PURE__ */ jsx71(TooltipTrigger, { asChild: true, children: button }),
5467
+ /* @__PURE__ */ jsx71(TooltipContent, { side: "right", align: "center", hidden: state !== "collapsed" || isMobile, ...tooltip })
5191
5468
  ] });
5192
5469
  });
5193
5470
  SidebarMenuButton.displayName = "SidebarMenuButton";
5194
5471
  var SidebarMenuAction = React49.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
5195
5472
  const Comp = asChild ? Slot4 : "button";
5196
- return /* @__PURE__ */ jsx69(
5473
+ return /* @__PURE__ */ jsx71(
5197
5474
  Comp,
5198
5475
  {
5199
5476
  ref,
@@ -5215,7 +5492,7 @@ var SidebarMenuAction = React49.forwardRef(({ className, asChild = false, showOn
5215
5492
  });
5216
5493
  SidebarMenuAction.displayName = "SidebarMenuAction";
5217
5494
  var SidebarMenuBadge = React49.forwardRef(
5218
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx69(
5495
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx71(
5219
5496
  "div",
5220
5497
  {
5221
5498
  ref,
@@ -5238,7 +5515,7 @@ var SidebarMenuSkeleton = React49.forwardRef(({ className, showIcon = false, ...
5238
5515
  const width = React49.useMemo(() => {
5239
5516
  return `${Math.floor(Math.random() * 40) + 50}%`;
5240
5517
  }, []);
5241
- return /* @__PURE__ */ jsxs43(
5518
+ return /* @__PURE__ */ jsxs44(
5242
5519
  "div",
5243
5520
  {
5244
5521
  ref,
@@ -5246,8 +5523,8 @@ var SidebarMenuSkeleton = React49.forwardRef(({ className, showIcon = false, ...
5246
5523
  className: cn("flex h-8 items-center gap-2 rounded-md px-2", className),
5247
5524
  ...props,
5248
5525
  children: [
5249
- showIcon && /* @__PURE__ */ jsx69(Skeleton2, { className: "size-4 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
5250
- /* @__PURE__ */ jsx69(
5526
+ showIcon && /* @__PURE__ */ jsx71(Skeleton2, { className: "size-4 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
5527
+ /* @__PURE__ */ jsx71(
5251
5528
  Skeleton2,
5252
5529
  {
5253
5530
  className: "h-4 max-w-[--skeleton-width] flex-1",
@@ -5263,7 +5540,7 @@ var SidebarMenuSkeleton = React49.forwardRef(({ className, showIcon = false, ...
5263
5540
  });
5264
5541
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
5265
5542
  var SidebarMenuSub = React49.forwardRef(
5266
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx69(
5543
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx71(
5267
5544
  "ul",
5268
5545
  {
5269
5546
  ref,
@@ -5278,11 +5555,11 @@ var SidebarMenuSub = React49.forwardRef(
5278
5555
  )
5279
5556
  );
5280
5557
  SidebarMenuSub.displayName = "SidebarMenuSub";
5281
- var SidebarMenuSubItem = React49.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx69("li", { ref, ...props }));
5558
+ var SidebarMenuSubItem = React49.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx71("li", { ref, ...props }));
5282
5559
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
5283
5560
  var SidebarMenuSubButton = React49.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
5284
5561
  const Comp = asChild ? Slot4 : "a";
5285
- return /* @__PURE__ */ jsx69(
5562
+ return /* @__PURE__ */ jsx71(
5286
5563
  Comp,
5287
5564
  {
5288
5565
  ref,
@@ -5306,31 +5583,62 @@ SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
5306
5583
  // src/components/ui/slider.tsx
5307
5584
  import * as React50 from "react";
5308
5585
  import * as SliderPrimitive from "@radix-ui/react-slider";
5309
- import { jsx as jsx70, jsxs as jsxs44 } from "react/jsx-runtime";
5310
- var Slider = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs44(
5586
+ import { jsx as jsx72, jsxs as jsxs45 } from "react/jsx-runtime";
5587
+ var Slider = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs45(
5311
5588
  SliderPrimitive.Root,
5312
5589
  {
5313
5590
  ref,
5314
5591
  className: cn("relative flex w-full touch-none select-none items-center", className),
5315
5592
  ...props,
5316
5593
  children: [
5317
- /* @__PURE__ */ jsx70(SliderPrimitive.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-secondary", children: /* @__PURE__ */ jsx70(SliderPrimitive.Range, { className: "absolute h-full bg-primary" }) }),
5318
- /* @__PURE__ */ jsx70(SliderPrimitive.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })
5594
+ /* @__PURE__ */ jsx72(SliderPrimitive.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-secondary", children: /* @__PURE__ */ jsx72(SliderPrimitive.Range, { className: "absolute h-full bg-primary" }) }),
5595
+ /* @__PURE__ */ jsx72(SliderPrimitive.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })
5319
5596
  ]
5320
5597
  }
5321
5598
  ));
5322
5599
  Slider.displayName = SliderPrimitive.Root.displayName;
5323
5600
 
5324
5601
  // src/components/ui/sonner.tsx
5325
- import { useTheme as useTheme2 } from "next-themes";
5602
+ import * as React51 from "react";
5326
5603
  import { Toaster as Sonner, toast } from "sonner";
5327
- import { jsx as jsx71 } from "react/jsx-runtime";
5328
- var Toaster = ({ ...props }) => {
5329
- const { theme = "system" } = useTheme2();
5330
- return /* @__PURE__ */ jsx71(
5604
+ import { jsx as jsx73 } from "react/jsx-runtime";
5605
+ function resolveDocumentTheme() {
5606
+ if (typeof document === "undefined") return "system";
5607
+ if (document.documentElement.classList.contains("dark")) return "dark";
5608
+ if (document.documentElement.classList.contains("light")) return "light";
5609
+ if (typeof window !== "undefined" && window.matchMedia("(prefers-color-scheme: dark)").matches) {
5610
+ return "dark";
5611
+ }
5612
+ return "light";
5613
+ }
5614
+ var Toaster = ({ theme, ...props }) => {
5615
+ const [resolvedTheme, setResolvedTheme] = React51.useState(() => theme != null ? theme : "system");
5616
+ React51.useEffect(() => {
5617
+ if (typeof theme !== "undefined") return;
5618
+ const syncTheme = () => setResolvedTheme(resolveDocumentTheme());
5619
+ syncTheme();
5620
+ if (typeof window === "undefined" || typeof document === "undefined") return;
5621
+ const mediaQuery = window.matchMedia("(prefers-color-scheme: dark)");
5622
+ const handleMediaChange = () => syncTheme();
5623
+ const observer = new MutationObserver(syncTheme);
5624
+ observer.observe(document.documentElement, { attributes: true, attributeFilter: ["class"] });
5625
+ if (typeof mediaQuery.addEventListener === "function") {
5626
+ mediaQuery.addEventListener("change", handleMediaChange);
5627
+ return () => {
5628
+ mediaQuery.removeEventListener("change", handleMediaChange);
5629
+ observer.disconnect();
5630
+ };
5631
+ }
5632
+ mediaQuery.addListener(handleMediaChange);
5633
+ return () => {
5634
+ mediaQuery.removeListener(handleMediaChange);
5635
+ observer.disconnect();
5636
+ };
5637
+ }, [theme]);
5638
+ return /* @__PURE__ */ jsx73(
5331
5639
  Sonner,
5332
5640
  {
5333
- theme,
5641
+ theme: theme != null ? theme : resolvedTheme,
5334
5642
  className: "toaster group",
5335
5643
  toastOptions: {
5336
5644
  classNames: {
@@ -5346,10 +5654,10 @@ var Toaster = ({ ...props }) => {
5346
5654
  };
5347
5655
 
5348
5656
  // src/components/ui/switch.tsx
5349
- import * as React51 from "react";
5657
+ import * as React52 from "react";
5350
5658
  import * as SwitchPrimitives2 from "@radix-ui/react-switch";
5351
- import { jsx as jsx72 } from "react/jsx-runtime";
5352
- var Switch2 = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx72(
5659
+ import { jsx as jsx74 } from "react/jsx-runtime";
5660
+ var Switch2 = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx74(
5353
5661
  SwitchPrimitives2.Root,
5354
5662
  {
5355
5663
  className: cn(
@@ -5358,7 +5666,7 @@ var Switch2 = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__
5358
5666
  ),
5359
5667
  ...props,
5360
5668
  ref,
5361
- children: /* @__PURE__ */ jsx72(
5669
+ children: /* @__PURE__ */ jsx74(
5362
5670
  SwitchPrimitives2.Thumb,
5363
5671
  {
5364
5672
  className: cn(
@@ -5371,26 +5679,26 @@ var Switch2 = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__
5371
5679
  Switch2.displayName = SwitchPrimitives2.Root.displayName;
5372
5680
 
5373
5681
  // src/components/ui/table.tsx
5374
- import * as React52 from "react";
5375
- import { jsx as jsx73 } from "react/jsx-runtime";
5376
- var Table = React52.forwardRef(
5377
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx73("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx73("table", { ref, className: cn("w-full caption-bottom text-sm", className), ...props }) })
5682
+ import * as React53 from "react";
5683
+ import { jsx as jsx75 } from "react/jsx-runtime";
5684
+ var Table = React53.forwardRef(
5685
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx75("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx75("table", { ref, className: cn("w-full caption-bottom text-sm", className), ...props }) })
5378
5686
  );
5379
5687
  Table.displayName = "Table";
5380
- var TableHeader = React52.forwardRef(
5381
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx73("thead", { ref, className: cn("[&_tr]:border-b", className), ...props })
5688
+ var TableHeader = React53.forwardRef(
5689
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx75("thead", { ref, className: cn("[&_tr]:border-b", className), ...props })
5382
5690
  );
5383
5691
  TableHeader.displayName = "TableHeader";
5384
- var TableBody = React52.forwardRef(
5385
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx73("tbody", { ref, className: cn("[&_tr:last-child]:border-0", className), ...props })
5692
+ var TableBody = React53.forwardRef(
5693
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx75("tbody", { ref, className: cn("[&_tr:last-child]:border-0", className), ...props })
5386
5694
  );
5387
5695
  TableBody.displayName = "TableBody";
5388
- var TableFooter = React52.forwardRef(
5389
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx73("tfoot", { ref, className: cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", className), ...props })
5696
+ var TableFooter = React53.forwardRef(
5697
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx75("tfoot", { ref, className: cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", className), ...props })
5390
5698
  );
5391
5699
  TableFooter.displayName = "TableFooter";
5392
- var TableRow = React52.forwardRef(
5393
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx73(
5700
+ var TableRow = React53.forwardRef(
5701
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx75(
5394
5702
  "tr",
5395
5703
  {
5396
5704
  ref,
@@ -5400,8 +5708,8 @@ var TableRow = React52.forwardRef(
5400
5708
  )
5401
5709
  );
5402
5710
  TableRow.displayName = "TableRow";
5403
- var TableHead = React52.forwardRef(
5404
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx73(
5711
+ var TableHead = React53.forwardRef(
5712
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx75(
5405
5713
  "th",
5406
5714
  {
5407
5715
  ref,
@@ -5414,21 +5722,21 @@ var TableHead = React52.forwardRef(
5414
5722
  )
5415
5723
  );
5416
5724
  TableHead.displayName = "TableHead";
5417
- var TableCell = React52.forwardRef(
5418
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx73("td", { ref, className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className), ...props })
5725
+ var TableCell = React53.forwardRef(
5726
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx75("td", { ref, className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className), ...props })
5419
5727
  );
5420
5728
  TableCell.displayName = "TableCell";
5421
- var TableCaption = React52.forwardRef(
5422
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx73("caption", { ref, className: cn("mt-4 text-sm text-muted-foreground", className), ...props })
5729
+ var TableCaption = React53.forwardRef(
5730
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx75("caption", { ref, className: cn("mt-4 text-sm text-muted-foreground", className), ...props })
5423
5731
  );
5424
5732
  TableCaption.displayName = "TableCaption";
5425
5733
 
5426
5734
  // src/components/ui/tabs.tsx
5427
- import * as React53 from "react";
5735
+ import * as React54 from "react";
5428
5736
  import * as TabsPrimitive2 from "@radix-ui/react-tabs";
5429
- import { jsx as jsx74 } from "react/jsx-runtime";
5737
+ import { jsx as jsx76 } from "react/jsx-runtime";
5430
5738
  var Tabs2 = TabsPrimitive2.Root;
5431
- var TabsList2 = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx74(
5739
+ var TabsList2 = React54.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx76(
5432
5740
  TabsPrimitive2.List,
5433
5741
  {
5434
5742
  ref,
@@ -5440,7 +5748,7 @@ var TabsList2 = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE_
5440
5748
  }
5441
5749
  ));
5442
5750
  TabsList2.displayName = TabsPrimitive2.List.displayName;
5443
- var TabsTrigger2 = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx74(
5751
+ var TabsTrigger2 = React54.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx76(
5444
5752
  TabsPrimitive2.Trigger,
5445
5753
  {
5446
5754
  ref,
@@ -5452,7 +5760,7 @@ var TabsTrigger2 = React53.forwardRef(({ className, ...props }, ref) => /* @__PU
5452
5760
  }
5453
5761
  ));
5454
5762
  TabsTrigger2.displayName = TabsPrimitive2.Trigger.displayName;
5455
- var TabsContent2 = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx74(
5763
+ var TabsContent2 = React54.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx76(
5456
5764
  TabsPrimitive2.Content,
5457
5765
  {
5458
5766
  ref,
@@ -5466,10 +5774,10 @@ var TabsContent2 = React53.forwardRef(({ className, ...props }, ref) => /* @__PU
5466
5774
  TabsContent2.displayName = TabsPrimitive2.Content.displayName;
5467
5775
 
5468
5776
  // src/components/ui/textarea.tsx
5469
- import * as React54 from "react";
5470
- import { jsx as jsx75 } from "react/jsx-runtime";
5471
- var Textarea = React54.forwardRef(({ className, ...props }, ref) => {
5472
- return /* @__PURE__ */ jsx75(
5777
+ import * as React55 from "react";
5778
+ import { jsx as jsx77 } from "react/jsx-runtime";
5779
+ var Textarea = React55.forwardRef(({ className, ...props }, ref) => {
5780
+ return /* @__PURE__ */ jsx77(
5473
5781
  "textarea",
5474
5782
  {
5475
5783
  className: cn(
@@ -5484,13 +5792,13 @@ var Textarea = React54.forwardRef(({ className, ...props }, ref) => {
5484
5792
  Textarea.displayName = "Textarea";
5485
5793
 
5486
5794
  // src/components/ui/toast.tsx
5487
- import * as React55 from "react";
5795
+ import * as React56 from "react";
5488
5796
  import * as ToastPrimitives from "@radix-ui/react-toast";
5489
5797
  import { cva as cva8 } from "class-variance-authority";
5490
5798
  import { X as X7 } from "lucide-react";
5491
- import { jsx as jsx76 } from "react/jsx-runtime";
5799
+ import { jsx as jsx78 } from "react/jsx-runtime";
5492
5800
  var ToastProvider = ToastPrimitives.Provider;
5493
- var ToastViewport = React55.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx76(
5801
+ var ToastViewport = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
5494
5802
  ToastPrimitives.Viewport,
5495
5803
  {
5496
5804
  ref,
@@ -5516,11 +5824,11 @@ var toastVariants = cva8(
5516
5824
  }
5517
5825
  }
5518
5826
  );
5519
- var Toast = React55.forwardRef(({ className, variant, ...props }, ref) => {
5520
- return /* @__PURE__ */ jsx76(ToastPrimitives.Root, { ref, className: cn(toastVariants({ variant }), className), ...props });
5827
+ var Toast = React56.forwardRef(({ className, variant, ...props }, ref) => {
5828
+ return /* @__PURE__ */ jsx78(ToastPrimitives.Root, { ref, className: cn(toastVariants({ variant }), className), ...props });
5521
5829
  });
5522
5830
  Toast.displayName = ToastPrimitives.Root.displayName;
5523
- var ToastAction = React55.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx76(
5831
+ var ToastAction = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
5524
5832
  ToastPrimitives.Action,
5525
5833
  {
5526
5834
  ref,
@@ -5532,7 +5840,7 @@ var ToastAction = React55.forwardRef(({ className, ...props }, ref) => /* @__PUR
5532
5840
  }
5533
5841
  ));
5534
5842
  ToastAction.displayName = ToastPrimitives.Action.displayName;
5535
- var ToastClose = React55.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx76(
5843
+ var ToastClose = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
5536
5844
  ToastPrimitives.Close,
5537
5845
  {
5538
5846
  ref,
@@ -5542,17 +5850,17 @@ var ToastClose = React55.forwardRef(({ className, ...props }, ref) => /* @__PURE
5542
5850
  ),
5543
5851
  "toast-close": "",
5544
5852
  ...props,
5545
- children: /* @__PURE__ */ jsx76(X7, { className: "h-4 w-4" })
5853
+ children: /* @__PURE__ */ jsx78(X7, { className: "h-4 w-4" })
5546
5854
  }
5547
5855
  ));
5548
5856
  ToastClose.displayName = ToastPrimitives.Close.displayName;
5549
- var ToastTitle = React55.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx76(ToastPrimitives.Title, { ref, className: cn("text-sm font-semibold", className), ...props }));
5857
+ var ToastTitle = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(ToastPrimitives.Title, { ref, className: cn("text-sm font-semibold", className), ...props }));
5550
5858
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
5551
- var ToastDescription = React55.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx76(ToastPrimitives.Description, { ref, className: cn("text-sm opacity-90", className), ...props }));
5859
+ var ToastDescription = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(ToastPrimitives.Description, { ref, className: cn("text-sm opacity-90", className), ...props }));
5552
5860
  ToastDescription.displayName = ToastPrimitives.Description.displayName;
5553
5861
 
5554
5862
  // src/hooks/use-toast.ts
5555
- import * as React56 from "react";
5863
+ import * as React57 from "react";
5556
5864
  var TOAST_LIMIT = 1;
5557
5865
  var TOAST_REMOVE_DELAY = 1e6;
5558
5866
  var count = 0;
@@ -5651,8 +5959,8 @@ function toast2({ ...props }) {
5651
5959
  };
5652
5960
  }
5653
5961
  function useToast() {
5654
- const [state, setState] = React56.useState(memoryState);
5655
- React56.useEffect(() => {
5962
+ const [state, setState] = React57.useState(memoryState);
5963
+ React57.useEffect(() => {
5656
5964
  listeners.push(setState);
5657
5965
  return () => {
5658
5966
  const index = listeners.indexOf(setState);
@@ -5669,29 +5977,29 @@ function useToast() {
5669
5977
  }
5670
5978
 
5671
5979
  // src/components/ui/toaster.tsx
5672
- import { jsx as jsx77, jsxs as jsxs45 } from "react/jsx-runtime";
5980
+ import { jsx as jsx79, jsxs as jsxs46 } from "react/jsx-runtime";
5673
5981
  function Toaster2() {
5674
5982
  const { toasts } = useToast();
5675
- return /* @__PURE__ */ jsxs45(ToastProvider, { children: [
5983
+ return /* @__PURE__ */ jsxs46(ToastProvider, { children: [
5676
5984
  toasts.map(function({ id, title, description, action, ...props }) {
5677
- return /* @__PURE__ */ jsxs45(Toast, { ...props, children: [
5678
- /* @__PURE__ */ jsxs45("div", { className: "grid gap-1", children: [
5679
- title && /* @__PURE__ */ jsx77(ToastTitle, { children: title }),
5680
- description && /* @__PURE__ */ jsx77(ToastDescription, { children: description })
5985
+ return /* @__PURE__ */ jsxs46(Toast, { ...props, children: [
5986
+ /* @__PURE__ */ jsxs46("div", { className: "grid gap-1", children: [
5987
+ title && /* @__PURE__ */ jsx79(ToastTitle, { children: title }),
5988
+ description && /* @__PURE__ */ jsx79(ToastDescription, { children: description })
5681
5989
  ] }),
5682
5990
  action,
5683
- /* @__PURE__ */ jsx77(ToastClose, {})
5991
+ /* @__PURE__ */ jsx79(ToastClose, {})
5684
5992
  ] }, id);
5685
5993
  }),
5686
- /* @__PURE__ */ jsx77(ToastViewport, {})
5994
+ /* @__PURE__ */ jsx79(ToastViewport, {})
5687
5995
  ] });
5688
5996
  }
5689
5997
 
5690
5998
  // src/components/ui/toggle.tsx
5691
- import * as React57 from "react";
5999
+ import * as React58 from "react";
5692
6000
  import * as TogglePrimitive from "@radix-ui/react-toggle";
5693
6001
  import { cva as cva9 } from "class-variance-authority";
5694
- import { jsx as jsx78 } from "react/jsx-runtime";
6002
+ import { jsx as jsx80 } from "react/jsx-runtime";
5695
6003
  var toggleVariants = cva9(
5696
6004
  "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",
5697
6005
  {
@@ -5712,22 +6020,22 @@ var toggleVariants = cva9(
5712
6020
  }
5713
6021
  }
5714
6022
  );
5715
- var Toggle = React57.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx78(TogglePrimitive.Root, { ref, className: cn(toggleVariants({ variant, size, className })), ...props }));
6023
+ var Toggle = React58.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx80(TogglePrimitive.Root, { ref, className: cn(toggleVariants({ variant, size, className })), ...props }));
5716
6024
  Toggle.displayName = TogglePrimitive.Root.displayName;
5717
6025
 
5718
6026
  // src/components/ui/toggle-group.tsx
5719
- import * as React58 from "react";
6027
+ import * as React59 from "react";
5720
6028
  import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
5721
- import { jsx as jsx79 } from "react/jsx-runtime";
5722
- var ToggleGroupContext = React58.createContext({
6029
+ import { jsx as jsx81 } from "react/jsx-runtime";
6030
+ var ToggleGroupContext = React59.createContext({
5723
6031
  size: "default",
5724
6032
  variant: "default"
5725
6033
  });
5726
- var ToggleGroup = React58.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx79(ToggleGroupPrimitive.Root, { ref, className: cn("flex items-center justify-center gap-1", className), ...props, children: /* @__PURE__ */ jsx79(ToggleGroupContext.Provider, { value: { variant, size }, children }) }));
6034
+ var ToggleGroup = React59.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx81(ToggleGroupPrimitive.Root, { ref, className: cn("flex items-center justify-center gap-1", className), ...props, children: /* @__PURE__ */ jsx81(ToggleGroupContext.Provider, { value: { variant, size }, children }) }));
5727
6035
  ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
5728
- var ToggleGroupItem = React58.forwardRef(({ className, children, variant, size, ...props }, ref) => {
5729
- const context = React58.useContext(ToggleGroupContext);
5730
- return /* @__PURE__ */ jsx79(
6036
+ var ToggleGroupItem = React59.forwardRef(({ className, children, variant, size, ...props }, ref) => {
6037
+ const context = React59.useContext(ToggleGroupContext);
6038
+ return /* @__PURE__ */ jsx81(
5731
6039
  ToggleGroupPrimitive.Item,
5732
6040
  {
5733
6041
  ref,
@@ -5744,136 +6052,6 @@ var ToggleGroupItem = React58.forwardRef(({ className, children, variant, size,
5744
6052
  );
5745
6053
  });
5746
6054
  ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
5747
-
5748
- // src/lib/navigation.tsx
5749
- import { BookOpen, Home, Layers } from "lucide-react";
5750
- import { jsx as jsx80 } from "react/jsx-runtime";
5751
- var getMainNavItems = () => [
5752
- {
5753
- label: "In\xEDcio",
5754
- href: "/",
5755
- icon: /* @__PURE__ */ jsx80(Home, { className: "h-4 w-4" })
5756
- },
5757
- {
5758
- label: "Design System",
5759
- href: "/design-system",
5760
- icon: /* @__PURE__ */ jsx80(Layers, { className: "h-4 w-4" })
5761
- },
5762
- {
5763
- label: "Docs",
5764
- href: "/docs",
5765
- icon: /* @__PURE__ */ jsx80(BookOpen, { className: "h-4 w-4" })
5766
- }
5767
- ];
5768
-
5769
- // src/lib/dock.ts
5770
- var mainDockCategories = [
5771
- {
5772
- id: "home",
5773
- title: "Home",
5774
- slug: "mn-homepage",
5775
- order: 0,
5776
- tooltip: "P\xE1gina inicial",
5777
- href: "/",
5778
- bgImageUrl: "92b6c6ac-6e41-47cf-9b92-0e16131af1c4",
5779
- cards: []
5780
- },
5781
- {
5782
- id: "marketing",
5783
- title: "Marketing",
5784
- slug: "marketing",
5785
- order: 1,
5786
- tooltip: "Servi\xE7os de Marketing",
5787
- bgImageUrl: "f9a6fe47-b519-483b-8b14-a86402d30e78",
5788
- cards: [
5789
- {
5790
- title: "Branding",
5791
- description: "Otimiza\xE7\xE3o para mecanismos de busca",
5792
- buttons: [
5793
- { type: "link", label: "Saiba mais >", href: "/marketing/seo" }
5794
- ]
5795
- },
5796
- {
5797
- title: "Redes Sociais",
5798
- description: "Gest\xE3o de redes sociais",
5799
- buttons: [
5800
- { type: "link", label: "Saiba mais >", href: "/marketing/social" }
5801
- ]
5802
- }
5803
- ]
5804
- },
5805
- {
5806
- id: "desenvolvimento",
5807
- title: "Desenvolvimento",
5808
- slug: "mn-desenvolvimento",
5809
- order: 2,
5810
- tooltip: "Desenvolvimento Web",
5811
- bgImageUrl: "308d748a-14f1-4794-bd42-d36c4d082983",
5812
- cards: [
5813
- {
5814
- title: "Frontend",
5815
- description: "React, Vue, Angular",
5816
- buttons: [
5817
- { type: "link", label: "Saiba mais >", href: "/dev/frontend" }
5818
- ]
5819
- },
5820
- {
5821
- title: "Backend",
5822
- description: "Node.js, Python, PHP",
5823
- buttons: [
5824
- { type: "link", label: "Saiba mais >", href: "/dev/backend" }
5825
- ]
5826
- }
5827
- ]
5828
- },
5829
- {
5830
- id: "solucoes",
5831
- title: "Solu\xE7\xF5es",
5832
- slug: "mn-solucoes",
5833
- order: 3,
5834
- tooltip: "Nossas Solu\xE7\xF5es",
5835
- bgImageUrl: "3d166e89-1cd0-48aa-a056-c849f3a749b2",
5836
- cards: [
5837
- {
5838
- title: "Cloud Computing",
5839
- description: "Infraestrutura escal\xE1vel",
5840
- buttons: [
5841
- { type: "link", label: "Saiba mais >", href: "/solucoes/cloud" }
5842
- ]
5843
- }
5844
- ]
5845
- },
5846
- {
5847
- id: "cases",
5848
- title: "Cases",
5849
- slug: "mn-cases-de-sucesso",
5850
- order: 4,
5851
- tooltip: "Cases de Sucesso",
5852
- href: "/cases",
5853
- bgImageUrl: "a22bc9cf-ed3d-44a1-b53f-10ebe9960a52",
5854
- cards: []
5855
- },
5856
- {
5857
- id: "sobre-nos",
5858
- title: "Sobre N\xF3s",
5859
- slug: "mn-sobre-nos",
5860
- order: 5,
5861
- tooltip: "Conhe\xE7a a Cupcode",
5862
- href: "/sobre-nos",
5863
- bgImageUrl: "2916aa79-3d21-4d1c-9787-1969f5e2b865",
5864
- cards: []
5865
- },
5866
- {
5867
- id: "contato",
5868
- title: "Contato",
5869
- slug: "mn-contato",
5870
- order: 6,
5871
- tooltip: "Fale conosco",
5872
- href: "/contato",
5873
- bgImageUrl: "102c3568-cb5a-48b8-878b-1ba170c3e8f5",
5874
- cards: []
5875
- }
5876
- ];
5877
6055
  export {
5878
6056
  Accordion,
5879
6057
  AccordionContent2 as AccordionContent,
@@ -6043,6 +6221,7 @@ export {
6043
6221
  Label3 as Label,
6044
6222
  LoadingScreen,
6045
6223
  LoadingSpinner,
6224
+ MainNavbar,
6046
6225
  Menubar,
6047
6226
  MenubarCheckboxItem,
6048
6227
  MenubarContent,
@@ -6189,7 +6368,6 @@ export {
6189
6368
  buttonVariants,
6190
6369
  cn,
6191
6370
  getMainNavItems,
6192
- mainDockCategories,
6193
6371
  navigationMenuTriggerStyle,
6194
6372
  parseAssetId,
6195
6373
  responsiveSizeClasses,
@@ -6204,4 +6382,3 @@ export {
6204
6382
  useTelescupMeta,
6205
6383
  useToast
6206
6384
  };
6207
- //# sourceMappingURL=index.js.map