@sikka/hawa 0.23.2-next → 0.23.7-next

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/dist/accordion/index.js +30 -2399
  2. package/dist/accordion/index.mjs +19 -461
  3. package/dist/alert/index.mjs +0 -1
  4. package/dist/appStores/index.js +75 -0
  5. package/dist/appStores/index.mjs +38 -0
  6. package/dist/avatar/index.mjs +118 -3
  7. package/dist/backToTop/index.mjs +102 -4
  8. package/dist/badge/index.js +127 -0
  9. package/dist/badge/index.mjs +84 -0
  10. package/dist/blocks/auth/index.js +1173 -3092
  11. package/dist/blocks/auth/index.mjs +16 -10
  12. package/dist/blocks/feedback/index.js +864 -2913
  13. package/dist/blocks/feedback/index.mjs +14 -8
  14. package/dist/blocks/index.js +5714 -5316
  15. package/dist/blocks/index.mjs +390 -45
  16. package/dist/blocks/misc/index.js +634 -2409
  17. package/dist/blocks/misc/index.mjs +14 -8
  18. package/dist/blocks/pricing/index.js +522 -524
  19. package/dist/blocks/pricing/index.mjs +1861 -45
  20. package/dist/breadcrumb/index.js +63 -0
  21. package/dist/breadcrumb/index.mjs +26 -0
  22. package/dist/card/index.mjs +83 -8
  23. package/dist/checkbox/index.mjs +138 -3
  24. package/dist/chip/index.js +129 -0
  25. package/dist/chip/index.mjs +8 -0
  26. package/dist/{chunk-X6PCWJYD.mjs → chunk-2R2QPJT7.mjs} +761 -1104
  27. package/dist/chunk-677VOLD4.mjs +464 -0
  28. package/dist/chunk-72HYR6WB.mjs +88 -0
  29. package/dist/chunk-A25EXELT.mjs +131 -0
  30. package/dist/{chunk-OE27DSIY.mjs → chunk-F6TKEDDP.mjs} +2 -4
  31. package/dist/{chunk-YFC2GSJ6.mjs → chunk-P2O6R3S6.mjs} +66 -5
  32. package/dist/{chunk-GXXX5UB4.mjs → chunk-QGKW5R5F.mjs} +59 -20
  33. package/dist/chunk-TR56G3NM.mjs +2350 -0
  34. package/dist/chunk-UAVBFK53.mjs +346 -0
  35. package/dist/combobox/index.mjs +153 -7
  36. package/dist/dataTable/index.mjs +355 -8
  37. package/dist/elements/index.js +800 -1148
  38. package/dist/elements/index.mjs +1 -11
  39. package/dist/fileDropzone/index.mjs +226 -4
  40. package/dist/index.js +1721 -1721
  41. package/dist/index.mjs +1663 -1663
  42. package/dist/layout/index.js +493 -510
  43. package/dist/layout/index.mjs +1 -1
  44. package/dist/loading/index.mjs +0 -1
  45. package/dist/logos/index.mjs +204 -3
  46. package/dist/navigationMenu/index.mjs +155 -13
  47. package/dist/phoneInput/index.js +2074 -0
  48. package/dist/phoneInput/index.mjs +1776 -0
  49. package/dist/pinInput/index.js +130 -0
  50. package/dist/pinInput/index.mjs +88 -0
  51. package/dist/progress/index.js +71 -0
  52. package/dist/progress/index.mjs +29 -0
  53. package/dist/radio/index.mjs +202 -4
  54. package/dist/scrollArea/index.js +90 -0
  55. package/dist/scrollArea/index.mjs +47 -0
  56. package/dist/select/index.mjs +1 -1
  57. package/dist/sheet/index.mjs +137 -12
  58. package/dist/sortButton/index.mjs +40 -4
  59. package/dist/stopPropagationWrapper/index.js +48 -0
  60. package/dist/stopPropagationWrapper/index.mjs +11 -0
  61. package/dist/switch/index.mjs +79 -3
  62. package/dist/tabs/index.js +1 -1
  63. package/dist/tabs/index.mjs +68 -6
  64. package/dist/textarea/index.mjs +54 -4
  65. package/package.json +2 -2
  66. package/dist/Chip-DJ6ThZc_.d.ts +0 -21
  67. package/dist/Chip-eal8vwDz.d.mts +0 -21
  68. package/dist/accordion/index.d.mts +0 -42
  69. package/dist/accordion/index.d.ts +0 -42
  70. package/dist/alert/index.d.mts +0 -28
  71. package/dist/alert/index.d.ts +0 -28
  72. package/dist/avatar/index.d.mts +0 -15
  73. package/dist/avatar/index.d.ts +0 -15
  74. package/dist/backToTop/index.d.mts +0 -15
  75. package/dist/backToTop/index.d.ts +0 -15
  76. package/dist/button/index.d.mts +0 -16
  77. package/dist/button/index.d.ts +0 -16
  78. package/dist/card/index.d.mts +0 -17
  79. package/dist/card/index.d.ts +0 -17
  80. package/dist/checkbox/index.d.mts +0 -20
  81. package/dist/checkbox/index.d.ts +0 -20
  82. package/dist/chunk-BK5WF7UO.mjs +0 -231
  83. package/dist/chunk-CXWYC6FS.mjs +0 -360
  84. package/dist/chunk-D2USGMDT.mjs +0 -208
  85. package/dist/chunk-DX4SLF2L.mjs +0 -45
  86. package/dist/chunk-ENNSA4VR.mjs +0 -5566
  87. package/dist/chunk-GXSYCLZZ.mjs +0 -158
  88. package/dist/chunk-IQPGAHUR.mjs +0 -107
  89. package/dist/chunk-POT2IP62.mjs +0 -123
  90. package/dist/chunk-TWDZB2VH.mjs +0 -151
  91. package/dist/chunk-VBTYVVA7.mjs +0 -93
  92. package/dist/chunk-VCGW5DIP.mjs +0 -170
  93. package/dist/chunk-X3SMPIA3.mjs +0 -0
  94. package/dist/chunk-XA646BZ2.mjs +0 -143
  95. package/dist/chunk-ZCUUQ5VV.mjs +0 -84
  96. package/dist/combobox/index.d.mts +0 -32
  97. package/dist/combobox/index.d.ts +0 -32
  98. package/dist/command/index.d.mts +0 -48
  99. package/dist/command/index.d.ts +0 -48
  100. package/dist/commonTypes-gbO4hPli.d.mts +0 -7
  101. package/dist/commonTypes-gbO4hPli.d.ts +0 -7
  102. package/dist/dataTable/index.d.mts +0 -39
  103. package/dist/dataTable/index.d.ts +0 -39
  104. package/dist/dialog/index.d.mts +0 -57
  105. package/dist/dialog/index.d.ts +0 -57
  106. package/dist/dropdownMenu/index.d.mts +0 -95
  107. package/dist/dropdownMenu/index.d.ts +0 -95
  108. package/dist/fileDropzone/index.d.mts +0 -37
  109. package/dist/fileDropzone/index.d.ts +0 -37
  110. package/dist/input/index.d.mts +0 -36
  111. package/dist/input/index.d.ts +0 -36
  112. package/dist/label/index.d.mts +0 -12
  113. package/dist/label/index.d.ts +0 -12
  114. package/dist/loading/index.d.mts +0 -15
  115. package/dist/loading/index.d.ts +0 -15
  116. package/dist/logos/index.d.mts +0 -27
  117. package/dist/logos/index.d.ts +0 -27
  118. package/dist/navigationMenu/index.d.mts +0 -39
  119. package/dist/navigationMenu/index.d.ts +0 -39
  120. package/dist/popover/index.d.mts +0 -23
  121. package/dist/popover/index.d.ts +0 -23
  122. package/dist/radio/index.d.mts +0 -28
  123. package/dist/radio/index.d.ts +0 -28
  124. package/dist/select/index.d.mts +0 -43
  125. package/dist/select/index.d.ts +0 -43
  126. package/dist/sheet/index.d.mts +0 -30
  127. package/dist/sheet/index.d.ts +0 -30
  128. package/dist/skeleton/index.d.mts +0 -10
  129. package/dist/skeleton/index.d.ts +0 -10
  130. package/dist/sortButton/index.d.mts +0 -10
  131. package/dist/sortButton/index.d.ts +0 -10
  132. package/dist/splitButton/index.d.mts +0 -15
  133. package/dist/splitButton/index.d.ts +0 -15
  134. package/dist/switch/index.d.mts +0 -12
  135. package/dist/switch/index.d.ts +0 -12
  136. package/dist/table/index.d.mts +0 -21
  137. package/dist/table/index.d.ts +0 -21
  138. package/dist/tabs/index.d.mts +0 -16
  139. package/dist/tabs/index.d.ts +0 -16
  140. package/dist/textarea/index.d.mts +0 -17
  141. package/dist/textarea/index.d.ts +0 -17
  142. package/dist/tooltip/index.d.mts +0 -26
  143. package/dist/tooltip/index.d.ts +0 -26
  144. /package/dist/{chunk-A7OPD7H7.mjs → chunk-B6UCD4GP.mjs} +0 -0
  145. /package/dist/{chunk-O2ALK7UE.mjs → chunk-Z4M72OD3.mjs} +0 -0
