@datatechsolutions/ui 2.7.127 → 2.7.129

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.
@@ -2,7 +2,7 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkUZ3CMNUJ_js = require('./chunk-UZ3CMNUJ.js');
5
- var Headless11 = require('@headlessui/react');
5
+ var Headless6 = require('@headlessui/react');
6
6
  var clsx = require('clsx');
7
7
  var React11 = require('react');
8
8
  var framerMotion = require('framer-motion');
@@ -22,7 +22,6 @@ var Image = require('next/image');
22
22
  var lucideReact = require('lucide-react');
23
23
  var d3Geo = require('d3-geo');
24
24
  var i18n = require('@datatechsolutions/shared-domain/i18n');
25
- var ProgressPrimitive = require('@radix-ui/react-progress');
26
25
  var TabsPrimitive = require('@radix-ui/react-tabs');
27
26
  var zustand = require('zustand');
28
27
 
@@ -46,18 +45,17 @@ function _interopNamespace(e) {
46
45
  return Object.freeze(n);
47
46
  }
48
47
 
49
- var Headless11__namespace = /*#__PURE__*/_interopNamespace(Headless11);
48
+ var Headless6__namespace = /*#__PURE__*/_interopNamespace(Headless6);
50
49
  var clsx__default = /*#__PURE__*/_interopDefault(clsx);
51
50
  var React11__namespace = /*#__PURE__*/_interopNamespace(React11);
52
51
  var NextLink__default = /*#__PURE__*/_interopDefault(NextLink);
53
52
  var HeroIcons__namespace = /*#__PURE__*/_interopNamespace(HeroIcons);
54
53
  var Popover__namespace = /*#__PURE__*/_interopNamespace(Popover);
55
54
  var Image__default = /*#__PURE__*/_interopDefault(Image);
56
- var ProgressPrimitive__namespace = /*#__PURE__*/_interopNamespace(ProgressPrimitive);
57
55
  var TabsPrimitive__namespace = /*#__PURE__*/_interopNamespace(TabsPrimitive);
58
56
 
59
57
  var Link = React11.forwardRef(function Link2(props, ref) {
60
- return /* @__PURE__ */ jsxRuntime.jsx(Headless11__namespace.DataInteractive, { children: /* @__PURE__ */ jsxRuntime.jsx(NextLink__default.default, { ...props, ref }) });
58
+ return /* @__PURE__ */ jsxRuntime.jsx(Headless6__namespace.DataInteractive, { children: /* @__PURE__ */ jsxRuntime.jsx(NextLink__default.default, { ...props, ref }) });
61
59
  });
62
60
 
63
61
  // src/lib/animations.ts
@@ -628,7 +626,7 @@ var Button = React11.forwardRef(function Button2({
628
626
  onTapStart: handleTapStart,
629
627
  className: clsx__default.default("inline-flex", fullWidth && "w-full"),
630
628
  children: /* @__PURE__ */ jsxRuntime.jsx(
631
- Headless11.Button,
629
+ Headless6.Button,
632
630
  {
633
631
  ...buttonProps,
634
632
  disabled: isDisabled,
@@ -1227,9 +1225,9 @@ function Sheet({
1227
1225
  }, [open, motionValue]);
1228
1226
  const maxHeight = snapPoints[snapPoints.length - 1];
1229
1227
  const rightSizeClass = size === "xl" ? "max-w-xl" : size === "lg" ? "max-w-lg" : "max-w-md";
1230
- return /* @__PURE__ */ jsxRuntime.jsx(Headless11.Transition, { show: open, as: React11.Fragment, children: /* @__PURE__ */ jsxRuntime.jsxs(Headless11.Dialog, { as: "div", className: "relative z-50", onClose, children: [
1228
+ return /* @__PURE__ */ jsxRuntime.jsx(Headless6.Transition, { show: open, as: React11.Fragment, children: /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Dialog, { as: "div", className: "relative z-50", onClose, children: [
1231
1229
  /* @__PURE__ */ jsxRuntime.jsx(
1232
- Headless11.TransitionChild,
1230
+ Headless6.TransitionChild,
1233
1231
  {
1234
1232
  as: React11.Fragment,
1235
1233
  enter: "ease-out duration-300",
@@ -1252,7 +1250,7 @@ function Sheet({
1252
1250
  {
1253
1251
  className: isRight ? "pointer-events-none fixed inset-y-0 right-0 flex w-screen max-w-full justify-end" : "pointer-events-none fixed inset-x-0 bottom-0 flex justify-center",
1254
1252
  children: /* @__PURE__ */ jsxRuntime.jsx(
1255
- Headless11.TransitionChild,
1253
+ Headless6.TransitionChild,
1256
1254
  {
1257
1255
  as: React11.Fragment,
1258
1256
  enter: "transform transition ease-out duration-300",
@@ -1262,7 +1260,7 @@ function Sheet({
1262
1260
  leaveFrom: isRight ? "translate-x-0" : "translate-y-0",
1263
1261
  leaveTo: isRight ? "translate-x-full" : "translate-y-full",
1264
1262
  children: /* @__PURE__ */ jsxRuntime.jsxs(
1265
- Headless11.DialogPanel,
1263
+ Headless6.DialogPanel,
1266
1264
  {
1267
1265
  as: framerMotion.motion.div,
1268
1266
  ref: sheetRef,
@@ -1275,7 +1273,7 @@ function Sheet({
1275
1273
  ...!isRight ? { initial: { height: maxHeight } } : {},
1276
1274
  children: [
1277
1275
  showHandle && !isRight && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center pt-3 pb-2 cursor-grab active:cursor-grabbing", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-1 w-10 rounded-full bg-gray-400/50 dark:bg-gray-500/50" }) }),
1278
- title && /* @__PURE__ */ jsxRuntime.jsx(Headless11.DialogTitle, { className: "px-6 py-3 text-lg font-semibold text-gray-900 dark:text-white border-b border-gray-200/50 dark:border-white/10", children: title }),
1276
+ title && /* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogTitle, { className: "px-6 py-3 text-lg font-semibold text-gray-900 dark:text-white border-b border-gray-200/50 dark:border-white/10", children: title }),
1279
1277
  /* @__PURE__ */ jsxRuntime.jsx(
1280
1278
  "div",
1281
1279
  {
@@ -2640,7 +2638,7 @@ var colorClasses2 = {
2640
2638
  };
2641
2639
  function CircleSpinner({ size, color, className, ariaLabel }) {
2642
2640
  const config = sizeConfig[size];
2643
- const colors3 = colorClasses2[color];
2641
+ const colors2 = colorClasses2[color];
2644
2642
  return /* @__PURE__ */ jsxRuntime.jsx(
2645
2643
  "div",
2646
2644
  {
@@ -2648,8 +2646,8 @@ function CircleSpinner({ size, color, className, ariaLabel }) {
2648
2646
  "rounded-full animate-spin",
2649
2647
  config.size,
2650
2648
  config.border,
2651
- colors3.track,
2652
- colors3.indicator,
2649
+ colors2.track,
2650
+ colors2.indicator,
2653
2651
  className
2654
2652
  ),
2655
2653
  role: "status",
@@ -2659,7 +2657,7 @@ function CircleSpinner({ size, color, className, ariaLabel }) {
2659
2657
  }
2660
2658
  function DotsSpinner({ size, color, className, ariaLabel }) {
2661
2659
  const config = sizeConfig[size];
2662
- const colors3 = colorClasses2[color];
2660
+ const colors2 = colorClasses2[color];
2663
2661
  const dotVariants = {
2664
2662
  initial: { scale: 0.8, opacity: 0.4 },
2665
2663
  animate: { scale: 1, opacity: 1 }
@@ -2667,7 +2665,7 @@ function DotsSpinner({ size, color, className, ariaLabel }) {
2667
2665
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx.clsx("flex items-center gap-1", className), role: "status", "aria-label": ariaLabel, children: [0, 1, 2].map((index) => /* @__PURE__ */ jsxRuntime.jsx(
2668
2666
  framerMotion.motion.div,
2669
2667
  {
2670
- className: clsx.clsx("rounded-full", colors3.dot),
2668
+ className: clsx.clsx("rounded-full", colors2.dot),
2671
2669
  style: {
2672
2670
  width: config.dotSize,
2673
2671
  height: config.dotSize
@@ -2687,12 +2685,12 @@ function DotsSpinner({ size, color, className, ariaLabel }) {
2687
2685
  }
2688
2686
  function PulseSpinner({ size, color, className, ariaLabel }) {
2689
2687
  const config = sizeConfig[size];
2690
- const colors3 = colorClasses2[color];
2688
+ const colors2 = colorClasses2[color];
2691
2689
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx.clsx("relative", config.size, className), role: "status", "aria-label": ariaLabel, children: [
2692
2690
  /* @__PURE__ */ jsxRuntime.jsx(
2693
2691
  framerMotion.motion.div,
2694
2692
  {
2695
- className: clsx.clsx("absolute inset-0 rounded-full", colors3.dot),
2693
+ className: clsx.clsx("absolute inset-0 rounded-full", colors2.dot),
2696
2694
  animate: {
2697
2695
  scale: [1, 1.5, 1],
2698
2696
  opacity: [0.7, 0, 0.7]
@@ -2704,7 +2702,7 @@ function PulseSpinner({ size, color, className, ariaLabel }) {
2704
2702
  }
2705
2703
  }
2706
2704
  ),
2707
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx.clsx("absolute inset-0 rounded-full", colors3.dot) })
2705
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx.clsx("absolute inset-0 rounded-full", colors2.dot) })
2708
2706
  ] });
2709
2707
  }
2710
2708
  function Spinner({
@@ -2935,10 +2933,10 @@ function TagBadge({
2935
2933
  value,
2936
2934
  size = "sm",
2937
2935
  className = "",
2938
- styles: styles3 = {},
2936
+ styles: styles2 = {},
2939
2937
  fallbackStyle = DEFAULT_FALLBACK_STYLE
2940
2938
  }) {
2941
- const style = styles3[value] ?? fallbackStyle;
2939
+ const style = styles2[value] ?? fallbackStyle;
2942
2940
  const sizeClass = SIZE_CLASSES[size];
2943
2941
  return /* @__PURE__ */ jsxRuntime.jsx(
2944
2942
  "span",
@@ -3016,7 +3014,7 @@ function SegmentedControl({
3016
3014
  (seg) => typeof seg === "string" ? { value: seg, label: seg } : seg
3017
3015
  );
3018
3016
  const selectedIndex = normalizedSegments.findIndex((seg) => seg.value === value);
3019
- const styles3 = sizeStyles2[size];
3017
+ const styles2 = sizeStyles2[size];
3020
3018
  React11.useEffect(() => {
3021
3019
  if (containerRef.current && selectedIndex >= 0) {
3022
3020
  const container = containerRef.current;
@@ -3044,7 +3042,7 @@ function SegmentedControl({
3044
3042
  className: `
3045
3043
  relative inline-flex items-center rounded-xl
3046
3044
  bg-gray-100 dark:bg-gray-800
3047
- ${styles3.container}
3045
+ ${styles2.container}
3048
3046
  ${fullWidth ? "w-full" : ""}
3049
3047
  ${disabled ? "opacity-50 pointer-events-none" : ""}
3050
3048
  `,
@@ -3071,7 +3069,7 @@ function SegmentedControl({
3071
3069
  className: `
3072
3070
  relative z-10 flex items-center justify-center gap-1.5
3073
3071
  font-medium rounded-lg transition-colors duration-150
3074
- ${styles3.segment}
3072
+ ${styles2.segment}
3075
3073
  ${fullWidth ? "flex-1" : ""}
3076
3074
  ${isSelected ? "text-gray-900 dark:text-white" : "text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300"}
3077
3075
  `,
@@ -3130,7 +3128,7 @@ function PageIndicator({
3130
3128
  }) {
3131
3129
  const t = nextIntl.useTranslations("common");
3132
3130
  const { dot, gap } = sizeConfig2[size];
3133
- const colors3 = variantConfig[variant];
3131
+ const colors2 = variantConfig[variant];
3134
3132
  const handleClick = (index) => {
3135
3133
  if (onChange && index !== active) {
3136
3134
  chunkUZ3CMNUJ_js.triggerHaptic("light");
@@ -3157,7 +3155,7 @@ function PageIndicator({
3157
3155
  className: `
3158
3156
  rounded-full transition-colors duration-200
3159
3157
  ${onChange ? "cursor-pointer" : "cursor-default"}
3160
- ${isActive ? colors3.active : colors3.inactive}
3158
+ ${isActive ? colors2.active : colors2.inactive}
3161
3159
  `,
3162
3160
  style: {
3163
3161
  width: dot,
@@ -3188,7 +3186,7 @@ function ExpandingPageIndicator({
3188
3186
  activeWidth = 24
3189
3187
  }) {
3190
3188
  const t = nextIntl.useTranslations("common");
3191
- const colors3 = variantConfig[variant];
3189
+ const colors2 = variantConfig[variant];
3192
3190
  const handleClick = (index) => {
3193
3191
  if (onChange && index !== active) {
3194
3192
  chunkUZ3CMNUJ_js.triggerHaptic("light");
@@ -3214,7 +3212,7 @@ function ExpandingPageIndicator({
3214
3212
  className: `
3215
3213
  h-2 rounded-full transition-colors duration-200
3216
3214
  ${onChange ? "cursor-pointer" : "cursor-default"}
3217
- ${isActive ? colors3.active : colors3.inactive}
3215
+ ${isActive ? colors2.active : colors2.inactive}
3218
3216
  `,
3219
3217
  animate: {
3220
3218
  width: isActive ? activeWidth : 8,
@@ -4910,7 +4908,7 @@ function DynamicIslandNotification({
4910
4908
  position = "right"
4911
4909
  }) {
4912
4910
  const [state, setState] = React11.useState("idle");
4913
- const styles3 = variantStyles[variant];
4911
+ const styles2 = variantStyles[variant];
4914
4912
  React11.useEffect(() => {
4915
4913
  if (show) {
4916
4914
  setState("expanded");
@@ -4935,12 +4933,12 @@ function DynamicIslandNotification({
4935
4933
  position,
4936
4934
  idleContent: (
4937
4935
  // Idle: Colored icon pill
4938
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center", children: icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-6 w-6 rounded-full ${styles3.iconBg} flex items-center justify-center`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 text-white", children: icon }) }) })
4936
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center", children: icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-6 w-6 rounded-full ${styles2.iconBg} flex items-center justify-center`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 text-white", children: icon }) }) })
4939
4937
  ),
4940
4938
  compactContent: (
4941
4939
  // Compact: Colored icon + title + message preview
4942
4940
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 px-4 w-full", children: [
4943
- icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-8 w-8 rounded-full ${styles3.iconBg} flex items-center justify-center shrink-0`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-5 w-5 text-white", children: icon }) }),
4941
+ icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-8 w-8 rounded-full ${styles2.iconBg} flex items-center justify-center shrink-0`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-5 w-5 text-white", children: icon }) }),
4944
4942
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
4945
4943
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-semibold truncate", children: title }),
4946
4944
  message && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-gray-400 truncate", children: message })
@@ -4950,9 +4948,9 @@ function DynamicIslandNotification({
4950
4948
  expandedContent: (
4951
4949
  // Expanded: Full notification with colored icon background
4952
4950
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex items-center gap-4 px-5 w-full h-full`, children: [
4953
- icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-14 w-14 rounded-2xl ${styles3.iconBg} flex items-center justify-center shrink-0 ${styles3.glow}`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-8 w-8 text-white", children: icon }) }),
4951
+ icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-14 w-14 rounded-2xl ${styles2.iconBg} flex items-center justify-center shrink-0 ${styles2.glow}`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-8 w-8 text-white", children: icon }) }),
4954
4952
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
4955
- appName && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `text-[11px] uppercase tracking-wide font-medium ${styles3.accentColor}`, children: appName }),
4953
+ appName && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `text-[11px] uppercase tracking-wide font-medium ${styles2.accentColor}`, children: appName }),
4956
4954
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[15px] font-semibold leading-tight", children: title }),
4957
4955
  message && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[13px] text-gray-400 mt-0.5 truncate", children: message })
4958
4956
  ] })
@@ -5414,9 +5412,9 @@ function GlassModal({
5414
5412
  panelClassName = "rounded-[2rem]",
5415
5413
  contentClassName = "fixed inset-0 flex items-center justify-center overflow-y-auto p-3 sm:p-5 lg:p-6"
5416
5414
  }) {
5417
- return /* @__PURE__ */ jsxRuntime.jsxs(Headless11.Dialog, { open, onClose, className: "relative z-50", children: [
5418
- /* @__PURE__ */ jsxRuntime.jsx(Headless11.DialogBackdrop, { className: "fixed inset-0 bg-slate-900/40 backdrop-blur-md dark:bg-black/50" }),
5419
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: contentClassName, children: /* @__PURE__ */ jsxRuntime.jsx(Headless11.DialogPanel, { className: panelClassName, children }) })
5415
+ return /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Dialog, { open, onClose, className: "relative z-50", children: [
5416
+ /* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogBackdrop, { className: "fixed inset-0 bg-slate-900/40 backdrop-blur-md dark:bg-black/50" }),
5417
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: contentClassName, children: /* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogPanel, { className: panelClassName, children }) })
5420
5418
  ] });
5421
5419
  }
5422
5420
  function Text({ className, ...props }) {
@@ -5473,16 +5471,16 @@ function Dialog4({
5473
5471
  children,
5474
5472
  ...props
5475
5473
  }) {
5476
- return /* @__PURE__ */ jsxRuntime.jsxs(Headless11__namespace.Dialog, { ...props, children: [
5474
+ return /* @__PURE__ */ jsxRuntime.jsxs(Headless6__namespace.Dialog, { ...props, children: [
5477
5475
  /* @__PURE__ */ jsxRuntime.jsx(
5478
- Headless11__namespace.DialogBackdrop,
5476
+ Headless6__namespace.DialogBackdrop,
5479
5477
  {
5480
5478
  transition: true,
5481
5479
  className: "fixed inset-0 flex w-screen justify-center overflow-y-auto bg-zinc-950/25 px-2 py-2 transition duration-100 focus:outline-0 data-closed:opacity-0 data-enter:ease-out data-leave:ease-in sm:px-6 sm:py-8 lg:px-8 lg:py-16 dark:bg-zinc-950/50"
5482
5480
  }
5483
5481
  ),
5484
5482
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 w-screen overflow-y-auto pt-6 sm:pt-0", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid min-h-full grid-rows-[1fr_auto] justify-items-center sm:grid-rows-[1fr_auto_3fr] sm:p-4", children: /* @__PURE__ */ jsxRuntime.jsx(
5485
- Headless11__namespace.DialogPanel,
5483
+ Headless6__namespace.DialogPanel,
5486
5484
  {
5487
5485
  transition: true,
5488
5486
  className: clsx__default.default(
@@ -5501,7 +5499,7 @@ function DialogTitle3({
5501
5499
  ...props
5502
5500
  }) {
5503
5501
  return /* @__PURE__ */ jsxRuntime.jsx(
5504
- Headless11__namespace.DialogTitle,
5502
+ Headless6__namespace.DialogTitle,
5505
5503
  {
5506
5504
  ...props,
5507
5505
  className: clsx__default.default(
@@ -5516,7 +5514,7 @@ function DialogDescription({
5516
5514
  ...props
5517
5515
  }) {
5518
5516
  return /* @__PURE__ */ jsxRuntime.jsx(
5519
- Headless11__namespace.Description,
5517
+ Headless6__namespace.Description,
5520
5518
  {
5521
5519
  as: Text,
5522
5520
  ...props,
@@ -5853,9 +5851,9 @@ function CopyableId({ id, copyValue, label, className }) {
5853
5851
  );
5854
5852
  }
5855
5853
  function CardActionMenu({ items }) {
5856
- return /* @__PURE__ */ jsxRuntime.jsxs(Headless11.Menu, { as: "div", className: "relative", children: [
5857
- /* @__PURE__ */ jsxRuntime.jsx(Headless11.MenuButton, { className: "flex items-center rounded-full p-1 text-gray-400 transition-colors hover:text-gray-600 dark:hover:text-white", children: /* @__PURE__ */ jsxRuntime.jsx(solid.EllipsisVerticalIcon, { className: "h-5 w-5" }) }),
5858
- /* @__PURE__ */ jsxRuntime.jsx(Headless11.MenuItems, { className: "absolute right-0 z-10 mt-2 w-40 origin-top-right rounded-lg bg-white shadow-lg ring-1 ring-black/5 focus:outline-hidden dark:bg-gray-800 dark:ring-white/10", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "py-1", children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(Headless11.MenuItem, { children: ({ active }) => {
5854
+ return /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Menu, { as: "div", className: "relative", children: [
5855
+ /* @__PURE__ */ jsxRuntime.jsx(Headless6.MenuButton, { className: "flex items-center rounded-full p-1 text-gray-400 transition-colors hover:text-gray-600 dark:hover:text-white", children: /* @__PURE__ */ jsxRuntime.jsx(solid.EllipsisVerticalIcon, { className: "h-5 w-5" }) }),
5856
+ /* @__PURE__ */ jsxRuntime.jsx(Headless6.MenuItems, { className: "absolute right-0 z-10 mt-2 w-40 origin-top-right rounded-lg bg-white shadow-lg ring-1 ring-black/5 focus:outline-hidden dark:bg-gray-800 dark:ring-white/10", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "py-1", children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(Headless6.MenuItem, { children: ({ active }) => {
5859
5857
  const toneClass = item.tone === "danger" ? active ? "bg-gray-100 text-red-600 dark:bg-gray-700 dark:text-red-400" : "text-gray-700 dark:text-gray-200" : active ? "bg-gray-100 text-gray-900 dark:bg-gray-700 dark:text-white" : "text-gray-700 dark:text-gray-200";
5860
5858
  return /* @__PURE__ */ jsxRuntime.jsxs("button", { onClick: item.onSelect, className: `flex w-full items-center px-4 py-2 text-sm ${toneClass}`, children: [
5861
5859
  item.icon ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mr-3", children: item.icon }) : null,
@@ -5912,7 +5910,7 @@ function FormModal({
5912
5910
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
5913
5911
  icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-shrink-0", children: icon }),
5914
5912
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
5915
- /* @__PURE__ */ jsxRuntime.jsx(Headless11.DialogTitle, { className: "text-base sm:text-lg font-semibold text-gray-900 dark:text-white", children: title }),
5913
+ /* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogTitle, { className: "text-base sm:text-lg font-semibold text-gray-900 dark:text-white", children: title }),
5916
5914
  subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs sm:text-sm text-gray-500 dark:text-gray-400 mt-0.5", children: subtitle })
5917
5915
  ] })
5918
5916
  ] }),
@@ -5953,10 +5951,10 @@ function FormModal({
5953
5951
  )
5954
5952
  ] }) }) })
5955
5953
  ] });
5956
- return /* @__PURE__ */ jsxRuntime.jsxs(Headless11.Dialog, { open, onClose, className: "relative z-50", children: [
5954
+ return /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Dialog, { open, onClose, className: "relative z-50", children: [
5957
5955
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 bg-black/50 backdrop-blur-sm" }),
5958
5956
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-4 sm:inset-6 lg:inset-10 flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
5959
- Headless11.DialogPanel,
5957
+ Headless6.DialogPanel,
5960
5958
  {
5961
5959
  className: `liquid-surface-strong w-full h-full ${MAX_WIDTH_CLASSES[maxWidth]} flex flex-col rounded-2xl overflow-hidden`,
5962
5960
  children: onSubmit ? /* @__PURE__ */ jsxRuntime.jsx("form", { onSubmit: handleSubmit, className: "flex-1 flex flex-col overflow-hidden", children: content }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 flex flex-col overflow-hidden", children: content })
@@ -7310,9 +7308,9 @@ function SearchFilterToolbar({
7310
7308
  ),
7311
7309
  actions
7312
7310
  ] }),
7313
- !!children && onCloseFilters && /* @__PURE__ */ jsxRuntime.jsx(Headless11.Transition, { show: filtersOpen, as: React11.Fragment, children: /* @__PURE__ */ jsxRuntime.jsxs(Headless11.Dialog, { as: "div", className: "relative z-50", onClose: onCloseFilters, children: [
7311
+ !!children && onCloseFilters && /* @__PURE__ */ jsxRuntime.jsx(Headless6.Transition, { show: filtersOpen, as: React11.Fragment, children: /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Dialog, { as: "div", className: "relative z-50", onClose: onCloseFilters, children: [
7314
7312
  /* @__PURE__ */ jsxRuntime.jsx(
7315
- Headless11.TransitionChild,
7313
+ Headless6.TransitionChild,
7316
7314
  {
7317
7315
  as: React11.Fragment,
7318
7316
  enter: "ease-out duration-200",
@@ -7321,11 +7319,11 @@ function SearchFilterToolbar({
7321
7319
  leave: "ease-in duration-150",
7322
7320
  leaveFrom: "opacity-100",
7323
7321
  leaveTo: "opacity-0",
7324
- children: /* @__PURE__ */ jsxRuntime.jsx(Headless11.DialogBackdrop, { className: "fixed inset-0 bg-slate-900/35 backdrop-blur-md" })
7322
+ children: /* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogBackdrop, { className: "fixed inset-0 bg-slate-900/35 backdrop-blur-md" })
7325
7323
  }
7326
7324
  ),
7327
7325
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 overflow-y-auto p-3 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto flex min-h-full max-w-2xl items-start justify-center pt-[8vh]", children: /* @__PURE__ */ jsxRuntime.jsx(
7328
- Headless11.TransitionChild,
7326
+ Headless6.TransitionChild,
7329
7327
  {
7330
7328
  as: React11.Fragment,
7331
7329
  enter: "ease-out duration-250",
@@ -7334,7 +7332,7 @@ function SearchFilterToolbar({
7334
7332
  leave: "ease-in duration-180",
7335
7333
  leaveFrom: "opacity-100 scale-100",
7336
7334
  leaveTo: "opacity-0 scale-95",
7337
- children: /* @__PURE__ */ jsxRuntime.jsxs(Headless11.DialogPanel, { className: "liquid-surface-strong w-full overflow-hidden rounded-2xl", children: [
7335
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Headless6.DialogPanel, { className: "liquid-surface-strong w-full overflow-hidden rounded-2xl", children: [
7338
7336
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-white/30 px-5 py-4 dark:border-white/10", children: [
7339
7337
  resolvedFiltersContext ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center gap-2 text-slate-600 dark:text-white/70", children: [
7340
7338
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: resolvedFiltersContext.icon }),
@@ -8586,7 +8584,7 @@ var AvatarButton = React11.forwardRef(function AvatarButton2({
8586
8584
  if (typeof props.href === "string") {
8587
8585
  return /* @__PURE__ */ jsxRuntime.jsx(Link, { ...props, className: classes, ref, children: /* @__PURE__ */ jsxRuntime.jsx(TouchTarget, { children: /* @__PURE__ */ jsxRuntime.jsx(Avatar, { src, square, initials, alt }) }) });
8588
8586
  }
8589
- return /* @__PURE__ */ jsxRuntime.jsx(Headless11__namespace.Button, { ...props, className: classes, ref, children: /* @__PURE__ */ jsxRuntime.jsx(TouchTarget, { children: /* @__PURE__ */ jsxRuntime.jsx(Avatar, { src, square, initials, alt }) }) });
8587
+ return /* @__PURE__ */ jsxRuntime.jsx(Headless6__namespace.Button, { ...props, className: classes, ref, children: /* @__PURE__ */ jsxRuntime.jsx(TouchTarget, { children: /* @__PURE__ */ jsxRuntime.jsx(Avatar, { src, square, initials, alt }) }) });
8590
8588
  });
8591
8589
  var colors = {
8592
8590
  red: "bg-red-500/15 text-red-700 group-data-hover:bg-red-500/25 dark:bg-red-500/10 dark:text-red-400 dark:group-data-hover:bg-red-500/20",
@@ -8634,7 +8632,7 @@ React11.forwardRef(function BadgeButton2({
8634
8632
  if (typeof props.href === "string") {
8635
8633
  return /* @__PURE__ */ jsxRuntime.jsx(Link, { ...props, className: classes, ref, children: /* @__PURE__ */ jsxRuntime.jsx(TouchTarget, { children: /* @__PURE__ */ jsxRuntime.jsx(Badge, { color, children }) }) });
8636
8634
  }
8637
- return /* @__PURE__ */ jsxRuntime.jsx(Headless11__namespace.Button, { ...props, className: classes, ref, children: /* @__PURE__ */ jsxRuntime.jsx(TouchTarget, { children: /* @__PURE__ */ jsxRuntime.jsx(Badge, { color, children }) }) });
8635
+ return /* @__PURE__ */ jsxRuntime.jsx(Headless6__namespace.Button, { ...props, className: classes, ref, children: /* @__PURE__ */ jsxRuntime.jsx(TouchTarget, { children: /* @__PURE__ */ jsxRuntime.jsx(Badge, { color, children }) }) });
8638
8636
  });
8639
8637
  function Breadcrumb({ pages, actions, centerContent, dashboardPath = "/dashboard" }) {
8640
8638
  const t = nextIntl.useTranslations("common");
@@ -8806,7 +8804,7 @@ function Divider({
8806
8804
  );
8807
8805
  }
8808
8806
  function Dropdown(props) {
8809
- return /* @__PURE__ */ jsxRuntime.jsx(Headless11__namespace.Menu, { ...props });
8807
+ return /* @__PURE__ */ jsxRuntime.jsx(Headless6__namespace.Menu, { ...props });
8810
8808
  }
8811
8809
  function DynamicIslandConfirm({
8812
8810
  open,
@@ -8826,9 +8824,9 @@ function DynamicIslandConfirm({
8826
8824
  chunkUZ3CMNUJ_js.triggerHaptic("warning");
8827
8825
  }
8828
8826
  }, [open]);
8829
- return /* @__PURE__ */ jsxRuntime.jsxs(Headless11.Dialog, { open, onClose, className: "relative z-[120]", children: [
8827
+ return /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Dialog, { open, onClose, className: "relative z-[120]", children: [
8830
8828
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 bg-black/10 backdrop-blur-[2px]" }),
8831
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 flex items-start justify-center pt-3 px-4", children: /* @__PURE__ */ jsxRuntime.jsxs(Headless11.DialogPanel, { className: "w-full max-w-sm rounded-[28px] bg-black/95 p-3 text-white shadow-2xl", children: [
8829
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 flex items-start justify-center pt-3 px-4", children: /* @__PURE__ */ jsxRuntime.jsxs(Headless6.DialogPanel, { className: "w-full max-w-sm rounded-[28px] bg-black/95 p-3 text-white shadow-2xl", children: [
8832
8830
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 px-2 py-1", children: [
8833
8831
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-9 w-9 shrink-0 rounded-xl ${iconBackground} flex items-center justify-center`, children: icon ?? /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.TrashIcon, { className: "h-5 w-5 text-white" }) }),
8834
8832
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
@@ -8868,9 +8866,9 @@ function FlyoutMenu({
8868
8866
  maxWidthClassName = "max-w-4xl",
8869
8867
  panelClassName
8870
8868
  }) {
8871
- return /* @__PURE__ */ jsxRuntime.jsxs(Headless11.Dialog, { open, onClose, className: "relative z-50", children: [
8872
- /* @__PURE__ */ jsxRuntime.jsx(Headless11.DialogBackdrop, { className: "fixed inset-0 bg-slate-900/35 backdrop-blur-sm dark:bg-black/45" }),
8873
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 flex items-start justify-center p-2 pt-[max(2.75rem,env(safe-area-inset-top))] sm:p-4 sm:pt-20", children: /* @__PURE__ */ jsxRuntime.jsx(Headless11.DialogPanel, { className: `w-screen ${maxWidthClassName} ${panelClassName ?? defaultPanelClassName}`, children: title ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-4", children: [
8869
+ return /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Dialog, { open, onClose, className: "relative z-50", children: [
8870
+ /* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogBackdrop, { className: "fixed inset-0 bg-slate-900/35 backdrop-blur-sm dark:bg-black/45" }),
8871
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 flex items-start justify-center p-2 pt-[max(2.75rem,env(safe-area-inset-top))] sm:p-4 sm:pt-20", children: /* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogPanel, { className: `w-screen ${maxWidthClassName} ${panelClassName ?? defaultPanelClassName}`, children: title ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-4", children: [
8874
8872
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3 flex items-center justify-center", children: title }),
8875
8873
  children
8876
8874
  ] }) : children }) })
@@ -9077,9 +9075,9 @@ function LanguageSwitcher({
9077
9075
  ]
9078
9076
  }
9079
9077
  ),
9080
- /* @__PURE__ */ jsxRuntime.jsxs(Headless11.Dialog, { className: "relative z-50", open, onClose: setOpen, children: [
9081
- /* @__PURE__ */ jsxRuntime.jsx(Headless11.DialogBackdrop, { className: "fixed inset-0 bg-slate-900/35 backdrop-blur-sm" }),
9082
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 z-50 grid place-items-center p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(Headless11.DialogPanel, { className: "w-full max-w-md liquid-surface rounded-2xl border border-white/45 p-4 dark:border-white/12", children: [
9078
+ /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Dialog, { className: "relative z-50", open, onClose: setOpen, children: [
9079
+ /* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogBackdrop, { className: "fixed inset-0 bg-slate-900/35 backdrop-blur-sm" }),
9080
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 z-50 grid place-items-center p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(Headless6.DialogPanel, { className: "w-full max-w-md liquid-surface rounded-2xl border border-white/45 p-4 dark:border-white/12", children: [
9083
9081
  /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-3 text-sm font-semibold uppercase tracking-wide text-slate-600 dark:text-slate-300", children: changeLanguageLabel }),
9084
9082
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-4 gap-2", children: languages.map((language) => {
9085
9083
  const selected = currentLocale === language.code;
@@ -9847,7 +9845,7 @@ function Fieldset2({
9847
9845
  ...props
9848
9846
  }) {
9849
9847
  return /* @__PURE__ */ jsxRuntime.jsx(
9850
- Headless11__namespace.Fieldset,
9848
+ Headless6__namespace.Fieldset,
9851
9849
  {
9852
9850
  ...props,
9853
9851
  className: clsx__default.default(
@@ -9862,7 +9860,7 @@ function Legend2({
9862
9860
  ...props
9863
9861
  }) {
9864
9862
  return /* @__PURE__ */ jsxRuntime.jsx(
9865
- Headless11__namespace.Legend,
9863
+ Headless6__namespace.Legend,
9866
9864
  {
9867
9865
  "data-slot": "legend",
9868
9866
  ...props,
@@ -9891,7 +9889,7 @@ function Field2({
9891
9889
  ...props
9892
9890
  }) {
9893
9891
  return /* @__PURE__ */ jsxRuntime.jsx(
9894
- Headless11__namespace.Field,
9892
+ Headless6__namespace.Field,
9895
9893
  {
9896
9894
  ...props,
9897
9895
  className: clsx__default.default(
@@ -9911,7 +9909,7 @@ function Label2({
9911
9909
  ...props
9912
9910
  }) {
9913
9911
  return /* @__PURE__ */ jsxRuntime.jsx(
9914
- Headless11__namespace.Label,
9912
+ Headless6__namespace.Label,
9915
9913
  {
9916
9914
  "data-slot": "label",
9917
9915
  ...props,
@@ -9927,7 +9925,7 @@ function Description4({
9927
9925
  ...props
9928
9926
  }) {
9929
9927
  return /* @__PURE__ */ jsxRuntime.jsx(
9930
- Headless11__namespace.Description,
9928
+ Headless6__namespace.Description,
9931
9929
  {
9932
9930
  "data-slot": "description",
9933
9931
  ...props,
@@ -9943,7 +9941,7 @@ function ErrorMessage({
9943
9941
  ...props
9944
9942
  }) {
9945
9943
  return /* @__PURE__ */ jsxRuntime.jsx(
9946
- Headless11__namespace.Description,
9944
+ Headless6__namespace.Description,
9947
9945
  {
9948
9946
  "data-slot": "error",
9949
9947
  ...props,
@@ -9959,7 +9957,7 @@ var Textarea = React11__namespace.forwardRef(({ className, ...props }, ref) => {
9959
9957
  "textarea",
9960
9958
  {
9961
9959
  className: clsx__default.default(
9962
- "flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
9960
+ "flex min-h-[80px] w-full rounded-xl liquid-surface border border-white/50 dark:border-white/10 px-3 py-2.5 text-sm text-slate-900 dark:text-white outline-none placeholder:text-slate-400 dark:placeholder:text-slate-500 focus-visible:ring-2 focus-visible:ring-indigo-500 focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50",
9963
9961
  className
9964
9962
  ),
9965
9963
  ref,
@@ -11488,14 +11486,14 @@ function UserAvatar({
11488
11486
  const initial = user?.name?.[0]?.toUpperCase() || defaultUser[0];
11489
11487
  const displayName = user?.name || defaultUser;
11490
11488
  const email = user?.email || defaultEmail;
11491
- return /* @__PURE__ */ jsxRuntime.jsxs(Headless11.Menu, { as: "div", className: `relative ${className}`, children: [
11492
- /* @__PURE__ */ jsxRuntime.jsxs(Headless11.MenuButton, { className: "relative flex max-w-xs items-center rounded-full focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white", children: [
11489
+ return /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Menu, { as: "div", className: `relative ${className}`, children: [
11490
+ /* @__PURE__ */ jsxRuntime.jsxs(Headless6.MenuButton, { className: "relative flex max-w-xs items-center rounded-full focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white", children: [
11493
11491
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute -inset-1.5" }),
11494
11492
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: openMenu }),
11495
11493
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "size-8 rounded-full bg-indigo-500 flex items-center justify-center text-white font-medium", children: initial })
11496
11494
  ] }),
11497
11495
  /* @__PURE__ */ jsxRuntime.jsxs(
11498
- Headless11.MenuItems,
11496
+ Headless6.MenuItems,
11499
11497
  {
11500
11498
  transition: true,
11501
11499
  className: "absolute right-0 z-10 mt-2 w-48 origin-top-right rounded-md bg-white py-1 shadow-lg outline-1 outline-black/5 transition data-[closed]:scale-95 data-[closed]:opacity-0 data-[enter]:duration-100 data-[enter]:ease-out data-[leave]:duration-75 data-[leave]:ease-in dark:bg-gray-800 dark:shadow-none dark:-outline-offset-1 dark:outline-white/10",
@@ -11504,7 +11502,7 @@ function UserAvatar({
11504
11502
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white truncate", children: displayName }),
11505
11503
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 truncate", children: email })
11506
11504
  ] }),
11507
- menuItems.map((item) => /* @__PURE__ */ jsxRuntime.jsx(Headless11.MenuItem, { children: /* @__PURE__ */ jsxRuntime.jsx(
11505
+ menuItems.map((item) => /* @__PURE__ */ jsxRuntime.jsx(Headless6.MenuItem, { children: /* @__PURE__ */ jsxRuntime.jsx(
11508
11506
  "a",
11509
11507
  {
11510
11508
  href: item.href,
@@ -11721,11 +11719,11 @@ function GeoMapCanvasInner({
11721
11719
  return `rgba(${r}, ${g}, ${b}, 0.25)`;
11722
11720
  };
11723
11721
  const lighterColors = React11.useMemo(() => {
11724
- const colors3 = /* @__PURE__ */ new Map();
11722
+ const colors2 = /* @__PURE__ */ new Map();
11725
11723
  regionColorMap.forEach((color, code) => {
11726
- colors3.set(code, getLighterColor(color));
11724
+ colors2.set(code, getLighterColor(color));
11727
11725
  });
11728
- return colors3;
11726
+ return colors2;
11729
11727
  }, [regionColorMap]);
11730
11728
  const featureCollection = React11.useMemo(() => {
11731
11729
  if (!geoData) return null;
@@ -12572,1471 +12570,108 @@ var getUsGradient = (state, direction) => getSubdivisionGradient("US", state, di
12572
12570
  var getUsColors = (state) => getSubdivisionColors("US", state);
12573
12571
  var getUsAccent = (state) => getSubdivisionAccent("US", state);
12574
12572
  var isValidUsState = (state) => isValidSubdivision("US", state);
12575
- var Link4 = React11.forwardRef(function Link5(props, ref) {
12576
- return /* @__PURE__ */ jsxRuntime.jsx(NextLink__default.default, { ref, ...props });
12577
- });
12578
- var styles2 = {
12579
- base: [
12580
- "relative inline-flex items-center justify-center gap-x-2 rounded-lg border text-sm font-semibold",
12581
- "px-3.5 py-2.5 transition-colors",
12582
- "focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-indigo-400 dark:focus:ring-offset-zinc-900",
12583
- "disabled:opacity-50 disabled:pointer-events-none",
12584
- "[&>svg]:size-4 [&>svg]:shrink-0"
12585
- ],
12586
- solid: ["border-transparent shadow-sm"],
12587
- outline: [
12588
- "border-zinc-300 bg-transparent hover:bg-zinc-50 text-zinc-900",
12589
- "dark:border-zinc-600 dark:hover:bg-zinc-800 dark:text-zinc-100"
12590
- ],
12591
- plain: [
12592
- "border-transparent text-zinc-700 hover:bg-zinc-100",
12593
- "dark:text-zinc-300 dark:hover:bg-zinc-800"
12594
- ],
12595
- colors: {
12596
- "dark/zinc": ["bg-zinc-900 text-white hover:bg-zinc-800"],
12597
- light: [
12598
- "bg-white text-zinc-900 hover:bg-zinc-50 dark:bg-zinc-800 dark:text-white dark:hover:bg-zinc-700"
12599
- ],
12600
- "dark/white": [
12601
- "bg-zinc-900 text-white hover:bg-zinc-800 dark:bg-white dark:text-zinc-900 dark:hover:bg-zinc-100"
12602
- ],
12603
- dark: ["bg-zinc-900 text-white hover:bg-zinc-800"],
12604
- white: ["bg-white text-zinc-900 hover:bg-zinc-50"],
12605
- zinc: ["bg-zinc-600 text-white hover:bg-zinc-700"],
12606
- indigo: ["bg-indigo-500 text-white hover:bg-indigo-600"],
12607
- cyan: ["bg-cyan-300 text-cyan-950 hover:bg-cyan-400"],
12608
- red: ["bg-red-600 text-white hover:bg-red-700"],
12609
- orange: ["bg-orange-500 text-white hover:bg-orange-600"],
12610
- amber: ["bg-amber-400 text-amber-950 hover:bg-amber-500"],
12611
- yellow: ["bg-yellow-300 text-yellow-950 hover:bg-yellow-400"],
12612
- lime: ["bg-lime-300 text-lime-950 hover:bg-lime-400"],
12613
- green: ["bg-green-600 text-white hover:bg-green-700"],
12614
- emerald: ["bg-emerald-600 text-white hover:bg-emerald-700"],
12615
- teal: ["bg-teal-600 text-white hover:bg-teal-700"],
12616
- sky: ["bg-sky-500 text-white hover:bg-sky-600"],
12617
- blue: ["bg-blue-600 text-white hover:bg-blue-700"],
12618
- brand: ["bg-brand-600 text-white hover:bg-brand-700"],
12619
- accent: ["bg-accent text-accent-foreground hover:bg-accent/90"],
12620
- violet: ["bg-violet-500 text-white hover:bg-violet-600"],
12621
- purple: ["bg-purple-500 text-white hover:bg-purple-600"],
12622
- fuchsia: ["bg-fuchsia-500 text-white hover:bg-fuchsia-600"],
12623
- pink: ["bg-pink-500 text-white hover:bg-pink-600"],
12624
- rose: ["bg-rose-500 text-white hover:bg-rose-600"]
12625
- }
12626
- };
12627
- var Button6 = React11.forwardRef(function Button7({
12628
- color,
12629
- outline,
12630
- plain,
12631
- className,
12632
- children,
12633
- loading,
12634
- "aria-label": ariaLabel,
12635
- "aria-describedby": ariaDescribedBy,
12636
- "aria-busy": ariaBusy,
12637
- ...props
12638
- }, ref) {
12639
- const classes = clsx__default.default(
12640
- className,
12641
- styles2.base,
12642
- outline ? styles2.outline : plain ? styles2.plain : clsx__default.default(styles2.solid, styles2.colors[color ?? "brand"])
12643
- );
12644
- const accessibilityProps = {
12645
- "aria-label": ariaLabel,
12646
- "aria-describedby": ariaDescribedBy,
12647
- "aria-busy": ariaBusy || loading,
12648
- ...loading && { disabled: true }
12649
- };
12650
- return "href" in props ? /* @__PURE__ */ jsxRuntime.jsx(
12651
- Link4,
12652
- {
12653
- ...props,
12654
- ...accessibilityProps,
12655
- className: classes,
12656
- ref,
12657
- children: /* @__PURE__ */ jsxRuntime.jsxs(TouchTarget2, { children: [
12658
- loading && /* @__PURE__ */ jsxRuntime.jsx(
12659
- "span",
12660
- {
12661
- className: "animate-spin inline-block size-4 border-2 border-current border-t-transparent rounded-full mr-2",
12662
- "aria-hidden": "true"
12663
- }
12664
- ),
12665
- children
12666
- ] })
12667
- }
12668
- ) : /* @__PURE__ */ jsxRuntime.jsx(
12669
- Headless11__namespace.Button,
12670
- {
12671
- ...props,
12672
- ...accessibilityProps,
12673
- className: classes,
12674
- ref,
12675
- children: /* @__PURE__ */ jsxRuntime.jsxs(TouchTarget2, { children: [
12676
- loading && /* @__PURE__ */ jsxRuntime.jsx(
12677
- "span",
12678
- {
12679
- className: "animate-spin inline-block size-4 border-2 border-current border-t-transparent rounded-full mr-2",
12680
- "aria-hidden": "true"
12681
- }
12682
- ),
12683
- children
12684
- ] })
12685
- }
12686
- );
12687
- });
12688
- function TouchTarget2({ children }) {
12689
- return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
12690
- /* @__PURE__ */ jsxRuntime.jsx(
12691
- "span",
12692
- {
12693
- className: "absolute top-1/2 left-1/2 size-[max(100%,2.75rem)] -translate-x-1/2 -translate-y-1/2 pointer-fine:hidden",
12694
- "aria-hidden": "true"
12695
- }
12696
- ),
12697
- children
12698
- ] });
12699
- }
12700
- function InputGroup({
12701
- children
12702
- }) {
12703
- return /* @__PURE__ */ jsxRuntime.jsx(
12704
- "span",
12705
- {
12706
- "data-slot": "control",
12707
- className: clsx__default.default(
12708
- "relative isolate block",
12709
- "has-[[data-slot=icon]:first-child]:[&_input]:pl-10 has-[[data-slot=icon]:last-child]:[&_input]:pr-10 sm:has-[[data-slot=icon]:first-child]:[&_input]:pl-8 sm:has-[[data-slot=icon]:last-child]:[&_input]:pr-8",
12710
- "*:data-[slot=icon]:pointer-events-none *:data-[slot=icon]:absolute *:data-[slot=icon]:top-3 *:data-[slot=icon]:z-10 *:data-[slot=icon]:size-5 sm:*:data-[slot=icon]:top-2.5 sm:*:data-[slot=icon]:size-4",
12711
- "[&>[data-slot=icon]:first-child]:left-3 sm:[&>[data-slot=icon]:first-child]:left-2.5 [&>[data-slot=icon]:last-child]:right-3 sm:[&>[data-slot=icon]:last-child]:right-2.5",
12712
- "*:data-[slot=icon]:text-zinc-500"
12713
- ),
12714
- children
12715
- }
12716
- );
12717
- }
12718
- var dateTypes = ["date", "datetime-local", "month", "time", "week"];
12719
- var Input3 = React11.forwardRef(function Input4({
12720
- className,
12721
- "aria-label": ariaLabel,
12722
- "aria-describedby": ariaDescribedBy,
12723
- "aria-invalid": ariaInvalid,
12724
- "aria-required": ariaRequired,
12725
- required,
12726
- invalid,
12727
- ...props
12728
- }, ref) {
12729
- return /* @__PURE__ */ jsxRuntime.jsx(
12730
- "span",
12731
- {
12732
- "data-slot": "control",
12733
- className: clsx__default.default([
12734
- className,
12735
- // Basic layout
12736
- "relative block w-full",
12737
- // Focus ring
12738
- "after:pointer-events-none after:absolute after:inset-0 after:rounded-lg after:ring-transparent after:ring-inset sm:focus-within:after:ring-2 sm:focus-within:after:ring-blue-500",
12739
- // Disabled state
12740
- "has-data-disabled:opacity-50"
12741
- ]),
12742
- children: /* @__PURE__ */ jsxRuntime.jsx(
12743
- Headless11__namespace.Input,
12744
- {
12745
- ref,
12746
- ...props,
12747
- "aria-label": ariaLabel,
12748
- "aria-describedby": ariaDescribedBy,
12749
- "aria-invalid": ariaInvalid || invalid,
12750
- "aria-required": ariaRequired || required,
12751
- style: {
12752
- ...props.style,
12753
- // Override autofill with CSS custom properties
12754
- "--autofill-bg": "white",
12755
- "--autofill-color": "black"
12756
- },
12757
- className: clsx__default.default([
12758
- // Date classes
12759
- props.type && dateTypes.includes(props.type) && [
12760
- "[&::-webkit-datetime-edit-fields-wrapper]:p-0",
12761
- "[&::-webkit-date-and-time-value]:min-h-[1.5em]",
12762
- "[&::-webkit-datetime-edit]:inline-flex",
12763
- "[&::-webkit-datetime-edit]:p-0",
12764
- "[&::-webkit-datetime-edit-year-field]:p-0",
12765
- "[&::-webkit-datetime-edit-month-field]:p-0",
12766
- "[&::-webkit-datetime-edit-day-field]:p-0",
12767
- "[&::-webkit-datetime-edit-hour-field]:p-0",
12768
- "[&::-webkit-datetime-edit-minute-field]:p-0",
12769
- "[&::-webkit-datetime-edit-second-field]:p-0",
12770
- "[&::-webkit-datetime-edit-millisecond-field]:p-0",
12771
- "[&::-webkit-datetime-edit-meridiem-field]:p-0"
12772
- ],
12773
- // Basic layout
12774
- "relative block w-full appearance-none rounded-lg px-3.5 py-2.5 sm:px-3 sm:py-1.5",
12775
- // Typography
12776
- "text-base/6 text-zinc-950 dark:text-zinc-100 placeholder:text-zinc-500 dark:placeholder:text-zinc-400 sm:text-sm/6",
12777
- // Border
12778
- "border border-zinc-950/10 data-hover:border-zinc-950/20 dark:border-white/10 dark:data-hover:border-white/20",
12779
- // Background color
12780
- "bg-transparent dark:bg-white/5",
12781
- // Hide default focus styles
12782
- "focus:outline-none",
12783
- // Invalid state
12784
- "data-invalid:border-red-500 data-invalid:data-hover:border-red-500 dark:data-invalid:border-red-500 dark:data-invalid:data-hover:border-red-500",
12785
- // Disabled state
12786
- "data-disabled:border-zinc-950/20 dark:data-disabled:border-white/15 dark:data-disabled:bg-white/2.5 dark:data-hover:data-disabled:border-white/15",
12787
- // System icons
12788
- "dark:scheme-dark",
12789
- // Autofill override styles
12790
- "[&:-webkit-autofill]:!shadow-[inset_0_0_0_1000px_white] [&:-webkit-autofill]:!text-black",
12791
- "[&:-webkit-autofill:hover]:!shadow-[inset_0_0_0_1000px_white] [&:-webkit-autofill:hover]:!text-black",
12792
- "[&:-webkit-autofill:focus]:!shadow-[inset_0_0_0_1000px_white] [&:-webkit-autofill:focus]:!text-black",
12793
- "[&:-webkit-autofill:active]:!shadow-[inset_0_0_0_1000px_white] [&:-webkit-autofill:active]:!text-black",
12794
- "dark:[&:-webkit-autofill]:!shadow-[inset_0_0_0_1000px_rgb(24,24,27)] dark:[&:-webkit-autofill]:!text-zinc-200",
12795
- "dark:[&:-webkit-autofill:hover]:!shadow-[inset_0_0_0_1000px_rgb(24,24,27)] dark:[&:-webkit-autofill:hover]:!text-zinc-200",
12796
- "dark:[&:-webkit-autofill:focus]:!shadow-[inset_0_0_0_1000px_rgb(24,24,27)] dark:[&:-webkit-autofill:focus]:!text-zinc-200",
12797
- "dark:[&:-webkit-autofill:active]:!shadow-[inset_0_0_0_1000px_rgb(24,24,27)] dark:[&:-webkit-autofill:active]:!text-zinc-200"
12798
- ])
12799
- }
12800
- )
12801
- }
12802
- );
12803
- });
12804
- var SelectContent = ({ children }) => /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
12805
- var SelectItem = ({
12806
- children,
12807
- value
12808
- }) => /* @__PURE__ */ jsxRuntime.jsx("option", { value, children });
12809
- var SelectTrigger = ({
12810
- children,
12811
- className
12812
- }) => /* @__PURE__ */ jsxRuntime.jsx("div", { className, children });
12813
- var SelectValue = ({ placeholder }) => /* @__PURE__ */ jsxRuntime.jsx("span", { children: placeholder });
12814
- React11.forwardRef(function Select4({
12815
- className,
12816
- multiple,
12817
- ...props
12818
- }, ref) {
12819
- return /* @__PURE__ */ jsxRuntime.jsxs(
12820
- "span",
12821
- {
12822
- "data-slot": "control",
12823
- className: clsx__default.default([
12824
- className,
12825
- // Basic layout
12826
- "group relative block w-full",
12827
- // Background color + shadow applied to inset pseudo element, so shadow blends with border in light mode
12828
- "before:absolute before:inset-px before:rounded-lg before:bg-white before:shadow-sm",
12829
- // Background color is moved to control and shadow is removed in dark mode so hide `before` pseudo
12830
- "dark:before:hidden",
12831
- // Focus ring
12832
- "after:pointer-events-none after:absolute after:inset-0 after:rounded-lg after:ring-transparent after:ring-inset has-data-focus:after:ring-2 has-data-focus:after:ring-blue-500",
12833
- // Disabled state
12834
- "has-data-disabled:opacity-50 has-data-disabled:before:bg-zinc-950/5 has-data-disabled:before:shadow-none"
12835
- ]),
12836
- children: [
12837
- /* @__PURE__ */ jsxRuntime.jsx(
12838
- Headless11__namespace.Select,
12839
- {
12840
- ref,
12841
- multiple,
12842
- ...props,
12843
- className: clsx__default.default([
12844
- // Basic layout
12845
- "relative block w-full appearance-none rounded-lg py-2.5 sm:py-1.5",
12846
- // Horizontal padding
12847
- multiple ? "px-3.5 sm:px-3" : "pr-10 pl-3.5 sm:pr-9 sm:pl-3",
12848
- // Options (multi-select)
12849
- "[&_optgroup]:font-semibold",
12850
- // Typography
12851
- "text-base/6 text-zinc-950 dark:text-zinc-100 placeholder:text-zinc-500 dark:placeholder:text-zinc-400 sm:text-sm/6",
12852
- // Border
12853
- "border border-zinc-950/10 data-hover:border-zinc-950/20 dark:border-white/10 dark:data-hover:border-white/20",
12854
- // Background color
12855
- "bg-transparent dark:bg-white/5 dark:*:bg-zinc-800",
12856
- // Hide default focus styles
12857
- "focus:outline-none",
12858
- // Invalid state
12859
- "data-invalid:border-red-500 data-invalid:data-hover:border-red-500 dark:data-invalid:border-red-600 dark:data-invalid:data-hover:border-red-600",
12860
- // Disabled state
12861
- "data-disabled:border-zinc-950/20 data-disabled:opacity-100 dark:data-disabled:border-white/15 dark:data-disabled:bg-white/2.5 dark:data-hover:data-disabled:border-white/15"
12862
- ])
12863
- }
12864
- ),
12865
- !multiple && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-2", children: /* @__PURE__ */ jsxRuntime.jsxs(
12866
- "svg",
12867
- {
12868
- className: "size-5 stroke-zinc-500 group-has-data-disabled:stroke-zinc-600 sm:size-4 dark:stroke-zinc-400 forced-colors:stroke-[CanvasText]",
12869
- viewBox: "0 0 16 16",
12870
- "aria-hidden": "true",
12871
- fill: "none",
12872
- children: [
12873
- /* @__PURE__ */ jsxRuntime.jsx(
12874
- "path",
12875
- {
12876
- d: "M5.75 10.75L8 13L10.25 10.75",
12877
- strokeWidth: 1.5,
12878
- strokeLinecap: "round",
12879
- strokeLinejoin: "round"
12880
- }
12881
- ),
12882
- /* @__PURE__ */ jsxRuntime.jsx(
12883
- "path",
12884
- {
12885
- d: "M10.25 5.25L8 3L5.75 5.25",
12886
- strokeWidth: 1.5,
12887
- strokeLinecap: "round",
12888
- strokeLinejoin: "round"
12889
- }
12890
- )
12891
- ]
12892
- }
12893
- ) })
12894
- ]
12895
- }
12896
- );
12897
- });
12898
- var Label3 = React11__namespace.default.forwardRef(
12899
- ({ children, className = "", required = false, ...props }, ref) => {
12900
- return /* @__PURE__ */ jsxRuntime.jsxs(
12901
- "label",
12902
- {
12903
- ref,
12904
- className: `block text-sm font-medium text-gray-700 ${className}`,
12905
- ...props,
12906
- children: [
12907
- children,
12908
- required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-red-500 ml-1", children: "*" })
12909
- ]
12910
- }
12911
- );
12912
- }
12913
- );
12914
- Label3.displayName = "Label";
12915
- function SwitchGroup({
12916
- className,
12917
- ...props
12918
- }) {
12919
- return /* @__PURE__ */ jsxRuntime.jsx(
12920
- "div",
12921
- {
12922
- "data-slot": "control",
12923
- ...props,
12924
- className: clsx__default.default(
12925
- className,
12926
- // Basic groups
12927
- "space-y-3 **:data-[slot=label]:font-normal",
12928
- // With descriptions
12929
- "has-data-[slot=description]:space-y-6 has-data-[slot=description]:**:data-[slot=label]:font-medium"
12930
- )
12931
- }
12932
- );
12933
- }
12934
- function SwitchField({
12935
- className,
12936
- ...props
12937
- }) {
12938
- return /* @__PURE__ */ jsxRuntime.jsx(
12939
- Headless11__namespace.Field,
12940
- {
12941
- "data-slot": "field",
12942
- ...props,
12943
- className: clsx__default.default(
12944
- className,
12945
- // Base layout
12946
- "grid grid-cols-[1fr_auto] gap-x-8 gap-y-1 sm:grid-cols-[1fr_auto]",
12947
- // Control layout
12948
- "*:data-[slot=control]:col-start-2 *:data-[slot=control]:self-start sm:*:data-[slot=control]:mt-0.5",
12949
- // Label layout
12950
- "*:data-[slot=label]:col-start-1 *:data-[slot=label]:row-start-1",
12951
- // Description layout
12952
- "*:data-[slot=description]:col-start-1 *:data-[slot=description]:row-start-2",
12953
- // With description
12954
- "has-data-[slot=description]:**:data-[slot=label]:font-medium"
12955
- )
12956
- }
12957
- );
12958
- }
12959
- var colors2 = {
12960
- "dark/zinc": [
12961
- "[--switch-bg-ring:var(--color-zinc-950)]/90 [--switch-bg:var(--color-zinc-900)] dark:[--switch-bg-ring:transparent] dark:[--switch-bg:var(--color-white)]/25",
12962
- "[--switch-ring:var(--color-zinc-950)]/90 [--switch-shadow:var(--color-black)]/10 [--switch:white] dark:[--switch-ring:var(--color-zinc-700)]/90"
12963
- ],
12964
- "dark/white": [
12965
- "[--switch-bg-ring:var(--color-zinc-950)]/90 [--switch-bg:var(--color-zinc-900)] dark:[--switch-bg-ring:transparent] dark:[--switch-bg:var(--color-white)]",
12966
- "[--switch-ring:var(--color-zinc-950)]/90 [--switch-shadow:var(--color-black)]/10 [--switch:white] dark:[--switch-ring:transparent] dark:[--switch:var(--color-zinc-900)]"
12967
- ],
12968
- dark: [
12969
- "[--switch-bg-ring:var(--color-zinc-950)]/90 [--switch-bg:var(--color-zinc-900)] dark:[--switch-bg-ring:var(--color-white)]/15",
12970
- "[--switch-ring:var(--color-zinc-950)]/90 [--switch-shadow:var(--color-black)]/10 [--switch:white]"
12971
- ],
12972
- zinc: [
12973
- "[--switch-bg-ring:var(--color-zinc-700)]/90 [--switch-bg:var(--color-zinc-600)] dark:[--switch-bg-ring:transparent]",
12974
- "[--switch-shadow:var(--color-black)]/10 [--switch:white] [--switch-ring:var(--color-zinc-700)]/90"
12975
- ],
12976
- white: [
12977
- "[--switch-bg-ring:var(--color-black)]/15 [--switch-bg:white] dark:[--switch-bg-ring:transparent]",
12978
- "[--switch-shadow:var(--color-black)]/10 [--switch-ring:transparent] [--switch:var(--color-zinc-950)]"
12979
- ],
12980
- red: [
12981
- "[--switch-bg-ring:var(--color-red-700)]/90 [--switch-bg:var(--color-red-600)] dark:[--switch-bg-ring:transparent]",
12982
- "[--switch:white] [--switch-ring:var(--color-red-700)]/90 [--switch-shadow:var(--color-red-900)]/20"
12983
- ],
12984
- orange: [
12985
- "[--switch-bg-ring:var(--color-orange-600)]/90 [--switch-bg:var(--color-orange-500)] dark:[--switch-bg-ring:transparent]",
12986
- "[--switch:white] [--switch-ring:var(--color-orange-600)]/90 [--switch-shadow:var(--color-orange-900)]/20"
12987
- ],
12988
- amber: [
12989
- "[--switch-bg-ring:var(--color-amber-500)]/80 [--switch-bg:var(--color-amber-400)] dark:[--switch-bg-ring:transparent]",
12990
- "[--switch-ring:transparent] [--switch-shadow:transparent] [--switch:var(--color-amber-950)]"
12991
- ],
12992
- yellow: [
12993
- "[--switch-bg-ring:var(--color-yellow-400)]/80 [--switch-bg:var(--color-yellow-300)] dark:[--switch-bg-ring:transparent]",
12994
- "[--switch-ring:transparent] [--switch-shadow:transparent] [--switch:var(--color-yellow-950)]"
12995
- ],
12996
- lime: [
12997
- "[--switch-bg-ring:var(--color-lime-400)]/80 [--switch-bg:var(--color-lime-300)] dark:[--switch-bg-ring:transparent]",
12998
- "[--switch-ring:transparent] [--switch-shadow:transparent] [--switch:var(--color-lime-950)]"
12999
- ],
13000
- green: [
13001
- "[--switch-bg-ring:var(--color-green-700)]/90 [--switch-bg:var(--color-green-600)] dark:[--switch-bg-ring:transparent]",
13002
- "[--switch:white] [--switch-ring:var(--color-green-700)]/90 [--switch-shadow:var(--color-green-900)]/20"
13003
- ],
13004
- emerald: [
13005
- "[--switch-bg-ring:var(--color-emerald-600)]/90 [--switch-bg:var(--color-emerald-500)] dark:[--switch-bg-ring:transparent]",
13006
- "[--switch:white] [--switch-ring:var(--color-emerald-600)]/90 [--switch-shadow:var(--color-emerald-900)]/20"
13007
- ],
13008
- teal: [
13009
- "[--switch-bg-ring:var(--color-teal-700)]/90 [--switch-bg:var(--color-teal-600)] dark:[--switch-bg-ring:transparent]",
13010
- "[--switch:white] [--switch-ring:var(--color-teal-700)]/90 [--switch-shadow:var(--color-teal-900)]/20"
13011
- ],
13012
- cyan: [
13013
- "[--switch-bg-ring:var(--color-cyan-400)]/80 [--switch-bg:var(--color-cyan-300)] dark:[--switch-bg-ring:transparent]",
13014
- "[--switch-ring:transparent] [--switch-shadow:transparent] [--switch:var(--color-cyan-950)]"
13015
- ],
13016
- sky: [
13017
- "[--switch-bg-ring:var(--color-sky-600)]/80 [--switch-bg:var(--color-sky-500)] dark:[--switch-bg-ring:transparent]",
13018
- "[--switch:white] [--switch-ring:var(--color-sky-600)]/80 [--switch-shadow:var(--color-sky-900)]/20"
13019
- ],
13020
- blue: [
13021
- "[--switch-bg-ring:var(--color-blue-700)]/90 [--switch-bg:var(--color-blue-600)] dark:[--switch-bg-ring:transparent]",
13022
- "[--switch:white] [--switch-ring:var(--color-blue-700)]/90 [--switch-shadow:var(--color-blue-900)]/20"
13023
- ],
13024
- indigo: [
13025
- "[--switch-bg-ring:var(--color-indigo-600)]/90 [--switch-bg:var(--color-indigo-500)] dark:[--switch-bg-ring:transparent]",
13026
- "[--switch:white] [--switch-ring:var(--color-indigo-600)]/90 [--switch-shadow:var(--color-indigo-900)]/20"
13027
- ],
13028
- violet: [
13029
- "[--switch-bg-ring:var(--color-violet-600)]/90 [--switch-bg:var(--color-violet-500)] dark:[--switch-bg-ring:transparent]",
13030
- "[--switch:white] [--switch-ring:var(--color-violet-600)]/90 [--switch-shadow:var(--color-violet-900)]/20"
13031
- ],
13032
- purple: [
13033
- "[--switch-bg-ring:var(--color-purple-600)]/90 [--switch-bg:var(--color-purple-500)] dark:[--switch-bg-ring:transparent]",
13034
- "[--switch:white] [--switch-ring:var(--color-purple-600)]/90 [--switch-shadow:var(--color-purple-900)]/20"
13035
- ],
13036
- fuchsia: [
13037
- "[--switch-bg-ring:var(--color-fuchsia-600)]/90 [--switch-bg:var(--color-fuchsia-500)] dark:[--switch-bg-ring:transparent]",
13038
- "[--switch:white] [--switch-ring:var(--color-fuchsia-600)]/90 [--switch-shadow:var(--color-fuchsia-900)]/20"
13039
- ],
13040
- pink: [
13041
- "[--switch-bg-ring:var(--color-pink-600)]/90 [--switch-bg:var(--color-pink-500)] dark:[--switch-bg-ring:transparent]",
13042
- "[--switch:white] [--switch-ring:var(--color-pink-600)]/90 [--switch-shadow:var(--color-pink-900)]/20"
13043
- ],
13044
- rose: [
13045
- "[--switch-bg-ring:var(--color-rose-600)]/90 [--switch-bg:var(--color-rose-500)] dark:[--switch-bg-ring:transparent]",
13046
- "[--switch:white] [--switch-ring:var(--color-rose-600)]/90 [--switch-shadow:var(--color-rose-900)]/20"
13047
- ]
13048
- };
13049
- function Switch2({
13050
- color = "dark/zinc",
13051
- className,
13052
- ...props
13053
- }) {
13054
- return /* @__PURE__ */ jsxRuntime.jsx(
13055
- Headless11__namespace.Switch,
13056
- {
13057
- "data-slot": "control",
13058
- ...props,
13059
- className: clsx__default.default(
13060
- className,
13061
- // Base styles
13062
- "group relative isolate inline-flex h-6 w-10 cursor-default rounded-full p-[3px] sm:h-5 sm:w-8",
13063
- // Transitions
13064
- "transition duration-0 ease-in-out data-changing:duration-200",
13065
- // Outline and background color in forced-colors mode so switch is still visible
13066
- "forced-colors:outline forced-colors:[--switch-bg:Highlight] dark:forced-colors:[--switch-bg:Highlight]",
13067
- // Unchecked
13068
- "bg-zinc-200 ring-1 ring-black/5 ring-inset dark:bg-white/5 dark:ring-white/15",
13069
- // Checked
13070
- "data-checked:bg-(--switch-bg) data-checked:ring-(--switch-bg-ring) dark:data-checked:bg-(--switch-bg) dark:data-checked:ring-(--switch-bg-ring)",
13071
- // Focus
13072
- "focus:not-data-focus:outline-hidden data-focus:outline-2 data-focus:outline-offset-2 data-focus:outline-blue-500",
13073
- // Hover
13074
- "data-hover:ring-black/15 data-hover:data-checked:ring-(--switch-bg-ring)",
13075
- "dark:data-hover:ring-white/25 dark:data-hover:data-checked:ring-(--switch-bg-ring)",
13076
- // Disabled
13077
- "data-disabled:bg-zinc-200 data-disabled:opacity-50 data-disabled:data-checked:bg-zinc-200 data-disabled:data-checked:ring-black/5",
13078
- "dark:data-disabled:bg-white/15 dark:data-disabled:data-checked:bg-white/15 dark:data-disabled:data-checked:ring-white/15",
13079
- // Color specific styles
13080
- colors2[color]
13081
- ),
13082
- children: /* @__PURE__ */ jsxRuntime.jsx(
13083
- "span",
13084
- {
13085
- "aria-hidden": "true",
13086
- className: clsx__default.default(
13087
- // Basic layout
13088
- "pointer-events-none relative inline-block size-4.5 rounded-full sm:size-3.5",
13089
- // Transition
13090
- "translate-x-0 transition duration-200 ease-in-out",
13091
- // Invisible border so the switch is still visible in forced-colors mode
13092
- "border border-transparent",
13093
- // Unchecked
13094
- "bg-white shadow-sm ring-1 ring-black/5",
13095
- // Checked
13096
- "group-data-checked:bg-(--switch) group-data-checked:shadow-(--switch-shadow) group-data-checked:ring-(--switch-ring)",
13097
- "group-data-checked:translate-x-4 sm:group-data-checked:translate-x-3",
13098
- // Disabled
13099
- "group-data-checked:group-data-disabled:bg-white group-data-checked:group-data-disabled:shadow-sm group-data-checked:group-data-disabled:ring-black/5"
13100
- )
13101
- }
13102
- )
13103
- }
13104
- );
13105
- }
13106
- function DropdownButton({
13107
- as = Button6,
13108
- ...props
13109
- }) {
13110
- return /* @__PURE__ */ jsxRuntime.jsx(Headless11__namespace.MenuButton, { as, ...props });
13111
- }
13112
- function DropdownMenu({
13113
- anchor = "bottom",
13114
- className,
13115
- ...props
13116
- }) {
13117
- return /* @__PURE__ */ jsxRuntime.jsx(
13118
- Headless11__namespace.MenuItems,
13119
- {
13120
- ...props,
13121
- transition: true,
13122
- anchor,
13123
- className: clsx__default.default(
13124
- className,
13125
- // Anchor positioning
13126
- "[--anchor-gap:--spacing(2)] [--anchor-padding:--spacing(1)] data-[anchor~=end]:[--anchor-offset:6px] data-[anchor~=start]:[--anchor-offset:-6px] sm:data-[anchor~=end]:[--anchor-offset:4px] sm:data-[anchor~=start]:[--anchor-offset:-4px]",
13127
- // Base styles
13128
- "isolate w-max rounded-xl p-1",
13129
- // Invisible border that is only visible in `forced-colors` mode for accessibility purposes
13130
- "outline outline-transparent focus:outline-hidden",
13131
- // Handle scrolling when menu won't fit in viewport
13132
- "overflow-y-auto",
13133
- // Popover background
13134
- "bg-white/75 backdrop-blur-xl dark:bg-zinc-800/75",
13135
- // Shadows
13136
- "shadow-lg ring-1 ring-zinc-950/10 dark:ring-white/10 dark:ring-inset",
13137
- // Define grid at the menu level if subgrid is supported
13138
- "supports-[grid-template-columns:subgrid]:grid supports-[grid-template-columns:subgrid]:grid-cols-[auto_1fr_1.5rem_0.5rem_auto]",
13139
- // Transitions
13140
- "transition data-leave:duration-100 data-leave:ease-in data-closed:data-leave:opacity-0"
13141
- )
13142
- }
13143
- );
13144
- }
13145
- function DropdownItem({
13146
- className,
13147
- ...props
13148
- }) {
13149
- const classes = clsx__default.default(
13150
- className,
13151
- // Base styles
13152
- "group cursor-default rounded-lg px-3.5 py-2.5 focus:outline-hidden sm:px-3 sm:py-1.5",
13153
- // Text styles
13154
- "text-left text-base/6 text-zinc-950 sm:text-sm/6 dark:text-white forced-colors:text-[CanvasText]",
13155
- // Focus
13156
- "data-focus:bg-blue-500 data-focus:text-white",
13157
- // Disabled state
13158
- "data-disabled:opacity-50",
13159
- // Forced colors mode
13160
- "forced-color-adjust-none forced-colors:data-focus:bg-[Highlight] forced-colors:data-focus:text-[HighlightText] forced-colors:data-focus:*:data-[slot=icon]:text-[HighlightText]",
13161
- // Use subgrid when available but fallback to an explicit grid layout if not
13162
- "col-span-full grid grid-cols-[auto_1fr_1.5rem_0.5rem_auto] items-center supports-[grid-template-columns:subgrid]:grid-cols-subgrid",
13163
- // Icons
13164
- "*:data-[slot=icon]:col-start-1 *:data-[slot=icon]:row-start-1 *:data-[slot=icon]:mr-2.5 *:data-[slot=icon]:-ml-0.5 *:data-[slot=icon]:size-5 sm:*:data-[slot=icon]:mr-2 sm:*:data-[slot=icon]:size-4",
13165
- "*:data-[slot=icon]:text-zinc-500 data-focus:*:data-[slot=icon]:text-white dark:*:data-[slot=icon]:text-zinc-400 dark:data-focus:*:data-[slot=icon]:text-white",
13166
- // Avatar
13167
- "*:data-[slot=avatar]:mr-2.5 *:data-[slot=avatar]:-ml-1 *:data-[slot=avatar]:size-6 sm:*:data-[slot=avatar]:mr-2 sm:*:data-[slot=avatar]:size-5"
13168
- );
13169
- return "href" in props ? /* @__PURE__ */ jsxRuntime.jsx(Headless11__namespace.MenuItem, { as: Link4, ...props, className: classes }) : /* @__PURE__ */ jsxRuntime.jsx(
13170
- Headless11__namespace.MenuItem,
13171
- {
13172
- as: "button",
13173
- type: "button",
13174
- ...props,
13175
- className: classes
13176
- }
13177
- );
13178
- }
13179
- function DropdownHeader({
13180
- className,
13181
- ...props
13182
- }) {
13183
- return /* @__PURE__ */ jsxRuntime.jsx(
13184
- "div",
13185
- {
13186
- ...props,
13187
- className: clsx__default.default(className, "col-span-5 px-3.5 pt-2.5 pb-1 sm:px-3")
13188
- }
13189
- );
13190
- }
13191
- function DropdownSection({
13192
- className,
13193
- ...props
13194
- }) {
13195
- return /* @__PURE__ */ jsxRuntime.jsx(
13196
- Headless11__namespace.MenuSection,
13197
- {
13198
- ...props,
13199
- className: clsx__default.default(
13200
- className,
13201
- // Define grid at the section level instead of the item level if subgrid is supported
13202
- "col-span-full supports-[grid-template-columns:subgrid]:grid supports-[grid-template-columns:subgrid]:grid-cols-[auto_1fr_1.5rem_0.5rem_auto]"
13203
- )
13204
- }
13205
- );
13206
- }
13207
- function DropdownHeading({
13208
- className,
13209
- ...props
13210
- }) {
13211
- return /* @__PURE__ */ jsxRuntime.jsx(
13212
- Headless11__namespace.MenuHeading,
13213
- {
13214
- ...props,
13215
- className: clsx__default.default(
13216
- className,
13217
- "col-span-full grid grid-cols-[1fr_auto] gap-x-12 px-3.5 pt-2 pb-1 text-sm/5 font-medium text-zinc-500 sm:px-3 sm:text-xs/5 dark:text-zinc-400"
13218
- )
13219
- }
13220
- );
13221
- }
13222
- function DropdownDivider({
13223
- className,
13224
- ...props
13225
- }) {
13226
- return /* @__PURE__ */ jsxRuntime.jsx(
13227
- Headless11__namespace.MenuSeparator,
13228
- {
13229
- ...props,
13230
- className: clsx__default.default(
13231
- className,
13232
- "col-span-full mx-3.5 my-1 h-px border-0 bg-zinc-950/5 sm:mx-3 dark:bg-white/10 forced-colors:bg-[CanvasText]"
13233
- )
13234
- }
13235
- );
13236
- }
13237
- function DropdownLabel({
13238
- className,
13239
- ...props
13240
- }) {
13241
- return /* @__PURE__ */ jsxRuntime.jsx(
13242
- "div",
13243
- {
13244
- ...props,
13245
- "data-slot": "label",
13246
- className: clsx__default.default(className, "col-start-2 row-start-1"),
13247
- ...props
13248
- }
13249
- );
13250
- }
13251
- function DropdownDescription({
13252
- className,
13253
- ...props
13254
- }) {
13255
- return /* @__PURE__ */ jsxRuntime.jsx(
13256
- Headless11__namespace.Description,
13257
- {
13258
- "data-slot": "description",
13259
- ...props,
13260
- className: clsx__default.default(
13261
- className,
13262
- "col-span-2 col-start-2 row-start-2 text-sm/5 text-zinc-500 group-data-focus:text-white sm:text-xs/5 dark:text-zinc-400 forced-colors:group-data-focus:text-[HighlightText]"
13263
- )
13264
- }
13265
- );
13266
- }
13267
- function DropdownShortcut({
13268
- keys,
13269
- className,
13270
- ...props
13271
- }) {
13272
- return /* @__PURE__ */ jsxRuntime.jsx(
13273
- Headless11__namespace.Description,
13274
- {
13275
- as: "kbd",
13276
- ...props,
13277
- className: clsx__default.default(
13278
- className,
13279
- "col-start-5 row-start-1 flex justify-self-end"
13280
- ),
13281
- children: (Array.isArray(keys) ? keys : keys.split("")).map((char, index) => /* @__PURE__ */ jsxRuntime.jsx(
13282
- "kbd",
13283
- {
13284
- className: clsx__default.default([
13285
- "min-w-[2ch] text-center font-sans text-zinc-400 capitalize group-data-focus:text-white forced-colors:group-data-focus:text-[HighlightText]",
13286
- // Make sure key names that are longer than one character (like "Tab") have extra space
13287
- index > 0 && char.length > 1 && "pl-1"
13288
- ]),
13289
- children: char
13290
- },
13291
- index
13292
- ))
13293
- }
13294
- );
13295
- }
13296
- var Card2 = React11.memo(function Card3({
13297
- children,
13298
- className,
13299
- padding = "md",
13300
- variant = "default",
13301
- hover = false,
13302
- loading = false,
13303
- onClick
13304
- }) {
13305
- const paddingClasses = {
13306
- none: "",
13307
- sm: "p-3 sm:p-4",
13308
- md: "p-4 sm:p-6",
13309
- lg: "p-6 sm:p-8"
13310
- };
13311
- const variantClasses2 = {
13312
- default: "bg-white dark:bg-zinc-800 border border-zinc-200 dark:border-zinc-700 shadow-sm",
13313
- elevated: "bg-white dark:bg-zinc-800 border border-zinc-200 dark:border-zinc-700 shadow-md",
13314
- outlined: "bg-transparent border-2 border-zinc-300 dark:border-zinc-600",
13315
- flat: "bg-zinc-50 dark:bg-zinc-800/50"
13316
- };
13317
- const hoverClasses = hover || onClick ? "hover:shadow-lg transition-shadow duration-200" : "";
13318
- const clickableClasses = onClick ? "cursor-pointer" : "";
13319
- const loadingClasses = loading ? "opacity-75 pointer-events-none" : "";
13320
- return /* @__PURE__ */ jsxRuntime.jsx(
13321
- "div",
13322
- {
13323
- role: onClick ? "button" : void 0,
13324
- tabIndex: onClick ? 0 : void 0,
13325
- className: clsx__default.default(
13326
- "rounded-lg",
13327
- variantClasses2[variant],
13328
- paddingClasses[padding],
13329
- hoverClasses,
13330
- clickableClasses,
13331
- loadingClasses,
13332
- className
13333
- ),
13334
- onClick,
13335
- onKeyDown: onClick ? (e) => {
13336
- if (e.key === "Enter" || e.key === " ") {
13337
- e.preventDefault();
13338
- onClick();
13339
- }
13340
- } : void 0,
13341
- children
13342
- }
13343
- );
13344
- });
13345
- var CardHeader2 = React11.memo(function CardHeader3({
13346
- title,
13347
- subtitle,
13348
- actions,
13349
- className,
13350
- children
13351
- }) {
13352
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx__default.default("mb-4", className), children: [
13353
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-2", children: [
13354
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
13355
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold text-zinc-900 dark:text-zinc-100 truncate", children: title }),
13356
- subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm text-zinc-600 dark:text-zinc-400 line-clamp-2", children: subtitle })
13357
- ] }),
13358
- actions && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-shrink-0 flex items-center gap-2", children: actions })
13359
- ] }),
13360
- children && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-3", children })
13361
- ] });
13362
- });
13363
- var CardTitle2 = React11.memo(function CardTitle3({
13364
- children,
13365
- className
13366
- }) {
13367
- return /* @__PURE__ */ jsxRuntime.jsx(
13368
- "h3",
13369
- {
13370
- className: clsx__default.default(
13371
- "text-lg font-semibold text-zinc-900 dark:text-zinc-100",
13372
- className
13373
- ),
13374
- children
13375
- }
13376
- );
13377
- });
13378
- var CardDescription2 = React11.memo(function CardDescription3({
13379
- children,
13380
- className
13381
- }) {
13382
- return /* @__PURE__ */ jsxRuntime.jsx("p", { className: clsx__default.default("text-sm text-zinc-600 dark:text-zinc-400", className), children });
13383
- });
13384
- var CardContent2 = React11.memo(function CardContent3({
13385
- children,
13386
- className
13387
- }) {
13388
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx__default.default("text-zinc-600 dark:text-zinc-400", className), children });
13389
- });
13390
- var CardFooter2 = React11.memo(function CardFooter3({
13391
- children,
13392
- className,
13393
- justify = "end"
13394
- }) {
13395
- const justifyClasses = {
13396
- start: "justify-start",
13397
- center: "justify-center",
13398
- end: "justify-end",
13399
- between: "justify-between"
13400
- };
13401
- return /* @__PURE__ */ jsxRuntime.jsx(
13402
- "div",
13403
- {
13404
- className: clsx__default.default(
13405
- "mt-4 pt-4 border-t border-zinc-200 dark:border-zinc-700 flex items-center gap-2",
13406
- justifyClasses[justify],
13407
- className
13408
- ),
13409
- children
13410
- }
13411
- );
13412
- });
13413
- var StatCard2 = React11.memo(function StatCard3({
13414
- title,
13415
- value,
13416
- subtitle,
13417
- icon,
13418
- trend,
13419
- loading = false,
13420
- className
13421
- }) {
13422
- const trendColors = {
13423
- up: "text-green-600 dark:text-green-400",
13424
- down: "text-red-600 dark:text-red-400",
13425
- neutral: "text-zinc-600 dark:text-zinc-400"
13426
- };
13427
- return /* @__PURE__ */ jsxRuntime.jsx(Card2, { variant: "elevated", hover: true, className, loading, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start", children: [
13428
- icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-shrink-0 mr-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-12 h-12 rounded-lg bg-zinc-100 dark:bg-zinc-700 flex items-center justify-center", children: icon }) }),
13429
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
13430
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-medium text-zinc-600 dark:text-zinc-400 truncate", children: title }),
13431
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-1 flex items-baseline", children: [
13432
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-2xl font-bold text-zinc-900 dark:text-zinc-100", children: loading ? "..." : value }),
13433
- trend && !loading && /* @__PURE__ */ jsxRuntime.jsxs(
13434
- "div",
13435
- {
13436
- className: clsx__default.default(
13437
- "ml-2 flex items-center text-sm",
13438
- trendColors[trend.direction]
13439
- ),
13440
- children: [
13441
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: trend.direction === "up" ? "\u2197" : trend.direction === "down" ? "\u2198" : "\u2192" }),
13442
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ml-1", children: [
13443
- trend.value,
13444
- "%"
13445
- ] })
13446
- ]
13447
- }
13448
- )
13449
- ] }),
13450
- subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm text-zinc-600 dark:text-zinc-400", children: subtitle }),
13451
- trend && !loading && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-xs text-zinc-500 dark:text-zinc-500", children: trend.label })
13452
- ] })
13453
- ] }) });
13454
- });
13455
- var Progress = React11__namespace.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
13456
- ProgressPrimitive__namespace.Root,
13457
- {
13458
- ref,
13459
- className: clsx__default.default(
13460
- "relative h-4 w-full overflow-hidden rounded-full bg-secondary",
13461
- className
13462
- ),
13463
- ...props,
13464
- children: /* @__PURE__ */ jsxRuntime.jsx(
13465
- ProgressPrimitive__namespace.Indicator,
13466
- {
13467
- className: "h-full w-full flex-1 bg-primary transition-all",
13468
- style: { transform: `translateX(-${100 - (value || 0)}%)` }
13469
- }
13470
- )
13471
- }
13472
- ));
13473
- Progress.displayName = ProgressPrimitive__namespace.Root.displayName;
13474
- function validatePasswordStrength(password) {
13475
- return {
13476
- minLength: password.length >= 8,
13477
- hasUppercase: /[A-Z]/.test(password),
13478
- hasLowercase: /[a-z]/.test(password),
13479
- hasNumber: /\d/.test(password),
13480
- hasSpecial: /[!@#$%^&*()_+\-=]/.test(password)
13481
- };
13482
- }
13483
- function RequirementCheck({
13484
- met,
13485
- label
13486
- }) {
13487
- return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "flex items-center gap-1.5 text-xs", children: [
13488
- /* @__PURE__ */ jsxRuntime.jsx(
13489
- "span",
13490
- {
13491
- className: `flex-shrink-0 w-3.5 h-3.5 rounded-full flex items-center justify-center text-[10px] font-bold ${met ? "bg-emerald-500 text-white" : "bg-zinc-200 dark:bg-zinc-700 text-zinc-400 dark:text-zinc-500"}`,
13492
- children: met ? "\u2713" : ""
13493
- }
13494
- ),
13495
- /* @__PURE__ */ jsxRuntime.jsx(
13496
- "span",
13497
- {
13498
- className: met ? "text-emerald-600 dark:text-emerald-400" : "text-zinc-500 dark:text-zinc-400",
13499
- children: label
13500
- }
13501
- )
13502
- ] });
13503
- }
13504
- var PasswordInput2 = React11.forwardRef(
13505
- function PasswordInput3({ className = "", variant = "default", showStrength = false, onChange, ...props }, ref) {
13506
- const [showPassword, setShowPassword] = React11.useState(false);
13507
- const [internalValue, setInternalValue] = React11.useState("");
13508
- const t = nextIntl.useTranslations();
13509
- const handleChange = (e) => {
13510
- setInternalValue(e.target.value);
13511
- onChange?.(e);
13512
- };
13513
- const strength = React11.useMemo(
13514
- () => validatePasswordStrength(internalValue),
13515
- [internalValue]
13516
- );
13517
- const metCount = React11.useMemo(() => {
13518
- const checks = Object.values(strength);
13519
- return checks.filter(Boolean).length;
13520
- }, [strength]);
13521
- const strengthLevel = React11.useMemo(() => {
13522
- if (metCount <= 2) return "weak";
13523
- if (metCount <= 4) return "medium";
13524
- return "strong";
13525
- }, [metCount]);
13526
- const strengthBarColor = {
13527
- weak: "bg-red-500",
13528
- medium: "bg-amber-500",
13529
- strong: "bg-emerald-500"
13530
- }[strengthLevel];
13531
- const strengthBarWidth = {
13532
- weak: "w-1/3",
13533
- medium: "w-2/3",
13534
- strong: "w-full"
13535
- }[strengthLevel];
13536
- const baseInputClasses = variant === "apple" ? "w-full px-4 py-3 pr-12 text-[17px] bg-white dark:bg-zinc-800 border border-[#d2d2d7] dark:border-zinc-700 text-[#1d1d1f] dark:text-white placeholder-[#86868b] dark:placeholder-zinc-500 rounded-xl focus:outline-none focus:ring-2 focus:ring-[#0071e3] transition-all" : "w-full px-4 py-3.5 pr-12 text-base rounded-xl border transition-all duration-300 text-zinc-900 dark:text-white placeholder-zinc-500 dark:placeholder-zinc-500 focus:outline-none focus:ring-2 focus:border-transparent";
13537
- const buttonClasses = variant === "apple" ? "absolute top-1/2 -translate-y-1/2 right-3 p-1.5 hover:bg-[#f5f5f7] dark:hover:bg-zinc-700 rounded-lg transition-colors" : "absolute top-1/2 -translate-y-1/2 right-3 p-2 hover:bg-zinc-200/50 dark:hover:bg-zinc-700/50 rounded-lg transition-all duration-200";
13538
- const iconClasses = variant === "apple" ? "h-5 w-5 text-[#86868b] dark:text-zinc-400" : "h-5 w-5 text-zinc-500 hover:text-zinc-700 dark:text-zinc-400 dark:hover:text-zinc-200";
13539
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
13540
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
13541
- /* @__PURE__ */ jsxRuntime.jsx(
13542
- "input",
13543
- {
13544
- ref,
13545
- type: showPassword ? "text" : "password",
13546
- className: `${baseInputClasses} ${className}`,
13547
- onChange: handleChange,
13548
- ...props
13549
- }
13550
- ),
13551
- /* @__PURE__ */ jsxRuntime.jsx(
13552
- "button",
13553
- {
13554
- type: "button",
13555
- onClick: () => setShowPassword(!showPassword),
13556
- className: buttonClasses,
13557
- "aria-label": showPassword ? t("aria.hidePassword") : t("aria.showPassword"),
13558
- children: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.EyeSlashIcon, { className: iconClasses }) : /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.EyeIcon, { className: iconClasses })
13559
- }
13560
- )
13561
- ] }),
13562
- showStrength && internalValue.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 space-y-2", children: [
13563
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
13564
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 h-1.5 bg-zinc-200 dark:bg-zinc-700 rounded-full overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
13565
- "div",
13566
- {
13567
- className: `h-full rounded-full transition-all duration-300 ${strengthBarColor} ${strengthBarWidth}`
13568
- }
13569
- ) }),
13570
- /* @__PURE__ */ jsxRuntime.jsx(
13571
- "span",
13572
- {
13573
- className: `text-xs font-medium ${strengthLevel === "weak" ? "text-red-500" : strengthLevel === "medium" ? "text-amber-500" : "text-emerald-500"}`,
13574
- children: t(`login.passwordStrength.${strengthLevel}`)
13575
- }
13576
- )
13577
- ] }),
13578
- /* @__PURE__ */ jsxRuntime.jsxs("ul", { className: "space-y-1", children: [
13579
- /* @__PURE__ */ jsxRuntime.jsx(
13580
- RequirementCheck,
13581
- {
13582
- met: strength.minLength,
13583
- label: t("login.passwordRequirements.minLength")
13584
- }
13585
- ),
13586
- /* @__PURE__ */ jsxRuntime.jsx(
13587
- RequirementCheck,
13588
- {
13589
- met: strength.hasUppercase,
13590
- label: t("login.passwordRequirements.uppercase")
13591
- }
13592
- ),
13593
- /* @__PURE__ */ jsxRuntime.jsx(
13594
- RequirementCheck,
13595
- {
13596
- met: strength.hasLowercase,
13597
- label: t("login.passwordRequirements.lowercase")
13598
- }
13599
- ),
13600
- /* @__PURE__ */ jsxRuntime.jsx(
13601
- RequirementCheck,
13602
- {
13603
- met: strength.hasNumber,
13604
- label: t("login.passwordRequirements.number")
13605
- }
13606
- ),
13607
- /* @__PURE__ */ jsxRuntime.jsx(
13608
- RequirementCheck,
13609
- {
13610
- met: strength.hasSpecial,
13611
- label: t("login.passwordRequirements.special")
13612
- }
13613
- )
13614
- ] })
13615
- ] })
13616
- ] });
13617
- }
13618
- );
13619
- var Tabs = TabsPrimitive__namespace.Root;
13620
- var TabsList = React11__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
13621
- TabsPrimitive__namespace.List,
13622
- {
13623
- ref,
13624
- className: clsx__default.default(
13625
- "inline-flex h-9 items-center justify-center rounded-lg bg-muted/50 p-0.5 text-muted-foreground",
13626
- className
13627
- ),
13628
- ...props
13629
- }
13630
- ));
13631
- TabsList.displayName = TabsPrimitive__namespace.List.displayName;
13632
- var TabsTrigger = React11__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
13633
- TabsPrimitive__namespace.Trigger,
13634
- {
13635
- ref,
13636
- className: clsx__default.default(
13637
- "inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
13638
- className
13639
- ),
13640
- ...props
13641
- }
13642
- ));
13643
- TabsTrigger.displayName = TabsPrimitive__namespace.Trigger.displayName;
13644
- var TabsContent = React11__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
13645
- TabsPrimitive__namespace.Content,
13646
- {
13647
- ref,
13648
- className: clsx__default.default(
13649
- "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
13650
- className
13651
- ),
13652
- ...props
13653
- }
13654
- ));
13655
- TabsContent.displayName = TabsPrimitive__namespace.Content.displayName;
13656
- var SliderInput = ({
13657
- id,
13658
- label,
13659
- value,
13660
- onChange,
13661
- min,
13662
- max,
13663
- step,
13664
- suffix = "",
13665
- tooltip,
13666
- formatDisplay,
13667
- showValue = true
13668
- }) => {
13669
- const tAria = nextIntl.useTranslations("aria");
13670
- const tCommon = nextIntl.useTranslations("common");
13671
- const [showTooltip, setShowTooltip] = React11.useState(false);
13672
- const safeValue = typeof value === "number" && !isNaN(value) ? value : min;
13673
- const percentage = (safeValue - min) / (max - min) * 100;
13674
- const displayValue = formatDisplay ? formatDisplay(safeValue) : safeValue.toFixed(step < 1 ? 2 : 0);
13675
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
13676
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
13677
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
13678
- /* @__PURE__ */ jsxRuntime.jsx(
13679
- "label",
13680
- {
13681
- htmlFor: id,
13682
- className: "text-sm font-medium text-zinc-700 dark:text-zinc-300",
13683
- children: label
13684
- }
13685
- ),
13686
- tooltip && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
13687
- /* @__PURE__ */ jsxRuntime.jsx(
13688
- "button",
13689
- {
13690
- type: "button",
13691
- onMouseEnter: () => setShowTooltip(true),
13692
- onMouseLeave: () => setShowTooltip(false),
13693
- className: "w-4 h-4 rounded-full bg-zinc-200 dark:bg-zinc-700 text-zinc-600 dark:text-zinc-400 text-xs flex items-center justify-center hover:bg-zinc-300 dark:hover:bg-zinc-600 transition-colors",
13694
- "aria-label": tAria("info"),
13695
- children: "?"
13696
- }
13697
- ),
13698
- showTooltip && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute left-6 top-0 z-10 w-64 p-3 bg-zinc-900 dark:bg-zinc-100 text-white dark:text-zinc-900 text-xs rounded-lg shadow-lg", children: [
13699
- tooltip,
13700
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute left-0 top-2 -translate-x-1 w-2 h-2 bg-zinc-900 dark:bg-zinc-100 rotate-45" })
13701
- ] })
13702
- ] })
13703
- ] }),
13704
- showValue && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm font-semibold text-zinc-900 dark:text-zinc-100", children: [
13705
- displayValue,
13706
- suffix
13707
- ] })
13708
- ] }),
13709
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
13710
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 relative", children: /* @__PURE__ */ jsxRuntime.jsx(
13711
- "input",
13712
- {
13713
- id,
13714
- type: "range",
13715
- min,
13716
- max,
13717
- step,
13718
- value: safeValue,
13719
- onChange: (e) => onChange(Number(e.target.value)),
13720
- className: "w-full h-2 bg-zinc-200 dark:bg-zinc-700 rounded-lg appearance-none cursor-pointer slider-thumb",
13721
- "aria-label": label,
13722
- style: {
13723
- background: `linear-gradient(to right, rgb(59 130 246) 0%, rgb(59 130 246) ${percentage}%, rgb(228 228 231) ${percentage}%, rgb(228 228 231) 100%)`
13724
- }
13725
- }
13726
- ) }),
13727
- /* @__PURE__ */ jsxRuntime.jsx(
13728
- "input",
13729
- {
13730
- type: "number",
13731
- min,
13732
- max,
13733
- step,
13734
- value: safeValue,
13735
- onChange: (e) => onChange(Number(e.target.value)),
13736
- className: "w-24 px-3 py-1.5 text-sm border border-zinc-300 dark:border-zinc-600 rounded-md bg-white dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 focus:ring-2 focus:ring-blue-500 focus:border-transparent",
13737
- "aria-label": `${label} (${tCommon("number")})`
13738
- }
13739
- )
13740
- ] }),
13741
- /* @__PURE__ */ jsxRuntime.jsx("style", { children: `
13742
- .slider-thumb::-webkit-slider-thumb {
13743
- appearance: none;
13744
- width: 18px;
13745
- height: 18px;
13746
- border-radius: 50%;
13747
- background: rgb(59 130 246);
13748
- cursor: pointer;
13749
- border: 2px solid white;
13750
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
13751
- }
13752
-
13753
- .slider-thumb::-moz-range-thumb {
13754
- width: 18px;
13755
- height: 18px;
13756
- border-radius: 50%;
13757
- background: rgb(59 130 246);
13758
- cursor: pointer;
13759
- border: 2px solid white;
13760
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
13761
- }
13762
-
13763
- .slider-thumb::-webkit-slider-thumb:hover {
13764
- background: rgb(37 99 235);
13765
- }
13766
-
13767
- .slider-thumb::-moz-range-thumb:hover {
13768
- background: rgb(37 99 235);
13769
- }
13770
- ` })
13771
- ] });
13772
- };
13773
12573
  function DataPagination({
13774
12574
  pagination,
13775
- params,
13776
12575
  onUpdate,
13777
12576
  loading = false,
13778
- showSearch = true,
13779
- searchPlaceholder,
13780
- showPageSize = true,
13781
- pageSizeOptions = [10, 20, 50, 100]
12577
+ showPageSize = false,
12578
+ pageSizeOptions = [10, 20, 50],
12579
+ params
13782
12580
  }) {
13783
- const tSearch = nextIntl.useTranslations("search");
13784
- const tPagination = nextIntl.useTranslations("pagination");
13785
- const tCommon = nextIntl.useTranslations("common");
13786
- const tAria = nextIntl.useTranslations("aria");
13787
- const [localSearchValue, setLocalSearchValue] = React11.useState(params.search || "");
13788
- React11.useEffect(() => {
13789
- const timeoutId = setTimeout(() => {
13790
- if (localSearchValue !== params.search) {
13791
- onUpdate({ search: localSearchValue, page: 1 });
13792
- }
13793
- }, 500);
13794
- return () => clearTimeout(timeoutId);
13795
- }, [localSearchValue, onUpdate, params.search]);
13796
- React11.useEffect(() => {
13797
- if (localSearchValue !== params.search) {
13798
- setLocalSearchValue(params.search || "");
13799
- }
13800
- }, [params.search, localSearchValue]);
13801
- const handleSearchChange = (value) => {
13802
- setLocalSearchValue(value);
13803
- };
13804
- const handlePageSizeChange = (value) => {
13805
- onUpdate({ limit: parseInt(value), page: 1 });
13806
- };
13807
- const handlePageChange = (page) => {
13808
- onUpdate({ page });
13809
- };
13810
12581
  const effectivePageSize = pagination.pageSize ?? pagination.limit ?? 10;
13811
- const skip = (pagination.page - 1) * effectivePageSize;
13812
- const startItem = skip + 1;
13813
- const endItem = Math.min(skip + effectivePageSize, pagination.total);
13814
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full space-y-4", children: [
13815
- showSearch && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full flex flex-col sm:flex-row sm:items-center sm:justify-between space-y-3 sm:space-y-0", children: [
13816
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 max-w-full sm:max-w-sm", children: /* @__PURE__ */ jsxRuntime.jsx(
13817
- Input3,
12582
+ const from = (pagination.page - 1) * effectivePageSize + 1;
12583
+ const to = Math.min(pagination.page * effectivePageSize, pagination.total);
12584
+ const handlePageChange = (page) => onUpdate({ page });
12585
+ const handlePageSizeChange = (value) => onUpdate({ limit: parseInt(value), page: 1 });
12586
+ if (pagination.totalPages <= 1 && !showPageSize) return null;
12587
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center justify-between gap-3 rounded-2xl liquid-surface px-4 py-3", children: [
12588
+ /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-sm tabular-nums text-slate-600 dark:text-slate-400", children: [
12589
+ from,
12590
+ "\u2013",
12591
+ to,
12592
+ " / ",
12593
+ pagination.total
12594
+ ] }),
12595
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
12596
+ showPageSize && /* @__PURE__ */ jsxRuntime.jsx(
12597
+ "select",
13818
12598
  {
13819
- type: "text",
13820
- placeholder: searchPlaceholder || tSearch("placeholder"),
13821
- value: localSearchValue,
13822
- onChange: (e) => handleSearchChange(e.target.value),
12599
+ value: params?.limit ?? effectivePageSize,
12600
+ onChange: (event) => handlePageSizeChange(event.target.value),
13823
12601
  disabled: loading,
13824
- className: "w-full min-h-[44px] text-base sm:text-sm"
12602
+ className: "rounded-xl liquid-surface px-2 py-1.5 text-xs font-medium text-slate-700 outline-none dark:text-slate-300",
12603
+ children: pageSizeOptions.map((size) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: size, children: size }, size))
13825
12604
  }
13826
- ) }),
13827
- showPageSize && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-center gap-2 sm:hidden", children: [
13828
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-zinc-700 dark:text-zinc-300 whitespace-nowrap", children: tPagination("itemsPerPage") }),
12605
+ ),
12606
+ pagination.totalPages > 1 && /* @__PURE__ */ jsxRuntime.jsxs("nav", { className: "flex items-center gap-1", "aria-label": "Pagination", children: [
13829
12607
  /* @__PURE__ */ jsxRuntime.jsx(
13830
- "select",
12608
+ "button",
12609
+ {
12610
+ type: "button",
12611
+ disabled: pagination.page <= 1 || loading,
12612
+ onClick: () => handlePageChange(pagination.page - 1),
12613
+ className: "inline-flex h-9 w-9 items-center justify-center rounded-xl text-slate-500 transition hover:bg-white/40 disabled:opacity-30 dark:text-slate-400 dark:hover:bg-white/[0.08]",
12614
+ children: /* @__PURE__ */ jsxRuntime.jsx(solid.ChevronLeftIcon, { className: "h-5 w-5" })
12615
+ }
12616
+ ),
12617
+ getPageNumbers(pagination.page, pagination.totalPages).map(
12618
+ (page, index) => page === "..." ? /* @__PURE__ */ jsxRuntime.jsx(
12619
+ "span",
12620
+ {
12621
+ className: "inline-flex h-9 w-6 items-center justify-center text-xs text-slate-400",
12622
+ children: "\u2026"
12623
+ },
12624
+ `ellipsis-${index}`
12625
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
12626
+ "button",
12627
+ {
12628
+ type: "button",
12629
+ disabled: loading,
12630
+ onClick: () => handlePageChange(page),
12631
+ "aria-current": page === pagination.page ? "page" : void 0,
12632
+ className: `inline-flex h-9 min-w-9 items-center justify-center rounded-xl px-2 text-sm font-medium transition ${page === pagination.page ? "liquid-surface liquid-surface-active text-slate-900 dark:text-white" : "text-slate-500 hover:bg-white/40 dark:text-slate-400 dark:hover:bg-white/[0.08]"}`,
12633
+ children: page
12634
+ },
12635
+ `page-${page}`
12636
+ )
12637
+ ),
12638
+ /* @__PURE__ */ jsxRuntime.jsx(
12639
+ "button",
13831
12640
  {
13832
- value: params.limit,
13833
- onChange: (e) => handlePageSizeChange(e.target.value),
13834
- disabled: loading,
13835
- className: "rounded-md border border-zinc-300 dark:border-zinc-600 bg-white dark:bg-zinc-800 px-3 py-2 min-h-[44px] text-sm font-medium text-zinc-700 dark:text-zinc-300 focus:outline-none focus:ring-2 focus:ring-indigo-500 touch-manipulation",
13836
- children: pageSizeOptions.map((size) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: size, children: size }, size))
12641
+ type: "button",
12642
+ disabled: pagination.page >= pagination.totalPages || loading,
12643
+ onClick: () => handlePageChange(pagination.page + 1),
12644
+ className: "inline-flex h-9 w-9 items-center justify-center rounded-xl text-slate-500 transition hover:bg-white/40 disabled:opacity-30 dark:text-slate-400 dark:hover:bg-white/[0.08]",
12645
+ children: /* @__PURE__ */ jsxRuntime.jsx(solid.ChevronRightIcon, { className: "h-5 w-5" })
13837
12646
  }
13838
12647
  )
13839
12648
  ] })
13840
- ] }),
13841
- /* @__PURE__ */ jsxRuntime.jsxs(
13842
- "div",
13843
- {
13844
- className: `flex items-center justify-between bg-white dark:bg-zinc-800 rounded-lg shadow hover:shadow-md transition-all duration-200 px-6 py-4 ${loading ? "opacity-75 pointer-events-none" : "opacity-100"}`,
13845
- children: [
13846
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 justify-between items-center sm:hidden", children: [
13847
- /* @__PURE__ */ jsxRuntime.jsxs(
13848
- "button",
13849
- {
13850
- onClick: () => handlePageChange(pagination.page - 1),
13851
- disabled: !pagination.hasPrev || loading,
13852
- className: "relative inline-flex items-center rounded-lg border border-zinc-300 dark:border-zinc-600 bg-white dark:bg-zinc-800 px-6 py-3 min-h-[44px] text-sm font-medium text-zinc-700 dark:text-zinc-300 hover:bg-zinc-50 dark:hover:bg-zinc-700 disabled:opacity-50 disabled:cursor-not-allowed touch-manipulation",
13853
- children: [
13854
- /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ChevronLeftIcon, { className: "h-5 w-5 mr-1" }),
13855
- tPagination("previous")
13856
- ]
13857
- }
13858
- ),
13859
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center text-xs text-zinc-600 dark:text-zinc-400", children: [
13860
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "font-medium", children: [
13861
- pagination.page,
13862
- " / ",
13863
- pagination.totalPages
13864
- ] }),
13865
- /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
13866
- pagination.total,
13867
- " ",
13868
- tCommon("items")
13869
- ] })
13870
- ] }),
13871
- /* @__PURE__ */ jsxRuntime.jsxs(
13872
- "button",
13873
- {
13874
- onClick: () => handlePageChange(pagination.page + 1),
13875
- disabled: !pagination.hasNext || loading,
13876
- className: "relative inline-flex items-center rounded-lg border border-zinc-300 dark:border-zinc-600 bg-white dark:bg-zinc-800 px-6 py-3 min-h-[44px] text-sm font-medium text-zinc-700 dark:text-zinc-300 hover:bg-zinc-50 dark:hover:bg-zinc-700 disabled:opacity-50 disabled:cursor-not-allowed touch-manipulation",
13877
- children: [
13878
- tPagination("next"),
13879
- /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ChevronRightIcon, { className: "h-5 w-5 ml-1" })
13880
- ]
13881
- }
13882
- )
13883
- ] }),
13884
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between", children: [
13885
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4", children: [
13886
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
13887
- loading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "animate-spin rounded-full h-4 w-4 border-b-2 border-indigo-600" }),
13888
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-zinc-700 dark:text-zinc-300", children: tPagination("showing", {
13889
- start: String(startItem),
13890
- end: String(endItem),
13891
- total: String(pagination.total)
13892
- }) })
13893
- ] }),
13894
- showPageSize && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "hidden sm:flex items-center gap-2", children: [
13895
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-zinc-700 dark:text-zinc-300 whitespace-nowrap", children: tPagination("itemsPerPage") }),
13896
- /* @__PURE__ */ jsxRuntime.jsx(
13897
- "select",
13898
- {
13899
- value: params.limit,
13900
- onChange: (e) => handlePageSizeChange(e.target.value),
13901
- disabled: loading,
13902
- className: "rounded-md border border-zinc-300 dark:border-zinc-600 bg-white dark:bg-zinc-800 px-3 py-1 text-sm font-medium text-zinc-700 dark:text-zinc-300 focus:outline-none focus:ring-2 focus:ring-indigo-500",
13903
- children: pageSizeOptions.map((size) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: size, children: size }, size))
13904
- }
13905
- )
13906
- ] })
13907
- ] }),
13908
- pagination.totalPages > 1 && /* @__PURE__ */ jsxRuntime.jsxs(
13909
- "nav",
13910
- {
13911
- "aria-label": tAria("pagination"),
13912
- className: "isolate inline-flex -space-x-px rounded-md shadow-sm",
13913
- children: [
13914
- /* @__PURE__ */ jsxRuntime.jsxs(
13915
- "button",
13916
- {
13917
- onClick: () => handlePageChange(pagination.page - 1),
13918
- disabled: !pagination.hasPrev || loading,
13919
- className: "relative inline-flex items-center justify-center rounded-l-md px-3 py-2 min-h-[44px] min-w-[44px] text-zinc-400 ring-1 ring-zinc-300 dark:ring-zinc-600 ring-inset hover:bg-zinc-50 dark:hover:bg-zinc-700 focus:z-20 focus:outline-offset-0 disabled:opacity-50 disabled:cursor-not-allowed touch-manipulation",
13920
- children: [
13921
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: tPagination("previous") }),
13922
- /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ChevronLeftIcon, { "aria-hidden": "true", className: "h-5 w-5" })
13923
- ]
13924
- }
13925
- ),
13926
- getPageNumbers(pagination.page, pagination.totalPages).map(
13927
- (page, index) => page === "..." ? /* @__PURE__ */ jsxRuntime.jsx(
13928
- "span",
13929
- {
13930
- className: "relative inline-flex items-center px-4 py-2 text-sm font-semibold text-zinc-700 dark:text-zinc-300 ring-1 ring-zinc-300 dark:ring-zinc-600 ring-inset focus:outline-offset-0",
13931
- children: "..."
13932
- },
13933
- `ellipsis-${index}`
13934
- ) : /* @__PURE__ */ jsxRuntime.jsx(
13935
- "button",
13936
- {
13937
- onClick: () => handlePageChange(page),
13938
- disabled: loading,
13939
- "aria-current": page === pagination.page ? "page" : void 0,
13940
- className: `relative inline-flex items-center justify-center px-4 py-2 min-h-[44px] min-w-[44px] text-sm font-semibold focus:z-20 focus:outline-offset-0 touch-manipulation ${page === pagination.page ? "z-10 bg-indigo-600 text-white focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" : "text-zinc-900 dark:text-zinc-300 ring-1 ring-zinc-300 dark:ring-zinc-600 ring-inset hover:bg-zinc-50 dark:hover:bg-zinc-700"}`,
13941
- children: page
13942
- },
13943
- `page-${page}`
13944
- )
13945
- ),
13946
- /* @__PURE__ */ jsxRuntime.jsxs(
13947
- "button",
13948
- {
13949
- onClick: () => handlePageChange(pagination.page + 1),
13950
- disabled: !pagination.hasNext || loading,
13951
- className: "relative inline-flex items-center justify-center rounded-r-md px-3 py-2 min-h-[44px] min-w-[44px] text-zinc-400 ring-1 ring-zinc-300 dark:ring-zinc-600 ring-inset hover:bg-zinc-50 dark:hover:bg-zinc-700 focus:z-20 focus:outline-offset-0 disabled:opacity-50 disabled:cursor-not-allowed touch-manipulation",
13952
- children: [
13953
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: tPagination("next") }),
13954
- /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.ChevronRightIcon, { "aria-hidden": "true", className: "h-5 w-5" })
13955
- ]
13956
- }
13957
- )
13958
- ]
13959
- }
13960
- )
13961
- ] })
13962
- ]
13963
- }
13964
- )
12649
+ ] })
13965
12650
  ] });