@@ -35,8 +35,6 @@ __export(elements_exports, {
35
35
  AccordionItem: () => AccordionItem,
36
36
  AccordionRoot: () => AccordionRoot,
37
37
  AccordionTrigger: () => AccordionTrigger,
38
- ActionCard: () => ActionCard,
39
- AdCard: () => AdCard,
40
38
  Alert: () => Alert,
41
39
  AppStores: () => AppStores,
42
40
  Avatar: () => Avatar,
@@ -103,9 +101,7 @@ __export(elements_exports, {
103
101
  FileUploader: () => FileUploader,
104
102
  Input: () => Input,
105
103
  InterfaceSettings: () => InterfaceSettings,
106
- ItemCard: () => ItemCard,
107
104
  Label: () => Label2,
108
- LandingCard: () => LandingCard,
109
105
  Loading: () => Loading,
110
106
  Logos: () => Logos,
111
107
  NavigationMenu: () => NavigationMenu,
@@ -125,7 +121,6 @@ __export(elements_exports, {
125
121
  Popover: () => Popover,
126
122
  PopoverContent: () => PopoverContent,
127
123
  PopoverTrigger: () => PopoverTrigger,
128
- PricingCard: () => PricingCard,
129
124
  Progress: () => Progress,
130
125
  ProgressCircle: () => ProgressCircle,
131
126
  Radio: () => Radio,
@@ -864,13 +859,94 @@ var DropdownMenuRadio = (props) => {
864
859
  };
865
860
 
866
861
  // components/elements/accordion/Accordion.tsx
867
- var React8 = __toESM(require("react"));
862
+ var React9 = __toESM(require("react"));
868
863
  var AccordionPrimitive3 = __toESM(require("@radix-ui/react-accordion"));
869
864
 
865
+ // components/elements/chip/Chip.tsx
866
+ var import_react4 = __toESM(require("react"));
867
+ var Chip = import_react4.default.forwardRef(
868
+ ({
869
+ label,
870
+ size = "normal",
871
+ icon,
872
+ color,
873
+ radius = "inherit",
874
+ dotType,
875
+ ...rest
876
+ }, ref) => {
877
+ let defaultStyles = "hawa-flex hawa-flex-row hawa-w-fit hawa-gap-1 hawa-items-center hawa-px-2.5 hawa-py-1 hawa-font-bold ";
878
+ let radiusStyles = {
879
+ inherit: " hawa-rounded",
880
+ full: "hawa-rounded-full",
881
+ none: "hawa-rounded-none"
882
+ };
883
+ let sizeStyles = {
884
+ small: "hawa-h-[15px] hawa-leading-4 hawa-px-0 hawa-py-0 hawa-text-[9px] hawa-gap-0.5 ",
885
+ normal: "hawa-h-fit hawa-text-xs",
886
+ large: "hawa-text-base"
887
+ };
888
+ let dotStyles = {
889
+ small: "hawa-flex hawa-h-1 hawa-w-1 hawa-rounded-full",
890
+ normal: "hawa-flex hawa-h-2 hawa-w-2 hawa-rounded-full",
891
+ large: "hawa-flex hawa-h-3 hawa-w-3 hawa-rounded-full"
892
+ };
893
+ let dotTypeStyles = {
894
+ available: "hawa-bg-green-500",
895
+ unavailable: "hawa-bg-red-500"
896
+ };
897
+ let colorStyles = {
898
+ green: "hawa-bg-green-100 hawa-text-green-500 dark:hawa-bg-green-400 dark:hawa-text-green-800",
899
+ blue: "hawa-bg-blue-100 hawa-text-blue-500 dark:hawa-bg-blue-400 dark:hawa-text-blue-100",
900
+ red: "hawa-bg-red-100 hawa-text-red-500 dark:hawa-bg-red-400 dark:hawa-text-red-100",
901
+ yellow: "hawa-bg-yellow-100 hawa-text-yellow-600 dark:hawa-bg-yellow-400 dark:hawa-text-yellow-800",
902
+ orange: "hawa-bg-orange-100 hawa-text-orange-500 dark:hawa-bg-orange-400 dark:hawa-text-orange-100",
903
+ purple: "hawa-bg-purple-100 hawa-text-purple-500 dark:hawa-bg-purple-400 dark:hawa-text-purple-100",
904
+ cyan: "hawa-bg-cyan-100 hawa-text-cyan-800 dark:hawa-bg-cyan-400 dark:hawa-text-cyan-800",
905
+ hyper: "hawa-text-white hawa-bg-gradient-to-tl hawa-from-pink-500 hawa-via-red-500 hawa-to-yellow-500 ",
906
+ oceanic: "hawa-text-white hawa-bg-gradient-to-bl hawa-from-green-300 hawa-via-blue-500 hawa-to-purple-600"
907
+ };
908
+ if (label) {
909
+ return /* @__PURE__ */ import_react4.default.createElement(
910
+ "span",
911
+ {
912
+ ...rest,
913
+ ref,
914
+ className: cn(
915
+ defaultStyles,
916
+ sizeStyles[size],
917
+ radiusStyles[radius],
918
+ color ? colorStyles[color] : "hawa-border hawa-bg-none"
919
+ )
920
+ },
921
+ dotType && /* @__PURE__ */ import_react4.default.createElement(
922
+ "span",
923
+ {
924
+ className: cn(dotStyles[size], dotTypeStyles[dotType])
925
+ }
926
+ ),
927
+ icon && icon,
928
+ label
929
+ );
930
+ } else {
931
+ return /* @__PURE__ */ import_react4.default.createElement(
932
+ "span",
933
+ {
934
+ ...rest,
935
+ ref,
936
+ className: cn(
937
+ "hawa-h-2 hawa-w-2 hawa-rounded-full",
938
+ color ? colorStyles[color] : "hawa-border hawa-bg-none"
939
+ )
940
+ }
941
+ );
942
+ }
943
+ }
944
+ );
945
+
870
946
  // components/elements/accordion/AccordionContent.tsx
871
- var React6 = __toESM(require("react"));
947
+ var React7 = __toESM(require("react"));
872
948
  var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
873
- var AccordionContent = React6.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React6.createElement(
949
+ var AccordionContent = React7.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React7.createElement(
874
950
  AccordionPrimitive.Content,
875
951
  {
876
952
  ref,
@@ -880,14 +956,14 @@ var AccordionContent = React6.forwardRef(({ className, children, ...props }, ref
880
956
  ) : className,
881
957
  ...props
882
958
  },
883
- /* @__PURE__ */ React6.createElement("div", { className: "hawa-bg-background hawa-p-4" }, children)
959
+ /* @__PURE__ */ React7.createElement("div", { className: "hawa-bg-background hawa-p-4" }, children)
884
960
  ));
885
961
  AccordionContent.displayName = AccordionPrimitive.Content.displayName;
886
962
 
887
963
  // components/elements/accordion/AccordionTrigger.tsx
888
- var React7 = __toESM(require("react"));
964
+ var React8 = __toESM(require("react"));
889
965
  var AccordionPrimitive2 = __toESM(require("@radix-ui/react-accordion"));
890
- var AccordionTrigger = React7.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React7.createElement(AccordionPrimitive2.Header, { className: "hawa-flex" }, /* @__PURE__ */ React7.createElement(
966
+ var AccordionTrigger = React8.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React8.createElement(AccordionPrimitive2.Header, { className: "hawa-flex" }, /* @__PURE__ */ React8.createElement(
891
967
  AccordionPrimitive2.Trigger,
892
968
  {
893
969
  ref,
@@ -899,7 +975,7 @@ var AccordionTrigger = React7.forwardRef(({ className, children, ...props }, ref
899
975
  ...props
900
976
  },
901
977
  children,
902
- !props.hideArrow && /* @__PURE__ */ React7.createElement(
978
+ !props.hideArrow && /* @__PURE__ */ React8.createElement(
903
979
  "svg",
904
980
  {
905
981
  xmlns: "http://www.w3.org/2000/svg",
@@ -913,13 +989,13 @@ var AccordionTrigger = React7.forwardRef(({ className, children, ...props }, ref
913
989
  strokeLinejoin: "round",
914
990
  className: "hawa-icon hawa-shrink-0 hawa-transition-transform hawa-duration-200"
915
991
  },
916
- /* @__PURE__ */ React7.createElement("path", { d: "m6 9 6 6 6-6" })
992
+ /* @__PURE__ */ React8.createElement("path", { d: "m6 9 6 6 6-6" })
917
993
  )
918
994
  )));
919
995
  AccordionTrigger.displayName = AccordionPrimitive2.Trigger.displayName;
920
996
 
921
997
  // components/elements/accordion/Accordion.tsx
922
- var Accordion = React8.forwardRef(
998
+ var Accordion = React9.forwardRef(
923
999
  ({
924
1000
  items,
925
1001
  design = "default",
@@ -928,7 +1004,7 @@ var Accordion = React8.forwardRef(
928
1004
  contentclassNames,
929
1005
  className,
930
1006
  ...props
931
- }, ref) => /* @__PURE__ */ React8.createElement(AccordionPrimitive3.Root, { type: props.type, collapsible: true }, /* @__PURE__ */ React8.createElement(
1007
+ }, ref) => /* @__PURE__ */ React9.createElement(AccordionPrimitive3.Root, { type: props.type, collapsible: true }, /* @__PURE__ */ React9.createElement(
932
1008
  "div",
933
1009
  {
934
1010
  className: cn("hawa-flex hawa-flex-col", {
@@ -936,7 +1012,7 @@ var Accordion = React8.forwardRef(
936
1012
  "hawa-gap-0": design === "default"
937
1013
  })
938
1014
  },
939
- items.map((item, index) => /* @__PURE__ */ React8.createElement(
1015
+ items.map((item, index) => /* @__PURE__ */ React9.createElement(
940
1016
  AccordionPrimitive3.Item,
941
1017
  {
942
1018
  disabled: item.disabled || false,
@@ -944,7 +1020,7 @@ var Accordion = React8.forwardRef(
944
1020
  key: index,
945
1021
  value: `item-${index}`
946
1022
  },
947
- /* @__PURE__ */ React8.createElement(
1023
+ /* @__PURE__ */ React9.createElement(
948
1024
  AccordionTrigger,
949
1025
  {
950
1026
  disabled: item.disabled || false,
@@ -957,7 +1033,7 @@ var Accordion = React8.forwardRef(
957
1033
  triggerclassNames
958
1034
  )
959
1035
  },
960
- /* @__PURE__ */ React8.createElement(
1036
+ /* @__PURE__ */ React9.createElement(
961
1037
  "span",
962
1038
  {
963
1039
  className: cn(
@@ -967,10 +1043,10 @@ var Accordion = React8.forwardRef(
967
1043
  },
968
1044
  item.trigger,
969
1045
  " ",
970
- item.chip && /* @__PURE__ */ React8.createElement(Chip, { ...item.chip })
1046
+ item.chip && /* @__PURE__ */ React9.createElement(Chip, { ...item.chip })
971
1047
  )
972
1048
  ),
973
- /* @__PURE__ */ React8.createElement(
1049
+ /* @__PURE__ */ React9.createElement(
974
1050
  AccordionContent,
975
1051
  {
976
1052
  "aria-disabled": item.disabled || false,
@@ -990,9 +1066,9 @@ var Accordion = React8.forwardRef(
990
1066
  Accordion.displayName = "Accordion";
991
1067
 
992
1068
  // components/elements/accordion/AccordionItem.tsx
993
- var React9 = __toESM(require("react"));
1069
+ var React10 = __toESM(require("react"));
994
1070
  var AccordionPrimitive4 = __toESM(require("@radix-ui/react-accordion"));
995
- var AccordionItem = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React9.createElement(AccordionPrimitive4.Item, { ref, className: cn(className), ...props }));
1071
+ var AccordionItem = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React10.createElement(AccordionPrimitive4.Item, { ref, className: cn(className), ...props }));
996
1072
  AccordionItem.displayName = "AccordionItem";
997
1073
 
998
1074
  // components/elements/accordion/AccordionRoot.tsx
@@ -1000,9 +1076,9 @@ var AccordionPrimitive5 = __toESM(require("@radix-ui/react-accordion"));
1000
1076
  var AccordionRoot = AccordionPrimitive5.Root;
1001
1077
 
1002
1078
  // components/elements/logos/Logos.tsx
1003
- var import_react4 = __toESM(require("react"));
1079
+ var import_react5 = __toESM(require("react"));
1004
1080
  var Logos = {
1005
- hawa: (props) => /* @__PURE__ */ import_react4.default.createElement(
1081
+ hawa: (props) => /* @__PURE__ */ import_react5.default.createElement(
1006
1082
  "svg",
1007
1083
  {
1008
1084
  xmlns: "http://www.w3.org/2000/svg",
@@ -1010,7 +1086,7 @@ var Logos = {
1010
1086
  viewBox: "0 0 765 765",
1011
1087
  ...props
1012
1088
  },
1013
- /* @__PURE__ */ import_react4.default.createElement(
1089
+ /* @__PURE__ */ import_react5.default.createElement(
1014
1090
  "path",
1015
1091
  {
1016
1092
  d: "M382.5 0C171.6 0 0 171.6 0 382.5V765h382.5C593.4 765 765 593.4 765 382.5S593.4 0 382.5 0zM281.6 305.7c98 0 177.7 79.7 177.7 177.7 0 98-79.7 177.7-177.7 177.7s-177.7-79.7-177.7-177.7c0-98 79.7-177.7 177.7-177.7zm246 314.5c23.2-41.6 35.6-88.7 35.6-136.7 0-155.3-126.3-281.6-281.6-281.6-48 0-95.1 12.4-136.8 35.6C194.9 156 285 104 382.5 104c153.6 0 278.6 125 278.6 278.6 0 97.3-52 187.5-133.5 237.6z",
@@ -1018,7 +1094,7 @@ var Logos = {
1018
1094
  }
1019
1095
  )
1020
1096
  ),
1021
- sikka: (props) => /* @__PURE__ */ import_react4.default.createElement(
1097
+ sikka: (props) => /* @__PURE__ */ import_react5.default.createElement(
1022
1098
  "svg",
1023
1099
  {
1024
1100
  xmlns: "http://www.w3.org/2000/svg",
@@ -1028,11 +1104,11 @@ var Logos = {
1028
1104
  fill: "currentColor",
1029
1105
  ...props
1030
1106
  },
1031
- /* @__PURE__ */ import_react4.default.createElement("defs", null, /* @__PURE__ */ import_react4.default.createElement("path", { id: "a", d: "M0 0h916.5v765H0z" })),
1032
- /* @__PURE__ */ import_react4.default.createElement("clipPath", { id: "b" }, /* @__PURE__ */ import_react4.default.createElement("use", { xlinkHref: "#a", overflow: "visible" })),
1033
- /* @__PURE__ */ import_react4.default.createElement("g", { clipPath: "url(#b)" }, /* @__PURE__ */ import_react4.default.createElement("defs", null, /* @__PURE__ */ import_react4.default.createElement("path", { id: "c", d: "M0 0h916.5v765H0z" })), /* @__PURE__ */ import_react4.default.createElement("clipPath", { id: "d" }, /* @__PURE__ */ import_react4.default.createElement("use", { xlinkHref: "#c", overflow: "visible" })), /* @__PURE__ */ import_react4.default.createElement("g", { clipPath: "url(#d)" }, /* @__PURE__ */ import_react4.default.createElement("path", { d: "M458.3 0h-31.9c-14.6 0-26.5 11.9-26.5 26.3v313.3L136.6 17.1C126 3.9 120.7 0 106.1 0H9.7C.5 0 0 7.9 0 17.1 0 21 1.3 26.3 4 29l288.7 353.6L4 736.1c-2.7 2.7-4 7.9-4 11.8 0 9.2.4 17.1 9.7 17.1h96.4c14.6 0 19.9-3.9 30.5-17.1l263.3-322.5v313.3c0 14.4 11.9 26.3 26.5 26.3h31.9M458.3 765h31.9c14.6 0 26.5-11.8 26.5-26.3V425.5L780 748c10.7 13.2 15.9 17.1 30.5 17.1h96.4c9.2 0 9.7-7.9 9.7-17.1 0-3.9-1.3-9.2-4-11.8L623.8 382.5 912.5 28.9c2.7-2.7 4-7.9 4-11.9 0-9.2-.5-17.1-9.7-17.1h-96.4c-14.6 0-19.9 3.9-30.5 17.1L516.7 339.5V26.3c0-14.4-11.9-26.3-26.5-26.3h-31.9" })))
1107
+ /* @__PURE__ */ import_react5.default.createElement("defs", null, /* @__PURE__ */ import_react5.default.createElement("path", { id: "a", d: "M0 0h916.5v765H0z" })),
1108
+ /* @__PURE__ */ import_react5.default.createElement("clipPath", { id: "b" }, /* @__PURE__ */ import_react5.default.createElement("use", { xlinkHref: "#a", overflow: "visible" })),
1109
+ /* @__PURE__ */ import_react5.default.createElement("g", { clipPath: "url(#b)" }, /* @__PURE__ */ import_react5.default.createElement("defs", null, /* @__PURE__ */ import_react5.default.createElement("path", { id: "c", d: "M0 0h916.5v765H0z" })), /* @__PURE__ */ import_react5.default.createElement("clipPath", { id: "d" }, /* @__PURE__ */ import_react5.default.createElement("use", { xlinkHref: "#c", overflow: "visible" })), /* @__PURE__ */ import_react5.default.createElement("g", { clipPath: "url(#d)" }, /* @__PURE__ */ import_react5.default.createElement("path", { d: "M458.3 0h-31.9c-14.6 0-26.5 11.9-26.5 26.3v313.3L136.6 17.1C126 3.9 120.7 0 106.1 0H9.7C.5 0 0 7.9 0 17.1 0 21 1.3 26.3 4 29l288.7 353.6L4 736.1c-2.7 2.7-4 7.9-4 11.8 0 9.2.4 17.1 9.7 17.1h96.4c14.6 0 19.9-3.9 30.5-17.1l263.3-322.5v313.3c0 14.4 11.9 26.3 26.5 26.3h31.9M458.3 765h31.9c14.6 0 26.5-11.8 26.5-26.3V425.5L780 748c10.7 13.2 15.9 17.1 30.5 17.1h96.4c9.2 0 9.7-7.9 9.7-17.1 0-3.9-1.3-9.2-4-11.8L623.8 382.5 912.5 28.9c2.7-2.7 4-7.9 4-11.9 0-9.2-.5-17.1-9.7-17.1h-96.4c-14.6 0-19.9 3.9-30.5 17.1L516.7 339.5V26.3c0-14.4-11.9-26.3-26.5-26.3h-31.9" })))
1034
1110
  ),
1035
- mail: (props) => /* @__PURE__ */ import_react4.default.createElement(
1111
+ mail: (props) => /* @__PURE__ */ import_react5.default.createElement(
1036
1112
  "svg",
1037
1113
  {
1038
1114
  stroke: "currentColor",
@@ -1044,10 +1120,10 @@ var Logos = {
1044
1120
  xmlns: "http://www.w3.org/2000/svg",
1045
1121
  ...props
1046
1122
  },
1047
- /* @__PURE__ */ import_react4.default.createElement("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
1048
- /* @__PURE__ */ import_react4.default.createElement("polyline", { points: "22,6 12,13 2,6" })
1123
+ /* @__PURE__ */ import_react5.default.createElement("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
1124
+ /* @__PURE__ */ import_react5.default.createElement("polyline", { points: "22,6 12,13 2,6" })
1049
1125
  ),
1050
- phone: (props) => /* @__PURE__ */ import_react4.default.createElement(
1126
+ phone: (props) => /* @__PURE__ */ import_react5.default.createElement(
1051
1127
  "svg",
1052
1128
  {
1053
1129
  stroke: "currentColor",
@@ -1058,7 +1134,7 @@ var Logos = {
1058
1134
  xmlns: "http://www.w3.org/2000/svg",
1059
1135
  ...props
1060
1136
  },
1061
- /* @__PURE__ */ import_react4.default.createElement(
1137
+ /* @__PURE__ */ import_react5.default.createElement(
1062
1138
  "path",
1063
1139
  {
1064
1140
  strokeLinecap: "round",
@@ -1067,14 +1143,14 @@ var Logos = {
1067
1143
  }
1068
1144
  )
1069
1145
  ),
1070
- twitter: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react4.default.createElement(
1146
+ twitter: (props) => /* @__PURE__ */ import_react5.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react5.default.createElement(
1071
1147
  "path",
1072
1148
  {
1073
1149
  fill: "currentColor",
1074
1150
  d: "M21.543 7.104c.015.211.015.423.015.636 0 6.507-4.954 14.01-14.01 14.01v-.003A13.94 13.94 0 0 1 0 19.539a9.88 9.88 0 0 0 7.287-2.041 4.93 4.93 0 0 1-4.6-3.42 4.916 4.916 0 0 0 2.223-.084A4.926 4.926 0 0 1 .96 9.167v-.062a4.887 4.887 0 0 0 2.235.616A4.928 4.928 0 0 1 1.67 3.148a13.98 13.98 0 0 0 10.15 5.144 4.929 4.929 0 0 1 8.39-4.49 9.868 9.868 0 0 0 3.128-1.196 4.941 4.941 0 0 1-2.165 2.724A9.828 9.828 0 0 0 24 4.555a10.019 10.019 0 0 1-2.457 2.549z"
1075
1151
  }
1076
1152
  )),
1077
- instagram: (props) => /* @__PURE__ */ import_react4.default.createElement(
1153
+ instagram: (props) => /* @__PURE__ */ import_react5.default.createElement(
1078
1154
  "svg",
1079
1155
  {
1080
1156
  xmlns: "http://www.w3.org/2000/svg",
@@ -1082,23 +1158,23 @@ var Logos = {
1082
1158
  viewBox: "0 0 16 16",
1083
1159
  ...props
1084
1160
  },
1085
- /* @__PURE__ */ import_react4.default.createElement("path", { d: "M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z" })
1161
+ /* @__PURE__ */ import_react5.default.createElement("path", { d: "M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z" })
1086
1162
  ),
1087
- microsoft: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ import_react4.default.createElement(
1163
+ microsoft: (props) => /* @__PURE__ */ import_react5.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ import_react5.default.createElement(
1088
1164
  "path",
1089
1165
  {
1090
1166
  fill: "currentColor",
1091
1167
  d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
1092
1168
  }
1093
1169
  )),
1094
- github: (props) => /* @__PURE__ */ import_react4.default.createElement(
1170
+ github: (props) => /* @__PURE__ */ import_react5.default.createElement(
1095
1171
  "svg",
1096
1172
  {
1097
1173
  xmlns: "http://www.w3.org/2000/svg",
1098
1174
  viewBox: "0 0 438.549 438.549",
1099
1175
  ...props
1100
1176
  },
1101
- /* @__PURE__ */ import_react4.default.createElement(
1177
+ /* @__PURE__ */ import_react5.default.createElement(
1102
1178
  "path",
1103
1179
  {
1104
1180
  fill: "currentColor",
@@ -1106,77 +1182,77 @@ var Logos = {
1106
1182
  }
1107
1183
  )
1108
1184
  ),
1109
- radix: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ import_react4.default.createElement(
1185
+ radix: (props) => /* @__PURE__ */ import_react5.default.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ import_react5.default.createElement(
1110
1186
  "path",
1111
1187
  {
1112
1188
  d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
1113
1189
  fill: "currentcolor"
1114
1190
  }
1115
- ), /* @__PURE__ */ import_react4.default.createElement("path", { d: "M12 0H4V8H12V0Z", fill: "currentcolor" }), /* @__PURE__ */ import_react4.default.createElement(
1191
+ ), /* @__PURE__ */ import_react5.default.createElement("path", { d: "M12 0H4V8H12V0Z", fill: "currentcolor" }), /* @__PURE__ */ import_react5.default.createElement(
1116
1192
  "path",
1117
1193
  {
1118
1194
  d: "M17 8C19.2091 8 21 6.20914 21 4C21 1.79086 19.2091 0 17 0C14.7909 0 13 1.79086 13 4C13 6.20914 14.7909 8 17 8Z",
1119
1195
  fill: "currentcolor"
1120
1196
  }
1121
1197
  )),
1122
- aria: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ import_react4.default.createElement("path", { d: "M13.966 22.624l-1.69-4.281H8.122l3.892-9.144 5.662 13.425zM8.884 1.376H0v21.248zm15.116 0h-8.884L24 22.624Z" })),
1123
- npm: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react4.default.createElement(
1198
+ aria: (props) => /* @__PURE__ */ import_react5.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ import_react5.default.createElement("path", { d: "M13.966 22.624l-1.69-4.281H8.122l3.892-9.144 5.662 13.425zM8.884 1.376H0v21.248zm15.116 0h-8.884L24 22.624Z" })),
1199
+ npm: (props) => /* @__PURE__ */ import_react5.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react5.default.createElement(
1124
1200
  "path",
1125
1201
  {
1126
1202
  d: "M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z",
1127
1203
  fill: "currentColor"
1128
1204
  }
1129
1205
  )),
1130
- yarn: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react4.default.createElement(
1206
+ yarn: (props) => /* @__PURE__ */ import_react5.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react5.default.createElement(
1131
1207
  "path",
1132
1208
  {
1133
1209
  d: "M12 0C5.375 0 0 5.375 0 12s5.375 12 12 12 12-5.375 12-12S18.625 0 12 0zm.768 4.105c.183 0 .363.053.525.157.125.083.287.185.755 1.154.31-.088.468-.042.551-.019.204.056.366.19.463.375.477.917.542 2.553.334 3.605-.241 1.232-.755 2.029-1.131 2.576.324.329.778.899 1.117 1.825.278.774.31 1.478.273 2.015a5.51 5.51 0 0 0 .602-.329c.593-.366 1.487-.917 2.553-.931.714-.009 1.269.445 1.353 1.103a1.23 1.23 0 0 1-.945 1.362c-.649.158-.95.278-1.821.843-1.232.797-2.539 1.242-3.012 1.39a1.686 1.686 0 0 1-.704.343c-.737.181-3.266.315-3.466.315h-.046c-.783 0-1.214-.241-1.45-.491-.658.329-1.51.19-2.122-.134a1.078 1.078 0 0 1-.58-1.153 1.243 1.243 0 0 1-.153-.195c-.162-.25-.528-.936-.454-1.946.056-.723.556-1.367.88-1.71a5.522 5.522 0 0 1 .408-2.256c.306-.727.885-1.348 1.32-1.737-.32-.537-.644-1.367-.329-2.21.227-.602.412-.936.82-1.08h-.005c.199-.074.389-.153.486-.259a3.418 3.418 0 0 1 2.298-1.103c.037-.093.079-.185.125-.283.31-.658.639-1.029 1.024-1.168a.94.94 0 0 1 .328-.06zm.006.7c-.507.016-1.001 1.519-1.001 1.519s-1.27-.204-2.266.871c-.199.218-.468.334-.746.44-.079.028-.176.023-.417.672-.371.991.625 2.094.625 2.094s-1.186.839-1.626 1.881c-.486 1.144-.338 2.261-.338 2.261s-.843.732-.899 1.487c-.051.663.139 1.2.343 1.515.227.343.51.176.51.176s-.561.653-.037.931c.477.25 1.283.394 1.71-.037.31-.31.371-1.001.486-1.283.028-.065.12.111.209.199.097.093.264.195.264.195s-.755.324-.445 1.066c.102.246.468.403 1.066.398.222-.005 2.664-.139 3.313-.296.375-.088.505-.283.505-.283s1.566-.431 2.998-1.357c.917-.598 1.293-.76 2.034-.936.612-.148.57-1.098-.241-1.084-.839.009-1.575.44-2.196.825-1.163.718-1.742.672-1.742.672l-.018-.032c-.079-.13.371-1.293-.134-2.678-.547-1.515-1.413-1.881-1.344-1.997.297-.5 1.038-1.297 1.334-2.78.176-.899.13-2.377-.269-3.151-.074-.144-.732.241-.732.241s-.616-1.371-.788-1.483a.271.271 0 0 0-.157-.046z",
1134
1210
  fill: "currentColor"
1135
1211
  }
1136
1212
  )),
1137
- pnpm: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react4.default.createElement(
1213
+ pnpm: (props) => /* @__PURE__ */ import_react5.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react5.default.createElement(
1138
1214
  "path",
1139
1215
  {
1140
1216
  d: "M0 0v7.5h7.5V0zm8.25 0v7.5h7.498V0zm8.25 0v7.5H24V0zM8.25 8.25v7.5h7.498v-7.5zm8.25 0v7.5H24v-7.5zM0 16.5V24h7.5v-7.5zm8.25 0V24h7.498v-7.5zm8.25 0V24H24v-7.5z",
1141
1217
  fill: "currentColor"
1142
1218
  }
1143
1219
  )),
1144
- react: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react4.default.createElement(
1220
+ react: (props) => /* @__PURE__ */ import_react5.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react5.default.createElement(
1145
1221
  "path",
1146
1222
  {
1147
1223
  d: "M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z",
1148
1224
  fill: "currentColor"
1149
1225
  }
1150
1226
  )),
1151
- tailwind: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react4.default.createElement(
1227
+ tailwind: (props) => /* @__PURE__ */ import_react5.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react5.default.createElement(
1152
1228
  "path",
1153
1229
  {
1154
1230
  d: "M12.001,4.8c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 C13.666,10.618,15.027,12,18.001,12c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C16.337,6.182,14.976,4.8,12.001,4.8z M6.001,12c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 c1.177,1.194,2.538,2.576,5.512,2.576c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C10.337,13.382,8.976,12,6.001,12z",
1155
1231
  fill: "currentColor"
1156
1232
  }
1157
1233
  )),
1158
- google: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react4.default.createElement(
1234
+ google: (props) => /* @__PURE__ */ import_react5.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react5.default.createElement(
1159
1235
  "path",
1160
1236
  {
1161
1237
  fill: "currentColor",
1162
1238
  d: "M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"
1163
1239
  }
1164
1240
  )),
1165
- apple: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react4.default.createElement(
1241
+ apple: (props) => /* @__PURE__ */ import_react5.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react5.default.createElement(
1166
1242
  "path",
1167
1243
  {
1168
1244
  d: "M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",
1169
1245
  fill: "currentColor"
1170
1246
  }
1171
1247
  )),
1172
- paypal: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react4.default.createElement(
1248
+ paypal: (props) => /* @__PURE__ */ import_react5.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react5.default.createElement(
1173
1249
  "path",
1174
1250
  {
1175
1251
  d: "M7.076 21.337H2.47a.641.641 0 0 1-.633-.74L4.944.901C5.026.382 5.474 0 5.998 0h7.46c2.57 0 4.578.543 5.69 1.81 1.01 1.15 1.304 2.42 1.012 4.287-.023.143-.047.288-.077.437-.983 5.05-4.349 6.797-8.647 6.797h-2.19c-.524 0-.968.382-1.05.9l-1.12 7.106zm14.146-14.42a3.35 3.35 0 0 0-.607-.541c-.013.076-.026.175-.041.254-.93 4.778-4.005 7.201-9.138 7.201h-2.19a.563.563 0 0 0-.556.479l-1.187 7.527h-.506l-.24 1.516a.56.56 0 0 0 .554.647h3.882c.46 0 .85-.334.922-.788.06-.26.76-4.852.816-5.09a.932.932 0 0 1 .923-.788h.58c3.76 0 6.705-1.528 7.565-5.946.36-1.847.174-3.388-.777-4.471z",
1176
1252
  fill: "currentColor"
1177
1253
  }
1178
1254
  )),
1179
- spinner: (props) => /* @__PURE__ */ import_react4.default.createElement(
1255
+ spinner: (props) => /* @__PURE__ */ import_react5.default.createElement(
1180
1256
  "svg",
1181
1257
  {
1182
1258
  xmlns: "http://www.w3.org/2000/svg",
@@ -1190,9 +1266,9 @@ var Logos = {
1190
1266
  strokeLinejoin: "round",
1191
1267
  ...props
1192
1268
  },
1193
- /* @__PURE__ */ import_react4.default.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
1269
+ /* @__PURE__ */ import_react5.default.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
1194
1270
  ),
1195
- whatsapp: (props) => /* @__PURE__ */ import_react4.default.createElement(
1271
+ whatsapp: (props) => /* @__PURE__ */ import_react5.default.createElement(
1196
1272
  "svg",
1197
1273
  {
1198
1274
  xmlns: "http://www.w3.org/2000/svg",
@@ -1200,18 +1276,18 @@ var Logos = {
1200
1276
  fill: "currentColor",
1201
1277
  ...props
1202
1278
  },
1203
- /* @__PURE__ */ import_react4.default.createElement("path", { d: "M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z" })
1279
+ /* @__PURE__ */ import_react5.default.createElement("path", { d: "M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z" })
1204
1280
  )
1205
1281
  };
1206
1282
 
1207
1283
  // components/elements/navigationMenu/NavigationMenu.tsx
1208
- var React11 = __toESM(require("react"));
1284
+ var React12 = __toESM(require("react"));
1209
1285
  var NavigationMenuPrimitive = __toESM(require("@radix-ui/react-navigation-menu"));
1210
1286
  var import_class_variance_authority = require("class-variance-authority");
1211
1287
  var navigationMenuTriggerStyle = (0, import_class_variance_authority.cva)(
1212
1288
  "hawa-group hawa-inline-flex hawa-h-10 hawa-w-max hawa-items-center hawa-gap-1 hawa-justify-center hawa-rounded-md hawa-bg-background hawa-px-4 hawa-py-2 hawa-text-sm hawa-font-medium hawa-transition-colors hover:hawa-bg-accent hover:hawa-text-accent-foreground focus:hawa-bg-accent focus:hawa-text-accent-foreground focus:hawa-outline-none disabled:hawa-pointer-events-none disabled:hawa-opacity-50 data-[active]:hawa-bg-accent/50 "
1213
1289
  );
1214
- var NavigationMenuRoot = React11.forwardRef(({ className, children, viewportClassNames, ...props }, ref) => /* @__PURE__ */ React11.createElement(
1290
+ var NavigationMenuRoot = React12.forwardRef(({ className, children, viewportClassNames, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1215
1291
  NavigationMenuPrimitive.Root,
1216
1292
  {
1217
1293
  ref,
@@ -1223,9 +1299,9 @@ var NavigationMenuRoot = React11.forwardRef(({ className, children, viewportClas
1223
1299
  ...props
1224
1300
  },
1225
1301
  children,
1226
- /* @__PURE__ */ React11.createElement(NavigationMenuViewport, { className: viewportClassNames })
1302
+ /* @__PURE__ */ React12.createElement(NavigationMenuViewport, { className: viewportClassNames })
1227
1303
  ));
1228
- var NavigationMenuList = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React11.createElement(
1304
+ var NavigationMenuList = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1229
1305
  NavigationMenuPrimitive.List,
1230
1306
  {
1231
1307
  ref,
@@ -1236,7 +1312,7 @@ var NavigationMenuList = React11.forwardRef(({ className, ...props }, ref) => /*
1236
1312
  ...props
1237
1313
  }
1238
1314
  ));
1239
- var NavigationMenuTrigger = React11.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React11.createElement(
1315
+ var NavigationMenuTrigger = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1240
1316
  NavigationMenuPrimitive.Trigger,
1241
1317
  {
1242
1318
  ref,
@@ -1244,7 +1320,7 @@ var NavigationMenuTrigger = React11.forwardRef(({ className, children, ...props
1244
1320
  ...props
1245
1321
  },
1246
1322
  children,
1247
- /* @__PURE__ */ React11.createElement(
1323
+ /* @__PURE__ */ React12.createElement(
1248
1324
  "svg",
1249
1325
  {
1250
1326
  "aria-label": "Chevron Icon",
@@ -1260,10 +1336,10 @@ var NavigationMenuTrigger = React11.forwardRef(({ className, children, ...props
1260
1336
  "aria-hidden": "true",
1261
1337
  className: "hawa-icon hawa-relative hawa-top-[1px] hawa-transition hawa-duration-200 group-data-[state=open]:hawa-rotate-180"
1262
1338
  },
1263
- /* @__PURE__ */ React11.createElement("path", { d: "m6 9 6 6 6-6" })
1339
+ /* @__PURE__ */ React12.createElement("path", { d: "m6 9 6 6 6-6" })
1264
1340
  )
1265
1341
  ));
1266
- var NavigationMenuContent = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React11.createElement(
1342
+ var NavigationMenuContent = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1267
1343
  NavigationMenuPrimitive.Content,
1268
1344
  {
1269
1345
  ref,
@@ -1277,15 +1353,15 @@ var NavigationMenuContent = React11.forwardRef(({ className, ...props }, ref) =>
1277
1353
  ...props
1278
1354
  }
1279
1355
  ));
1280
- var StandardNavigationMenuItem = ({ icon, title, subtitle, ...linkProps }) => /* @__PURE__ */ React11.createElement(NavigationMenuLink, { ...linkProps }, /* @__PURE__ */ React11.createElement("div", { className: "hawa-flex hawa-max-w-md hawa-cursor-pointer hawa-flex-row hawa-items-center hawa-gap-4 hawa-rounded-inner hawa-p-4 hawa-py-2 hawa-transition-all hover:hawa-bg-muted" }, icon && icon, /* @__PURE__ */ React11.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React11.createElement("h1", { className: "hawa-text-xl hawa-font-bold" }, title), /* @__PURE__ */ React11.createElement("p", { className: "hawa-text-sm" }, subtitle))));
1281
- var NavigationMenuViewport = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React11.createElement(
1356
+ var StandardNavigationMenuItem = ({ icon, title, subtitle, ...linkProps }) => /* @__PURE__ */ React12.createElement(NavigationMenuLink, { ...linkProps }, /* @__PURE__ */ React12.createElement("div", { className: "hawa-flex hawa-max-w-md hawa-cursor-pointer hawa-flex-row hawa-items-center hawa-gap-4 hawa-rounded-inner hawa-p-4 hawa-py-2 hawa-transition-all hover:hawa-bg-muted" }, icon && icon, /* @__PURE__ */ React12.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React12.createElement("h1", { className: "hawa-text-xl hawa-font-bold" }, title), /* @__PURE__ */ React12.createElement("p", { className: "hawa-text-sm" }, subtitle))));
1357
+ var NavigationMenuViewport = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1282
1358
  "div",
1283
1359
  {
1284
1360
  className: cn(
1285
1361
  "hawa-absolute hawa-top-full hawa-flex hawa-w-full hawa-justify-center"
1286
1362
  )
1287
1363
  },
1288
- /* @__PURE__ */ React11.createElement(
1364
+ /* @__PURE__ */ React12.createElement(
1289
1365
  NavigationMenuPrimitive.Viewport,
1290
1366
  {
1291
1367
  className: cn(
@@ -1302,7 +1378,7 @@ var NavigationMenuViewport = React11.forwardRef(({ className, ...props }, ref) =
1302
1378
  }
1303
1379
  )
1304
1380
  ));
1305
- var NavigationMenuIndicator = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React11.createElement(
1381
+ var NavigationMenuIndicator = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1306
1382
  NavigationMenuPrimitive.Indicator,
1307
1383
  {
1308
1384
  ref,
@@ -1312,7 +1388,7 @@ var NavigationMenuIndicator = React11.forwardRef(({ className, ...props }, ref)
1312
1388
  ),
1313
1389
  ...props
1314
1390
  },
1315
- /* @__PURE__ */ React11.createElement("div", { className: "hawa-relative hawa-top-[60%] hawa-h-2 hawa-w-2 hawa-rotate-45 hawa-rounded-tl-sm hawa-bg-border hawa-shadow-md" })
1391
+ /* @__PURE__ */ React12.createElement("div", { className: "hawa-relative hawa-top-[60%] hawa-h-2 hawa-w-2 hawa-rotate-45 hawa-rounded-tl-sm hawa-bg-border hawa-shadow-md" })
1316
1392
  ));
1317
1393
  var NavigationMenu = ({
1318
1394
  viewportClassNames,
@@ -1321,7 +1397,7 @@ var NavigationMenu = ({
1321
1397
  actionFirst,
1322
1398
  ...props
1323
1399
  }) => {
1324
- return /* @__PURE__ */ React11.createElement(
1400
+ return /* @__PURE__ */ React12.createElement(
1325
1401
  NavigationMenuRoot,
1326
1402
  {
1327
1403
  dir: props.direction,
@@ -1329,7 +1405,7 @@ var NavigationMenu = ({
1329
1405
  className: rootClassNames,
1330
1406
  viewportClassNames
1331
1407
  },
1332
- /* @__PURE__ */ React11.createElement(NavigationMenuList, null, props.items.map((item, i) => /* @__PURE__ */ React11.createElement(NavigationMenuItem, { key: i }, item.content ? /* @__PURE__ */ React11.createElement(React11.Fragment, null, /* @__PURE__ */ React11.createElement(NavigationMenuTrigger, { className: cn(triggerClassNames) }, item.trigger), /* @__PURE__ */ React11.createElement(NavigationMenuContent, null, item.content)) : /* @__PURE__ */ React11.createElement(
1408
+ /* @__PURE__ */ React12.createElement(NavigationMenuList, null, props.items.map((item, i) => /* @__PURE__ */ React12.createElement(NavigationMenuItem, { key: i }, item.content ? /* @__PURE__ */ React12.createElement(React12.Fragment, null, /* @__PURE__ */ React12.createElement(NavigationMenuTrigger, { className: cn(triggerClassNames) }, item.trigger), /* @__PURE__ */ React12.createElement(NavigationMenuContent, null, item.content)) : /* @__PURE__ */ React12.createElement(
1333
1409
  NavigationMenuLink,
1334
1410
  {
1335
1411
  href: actionFirst ? void 0 : item.path,
@@ -1358,14 +1434,14 @@ NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayN
1358
1434
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
1359
1435
 
1360
1436
  // components/elements/sheet/Sheet.tsx
1361
- var React12 = __toESM(require("react"));
1437
+ var React13 = __toESM(require("react"));
1362
1438
  var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"));
1363
1439
  var import_class_variance_authority2 = require("class-variance-authority");
1364
1440
  var Sheet = SheetPrimitive.Root;
1365
1441
  var SheetTrigger = SheetPrimitive.Trigger;
1366
1442
  var SheetClose = SheetPrimitive.Close;
1367
1443
  var SheetPortal = SheetPrimitive.Portal;
1368
- var SheetOverlay = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1444
+ var SheetOverlay = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React13.createElement(
1369
1445
  SheetPrimitive.Overlay,
1370
1446
  {
1371
1447
  className: cn(
@@ -1392,8 +1468,8 @@ var sheetVariants = (0, import_class_variance_authority2.cva)(
1392
1468
  }
1393
1469
  }
1394
1470
  );
1395
- var SheetContent = React12.forwardRef(
1396
- ({ side = "right", className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React12.createElement(SheetPortal, null, /* @__PURE__ */ React12.createElement(SheetOverlay, null), /* @__PURE__ */ React12.createElement(
1471
+ var SheetContent = React13.forwardRef(
1472
+ ({ side = "right", className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React13.createElement(SheetPortal, null, /* @__PURE__ */ React13.createElement(SheetOverlay, null), /* @__PURE__ */ React13.createElement(
1397
1473
  SheetPrimitive.Content,
1398
1474
  {
1399
1475
  ref,
@@ -1406,7 +1482,7 @@ var SheetContent = React12.forwardRef(
1406
1482
  ...props
1407
1483
  },
1408
1484
  children,
1409
- !hideCloseButton && /* @__PURE__ */ React12.createElement(
1485
+ !hideCloseButton && /* @__PURE__ */ React13.createElement(
1410
1486
  SheetPrimitive.Close,
1411
1487
  {
1412
1488
  className: cn(
@@ -1418,7 +1494,7 @@ var SheetContent = React12.forwardRef(
1418
1494
  }
1419
1495
  )
1420
1496
  },
1421
- /* @__PURE__ */ React12.createElement(
1497
+ /* @__PURE__ */ React13.createElement(
1422
1498
  "svg",
1423
1499
  {
1424
1500
  "aria-label": "Close Icon",
@@ -1427,7 +1503,7 @@ var SheetContent = React12.forwardRef(
1427
1503
  fill: "currentColor",
1428
1504
  viewBox: "0 0 20 20"
1429
1505
  },
1430
- /* @__PURE__ */ React12.createElement(
1506
+ /* @__PURE__ */ React13.createElement(
1431
1507
  "path",
1432
1508
  {
1433
1509
  fillRule: "evenodd",
@@ -1436,14 +1512,14 @@ var SheetContent = React12.forwardRef(
1436
1512
  }
1437
1513
  )
1438
1514
  ),
1439
- /* @__PURE__ */ React12.createElement("span", { className: "hawa-sr-only" }, "Close")
1515
+ /* @__PURE__ */ React13.createElement("span", { className: "hawa-sr-only" }, "Close")
1440
1516
  )
1441
1517
  ))
1442
1518
  );
1443
1519
  var SheetHeader = ({
1444
1520
  className,
1445
1521
  ...props
1446
- }) => /* @__PURE__ */ React12.createElement(
1522
+ }) => /* @__PURE__ */ React13.createElement(
1447
1523
  "div",
1448
1524
  {
1449
1525
  className: cn(
@@ -1456,7 +1532,7 @@ var SheetHeader = ({
1456
1532
  var SheetFooter = ({
1457
1533
  className,
1458
1534
  ...props
1459
- }) => /* @__PURE__ */ React12.createElement(
1535
+ }) => /* @__PURE__ */ React13.createElement(
1460
1536
  "div",
1461
1537
  {
1462
1538
  className: cn(
@@ -1466,7 +1542,7 @@ var SheetFooter = ({
1466
1542
  ...props
1467
1543
  }
1468
1544
  );
1469
- var SheetTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1545
+ var SheetTitle = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React13.createElement(
1470
1546
  SheetPrimitive.Title,
1471
1547
  {
1472
1548
  ref,
@@ -1477,7 +1553,7 @@ var SheetTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE
1477
1553
  ...props
1478
1554
  }
1479
1555
  ));
1480
- var SheetDescription = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1556
+ var SheetDescription = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React13.createElement(
1481
1557
  SheetPrimitive.Description,
1482
1558
  {
1483
1559
  ref,
@@ -1493,12 +1569,12 @@ SheetFooter.displayName = "SheetFooter";
1493
1569
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
1494
1570
 
1495
1571
  // components/elements/dialog/Dialog.tsx
1496
- var React13 = __toESM(require("react"));
1572
+ var React14 = __toESM(require("react"));
1497
1573
  var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"));
1498
1574
  var Dialog = DialogPrimitive.Root;
1499
1575
  var DialogTrigger = DialogPrimitive.Trigger;
1500
- var DialogPortal = ({ ...props }) => /* @__PURE__ */ React13.createElement(DialogPrimitive.Portal, { ...props });
1501
- var DialogOverlay = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React13.createElement(
1576
+ var DialogPortal = ({ ...props }) => /* @__PURE__ */ React14.createElement(DialogPrimitive.Portal, { ...props });
1577
+ var DialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React14.createElement(
1502
1578
  DialogPrimitive.Overlay,
1503
1579
  {
1504
1580
  ref,
@@ -1509,7 +1585,7 @@ var DialogOverlay = React13.forwardRef(({ className, ...props }, ref) => /* @__P
1509
1585
  ...props
1510
1586
  }
1511
1587
  ));
1512
- var DialogContent = React13.forwardRef(({ className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React13.createElement(DialogPortal, null, /* @__PURE__ */ React13.createElement(DialogOverlay, null), /* @__PURE__ */ React13.createElement(
1588
+ var DialogContent = React14.forwardRef(({ className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, null, /* @__PURE__ */ React14.createElement(DialogOverlay, null), /* @__PURE__ */ React14.createElement(
1513
1589
  DialogPrimitive.Content,
1514
1590
  {
1515
1591
  onPointerDownOutside: (e) => {
@@ -1525,7 +1601,7 @@ var DialogContent = React13.forwardRef(({ className, children, persist, hideClos
1525
1601
  ...props
1526
1602
  },
1527
1603
  children,
1528
- !hideCloseButton && /* @__PURE__ */ React13.createElement(
1604
+ !hideCloseButton && /* @__PURE__ */ React14.createElement(
1529
1605
  DialogPrimitive.Close,
1530
1606
  {
1531
1607
  className: cn(
@@ -1533,7 +1609,7 @@ var DialogContent = React13.forwardRef(({ className, children, persist, hideClos
1533
1609
  props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4"
1534
1610
  )
1535
1611
  },
1536
- /* @__PURE__ */ React13.createElement(
1612
+ /* @__PURE__ */ React14.createElement(
1537
1613
  "svg",
1538
1614
  {
1539
1615
  "aria-label": "Close Icon",
@@ -1542,7 +1618,7 @@ var DialogContent = React13.forwardRef(({ className, children, persist, hideClos
1542
1618
  fill: "currentColor",
1543
1619
  viewBox: "0 0 20 20"
1544
1620
  },
1545
- /* @__PURE__ */ React13.createElement(
1621
+ /* @__PURE__ */ React14.createElement(
1546
1622
  "path",
1547
1623
  {
1548
1624
  fillRule: "evenodd",
@@ -1551,10 +1627,10 @@ var DialogContent = React13.forwardRef(({ className, children, persist, hideClos
1551
1627
  }
1552
1628
  )
1553
1629
  ),
1554
- /* @__PURE__ */ React13.createElement("span", { className: "hawa-sr-only" }, "Close")
1630
+ /* @__PURE__ */ React14.createElement("span", { className: "hawa-sr-only" }, "Close")
1555
1631
  )
1556
1632
  )));
1557
- var DialogCarouselContent = React13.forwardRef(
1633
+ var DialogCarouselContent = React14.forwardRef(
1558
1634
  ({
1559
1635
  className,
1560
1636
  children,
@@ -1563,7 +1639,7 @@ var DialogCarouselContent = React13.forwardRef(
1563
1639
  hideCloseButton,
1564
1640
  hidePrevButton,
1565
1641
  ...props
1566
- }, ref) => /* @__PURE__ */ React13.createElement(DialogPortal, null, /* @__PURE__ */ React13.createElement(DialogOverlay, null), /* @__PURE__ */ React13.createElement(
1642
+ }, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, null, /* @__PURE__ */ React14.createElement(DialogOverlay, null), /* @__PURE__ */ React14.createElement(
1567
1643
  DialogPrimitive.Content,
1568
1644
  {
1569
1645
  onPointerDownOutside: (e) => {
@@ -1579,7 +1655,7 @@ var DialogCarouselContent = React13.forwardRef(
1579
1655
  ...props
1580
1656
  },
1581
1657
  children,
1582
- /* @__PURE__ */ React13.createElement(
1658
+ /* @__PURE__ */ React14.createElement(
1583
1659
  "div",
1584
1660
  {
1585
1661
  className: cn(
@@ -1587,7 +1663,7 @@ var DialogCarouselContent = React13.forwardRef(
1587
1663
  onPrev ? "hawa-justify-between" : "hawa-justify-end"
1588
1664
  )
1589
1665
  },
1590
- hidePrevButton ? /* @__PURE__ */ React13.createElement("div", null) : /* @__PURE__ */ React13.createElement(
1666
+ hidePrevButton ? /* @__PURE__ */ React14.createElement("div", null) : /* @__PURE__ */ React14.createElement(
1591
1667
  "div",
1592
1668
  {
1593
1669
  onClick: onPrev,
@@ -1596,7 +1672,7 @@ var DialogCarouselContent = React13.forwardRef(
1596
1672
  props.dir === "rtl" && "hawa-rotate-180"
1597
1673
  )
1598
1674
  },
1599
- /* @__PURE__ */ React13.createElement(
1675
+ /* @__PURE__ */ React14.createElement(
1600
1676
  "svg",
1601
1677
  {
1602
1678
  xmlns: "http://www.w3.org/2000/svg",
@@ -1610,10 +1686,10 @@ var DialogCarouselContent = React13.forwardRef(
1610
1686
  strokeLinecap: "round",
1611
1687
  strokeLinejoin: "round"
1612
1688
  },
1613
- /* @__PURE__ */ React13.createElement("path", { d: "m15 18-6-6 6-6" })
1689
+ /* @__PURE__ */ React14.createElement("path", { d: "m15 18-6-6 6-6" })
1614
1690
  )
1615
1691
  ),
1616
- !hideCloseButton && /* @__PURE__ */ React13.createElement(
1692
+ !hideCloseButton && /* @__PURE__ */ React14.createElement(
1617
1693
  DialogPrimitive.Close,
1618
1694
  {
1619
1695
  className: cn(
@@ -1621,7 +1697,7 @@ var DialogCarouselContent = React13.forwardRef(
1621
1697
  props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4"
1622
1698
  )
1623
1699
  },
1624
- /* @__PURE__ */ React13.createElement(
1700
+ /* @__PURE__ */ React14.createElement(
1625
1701
  "svg",
1626
1702
  {
1627
1703
  "aria-label": "Close Icon",
@@ -1630,7 +1706,7 @@ var DialogCarouselContent = React13.forwardRef(
1630
1706
  fill: "currentColor",
1631
1707
  viewBox: "0 0 20 20"
1632
1708
  },
1633
- /* @__PURE__ */ React13.createElement(
1709
+ /* @__PURE__ */ React14.createElement(
1634
1710
  "path",
1635
1711
  {
1636
1712
  fillRule: "evenodd",
@@ -1639,7 +1715,7 @@ var DialogCarouselContent = React13.forwardRef(
1639
1715
  }
1640
1716
  )
1641
1717
  ),
1642
- /* @__PURE__ */ React13.createElement("span", { className: "hawa-sr-only" }, "Close")
1718
+ /* @__PURE__ */ React14.createElement("span", { className: "hawa-sr-only" }, "Close")
1643
1719
  )
1644
1720
  )
1645
1721
  ))
@@ -1647,7 +1723,7 @@ var DialogCarouselContent = React13.forwardRef(
1647
1723
  var DialogHeader = ({
1648
1724
  className,
1649
1725
  ...props
1650
- }) => /* @__PURE__ */ React13.createElement(
1726
+ }) => /* @__PURE__ */ React14.createElement(
1651
1727
  "div",
1652
1728
  {
1653
1729
  className: cn(
@@ -1657,7 +1733,7 @@ var DialogHeader = ({
1657
1733
  ...props
1658
1734
  }
1659
1735
  );
1660
- var DialogTitle = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React13.createElement(
1736
+ var DialogTitle = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React14.createElement(
1661
1737
  DialogPrimitive.Title,
1662
1738
  {
1663
1739
  ref,
@@ -1668,7 +1744,7 @@ var DialogTitle = React13.forwardRef(({ className, ...props }, ref) => /* @__PUR
1668
1744
  ...props
1669
1745
  }
1670
1746
  ));
1671
- var DialogDescription = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React13.createElement(
1747
+ var DialogDescription = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React14.createElement(
1672
1748
  DialogPrimitive.Description,
1673
1749
  {
1674
1750
  ref,
@@ -1682,7 +1758,7 @@ var DialogDescription = React13.forwardRef(({ className, ...props }, ref) => /*
1682
1758
  var DialogFooter = ({
1683
1759
  className,
1684
1760
  ...props
1685
- }) => /* @__PURE__ */ React13.createElement(
1761
+ }) => /* @__PURE__ */ React14.createElement(
1686
1762
  "div",
1687
1763
  {
1688
1764
  className: cn(
@@ -1698,12 +1774,12 @@ var DialogCarousel = ({
1698
1774
  children,
1699
1775
  direction
1700
1776
  }) => {
1701
- React13.useEffect(() => {
1777
+ React14.useEffect(() => {
1702
1778
  if (stepsApi) {
1703
1779
  stepsApi.reInit();
1704
1780
  }
1705
1781
  }, [stepsApi, children]);
1706
- return /* @__PURE__ */ React13.createElement("div", { className: "hawa-overflow-hidden" }, /* @__PURE__ */ React13.createElement("div", { ref: stepsRef, dir: direction }, /* @__PURE__ */ React13.createElement(
1782
+ return /* @__PURE__ */ React14.createElement("div", { className: "hawa-overflow-hidden" }, /* @__PURE__ */ React14.createElement("div", { ref: stepsRef, dir: direction }, /* @__PURE__ */ React14.createElement(
1707
1783
  "div",
1708
1784
  {
1709
1785
  className: "hawa-flex",
@@ -1711,7 +1787,7 @@ var DialogCarousel = ({
1711
1787
  transition: "height 0.2s"
1712
1788
  }
1713
1789
  },
1714
- React13.Children.map(children, (child, index) => /* @__PURE__ */ React13.createElement(
1790
+ React14.Children.map(children, (child, index) => /* @__PURE__ */ React14.createElement(
1715
1791
  "div",
1716
1792
  {
1717
1793
  className: cn(
@@ -1728,14 +1804,14 @@ var DialogSteps = ({
1728
1804
  visibleStepRef,
1729
1805
  children
1730
1806
  }) => {
1731
- const [dialogHeight, setDialogHeight] = React13.useState(null);
1732
- React13.useEffect(() => {
1807
+ const [dialogHeight, setDialogHeight] = React14.useState(null);
1808
+ React14.useEffect(() => {
1733
1809
  if (visibleStepRef.current) {
1734
1810
  setDialogHeight(visibleStepRef.current.offsetHeight);
1735
1811
  console.log("height is ", visibleStepRef.current.offsetHeight);
1736
1812
  }
1737
1813
  }, [currentStep, visibleStepRef]);
1738
- return /* @__PURE__ */ React13.createElement(
1814
+ return /* @__PURE__ */ React14.createElement(
1739
1815
  "div",
1740
1816
  {
1741
1817
  className: "hawa-relative hawa-overflow-clip",
@@ -1744,7 +1820,7 @@ var DialogSteps = ({
1744
1820
  transition: "height 0.2s"
1745
1821
  }
1746
1822
  },
1747
- React13.Children.map(children, (child, index) => /* @__PURE__ */ React13.createElement(
1823
+ React14.Children.map(children, (child, index) => /* @__PURE__ */ React14.createElement(
1748
1824
  "div",
1749
1825
  {
1750
1826
  ref: currentStep === `step-${index + 1}` ? visibleStepRef : null,
@@ -1762,7 +1838,7 @@ var DialogStep = ({
1762
1838
  className,
1763
1839
  stepRef
1764
1840
  }) => {
1765
- return /* @__PURE__ */ React13.createElement(
1841
+ return /* @__PURE__ */ React14.createElement(
1766
1842
  "div",
1767
1843
  {
1768
1844
  id,
@@ -1773,7 +1849,7 @@ var DialogStep = ({
1773
1849
  );
1774
1850
  };
1775
1851
  var DialogBody = ({ children, className }) => {
1776
- return /* @__PURE__ */ React13.createElement("div", { className: cn("hawa-py-6", className) }, children);
1852
+ return /* @__PURE__ */ React14.createElement("div", { className: cn("hawa-py-6", className) }, children);
1777
1853
  };
1778
1854
  DialogBody.displayName = "DialogBody";
1779
1855
  DialogStep.displayName = "DialogStep";
@@ -1789,10 +1865,10 @@ DialogContent.displayName = DialogPrimitive.Content.displayName;
1789
1865
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
1790
1866
 
1791
1867
  // components/elements/alert/Alert.tsx
1792
- var import_react5 = __toESM(require("react"));
1868
+ var import_react6 = __toESM(require("react"));
1793
1869
 
1794
1870
  // components/elements/button/Button.tsx
1795
- var React14 = __toESM(require("react"));
1871
+ var React15 = __toESM(require("react"));
1796
1872
  var import_class_variance_authority3 = require("class-variance-authority");
1797
1873
  var buttonVariants = (0, import_class_variance_authority3.cva)(
1798
1874
  "hawa-inline-flex hawa-items-center hawa-select-none hawa-rounded-md hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-colors focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
@@ -1827,7 +1903,7 @@ var buttonVariants = (0, import_class_variance_authority3.cva)(
1827
1903
  }
1828
1904
  }
1829
1905
  );
1830
- var Button = React14.forwardRef(
1906
+ var Button = React15.forwardRef(
1831
1907
  ({
1832
1908
  className,
1833
1909
  variant,
@@ -1840,7 +1916,7 @@ var Button = React14.forwardRef(
1840
1916
  }, ref) => {
1841
1917
  const Comp = "button";
1842
1918
  const loadingColor = variant === "outline" || variant === "ghost" || variant === "neoBrutalism" ? "hawa-bg-primary" : "hawa-bg-primary-foreground";
1843
- return /* @__PURE__ */ React14.createElement(
1919
+ return /* @__PURE__ */ React15.createElement(
1844
1920
  Comp,
1845
1921
  {
1846
1922
  className: cn(
@@ -1850,7 +1926,7 @@ var Button = React14.forwardRef(
1850
1926
  ref,
1851
1927
  ...props
1852
1928
  },
1853
- isLoading ? /* @__PURE__ */ React14.createElement(
1929
+ isLoading ? /* @__PURE__ */ React15.createElement(
1854
1930
  Loading,
1855
1931
  {
1856
1932
  design: size === "icon" || size === "smallIcon" ? "spinner" : "dots-pulse",
@@ -1874,9 +1950,9 @@ var Alert = ({
1874
1950
  className,
1875
1951
  ...props
1876
1952
  }) => {
1877
- const alertRef = (0, import_react5.useRef)(null);
1878
- const [closed, setClosed] = (0, import_react5.useState)(false);
1879
- (0, import_react5.useEffect)(() => {
1953
+ const alertRef = (0, import_react6.useRef)(null);
1954
+ const [closed, setClosed] = (0, import_react6.useState)(false);
1955
+ (0, import_react6.useEffect)(() => {
1880
1956
  if (duration) {
1881
1957
  const timeoutHide = setTimeout(() => {
1882
1958
  setClosed(true);
@@ -1911,7 +1987,7 @@ var Alert = ({
1911
1987
  hyper: "hawa-text-white hawa-bg-gradient-to-tl hawa-from-pink-700 hawa-via-red-500 hawa-to-yellow-600 ",
1912
1988
  oceanic: "hawa-text-white hawa-bg-gradient-to-bl hawa-from-green-500 hawa-via-blue-700 hawa-to-purple-500"
1913
1989
  };
1914
- return /* @__PURE__ */ import_react5.default.createElement("div", { ref: alertRef }, /* @__PURE__ */ import_react5.default.createElement(
1990
+ return /* @__PURE__ */ import_react6.default.createElement("div", { ref: alertRef }, /* @__PURE__ */ import_react6.default.createElement(
1915
1991
  "div",
1916
1992
  {
1917
1993
  "data-testid": "alert",
@@ -1925,13 +2001,13 @@ var Alert = ({
1925
2001
  className
1926
2002
  )
1927
2003
  },
1928
- /* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-flex hawa-flex-row" }, icon && /* @__PURE__ */ import_react5.default.createElement(
2004
+ /* @__PURE__ */ import_react6.default.createElement("div", { className: "hawa-flex hawa-flex-row" }, icon && /* @__PURE__ */ import_react6.default.createElement(
1929
2005
  "div",
1930
2006
  {
1931
2007
  className: direction === "rtl" ? "hawa-pl-2 hawa-pt-1" : "hawa-pr-2 hawa-pt-1"
1932
2008
  },
1933
2009
  icon
1934
- ), /* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react5.default.createElement(
2010
+ ), /* @__PURE__ */ import_react6.default.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react6.default.createElement(
1935
2011
  "span",
1936
2012
  {
1937
2013
  className: cn(
@@ -1940,7 +2016,7 @@ var Alert = ({
1940
2016
  )
1941
2017
  },
1942
2018
  props.title
1943
- ), /* @__PURE__ */ import_react5.default.createElement(
2019
+ ), /* @__PURE__ */ import_react6.default.createElement(
1944
2020
  "span",
1945
2021
  {
1946
2022
  className: cn(
@@ -1949,7 +2025,7 @@ var Alert = ({
1949
2025
  )
1950
2026
  },
1951
2027
  props.text
1952
- ), props.actions && /* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2" }, props.actions.map((act, index) => /* @__PURE__ */ import_react5.default.createElement(
2028
+ ), props.actions && /* @__PURE__ */ import_react6.default.createElement("div", { className: "hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2" }, props.actions.map((act, index) => /* @__PURE__ */ import_react6.default.createElement(
1953
2029
  Button,
1954
2030
  {
1955
2031
  key: index,
@@ -1958,7 +2034,7 @@ var Alert = ({
1958
2034
  },
1959
2035
  act.label
1960
2036
  ))))),
1961
- !props.persistent && /* @__PURE__ */ import_react5.default.createElement(
2037
+ !props.persistent && /* @__PURE__ */ import_react6.default.createElement(
1962
2038
  "button",
1963
2039
  {
1964
2040
  type: "button",
@@ -1981,8 +2057,8 @@ var Alert = ({
1981
2057
  }, 200);
1982
2058
  }
1983
2059
  },
1984
- /* @__PURE__ */ import_react5.default.createElement("span", { className: "hawa-sr-only" }, "Close"),
1985
- /* @__PURE__ */ import_react5.default.createElement(
2060
+ /* @__PURE__ */ import_react6.default.createElement("span", { className: "hawa-sr-only" }, "Close"),
2061
+ /* @__PURE__ */ import_react6.default.createElement(
1986
2062
  "svg",
1987
2063
  {
1988
2064
  "aria-label": "Close Icon",
@@ -1991,7 +2067,7 @@ var Alert = ({
1991
2067
  fill: "currentColor",
1992
2068
  viewBox: "0 0 20 20"
1993
2069
  },
1994
- /* @__PURE__ */ import_react5.default.createElement(
2070
+ /* @__PURE__ */ import_react6.default.createElement(
1995
2071
  "path",
1996
2072
  {
1997
2073
  fillRule: "evenodd",
@@ -2005,12 +2081,12 @@ var Alert = ({
2005
2081
  };
2006
2082
 
2007
2083
  // components/elements/avatar/Avatar.tsx
2008
- var import_react7 = __toESM(require("react"));
2084
+ var import_react8 = __toESM(require("react"));
2009
2085
 
2010
2086
  // components/elements/FileUploader.tsx
2011
- var import_react6 = __toESM(require("react"));
2087
+ var import_react7 = __toESM(require("react"));
2012
2088
  var FileUploader = ({ handleFile, className }) => {
2013
- const hiddenFileInput = (0, import_react6.useRef)(null);
2089
+ const hiddenFileInput = (0, import_react7.useRef)(null);
2014
2090
  const handleClick = () => {
2015
2091
  var _a;
2016
2092
  (_a = hiddenFileInput.current) == null ? void 0 : _a.click();
@@ -2019,7 +2095,7 @@ var FileUploader = ({ handleFile, className }) => {
2019
2095
  const fileUploaded = event.target.files[0];
2020
2096
  handleFile(fileUploaded);
2021
2097
  };
2022
- return /* @__PURE__ */ import_react6.default.createElement("div", { className }, /* @__PURE__ */ import_react6.default.createElement("div", { className: "hawa-h-full hawa-w-full", onClick: handleClick }), /* @__PURE__ */ import_react6.default.createElement(
2098
+ return /* @__PURE__ */ import_react7.default.createElement("div", { className }, /* @__PURE__ */ import_react7.default.createElement("div", { className: "hawa-h-full hawa-w-full", onClick: handleClick }), /* @__PURE__ */ import_react7.default.createElement(
2023
2099
  "input",
2024
2100
  {
2025
2101
  type: "file",
@@ -2059,7 +2135,7 @@ var Avatar = ({
2059
2135
  inherit: "hawa-rounded",
2060
2136
  none: "hawa-rounded-none"
2061
2137
  };
2062
- return /* @__PURE__ */ import_react7.default.createElement(
2138
+ return /* @__PURE__ */ import_react8.default.createElement(
2063
2139
  "div",
2064
2140
  {
2065
2141
  className: cn(
@@ -2069,7 +2145,7 @@ var Avatar = ({
2069
2145
  className
2070
2146
  )
2071
2147
  },
2072
- /* @__PURE__ */ import_react7.default.createElement(
2148
+ /* @__PURE__ */ import_react8.default.createElement(
2073
2149
  FileUploader,
2074
2150
  {
2075
2151
  className: cn(
@@ -2080,7 +2156,7 @@ var Avatar = ({
2080
2156
  )
2081
2157
  }
2082
2158
  ),
2083
- /* @__PURE__ */ import_react7.default.createElement(
2159
+ /* @__PURE__ */ import_react8.default.createElement(
2084
2160
  "img",
2085
2161
  {
2086
2162
  className: cn(
@@ -2093,7 +2169,7 @@ var Avatar = ({
2093
2169
  alt
2094
2170
  }
2095
2171
  ),
2096
- !src && !isUploadable && /* @__PURE__ */ import_react7.default.createElement(
2172
+ !src && !isUploadable && /* @__PURE__ */ import_react8.default.createElement(
2097
2173
  "div",
2098
2174
  {
2099
2175
  className: cn(
@@ -2101,7 +2177,7 @@ var Avatar = ({
2101
2177
  "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center"
2102
2178
  )
2103
2179
  },
2104
- icon ? icon : /* @__PURE__ */ import_react7.default.createElement(
2180
+ icon ? icon : /* @__PURE__ */ import_react8.default.createElement(
2105
2181
  "svg",
2106
2182
  {
2107
2183
  xmlns: "http://www.w3.org/2000/svg",
@@ -2113,23 +2189,23 @@ var Avatar = ({
2113
2189
  strokeLinecap: "round",
2114
2190
  strokeLinejoin: "round"
2115
2191
  },
2116
- /* @__PURE__ */ import_react7.default.createElement("circle", { cx: "12", cy: "8", r: "5" }),
2117
- /* @__PURE__ */ import_react7.default.createElement("path", { d: "M20 21a8 8 0 1 0-16 0" })
2192
+ /* @__PURE__ */ import_react8.default.createElement("circle", { cx: "12", cy: "8", r: "5" }),
2193
+ /* @__PURE__ */ import_react8.default.createElement("path", { d: "M20 21a8 8 0 1 0-16 0" })
2118
2194
  )
2119
2195
  )
2120
2196
  );
2121
2197
  };
2122
2198
 
2123
2199
  // components/elements/dataTable/DataTable.tsx
2124
- var React21 = __toESM(require("react"));
2200
+ var React22 = __toESM(require("react"));
2125
2201
  var import_react_table = require("@tanstack/react-table");
2126
2202
 
2127
2203
  // components/elements/input/Input.tsx
2128
- var import_react8 = __toESM(require("react"));
2204
+ var import_react9 = __toESM(require("react"));
2129
2205
 
2130
2206
  // components/elements/label/Label.tsx
2131
- var React18 = __toESM(require("react"));
2132
- var Label2 = React18.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React18.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React18.createElement(
2207
+ var React19 = __toESM(require("react"));
2208
+ var Label2 = React19.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React19.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React19.createElement(
2133
2209
  "label",
2134
2210
  {
2135
2211
  ref,
@@ -2140,8 +2216,8 @@ var Label2 = React18.forwardRef(({ className, hint, hintSide, required, children
2140
2216
  ...props
2141
2217
  },
2142
2218
  children,
2143
- required && /* @__PURE__ */ React18.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
2144
- ), hint && /* @__PURE__ */ React18.createElement(Tooltip, { content: hint, side: hintSide }, /* @__PURE__ */ React18.createElement(
2219
+ required && /* @__PURE__ */ React19.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
2220
+ ), hint && /* @__PURE__ */ React19.createElement(Tooltip, { content: hint, side: hintSide }, /* @__PURE__ */ React19.createElement(
2145
2221
  "svg",
2146
2222
  {
2147
2223
  xmlns: "http://www.w3.org/2000/svg",
@@ -2153,14 +2229,14 @@ var Label2 = React18.forwardRef(({ className, hint, hintSide, required, children
2153
2229
  strokeLinecap: "round",
2154
2230
  strokeLinejoin: "round"
2155
2231
  },
2156
- /* @__PURE__ */ React18.createElement("circle", { cx: "12", cy: "12", r: "10" }),
2157
- /* @__PURE__ */ React18.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
2158
- /* @__PURE__ */ React18.createElement("path", { d: "M12 17h.01" })
2232
+ /* @__PURE__ */ React19.createElement("circle", { cx: "12", cy: "12", r: "10" }),
2233
+ /* @__PURE__ */ React19.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
2234
+ /* @__PURE__ */ React19.createElement("path", { d: "M12 17h.01" })
2159
2235
  ))));
2160
2236
  Label2.displayName = "Label";
2161
2237
 
2162
2238
  // components/elements/input/Input.tsx
2163
- var Input = (0, import_react8.forwardRef)(
2239
+ var Input = (0, import_react9.forwardRef)(
2164
2240
  ({
2165
2241
  margin = "none",
2166
2242
  width = "full",
@@ -2187,7 +2263,7 @@ var Input = (0, import_react8.forwardRef)(
2187
2263
  };
2188
2264
  let defaultStyle = "hawa-flex hawa-max-h-fit hawa-h-fit hawa-relative hawa-flex-col hawa-justify-center hawa-gap-0";
2189
2265
  let defaultInputStyle = "hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-3 hawa-text-sm ";
2190
- return /* @__PURE__ */ import_react8.default.createElement(
2266
+ return /* @__PURE__ */ import_react9.default.createElement(
2191
2267
  "div",
2192
2268
  {
2193
2269
  className: cn(
@@ -2198,8 +2274,8 @@ var Input = (0, import_react8.forwardRef)(
2198
2274
  "hawa-w-full hawa-gap-2"
2199
2275
  )
2200
2276
  },
2201
- props.label && /* @__PURE__ */ import_react8.default.createElement(Label2, { ...labelProps }, props.label),
2202
- props.isLoading ? /* @__PURE__ */ import_react8.default.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ import_react8.default.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null, !props.hideSeparator && /* @__PURE__ */ import_react8.default.createElement(
2277
+ props.label && /* @__PURE__ */ import_react9.default.createElement(Label2, { ...labelProps }, props.label),
2278
+ props.isLoading ? /* @__PURE__ */ import_react9.default.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ import_react9.default.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ import_react9.default.createElement(import_react9.default.Fragment, null, !props.hideSeparator && /* @__PURE__ */ import_react9.default.createElement(
2203
2279
  "div",
2204
2280
  {
2205
2281
  className: cn(
@@ -2207,7 +2283,7 @@ var Input = (0, import_react8.forwardRef)(
2207
2283
  preview ? "hawa-opacity-100" : "hawa-opacity-0"
2208
2284
  )
2209
2285
  }
2210
- ), /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null, /* @__PURE__ */ import_react8.default.createElement("div", { className: "hawa-relative" }, props.startIcon && /* @__PURE__ */ import_react8.default.createElement("div", { className: "hawa-absolute hawa-start-3 hawa-top-1/2 hawa--translate-y-1/2" }, props.startIcon), props.endIcon && /* @__PURE__ */ import_react8.default.createElement(
2286
+ ), /* @__PURE__ */ import_react9.default.createElement(import_react9.default.Fragment, null, /* @__PURE__ */ import_react9.default.createElement("div", { className: "hawa-relative" }, props.startIcon && /* @__PURE__ */ import_react9.default.createElement("div", { className: "hawa-absolute hawa-start-3 hawa-top-1/2 hawa--translate-y-1/2" }, props.startIcon), props.endIcon && /* @__PURE__ */ import_react9.default.createElement(
2211
2287
  "div",
2212
2288
  {
2213
2289
  className: cn(
@@ -2216,7 +2292,7 @@ var Input = (0, import_react8.forwardRef)(
2216
2292
  )
2217
2293
  },
2218
2294
  props.endIcon
2219
- ), /* @__PURE__ */ import_react8.default.createElement(
2295
+ ), /* @__PURE__ */ import_react9.default.createElement(
2220
2296
  "input",
2221
2297
  {
2222
2298
  required: true,
@@ -2242,7 +2318,7 @@ var Input = (0, import_react8.forwardRef)(
2242
2318
  inputProps == null ? void 0 : inputProps.className
2243
2319
  )
2244
2320
  }
2245
- )), !forceHideHelperText && /* @__PURE__ */ import_react8.default.createElement(
2321
+ )), !forceHideHelperText && /* @__PURE__ */ import_react9.default.createElement(
2246
2322
  "p",
2247
2323
  {
2248
2324
  className: cn(
@@ -2251,7 +2327,7 @@ var Input = (0, import_react8.forwardRef)(
2251
2327
  )
2252
2328
  },
2253
2329
  props.helperText
2254
- ), !props.disabled && forceHideHelperText && /* @__PURE__ */ import_react8.default.createElement(
2330
+ ), !props.disabled && forceHideHelperText && /* @__PURE__ */ import_react9.default.createElement(
2255
2331
  "div",
2256
2332
  {
2257
2333
  className: cn(
@@ -2260,7 +2336,7 @@ var Input = (0, import_react8.forwardRef)(
2260
2336
  )
2261
2337
  },
2262
2338
  props.helperText
2263
- ), showCount && /* @__PURE__ */ import_react8.default.createElement(
2339
+ ), showCount && /* @__PURE__ */ import_react9.default.createElement(
2264
2340
  "div",
2265
2341
  {
2266
2342
  className: cn(
@@ -2281,8 +2357,8 @@ var Input = (0, import_react8.forwardRef)(
2281
2357
  );
2282
2358
 
2283
2359
  // components/elements/table/Table.tsx
2284
- var React20 = __toESM(require("react"));
2285
- var Table = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React20.createElement("div", { className: "hawa-relative hawa-w-full hawa-overflow-auto hawa-rounded hawa-border" }, /* @__PURE__ */ React20.createElement(
2360
+ var React21 = __toESM(require("react"));
2361
+ var Table = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React21.createElement("div", { className: "hawa-relative hawa-w-full hawa-overflow-auto hawa-rounded hawa-border" }, /* @__PURE__ */ React21.createElement(
2286
2362
  "table",
2287
2363
  {
2288
2364
  ref,
@@ -2291,7 +2367,7 @@ var Table = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
2291
2367
  }
2292
2368
  )));
2293
2369
  Table.displayName = "Table";
2294
- var TableHeader = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React20.createElement(
2370
+ var TableHeader = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React21.createElement(
2295
2371
  "thead",
2296
2372
  {
2297
2373
  ref,
@@ -2300,8 +2376,8 @@ var TableHeader = React20.forwardRef(({ className, ...props }, ref) => /* @__PUR
2300
2376
  }
2301
2377
  ));
2302
2378
  TableHeader.displayName = "TableHeader";
2303
- var TableHead = React20.forwardRef(
2304
- ({ className, condensed, clickable, dir, ...props }, ref) => /* @__PURE__ */ React20.createElement(
2379
+ var TableHead = React21.forwardRef(
2380
+ ({ className, condensed, clickable, dir, ...props }, ref) => /* @__PURE__ */ React21.createElement(
2305
2381
  "th",
2306
2382
  {
2307
2383
  ref,
@@ -2320,9 +2396,9 @@ var TableHead = React20.forwardRef(
2320
2396
  )
2321
2397
  );
2322
2398
  TableHead.displayName = "TableHead";
2323
- var TableBody = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React20.createElement("tbody", { ref, className: cn("hawa-border-none", className), ...props }));
2399
+ var TableBody = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React21.createElement("tbody", { ref, className: cn("hawa-border-none", className), ...props }));
2324
2400
  TableBody.displayName = "TableBody";
2325
- var TableFooter = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React20.createElement(
2401
+ var TableFooter = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React21.createElement(
2326
2402
  "tfoot",
2327
2403
  {
2328
2404
  ref,
@@ -2334,7 +2410,7 @@ var TableFooter = React20.forwardRef(({ className, ...props }, ref) => /* @__PUR
2334
2410
  }
2335
2411
  ));
2336
2412
  TableFooter.displayName = "TableFooter";
2337
- var TableRow = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React20.createElement(
2413
+ var TableRow = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React21.createElement(
2338
2414
  "tr",
2339
2415
  {
2340
2416
  ref,
@@ -2348,14 +2424,14 @@ var TableRow = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__
2348
2424
  }
2349
2425
  ));
2350
2426
  TableRow.displayName = "TableRow";
2351
- var TableCell = React20.forwardRef(
2427
+ var TableCell = React21.forwardRef(
2352
2428
  ({ className, enablePadding = true, padding = "default", ...props }, ref) => {
2353
2429
  let paddingStyles = {
2354
2430
  condensed: "hawa-p-0 hawa-px-4",
2355
2431
  default: "hawa-p-4",
2356
2432
  noPadding: "hawa-p-0"
2357
2433
  };
2358
- return /* @__PURE__ */ React20.createElement(
2434
+ return /* @__PURE__ */ React21.createElement(
2359
2435
  "td",
2360
2436
  {
2361
2437
  ref,
@@ -2377,7 +2453,7 @@ var TableCell = React20.forwardRef(
2377
2453
  }
2378
2454
  );
2379
2455
  TableCell.displayName = "TableCell";
2380
- var TableCaption = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React20.createElement(
2456
+ var TableCaption = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React21.createElement(
2381
2457
  "caption",
2382
2458
  {
2383
2459
  ref,
@@ -2402,16 +2478,16 @@ var DataTable = ({
2402
2478
  ...props
2403
2479
  }) => {
2404
2480
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
2405
- const [sorting, setSorting] = React21.useState(
2481
+ const [sorting, setSorting] = React22.useState(
2406
2482
  props.defaultSort ? [{ id: props.defaultSort, desc: false }] : []
2407
2483
  );
2408
- const [columnFilters, setColumnFilters] = React21.useState(
2484
+ const [columnFilters, setColumnFilters] = React22.useState(
2409
2485
  []
2410
2486
  );
2411
- const [globalFilter, setGlobalFilter] = React21.useState("");
2412
- const [expanded, setExpanded] = React21.useState({});
2413
- const [columnVisibility, setColumnVisibility] = React21.useState({});
2414
- const [rowSelection, setRowSelection] = React21.useState({});
2487
+ const [globalFilter, setGlobalFilter] = React22.useState("");
2488
+ const [expanded, setExpanded] = React22.useState({});
2489
+ const [columnVisibility, setColumnVisibility] = React22.useState({});
2490
+ const [rowSelection, setRowSelection] = React22.useState({});
2415
2491
  const table = (0, import_react_table.useReactTable)({
2416
2492
  data,
2417
2493
  columns,
@@ -2440,7 +2516,7 @@ var DataTable = ({
2440
2516
  label: `${item} / ${pageText}`,
2441
2517
  value: item
2442
2518
  }));
2443
- return /* @__PURE__ */ React21.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-col hawa-gap-4" }, (enableSearch || enableHideColumns) && /* @__PURE__ */ React21.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-4" }, enableSearch && /* @__PURE__ */ React21.createElement(
2519
+ return /* @__PURE__ */ React22.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-col hawa-gap-4" }, (enableSearch || enableHideColumns) && /* @__PURE__ */ React22.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-4" }, enableSearch && /* @__PURE__ */ React22.createElement(
2444
2520
  Input,
2445
2521
  {
2446
2522
  forceHideHelperText: true,
@@ -2450,14 +2526,14 @@ var DataTable = ({
2450
2526
  margin: "none",
2451
2527
  className: "hawa-w-full md:hawa-max-w-sm"
2452
2528
  }
2453
- ), enableHideColumns && /* @__PURE__ */ React21.createElement(DropdownMenuRoot, null, /* @__PURE__ */ React21.createElement(DropdownMenuTrigger, { asChild: true }, /* @__PURE__ */ React21.createElement(
2529
+ ), enableHideColumns && /* @__PURE__ */ React22.createElement(DropdownMenuRoot, null, /* @__PURE__ */ React22.createElement(DropdownMenuTrigger, { asChild: true }, /* @__PURE__ */ React22.createElement(
2454
2530
  Button,
2455
2531
  {
2456
2532
  variant: "outline",
2457
2533
  className: "hawa-flex hawa-flex-row hawa-gap-2"
2458
2534
  },
2459
2535
  ((_d = props.texts) == null ? void 0 : _d.columns) || "Columns",
2460
- /* @__PURE__ */ React21.createElement(
2536
+ /* @__PURE__ */ React22.createElement(
2461
2537
  "svg",
2462
2538
  {
2463
2539
  "aria-label": "Chevron Down Icon",
@@ -2472,15 +2548,15 @@ var DataTable = ({
2472
2548
  strokeLinejoin: "round",
2473
2549
  className: "hawa-icon hawa-rotate-90"
2474
2550
  },
2475
- /* @__PURE__ */ React21.createElement("path", { d: "m9 18 6-6-6-6" })
2551
+ /* @__PURE__ */ React22.createElement("path", { d: "m9 18 6-6-6-6" })
2476
2552
  )
2477
- )), /* @__PURE__ */ React21.createElement(
2553
+ )), /* @__PURE__ */ React22.createElement(
2478
2554
  DropdownMenuContent,
2479
2555
  {
2480
2556
  align: props.direction === "rtl" ? "start" : "end"
2481
2557
  },
2482
2558
  table.getAllColumns().filter((column) => column.getCanHide()).map((column) => {
2483
- return /* @__PURE__ */ React21.createElement(
2559
+ return /* @__PURE__ */ React22.createElement(
2484
2560
  DropdownMenuCheckboxItem,
2485
2561
  {
2486
2562
  key: column.id,
@@ -2490,7 +2566,7 @@ var DataTable = ({
2490
2566
  translateFn ? translateFn(column.id) : column.id
2491
2567
  );
2492
2568
  })
2493
- ))), props.isLoading ? /* @__PURE__ */ React21.createElement(Skeleton, { className: "hawa-h-[130px] hawa-w-full" }) : /* @__PURE__ */ React21.createElement(
2569
+ ))), props.isLoading ? /* @__PURE__ */ React22.createElement(Skeleton, { className: "hawa-h-[130px] hawa-w-full" }) : /* @__PURE__ */ React22.createElement(
2494
2570
  "div",
2495
2571
  {
2496
2572
  className: cn(
@@ -2498,10 +2574,10 @@ var DataTable = ({
2498
2574
  paginationPosition === "top" ? "hawa-flex-col-reverse" : "hawa-flex-col"
2499
2575
  )
2500
2576
  },
2501
- /* @__PURE__ */ React21.createElement("div", { className: "hawa-rounded-md" }, /* @__PURE__ */ React21.createElement(Table, null, table.getAllColumns().length > 0 && /* @__PURE__ */ React21.createElement(TableHeader, null, table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ React21.createElement(TableRow, { key: headerGroup.id }, headerGroup.headers.map((header) => {
2577
+ /* @__PURE__ */ React22.createElement("div", { className: "hawa-rounded-md" }, /* @__PURE__ */ React22.createElement(Table, null, table.getAllColumns().length > 0 && /* @__PURE__ */ React22.createElement(TableHeader, null, table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ React22.createElement(TableRow, { key: headerGroup.id }, headerGroup.headers.map((header) => {
2502
2578
  var _a2;
2503
2579
  let isSortable = (_a2 = header.column.columnDef.meta) == null ? void 0 : _a2.sortable;
2504
- return /* @__PURE__ */ React21.createElement(
2580
+ return /* @__PURE__ */ React22.createElement(
2505
2581
  TableHead,
2506
2582
  {
2507
2583
  dir: props.direction,
@@ -2514,7 +2590,7 @@ var DataTable = ({
2514
2590
  header.getContext()
2515
2591
  )
2516
2592
  );
2517
- })))), /* @__PURE__ */ React21.createElement(TableBody, null, ((_e = table.getRowModel().rows) == null ? void 0 : _e.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React21.createElement(
2593
+ })))), /* @__PURE__ */ React22.createElement(TableBody, null, ((_e = table.getRowModel().rows) == null ? void 0 : _e.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React22.createElement(
2518
2594
  TableRow,
2519
2595
  {
2520
2596
  key: row.id,
@@ -2522,7 +2598,7 @@ var DataTable = ({
2522
2598
  },
2523
2599
  row.getVisibleCells().map((cell) => {
2524
2600
  var _a2;
2525
- return /* @__PURE__ */ React21.createElement(
2601
+ return /* @__PURE__ */ React22.createElement(
2526
2602
  TableCell,
2527
2603
  {
2528
2604
  dir: props.direction,
@@ -2535,7 +2611,7 @@ var DataTable = ({
2535
2611
  )
2536
2612
  );
2537
2613
  })
2538
- )) : /* @__PURE__ */ React21.createElement(TableRow, null, /* @__PURE__ */ React21.createElement(
2614
+ )) : /* @__PURE__ */ React22.createElement(TableRow, null, /* @__PURE__ */ React22.createElement(
2539
2615
  TableCell,
2540
2616
  {
2541
2617
  colSpan: columns.length,
@@ -2543,16 +2619,16 @@ var DataTable = ({
2543
2619
  },
2544
2620
  (_f = props.texts) == null ? void 0 : _f.noData
2545
2621
  ))))),
2546
- /* @__PURE__ */ React21.createElement("div", { className: "hawa-flex hawa-items-center hawa-justify-between" }, !props.showCount && /* @__PURE__ */ React21.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm hawa-text-muted-foreground" }), props.showCount && /* @__PURE__ */ React21.createElement(
2622
+ /* @__PURE__ */ React22.createElement("div", { className: "hawa-flex hawa-items-center hawa-justify-between" }, !props.showCount && /* @__PURE__ */ React22.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm hawa-text-muted-foreground" }), props.showCount && /* @__PURE__ */ React22.createElement(
2547
2623
  "div",
2548
2624
  {
2549
2625
  className: "text-sm text-muted-foreground",
2550
2626
  dir: props.direction
2551
2627
  },
2552
- /* @__PURE__ */ React21.createElement("span", null, (_g = props.texts) == null ? void 0 : _g.total),
2628
+ /* @__PURE__ */ React22.createElement("span", null, (_g = props.texts) == null ? void 0 : _g.total),
2553
2629
  " ",
2554
- /* @__PURE__ */ React21.createElement("span", null, table.getFilteredRowModel().rows.length.toLocaleString())
2555
- ), /* @__PURE__ */ React21.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 " }, enableGoTo && /* @__PURE__ */ React21.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2" }, /* @__PURE__ */ React21.createElement("span", { className: "hawa-text-sm" }, (_h = props.texts) == null ? void 0 : _h.goTo), /* @__PURE__ */ React21.createElement(
2630
+ /* @__PURE__ */ React22.createElement("span", null, table.getFilteredRowModel().rows.length.toLocaleString())
2631
+ ), /* @__PURE__ */ React22.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 " }, enableGoTo && /* @__PURE__ */ React22.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2" }, /* @__PURE__ */ React22.createElement("span", { className: "hawa-text-sm" }, (_h = props.texts) == null ? void 0 : _h.goTo), /* @__PURE__ */ React22.createElement(
2556
2632
  "input",
2557
2633
  {
2558
2634
  max: table.getPageCount(),
@@ -2569,7 +2645,7 @@ var DataTable = ({
2569
2645
  },
2570
2646
  className: "hawa-w-16 hawa-rounded hawa-border hawa-p-1 hawa-px-2 hawa-text-sm"
2571
2647
  }
2572
- )), /* @__PURE__ */ React21.createElement(
2648
+ )), /* @__PURE__ */ React22.createElement(
2573
2649
  DropdownMenu,
2574
2650
  {
2575
2651
  size: "sm",
@@ -2582,7 +2658,7 @@ var DataTable = ({
2582
2658
  { label: `40 / ${pageText}`, value: 40 },
2583
2659
  { label: `50 / ${pageText}`, value: 50 }
2584
2660
  ],
2585
- trigger: /* @__PURE__ */ React21.createElement(
2661
+ trigger: /* @__PURE__ */ React22.createElement(
2586
2662
  Button,
2587
2663
  {
2588
2664
  variant: "outline",
@@ -2593,7 +2669,7 @@ var DataTable = ({
2593
2669
  ),
2594
2670
  onItemSelect: (e) => table.setPageSize(Number(e))
2595
2671
  }
2596
- ), table.getPageCount() > 1 && /* @__PURE__ */ React21.createElement(React21.Fragment, null, /* @__PURE__ */ React21.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm " }, /* @__PURE__ */ React21.createElement("span", { className: "hawa-flex hawa-items-center hawa-gap-1" }, /* @__PURE__ */ React21.createElement("div", null, (_j = props.texts) == null ? void 0 : _j.page), /* @__PURE__ */ React21.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-1" }, /* @__PURE__ */ React21.createElement("span", { className: "hawa-font-bold" }, table.getState().pagination.pageIndex + 1), /* @__PURE__ */ React21.createElement("span", null, (_k = props.texts) == null ? void 0 : _k.of), /* @__PURE__ */ React21.createElement("span", { className: "hawa-font-bold" }, table.getPageCount())))), /* @__PURE__ */ React21.createElement(
2672
+ ), table.getPageCount() > 1 && /* @__PURE__ */ React22.createElement(React22.Fragment, null, /* @__PURE__ */ React22.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm " }, /* @__PURE__ */ React22.createElement("span", { className: "hawa-flex hawa-items-center hawa-gap-1" }, /* @__PURE__ */ React22.createElement("div", null, (_j = props.texts) == null ? void 0 : _j.page), /* @__PURE__ */ React22.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-1" }, /* @__PURE__ */ React22.createElement("span", { className: "hawa-font-bold" }, table.getState().pagination.pageIndex + 1), /* @__PURE__ */ React22.createElement("span", null, (_k = props.texts) == null ? void 0 : _k.of), /* @__PURE__ */ React22.createElement("span", { className: "hawa-font-bold" }, table.getPageCount())))), /* @__PURE__ */ React22.createElement(
2597
2673
  Button,
2598
2674
  {
2599
2675
  "aria-label": "Next Table Page",
@@ -2605,7 +2681,7 @@ var DataTable = ({
2605
2681
  props.direction === "rtl" && "hawa-rotate-180"
2606
2682
  )
2607
2683
  },
2608
- /* @__PURE__ */ React21.createElement(
2684
+ /* @__PURE__ */ React22.createElement(
2609
2685
  "svg",
2610
2686
  {
2611
2687
  xmlns: "http://www.w3.org/2000/svg",
@@ -2618,10 +2694,10 @@ var DataTable = ({
2618
2694
  strokeLinecap: "round",
2619
2695
  strokeLinejoin: "round"
2620
2696
  },
2621
- /* @__PURE__ */ React21.createElement("path", { d: "m11 17-5-5 5-5" }),
2622
- /* @__PURE__ */ React21.createElement("path", { d: "m18 17-5-5 5-5" })
2697
+ /* @__PURE__ */ React22.createElement("path", { d: "m11 17-5-5 5-5" }),
2698
+ /* @__PURE__ */ React22.createElement("path", { d: "m18 17-5-5 5-5" })
2623
2699
  )
2624
- ), /* @__PURE__ */ React21.createElement(
2700
+ ), /* @__PURE__ */ React22.createElement(
2625
2701
  Button,
2626
2702
  {
2627
2703
  "aria-label": "Previous Table Page",
@@ -2633,7 +2709,7 @@ var DataTable = ({
2633
2709
  props.direction === "rtl" && "hawa-rotate-180"
2634
2710
  )
2635
2711
  },
2636
- /* @__PURE__ */ React21.createElement(
2712
+ /* @__PURE__ */ React22.createElement(
2637
2713
  "svg",
2638
2714
  {
2639
2715
  xmlns: "http://www.w3.org/2000/svg",
@@ -2647,9 +2723,9 @@ var DataTable = ({
2647
2723
  strokeLinecap: "round",
2648
2724
  strokeLinejoin: "round"
2649
2725
  },
2650
- /* @__PURE__ */ React21.createElement("path", { d: "m15 18-6-6 6-6" })
2726
+ /* @__PURE__ */ React22.createElement("path", { d: "m15 18-6-6 6-6" })
2651
2727
  )
2652
- ), /* @__PURE__ */ React21.createElement(
2728
+ ), /* @__PURE__ */ React22.createElement(
2653
2729
  Button,
2654
2730
  {
2655
2731
  "aria-label": "Next Table Page",
@@ -2661,7 +2737,7 @@ var DataTable = ({
2661
2737
  props.direction === "ltr" && "hawa-rotate-180"
2662
2738
  )
2663
2739
  },
2664
- /* @__PURE__ */ React21.createElement(
2740
+ /* @__PURE__ */ React22.createElement(
2665
2741
  "svg",
2666
2742
  {
2667
2743
  xmlns: "http://www.w3.org/2000/svg",
@@ -2675,9 +2751,9 @@ var DataTable = ({
2675
2751
  strokeLinecap: "round",
2676
2752
  strokeLinejoin: "round"
2677
2753
  },
2678
- /* @__PURE__ */ React21.createElement("path", { d: "m15 18-6-6 6-6" })
2754
+ /* @__PURE__ */ React22.createElement("path", { d: "m15 18-6-6 6-6" })
2679
2755
  )
2680
- ), /* @__PURE__ */ React21.createElement(
2756
+ ), /* @__PURE__ */ React22.createElement(
2681
2757
  Button,
2682
2758
  {
2683
2759
  "aria-label": "Next Table Page",
@@ -2689,7 +2765,7 @@ var DataTable = ({
2689
2765
  props.direction === "ltr" && "hawa-rotate-180"
2690
2766
  )
2691
2767
  },
2692
- /* @__PURE__ */ React21.createElement(
2768
+ /* @__PURE__ */ React22.createElement(
2693
2769
  "svg",
2694
2770
  {
2695
2771
  xmlns: "http://www.w3.org/2000/svg",
@@ -2702,20 +2778,20 @@ var DataTable = ({
2702
2778
  strokeLinecap: "round",
2703
2779
  strokeLinejoin: "round"
2704
2780
  },
2705
- /* @__PURE__ */ React21.createElement("path", { d: "m11 17-5-5 5-5" }),
2706
- /* @__PURE__ */ React21.createElement("path", { d: "m18 17-5-5 5-5" })
2781
+ /* @__PURE__ */ React22.createElement("path", { d: "m11 17-5-5 5-5" }),
2782
+ /* @__PURE__ */ React22.createElement("path", { d: "m18 17-5-5 5-5" })
2707
2783
  )
2708
2784
  ))))
2709
2785
  ));
2710
2786
  };
2711
2787
 
2712
2788
  // components/elements/backToTop/BackToTop.tsx
2713
- var import_react9 = __toESM(require("react"));
2789
+ var import_react10 = __toESM(require("react"));
2714
2790
  var BackToTop = ({ ...props }) => {
2715
- const [visible, setVisible] = (0, import_react9.useState)(false);
2716
- const [rect, _setRect] = (0, import_react9.useState)(null);
2717
- const self = (0, import_react9.useRef)(null);
2718
- const _rect = (0, import_react9.useRef)(rect);
2791
+ const [visible, setVisible] = (0, import_react10.useState)(false);
2792
+ const [rect, _setRect] = (0, import_react10.useState)(null);
2793
+ const self = (0, import_react10.useRef)(null);
2794
+ const _rect = (0, import_react10.useRef)(rect);
2719
2795
  const setRect = (data) => {
2720
2796
  _rect.current = data;
2721
2797
  _setRect(data);
@@ -2740,7 +2816,7 @@ var BackToTop = ({ ...props }) => {
2740
2816
  props.anchor.current.scrollTo({ top: 0, behavior: "smooth" });
2741
2817
  }
2742
2818
  };
2743
- (0, import_react9.useEffect)(() => {
2819
+ (0, import_react10.useEffect)(() => {
2744
2820
  if (!props.anchor.current)
2745
2821
  return;
2746
2822
  props.anchor.current.addEventListener("scroll", onScroll);
@@ -2776,7 +2852,7 @@ var BackToTop = ({ ...props }) => {
2776
2852
  };
2777
2853
  return style;
2778
2854
  };
2779
- return /* @__PURE__ */ import_react9.default.createElement(
2855
+ return /* @__PURE__ */ import_react10.default.createElement(
2780
2856
  Button,
2781
2857
  {
2782
2858
  className: cn(
@@ -2791,7 +2867,7 @@ var BackToTop = ({ ...props }) => {
2791
2867
  ref: self,
2792
2868
  size: "icon"
2793
2869
  },
2794
- /* @__PURE__ */ import_react9.default.createElement(
2870
+ /* @__PURE__ */ import_react10.default.createElement(
2795
2871
  "svg",
2796
2872
  {
2797
2873
  className: cn(
@@ -2801,13 +2877,13 @@ var BackToTop = ({ ...props }) => {
2801
2877
  viewBox: "0 0 20 20",
2802
2878
  fill: "currentColor"
2803
2879
  },
2804
- /* @__PURE__ */ import_react9.default.createElement("path", { d: "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" })
2880
+ /* @__PURE__ */ import_react10.default.createElement("path", { d: "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" })
2805
2881
  )
2806
2882
  );
2807
2883
  };
2808
2884
 
2809
2885
  // components/elements/radio/Radio.tsx
2810
- var import_react10 = __toESM(require("react"));
2886
+ var import_react11 = __toESM(require("react"));
2811
2887
  var Radio = ({
2812
2888
  design = "default",
2813
2889
  width = "default",
@@ -2818,7 +2894,7 @@ var Radio = ({
2818
2894
  ...props
2819
2895
  }) => {
2820
2896
  var _a, _b, _c;
2821
- const [selectedOption, setSelectedOption] = (0, import_react10.useState)(props.defaultValue);
2897
+ const [selectedOption, setSelectedOption] = (0, import_react11.useState)(props.defaultValue);
2822
2898
  let activeTabStyle = "hawa-inline-block hawa-w-full hawa-text-primary-foreground hawa-bg-primary hawa-active dark:hawa-bg-primary";
2823
2899
  let inactiveTabStyle = "hawa-inline-block hawa-w-full hawa-transition-all hover:hawa-bg-muted hawa-bg-primary-foreground dark:hover:hawa-text-white";
2824
2900
  let orientationStyle = {
@@ -2836,11 +2912,11 @@ var Radio = ({
2836
2912
  default: "hawa-max-w-fit",
2837
2913
  full: "hawa-w-full"
2838
2914
  };
2839
- const [parentDirection, setParentDirection] = import_react10.default.useState(
2915
+ const [parentDirection, setParentDirection] = import_react11.default.useState(
2840
2916
  null
2841
2917
  );
2842
- const parentRef = (0, import_react10.useRef)(null);
2843
- (0, import_react10.useEffect)(() => {
2918
+ const parentRef = (0, import_react11.useRef)(null);
2919
+ (0, import_react11.useEffect)(() => {
2844
2920
  var _a2;
2845
2921
  const parentNode = (_a2 = parentRef.current) == null ? void 0 : _a2.parentNode;
2846
2922
  if (parentNode) {
@@ -2850,7 +2926,7 @@ var Radio = ({
2850
2926
  });
2851
2927
  switch (design) {
2852
2928
  case "tabs":
2853
- return /* @__PURE__ */ import_react10.default.createElement(
2929
+ return /* @__PURE__ */ import_react11.default.createElement(
2854
2930
  "ul",
2855
2931
  {
2856
2932
  ref: parentRef,
@@ -2862,7 +2938,7 @@ var Radio = ({
2862
2938
  tabsContainerClassName
2863
2939
  )
2864
2940
  },
2865
- (_b = props.options) == null ? void 0 : _b.map((opt, o) => /* @__PURE__ */ import_react10.default.createElement(
2941
+ (_b = props.options) == null ? void 0 : _b.map((opt, o) => /* @__PURE__ */ import_react11.default.createElement(
2866
2942
  "li",
2867
2943
  {
2868
2944
  "aria-current": "page",
@@ -2890,13 +2966,13 @@ var Radio = ({
2890
2966
  ))
2891
2967
  );
2892
2968
  case "bordered":
2893
- return /* @__PURE__ */ import_react10.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-4") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react10.default.createElement(
2969
+ return /* @__PURE__ */ import_react11.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-4") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react11.default.createElement(
2894
2970
  "div",
2895
2971
  {
2896
2972
  key: i,
2897
2973
  className: "hawa-rounded hawa-border hawa-border-gray-200 "
2898
2974
  },
2899
- /* @__PURE__ */ import_react10.default.createElement(
2975
+ /* @__PURE__ */ import_react11.default.createElement(
2900
2976
  "div",
2901
2977
  {
2902
2978
  className: cn(
@@ -2905,7 +2981,7 @@ var Radio = ({
2905
2981
  ),
2906
2982
  key: i + 1
2907
2983
  },
2908
- /* @__PURE__ */ import_react10.default.createElement(
2984
+ /* @__PURE__ */ import_react11.default.createElement(
2909
2985
  "input",
2910
2986
  {
2911
2987
  disabled: opt.disabled,
@@ -2915,7 +2991,7 @@ var Radio = ({
2915
2991
  name: "bordered-radio"
2916
2992
  }
2917
2993
  ),
2918
- /* @__PURE__ */ import_react10.default.createElement(
2994
+ /* @__PURE__ */ import_react11.default.createElement(
2919
2995
  "label",
2920
2996
  {
2921
2997
  htmlFor: opt.value.toString(),
@@ -2929,7 +3005,7 @@ var Radio = ({
2929
3005
  )
2930
3006
  )));
2931
3007
  case "cards":
2932
- return /* @__PURE__ */ import_react10.default.createElement("ul", { className: cn(orientationStyle[orientation], "hawa-gap-4") }, (_c = props.options) == null ? void 0 : _c.map((opt, o) => /* @__PURE__ */ import_react10.default.createElement("li", { key: o }, /* @__PURE__ */ import_react10.default.createElement(
3008
+ return /* @__PURE__ */ import_react11.default.createElement("ul", { className: cn(orientationStyle[orientation], "hawa-gap-4") }, (_c = props.options) == null ? void 0 : _c.map((opt, o) => /* @__PURE__ */ import_react11.default.createElement("li", { key: o }, /* @__PURE__ */ import_react11.default.createElement(
2933
3009
  "input",
2934
3010
  {
2935
3011
  type: "radio",
@@ -2940,7 +3016,7 @@ var Radio = ({
2940
3016
  required: true,
2941
3017
  disabled: opt.disabled
2942
3018
  }
2943
- ), /* @__PURE__ */ import_react10.default.createElement(
3019
+ ), /* @__PURE__ */ import_react11.default.createElement(
2944
3020
  "label",
2945
3021
  {
2946
3022
  htmlFor: opt.value.toString(),
@@ -2949,10 +3025,10 @@ var Radio = ({
2949
3025
  opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hover:hawa-bg-gray-100 hover:hawa-text-gray-600 dark:hover:hawa-bg-gray-700 dark:hover:hawa-text-gray-300"
2950
3026
  )
2951
3027
  },
2952
- /* @__PURE__ */ import_react10.default.createElement("div", { className: "hawa-block hawa-h-full hawa-w-full" }, /* @__PURE__ */ import_react10.default.createElement("div", { className: "hawa-w-full hawa-text-lg hawa-font-semibold" }, opt.label), /* @__PURE__ */ import_react10.default.createElement("div", { className: "hawa-w-full" }, opt.sublabel))
3028
+ /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-block hawa-h-full hawa-w-full" }, /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-w-full hawa-text-lg hawa-font-semibold" }, opt.label), /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-w-full" }, opt.sublabel))
2953
3029
  ))));
2954
3030
  default:
2955
- return /* @__PURE__ */ import_react10.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ import_react10.default.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ import_react10.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-2") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react10.default.createElement(
3031
+ return /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ import_react11.default.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ import_react11.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-2") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react11.default.createElement(
2956
3032
  "div",
2957
3033
  {
2958
3034
  className: cn(
@@ -2961,7 +3037,7 @@ var Radio = ({
2961
3037
  ),
2962
3038
  key: i + 1
2963
3039
  },
2964
- /* @__PURE__ */ import_react10.default.createElement(
3040
+ /* @__PURE__ */ import_react11.default.createElement(
2965
3041
  "input",
2966
3042
  {
2967
3043
  disabled: opt.disabled,
@@ -2979,7 +3055,7 @@ var Radio = ({
2979
3055
  }
2980
3056
  }
2981
3057
  ),
2982
- /* @__PURE__ */ import_react10.default.createElement(
3058
+ /* @__PURE__ */ import_react11.default.createElement(
2983
3059
  "label",
2984
3060
  {
2985
3061
  htmlFor: opt.value.toString(),
@@ -2990,7 +3066,7 @@ var Radio = ({
2990
3066
  },
2991
3067
  opt.label
2992
3068
  )
2993
- ))), /* @__PURE__ */ import_react10.default.createElement(
3069
+ ))), /* @__PURE__ */ import_react11.default.createElement(
2994
3070
  "p",
2995
3071
  {
2996
3072
  className: cn(
@@ -3004,13 +3080,13 @@ var Radio = ({
3004
3080
  };
3005
3081
 
3006
3082
  // components/elements/combobox/Combobox.tsx
3007
- var React26 = __toESM(require("react"));
3083
+ var React27 = __toESM(require("react"));
3008
3084
  var PopoverPrimitive2 = __toESM(require("@radix-ui/react-popover"));
3009
3085
 
3010
3086
  // components/elements/command/Command.tsx
3011
- var React24 = __toESM(require("react"));
3087
+ var React25 = __toESM(require("react"));
3012
3088
  var import_cmdk = require("cmdk");
3013
- var Command = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React24.createElement(
3089
+ var Command = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
3014
3090
  import_cmdk.Command,
3015
3091
  {
3016
3092
  ref,
@@ -3023,15 +3099,15 @@ var Command = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3023
3099
  ));
3024
3100
  Command.displayName = import_cmdk.Command.displayName;
3025
3101
  var CommandDialog = ({ children, ...props }) => {
3026
- return /* @__PURE__ */ React24.createElement(Dialog, { ...props }, /* @__PURE__ */ React24.createElement(DialogContent, { className: "hawa-overflow-hidden hawa-p-0 hawa-shadow-lg" }, /* @__PURE__ */ React24.createElement(Command, { className: "[&_[cmdk-group-heading]]:hawa-px-2 [&_[cmdk-group-heading]]:hawa-font-medium [&_[cmdk-group-heading]]:hawa-text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:hawa-pt-0 [&_[cmdk-group]]:hawa-px-2 [&_[cmdk-input-wrapper]_svg]:hawa-h-5 [&_[cmdk-input-wrapper]_svg]:hawa-w-5 [&_[cmdk-input]]:hawa-h-12 [&_[cmdk-item]]:hawa-px-2 [&_[cmdk-item]]:hawa-py-3 [&_[cmdk-item]_svg]:hawa-h-5 [&_[cmdk-item]_svg]:hawa-w-5" }, children)));
3102
+ return /* @__PURE__ */ React25.createElement(Dialog, { ...props }, /* @__PURE__ */ React25.createElement(DialogContent, { className: "hawa-overflow-hidden hawa-p-0 hawa-shadow-lg" }, /* @__PURE__ */ React25.createElement(Command, { className: "[&_[cmdk-group-heading]]:hawa-px-2 [&_[cmdk-group-heading]]:hawa-font-medium [&_[cmdk-group-heading]]:hawa-text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:hawa-pt-0 [&_[cmdk-group]]:hawa-px-2 [&_[cmdk-input-wrapper]_svg]:hawa-h-5 [&_[cmdk-input-wrapper]_svg]:hawa-w-5 [&_[cmdk-input]]:hawa-h-12 [&_[cmdk-item]]:hawa-px-2 [&_[cmdk-item]]:hawa-py-3 [&_[cmdk-item]_svg]:hawa-h-5 [&_[cmdk-item]_svg]:hawa-w-5" }, children)));
3027
3103
  };
3028
- var CommandInput = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React24.createElement(
3104
+ var CommandInput = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
3029
3105
  "div",
3030
3106
  {
3031
3107
  className: "hawa-flex hawa-items-center hawa-border-b hawa-px-3",
3032
3108
  "cmdk-input-wrapper": ""
3033
3109
  },
3034
- /* @__PURE__ */ React24.createElement(
3110
+ /* @__PURE__ */ React25.createElement(
3035
3111
  "svg",
3036
3112
  {
3037
3113
  "aria-label": "Search Icon",
@@ -3046,10 +3122,10 @@ var CommandInput = React24.forwardRef(({ className, ...props }, ref) => /* @__PU
3046
3122
  strokeLinejoin: "round",
3047
3123
  className: "hawa-icon hawa-mr-2 hawa-shrink-0 hawa-opacity-50"
3048
3124
  },
3049
- /* @__PURE__ */ React24.createElement("circle", { cx: "11", cy: "11", r: "8" }),
3050
- /* @__PURE__ */ React24.createElement("path", { d: "m21 21-4.3-4.3" })
3125
+ /* @__PURE__ */ React25.createElement("circle", { cx: "11", cy: "11", r: "8" }),
3126
+ /* @__PURE__ */ React25.createElement("path", { d: "m21 21-4.3-4.3" })
3051
3127
  ),
3052
- /* @__PURE__ */ React24.createElement(
3128
+ /* @__PURE__ */ React25.createElement(
3053
3129
  import_cmdk.Command.Input,
3054
3130
  {
3055
3131
  ref,
@@ -3062,7 +3138,7 @@ var CommandInput = React24.forwardRef(({ className, ...props }, ref) => /* @__PU
3062
3138
  )
3063
3139
  ));
3064
3140
  CommandInput.displayName = import_cmdk.Command.Input.displayName;
3065
- var CommandList = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React24.createElement(
3141
+ var CommandList = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
3066
3142
  import_cmdk.Command.List,
3067
3143
  {
3068
3144
  ref,
@@ -3074,7 +3150,7 @@ var CommandList = React24.forwardRef(({ className, ...props }, ref) => /* @__PUR
3074
3150
  }
3075
3151
  ));
3076
3152
  CommandList.displayName = import_cmdk.Command.List.displayName;
3077
- var CommandEmpty = React24.forwardRef((props, ref) => /* @__PURE__ */ React24.createElement(
3153
+ var CommandEmpty = React25.forwardRef((props, ref) => /* @__PURE__ */ React25.createElement(
3078
3154
  import_cmdk.Command.Empty,
3079
3155
  {
3080
3156
  ref,
@@ -3083,7 +3159,7 @@ var CommandEmpty = React24.forwardRef((props, ref) => /* @__PURE__ */ React24.cr
3083
3159
  }
3084
3160
  ));
3085
3161
  CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
3086
- var CommandGroup = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React24.createElement(
3162
+ var CommandGroup = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
3087
3163
  import_cmdk.Command.Group,
3088
3164
  {
3089
3165
  ref,
@@ -3095,7 +3171,7 @@ var CommandGroup = React24.forwardRef(({ className, ...props }, ref) => /* @__PU
3095
3171
  }
3096
3172
  ));
3097
3173
  CommandGroup.displayName = import_cmdk.Command.Group.displayName;
3098
- var CommandSeparator = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React24.createElement(
3174
+ var CommandSeparator = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
3099
3175
  import_cmdk.Command.Separator,
3100
3176
  {
3101
3177
  ref,
@@ -3104,7 +3180,7 @@ var CommandSeparator = React24.forwardRef(({ className, ...props }, ref) => /* @
3104
3180
  }
3105
3181
  ));
3106
3182
  CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
3107
- var CommandItem = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React24.createElement(
3183
+ var CommandItem = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
3108
3184
  import_cmdk.Command.Item,
3109
3185
  {
3110
3186
  ref,
@@ -3120,7 +3196,7 @@ var CommandShortcut = ({
3120
3196
  className,
3121
3197
  ...props
3122
3198
  }) => {
3123
- return /* @__PURE__ */ React24.createElement(
3199
+ return /* @__PURE__ */ React25.createElement(
3124
3200
  "span",
3125
3201
  {
3126
3202
  className: cn(
@@ -3134,9 +3210,9 @@ var CommandShortcut = ({
3134
3210
  CommandShortcut.displayName = "CommandShortcut";
3135
3211
 
3136
3212
  // components/elements/popover/Popover.tsx
3137
- var React25 = __toESM(require("react"));
3213
+ var React26 = __toESM(require("react"));
3138
3214
  var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
3139
- var PopoverContent = React25.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React25.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React25.createElement(
3215
+ var PopoverContent = React26.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React26.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React26.createElement(
3140
3216
  PopoverPrimitive.Content,
3141
3217
  {
3142
3218
  ref,
@@ -3168,7 +3244,7 @@ var Popover = ({
3168
3244
  trigger: "var(--radix-popover-trigger-width)",
3169
3245
  default: "auto"
3170
3246
  };
3171
- return /* @__PURE__ */ React25.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React25.createElement(
3247
+ return /* @__PURE__ */ React26.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React26.createElement(
3172
3248
  PopoverPrimitive.Trigger,
3173
3249
  {
3174
3250
  className: "hawa-w-full",
@@ -3176,7 +3252,7 @@ var Popover = ({
3176
3252
  ...triggerProps
3177
3253
  },
3178
3254
  trigger
3179
- ), /* @__PURE__ */ React25.createElement(
3255
+ ), /* @__PURE__ */ React26.createElement(
3180
3256
  PopoverContent,
3181
3257
  {
3182
3258
  side,
@@ -3194,7 +3270,7 @@ var Popover = ({
3194
3270
  var PopoverTrigger = PopoverPrimitive.Trigger;
3195
3271
 
3196
3272
  // components/elements/combobox/Combobox.tsx
3197
- var Combobox = React26.forwardRef(
3273
+ var Combobox = React27.forwardRef(
3198
3274
  ({
3199
3275
  labelKey = "label",
3200
3276
  valueKey = "value",
@@ -3205,8 +3281,8 @@ var Combobox = React26.forwardRef(
3205
3281
  ...props
3206
3282
  }, ref) => {
3207
3283
  var _a, _b, _c;
3208
- const [open, setOpen] = React26.useState(false);
3209
- const [value, setValue] = React26.useState(defaultValue);
3284
+ const [open, setOpen] = React27.useState(false);
3285
+ const [value, setValue] = React27.useState(defaultValue);
3210
3286
  function getProperty(obj, key) {
3211
3287
  return obj[key];
3212
3288
  }
@@ -3215,7 +3291,7 @@ var Combobox = React26.forwardRef(
3215
3291
  setOpen(open2);
3216
3292
  }
3217
3293
  };
3218
- return /* @__PURE__ */ React26.createElement(
3294
+ return /* @__PURE__ */ React27.createElement(
3219
3295
  "div",
3220
3296
  {
3221
3297
  className: cn(
@@ -3223,8 +3299,8 @@ var Combobox = React26.forwardRef(
3223
3299
  props.width === "fit" ? "hawa-w-fit" : "hawa-w-full"
3224
3300
  )
3225
3301
  },
3226
- props.label && /* @__PURE__ */ React26.createElement(Label2, { ...labelProps }, props.label),
3227
- /* @__PURE__ */ React26.createElement(PopoverPrimitive2.Root, { open, onOpenChange: handleOpenChange }, /* @__PURE__ */ React26.createElement(PopoverTrigger, { asChild: true }, props.isLoading ? /* @__PURE__ */ React26.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ React26.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ React26.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-gap-2 " }, /* @__PURE__ */ React26.createElement(
3302
+ props.label && /* @__PURE__ */ React27.createElement(Label2, { ...labelProps }, props.label),
3303
+ /* @__PURE__ */ React27.createElement(PopoverPrimitive2.Root, { open, onOpenChange: handleOpenChange }, /* @__PURE__ */ React27.createElement(PopoverTrigger, { asChild: true }, props.isLoading ? /* @__PURE__ */ React27.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ React27.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ React27.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-gap-2 " }, /* @__PURE__ */ React27.createElement(
3228
3304
  "div",
3229
3305
  {
3230
3306
  className: cn(
@@ -3232,7 +3308,7 @@ var Combobox = React26.forwardRef(
3232
3308
  props.preview ? "hawa-opacity-100" : "hawa-opacity-0"
3233
3309
  )
3234
3310
  }
3235
- ), /* @__PURE__ */ React26.createElement(
3311
+ ), /* @__PURE__ */ React27.createElement(
3236
3312
  "button",
3237
3313
  {
3238
3314
  role: "combobox",
@@ -3246,7 +3322,7 @@ var Combobox = React26.forwardRef(
3246
3322
  data.find((item) => item[valueKey] === value) || {},
3247
3323
  labelKey
3248
3324
  ) : ((_a = props.texts) == null ? void 0 : _a.placeholder) || "...",
3249
- /* @__PURE__ */ React26.createElement(
3325
+ /* @__PURE__ */ React27.createElement(
3250
3326
  "svg",
3251
3327
  {
3252
3328
  xmlns: "http://www.w3.org/2000/svg",
@@ -3262,9 +3338,9 @@ var Combobox = React26.forwardRef(
3262
3338
  strokeLinecap: "round",
3263
3339
  strokeLinejoin: "round"
3264
3340
  },
3265
- /* @__PURE__ */ React26.createElement("path", { d: "m6 9 6 6 6-6" })
3341
+ /* @__PURE__ */ React27.createElement("path", { d: "m6 9 6 6 6-6" })
3266
3342
  )
3267
- ), /* @__PURE__ */ React26.createElement(
3343
+ ), /* @__PURE__ */ React27.createElement(
3268
3344
  "p",
3269
3345
  {
3270
3346
  className: cn(
@@ -3273,17 +3349,17 @@ var Combobox = React26.forwardRef(
3273
3349
  )
3274
3350
  },
3275
3351
  props.helperText
3276
- ))), /* @__PURE__ */ React26.createElement(
3352
+ ))), /* @__PURE__ */ React27.createElement(
3277
3353
  PopoverContent,
3278
3354
  {
3279
3355
  className: cn("popover-w-parent", props.helperText && "-hawa-mt-4")
3280
3356
  },
3281
- /* @__PURE__ */ React26.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React26.createElement(
3357
+ /* @__PURE__ */ React27.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React27.createElement(
3282
3358
  CommandInput,
3283
3359
  {
3284
3360
  placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
3285
3361
  }
3286
- ), /* @__PURE__ */ React26.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."), /* @__PURE__ */ React26.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-auto" }, data.map((item, i) => /* @__PURE__ */ React26.createElement(
3362
+ ), /* @__PURE__ */ React27.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."), /* @__PURE__ */ React27.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-auto" }, data.map((item, i) => /* @__PURE__ */ React27.createElement(
3287
3363
  CommandItem,
3288
3364
  {
3289
3365
  key: i,
@@ -3298,7 +3374,7 @@ var Combobox = React26.forwardRef(
3298
3374
  setOpen(false);
3299
3375
  }
3300
3376
  },
3301
- /* @__PURE__ */ React26.createElement(
3377
+ /* @__PURE__ */ React27.createElement(
3302
3378
  "svg",
3303
3379
  {
3304
3380
  "aria-label": "Check Icon",
@@ -3316,7 +3392,7 @@ var Combobox = React26.forwardRef(
3316
3392
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
3317
3393
  )
3318
3394
  },
3319
- /* @__PURE__ */ React26.createElement("polyline", { points: "20 6 9 17 4 12" })
3395
+ /* @__PURE__ */ React27.createElement("polyline", { points: "20 6 9 17 4 12" })
3320
3396
  ),
3321
3397
  getProperty(item, labelKey)
3322
3398
  ))))
@@ -3326,8 +3402,8 @@ var Combobox = React26.forwardRef(
3326
3402
  );
3327
3403
 
3328
3404
  // components/elements/textarea/Textarea.tsx
3329
- var React27 = __toESM(require("react"));
3330
- var Textarea = React27.forwardRef(
3405
+ var React28 = __toESM(require("react"));
3406
+ var Textarea = React28.forwardRef(
3331
3407
  ({
3332
3408
  className,
3333
3409
  labelProps,
@@ -3337,7 +3413,7 @@ var Textarea = React27.forwardRef(
3337
3413
  countPosition = "bottom",
3338
3414
  ...props
3339
3415
  }, ref) => {
3340
- return /* @__PURE__ */ React27.createElement("div", { className: "hawa-relative hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React27.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ React27.createElement(
3416
+ return /* @__PURE__ */ React28.createElement("div", { className: "hawa-relative hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React28.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ React28.createElement(
3341
3417
  "textarea",
3342
3418
  {
3343
3419
  className: cn(
@@ -3347,7 +3423,7 @@ var Textarea = React27.forwardRef(
3347
3423
  ref,
3348
3424
  ...textareaProps
3349
3425
  }
3350
- ), /* @__PURE__ */ React27.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, !forceHideHelperText && /* @__PURE__ */ React27.createElement(
3426
+ ), /* @__PURE__ */ React28.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, !forceHideHelperText && /* @__PURE__ */ React28.createElement(
3351
3427
  "p",
3352
3428
  {
3353
3429
  className: cn(
@@ -3356,7 +3432,7 @@ var Textarea = React27.forwardRef(
3356
3432
  )
3357
3433
  },
3358
3434
  props.helperText
3359
- ), showCount && /* @__PURE__ */ React27.createElement(
3435
+ ), showCount && /* @__PURE__ */ React28.createElement(
3360
3436
  "div",
3361
3437
  {
3362
3438
  className: cn(
@@ -3375,7 +3451,7 @@ var Textarea = React27.forwardRef(
3375
3451
  Textarea.displayName = "Textarea";
3376
3452
 
3377
3453
  // components/elements/fileDropzone/FileDropzone.tsx
3378
- var import_react11 = __toESM(require("react"));
3454
+ var import_react12 = __toESM(require("react"));
3379
3455
  var import_react_dropzone = require("react-dropzone");
3380
3456
  var import_clsx2 = __toESM(require("clsx"));
3381
3457
  var FileDropzone = ({
@@ -3397,8 +3473,8 @@ var FileDropzone = ({
3397
3473
  privacyLink
3398
3474
  }) => {
3399
3475
  var _a, _b, _c, _d, _e, _f;
3400
- const [cmp, setCmp] = (0, import_react11.useState)(0);
3401
- const [max, setMax] = (0, import_react11.useState)(0);
3476
+ const [cmp, setCmp] = (0, import_react12.useState)(0);
3477
+ const [max, setMax] = (0, import_react12.useState)(0);
3402
3478
  const {
3403
3479
  getRootProps,
3404
3480
  getInputProps,
@@ -3420,7 +3496,7 @@ var FileDropzone = ({
3420
3496
  );
3421
3497
  }
3422
3498
  });
3423
- (0, import_react11.useEffect)(
3499
+ (0, import_react12.useEffect)(
3424
3500
  () => () => {
3425
3501
  files == null ? void 0 : files.forEach((file) => {
3426
3502
  URL.revokeObjectURL(file.preview);
@@ -3428,7 +3504,7 @@ var FileDropzone = ({
3428
3504
  },
3429
3505
  [files]
3430
3506
  );
3431
- (0, import_react11.useEffect)(() => {
3507
+ (0, import_react12.useEffect)(() => {
3432
3508
  setFiles(acceptedFiles);
3433
3509
  }, [acceptedFiles, cmp, setFiles]);
3434
3510
  onClearFiles = () => {
@@ -3440,7 +3516,7 @@ var FileDropzone = ({
3440
3516
  acceptedFiles.length = 0;
3441
3517
  setFiles([]);
3442
3518
  };
3443
- (0, import_react11.useEffect)(() => {
3519
+ (0, import_react12.useEffect)(() => {
3444
3520
  if (maxSize > 0) {
3445
3521
  const k = 1024;
3446
3522
  const sizes = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
@@ -3453,7 +3529,7 @@ var FileDropzone = ({
3453
3529
  const errs = fileRejections.map((rej, i) => {
3454
3530
  switch (rej.errors[0].code) {
3455
3531
  case "file-too-large":
3456
- return /* @__PURE__ */ import_react11.default.createElement(
3532
+ return /* @__PURE__ */ import_react12.default.createElement(
3457
3533
  Alert,
3458
3534
  {
3459
3535
  key: i,
@@ -3463,7 +3539,7 @@ var FileDropzone = ({
3463
3539
  }
3464
3540
  );
3465
3541
  case "too-many-files":
3466
- return /* @__PURE__ */ import_react11.default.createElement(
3542
+ return /* @__PURE__ */ import_react12.default.createElement(
3467
3543
  Alert,
3468
3544
  {
3469
3545
  key: i,
@@ -3473,7 +3549,7 @@ var FileDropzone = ({
3473
3549
  }
3474
3550
  );
3475
3551
  case "file-invalid-type":
3476
- return /* @__PURE__ */ import_react11.default.createElement(
3552
+ return /* @__PURE__ */ import_react12.default.createElement(
3477
3553
  Alert,
3478
3554
  {
3479
3555
  key: i,
@@ -3483,7 +3559,7 @@ var FileDropzone = ({
3483
3559
  }
3484
3560
  );
3485
3561
  default:
3486
- return /* @__PURE__ */ import_react11.default.createElement(
3562
+ return /* @__PURE__ */ import_react12.default.createElement(
3487
3563
  Alert,
3488
3564
  {
3489
3565
  key: i,
@@ -3494,7 +3570,7 @@ var FileDropzone = ({
3494
3570
  );
3495
3571
  }
3496
3572
  });
3497
- const thumbs = files == null ? void 0 : files.map((file, index) => /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-relative hawa-rounded", key: index }, /* @__PURE__ */ import_react11.default.createElement(
3573
+ const thumbs = files == null ? void 0 : files.map((file, index) => /* @__PURE__ */ import_react12.default.createElement("div", { className: "hawa-relative hawa-rounded", key: index }, /* @__PURE__ */ import_react12.default.createElement(
3498
3574
  "button",
3499
3575
  {
3500
3576
  onClick: (e) => {
@@ -3507,7 +3583,7 @@ var FileDropzone = ({
3507
3583
  className: "hawa-absolute hawa-left-0 hawa-ml-auto hawa-inline-flex hawa-items-center hawa-rounded-inner hawa-rounded-bl-none hawa-rounded-tr-none hawa-bg-gray-900 hawa-p-1.5 hawa-text-sm hawa-text-gray-400 hawa-transition-all hover:hawa-bg-gray-200 hover:hawa-text-gray-900 dark:hover:hawa-bg-gray-600 dark:hover:hawa-text-white",
3508
3584
  "data-modal-toggle": "defaultModal"
3509
3585
  },
3510
- /* @__PURE__ */ import_react11.default.createElement(
3586
+ /* @__PURE__ */ import_react12.default.createElement(
3511
3587
  "svg",
3512
3588
  {
3513
3589
  "aria-hidden": "true",
@@ -3515,7 +3591,7 @@ var FileDropzone = ({
3515
3591
  fill: "currentColor",
3516
3592
  viewBox: "0 0 20 20"
3517
3593
  },
3518
- /* @__PURE__ */ import_react11.default.createElement(
3594
+ /* @__PURE__ */ import_react12.default.createElement(
3519
3595
  "path",
3520
3596
  {
3521
3597
  fillRule: "evenodd",
@@ -3524,8 +3600,8 @@ var FileDropzone = ({
3524
3600
  }
3525
3601
  )
3526
3602
  ),
3527
- /* @__PURE__ */ import_react11.default.createElement("span", { className: "hawa-sr-only" }, "Close modal")
3528
- ), /* @__PURE__ */ import_react11.default.createElement(
3603
+ /* @__PURE__ */ import_react12.default.createElement("span", { className: "hawa-sr-only" }, "Close modal")
3604
+ ), /* @__PURE__ */ import_react12.default.createElement(
3529
3605
  "div",
3530
3606
  {
3531
3607
  style: {
@@ -3544,7 +3620,7 @@ var FileDropzone = ({
3544
3620
  key: file.name
3545
3621
  }
3546
3622
  )));
3547
- return /* @__PURE__ */ import_react11.default.createElement("div", null, label && /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-mb-2 hawa-block hawa-text-sm hawa-font-medium hawa-text-gray-900 dark:hawa-text-gray-300" }, label), /* @__PURE__ */ import_react11.default.createElement(
3623
+ return /* @__PURE__ */ import_react12.default.createElement("div", null, label && /* @__PURE__ */ import_react12.default.createElement("div", { className: "hawa-mb-2 hawa-block hawa-text-sm hawa-font-medium hawa-text-gray-900 dark:hawa-text-gray-300" }, label), /* @__PURE__ */ import_react12.default.createElement(
3548
3624
  "div",
3549
3625
  {
3550
3626
  className: (0, import_clsx2.default)(
@@ -3552,7 +3628,7 @@ var FileDropzone = ({
3552
3628
  isDragActive ? "hawa-bg-muted" : "hawa-bg-muted/20 hover:hawa-bg-muted/50 "
3553
3629
  )
3554
3630
  },
3555
- /* @__PURE__ */ import_react11.default.createElement("div", { ...getRootProps({}) }, /* @__PURE__ */ import_react11.default.createElement("p", { ...getInputProps() }), /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-pt-4 hawa-text-center" }, /* @__PURE__ */ import_react11.default.createElement(
3631
+ /* @__PURE__ */ import_react12.default.createElement("div", { ...getRootProps({}) }, /* @__PURE__ */ import_react12.default.createElement("p", { ...getInputProps() }), /* @__PURE__ */ import_react12.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-pt-4 hawa-text-center" }, /* @__PURE__ */ import_react12.default.createElement(
3556
3632
  "svg",
3557
3633
  {
3558
3634
  stroke: "currentColor",
@@ -3564,28 +3640,28 @@ var FileDropzone = ({
3564
3640
  height: "1.5em",
3565
3641
  width: "1.5em"
3566
3642
  },
3567
- /* @__PURE__ */ import_react11.default.createElement("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
3568
- /* @__PURE__ */ import_react11.default.createElement("path", { d: "M19 11v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2" }),
3569
- /* @__PURE__ */ import_react11.default.createElement("path", { d: "M13 13l9 3l-4 2l-2 4l-3 -9" }),
3570
- /* @__PURE__ */ import_react11.default.createElement("path", { d: "M3 3l0 .01" }),
3571
- /* @__PURE__ */ import_react11.default.createElement("path", { d: "M7 3l0 .01" }),
3572
- /* @__PURE__ */ import_react11.default.createElement("path", { d: "M11 3l0 .01" }),
3573
- /* @__PURE__ */ import_react11.default.createElement("path", { d: "M15 3l0 .01" }),
3574
- /* @__PURE__ */ import_react11.default.createElement("path", { d: "M3 7l0 .01" }),
3575
- /* @__PURE__ */ import_react11.default.createElement("path", { d: "M3 11l0 .01" }),
3576
- /* @__PURE__ */ import_react11.default.createElement("path", { d: "M3 15l0 .01" })
3577
- ), typeof texts.clickHereToUpload === "function" ? texts.clickHereToUpload() : texts.clickHereToUpload), /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-select-none hawa-pt-2 hawa-text-center hawa-text-xs" }, texts.acceptedFileTypes, " ", accept.split(",")), /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-select-none hawa-pb-2 hawa-pt-1 hawa-text-center hawa-text-xs" }, texts.maxFileSize, " ", max)),
3578
- acceptedFiles.length > 0 && /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-flex hawa-justify-center hawa-rounded-lg hawa-p-2 " }, /* @__PURE__ */ import_react11.default.createElement(Button, { onClick: clearAllFiles }, "Clear All")),
3579
- acceptedFiles.length > 0 && thumbs && showPreview ? /* @__PURE__ */ import_react11.default.createElement("aside", { className: "hawa-flex hawa-flex-row hawa-flex-wrap hawa-justify-center hawa-gap-2 hawa-rounded-lg hawa-p-2" }, thumbs) : null,
3580
- /* @__PURE__ */ import_react11.default.createElement("div", { className: "px-4" }, ((_b = (_a = fileRejections[0]) == null ? void 0 : _a.errors[0]) == null ? void 0 : _b.code) && errs)
3581
- ), disclaimer && /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-mt-2 hawa-text-sm hawa-text-muted-foreground/50" }, (_c = texts.disclaimer) != null ? _c : "By uploading a file you agree to our", " ", /* @__PURE__ */ import_react11.default.createElement(
3643
+ /* @__PURE__ */ import_react12.default.createElement("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
3644
+ /* @__PURE__ */ import_react12.default.createElement("path", { d: "M19 11v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2" }),
3645
+ /* @__PURE__ */ import_react12.default.createElement("path", { d: "M13 13l9 3l-4 2l-2 4l-3 -9" }),
3646
+ /* @__PURE__ */ import_react12.default.createElement("path", { d: "M3 3l0 .01" }),
3647
+ /* @__PURE__ */ import_react12.default.createElement("path", { d: "M7 3l0 .01" }),
3648
+ /* @__PURE__ */ import_react12.default.createElement("path", { d: "M11 3l0 .01" }),
3649
+ /* @__PURE__ */ import_react12.default.createElement("path", { d: "M15 3l0 .01" }),
3650
+ /* @__PURE__ */ import_react12.default.createElement("path", { d: "M3 7l0 .01" }),
3651
+ /* @__PURE__ */ import_react12.default.createElement("path", { d: "M3 11l0 .01" }),
3652
+ /* @__PURE__ */ import_react12.default.createElement("path", { d: "M3 15l0 .01" })
3653
+ ), typeof texts.clickHereToUpload === "function" ? texts.clickHereToUpload() : texts.clickHereToUpload), /* @__PURE__ */ import_react12.default.createElement("div", { className: "hawa-select-none hawa-pt-2 hawa-text-center hawa-text-xs" }, texts.acceptedFileTypes, " ", accept.split(",")), /* @__PURE__ */ import_react12.default.createElement("div", { className: "hawa-select-none hawa-pb-2 hawa-pt-1 hawa-text-center hawa-text-xs" }, texts.maxFileSize, " ", max)),
3654
+ acceptedFiles.length > 0 && /* @__PURE__ */ import_react12.default.createElement("div", { className: "hawa-flex hawa-justify-center hawa-rounded-lg hawa-p-2 " }, /* @__PURE__ */ import_react12.default.createElement(Button, { onClick: clearAllFiles }, "Clear All")),
3655
+ acceptedFiles.length > 0 && thumbs && showPreview ? /* @__PURE__ */ import_react12.default.createElement("aside", { className: "hawa-flex hawa-flex-row hawa-flex-wrap hawa-justify-center hawa-gap-2 hawa-rounded-lg hawa-p-2" }, thumbs) : null,
3656
+ /* @__PURE__ */ import_react12.default.createElement("div", { className: "px-4" }, ((_b = (_a = fileRejections[0]) == null ? void 0 : _a.errors[0]) == null ? void 0 : _b.code) && errs)
3657
+ ), disclaimer && /* @__PURE__ */ import_react12.default.createElement("div", { className: "hawa-mt-2 hawa-text-sm hawa-text-muted-foreground/50" }, (_c = texts.disclaimer) != null ? _c : "By uploading a file you agree to our", " ", /* @__PURE__ */ import_react12.default.createElement(
3582
3658
  "a",
3583
3659
  {
3584
3660
  href: termsLink,
3585
3661
  className: "clickable-link hawa-text-muted-foreground/50"
3586
3662
  },
3587
3663
  (_d = texts.terms) != null ? _d : "Terms"
3588
- ), " ", (_e = texts.and) != null ? _e : "and", " ", /* @__PURE__ */ import_react11.default.createElement(
3664
+ ), " ", (_e = texts.and) != null ? _e : "and", " ", /* @__PURE__ */ import_react12.default.createElement(
3589
3665
  "a",
3590
3666
  {
3591
3667
  href: privacyLink,
@@ -3596,9 +3672,9 @@ var FileDropzone = ({
3596
3672
  };
3597
3673
 
3598
3674
  // components/elements/sortButton/SortButton.tsx
3599
- var import_react12 = __toESM(require("react"));
3675
+ var import_react13 = __toESM(require("react"));
3600
3676
  var SortButton = (props) => {
3601
- return /* @__PURE__ */ import_react12.default.createElement(
3677
+ return /* @__PURE__ */ import_react13.default.createElement(
3602
3678
  Button,
3603
3679
  {
3604
3680
  variant: "ghost",
@@ -3610,7 +3686,7 @@ var SortButton = (props) => {
3610
3686
  onClick: props.onSort
3611
3687
  },
3612
3688
  props.label,
3613
- /* @__PURE__ */ import_react12.default.createElement(
3689
+ /* @__PURE__ */ import_react13.default.createElement(
3614
3690
  "svg",
3615
3691
  {
3616
3692
  xmlns: "http://www.w3.org/2000/svg",
@@ -3622,10 +3698,10 @@ var SortButton = (props) => {
3622
3698
  strokeLinejoin: "round",
3623
3699
  className: props.condensed ? "hawa-h-3 hawa-w-3" : "hawa-icon"
3624
3700
  },
3625
- /* @__PURE__ */ import_react12.default.createElement("path", { d: "m21 16-4 4-4-4" }),
3626
- /* @__PURE__ */ import_react12.default.createElement("path", { d: "M17 20V4" }),
3627
- /* @__PURE__ */ import_react12.default.createElement("path", { d: "m3 8 4-4 4 4" }),
3628
- /* @__PURE__ */ import_react12.default.createElement("path", { d: "M7 4v16" })
3701
+ /* @__PURE__ */ import_react13.default.createElement("path", { d: "m21 16-4 4-4-4" }),
3702
+ /* @__PURE__ */ import_react13.default.createElement("path", { d: "M17 20V4" }),
3703
+ /* @__PURE__ */ import_react13.default.createElement("path", { d: "m3 8 4-4 4 4" }),
3704
+ /* @__PURE__ */ import_react13.default.createElement("path", { d: "M7 4v16" })
3629
3705
  )
3630
3706
  );
3631
3707
  };
@@ -3633,89 +3709,6 @@ var SortButton = (props) => {
3633
3709
  // components/elements/tabs/Tabs.tsx
3634
3710
  var React31 = __toESM(require("react"));
3635
3711
  var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"));
3636
-
3637
- // components/elements/Chip.tsx
3638
- var import_react13 = __toESM(require("react"));
3639
- var Chip = import_react13.default.forwardRef(
3640
- ({
3641
- label,
3642
- size = "normal",
3643
- icon,
3644
- color,
3645
- radius = "inherit",
3646
- dotType,
3647
- ...rest
3648
- }, ref) => {
3649
- let defaultStyles = "hawa-flex hawa-flex-row hawa-w-fit hawa-gap-1 hawa-items-center hawa-px-2.5 hawa-py-1 hawa-font-bold ";
3650
- let radiusStyles = {
3651
- inherit: " hawa-rounded",
3652
- full: "hawa-rounded-full",
3653
- none: "hawa-rounded-none"
3654
- };
3655
- let sizeStyles = {
3656
- small: "hawa-h-[15px] hawa-leading-4 hawa-px-0 hawa-py-0 hawa-text-[9px] hawa-gap-0.5 ",
3657
- normal: "hawa-h-fit hawa-text-xs",
3658
- large: "hawa-text-base"
3659
- };
3660
- let dotStyles = {
3661
- small: "hawa-flex hawa-h-1 hawa-w-1 hawa-rounded-full",
3662
- normal: "hawa-flex hawa-h-2 hawa-w-2 hawa-rounded-full",
3663
- large: "hawa-flex hawa-h-3 hawa-w-3 hawa-rounded-full"
3664
- };
3665
- let dotTypeStyles = {
3666
- available: "hawa-bg-green-500",
3667
- unavailable: "hawa-bg-red-500"
3668
- };
3669
- let colorStyles = {
3670
- green: "hawa-bg-green-100 hawa-text-green-500 dark:hawa-bg-green-400 dark:hawa-text-green-800",
3671
- blue: "hawa-bg-blue-100 hawa-text-blue-500 dark:hawa-bg-blue-400 dark:hawa-text-blue-100",
3672
- red: "hawa-bg-red-100 hawa-text-red-500 dark:hawa-bg-red-400 dark:hawa-text-red-100",
3673
- yellow: "hawa-bg-yellow-100 hawa-text-yellow-600 dark:hawa-bg-yellow-400 dark:hawa-text-yellow-800",
3674
- orange: "hawa-bg-orange-100 hawa-text-orange-500 dark:hawa-bg-orange-400 dark:hawa-text-orange-100",
3675
- purple: "hawa-bg-purple-100 hawa-text-purple-500 dark:hawa-bg-purple-400 dark:hawa-text-purple-100",
3676
- cyan: "hawa-bg-cyan-100 hawa-text-cyan-800 dark:hawa-bg-cyan-400 dark:hawa-text-cyan-800",
3677
- hyper: "hawa-text-white hawa-bg-gradient-to-tl hawa-from-pink-500 hawa-via-red-500 hawa-to-yellow-500 ",
3678
- oceanic: "hawa-text-white hawa-bg-gradient-to-bl hawa-from-green-300 hawa-via-blue-500 hawa-to-purple-600"
3679
- };
3680
- if (label) {
3681
- return /* @__PURE__ */ import_react13.default.createElement(
3682
- "span",
3683
- {
3684
- ...rest,
3685
- ref,
3686
- className: cn(
3687
- defaultStyles,
3688
- sizeStyles[size],
3689
- radiusStyles[radius],
3690
- color ? colorStyles[color] : "hawa-border hawa-bg-none"
3691
- )
3692
- },
3693
- dotType && /* @__PURE__ */ import_react13.default.createElement(
3694
- "span",
3695
- {
3696
- className: cn(dotStyles[size], dotTypeStyles[dotType])
3697
- }
3698
- ),
3699
- icon && icon,
3700
- label
3701
- );
3702
- } else {
3703
- return /* @__PURE__ */ import_react13.default.createElement(
3704
- "span",
3705
- {
3706
- ...rest,
3707
- ref,
3708
- className: cn(
3709
- "hawa-h-2 hawa-w-2 hawa-rounded-full",
3710
- color ? colorStyles[color] : "hawa-border hawa-bg-none"
3711
- )
3712
- }
3713
- );
3714
- }
3715
- }
3716
- );
3717
-
3718
- // components/elements/tabs/Tabs.tsx
3719
3712
  var TabsContext = React31.createContext({ orientation: "vertical" });
3720
3713
  var Tabs = React31.forwardRef(({ className, orientation, ...props }, ref) => /* @__PURE__ */ React31.createElement(
3721
3714
  TabsPrimitive.Root,
@@ -4143,426 +4136,168 @@ var CheckboxElement = React34.forwardRef(({ radius = "inherit", size = "default"
4143
4136
  });
4144
4137
  CheckboxElement.displayName = CheckboxPrimitive.Root.displayName;
4145
4138
 
4146
- // components/elements/cards/ActionCard.tsx
4139
+ // components/elements/progress/Progress.tsx
4140
+ var React35 = __toESM(require("react"));
4141
+ var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"));
4142
+ var Progress = React35.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ React35.createElement(
4143
+ ProgressPrimitive.Root,
4144
+ {
4145
+ ref,
4146
+ className: cn(
4147
+ "hawa-relative hawa-h-4 hawa-w-full hawa-overflow-hidden hawa-rounded hawa-bg-secondary",
4148
+ className
4149
+ ),
4150
+ ...props
4151
+ },
4152
+ /* @__PURE__ */ React35.createElement(
4153
+ ProgressPrimitive.Indicator,
4154
+ {
4155
+ className: "hawa-h-full hawa-w-full hawa-flex-1 hawa-bg-primary hawa-transition-all",
4156
+ style: { transform: `translateX(-${100 - (value || 0)}%)` }
4157
+ }
4158
+ )
4159
+ ));
4160
+ Progress.displayName = ProgressPrimitive.Root.displayName;
4161
+
4162
+ // components/elements/breadcrumb/Breadcrumb.tsx
4147
4163
  var import_react15 = __toESM(require("react"));
4148
- var ActionCard = (props) => {
4149
- const [hovered, setHovered] = (0, import_react15.useState)(false);
4150
- return /* @__PURE__ */ import_react15.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-gap-1" }, /* @__PURE__ */ import_react15.default.createElement(
4164
+ var Breadcrumb = ({
4165
+ breadcrumbLinks,
4166
+ separator = ">"
4167
+ }) => {
4168
+ return /* @__PURE__ */ import_react15.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm" }, breadcrumbLinks.map((singleBreadcrumbLink, index) => /* @__PURE__ */ import_react15.default.createElement(
4151
4169
  "div",
4152
4170
  {
4153
- className: "hawa-group hawa-relative hawa-h-full hawa-w-full hawa-rounded hawa-border hawa-bg-background hawa-bg-cover hawa-bg-center hawa-transition-all hawa-duration-500 hover:hawa-drop-shadow-2xl",
4154
- style: {
4155
- backgroundImage: `url(${props.blank ? "" : props.cardImage})`
4156
- },
4157
- onMouseEnter: () => setHovered(true),
4158
- onMouseLeave: () => setHovered(false)
4171
+ key: index,
4172
+ className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2"
4159
4173
  },
4160
- props.blank ? /* @__PURE__ */ import_react15.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center " }, /* @__PURE__ */ import_react15.default.createElement(
4161
- "svg",
4174
+ /* @__PURE__ */ import_react15.default.createElement(
4175
+ "a",
4162
4176
  {
4163
- className: "hawa-h-10 hawa-w-10 hawa-text-foreground",
4164
- stroke: "currentColor",
4165
- fill: "currentColor",
4166
- strokeWidth: "0",
4167
- viewBox: "0 0 24 24",
4168
- height: "1em",
4169
- width: "1em",
4170
- xmlns: "http://www.w3.org/2000/svg"
4177
+ href: singleBreadcrumbLink.href,
4178
+ className: index + 1 === breadcrumbLinks.length ? "hawa-pointer-events-none" : "hawa-underline-offset-4 hawa-transition-all hover:hawa-text-primary hover:hawa-underline hover:hawa-decoration-2"
4171
4179
  },
4172
- /* @__PURE__ */ import_react15.default.createElement("path", { d: "M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z" })
4173
- )) : /* @__PURE__ */ import_react15.default.createElement("div", { className: "hawa-absolute hawa-inset-0 hawa-rounded hawa-bg-black hawa-opacity-50" }),
4174
- /* @__PURE__ */ import_react15.default.createElement("div", { className: "hawa-absolute hawa-bottom-2 hawa-right-2 hawa-z-10 hawa-opacity-0 hawa-transition-all hawa-duration-200 group-hover:hawa-opacity-100" }, props.inCardActions),
4175
- !props.blank && /* @__PURE__ */ import_react15.default.createElement("div", { className: "hawa-relative hawa-p-4" }, /* @__PURE__ */ import_react15.default.createElement("h1", { className: "hawa-text-white" }, props.title), /* @__PURE__ */ import_react15.default.createElement("p", { className: "hawa-text-white" }, props.subtitle))
4176
- ), /* @__PURE__ */ import_react15.default.createElement(
4177
- "div",
4178
- {
4179
- className: `hawa-flex hawa-flex-row hawa-justify-between hawa-text-sm hawa-transition-all hawa-duration-200 ${hovered ? "hawa-opacity-100" : "hawa-opacity-0"}`
4180
- },
4181
- props.bottomElement
4182
- ));
4180
+ singleBreadcrumbLink.label
4181
+ ),
4182
+ index != breadcrumbLinks.length - 1 ? typeof separator == "string" ? /* @__PURE__ */ import_react15.default.createElement("div", null, separator) : /* @__PURE__ */ import_react15.default.createElement("div", null, separator) : null
4183
+ )));
4183
4184
  };
4184
4185
 
4185
- // components/elements/cards/AdCard.tsx
4186
+ // components/elements/appStores/AppStores.tsx
4186
4187
  var import_react16 = __toESM(require("react"));
4187
- var AdCard = ({
4188
- orientation = "vertical",
4189
- ...props
4190
- }) => {
4191
- const adRef = (0, import_react16.useRef)(null);
4192
- const [closed, setClosed] = (0, import_react16.useState)(false);
4193
- let duration = 0;
4194
- (0, import_react16.useEffect)(() => {
4195
- if (duration) {
4196
- const timeoutHide = setTimeout(() => {
4197
- setClosed(true);
4198
- }, duration);
4199
- const timeoutDestroy = setTimeout(() => {
4200
- setClosed(true);
4201
- if (adRef.current) {
4202
- adRef.current.removeChild(adRef.current.children[0]);
4203
- }
4204
- }, duration + 1e3);
4205
- return () => {
4206
- clearTimeout(timeoutHide);
4207
- clearTimeout(timeoutDestroy);
4208
- };
4188
+ var AppStores = (props) => {
4189
+ return /* @__PURE__ */ import_react16.default.createElement("div", { className: "hawa-flex hawa-justify-center" }, /* @__PURE__ */ import_react16.default.createElement("div", null, props.store === "apple" ? /* @__PURE__ */ import_react16.default.createElement("div", { className: "hawa-mt-3 hawa-flex hawa-h-14 hawa-w-48 hawa-items-center hawa-justify-center hawa-rounded-lg hawa-bg-black hawa-text-white dark:hawa-bg-white dark:hawa-text-black" }, /* @__PURE__ */ import_react16.default.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ import_react16.default.createElement("svg", { viewBox: "0 0 384 512", width: "30" }, /* @__PURE__ */ import_react16.default.createElement(
4190
+ "path",
4191
+ {
4192
+ fill: "currentColor",
4193
+ d: "M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"
4209
4194
  }
4210
- }, [duration]);
4211
- let cardStyles = {
4212
- horizontal: "hawa-flex hawa-flex-row hawa-max-w-xl hawa-rounded hawa-border hawa-bg-card hawa-p-2 hawa-gap-2 hawa-items-center hawa-relative ",
4213
- vertical: "hawa-flex hawa-flex-col hawa-max-w-[200px] hawa-justify-start hawa-rounded hawa-border hawa-bg-card hawa-gap-2 hawa-p-2 hawa-relative"
4214
- };
4215
- let imageStyles = {
4216
- horizontal: "hawa-w-auto hawa-h-full hawa-bg-blue-500 hawa-rounded-inner",
4217
- vertical: "hawa-bg-blue-500 hawa-rounded-inner hawa-w-auto "
4218
- };
4219
- return /* @__PURE__ */ import_react16.default.createElement("div", { ref: adRef }, /* @__PURE__ */ import_react16.default.createElement(
4220
- "div",
4195
+ ))), /* @__PURE__ */ import_react16.default.createElement("div", null, /* @__PURE__ */ import_react16.default.createElement("div", { className: "hawa-text-xs" }, "Download on the"), /* @__PURE__ */ import_react16.default.createElement("div", { className: "hawa--mt-1 hawa-font-sans hawa-text-2xl hawa-font-semibold" }, "App Store"))) : /* @__PURE__ */ import_react16.default.createElement("div", { className: "hawa-mt-3 hawa-flex hawa-h-14 hawa-w-48 hawa-items-center hawa-justify-center hawa-rounded-lg hawa-border hawa-border-black hawa-bg-black hawa-text-white dark:hawa-bg-white dark:hawa-text-black" }, /* @__PURE__ */ import_react16.default.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ import_react16.default.createElement("svg", { viewBox: "30 336.7 120.9 129.2", width: "30" }, /* @__PURE__ */ import_react16.default.createElement(
4196
+ "path",
4221
4197
  {
4222
- className: cn(cardStyles[orientation], props.className),
4223
- onClick: props.handleClick
4224
- },
4225
- /* @__PURE__ */ import_react16.default.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full hawa-max-w-fit hawa-items-start " }, /* @__PURE__ */ import_react16.default.createElement(
4226
- "img",
4227
- {
4228
- src: props.imageURL ? props.imageURL : "https://via.placeholder.com/50",
4229
- className: imageStyles[orientation]
4230
- }
4231
- )),
4232
- /* @__PURE__ */ import_react16.default.createElement("div", { className: "hawa-w-full hawa-text-xs" }, /* @__PURE__ */ import_react16.default.createElement("div", { className: "hawa-font-bold" }, props.title), /* @__PURE__ */ import_react16.default.createElement("div", { className: "hawa-text-[12px]" }, props.description)),
4233
- props.canHide && /* @__PURE__ */ import_react16.default.createElement(
4234
- "span",
4235
- {
4236
- onClick: (e) => {
4237
- e.stopPropagation();
4238
- if (props.canHide) {
4239
- setClosed(true);
4240
- setTimeout(() => {
4241
- if (adRef.current) {
4242
- adRef.current.removeChild(adRef.current.children[0]);
4243
- }
4244
- }, 200);
4245
- } else {
4246
- if (props.handleCantHide) {
4247
- props.handleCantHide();
4248
- }
4249
- }
4250
- },
4251
- className: "hawa-absolute hawa-right-0 hawa-top-0 hawa-h-fit hawa-cursor-pointer hawa-select-none hawa-rounded-bl-lg hawa-rounded-tr-lg hawa-bg-primary/50 hawa-px-2.5 hawa-py-0.5 hawa-text-[10px] hawa-font-semibold hawa-text-primary-foreground"
4252
- },
4253
- "Hide"
4254
- )
4255
- ));
4256
- };
4257
-
4258
- // components/elements/cards/PricingCard.tsx
4259
- var import_react17 = __toESM(require("react"));
4260
- var PricingCard = ({
4261
- size = "medium",
4262
- direction = "ltr",
4263
- endButton = true,
4264
- recommended,
4265
- currentPlan = false,
4266
- ...props
4267
- }) => {
4268
- var _a, _b, _c, _d, _e, _f, _g, _h, _i;
4269
- let cardSizes = {
4270
- small: "hawa-w-full hawa-max-w-sm hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background ",
4271
- medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background ",
4272
- large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background "
4273
- };
4274
- return /* @__PURE__ */ import_react17.default.createElement(
4275
- Card,
4198
+ fill: "#FFD400",
4199
+ d: "M119.2,421.2c15.3-8.4,27-14.8,28-15.3c3.2-1.7,6.5-6.2,0-9.7 c-2.1-1.1-13.4-7.3-28-15.3l-20.1,20.2L119.2,421.2z"
4200
+ }
4201
+ ), /* @__PURE__ */ import_react16.default.createElement(
4202
+ "path",
4276
4203
  {
4277
- dir: direction,
4278
- className: cn(
4279
- currentPlan ? "hawa-border-2 hawa-border-primary dark:hawa-border-primary/70 " : "hawa-border",
4280
- cardSizes[size],
4281
- "hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-gap-4 hawa-p-4",
4282
- recommended ? "hawa-rounded hawa-rounded-t-none" : "hawa-rounded"
4283
- )
4284
- },
4285
- recommended && /* @__PURE__ */ import_react17.default.createElement(
4286
- "div",
4287
- {
4288
- className: "hawa-absolute -hawa-left-[1px] hawa-top-0 -hawa-translate-y-full hawa-rounded-t hawa-border hawa-bg-primary hawa-p-2 hawa-text-center hawa-text-primary-foreground",
4289
- style: { width: "calc(100% + 2px)" }
4290
- },
4291
- ((_a = props.texts) == null ? void 0 : _a.recommended) || "RECOMMENDED"
4292
- ),
4293
- /* @__PURE__ */ import_react17.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ import_react17.default.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ import_react17.default.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ import_react17.default.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, (_c = props.texts) == null ? void 0 : _c.subtitle), props.discount && /* @__PURE__ */ import_react17.default.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ import_react17.default.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ import_react17.default.createElement("div", { className: " hawa-flex hawa-items-baseline hawa-text-primary" }, props.isLoading ? /* @__PURE__ */ import_react17.default.createElement(Skeleton, { className: "hawa-h-[48px] hawa-w-full hawa-max-w-[200px] hawa-p-0 " }) : /* @__PURE__ */ import_react17.default.createElement(import_react17.default.Fragment, null, props.noPrice ? /* @__PURE__ */ import_react17.default.createElement("div", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, ((_d = props.texts) == null ? void 0 : _d.priceless) || "Contact Us") : /* @__PURE__ */ import_react17.default.createElement(import_react17.default.Fragment, null, /* @__PURE__ */ import_react17.default.createElement(import_react17.default.Fragment, null, /* @__PURE__ */ import_react17.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-end hawa-gap-2" }, props.oldPrice && props.oldPrice > 0 && /* @__PURE__ */ import_react17.default.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + ((_e = props.texts) == null ? void 0 : _e.currencyText)), /* @__PURE__ */ import_react17.default.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, props.price)), /* @__PURE__ */ import_react17.default.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, (_f = props.texts) == null ? void 0 : _f.currencyText)), /* @__PURE__ */ import_react17.default.createElement("span", { className: "hawa-ml-1 hawa-whitespace-nowrap hawa-text-xl hawa-font-normal hawa-text-primary/70" }, "/ ", (_g = props.texts) == null ? void 0 : _g.cycleText)))), endButton && /* @__PURE__ */ import_react17.default.createElement(Separator2, null), /* @__PURE__ */ import_react17.default.createElement(
4294
- "div",
4295
- {
4296
- className: cn(
4297
- "hawa-flex hawa-h-full hawa-justify-between hawa-gap-4",
4298
- endButton ? "hawa-flex-col" : "hawa-flex-col-reverse"
4299
- )
4300
- },
4301
- props.features && /* @__PURE__ */ import_react17.default.createElement("ul", { role: "list", className: "hawa-space-y-0 hawa-overflow-x-auto" }, (_h = props.features) == null ? void 0 : _h.map((feature, o) => {
4302
- return /* @__PURE__ */ import_react17.default.createElement(
4303
- "li",
4304
- {
4305
- key: o,
4306
- className: cn(
4307
- "hawa-flex hawa-flex-row hawa-justify-between hawa-gap-2",
4308
- !feature.included && "hawa-line-through"
4309
- )
4310
- },
4311
- /* @__PURE__ */ import_react17.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center" }, feature.included ? /* @__PURE__ */ import_react17.default.createElement(
4312
- "svg",
4313
- {
4314
- "aria-label": "Check Icon",
4315
- "aria-hidden": "true",
4316
- className: "hawa-m-2 hawa-h-5 hawa-w-5 hawa-flex-shrink-0 hawa-text-primary",
4317
- fill: "currentColor",
4318
- viewBox: "0 0 20 20"
4319
- },
4320
- /* @__PURE__ */ import_react17.default.createElement(
4321
- "path",
4322
- {
4323
- fillRule: "evenodd",
4324
- d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",
4325
- clipRule: "evenodd"
4326
- }
4327
- )
4328
- ) : /* @__PURE__ */ import_react17.default.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ import_react17.default.createElement("span", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap hawa-text-start hawa-font-normal hawa-leading-tight hawa-text-primary/70 " }, feature.text, " ", feature.soon && feature.included && /* @__PURE__ */ import_react17.default.createElement(Chip, { label: "soon", color: "oceanic", size: "small" }))),
4329
- feature.hint && /* @__PURE__ */ import_react17.default.createElement(Tooltip, { content: feature.hint, side: feature.hintSide }, /* @__PURE__ */ import_react17.default.createElement(
4330
- "svg",
4331
- {
4332
- xmlns: "http://www.w3.org/2000/svg",
4333
- className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
4334
- viewBox: "0 0 24 24",
4335
- fill: "none",
4336
- stroke: "currentColor",
4337
- strokeWidth: "2",
4338
- strokeLinecap: "round",
4339
- strokeLinejoin: "round"
4340
- },
4341
- /* @__PURE__ */ import_react17.default.createElement("circle", { cx: "12", cy: "12", r: "10" }),
4342
- /* @__PURE__ */ import_react17.default.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
4343
- /* @__PURE__ */ import_react17.default.createElement("path", { d: "M12 17h.01" })
4344
- ))
4345
- );
4346
- })),
4347
- /* @__PURE__ */ import_react17.default.createElement(
4348
- Button,
4349
- {
4350
- onClick: props.onPlanClicked,
4351
- disabled: currentPlan,
4352
- className: "hawa-w-full"
4353
- },
4354
- (_i = props.texts) == null ? void 0 : _i.buttonText
4355
- )
4356
- ))
4357
- );
4204
+ fill: "#FF3333",
4205
+ d: "M99.1,401.1l-64.2,64.7c1.5,0.2,3.2-0.2,5.2-1.3 c4.2-2.3,48.8-26.7,79.1-43.3L99.1,401.1L99.1,401.1z"
4206
+ }
4207
+ ), /* @__PURE__ */ import_react16.default.createElement(
4208
+ "path",
4209
+ {
4210
+ fill: "#48FF48",
4211
+ d: "M99.1,401.1l20.1-20.2c0,0-74.6-40.7-79.1-43.1 c-1.7-1-3.6-1.3-5.3-1L99.1,401.1z"
4212
+ }
4213
+ ), /* @__PURE__ */ import_react16.default.createElement(
4214
+ "path",
4215
+ {
4216
+ fill: "#3BCCFF",
4217
+ d: "M99.1,401.1l-64.3-64.3c-2.6,0.6-4.8,2.9-4.8,7.6 c0,7.5,0,107.5,0,113.8c0,4.3,1.7,7.4,4.9,7.7L99.1,401.1z"
4218
+ }
4219
+ ))), /* @__PURE__ */ import_react16.default.createElement("div", null, /* @__PURE__ */ import_react16.default.createElement("div", { className: "hawa-text-xs" }, "GET IT ON"), /* @__PURE__ */ import_react16.default.createElement("div", { className: "hawa--mt-1 hawa-font-sans hawa-text-xl hawa-font-semibold" }, "Google Play")))));
4358
4220
  };
4359
4221
 
4360
- // components/elements/cards/ItemCard.tsx
4361
- var import_react18 = __toESM(require("react"));
4362
- var ItemCard = ({
4363
- actions,
4364
- counts,
4365
- content,
4366
- headerActions,
4367
- clickableImage,
4368
- onImageClick,
4369
- clickableImageActionText,
4370
- clickableImageActionIcon,
4371
- header,
4372
- cardImage,
4373
- orientation = "vertical",
4374
- ...props
4222
+ // components/elements/badge/Badge.tsx
4223
+ var import_react17 = __toESM(require("react"));
4224
+ var Badge = ({
4225
+ anchor,
4226
+ position = "right",
4227
+ size = "default",
4228
+ text,
4229
+ className
4375
4230
  }) => {
4376
- let defaultStyle = "hawa-block hawa-rounded hawa-border hawa-bg-card hawa-text-card-foreground hawa-shadow-sm hawa-transition-all";
4377
- let orientationStyles = {
4378
- vertical: "hawa-max-w-sm",
4379
- horizontal: "hawa-flex hawa-flex-row hawa-w-full"
4380
- };
4381
- let imageStyles = {
4382
- vertical: "hawa-h-auto hawa-max-h-56 hawa-w-full hawa-rounded-t-lg hawa-object-cover",
4383
- horizontal: (
4384
- // "h-auto w-full rounded-l-lg object-cover md:h-auto md:w-48 md:rounded-none md:rounded-l-lg",
4385
- // "h-full w-full rounded-l-lg object-cover md:w-48 md:rounded-none md:rounded-l-lg",
4386
- "hawa-h-full hawa-w-48 hawa-rounded-l hawa-object-cover"
4387
- )
4231
+ const [badgePosition, setBadgePosition] = (0, import_react17.useState)(null);
4232
+ const indicatorRef = (0, import_react17.useRef)(null);
4233
+ const sizeStyles = {
4234
+ small: { top: 4, left: 6, right: 7, classes: "hawa-w-3 hawa-h-3" },
4235
+ default: { top: 4, left: 7, right: 5, classes: "hawa-w-3 hawa-h-3" },
4236
+ large: { top: 6, left: 12, right: 7, classes: "hawa-w-6 hawa-h-6" }
4388
4237
  };
4389
- let headerActionsButtonStyle = "hawa-inline-block hawa-rounded hawa-p-1 hawa-text-sm hawa-text-gray-500 hover:hawa-bg-gray-100 focus:hawa-outline-none focus:hawa-ring-4 focus:hawa-ring-gray-200 dark:hawa-text-gray-400 dark:hover:hawa-bg-gray-700 dark:focus:hawa-ring-gray-700";
4390
- const [openActionHeader, setOpenActionHeader] = (0, import_react18.useState)(false);
4391
- function handleOpenActionHeader(e) {
4392
- e.stopPropagation();
4393
- setOpenActionHeader(!openActionHeader);
4394
- }
4395
- (0, import_react18.useEffect)(() => {
4396
- window.onclick = () => {
4397
- if (openActionHeader) {
4398
- setOpenActionHeader(false);
4238
+ (0, import_react17.useEffect)(() => {
4239
+ const handlePositioning = () => {
4240
+ var _a;
4241
+ if (anchor.current && indicatorRef.current) {
4242
+ const rect = anchor.current.getBoundingClientRect();
4243
+ const parentRect = (_a = indicatorRef.current.parentElement) == null ? void 0 : _a.getBoundingClientRect();
4244
+ const style = window.getComputedStyle(anchor.current);
4245
+ const marginTop = parseFloat(style.marginTop.replace("px", ""));
4246
+ const marginRight = parseFloat(style.marginRight.replace("px", ""));
4247
+ if (parentRect) {
4248
+ setBadgePosition({
4249
+ top: rect.top - parentRect.top - marginTop - sizeStyles[size].top,
4250
+ left: position === "right" ? parentRect.right - parentRect.left - sizeStyles[size].left : rect.right - parentRect.left - parentRect.width - marginRight - sizeStyles[size].right
4251
+ });
4252
+ }
4399
4253
  }
4400
4254
  };
4401
- return () => window.onclick = null;
4402
- }, [openActionHeader]);
4403
- return /* @__PURE__ */ import_react18.default.createElement(
4255
+ handlePositioning();
4256
+ window.addEventListener("resize", handlePositioning);
4257
+ return () => {
4258
+ window.removeEventListener("resize", handlePositioning);
4259
+ };
4260
+ }, [anchor]);
4261
+ return /* @__PURE__ */ import_react17.default.createElement("div", { ref: indicatorRef, className: cn("hawa-relative", className) }, badgePosition && /* @__PURE__ */ import_react17.default.createElement(
4404
4262
  "div",
4405
4263
  {
4406
- className: cn(
4407
- defaultStyle,
4408
- props.onCardClick && " hawa-cursor-pointer hover:hawa-shadow-lg",
4409
- orientationStyles[orientation],
4410
- props.className
4411
- ),
4412
- onClick: (e) => {
4413
- e.stopPropagation();
4414
- if (props.onCardClick) {
4415
- props.onCardClick(e);
4416
- }
4417
- }
4418
- },
4419
- cardImage && /* @__PURE__ */ import_react18.default.createElement("div", { className: "hawa-group hawa-relative hawa-overflow-clip" }, /* @__PURE__ */ import_react18.default.createElement(
4420
- "img",
4421
- {
4422
- src: cardImage,
4423
- className: cn(
4424
- imageStyles[orientation],
4425
- clickableImage ? "hawa-overflow-clip hawa-transition-all group-hover:hawa-blur-lg" : ""
4426
- )
4427
- }
4428
- ), clickableImage && /* @__PURE__ */ import_react18.default.createElement(StopPropagationWrapper, null, /* @__PURE__ */ import_react18.default.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-flex hawa-h-full hawa-w-full hawa-items-center hawa-justify-center hawa-opacity-0 hawa-transition-all group-hover:hawa-opacity-100 " }, /* @__PURE__ */ import_react18.default.createElement(
4429
- Button,
4430
- {
4431
- variant: "secondary",
4432
- onClick: onImageClick,
4433
- className: "hawa-flex hawa-flex-row hawa-gap-2"
4434
- },
4435
- clickableImageActionIcon,
4436
- clickableImageActionText || "Click"
4437
- )))),
4438
- /* @__PURE__ */ import_react18.default.createElement("div", { className: "hawa-relative hawa-w-full hawa-p-4 xs:hawa-p-6 xs:hawa-px-2 xs:hawa-pb-2" }, headerActions && /* @__PURE__ */ import_react18.default.createElement("div", { className: "hawa-absolute hawa-right-0 hawa-top-0 hawa-flex hawa-justify-end hawa-pr-3 hawa-pt-3" }, /* @__PURE__ */ import_react18.default.createElement(StopPropagationWrapper, null, /* @__PURE__ */ import_react18.default.createElement(
4439
- DropdownMenu,
4440
- {
4441
- items: headerActions,
4442
- trigger: /* @__PURE__ */ import_react18.default.createElement(
4443
- Button,
4444
- {
4445
- variant: "ghost",
4446
- size: "smallIcon",
4447
- onClick: handleOpenActionHeader
4448
- },
4449
- /* @__PURE__ */ import_react18.default.createElement("span", { className: "hawa-sr-only" }, "Open dropdown"),
4450
- /* @__PURE__ */ import_react18.default.createElement(
4451
- "svg",
4452
- {
4453
- className: "hawa-h-5 hawa-w-5",
4454
- "aria-hidden": "true",
4455
- fill: "currentColor",
4456
- viewBox: "0 0 20 20"
4457
- },
4458
- /* @__PURE__ */ import_react18.default.createElement("path", { d: "M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" })
4459
- )
4460
- )
4461
- }
4462
- ))), /* @__PURE__ */ import_react18.default.createElement("div", { className: " hawa-mx-2" }, header && /* @__PURE__ */ import_react18.default.createElement("h5", { className: "hawa-mb-2 hawa-text-2xl hawa-font-bold hawa-tracking-tight " }, header), content && /* @__PURE__ */ import_react18.default.createElement("span", { className: "hawa-w-full hawa-font-normal " }, content)), actions || counts ? /* @__PURE__ */ import_react18.default.createElement(
4463
- "div",
4464
- {
4465
- className: cn(
4466
- "hawa-mt-3 hawa-flex hawa-flex-col hawa-items-center hawa-rounded-b-lg dark:hawa-text-white xs:hawa-flex-row ",
4467
- actions && counts ? "hawa-justify-between" : "hawa-justify-end"
4468
- )
4264
+ style: {
4265
+ position: "absolute",
4266
+ top: badgePosition == null ? void 0 : badgePosition.top,
4267
+ left: badgePosition == null ? void 0 : badgePosition.left
4469
4268
  },
4470
- counts,
4471
- /* @__PURE__ */ import_react18.default.createElement(StopPropagationWrapper, null, actions)
4472
- ) : null)
4473
- );
4474
- };
4475
-
4476
- // components/elements/cards/LandingCard.tsx
4477
- var import_react19 = __toESM(require("react"));
4478
- var LandingCard = (props) => {
4479
- return /* @__PURE__ */ import_react19.default.createElement(Card, { className: props.className }, /* @__PURE__ */ import_react19.default.createElement(CardHeader, null, props.icon, /* @__PURE__ */ import_react19.default.createElement(CardTitle, null, props.title), /* @__PURE__ */ import_react19.default.createElement(CardDescription, null, props.subtitle)));
4480
- };
4481
-
4482
- // components/elements/PinInput.tsx
4483
- var import_react20 = __toESM(require("react"));
4484
- var PinInput = ({
4485
- label,
4486
- icon,
4487
- digits,
4488
- width = "normal",
4489
- getPins,
4490
- inputProps,
4491
- ...props
4492
- }) => {
4493
- const [pin, setPin] = (0, import_react20.useState)(Array.from(Array(digits)));
4494
- const handleKeyDown = (e, index) => {
4495
- let backTo = 0;
4496
- if (e.key === "Backspace") {
4497
- e.target.value.length === 0 ? backTo = index - 1 : backTo = index;
4498
- const previousInput = document.getElementById(`input-${backTo}`);
4499
- previousInput == null ? void 0 : previousInput.focus();
4500
- }
4501
- };
4502
- (0, import_react20.useEffect)(() => {
4503
- let unfilled = pin.includes(void 0);
4504
- if (!unfilled && getPins) {
4505
- getPins(pin);
4506
- }
4507
- });
4508
- const handleChange = (e, index) => {
4509
- if (!/^\d*$/.test(e.target.value)) {
4510
- const newPin = [...pin];
4511
- newPin[index] = "";
4512
- setPin(newPin);
4513
- return;
4514
- } else {
4515
- const newPin = [...pin];
4516
- newPin[index] = e.target.value;
4517
- setPin(newPin);
4518
- if (e.target.value.length === 1) {
4519
- const nextInput = document.getElementById(`input-${index + 1}`);
4520
- nextInput == null ? void 0 : nextInput.focus();
4521
- } else if (e.target.value.length === 0) {
4522
- const previousInput = document.getElementById(`input-${index - 1}`);
4523
- previousInput == null ? void 0 : previousInput.focus();
4524
- }
4525
- }
4526
- };
4527
- return /* @__PURE__ */ import_react20.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ import_react20.default.createElement(
4528
- "div",
4529
- {
4530
- className: "hawa-flex hawa-w-full hawa-flex-row hawa-justify-center hawa-gap-2",
4531
- dir: "ltr"
4532
- },
4533
- pin.map((value, index) => /* @__PURE__ */ import_react20.default.createElement(
4534
- "input",
4535
- {
4536
- key: index,
4537
- type: "text",
4538
- maxLength: 1,
4539
- value,
4540
- id: `input-${index}`,
4541
- pattern: "[0-9]*",
4542
- className: cn(
4543
- "hawa-h-10 hawa-rounded hawa-border hawa-bg-background hawa-text-center",
4544
- width === "full" ? "hawa-w-full" : "hawa-w-10"
4545
- ),
4546
- onChange: (e) => handleChange(e, index),
4547
- onKeyDown: (e) => handleKeyDown(e, index),
4548
- onFocus: (e) => e.target.select(),
4549
- ...inputProps
4550
- }
4551
- ))
4552
- ), /* @__PURE__ */ import_react20.default.createElement(
4553
- "p",
4554
- {
4555
4269
  className: cn(
4556
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
4557
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
4270
+ "hawa-origin-center hawa-rounded-full hawa-bg-red-500 ",
4271
+ sizeStyles[size].classes,
4272
+ "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-text-[9px] hawa-text-white"
4558
4273
  )
4559
4274
  },
4560
- props.helperText
4275
+ size === "large" && text && text
4561
4276
  ));
4562
4277
  };
4278
+ var BadgedComponent = ({
4279
+ children,
4280
+ className,
4281
+ hideBadge,
4282
+ position,
4283
+ size,
4284
+ text
4285
+ }) => {
4286
+ const ref = (0, import_react17.useRef)(null);
4287
+ return /* @__PURE__ */ import_react17.default.createElement("div", { className: cn("hawa-relative hawa-w-fit", className), ref }, !hideBadge && /* @__PURE__ */ import_react17.default.createElement(
4288
+ Badge,
4289
+ {
4290
+ size,
4291
+ text,
4292
+ position,
4293
+ anchor: ref,
4294
+ className: "hawa-z-10"
4295
+ }
4296
+ ), children);
4297
+ };
4563
4298
 
4564
- // components/elements/PhoneInput.tsx
4565
- var import_react21 = __toESM(require("react"));
4299
+ // components/elements/phoneInput/PhoneInput.tsx
4300
+ var import_react18 = __toESM(require("react"));
4566
4301
 
4567
4302
  // components/countries.ts
4568
4303
  var countries = [
@@ -6257,12 +5992,12 @@ var countries = [
6257
5992
  ];
6258
5993
  var countries_default = countries;
6259
5994
 
6260
- // components/elements/PhoneInput.tsx
5995
+ // components/elements/phoneInput/PhoneInput.tsx
6261
5996
  var PhoneInput = ({ labelProps, ...props }) => {
6262
- const [phoneNumber, setPhoneNumber] = (0, import_react21.useState)("");
6263
- const [countryCode, setCountryCode] = (0, import_react21.useState)(props.preferredCountry);
6264
- const inputRef = (0, import_react21.useRef)(null);
6265
- (0, import_react21.useEffect)(() => {
5997
+ const [phoneNumber, setPhoneNumber] = (0, import_react18.useState)("");
5998
+ const [countryCode, setCountryCode] = (0, import_react18.useState)(props.preferredCountry);
5999
+ const inputRef = (0, import_react18.useRef)(null);
6000
+ (0, import_react18.useEffect)(() => {
6266
6001
  var _a;
6267
6002
  if (inputRef.current) {
6268
6003
  (_a = inputRef.current) == null ? void 0 : _a.focus();
@@ -6280,7 +6015,7 @@ var PhoneInput = ({ labelProps, ...props }) => {
6280
6015
  console.log("handleChange prop was not provided in <PhoneInput/>");
6281
6016
  }
6282
6017
  };
6283
- return /* @__PURE__ */ import_react21.default.createElement("div", { className: "hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ import_react21.default.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ import_react21.default.createElement("div", { dir: "ltr", className: "hawa-flex hawa-w-full hawa-flex-row" }, /* @__PURE__ */ import_react21.default.createElement(
6018
+ return /* @__PURE__ */ import_react18.default.createElement("div", { className: "hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ import_react18.default.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ import_react18.default.createElement("div", { dir: "ltr", className: "hawa-flex hawa-w-full hawa-flex-row" }, /* @__PURE__ */ import_react18.default.createElement(
6284
6019
  Select,
6285
6020
  {
6286
6021
  width: "fit",
@@ -6296,20 +6031,102 @@ var PhoneInput = ({ labelProps, ...props }) => {
6296
6031
  value: countryCode == null ? void 0 : countryCode.label,
6297
6032
  onChange: setCountryCode
6298
6033
  }
6299
- ), /* @__PURE__ */ import_react21.default.createElement("div", { className: "hawa-relative hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ import_react21.default.createElement(
6300
- "input",
6034
+ ), /* @__PURE__ */ import_react18.default.createElement("div", { className: "hawa-relative hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ import_react18.default.createElement(
6035
+ "input",
6036
+ {
6037
+ ref: inputRef,
6038
+ id: "phone-number",
6039
+ className: cn(
6040
+ "hawa-block hawa-h-[40px] hawa-w-full hawa-rounded hawa-rounded-l-none hawa-border hawa-border-l-0 hawa-border-l-transparent hawa-bg-background hawa-p-2 hawa-text-sm hawa-transition-all"
6041
+ ),
6042
+ onChange: handleInputChange,
6043
+ value: phoneNumber,
6044
+ type: "tel",
6045
+ placeholder: "531045453"
6046
+ }
6047
+ ))), /* @__PURE__ */ import_react18.default.createElement(
6048
+ "p",
6049
+ {
6050
+ className: cn(
6051
+ "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
6052
+ props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
6053
+ )
6054
+ },
6055
+ props.helperText
6056
+ ));
6057
+ };
6058
+
6059
+ // components/elements/pinInput/PinInput.tsx
6060
+ var import_react19 = __toESM(require("react"));
6061
+ var PinInput = ({
6062
+ label,
6063
+ icon,
6064
+ digits,
6065
+ width = "normal",
6066
+ getPins,
6067
+ inputProps,
6068
+ ...props
6069
+ }) => {
6070
+ const [pin, setPin] = (0, import_react19.useState)(Array.from(Array(digits)));
6071
+ const handleKeyDown = (e, index) => {
6072
+ let backTo = 0;
6073
+ if (e.key === "Backspace") {
6074
+ e.target.value.length === 0 ? backTo = index - 1 : backTo = index;
6075
+ const previousInput = document.getElementById(`input-${backTo}`);
6076
+ previousInput == null ? void 0 : previousInput.focus();
6077
+ }
6078
+ };
6079
+ (0, import_react19.useEffect)(() => {
6080
+ let unfilled = pin.includes(void 0);
6081
+ if (!unfilled && getPins) {
6082
+ getPins(pin);
6083
+ }
6084
+ });
6085
+ const handleChange = (e, index) => {
6086
+ if (!/^\d*$/.test(e.target.value)) {
6087
+ const newPin = [...pin];
6088
+ newPin[index] = "";
6089
+ setPin(newPin);
6090
+ return;
6091
+ } else {
6092
+ const newPin = [...pin];
6093
+ newPin[index] = e.target.value;
6094
+ setPin(newPin);
6095
+ if (e.target.value.length === 1) {
6096
+ const nextInput = document.getElementById(`input-${index + 1}`);
6097
+ nextInput == null ? void 0 : nextInput.focus();
6098
+ } else if (e.target.value.length === 0) {
6099
+ const previousInput = document.getElementById(`input-${index - 1}`);
6100
+ previousInput == null ? void 0 : previousInput.focus();
6101
+ }
6102
+ }
6103
+ };
6104
+ return /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ import_react19.default.createElement(
6105
+ "div",
6301
6106
  {
6302
- ref: inputRef,
6303
- id: "phone-number",
6304
- className: cn(
6305
- "hawa-block hawa-h-[40px] hawa-w-full hawa-rounded hawa-rounded-l-none hawa-border hawa-border-l-0 hawa-border-l-transparent hawa-bg-background hawa-p-2 hawa-text-sm hawa-transition-all"
6306
- ),
6307
- onChange: handleInputChange,
6308
- value: phoneNumber,
6309
- type: "tel",
6310
- placeholder: "531045453"
6311
- }
6312
- ))), /* @__PURE__ */ import_react21.default.createElement(
6107
+ className: "hawa-flex hawa-w-full hawa-flex-row hawa-justify-center hawa-gap-2",
6108
+ dir: "ltr"
6109
+ },
6110
+ pin.map((value, index) => /* @__PURE__ */ import_react19.default.createElement(
6111
+ "input",
6112
+ {
6113
+ key: index,
6114
+ type: "text",
6115
+ maxLength: 1,
6116
+ value,
6117
+ id: `input-${index}`,
6118
+ pattern: "[0-9]*",
6119
+ className: cn(
6120
+ "hawa-h-10 hawa-rounded hawa-border hawa-bg-background hawa-text-center",
6121
+ width === "full" ? "hawa-w-full" : "hawa-w-10"
6122
+ ),
6123
+ onChange: (e) => handleChange(e, index),
6124
+ onKeyDown: (e) => handleKeyDown(e, index),
6125
+ onFocus: (e) => e.target.select(),
6126
+ ...inputProps
6127
+ }
6128
+ ))
6129
+ ), /* @__PURE__ */ import_react19.default.createElement(
6313
6130
  "p",
6314
6131
  {
6315
6132
  className: cn(
@@ -6321,31 +6138,57 @@ var PhoneInput = ({ labelProps, ...props }) => {
6321
6138
  ));
6322
6139
  };
6323
6140
 
6324
- // components/elements/Progress.tsx
6141
+ // components/elements/stopPropagationWrapper/StopPropagationWrapper.tsx
6142
+ var import_react20 = __toESM(require("react"));
6143
+ var StopPropagationWrapper = (props) => {
6144
+ const handleClick = (e) => {
6145
+ e.stopPropagation();
6146
+ };
6147
+ return /* @__PURE__ */ import_react20.default.createElement("div", { onClick: handleClick }, props.children);
6148
+ };
6149
+
6150
+ // components/elements/scrollArea/ScrollArea.tsx
6325
6151
  var React42 = __toESM(require("react"));
6326
- var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"));
6327
- var Progress = React42.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ React42.createElement(
6328
- ProgressPrimitive.Root,
6152
+ var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"));
6153
+ var ScrollArea = React42.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React42.createElement(
6154
+ ScrollAreaPrimitive.Root,
6155
+ {
6156
+ ref,
6157
+ className: cn("hawa-relative hawa-overflow-hidden", className),
6158
+ ...props
6159
+ },
6160
+ /* @__PURE__ */ React42.createElement(ScrollAreaPrimitive.Viewport, { className: "hawa-h-full hawa-w-full hawa-rounded-[inherit]" }, children),
6161
+ /* @__PURE__ */ React42.createElement(ScrollBar, { orientation }),
6162
+ /* @__PURE__ */ React42.createElement(ScrollAreaPrimitive.Corner, null)
6163
+ ));
6164
+ ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
6165
+ var ScrollBar = React42.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React42.createElement(
6166
+ ScrollAreaPrimitive.ScrollAreaScrollbar,
6329
6167
  {
6330
6168
  ref,
6169
+ orientation,
6331
6170
  className: cn(
6332
- "hawa-relative hawa-h-4 hawa-w-full hawa-overflow-hidden hawa-rounded hawa-bg-secondary",
6171
+ "hawa-flex hawa-touch-none hawa-select-none hawa-transition-colors",
6172
+ orientation === "vertical" && "hawa-h-full hawa-w-2.5 hawa-border-l hawa-border-l-transparent hawa-p-[1px]",
6173
+ orientation === "horizontal" && "hawa-h-2.5 hawa-border-t hawa-border-t-transparent hawa-p-[1px]",
6333
6174
  className
6334
6175
  ),
6335
6176
  ...props
6336
6177
  },
6337
6178
  /* @__PURE__ */ React42.createElement(
6338
- ProgressPrimitive.Indicator,
6179
+ ScrollAreaPrimitive.ScrollAreaThumb,
6339
6180
  {
6340
- className: "hawa-h-full hawa-w-full hawa-flex-1 hawa-bg-primary hawa-transition-all",
6341
- style: { transform: `translateX(-${100 - (value || 0)}%)` }
6181
+ className: cn(
6182
+ "hawa-relative hawa-rounded-full hawa-bg-border",
6183
+ orientation === "vertical" && "hawa-flex-1"
6184
+ )
6342
6185
  }
6343
6186
  )
6344
6187
  ));
6345
- Progress.displayName = ProgressPrimitive.Root.displayName;
6188
+ ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
6346
6189
 
6347
6190
  // components/elements/ProgressCircle.tsx
6348
- var import_react22 = __toESM(require("react"));
6191
+ var import_react21 = __toESM(require("react"));
6349
6192
  var size2config = {
6350
6193
  xs: {
6351
6194
  radius: 15,
@@ -6377,7 +6220,7 @@ function getLimitedValue(input) {
6377
6220
  return input;
6378
6221
  }
6379
6222
  }
6380
- var ProgressCircle = import_react22.default.forwardRef((props, ref) => {
6223
+ var ProgressCircle = import_react21.default.forwardRef((props, ref) => {
6381
6224
  const {
6382
6225
  value: inputValue,
6383
6226
  size = "md",
@@ -6397,7 +6240,7 @@ var ProgressCircle = import_react22.default.forwardRef((props, ref) => {
6397
6240
  const circumference = normalizedRadius * 2 * Math.PI;
6398
6241
  const strokeDashoffset = value / 100 * circumference;
6399
6242
  const offset = circumference - strokeDashoffset;
6400
- return /* @__PURE__ */ import_react22.default.createElement(import_react22.default.Fragment, null, /* @__PURE__ */ import_react22.default.createElement(
6243
+ return /* @__PURE__ */ import_react21.default.createElement(import_react21.default.Fragment, null, /* @__PURE__ */ import_react21.default.createElement(
6401
6244
  "div",
6402
6245
  {
6403
6246
  ref,
@@ -6406,7 +6249,7 @@ var ProgressCircle = import_react22.default.forwardRef((props, ref) => {
6406
6249
  className
6407
6250
  )
6408
6251
  },
6409
- /* @__PURE__ */ import_react22.default.createElement(
6252
+ /* @__PURE__ */ import_react21.default.createElement(
6410
6253
  "svg",
6411
6254
  {
6412
6255
  width: radius * 2,
@@ -6414,7 +6257,7 @@ var ProgressCircle = import_react22.default.forwardRef((props, ref) => {
6414
6257
  viewBox: `0 0 ${radius * 2} ${radius * 2}`,
6415
6258
  className: "hawa-rotate-180 hawa-transform"
6416
6259
  },
6417
- /* @__PURE__ */ import_react22.default.createElement(
6260
+ /* @__PURE__ */ import_react21.default.createElement(
6418
6261
  "circle",
6419
6262
  {
6420
6263
  r: normalizedRadius,
@@ -6430,7 +6273,7 @@ var ProgressCircle = import_react22.default.forwardRef((props, ref) => {
6430
6273
  )
6431
6274
  }
6432
6275
  ),
6433
- value > 0 ? /* @__PURE__ */ import_react22.default.createElement(
6276
+ value > 0 ? /* @__PURE__ */ import_react21.default.createElement(
6434
6277
  "circle",
6435
6278
  {
6436
6279
  r: normalizedRadius,
@@ -6450,24 +6293,24 @@ var ProgressCircle = import_react22.default.forwardRef((props, ref) => {
6450
6293
  }
6451
6294
  ) : null
6452
6295
  ),
6453
- /* @__PURE__ */ import_react22.default.createElement("div", { className: cn("hawa-absolute hawa-flex") }, children)
6296
+ /* @__PURE__ */ import_react21.default.createElement("div", { className: cn("hawa-absolute hawa-flex") }, children)
6454
6297
  ));
6455
6298
  });
6456
6299
  ProgressCircle.displayName = "ProgressCircle";
6457
6300
 
6458
6301
  // components/elements/Pagination.tsx
6459
- var import_react23 = __toESM(require("react"));
6302
+ var import_react22 = __toESM(require("react"));
6460
6303
  var import_react_headless_pagination = require("react-headless-pagination");
6461
6304
  var Pagination = ({
6462
6305
  direction,
6463
6306
  totalPages,
6464
6307
  currentPage
6465
6308
  }) => {
6466
- const [page, setPage] = import_react23.default.useState(currentPage || 0);
6309
+ const [page, setPage] = import_react22.default.useState(currentPage || 0);
6467
6310
  const handlePageChange = (page2) => {
6468
6311
  setPage(page2);
6469
6312
  };
6470
- return /* @__PURE__ */ import_react23.default.createElement(
6313
+ return /* @__PURE__ */ import_react22.default.createElement(
6471
6314
  import_react_headless_pagination.Pagination,
6472
6315
  {
6473
6316
  totalPages,
@@ -6479,10 +6322,10 @@ var Pagination = ({
6479
6322
  truncableText: "...",
6480
6323
  truncableClassName: "hawa-w-10 hawa-px-0.5 hawa-text-center"
6481
6324
  },
6482
- /* @__PURE__ */ import_react23.default.createElement(
6325
+ /* @__PURE__ */ import_react22.default.createElement(
6483
6326
  import_react_headless_pagination.Pagination.PrevButton,
6484
6327
  {
6485
- as: /* @__PURE__ */ import_react23.default.createElement(
6328
+ as: /* @__PURE__ */ import_react22.default.createElement(
6486
6329
  "button",
6487
6330
  {
6488
6331
  "aria-label": "Previous Table Page",
@@ -6492,7 +6335,7 @@ var Pagination = ({
6492
6335
  ),
6493
6336
  style: { minWidth: 36 }
6494
6337
  },
6495
- /* @__PURE__ */ import_react23.default.createElement(
6338
+ /* @__PURE__ */ import_react22.default.createElement(
6496
6339
  "svg",
6497
6340
  {
6498
6341
  xmlns: "http://www.w3.org/2000/svg",
@@ -6505,7 +6348,7 @@ var Pagination = ({
6505
6348
  strokeLinecap: "round",
6506
6349
  strokeLinejoin: "round"
6507
6350
  },
6508
- /* @__PURE__ */ import_react23.default.createElement("path", { d: "m15 18-6-6 6-6" })
6351
+ /* @__PURE__ */ import_react22.default.createElement("path", { d: "m15 18-6-6 6-6" })
6509
6352
  )
6510
6353
  ),
6511
6354
  className: cn(
@@ -6518,17 +6361,17 @@ var Pagination = ({
6518
6361
  },
6519
6362
  "Previous"
6520
6363
  ),
6521
- /* @__PURE__ */ import_react23.default.createElement("nav", { className: "hawa-flex hawa-flex-grow hawa-justify-center" }, /* @__PURE__ */ import_react23.default.createElement("ul", { className: "hawa-flex hawa-items-center hawa-gap-1" }, /* @__PURE__ */ import_react23.default.createElement(
6364
+ /* @__PURE__ */ import_react22.default.createElement("nav", { className: "hawa-flex hawa-flex-grow hawa-justify-center" }, /* @__PURE__ */ import_react22.default.createElement("ul", { className: "hawa-flex hawa-items-center hawa-gap-1" }, /* @__PURE__ */ import_react22.default.createElement(
6522
6365
  import_react_headless_pagination.Pagination.PageButton,
6523
6366
  {
6524
6367
  className: "hawa-tap-highlight-transparent hawa-text-default-foreground data-[focus-visible=true]:hawa-outline-focus data-[disabled=true]:hawa-text-default-300 hawa-min-w-9 hawa-text-small hawa-box-border hawa-flex hawa-h-9 hawa-w-9 hawa-cursor-pointer hawa-touch-none hawa-select-none hawa-flex-wrap hawa-items-center hawa-justify-center hawa-truncate hawa-rounded hawa-border hawa-bg-card hawa-outline-none hawa-transition-all hover:hawa-scale-[1.1] data-[disabled=true]:hawa-pointer-events-none data-[focus-visible=true]:hawa-z-10 data-[pressed=true]:hawa-scale-[0.97] data-[focus-visible=true]:hawa-outline-2 data-[focus-visible=true]:hawa-outline-offset-2",
6525
6368
  activeClassName: "hawa-bg-primary hawa-text-primary-foreground hawa-transition-all"
6526
6369
  }
6527
6370
  ))),
6528
- /* @__PURE__ */ import_react23.default.createElement(
6371
+ /* @__PURE__ */ import_react22.default.createElement(
6529
6372
  import_react_headless_pagination.Pagination.NextButton,
6530
6373
  {
6531
- as: /* @__PURE__ */ import_react23.default.createElement(
6374
+ as: /* @__PURE__ */ import_react22.default.createElement(
6532
6375
  "button",
6533
6376
  {
6534
6377
  "aria-label": "Previous Table Page",
@@ -6538,7 +6381,7 @@ var Pagination = ({
6538
6381
  ),
6539
6382
  style: { minWidth: 36 }
6540
6383
  },
6541
- /* @__PURE__ */ import_react23.default.createElement(
6384
+ /* @__PURE__ */ import_react22.default.createElement(
6542
6385
  "svg",
6543
6386
  {
6544
6387
  xmlns: "http://www.w3.org/2000/svg",
@@ -6551,7 +6394,7 @@ var Pagination = ({
6551
6394
  strokeLinecap: "round",
6552
6395
  strokeLinejoin: "round"
6553
6396
  },
6554
- /* @__PURE__ */ import_react23.default.createElement("path", { d: "m15 18-6-6 6-6" })
6397
+ /* @__PURE__ */ import_react22.default.createElement("path", { d: "m15 18-6-6 6-6" })
6555
6398
  )
6556
6399
  ),
6557
6400
  className: cn(
@@ -6568,14 +6411,14 @@ var Pagination = ({
6568
6411
  };
6569
6412
 
6570
6413
  // components/elements/PasswordInput.tsx
6571
- var import_react27 = __toESM(require("react"));
6414
+ var import_react26 = __toESM(require("react"));
6572
6415
 
6573
6416
  // components/icons/Emojis.tsx
6574
- var import_react24 = __toESM(require("react"));
6417
+ var import_react23 = __toESM(require("react"));
6575
6418
 
6576
6419
  // components/icons/InputIcons.tsx
6577
- var import_react25 = __toESM(require("react"));
6578
- var EyeIcon = (props) => /* @__PURE__ */ import_react25.default.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ import_react25.default.createElement(
6420
+ var import_react24 = __toESM(require("react"));
6421
+ var EyeIcon = (props) => /* @__PURE__ */ import_react24.default.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ import_react24.default.createElement(
6579
6422
  "svg",
6580
6423
  {
6581
6424
  xmlns: "http://www.w3.org/2000/svg",
@@ -6586,10 +6429,10 @@ var EyeIcon = (props) => /* @__PURE__ */ import_react25.default.createElement("d
6586
6429
  strokeLinecap: "round",
6587
6430
  strokeLinejoin: "round"
6588
6431
  },
6589
- /* @__PURE__ */ import_react25.default.createElement("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
6590
- /* @__PURE__ */ import_react25.default.createElement("circle", { cx: "12", cy: "12", r: "3" })
6432
+ /* @__PURE__ */ import_react24.default.createElement("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
6433
+ /* @__PURE__ */ import_react24.default.createElement("circle", { cx: "12", cy: "12", r: "3" })
6591
6434
  ));
6592
- var HiddenEyeIcon = (props) => /* @__PURE__ */ import_react25.default.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ import_react25.default.createElement(
6435
+ var HiddenEyeIcon = (props) => /* @__PURE__ */ import_react24.default.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ import_react24.default.createElement(
6593
6436
  "svg",
6594
6437
  {
6595
6438
  xmlns: "http://www.w3.org/2000/svg",
@@ -6600,20 +6443,20 @@ var HiddenEyeIcon = (props) => /* @__PURE__ */ import_react25.default.createElem
6600
6443
  strokeLinecap: "round",
6601
6444
  strokeLinejoin: "round"
6602
6445
  },
6603
- /* @__PURE__ */ import_react25.default.createElement("path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }),
6604
- /* @__PURE__ */ import_react25.default.createElement("path", { d: "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }),
6605
- /* @__PURE__ */ import_react25.default.createElement("path", { d: "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }),
6606
- /* @__PURE__ */ import_react25.default.createElement("line", { x1: "2", x2: "22", y1: "2", y2: "22" })
6446
+ /* @__PURE__ */ import_react24.default.createElement("path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }),
6447
+ /* @__PURE__ */ import_react24.default.createElement("path", { d: "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }),
6448
+ /* @__PURE__ */ import_react24.default.createElement("path", { d: "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }),
6449
+ /* @__PURE__ */ import_react24.default.createElement("line", { x1: "2", x2: "22", y1: "2", y2: "22" })
6607
6450
  ));
6608
6451
 
6609
6452
  // components/icons/CommonIcons.tsx
6610
- var import_react26 = __toESM(require("react"));
6453
+ var import_react25 = __toESM(require("react"));
6611
6454
  var CheckMark = ({ size = "default", className }) => {
6612
6455
  let sizeStyles = {
6613
6456
  default: "hawa-h-5 hawa-w-5",
6614
6457
  sm: "hawa-h-3 hawa-w-3"
6615
6458
  };
6616
- return /* @__PURE__ */ import_react26.default.createElement(
6459
+ return /* @__PURE__ */ import_react25.default.createElement(
6617
6460
  "svg",
6618
6461
  {
6619
6462
  className: cn(sizeStyles[size], className),
@@ -6621,7 +6464,7 @@ var CheckMark = ({ size = "default", className }) => {
6621
6464
  fill: "currentColor",
6622
6465
  viewBox: "0 0 20 20"
6623
6466
  },
6624
- /* @__PURE__ */ import_react26.default.createElement(
6467
+ /* @__PURE__ */ import_react25.default.createElement(
6625
6468
  "path",
6626
6469
  {
6627
6470
  fillRule: "evenodd",
@@ -6636,7 +6479,7 @@ var UncheckMark = ({ size = "default", className }) => {
6636
6479
  default: "hawa-h-5 hawa-w-5",
6637
6480
  sm: "hawa-h-3 hawa-w-3"
6638
6481
  };
6639
- return /* @__PURE__ */ import_react26.default.createElement(
6482
+ return /* @__PURE__ */ import_react25.default.createElement(
6640
6483
  "svg",
6641
6484
  {
6642
6485
  className: cn(sizeStyles[size], className),
@@ -6644,7 +6487,7 @@ var UncheckMark = ({ size = "default", className }) => {
6644
6487
  fill: "currentColor",
6645
6488
  viewBox: "0 0 20 20"
6646
6489
  },
6647
- /* @__PURE__ */ import_react26.default.createElement(
6490
+ /* @__PURE__ */ import_react25.default.createElement(
6648
6491
  "path",
6649
6492
  {
6650
6493
  fillRule: "evenodd",
@@ -6682,7 +6525,7 @@ var PasswordStrengthIndicator = ({ strength }) => {
6682
6525
  strong: "80%",
6683
6526
  "very-strong": "100%"
6684
6527
  }[currentStrengthLevel];
6685
- return /* @__PURE__ */ import_react27.default.createElement("div", { className: "hawa-mt-0.5 hawa-h-2 hawa-w-full hawa-rounded hawa-bg-gray-200" }, /* @__PURE__ */ import_react27.default.createElement(
6528
+ return /* @__PURE__ */ import_react26.default.createElement("div", { className: "hawa-mt-0.5 hawa-h-2 hawa-w-full hawa-rounded hawa-bg-gray-200" }, /* @__PURE__ */ import_react26.default.createElement(
6686
6529
  "div",
6687
6530
  {
6688
6531
  className: `${strengthColors[currentStrengthLevel]} hawa-h-full hawa-rounded hawa-transition-all hawa-duration-300`,
@@ -6694,16 +6537,16 @@ var PasswordInput = ({
6694
6537
  hidePopover,
6695
6538
  ...props
6696
6539
  }) => {
6697
- const [inputValue, setInputValue] = (0, import_react27.useState)("");
6698
- const [isInputFocused, setIsInputFocused] = (0, import_react27.useState)(false);
6699
- const [currentStr, setCurrentStr] = (0, import_react27.useState)(0);
6700
- const [passwordVisible, setPasswordVisible] = (0, import_react27.useState)(false);
6701
- const [lengthCriteriaMet, setLengthCriteriaMet] = (0, import_react27.useState)(false);
6702
- const [numberCriteriaMet, setNumberCriteriaMet] = (0, import_react27.useState)(false);
6703
- const [specialCharCriteriaMet, setSpecialCharCriteriaMet] = (0, import_react27.useState)(false);
6704
- const [lowercaseCriteriaMet, setLowercaseCriteriaMet] = (0, import_react27.useState)(false);
6705
- const [uppercaseCriteriaMet, setUppercaseCriteriaMet] = (0, import_react27.useState)(false);
6706
- (0, import_react27.useEffect)(() => {
6540
+ const [inputValue, setInputValue] = (0, import_react26.useState)("");
6541
+ const [isInputFocused, setIsInputFocused] = (0, import_react26.useState)(false);
6542
+ const [currentStr, setCurrentStr] = (0, import_react26.useState)(0);
6543
+ const [passwordVisible, setPasswordVisible] = (0, import_react26.useState)(false);
6544
+ const [lengthCriteriaMet, setLengthCriteriaMet] = (0, import_react26.useState)(false);
6545
+ const [numberCriteriaMet, setNumberCriteriaMet] = (0, import_react26.useState)(false);
6546
+ const [specialCharCriteriaMet, setSpecialCharCriteriaMet] = (0, import_react26.useState)(false);
6547
+ const [lowercaseCriteriaMet, setLowercaseCriteriaMet] = (0, import_react26.useState)(false);
6548
+ const [uppercaseCriteriaMet, setUppercaseCriteriaMet] = (0, import_react26.useState)(false);
6549
+ (0, import_react26.useEffect)(() => {
6707
6550
  const calculateStrength = () => {
6708
6551
  let strengthScore = 0;
6709
6552
  if (lengthCriteriaMet)
@@ -6742,7 +6585,7 @@ var PasswordInput = ({
6742
6585
  setIsInputFocused(false);
6743
6586
  };
6744
6587
  const getCriteriaClass = (isMet) => isMet ? "hawa-flex hawa-flex-row hawa-gap-2 hawa-text-sm hawa-items-center hawa-text-green-500" : "hawa-flex hawa-flex-row hawa-gap-2 hawa-text-sm hawa-items-center hawa-text-red-600";
6745
- return /* @__PURE__ */ import_react27.default.createElement("div", null, /* @__PURE__ */ import_react27.default.createElement(
6588
+ return /* @__PURE__ */ import_react26.default.createElement("div", null, /* @__PURE__ */ import_react26.default.createElement(
6746
6589
  Popover,
6747
6590
  {
6748
6591
  width: "trigger",
@@ -6751,7 +6594,7 @@ var PasswordInput = ({
6751
6594
  onOpenChange: setIsInputFocused,
6752
6595
  triggerProps: { asChild: true },
6753
6596
  contentProps: { onOpenAutoFocus: (e) => e.preventDefault() },
6754
- trigger: /* @__PURE__ */ import_react27.default.createElement(
6597
+ trigger: /* @__PURE__ */ import_react26.default.createElement(
6755
6598
  "div",
6756
6599
  {
6757
6600
  onClick: (e) => {
@@ -6761,7 +6604,7 @@ var PasswordInput = ({
6761
6604
  }
6762
6605
  }
6763
6606
  },
6764
- /* @__PURE__ */ import_react27.default.createElement(
6607
+ /* @__PURE__ */ import_react26.default.createElement(
6765
6608
  Input,
6766
6609
  {
6767
6610
  width: "full",
@@ -6771,21 +6614,21 @@ var PasswordInput = ({
6771
6614
  onFocus: handleInputFocus,
6772
6615
  onBlur: handleInputBlur,
6773
6616
  type: passwordVisible ? "text" : "password",
6774
- endIcon: /* @__PURE__ */ import_react27.default.createElement(
6617
+ endIcon: /* @__PURE__ */ import_react26.default.createElement(
6775
6618
  "div",
6776
6619
  {
6777
6620
  className: "hawa-cursor-pointer",
6778
6621
  onClick: () => setPasswordVisible(!passwordVisible)
6779
6622
  },
6780
- passwordVisible ? /* @__PURE__ */ import_react27.default.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ import_react27.default.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
6623
+ passwordVisible ? /* @__PURE__ */ import_react26.default.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ import_react26.default.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
6781
6624
  " "
6782
6625
  )
6783
6626
  }
6784
6627
  )
6785
6628
  )
6786
6629
  },
6787
- /* @__PURE__ */ import_react27.default.createElement("div", { className: "hawa-rounded hawa-p-2" }, /* @__PURE__ */ import_react27.default.createElement("ul", { className: "hawa-rounded hawa-p-2" }, /* @__PURE__ */ import_react27.default.createElement("li", { className: getCriteriaClass(lengthCriteriaMet) }, lengthCriteriaMet ? /* @__PURE__ */ import_react27.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react27.default.createElement(UncheckMark, { size: "sm" }), "At least 8 characters long"), /* @__PURE__ */ import_react27.default.createElement("li", { className: getCriteriaClass(numberCriteriaMet) }, numberCriteriaMet ? /* @__PURE__ */ import_react27.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react27.default.createElement(UncheckMark, { size: "sm" }), "At least 1 number"), /* @__PURE__ */ import_react27.default.createElement("li", { className: getCriteriaClass(specialCharCriteriaMet) }, specialCharCriteriaMet ? /* @__PURE__ */ import_react27.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react27.default.createElement(UncheckMark, { size: "sm" }), "At least 1 special character"), /* @__PURE__ */ import_react27.default.createElement("li", { className: getCriteriaClass(lowercaseCriteriaMet) }, lowercaseCriteriaMet ? /* @__PURE__ */ import_react27.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react27.default.createElement(UncheckMark, { size: "sm" }), "At least 1 lowercase letter"), /* @__PURE__ */ import_react27.default.createElement("li", { className: getCriteriaClass(uppercaseCriteriaMet) }, uppercaseCriteriaMet ? /* @__PURE__ */ import_react27.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react27.default.createElement(UncheckMark, { size: "sm" }), "At least 1 uppercase letter")))
6788
- ), /* @__PURE__ */ import_react27.default.createElement(PasswordStrengthIndicator, { strength: currentStr }));
6630
+ /* @__PURE__ */ import_react26.default.createElement("div", { className: "hawa-rounded hawa-p-2" }, /* @__PURE__ */ import_react26.default.createElement("ul", { className: "hawa-rounded hawa-p-2" }, /* @__PURE__ */ import_react26.default.createElement("li", { className: getCriteriaClass(lengthCriteriaMet) }, lengthCriteriaMet ? /* @__PURE__ */ import_react26.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react26.default.createElement(UncheckMark, { size: "sm" }), "At least 8 characters long"), /* @__PURE__ */ import_react26.default.createElement("li", { className: getCriteriaClass(numberCriteriaMet) }, numberCriteriaMet ? /* @__PURE__ */ import_react26.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react26.default.createElement(UncheckMark, { size: "sm" }), "At least 1 number"), /* @__PURE__ */ import_react26.default.createElement("li", { className: getCriteriaClass(specialCharCriteriaMet) }, specialCharCriteriaMet ? /* @__PURE__ */ import_react26.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react26.default.createElement(UncheckMark, { size: "sm" }), "At least 1 special character"), /* @__PURE__ */ import_react26.default.createElement("li", { className: getCriteriaClass(lowercaseCriteriaMet) }, lowercaseCriteriaMet ? /* @__PURE__ */ import_react26.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react26.default.createElement(UncheckMark, { size: "sm" }), "At least 1 lowercase letter"), /* @__PURE__ */ import_react26.default.createElement("li", { className: getCriteriaClass(uppercaseCriteriaMet) }, uppercaseCriteriaMet ? /* @__PURE__ */ import_react26.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react26.default.createElement(UncheckMark, { size: "sm" }), "At least 1 uppercase letter")))
6631
+ ), /* @__PURE__ */ import_react26.default.createElement(PasswordStrengthIndicator, { strength: currentStr }));
6789
6632
  };
6790
6633
 
6791
6634
  // components/elements/Slider.tsx
@@ -6892,53 +6735,13 @@ var Separator2 = ({
6892
6735
  }
6893
6736
  );
6894
6737
 
6895
- // components/elements/ScrollArea.tsx
6896
- var React52 = __toESM(require("react"));
6897
- var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"));
6898
- var ScrollArea = React52.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React52.createElement(
6899
- ScrollAreaPrimitive.Root,
6900
- {
6901
- ref,
6902
- className: cn("hawa-relative hawa-overflow-hidden", className),
6903
- ...props
6904
- },
6905
- /* @__PURE__ */ React52.createElement(ScrollAreaPrimitive.Viewport, { className: "hawa-h-full hawa-w-full hawa-rounded-[inherit]" }, children),
6906
- /* @__PURE__ */ React52.createElement(ScrollBar, { orientation }),
6907
- /* @__PURE__ */ React52.createElement(ScrollAreaPrimitive.Corner, null)
6908
- ));
6909
- ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
6910
- var ScrollBar = React52.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React52.createElement(
6911
- ScrollAreaPrimitive.ScrollAreaScrollbar,
6912
- {
6913
- ref,
6914
- orientation,
6915
- className: cn(
6916
- "hawa-flex hawa-touch-none hawa-select-none hawa-transition-colors",
6917
- orientation === "vertical" && "hawa-h-full hawa-w-2.5 hawa-border-l hawa-border-l-transparent hawa-p-[1px]",
6918
- orientation === "horizontal" && "hawa-h-2.5 hawa-border-t hawa-border-t-transparent hawa-p-[1px]",
6919
- className
6920
- ),
6921
- ...props
6922
- },
6923
- /* @__PURE__ */ React52.createElement(
6924
- ScrollAreaPrimitive.ScrollAreaThumb,
6925
- {
6926
- className: cn(
6927
- "hawa-relative hawa-rounded-full hawa-bg-border",
6928
- orientation === "vertical" && "hawa-flex-1"
6929
- )
6930
- }
6931
- )
6932
- ));
6933
- ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
6934
-
6935
6738
  // components/elements/ScrollIndicator.tsx
6936
- var import_react28 = __toESM(require("react"));
6739
+ var import_react27 = __toESM(require("react"));
6937
6740
  var ScrollIndicator = ({
6938
6741
  anchor,
6939
6742
  inContainer = false
6940
6743
  }) => {
6941
- const [scrollPercentage, setScrollPercentage] = (0, import_react28.useState)(0);
6744
+ const [scrollPercentage, setScrollPercentage] = (0, import_react27.useState)(0);
6942
6745
  const onScroll = () => {
6943
6746
  const scrollElement = anchor.current;
6944
6747
  if (scrollElement) {
@@ -6949,7 +6752,7 @@ var ScrollIndicator = ({
6949
6752
  setScrollPercentage(percentageScrolled);
6950
6753
  }
6951
6754
  };
6952
- (0, import_react28.useEffect)(() => {
6755
+ (0, import_react27.useEffect)(() => {
6953
6756
  if (!anchor.current)
6954
6757
  return;
6955
6758
  anchor.current.addEventListener("scroll", onScroll);
@@ -6958,7 +6761,7 @@ var ScrollIndicator = ({
6958
6761
  (_a = anchor.current) == null ? void 0 : _a.removeEventListener("scroll", onScroll);
6959
6762
  };
6960
6763
  }, [anchor]);
6961
- return /* @__PURE__ */ import_react28.default.createElement(
6764
+ return /* @__PURE__ */ import_react27.default.createElement(
6962
6765
  "div",
6963
6766
  {
6964
6767
  style: {
@@ -6973,17 +6776,8 @@ var ScrollIndicator = ({
6973
6776
  );
6974
6777
  };
6975
6778
 
6976
- // components/elements/StopPropagationWrapper.tsx
6977
- var import_react29 = __toESM(require("react"));
6978
- var StopPropagationWrapper = (props) => {
6979
- const handleClick = (e) => {
6980
- e.stopPropagation();
6981
- };
6982
- return /* @__PURE__ */ import_react29.default.createElement("div", { onClick: handleClick }, props.children);
6983
- };
6984
-
6985
6779
  // components/elements/ColorPicker.tsx
6986
- var import_react30 = __toESM(require("react"));
6780
+ var import_react28 = __toESM(require("react"));
6987
6781
  var ColorPicker = ({
6988
6782
  containerProps,
6989
6783
  colorPickerProps,
@@ -6991,8 +6785,8 @@ var ColorPicker = ({
6991
6785
  labelProps,
6992
6786
  ...props
6993
6787
  }) => {
6994
- const [selectedColor, setSelectedColor] = (0, import_react30.useState)(props.color);
6995
- (0, import_react30.useEffect)(() => {
6788
+ const [selectedColor, setSelectedColor] = (0, import_react28.useState)(props.color);
6789
+ (0, import_react28.useEffect)(() => {
6996
6790
  if (selectedColor && selectedColor[0] !== "#") {
6997
6791
  setSelectedColor(`#${selectedColor}`);
6998
6792
  }
@@ -7009,13 +6803,13 @@ var ColorPicker = ({
7009
6803
  props.handleChange(e);
7010
6804
  }
7011
6805
  };
7012
- return /* @__PURE__ */ import_react30.default.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ import_react30.default.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ import_react30.default.createElement("div", { dir: "ltr", className: "hawa-flex hawa-w-full hawa-flex-row" }, /* @__PURE__ */ import_react30.default.createElement(
6806
+ return /* @__PURE__ */ import_react28.default.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ import_react28.default.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ import_react28.default.createElement("div", { dir: "ltr", className: "hawa-flex hawa-w-full hawa-flex-row" }, /* @__PURE__ */ import_react28.default.createElement(
7013
6807
  "div",
7014
6808
  {
7015
6809
  style: { height: 40, backgroundColor: selectedColor },
7016
6810
  className: "hawa-rounded-bl-lg hawa-rounded-tl-lg hawa-border"
7017
6811
  },
7018
- /* @__PURE__ */ import_react30.default.createElement(
6812
+ /* @__PURE__ */ import_react28.default.createElement(
7019
6813
  "input",
7020
6814
  {
7021
6815
  type: "color",
@@ -7033,7 +6827,7 @@ var ColorPicker = ({
7033
6827
  ...colorPickerProps
7034
6828
  }
7035
6829
  )
7036
- ), /* @__PURE__ */ import_react30.default.createElement("div", { className: "hawa-relative hawa-flex hawa-max-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ import_react30.default.createElement(
6830
+ ), /* @__PURE__ */ import_react28.default.createElement("div", { className: "hawa-relative hawa-flex hawa-max-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ import_react28.default.createElement(
7037
6831
  "input",
7038
6832
  {
7039
6833
  maxLength: 7,
@@ -7045,7 +6839,7 @@ var ColorPicker = ({
7045
6839
  ),
7046
6840
  ...textInputProps
7047
6841
  }
7048
- ))), /* @__PURE__ */ import_react30.default.createElement(
6842
+ ))), /* @__PURE__ */ import_react28.default.createElement(
7049
6843
  "p",
7050
6844
  {
7051
6845
  className: cn(
@@ -7058,15 +6852,15 @@ var ColorPicker = ({
7058
6852
  };
7059
6853
 
7060
6854
  // components/elements/CodeBlock.tsx
7061
- var import_react32 = __toESM(require("react"));
6855
+ var import_react30 = __toESM(require("react"));
7062
6856
  var import_prism_react_renderer = require("prism-react-renderer");
7063
6857
 
7064
6858
  // components/hooks/useClipboard.ts
7065
- var import_react31 = require("react");
6859
+ var import_react29 = require("react");
7066
6860
  function useClipboard({ timeout = 2e3 } = {}) {
7067
- const [error, setError] = (0, import_react31.useState)(null);
7068
- const [copied, setCopied] = (0, import_react31.useState)(false);
7069
- const [copyTimeout, setCopyTimeout] = (0, import_react31.useState)(null);
6861
+ const [error, setError] = (0, import_react29.useState)(null);
6862
+ const [copied, setCopied] = (0, import_react29.useState)(false);
6863
+ const [copyTimeout, setCopyTimeout] = (0, import_react29.useState)(null);
7070
6864
  const handleCopyResult = (value) => {
7071
6865
  clearTimeout(copyTimeout);
7072
6866
  setCopyTimeout(setTimeout(() => setCopied(false), timeout));
@@ -7099,7 +6893,7 @@ var CodeBlock = ({
7099
6893
  ...props
7100
6894
  }) => {
7101
6895
  const clipboard = useClipboard();
7102
- const [selectedTab, setSelectedTab] = (0, import_react32.useState)(0);
6896
+ const [selectedTab, setSelectedTab] = (0, import_react30.useState)(0);
7103
6897
  const isDarkMode = props.forcedDarkMode || document.body.classList.contains("dark");
7104
6898
  const theme = isDarkMode ? import_prism_react_renderer.themes.vsDark : import_prism_react_renderer.themes.vsLight;
7105
6899
  let widthStyles = {
@@ -7108,7 +6902,7 @@ var CodeBlock = ({
7108
6902
  sm: "hawa-w-full hawa-max-w-sm",
7109
6903
  xs: "hawa-w-full hawa-max-w-xs"
7110
6904
  };
7111
- return /* @__PURE__ */ import_react32.default.createElement(
6905
+ return /* @__PURE__ */ import_react30.default.createElement(
7112
6906
  "div",
7113
6907
  {
7114
6908
  className: cn(
@@ -7117,7 +6911,7 @@ var CodeBlock = ({
7117
6911
  className
7118
6912
  )
7119
6913
  },
7120
- fileName && /* @__PURE__ */ import_react32.default.createElement(
6914
+ fileName && /* @__PURE__ */ import_react30.default.createElement(
7121
6915
  "div",
7122
6916
  {
7123
6917
  className: cn(
@@ -7125,7 +6919,7 @@ var CodeBlock = ({
7125
6919
  fileName && tabs ? "hawa-bg-gray-300 dark:hawa-bg-muted/50" : "hawa-bg-gray-200"
7126
6920
  )
7127
6921
  },
7128
- /* @__PURE__ */ import_react32.default.createElement(
6922
+ /* @__PURE__ */ import_react30.default.createElement(
7129
6923
  "div",
7130
6924
  {
7131
6925
  className: cn(
@@ -7135,7 +6929,7 @@ var CodeBlock = ({
7135
6929
  fileName
7136
6930
  )
7137
6931
  ),
7138
- tabs && /* @__PURE__ */ import_react32.default.createElement(
6932
+ tabs && /* @__PURE__ */ import_react30.default.createElement(
7139
6933
  "div",
7140
6934
  {
7141
6935
  className: cn(
@@ -7143,7 +6937,7 @@ var CodeBlock = ({
7143
6937
  tabs && fileName && "hawa-rounded-t-none"
7144
6938
  )
7145
6939
  },
7146
- tabs.map((tab, i) => /* @__PURE__ */ import_react32.default.createElement(
6940
+ tabs.map((tab, i) => /* @__PURE__ */ import_react30.default.createElement(
7147
6941
  "div",
7148
6942
  {
7149
6943
  key: i,
@@ -7151,7 +6945,7 @@ var CodeBlock = ({
7151
6945
  selectedTab === i ? " hawa-border-b-2 hawa-border-primary" : "hawa-bg-transparent"
7152
6946
  )
7153
6947
  },
7154
- /* @__PURE__ */ import_react32.default.createElement(
6948
+ /* @__PURE__ */ import_react30.default.createElement(
7155
6949
  "div",
7156
6950
  {
7157
6951
  onClick: () => setSelectedTab(i),
@@ -7163,7 +6957,7 @@ var CodeBlock = ({
7163
6957
  )
7164
6958
  ))
7165
6959
  ),
7166
- /* @__PURE__ */ import_react32.default.createElement(
6960
+ /* @__PURE__ */ import_react30.default.createElement(
7167
6961
  "div",
7168
6962
  {
7169
6963
  className: cn(
@@ -7171,26 +6965,26 @@ var CodeBlock = ({
7171
6965
  tabs || fileName ? "hawa-rounded-b hawa-rounded-t-none" : "hawa-rounded"
7172
6966
  )
7173
6967
  },
7174
- /* @__PURE__ */ import_react32.default.createElement(
6968
+ /* @__PURE__ */ import_react30.default.createElement(
7175
6969
  import_prism_react_renderer.Highlight,
7176
6970
  {
7177
6971
  theme,
7178
6972
  code: tabs ? tabs[selectedTab].code : code || "",
7179
6973
  language
7180
6974
  },
7181
- ({ className: className2, style, tokens, getLineProps, getTokenProps }) => /* @__PURE__ */ import_react32.default.createElement("pre", { className: "hawa-min-h-[37.75px] hawa-w-full hawa-overflow-auto hawa-p-4 hawa-font-mono hawa-text-foreground" }, tokens.map((line, i) => /* @__PURE__ */ import_react32.default.createElement("div", { key: i, ...getLineProps({ line }) }, props.lineNumbers && /* @__PURE__ */ import_react32.default.createElement("span", { className: "hawa-mr-4" }, i + 1), line.map((token, key) => /* @__PURE__ */ import_react32.default.createElement("span", { key, ...getTokenProps({ token }) })))))
6975
+ ({ className: className2, style, tokens, getLineProps, getTokenProps }) => /* @__PURE__ */ import_react30.default.createElement("pre", { className: "hawa-min-h-[37.75px] hawa-w-full hawa-overflow-auto hawa-p-4 hawa-font-mono hawa-text-foreground" }, tokens.map((line, i) => /* @__PURE__ */ import_react30.default.createElement("div", { key: i, ...getLineProps({ line }) }, props.lineNumbers && /* @__PURE__ */ import_react30.default.createElement("span", { className: "hawa-mr-4" }, i + 1), line.map((token, key) => /* @__PURE__ */ import_react30.default.createElement("span", { key, ...getTokenProps({ token }) })))))
7182
6976
  ),
7183
- /* @__PURE__ */ import_react32.default.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-p-2" }, /* @__PURE__ */ import_react32.default.createElement(
6977
+ /* @__PURE__ */ import_react30.default.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-p-2" }, /* @__PURE__ */ import_react30.default.createElement(
7184
6978
  Tooltip,
7185
6979
  {
7186
6980
  open: clipboard.copied,
7187
6981
  side: "left",
7188
- content: /* @__PURE__ */ import_react32.default.createElement("div", null, "Copied!"),
6982
+ content: /* @__PURE__ */ import_react30.default.createElement("div", null, "Copied!"),
7189
6983
  triggerProps: {
7190
6984
  asChild: true
7191
6985
  }
7192
6986
  },
7193
- /* @__PURE__ */ import_react32.default.createElement(
6987
+ /* @__PURE__ */ import_react30.default.createElement(
7194
6988
  Button,
7195
6989
  {
7196
6990
  size: "icon",
@@ -7198,7 +6992,7 @@ var CodeBlock = ({
7198
6992
  variant: "outline",
7199
6993
  className: "hawa-text-foreground hawa-opacity-50 sm:hawa-opacity-100"
7200
6994
  },
7201
- /* @__PURE__ */ import_react32.default.createElement(
6995
+ /* @__PURE__ */ import_react30.default.createElement(
7202
6996
  "svg",
7203
6997
  {
7204
6998
  "aria-label": "Copy Icon",
@@ -7211,8 +7005,8 @@ var CodeBlock = ({
7211
7005
  height: "1em",
7212
7006
  width: "1em"
7213
7007
  },
7214
- /* @__PURE__ */ import_react32.default.createElement("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
7215
- /* @__PURE__ */ import_react32.default.createElement("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
7008
+ /* @__PURE__ */ import_react30.default.createElement("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
7009
+ /* @__PURE__ */ import_react30.default.createElement("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
7216
7010
  )
7217
7011
  )
7218
7012
  ))
@@ -7221,7 +7015,7 @@ var CodeBlock = ({
7221
7015
  };
7222
7016
 
7223
7017
  // components/elements/Carousel.tsx
7224
- var import_react33 = __toESM(require("react"));
7018
+ var import_react31 = __toESM(require("react"));
7225
7019
  var import_embla_carousel_react = __toESM(require("embla-carousel-react"));
7226
7020
  var Carousel = (props) => {
7227
7021
  const {
@@ -7235,8 +7029,8 @@ var Carousel = (props) => {
7235
7029
  const [emblaRef, emblaApi] = (0, import_embla_carousel_react.default)({
7236
7030
  loop: autoplay ? true : options.loop || false
7237
7031
  });
7238
- const [selectedIndex, setSelectedIndex] = (0, import_react33.useState)(0);
7239
- (0, import_react33.useEffect)(() => {
7032
+ const [selectedIndex, setSelectedIndex] = (0, import_react31.useState)(0);
7033
+ (0, import_react31.useEffect)(() => {
7240
7034
  function selectHandler() {
7241
7035
  const index = emblaApi == null ? void 0 : emblaApi.selectedScrollSnap();
7242
7036
  setSelectedIndex(index || 0);
@@ -7246,7 +7040,7 @@ var Carousel = (props) => {
7246
7040
  emblaApi == null ? void 0 : emblaApi.off("select", selectHandler);
7247
7041
  };
7248
7042
  }, [emblaApi]);
7249
- (0, import_react33.useEffect)(() => {
7043
+ (0, import_react31.useEffect)(() => {
7250
7044
  let autoplayTimer;
7251
7045
  if (autoplay && emblaApi) {
7252
7046
  autoplayTimer = setInterval(() => {
@@ -7258,24 +7052,24 @@ var Carousel = (props) => {
7258
7052
  clearInterval(autoplayTimer);
7259
7053
  };
7260
7054
  }, [emblaApi, autoplay, autoplayInterval]);
7261
- const length = import_react33.default.Children.count(items);
7055
+ const length = import_react31.default.Children.count(items);
7262
7056
  const canScrollNext = !!(emblaApi == null ? void 0 : emblaApi.canScrollNext());
7263
7057
  const canScrollPrev = !!(emblaApi == null ? void 0 : emblaApi.canScrollPrev());
7264
- return /* @__PURE__ */ import_react33.default.createElement("div", { className: " hawa-relative hawa-h-full" }, /* @__PURE__ */ import_react33.default.createElement("div", { className: "hawa-h-full hawa-overflow-hidden" }, /* @__PURE__ */ import_react33.default.createElement("div", { className: "hawa-h-full", ref: emblaRef }, /* @__PURE__ */ import_react33.default.createElement("div", { className: "hawa-flex hawa-h-full" }, items == null ? void 0 : items.map((item, i) => /* @__PURE__ */ import_react33.default.createElement(
7058
+ return /* @__PURE__ */ import_react31.default.createElement("div", { className: " hawa-relative hawa-h-full" }, /* @__PURE__ */ import_react31.default.createElement("div", { className: "hawa-h-full hawa-overflow-hidden" }, /* @__PURE__ */ import_react31.default.createElement("div", { className: "hawa-h-full", ref: emblaRef }, /* @__PURE__ */ import_react31.default.createElement("div", { className: "hawa-flex hawa-h-full" }, items == null ? void 0 : items.map((item, i) => /* @__PURE__ */ import_react31.default.createElement(
7265
7059
  "div",
7266
7060
  {
7267
7061
  key: i,
7268
7062
  className: "hawa-flex hawa-h-full hawa-min-w-0 hawa-flex-[0_0_100%] hawa-items-center hawa-justify-center"
7269
7063
  },
7270
7064
  item
7271
- ))))), /* @__PURE__ */ import_react33.default.createElement(
7065
+ ))))), /* @__PURE__ */ import_react31.default.createElement(
7272
7066
  Dots,
7273
7067
  {
7274
7068
  itemsLength: length,
7275
7069
  selectedIndex,
7276
7070
  onDotClick: (index) => emblaApi == null ? void 0 : emblaApi.scrollTo(index)
7277
7071
  }
7278
- ), showArrows && /* @__PURE__ */ import_react33.default.createElement(
7072
+ ), showArrows && /* @__PURE__ */ import_react31.default.createElement(
7279
7073
  CarouselControls,
7280
7074
  {
7281
7075
  canScrollNext,
@@ -7287,9 +7081,9 @@ var Carousel = (props) => {
7287
7081
  };
7288
7082
  var Dots = ({ onDotClick, itemsLength, selectedIndex }) => {
7289
7083
  const arr = new Array(itemsLength).fill(0);
7290
- return /* @__PURE__ */ import_react33.default.createElement("div", { className: "hawa-z-50 hawa-my-2 hawa-flex hawa-justify-center hawa-gap-1" }, arr.map((_, index) => {
7084
+ return /* @__PURE__ */ import_react31.default.createElement("div", { className: "hawa-z-50 hawa-my-2 hawa-flex hawa-justify-center hawa-gap-1" }, arr.map((_, index) => {
7291
7085
  const selected = index === selectedIndex;
7292
- return /* @__PURE__ */ import_react33.default.createElement(
7086
+ return /* @__PURE__ */ import_react31.default.createElement(
7293
7087
  "div",
7294
7088
  {
7295
7089
  onClick: () => onDotClick(index),
@@ -7303,7 +7097,7 @@ var Dots = ({ onDotClick, itemsLength, selectedIndex }) => {
7303
7097
  }));
7304
7098
  };
7305
7099
  var CarouselControls = (props) => {
7306
- return /* @__PURE__ */ import_react33.default.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2 " }, /* @__PURE__ */ import_react33.default.createElement(
7100
+ return /* @__PURE__ */ import_react31.default.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2 " }, /* @__PURE__ */ import_react31.default.createElement(
7307
7101
  "button",
7308
7102
  {
7309
7103
  onClick: () => {
@@ -7318,7 +7112,7 @@ var CarouselControls = (props) => {
7318
7112
  props.canScrollPrev && "hawa-bg-primary"
7319
7113
  )
7320
7114
  },
7321
- /* @__PURE__ */ import_react33.default.createElement(
7115
+ /* @__PURE__ */ import_react31.default.createElement(
7322
7116
  "svg",
7323
7117
  {
7324
7118
  "aria-label": "Chevron Right Icon",
@@ -7327,9 +7121,9 @@ var CarouselControls = (props) => {
7327
7121
  viewBox: "0 0 16 16",
7328
7122
  className: "hawa-h-2 hawa-w-2 hawa-shrink-0 hawa-rotate-180 hawa-transition-transform hawa-duration-200 "
7329
7123
  },
7330
- /* @__PURE__ */ import_react33.default.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
7124
+ /* @__PURE__ */ import_react31.default.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
7331
7125
  )
7332
- ), /* @__PURE__ */ import_react33.default.createElement(
7126
+ ), /* @__PURE__ */ import_react31.default.createElement(
7333
7127
  "button",
7334
7128
  {
7335
7129
  onClick: () => {
@@ -7344,7 +7138,7 @@ var CarouselControls = (props) => {
7344
7138
  props.canScrollNext && "hawa-bg-primary"
7345
7139
  )
7346
7140
  },
7347
- /* @__PURE__ */ import_react33.default.createElement(
7141
+ /* @__PURE__ */ import_react31.default.createElement(
7348
7142
  "svg",
7349
7143
  {
7350
7144
  "aria-label": "Chevron Right Icon",
@@ -7353,19 +7147,19 @@ var CarouselControls = (props) => {
7353
7147
  viewBox: "0 0 16 16",
7354
7148
  className: "hawa-h-2 hawa-w-2 hawa-shrink-0 hawa-transition-transform hawa-duration-200 "
7355
7149
  },
7356
- /* @__PURE__ */ import_react33.default.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
7150
+ /* @__PURE__ */ import_react31.default.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
7357
7151
  )
7358
7152
  ));
7359
7153
  };
7360
7154
 
7361
7155
  // components/elements/Count.tsx
7362
- var import_react34 = __toESM(require("react"));
7156
+ var import_react32 = __toESM(require("react"));
7363
7157
  var Count = (props) => {
7364
- return /* @__PURE__ */ import_react34.default.createElement("div", { className: "hawa-flex hawa-h-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-px-2" }, /* @__PURE__ */ import_react34.default.createElement("div", null, props.icon), /* @__PURE__ */ import_react34.default.createElement("div", { className: "hawa-text-sm" }, props.count));
7158
+ return /* @__PURE__ */ import_react32.default.createElement("div", { className: "hawa-flex hawa-h-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-px-2" }, /* @__PURE__ */ import_react32.default.createElement("div", null, props.icon), /* @__PURE__ */ import_react32.default.createElement("div", { className: "hawa-text-sm" }, props.count));
7365
7159
  };
7366
7160
 
7367
7161
  // components/elements/Toast.tsx
7368
- var React59 = __toESM(require("react"));
7162
+ var React57 = __toESM(require("react"));
7369
7163
  var ToastPrimitives = __toESM(require("@radix-ui/react-toast"));
7370
7164
  var import_class_variance_authority4 = require("class-variance-authority");
7371
7165
  var toastVariants = (0, import_class_variance_authority4.cva)(
@@ -7390,7 +7184,7 @@ var toastVariants = (0, import_class_variance_authority4.cva)(
7390
7184
  }
7391
7185
  );
7392
7186
  var ToastProvider = ToastPrimitives.Provider;
7393
- var ToastViewport = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React59.createElement(
7187
+ var ToastViewport = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React57.createElement(
7394
7188
  ToastPrimitives.Viewport,
7395
7189
  {
7396
7190
  ref,
@@ -7402,8 +7196,8 @@ var ToastViewport = React59.forwardRef(({ className, ...props }, ref) => /* @__P
7402
7196
  }
7403
7197
  ));
7404
7198
  ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
7405
- var Toast = React59.forwardRef(({ className, variant, severity = "none", direction, ...props }, ref) => {
7406
- return /* @__PURE__ */ React59.createElement(
7199
+ var Toast = React57.forwardRef(({ className, variant, severity = "none", direction, ...props }, ref) => {
7200
+ return /* @__PURE__ */ React57.createElement(
7407
7201
  ToastPrimitives.Root,
7408
7202
  {
7409
7203
  ref,
@@ -7418,8 +7212,8 @@ var Toast = React59.forwardRef(({ className, variant, severity = "none", directi
7418
7212
  );
7419
7213
  });
7420
7214
  Toast.displayName = ToastPrimitives.Root.displayName;
7421
- var ToastAction = React59.forwardRef(({ className, ...props }, ref) => {
7422
- return /* @__PURE__ */ React59.createElement(
7215
+ var ToastAction = React57.forwardRef(({ className, ...props }, ref) => {
7216
+ return /* @__PURE__ */ React57.createElement(
7423
7217
  ToastPrimitives.Action,
7424
7218
  {
7425
7219
  ref,
@@ -7436,7 +7230,7 @@ var ToastAction = React59.forwardRef(({ className, ...props }, ref) => {
7436
7230
  );
7437
7231
  });
7438
7232
  ToastAction.displayName = ToastPrimitives.Action.displayName;
7439
- var ToastClose = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React59.createElement(
7233
+ var ToastClose = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React57.createElement(
7440
7234
  ToastPrimitives.Close,
7441
7235
  {
7442
7236
  ref,
@@ -7447,7 +7241,7 @@ var ToastClose = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE
7447
7241
  "toast-close": "",
7448
7242
  ...props
7449
7243
  },
7450
- /* @__PURE__ */ React59.createElement(
7244
+ /* @__PURE__ */ React57.createElement(
7451
7245
  "svg",
7452
7246
  {
7453
7247
  "aria-label": "Close Icon",
@@ -7456,7 +7250,7 @@ var ToastClose = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE
7456
7250
  fill: "currentColor",
7457
7251
  viewBox: "0 0 20 20"
7458
7252
  },
7459
- /* @__PURE__ */ React59.createElement(
7253
+ /* @__PURE__ */ React57.createElement(
7460
7254
  "path",
7461
7255
  {
7462
7256
  fillRule: "evenodd",
@@ -7467,7 +7261,7 @@ var ToastClose = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE
7467
7261
  )
7468
7262
  ));
7469
7263
  ToastClose.displayName = ToastPrimitives.Close.displayName;
7470
- var ToastTitle = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React59.createElement(
7264
+ var ToastTitle = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React57.createElement(
7471
7265
  ToastPrimitives.Title,
7472
7266
  {
7473
7267
  ref,
@@ -7479,7 +7273,7 @@ var ToastTitle = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE
7479
7273
  }
7480
7274
  ));
7481
7275
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
7482
- var ToastDescription = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React59.createElement(
7276
+ var ToastDescription = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React57.createElement(
7483
7277
  ToastPrimitives.Description,
7484
7278
  {
7485
7279
  ref,
@@ -7490,10 +7284,10 @@ var ToastDescription = React59.forwardRef(({ className, ...props }, ref) => /* @
7490
7284
  ToastDescription.displayName = ToastPrimitives.Description.displayName;
7491
7285
 
7492
7286
  // components/elements/Toaster.tsx
7493
- var import_react35 = __toESM(require("react"));
7287
+ var import_react33 = __toESM(require("react"));
7494
7288
 
7495
7289
  // components/hooks/useToast.ts
7496
- var React60 = __toESM(require("react"));
7290
+ var React58 = __toESM(require("react"));
7497
7291
  var TOAST_LIMIT = 5;
7498
7292
  var TOAST_REMOVE_DELAY = 1e5;
7499
7293
  var count = 0;
@@ -7589,8 +7383,8 @@ function toast({ ...props }) {
7589
7383
  };
7590
7384
  }
7591
7385
  function useToast() {
7592
- const [state, setState] = React60.useState(memoryState);
7593
- React60.useEffect(() => {
7386
+ const [state, setState] = React58.useState(memoryState);
7387
+ React58.useEffect(() => {
7594
7388
  listeners.push(setState);
7595
7389
  return () => {
7596
7390
  const index = listeners.indexOf(setState);
@@ -7610,9 +7404,9 @@ function useToast() {
7610
7404
  function Toaster(props) {
7611
7405
  const { toasts } = useToast();
7612
7406
  let isRTL = props.direction === "rtl";
7613
- return /* @__PURE__ */ import_react35.default.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, toasts.map(function({ id, title, description, action, ...toastProps }) {
7614
- return /* @__PURE__ */ import_react35.default.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ import_react35.default.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ import_react35.default.createElement(ToastTitle, null, title), description && /* @__PURE__ */ import_react35.default.createElement(ToastDescription, null, description)), action, /* @__PURE__ */ import_react35.default.createElement(ToastClose, null));
7615
- }), /* @__PURE__ */ import_react35.default.createElement(
7407
+ return /* @__PURE__ */ import_react33.default.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, toasts.map(function({ id, title, description, action, ...toastProps }) {
7408
+ return /* @__PURE__ */ import_react33.default.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ import_react33.default.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ import_react33.default.createElement(ToastTitle, null, title), description && /* @__PURE__ */ import_react33.default.createElement(ToastDescription, null, description)), action, /* @__PURE__ */ import_react33.default.createElement(ToastClose, null));
7409
+ }), /* @__PURE__ */ import_react33.default.createElement(
7616
7410
  ToastViewport,
7617
7411
  {
7618
7412
  className: cn("hawa-gap-2", isRTL && "hawa-fixed hawa-left-0")
@@ -7620,158 +7414,21 @@ function Toaster(props) {
7620
7414
  ));
7621
7415
  }
7622
7416
 
7623
- // components/elements/Breadcrumb.tsx
7624
- var import_react36 = __toESM(require("react"));
7625
- var Breadcrumb = ({
7626
- breadcrumbLinks,
7627
- separator = ">"
7628
- }) => {
7629
- return /* @__PURE__ */ import_react36.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm" }, breadcrumbLinks.map((singleBreadcrumbLink, index) => /* @__PURE__ */ import_react36.default.createElement(
7630
- "div",
7631
- {
7632
- key: index,
7633
- className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2"
7634
- },
7635
- /* @__PURE__ */ import_react36.default.createElement(
7636
- "a",
7637
- {
7638
- href: singleBreadcrumbLink.href,
7639
- className: index + 1 === breadcrumbLinks.length ? "hawa-pointer-events-none" : "hawa-underline-offset-4 hawa-transition-all hover:hawa-text-primary hover:hawa-underline hover:hawa-decoration-2"
7640
- },
7641
- singleBreadcrumbLink.label
7642
- ),
7643
- index != breadcrumbLinks.length - 1 ? typeof separator == "string" ? /* @__PURE__ */ import_react36.default.createElement("div", null, separator) : /* @__PURE__ */ import_react36.default.createElement("div", null, separator) : null
7644
- )));
7645
- };
7646
-
7647
- // components/elements/Badge.tsx
7648
- var import_react37 = __toESM(require("react"));
7649
- var Badge = ({
7650
- anchor,
7651
- position = "right",
7652
- size = "default",
7653
- text,
7654
- className
7655
- }) => {
7656
- const [badgePosition, setBadgePosition] = (0, import_react37.useState)(null);
7657
- const indicatorRef = (0, import_react37.useRef)(null);
7658
- const sizeStyles = {
7659
- small: { top: 4, left: 6, right: 7, classes: "hawa-w-3 hawa-h-3" },
7660
- default: { top: 4, left: 7, right: 5, classes: "hawa-w-3 hawa-h-3" },
7661
- large: { top: 6, left: 12, right: 7, classes: "hawa-w-6 hawa-h-6" }
7662
- };
7663
- (0, import_react37.useEffect)(() => {
7664
- const handlePositioning = () => {
7665
- var _a;
7666
- if (anchor.current && indicatorRef.current) {
7667
- const rect = anchor.current.getBoundingClientRect();
7668
- const parentRect = (_a = indicatorRef.current.parentElement) == null ? void 0 : _a.getBoundingClientRect();
7669
- const style = window.getComputedStyle(anchor.current);
7670
- const marginTop = parseFloat(style.marginTop.replace("px", ""));
7671
- const marginRight = parseFloat(style.marginRight.replace("px", ""));
7672
- if (parentRect) {
7673
- setBadgePosition({
7674
- top: rect.top - parentRect.top - marginTop - sizeStyles[size].top,
7675
- left: position === "right" ? parentRect.right - parentRect.left - sizeStyles[size].left : rect.right - parentRect.left - parentRect.width - marginRight - sizeStyles[size].right
7676
- });
7677
- }
7678
- }
7679
- };
7680
- handlePositioning();
7681
- window.addEventListener("resize", handlePositioning);
7682
- return () => {
7683
- window.removeEventListener("resize", handlePositioning);
7684
- };
7685
- }, [anchor]);
7686
- return /* @__PURE__ */ import_react37.default.createElement("div", { ref: indicatorRef, className: cn("hawa-relative", className) }, badgePosition && /* @__PURE__ */ import_react37.default.createElement(
7687
- "div",
7688
- {
7689
- style: {
7690
- position: "absolute",
7691
- top: badgePosition == null ? void 0 : badgePosition.top,
7692
- left: badgePosition == null ? void 0 : badgePosition.left
7693
- },
7694
- className: cn(
7695
- "hawa-origin-center hawa-rounded-full hawa-bg-red-500 ",
7696
- sizeStyles[size].classes,
7697
- "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-text-[9px] hawa-text-white"
7698
- )
7699
- },
7700
- size === "large" && text && text
7701
- ));
7702
- };
7703
- var BadgedComponent = ({
7704
- children,
7705
- className,
7706
- hideBadge,
7707
- position,
7708
- size,
7709
- text
7710
- }) => {
7711
- const ref = (0, import_react37.useRef)(null);
7712
- return /* @__PURE__ */ import_react37.default.createElement("div", { className: cn("hawa-relative hawa-w-fit", className), ref }, !hideBadge && /* @__PURE__ */ import_react37.default.createElement(
7713
- Badge,
7714
- {
7715
- size,
7716
- text,
7717
- position,
7718
- anchor: ref,
7719
- className: "hawa-z-10"
7720
- }
7721
- ), children);
7722
- };
7723
-
7724
- // components/elements/AppStores.tsx
7725
- var import_react38 = __toESM(require("react"));
7726
- var AppStores = (props) => {
7727
- return /* @__PURE__ */ import_react38.default.createElement("div", { className: "hawa-flex hawa-justify-center" }, /* @__PURE__ */ import_react38.default.createElement("div", null, props.store === "apple" ? /* @__PURE__ */ import_react38.default.createElement("div", { className: "hawa-mt-3 hawa-flex hawa-h-14 hawa-w-48 hawa-items-center hawa-justify-center hawa-rounded-lg hawa-bg-black hawa-text-white dark:hawa-bg-white dark:hawa-text-black" }, /* @__PURE__ */ import_react38.default.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ import_react38.default.createElement("svg", { viewBox: "0 0 384 512", width: "30" }, /* @__PURE__ */ import_react38.default.createElement(
7728
- "path",
7729
- {
7730
- fill: "currentColor",
7731
- d: "M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"
7732
- }
7733
- ))), /* @__PURE__ */ import_react38.default.createElement("div", null, /* @__PURE__ */ import_react38.default.createElement("div", { className: "hawa-text-xs" }, "Download on the"), /* @__PURE__ */ import_react38.default.createElement("div", { className: "hawa--mt-1 hawa-font-sans hawa-text-2xl hawa-font-semibold" }, "App Store"))) : /* @__PURE__ */ import_react38.default.createElement("div", { className: "hawa-mt-3 hawa-flex hawa-h-14 hawa-w-48 hawa-items-center hawa-justify-center hawa-rounded-lg hawa-border hawa-border-black hawa-bg-black hawa-text-white dark:hawa-bg-white dark:hawa-text-black" }, /* @__PURE__ */ import_react38.default.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ import_react38.default.createElement("svg", { viewBox: "30 336.7 120.9 129.2", width: "30" }, /* @__PURE__ */ import_react38.default.createElement(
7734
- "path",
7735
- {
7736
- fill: "#FFD400",
7737
- d: "M119.2,421.2c15.3-8.4,27-14.8,28-15.3c3.2-1.7,6.5-6.2,0-9.7 c-2.1-1.1-13.4-7.3-28-15.3l-20.1,20.2L119.2,421.2z"
7738
- }
7739
- ), /* @__PURE__ */ import_react38.default.createElement(
7740
- "path",
7741
- {
7742
- fill: "#FF3333",
7743
- d: "M99.1,401.1l-64.2,64.7c1.5,0.2,3.2-0.2,5.2-1.3 c4.2-2.3,48.8-26.7,79.1-43.3L99.1,401.1L99.1,401.1z"
7744
- }
7745
- ), /* @__PURE__ */ import_react38.default.createElement(
7746
- "path",
7747
- {
7748
- fill: "#48FF48",
7749
- d: "M99.1,401.1l20.1-20.2c0,0-74.6-40.7-79.1-43.1 c-1.7-1-3.6-1.3-5.3-1L99.1,401.1z"
7750
- }
7751
- ), /* @__PURE__ */ import_react38.default.createElement(
7752
- "path",
7753
- {
7754
- fill: "#3BCCFF",
7755
- d: "M99.1,401.1l-64.3-64.3c-2.6,0.6-4.8,2.9-4.8,7.6 c0,7.5,0,107.5,0,113.8c0,4.3,1.7,7.4,4.9,7.7L99.1,401.1z"
7756
- }
7757
- ))), /* @__PURE__ */ import_react38.default.createElement("div", null, /* @__PURE__ */ import_react38.default.createElement("div", { className: "hawa-text-xs" }, "GET IT ON"), /* @__PURE__ */ import_react38.default.createElement("div", { className: "hawa--mt-1 hawa-font-sans hawa-text-xl hawa-font-semibold" }, "Google Play")))));
7758
- };
7759
-
7760
7417
  // components/elements/DestroyableCard.tsx
7761
- var import_react39 = __toESM(require("react"));
7418
+ var import_react34 = __toESM(require("react"));
7762
7419
  var DestroyableCard = ({
7763
7420
  position = "bottom-right",
7764
7421
  fixed,
7765
7422
  direction,
7766
7423
  ...props
7767
7424
  }) => {
7768
- const [closed, setClosed] = (0, import_react39.useState)(false);
7769
- const popUpRef = (0, import_react39.useRef)(null);
7425
+ const [closed, setClosed] = (0, import_react34.useState)(false);
7426
+ const popUpRef = (0, import_react34.useRef)(null);
7770
7427
  const boxPosition = {
7771
7428
  "bottom-right": "hawa-right-4 hawa-bottom-4",
7772
7429
  "bottom-left": "hawa-left-4 hawa-bottom-4"
7773
7430
  };
7774
- return /* @__PURE__ */ import_react39.default.createElement(
7431
+ return /* @__PURE__ */ import_react34.default.createElement(
7775
7432
  "div",
7776
7433
  {
7777
7434
  className: cn(
@@ -7780,7 +7437,7 @@ var DestroyableCard = ({
7780
7437
  ),
7781
7438
  ref: popUpRef
7782
7439
  },
7783
- /* @__PURE__ */ import_react39.default.createElement(
7440
+ /* @__PURE__ */ import_react34.default.createElement(
7784
7441
  Card,
7785
7442
  {
7786
7443
  className: cn(
@@ -7789,7 +7446,7 @@ var DestroyableCard = ({
7789
7446
  ),
7790
7447
  dir: direction
7791
7448
  },
7792
- /* @__PURE__ */ import_react39.default.createElement(
7449
+ /* @__PURE__ */ import_react34.default.createElement(
7793
7450
  "button",
7794
7451
  {
7795
7452
  type: "button",
@@ -7808,7 +7465,7 @@ var DestroyableCard = ({
7808
7465
  }, 200);
7809
7466
  }
7810
7467
  },
7811
- /* @__PURE__ */ import_react39.default.createElement(
7468
+ /* @__PURE__ */ import_react34.default.createElement(
7812
7469
  "svg",
7813
7470
  {
7814
7471
  "aria-hidden": "true",
@@ -7816,7 +7473,7 @@ var DestroyableCard = ({
7816
7473
  fill: "currentColor",
7817
7474
  viewBox: "0 0 20 20"
7818
7475
  },
7819
- /* @__PURE__ */ import_react39.default.createElement(
7476
+ /* @__PURE__ */ import_react34.default.createElement(
7820
7477
  "path",
7821
7478
  {
7822
7479
  fillRule: "evenodd",
@@ -7826,13 +7483,13 @@ var DestroyableCard = ({
7826
7483
  )
7827
7484
  )
7828
7485
  ),
7829
- /* @__PURE__ */ import_react39.default.createElement(CardContent, { headless: true }, props.children)
7486
+ /* @__PURE__ */ import_react34.default.createElement(CardContent, { headless: true }, props.children)
7830
7487
  )
7831
7488
  );
7832
7489
  };
7833
7490
 
7834
7491
  // components/elements/InterfaceSettings.tsx
7835
- var import_react40 = __toESM(require("react"));
7492
+ var import_react35 = __toESM(require("react"));
7836
7493
  var InterfaceSettings = ({
7837
7494
  orientation = "horizontal",
7838
7495
  width = "default",
@@ -7840,13 +7497,13 @@ var InterfaceSettings = ({
7840
7497
  handleLanguage,
7841
7498
  ...props
7842
7499
  }) => {
7843
- const [color, setColor] = (0, import_react40.useState)(props.currentColorMode);
7844
- const [language, setLanguage] = (0, import_react40.useState)(props.currentLanguage);
7500
+ const [color, setColor] = (0, import_react35.useState)(props.currentColorMode);
7501
+ const [language, setLanguage] = (0, import_react35.useState)(props.currentLanguage);
7845
7502
  let orientationStyle = {
7846
7503
  horizontal: "hawa-flex hawa-flex-row hawa-justify-between",
7847
7504
  vertical: "hawa-flex hawa-flex-col hawa-items-center hawa-gap-2"
7848
7505
  };
7849
- return /* @__PURE__ */ import_react40.default.createElement("div", { className: cn(orientationStyle[orientation]) }, /* @__PURE__ */ import_react40.default.createElement(
7506
+ return /* @__PURE__ */ import_react35.default.createElement("div", { className: cn(orientationStyle[orientation]) }, /* @__PURE__ */ import_react35.default.createElement(
7850
7507
  Radio,
7851
7508
  {
7852
7509
  width,
@@ -7863,7 +7520,7 @@ var InterfaceSettings = ({
7863
7520
  { value: "en", label: "English" }
7864
7521
  ]
7865
7522
  }
7866
- ), /* @__PURE__ */ import_react40.default.createElement(
7523
+ ), /* @__PURE__ */ import_react35.default.createElement(
7867
7524
  Radio,
7868
7525
  {
7869
7526
  width,
@@ -7878,7 +7535,7 @@ var InterfaceSettings = ({
7878
7535
  options: [
7879
7536
  {
7880
7537
  value: "light",
7881
- label: /* @__PURE__ */ import_react40.default.createElement(
7538
+ label: /* @__PURE__ */ import_react35.default.createElement(
7882
7539
  "svg",
7883
7540
  {
7884
7541
  width: "15",
@@ -7888,7 +7545,7 @@ var InterfaceSettings = ({
7888
7545
  xmlns: "http://www.w3.org/2000/svg",
7889
7546
  className: "hawa-h-[1.2rem] hawa-w-[1.2rem] hawa-rotate-0 hawa-scale-100 hawa-transition-all dark:hawa--rotate-90"
7890
7547
  },
7891
- /* @__PURE__ */ import_react40.default.createElement(
7548
+ /* @__PURE__ */ import_react35.default.createElement(
7892
7549
  "path",
7893
7550
  {
7894
7551
  d: "M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.1938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z",
@@ -7899,7 +7556,7 @@ var InterfaceSettings = ({
7899
7556
  },
7900
7557
  {
7901
7558
  value: "dark",
7902
- label: /* @__PURE__ */ import_react40.default.createElement(
7559
+ label: /* @__PURE__ */ import_react35.default.createElement(
7903
7560
  "svg",
7904
7561
  {
7905
7562
  xmlns: "http://www.w3.org/2000/svg",
@@ -7910,7 +7567,7 @@ var InterfaceSettings = ({
7910
7567
  stroke: "currentColor",
7911
7568
  className: "hawa-h-[1.2rem] hawa-w-[1.2rem] hawa-transition-all dark:hawa-rotate-0 dark:hawa-scale-100"
7912
7569
  },
7913
- /* @__PURE__ */ import_react40.default.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
7570
+ /* @__PURE__ */ import_react35.default.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
7914
7571
  )
7915
7572
  }
7916
7573
  ]
@@ -7924,8 +7581,6 @@ var InterfaceSettings = ({
7924
7581
  AccordionItem,
7925
7582
  AccordionRoot,
7926
7583
  AccordionTrigger,
7927
- ActionCard,
7928
- AdCard,
7929
7584
  Alert,
7930
7585
  AppStores,
7931
7586
  Avatar,
@@ -7992,9 +7647,7 @@ var InterfaceSettings = ({
7992
7647
  FileUploader,
7993
7648
  Input,
7994
7649
  InterfaceSettings,
7995
- ItemCard,
7996
7650
  Label,
7997
- LandingCard,
7998
7651
  Loading,
7999
7652
  Logos,
8000
7653
  NavigationMenu,
@@ -8014,7 +7667,6 @@ var InterfaceSettings = ({
8014
7667
  Popover,
8015
7668
  PopoverContent,
8016
7669
  PopoverTrigger,
8017
- PricingCard,
8018
7670
  Progress,
8019
7671
  ProgressCircle,
8020
7672
  Radio,