13966
12651
  }
13967
12652
  function getPageNumbers(currentPage, totalPages) {
13968
12653
  if (totalPages <= 7) {
13969
12654
  return Array.from({ length: totalPages }, (_, i) => i + 1);
13970
12655
  }
13971
- const pages = [];
13972
- pages.push(1);
12656
+ const pages = [1];
13973
12657
  if (currentPage <= 4) {
13974
- for (let i = 2; i <= Math.min(5, totalPages); i++) {
13975
- pages.push(i);
13976
- }
12658
+ for (let i = 2; i <= Math.min(5, totalPages); i++) pages.push(i);
13977
12659
  if (totalPages > 5) {
13978
12660
  pages.push("...");
13979
12661
  pages.push(totalPages);
13980
12662
  }
13981
12663
  } else if (currentPage >= totalPages - 3) {
13982
12664
  pages.push("...");
13983
- for (let i = Math.max(totalPages - 4, 2); i <= totalPages; i++) {
12665
+ for (let i = Math.max(totalPages - 4, 2); i <= totalPages; i++)
13984
12666
  pages.push(i);
13985
- }
13986
12667
  } else {
13987
12668
  pages.push("...");
13988
- for (let i = currentPage - 1; i <= currentPage + 1; i++) {
13989
- pages.push(i);
13990
- }
12669
+ for (let i = currentPage - 1; i <= currentPage + 1; i++) pages.push(i);
13991
12670
  pages.push("...");
13992
12671
  pages.push(totalPages);
13993
12672
  }
13994
12673
  return pages;
13995
12674
  }
13996
- var ContactCard = React11__namespace.default.memo(function ContactCard2({
13997
- type,
13998
- email,
13999
- phone
14000
- }) {
14001
- const t = nextIntl.useTranslations("contact");
14002
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-2xl bg-gray-50 p-10", children: [
14003
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base/7 font-semibold text-gray-900", children: t(type) }),
14004
- /* @__PURE__ */ jsxRuntime.jsxs("dl", { className: "mt-3 space-y-1 text-sm/6 text-gray-600", children: [
14005
- /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
14006
- /* @__PURE__ */ jsxRuntime.jsx("dt", { className: "sr-only", children: "Email" }),
14007
- /* @__PURE__ */ jsxRuntime.jsx("dd", { children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${email}`, className: "font-semibold text-blue-600", children: email }) })
14008
- ] }),
14009
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-1", children: [
14010
- /* @__PURE__ */ jsxRuntime.jsx("dt", { className: "sr-only", children: "Telefone" }),
14011
- /* @__PURE__ */ jsxRuntime.jsx("dd", { children: phone })
14012
- ] })
14013
- ] })
14014
- ] });
14015
- });
14016
- var OfficeCard = React11__namespace.default.memo(function OfficeCard2({
14017
- city,
14018
- address,
14019
- postalCode
14020
- }) {
14021
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-2xl bg-gray-50 p-10", children: [
14022
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base/7 font-semibold text-gray-900", children: city }),
14023
- /* @__PURE__ */ jsxRuntime.jsxs("address", { className: "mt-3 space-y-1 text-sm/6 text-gray-600 not-italic", children: [
14024
- /* @__PURE__ */ jsxRuntime.jsx("p", { children: address }),
14025
- /* @__PURE__ */ jsxRuntime.jsx("p", { children: postalCode })
14026
- ] })
14027
- ] });
14028
- });
14029
- var ContactSection = React11__namespace.default.memo(
14030
- function ContactSection2({ title, subtitle, children }) {
14031
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-10 py-16 lg:grid-cols-3", children: [
14032
- /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
14033
- /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-4xl font-semibold tracking-tight text-pretty text-gray-900", children: title }),
14034
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-4 text-base/7 text-gray-600", children: subtitle })
14035
- ] }),
14036
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8", children })
14037
- ] });
14038
- }
14039
- );
14040
12675
  var PageHeader = React11.memo(function PageHeader2({
14041
12676
  title,
14042
12677
  subtitle,
@@ -14052,13 +12687,13 @@ var PageHeader = React11.memo(function PageHeader2({
14052
12687
  "h1",
14053
12688
  {
14054
12689
  className: clsx__default.default(
14055
- "font-bold text-zinc-900 dark:text-zinc-100 truncate",
12690
+ "font-bold text-slate-900 dark:text-slate-100 truncate",
14056
12691
  size === "large" ? "text-3xl" : "text-2xl"
14057
12692
  ),
14058
12693
  children: title
14059
12694
  }
14060
12695
  ),
14061
- subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-zinc-600 dark:text-zinc-400 line-clamp-2", children: subtitle })
12696
+ subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-slate-600 dark:text-slate-400 line-clamp-2", children: subtitle })
14062
12697
  ] }),
14063
12698
  actions && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-shrink-0 flex items-center gap-2 flex-wrap", children: actions })
14064
12699
  ] }),
@@ -14075,8 +12710,8 @@ var PageSectionHeader = React11.memo(function PageSectionHeader2({
14075
12710
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx__default.default("mb-4", className), children: [
14076
12711
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3", children: [
14077
12712
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
14078
- /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-lg sm:text-xl font-semibold text-zinc-900 dark:text-zinc-100", children: title }),
14079
- subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm text-zinc-600 dark:text-zinc-400 line-clamp-2", children: subtitle })
12713
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-lg sm:text-xl font-semibold text-slate-900 dark:text-slate-100", children: title }),
12714
+ subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm text-slate-600 dark:text-slate-400 line-clamp-2", children: subtitle })
14080
12715
  ] }),
14081
12716
  actions && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-shrink-0 flex items-center gap-2 flex-wrap", children: actions })
14082
12717
  ] }),
@@ -14093,76 +12728,51 @@ var CardSectionHeader = React11.memo(function CardSectionHeader2({
14093
12728
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx__default.default("mb-3", className), children: [
14094
12729
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-2", children: [
14095
12730
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
14096
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base sm:text-lg font-medium text-zinc-900 dark:text-zinc-100", children: title }),
14097
- subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-xs sm:text-sm text-zinc-600 dark:text-zinc-400 line-clamp-1", children: subtitle })
12731
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base sm:text-lg font-medium text-slate-900 dark:text-slate-100", children: title }),
12732
+ subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-xs sm:text-sm text-slate-600 dark:text-slate-400 line-clamp-1", children: subtitle })
14098
12733
  ] }),
14099
12734
  actions && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-shrink-0 flex items-center gap-1 flex-wrap", children: actions })
14100
12735
  ] }),
14101
12736
  children && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-2", children })
14102
12737
  ] });
14103
12738
  });
14104
- var MetricCard2 = ({
14105
- title,
14106
- value,
14107
- subtitle,
14108
- tooltip,
14109
- className = "",
14110
- children
14111
- }) => {
14112
- const [showTooltip, setShowTooltip] = React11.useState(false);
14113
- return /* @__PURE__ */ jsxRuntime.jsxs(
14114
- "div",
14115
- {
14116
- className: `bg-zinc-50 dark:bg-zinc-800/50 rounded-2xl border border-zinc-200/50 dark:border-zinc-700/50 p-5 hover:border-zinc-300 dark:hover:border-zinc-600 transition-colors ${className}`,
14117
- children: [
14118
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between mb-3", children: [
14119
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium text-zinc-500 dark:text-zinc-400", children: title }),
14120
- tooltip && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
14121
- /* @__PURE__ */ jsxRuntime.jsx(
14122
- "button",
14123
- {
14124
- type: "button",
14125
- onMouseEnter: () => setShowTooltip(true),
14126
- onMouseLeave: () => setShowTooltip(false),
14127
- className: "w-4 h-4 rounded-full bg-zinc-200 dark:bg-zinc-700 text-zinc-600 dark:text-zinc-400 text-xs flex items-center justify-center hover:bg-zinc-300 dark:hover:bg-zinc-600 transition-colors",
14128
- "aria-label": "Info",
14129
- children: "?"
14130
- }
14131
- ),
14132
- showTooltip && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute right-0 top-6 z-10 w-64 p-3 bg-zinc-900 dark:bg-zinc-100 text-white dark:text-zinc-900 text-xs rounded-lg shadow-lg", children: [
14133
- tooltip,
14134
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute right-2 top-0 -translate-y-1 w-2 h-2 bg-zinc-900 dark:bg-zinc-100 rotate-45" })
14135
- ] })
14136
- ] })
14137
- ] }),
14138
- children ? children : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
14139
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-2xl font-semibold text-zinc-900 dark:text-zinc-100 mb-1", children: value }),
14140
- subtitle && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-zinc-500 dark:text-zinc-400", children: subtitle })
14141
- ] })
14142
- ]
14143
- }
14144
- );
14145
- };
14146
- var MetricTooltip = ({ text }) => {
14147
- const [show, setShow] = React11.useState(false);
14148
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
14149
- /* @__PURE__ */ jsxRuntime.jsx(
14150
- "button",
14151
- {
14152
- type: "button",
14153
- onMouseEnter: () => setShow(true),
14154
- onMouseLeave: () => setShow(false),
14155
- className: "w-4 h-4 rounded-full bg-zinc-200 dark:bg-zinc-700 text-zinc-600 dark:text-zinc-400 text-xs flex items-center justify-center hover:bg-zinc-300 dark:hover:bg-zinc-600 transition-colors",
14156
- "aria-label": "Info",
14157
- children: "?"
14158
- }
12739
+ var Tabs = TabsPrimitive__namespace.Root;
12740
+ var TabsList = React11__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
12741
+ TabsPrimitive__namespace.List,
12742
+ {
12743
+ ref,
12744
+ className: clsx__default.default(
12745
+ "inline-flex h-9 items-center justify-center rounded-lg bg-muted/50 p-0.5 text-muted-foreground",
12746
+ className
14159
12747
  ),
14160
- show && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute right-0 top-6 z-10 w-64 p-3 bg-zinc-900 dark:bg-zinc-100 text-white dark:text-zinc-900 text-xs rounded-lg shadow-lg", children: [
14161
- text,
14162
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute right-2 top-0 -translate-y-1 w-2 h-2 bg-zinc-900 dark:bg-zinc-100 rotate-45" })
14163
- ] })
14164
- ] });
14165
- };
12748
+ ...props
12749
+ }
12750
+ ));
12751
+ TabsList.displayName = TabsPrimitive__namespace.List.displayName;
12752
+ var TabsTrigger = React11__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
12753
+ TabsPrimitive__namespace.Trigger,
12754
+ {
12755
+ ref,
12756
+ className: clsx__default.default(
12757
+ "inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
12758
+ className
12759
+ ),
12760
+ ...props
12761
+ }
12762
+ ));
12763
+ TabsTrigger.displayName = TabsPrimitive__namespace.Trigger.displayName;
12764
+ var TabsContent = React11__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
12765
+ TabsPrimitive__namespace.Content,
12766
+ {
12767
+ ref,
12768
+ className: clsx__default.default(
12769
+ "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
12770
+ className
12771
+ ),
12772
+ ...props
12773
+ }
12774
+ ));
12775
+ TabsContent.displayName = TabsPrimitive__namespace.Content.displayName;
14166
12776
 
14167
12777
  // src/lib/navigation.ts
14168
12778
  function buildDockActions(items, pathname, handlers, options = {}) {
@@ -14932,21 +13542,15 @@ exports.BrandedLoader = BrandedLoader;
14932
13542
  exports.Breadcrumb = Breadcrumb;
14933
13543
  exports.Button = Button;
14934
13544
  exports.Card = Card;
14935
- exports.Card2 = Card2;
14936
13545
  exports.CardActionMenu = CardActionMenu;
14937
13546
  exports.CardContent = CardContent;
14938
- exports.CardContent2 = CardContent2;
14939
13547
  exports.CardDescription = CardDescription;
14940
- exports.CardDescription2 = CardDescription2;
14941
13548
  exports.CardDivider = CardDivider;
14942
13549
  exports.CardFooter = CardFooter;
14943
- exports.CardFooter2 = CardFooter2;
14944
13550
  exports.CardGridSkeleton = CardGridSkeleton;
14945
13551
  exports.CardHeader = CardHeader;
14946
- exports.CardHeader2 = CardHeader2;
14947
13552
  exports.CardSectionHeader = CardSectionHeader;
14948
13553
  exports.CardTitle = CardTitle;
14949
- exports.CardTitle2 = CardTitle2;
14950
13554
  exports.CategoryBadge = CategoryBadge;
14951
13555
  exports.CategoryTab = CategoryTab;
14952
13556
  exports.CategoryTabs = CategoryTabs;
@@ -14955,8 +13559,6 @@ exports.CircularRefreshIndicator = CircularRefreshIndicator;
14955
13559
  exports.Code = Code;
14956
13560
  exports.CollapsibleGroupedList = CollapsibleGroupedList;
14957
13561
  exports.CompactSegmentedControl = CompactSegmentedControl;
14958
- exports.ContactCard = ContactCard;
14959
- exports.ContactSection = ContactSection;
14960
13562
  exports.Container = Container;
14961
13563
  exports.ContextMenu = ContextMenu;
14962
13564
  exports.CookieConsent = CookieConsent;
@@ -14981,17 +13583,7 @@ exports.DockContainer = DockContainer;
14981
13583
  exports.DockSkeleton = DockSkeleton;
14982
13584
  exports.DotRefreshIndicator = DotRefreshIndicator;
14983
13585
  exports.Dropdown = Dropdown;
14984
- exports.DropdownButton = DropdownButton;
14985
- exports.DropdownDescription = DropdownDescription;
14986
- exports.DropdownDivider = DropdownDivider;
14987
- exports.DropdownHeader = DropdownHeader;
14988
- exports.DropdownHeading = DropdownHeading;
14989
- exports.DropdownItem = DropdownItem;
14990
- exports.DropdownLabel = DropdownLabel;
14991
- exports.DropdownMenu = DropdownMenu;
14992
- exports.DropdownSection = DropdownSection;
14993
13586
  exports.DropdownSelect = DropdownSelect;
14994
- exports.DropdownShortcut = DropdownShortcut;
14995
13587
  exports.DynamicIsland = DynamicIsland;
14996
13588
  exports.DynamicIslandConfirm = DynamicIslandConfirm;
14997
13589
  exports.DynamicIslandNotification = DynamicIslandNotification;
@@ -15048,18 +13640,15 @@ exports.InfoPopover = InfoPopover;
15048
13640
  exports.InlineForm = InlineForm;
15049
13641
  exports.InlineSpinner = InlineSpinner;
15050
13642
  exports.Input = Input;
15051
- exports.InputGroup = InputGroup;
15052
13643
  exports.InteractiveGeoMap = InteractiveGeoMap;
15053
13644
  exports.ItemSummary = ItemSummary;
15054
13645
  exports.KORI_ERP_LOADER = KORI_ERP_LOADER;
15055
13646
  exports.Label = Label2;
15056
- exports.Label2 = Label3;
15057
13647
  exports.LabeledToggle = LabeledToggle;
15058
13648
  exports.LanguageSwitcher = LanguageSwitcher;
15059
13649
  exports.LaunchpadGrid = LaunchpadGrid;
15060
13650
  exports.Lead = Lead;
15061
13651
  exports.Legend = Legend2;
15062
- exports.Link = Link4;
15063
13652
  exports.LiquidFilterInput = LiquidFilterInput;
15064
13653
  exports.ListCard = ListCard;
15065
13654
  exports.ListCardItem = ListCardItem;
@@ -15069,8 +13658,6 @@ exports.ManagementPageLayout = ManagementPageLayout;
15069
13658
  exports.ManagementSurface = ManagementSurface;
15070
13659
  exports.MapZoomControls = MapZoomControls;
15071
13660
  exports.MetricCard = MetricCard;
15072
- exports.MetricCard2 = MetricCard2;
15073
- exports.MetricTooltip = MetricTooltip;
15074
13661
  exports.MonthPicker = MonthPicker;
15075
13662
  exports.MultiColumnPicker = MultiColumnPicker;
15076
13663
  exports.NavigationProgress = NavigationProgress;
@@ -15080,7 +13667,6 @@ exports.NotFoundPage = NotFoundPage;
15080
13667
  exports.NotificationBadge = NotificationBadge;
15081
13668
  exports.NotificationBellButton = NotificationBellButton;
15082
13669
  exports.NotificationProvider = NotificationProvider;
15083
- exports.OfficeCard = OfficeCard;
15084
13670
  exports.OfflineState = OfflineState;
15085
13671
  exports.OptionGrid = OptionGrid;
15086
13672
  exports.OtpInput = OtpInput;
@@ -15092,7 +13678,6 @@ exports.PageLoadingState = PageLoadingState;
15092
13678
  exports.PageSectionHeader = PageSectionHeader;
15093
13679
  exports.Pagination = Pagination;
15094
13680
  exports.PasswordInput = PasswordInput;
15095
- exports.PasswordInput2 = PasswordInput2;
15096
13681
  exports.PasswordStrengthMeter = PasswordStrengthMeter;
15097
13682
  exports.Pill = Pill;
15098
13683
  exports.PlatformShell = PlatformShell;
@@ -15102,7 +13687,6 @@ exports.PlusGridRow = PlusGridRow;
15102
13687
  exports.PreferenceSection = PreferenceSection;
15103
13688
  exports.PriceChangeBadge = PriceChangeBadge;
15104
13689
  exports.ProfileIdentityCard = ProfileIdentityCard;
15105
- exports.Progress = Progress;
15106
13690
  exports.ProgressIndicator = ProgressIndicator;
15107
13691
  exports.PullToRefreshContainer = PullToRefreshContainer;
15108
13692
  exports.PullToRefreshIndicator = PullToRefreshIndicator;
@@ -15122,10 +13706,6 @@ exports.SectionHeader = SectionHeader;
15122
13706
  exports.SectionHeaderSkeleton = SectionHeaderSkeleton;
15123
13707
  exports.SegmentedControl = SegmentedControl;
15124
13708
  exports.Select = Select;
15125
- exports.SelectContent = SelectContent;
15126
- exports.SelectItem = SelectItem;
15127
- exports.SelectTrigger = SelectTrigger;
15128
- exports.SelectValue = SelectValue;
15129
13709
  exports.SelectableChipPicker = SelectableChipPicker;
15130
13710
  exports.SelectableListPicker = SelectableListPicker;
15131
13711
  exports.SelectableOptionsGrid = SelectableOptionsGrid;
@@ -15135,13 +13715,11 @@ exports.ServerErrorPage = ServerErrorPage;
15135
13715
  exports.SettingsDialog = SettingsDialog;
15136
13716
  exports.SettingsModal = SettingsModal;
15137
13717
  exports.Sheet = Sheet;
15138
- exports.SliderInput = SliderInput;
15139
13718
  exports.SocialLoginButtons = SocialLoginButtons;
15140
13719
  exports.SortableTableHeader = SortableTableHeader;
15141
13720
  exports.Spinner = Spinner;
15142
13721
  exports.Stat = Stat;
15143
13722
  exports.StatCard = StatCard;
15144
- exports.StatCard2 = StatCard2;
15145
13723
  exports.StatCardSkeleton = StatCardSkeleton;
15146
13724
  exports.StatusBadge = StatusBadge;
15147
13725
  exports.StatusToggle = StatusToggle;
@@ -15151,9 +13729,6 @@ exports.StepTimeline = StepTimeline;
15151
13729
  exports.Strong = Strong;
15152
13730
  exports.Subheading = Subheading;
15153
13731
  exports.SwipeableRow = SwipeableRow;
15154
- exports.Switch = Switch2;
15155
- exports.SwitchField = SwitchField;
15156
- exports.SwitchGroup = SwitchGroup;
15157
13732
  exports.Table = Table;
15158
13733
  exports.TableBody = TableBody;
15159
13734
  exports.TableCell = TableCell;
@@ -15259,5 +13834,5 @@ exports.useGeoMapState = useGeoMapState;
15259
13834
  exports.useNotifications = useNotifications;
15260
13835
  exports.usePlatformShellStore = usePlatformShellStore;
15261
13836
  exports.usePullToRefresh = usePullToRefresh;
15262
- //# sourceMappingURL=chunk-S4MECSAK.js.map
15263
- //# sourceMappingURL=chunk-S4MECSAK.js.map
13837
+ //# sourceMappingURL=chunk-ORFU4L3V.js.map
13838
+ //# sourceMappingURL=chunk-ORFU4L3V.js.map