@sikka/hawa 0.2.40-next → 0.2.42-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.
package/dist/index.mjs CHANGED
@@ -157,15 +157,7 @@ import * as React3 from "react";
157
157
  import * as DialogPrimitive from "@radix-ui/react-dialog";
158
158
  var Dialog = DialogPrimitive.Root;
159
159
  var DialogTrigger = DialogPrimitive.Trigger;
160
- var DialogPortal = ({
161
- // className,
162
- ...props
163
- }) => /* @__PURE__ */ React3.createElement(
164
- DialogPrimitive.Portal,
165
- {
166
- ...props
167
- }
168
- );
160
+ var DialogPortal = ({ ...props }) => /* @__PURE__ */ React3.createElement(DialogPrimitive.Portal, { ...props });
169
161
  DialogPortal.displayName = DialogPrimitive.Portal.displayName;
170
162
  var DialogOverlay = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
171
163
  DialogPrimitive.Overlay,
@@ -616,18 +608,18 @@ import * as React9 from "react";
616
608
  import * as ToastPrimitives from "@radix-ui/react-toast";
617
609
  import { cva as cva2 } from "class-variance-authority";
618
610
  var toastVariants = cva2(
619
- "group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
611
+ "hawa-group hawa-pointer-events-auto hawa-relative hawa-flex hawa-w-full hawa-items-center hawa-justify-between hawa-space-x-4 hawa-overflow-hidden hawa-rounded-md hawa-border hawa-shadow-lg hawa-transition-all data-[swipe=cancel]:hawa-translate-x-0 data-[swipe=end]:hawa-translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:hawa-translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:hawa-transition-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[swipe=end]:hawa-animate-out data-[state=closed]:hawa-fade-out-80 data-[state=open]:hawa-slide-in-from-top-full data-[state=open]:sm:hawa-slide-in-from-bottom-full",
620
612
  {
621
613
  variants: {
622
614
  variant: {
623
- default: "border bg-background text-foreground",
624
- destructive: "destructive group border-destructive bg-destructive text-destructive-foreground"
615
+ default: "hawa-border hawa-bg-background hawa-text-foreground",
616
+ destructive: "hawa-destructive hawa-group hawa-border-destructive hawa-bg-destructive hawa-text-destructive-foreground"
625
617
  },
626
618
  severity: {
627
- info: "info group text-info-foreground bg-info",
628
- warning: "warning group text-warning-foreground bg-warning",
629
- error: "error group border-error bg-error text-error-foreground",
630
- success: "success group text-success-foreground bg-success",
619
+ info: "hawa-info hawa-group hawa-text-info-foreground hawa-bg-info",
620
+ warning: "hawa-warning hawa-group hawa-text-warning-foreground hawa-bg-warning",
621
+ error: "hawa-error hawa-group hawa-border-error hawa-bg-error hawa-text-error-foreground",
622
+ success: "hawa-success hawa-group hawa-text-success-foreground hawa-bg-success",
631
623
  none: ""
632
624
  }
633
625
  },
@@ -642,7 +634,7 @@ var ToastViewport = React9.forwardRef(({ className, ...props }, ref) => /* @__PU
642
634
  {
643
635
  ref,
644
636
  className: cn(
645
- "fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",
637
+ "hawa-fixed hawa-top-0 hawa-z-[100] hawa-flex hawa-max-h-screen hawa-w-full hawa-flex-col-reverse hawa-p-4 sm:hawa-bottom-0 sm:hawa-right-0 sm:hawa-top-auto sm:hawa-flex-col md:hawa-max-w-[420px]",
646
638
  className
647
639
  ),
648
640
  ...props
@@ -657,7 +649,7 @@ var Toast = React9.forwardRef(({ className, variant, severity = "none", directio
657
649
  className: cn(
658
650
  toastVariants({ variant, severity }),
659
651
  className,
660
- direction === "rtl" ? "p-6 pl-0 pr-10 data-[state=closed]:slide-out-to-left-full" : "p-6 pr-8 data-[state=closed]:slide-out-to-right-full"
652
+ direction === "rtl" ? "hawa-p-6 hawa-pl-0 hawa-pr-10 data-[state=closed]:hawa-slide-out-to-left-full" : "hawa-p-6 hawa-pr-8 data-[state=closed]:hawa-slide-out-to-right-full"
661
653
  ),
662
654
  dir: direction,
663
655
  ...props
@@ -671,11 +663,11 @@ var ToastAction = React9.forwardRef(({ className, ...props }, ref) => {
671
663
  {
672
664
  ref,
673
665
  className: cn(
674
- "inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
675
- "group-[.info]:border-muted/40 group-[.info]:hover:border-info/30 group-[.info]:hover:bg-info group-[.info]:hover:text-info-foreground group-[.info]:focus:ring-info",
676
- "group-[.error]:border-muted/40 group-[.error]:hover:border-error/30 group-[.error]:hover:bg-error group-[.error]:hover:text-error-foreground group-[.error]:focus:ring-error",
677
- "group-[.success]:border-muted/40 group-[.success]:hover:border-success/30 group-[.success]:hover:bg-success group-[.success]:hover:text-success-foreground group-[.success]:focus:ring-success",
678
- "group-[.warning]:border-muted/40 group-[.warning]:hover:border-warning/30 group-[.warning]:hover:bg-warning group-[.warning]:hover:text-warning-foreground group-[.warning]:focus:ring-warning",
666
+ "hawa-inline-flex hawa-h-8 hawa-shrink-0 hawa-items-center hawa-justify-center hawa-rounded-md hawa-border hawa-bg-transparent hawa-px-3 hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-colors hover:hawa-bg-secondary hover:hawa-text-secondary-foreground focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
667
+ "group-[.info]:hawa-border-muted/40 group-[.info]:hover:hawa-border-info/30 group-[.info]:hover:hawa-bg-info group-[.info]:hover:hawa-text-info-foreground group-[.info]:focus:hawa-ring-info",
668
+ "group-[.error]:hawa-border-muted/40 group-[.error]:hover:hawa-border-error/30 group-[.error]:hover:hawa-bg-error group-[.error]:hover:hawa-text-error-foreground group-[.error]:focus:hawa-ring-error",
669
+ "group-[.success]:hawa-border-muted/40 group-[.success]:hover:hawa-border-success/30 group-[.success]:hover:hawa-bg-success group-[.success]:hover:hawa-text-success-foreground group-[.success]:focus:hawa-ring-success",
670
+ "group-[.warning]:hawa-border-muted/40 group-[.warning]:hover:hawa-border-warning/30 group-[.warning]:hover:hawa-bg-warning group-[.warning]:hover:hawa-text-warning-foreground group-[.warning]:focus:hawa-ring-warning",
679
671
  className
680
672
  ),
681
673
  ...props
@@ -688,7 +680,7 @@ var ToastClose = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE_
688
680
  {
689
681
  ref,
690
682
  className: cn(
691
- "absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",
683
+ "hawa-absolute hawa-right-2 hawa-top-2 hawa-rounded-md hawa-p-1 hawa-text-foreground/50 hawa-opacity-0 hawa-transition-opacity hover:hawa-text-foreground focus:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 group-hover:hawa-opacity-100 group-[.destructive]:hawa-text-red-300 group-[.destructive]:hover:hawa-text-red-50 group-[.destructive]:focus:hawa-ring-red-400 group-[.destructive]:focus:hawa-ring-offset-red-600",
692
684
  className
693
685
  ),
694
686
  "toast-close": "",
@@ -699,7 +691,7 @@ var ToastClose = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE_
699
691
  {
700
692
  "aria-label": "Close Icon",
701
693
  "aria-hidden": "true",
702
- className: "h-4 w-4",
694
+ className: "hawa-h-4 hawa-w-4",
703
695
  fill: "currentColor",
704
696
  viewBox: "0 0 20 20"
705
697
  },
@@ -718,7 +710,7 @@ var ToastTitle = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE_
718
710
  ToastPrimitives.Title,
719
711
  {
720
712
  ref,
721
- className: cn("text-sm font-semibold", className),
713
+ className: cn("hawa-text-sm hawa-font-semibold", className),
722
714
  ...props
723
715
  }
724
716
  ));
@@ -727,7 +719,7 @@ var ToastDescription = React9.forwardRef(({ className, ...props }, ref) => /* @_
727
719
  ToastPrimitives.Description,
728
720
  {
729
721
  ref,
730
- className: cn("text-sm opacity-90", className),
722
+ className: cn("hawa-text-sm hawa-opacity-90", className),
731
723
  ...props
732
724
  }
733
725
  ));
@@ -855,8 +847,13 @@ function Toaster(props) {
855
847
  const { toasts } = useToast();
856
848
  let isRTL = props.direction === "rtl";
857
849
  return /* @__PURE__ */ React11.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, toasts.map(function({ id, title, description, action, ...toastProps }) {
858
- return /* @__PURE__ */ React11.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ React11.createElement("div", { className: "grid gap-1 text-start" }, title && /* @__PURE__ */ React11.createElement(ToastTitle, null, title), description && /* @__PURE__ */ React11.createElement(ToastDescription, null, description)), action, /* @__PURE__ */ React11.createElement(ToastClose, null));
859
- }), /* @__PURE__ */ React11.createElement(ToastViewport, { className: cn("gap-2", isRTL && "fixed left-0") }));
850
+ return /* @__PURE__ */ React11.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ React11.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ React11.createElement(ToastTitle, null, title), description && /* @__PURE__ */ React11.createElement(ToastDescription, null, description)), action, /* @__PURE__ */ React11.createElement(ToastClose, null));
851
+ }), /* @__PURE__ */ React11.createElement(
852
+ ToastViewport,
853
+ {
854
+ className: cn("hawa-gap-2", isRTL && "hawa-fixed hawa-left-0")
855
+ }
856
+ ));
860
857
  }
861
858
 
862
859
  // components/elements/Switch.tsx
@@ -1058,14 +1055,289 @@ var Radio = ({
1058
1055
  }
1059
1056
  };
1060
1057
 
1058
+ // components/elements/Skeleton.tsx
1059
+ import React14 from "react";
1060
+ function Skeleton({ className, animation = "pulse", ...props }) {
1061
+ return /* @__PURE__ */ React14.createElement(
1062
+ "div",
1063
+ {
1064
+ className: cn(
1065
+ animation === "pulse" ? "hawa-animate-pulse hawa-rounded hawa-bg-muted" : "hawa-space-y-5 hawa-rounded hawa-bg-muted hawa-p-4 hawa-relative before:hawa-absolute before:hawa-inset-0 before:hawa--translate-x-full before:hawa-animate-[shimmer_2s_infinite] before:hawa-bg-gradient-to-r before:hawa-from-transparent before:hawa-via-gray-300/40 dark:before:hawa-via-white/10 before:hawa-to-transparent hawa-isolate hawa-overflow-hidden before:hawa-border-t before:hawa-border-rose-100/10",
1066
+ className
1067
+ ),
1068
+ ...props
1069
+ }
1070
+ );
1071
+ }
1072
+ {
1073
+ }
1074
+
1075
+ // components/elements/Chip.tsx
1076
+ import React15 from "react";
1077
+ import clsx3 from "clsx";
1078
+ var Chip = ({
1079
+ label,
1080
+ size = "normal",
1081
+ icon,
1082
+ color,
1083
+ dot,
1084
+ dotType = "available"
1085
+ }) => {
1086
+ let defaultStyles = "hawa-flex hawa-flex-row hawa-w-fit hawa-gap-1 hawa-items-center hawa-rounded hawa-px-2.5 hawa-py-0.5 hawa-font-bold hawa-text-blue-800 hawa-bg-blue-200 dark:hawa-text-blue-800";
1087
+ let sizeStyles = {
1088
+ small: "hawa-h-full hawa-leading-4 hawa-px-1 hawa-py-0 hawa-text-[9px] hawa-gap-0.5 ",
1089
+ normal: "hawa-h-fit hawa-text-xs",
1090
+ large: ""
1091
+ };
1092
+ let dotStyles = {
1093
+ small: "hawa-flex hawa-h-1 hawa-w-1 hawa-rounded-full",
1094
+ normal: "hawa-flex hawa-h-2 hawa-w-2 hawa-rounded-full",
1095
+ large: "hawa-flex hawa-h-3 hawa-w-3 hawa-rounded-full"
1096
+ };
1097
+ let dotTypeStyles = {
1098
+ available: "hawa-bg-green-500",
1099
+ unavailable: "hawa-bg-red-500"
1100
+ };
1101
+ return /* @__PURE__ */ React15.createElement(
1102
+ "span",
1103
+ {
1104
+ className: clsx3(
1105
+ defaultStyles,
1106
+ sizeStyles[size],
1107
+ color ? `hawa-bg-${color}-100 hawa-text-${color}-500` : "hawa-bg-layoutPrimary-500"
1108
+ )
1109
+ },
1110
+ dot && /* @__PURE__ */ React15.createElement("span", { className: clsx3(dotStyles[size], dotTypeStyles[dotType]) }),
1111
+ icon && icon,
1112
+ label
1113
+ );
1114
+ };
1115
+
1116
+ // components/elements/Label.tsx
1117
+ import * as React16 from "react";
1118
+ import * as LabelPrimitive from "@radix-ui/react-label";
1119
+ import { cva as cva3 } from "class-variance-authority";
1120
+ var labelVariants = cva3(
1121
+ "hawa-text-sm hawa-font-medium hawa-leading-none peer-disabled:hawa-cursor-not-allowed peer-disabled:hawa-opacity-70"
1122
+ );
1123
+ var Label = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React16.createElement(
1124
+ LabelPrimitive.Root,
1125
+ {
1126
+ ref,
1127
+ className: cn(labelVariants(), className),
1128
+ ...props
1129
+ }
1130
+ ));
1131
+ Label.displayName = LabelPrimitive.Root.displayName;
1132
+
1133
+ // components/elements/Alert.tsx
1134
+ import React17, { useRef as useRef3, useState as useState6, useEffect as useEffect4 } from "react";
1135
+ import clsx4 from "clsx";
1136
+ var Alert = ({
1137
+ variant = "normal",
1138
+ direction = "ltr",
1139
+ severity = "info",
1140
+ duration,
1141
+ icon,
1142
+ className,
1143
+ ...props
1144
+ }) => {
1145
+ const alertRef = useRef3(null);
1146
+ const [closed, setClosed] = useState6(false);
1147
+ useEffect4(() => {
1148
+ if (duration) {
1149
+ const timeoutHide = setTimeout(() => {
1150
+ setClosed(true);
1151
+ }, duration);
1152
+ const timeoutDestroy = setTimeout(() => {
1153
+ setClosed(true);
1154
+ if (alertRef?.current) {
1155
+ alertRef?.current.removeChild(alertRef?.current.children[0]);
1156
+ }
1157
+ }, duration + 1e3);
1158
+ return () => {
1159
+ clearTimeout(timeoutHide);
1160
+ clearTimeout(timeoutDestroy);
1161
+ };
1162
+ }
1163
+ }, [duration]);
1164
+ let closeButtonStyle = {
1165
+ none: "hover:hawa-bg-gray-300",
1166
+ info: "hover:hawa-bg-blue-300",
1167
+ warning: "hover:hawa-bg-yellow-300",
1168
+ error: "hover:hawa-bg-red-300",
1169
+ success: "hover:hawa-bg-green-300"
1170
+ };
1171
+ let styleVariant = {
1172
+ // normal: {
1173
+ none: "hawa-text-gray-700 hawa-bg-gray-100 dark:hawa-bg-gray-200 dark:hawa-text-gray-800",
1174
+ info: "hawa-text-blue-700 hawa-bg-blue-100 dark:hawa-bg-blue-200 dark:hawa-text-blue-800",
1175
+ warning: "hawa-text-yellow-700 hawa-bg-yellow-100 dark:hawa-bg-yellow-200 dark:hawa-text-yellow-800",
1176
+ error: "hawa-text-red-700 hawa-bg-red-100 dark:hawa-bg-red-200 dark:hawa-text-red-800",
1177
+ success: "hawa-text-green-700 hawa-bg-green-100 dark:hawa-bg-green-200 dark:hawa-text-green-800"
1178
+ };
1179
+ return /* @__PURE__ */ React17.createElement("div", { ref: alertRef }, /* @__PURE__ */ React17.createElement(
1180
+ "div",
1181
+ {
1182
+ className: clsx4(
1183
+ "hawa-relative hawa-mb-4 hawa-flex hawa-flex-col hawa-rounded hawa-p-4 hawa-text-sm hawa-transition-all",
1184
+ styleVariant[severity],
1185
+ closed ? "hawa-opacity-0" : "hawa-opacity-100",
1186
+ className
1187
+ ),
1188
+ role: "alert",
1189
+ dir: direction
1190
+ },
1191
+ /* @__PURE__ */ React17.createElement("div", { className: "hawa-flex hawa-flex-row" }, icon && /* @__PURE__ */ React17.createElement(
1192
+ "div",
1193
+ {
1194
+ className: direction === "rtl" ? "hawa-pl-2 hawa-pt-1" : "hawa-pr-2 hawa-pt-1"
1195
+ },
1196
+ icon
1197
+ ), /* @__PURE__ */ React17.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React17.createElement(
1198
+ "span",
1199
+ {
1200
+ className: clsx4(
1201
+ "font-medium",
1202
+ direction === "rtl" ? "hawa-ml-8" : "hawa-mr-8"
1203
+ )
1204
+ },
1205
+ props.title
1206
+ ), /* @__PURE__ */ React17.createElement("span", null, props.text), props.actions && /* @__PURE__ */ React17.createElement("div", { className: "hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2" }, props.actions.map((act, index) => /* @__PURE__ */ React17.createElement(
1207
+ Button,
1208
+ {
1209
+ key: index,
1210
+ variant: act.variant,
1211
+ onClick: act.onClick()
1212
+ },
1213
+ act.label
1214
+ ))))),
1215
+ !props.persistant && /* @__PURE__ */ React17.createElement(
1216
+ "button",
1217
+ {
1218
+ type: "button",
1219
+ className: clsx4(
1220
+ "hawa-absolute hawa-top-2 hawa-inline-flex hawa-h-9 hawa-w-9 hawa-items-center hawa-justify-center hawa-rounded-inner hawa-p-1.5 hawa-text-gray-400 hawa-transition-all hover:hawa-text-gray-900",
1221
+ closeButtonStyle[severity],
1222
+ direction === "rtl" ? "hawa-left-2" : "hawa-right-2"
1223
+ ),
1224
+ "data-dismiss-target": "#alert-default",
1225
+ "aria-label": "Close",
1226
+ onClick: () => {
1227
+ setClosed(true);
1228
+ setTimeout(() => {
1229
+ if (alertRef?.current) {
1230
+ alertRef?.current.removeChild(alertRef?.current.children[0]);
1231
+ }
1232
+ }, 200);
1233
+ }
1234
+ },
1235
+ /* @__PURE__ */ React17.createElement("span", { className: "sr-only" }, "Close"),
1236
+ /* @__PURE__ */ React17.createElement(
1237
+ "svg",
1238
+ {
1239
+ "aria-label": "Close Icon",
1240
+ "aria-hidden": "true",
1241
+ className: "hawa-h-5 hawa-w-5",
1242
+ fill: "currentColor",
1243
+ viewBox: "0 0 20 20"
1244
+ },
1245
+ /* @__PURE__ */ React17.createElement(
1246
+ "path",
1247
+ {
1248
+ fillRule: "evenodd",
1249
+ d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
1250
+ clipRule: "evenodd"
1251
+ }
1252
+ )
1253
+ )
1254
+ )
1255
+ ));
1256
+ };
1257
+
1258
+ // components/elements/Popover.tsx
1259
+ import * as React18 from "react";
1260
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
1261
+ var PopoverContent = React18.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React18.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React18.createElement(
1262
+ PopoverPrimitive.Content,
1263
+ {
1264
+ ref,
1265
+ align,
1266
+ sideOffset,
1267
+ className: cn(
1268
+ "hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-p-4 hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2 dark:hawa-shadow-dark",
1269
+ className
1270
+ ),
1271
+ ...props
1272
+ }
1273
+ )));
1274
+ PopoverContent.displayName = PopoverPrimitive.Content.displayName;
1275
+ var Popover = ({
1276
+ trigger,
1277
+ children,
1278
+ className,
1279
+ align = "center",
1280
+ side,
1281
+ sideOffset = 4,
1282
+ open,
1283
+ disableTrigger,
1284
+ ...props
1285
+ }) => /* @__PURE__ */ React18.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React18.createElement(PopoverPrimitive.Trigger, { disabled: disableTrigger }, trigger), /* @__PURE__ */ React18.createElement(
1286
+ PopoverContent,
1287
+ {
1288
+ side,
1289
+ className,
1290
+ align,
1291
+ sideOffset
1292
+ },
1293
+ children
1294
+ ));
1295
+
1296
+ // components/elements/Textarea.tsx
1297
+ import * as React19 from "react";
1298
+ var Textarea = React19.forwardRef(
1299
+ ({ className, ...props }, ref) => {
1300
+ return /* @__PURE__ */ React19.createElement(
1301
+ "textarea",
1302
+ {
1303
+ className: cn(
1304
+ "hawa-flex hawa-min-h-[80px] hawa-w-full hawa-rounded-md hawa-border hawa-border-input hawa-bg-background hawa-px-3 hawa-py-2 hawa-text-sm hawa-ring-offset-background placeholder:hawa-text-muted-foreground focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-cursor-not-allowed disabled:hawa-opacity-50",
1305
+ className
1306
+ ),
1307
+ ref,
1308
+ ...props
1309
+ }
1310
+ );
1311
+ }
1312
+ );
1313
+ Textarea.displayName = "Textarea";
1314
+
1315
+ // components/elements/Slider.tsx
1316
+ import * as React20 from "react";
1317
+ import * as SliderPrimitive from "@radix-ui/react-slider";
1318
+ var Slider = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React20.createElement(
1319
+ SliderPrimitive.Root,
1320
+ {
1321
+ ref,
1322
+ className: cn(
1323
+ "hawa-relative hawa-flex hawa-w-full hawa-touch-none hawa-select-none hawa-items-center",
1324
+ className
1325
+ ),
1326
+ ...props
1327
+ },
1328
+ /* @__PURE__ */ React20.createElement(SliderPrimitive.Track, { className: "hawa-relative hawa-h-2 hawa-w-full hawa-grow hawa-overflow-hidden hawa-rounded-full hawa-bg-secondary" }, /* @__PURE__ */ React20.createElement(SliderPrimitive.Range, { className: "hawa-absolute hawa-h-full hawa-bg-primary" })),
1329
+ /* @__PURE__ */ React20.createElement(SliderPrimitive.Thumb, { className: "hawa-block hawa-h-5 hawa-w-5 hawa-rounded-full hawa-border-2 hawa-border-primary hawa-bg-background 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" })
1330
+ ));
1331
+ Slider.displayName = SliderPrimitive.Root.displayName;
1332
+
1061
1333
  // components/elements/DropdownMenu.tsx
1062
- import * as React14 from "react";
1334
+ import * as React21 from "react";
1063
1335
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
1064
1336
  var DropdownMenuRoot = DropdownMenuPrimitive.Root;
1065
1337
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
1066
1338
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
1067
1339
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
1068
- var DropdownMenuSubTrigger = React14.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React14.createElement(
1340
+ var DropdownMenuSubTrigger = React21.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React21.createElement(
1069
1341
  DropdownMenuPrimitive.SubTrigger,
1070
1342
  {
1071
1343
  ref,
@@ -1076,9 +1348,9 @@ var DropdownMenuSubTrigger = React14.forwardRef(({ className, inset, children, .
1076
1348
  ),
1077
1349
  ...props
1078
1350
  },
1079
- /* @__PURE__ */ React14.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, children),
1351
+ /* @__PURE__ */ React21.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, children),
1080
1352
  " ",
1081
- /* @__PURE__ */ React14.createElement(
1353
+ /* @__PURE__ */ React21.createElement(
1082
1354
  "svg",
1083
1355
  {
1084
1356
  "aria-label": "Chevron Right Icon",
@@ -1090,7 +1362,7 @@ var DropdownMenuSubTrigger = React14.forwardRef(({ className, inset, children, .
1090
1362
  width: "1em",
1091
1363
  className: cn(props.dir === "rtl" ? "hawa-rotate-180" : "")
1092
1364
  },
1093
- /* @__PURE__ */ React14.createElement(
1365
+ /* @__PURE__ */ React21.createElement(
1094
1366
  "path",
1095
1367
  {
1096
1368
  fillRule: "evenodd",
@@ -1100,7 +1372,7 @@ var DropdownMenuSubTrigger = React14.forwardRef(({ className, inset, children, .
1100
1372
  )
1101
1373
  ));
1102
1374
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
1103
- var DropdownMenuSubContent = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React14.createElement(
1375
+ var DropdownMenuSubContent = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React21.createElement(
1104
1376
  DropdownMenuPrimitive.SubContent,
1105
1377
  {
1106
1378
  ref,
@@ -1112,7 +1384,7 @@ var DropdownMenuSubContent = React14.forwardRef(({ className, ...props }, ref) =
1112
1384
  }
1113
1385
  ));
1114
1386
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
1115
- var DropdownMenuContent = React14.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React14.createElement(DropdownMenuPrimitive.Portal, null, /* @__PURE__ */ React14.createElement(
1387
+ var DropdownMenuContent = React21.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React21.createElement(DropdownMenuPrimitive.Portal, null, /* @__PURE__ */ React21.createElement(
1116
1388
  DropdownMenuPrimitive.Content,
1117
1389
  {
1118
1390
  ref,
@@ -1125,9 +1397,9 @@ var DropdownMenuContent = React14.forwardRef(({ className, sideOffset = 4, ...pr
1125
1397
  }
1126
1398
  )));
1127
1399
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
1128
- var DropdownMenuItem = React14.forwardRef(({ className, inset, ...props }, ref) => {
1400
+ var DropdownMenuItem = React21.forwardRef(({ className, inset, ...props }, ref) => {
1129
1401
  console.log("sdsdsds", props.children);
1130
- return /* @__PURE__ */ React14.createElement(
1402
+ return /* @__PURE__ */ React21.createElement(
1131
1403
  DropdownMenuPrimitive.Item,
1132
1404
  {
1133
1405
  disabled: props.disabled,
@@ -1140,12 +1412,12 @@ var DropdownMenuItem = React14.forwardRef(({ className, inset, ...props }, ref)
1140
1412
  ),
1141
1413
  ...props
1142
1414
  },
1143
- /* @__PURE__ */ React14.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 " }, props.children),
1415
+ /* @__PURE__ */ React21.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 " }, props.children),
1144
1416
  props.end && props.end
1145
1417
  );
1146
1418
  });
1147
1419
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
1148
- var DropdownMenuCheckboxItem = React14.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React14.createElement(
1420
+ var DropdownMenuCheckboxItem = React21.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React21.createElement(
1149
1421
  DropdownMenuPrimitive.CheckboxItem,
1150
1422
  {
1151
1423
  ref,
@@ -1156,7 +1428,7 @@ var DropdownMenuCheckboxItem = React14.forwardRef(({ className, children, checke
1156
1428
  checked,
1157
1429
  ...props
1158
1430
  },
1159
- /* @__PURE__ */ React14.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React14.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React14.createElement(
1431
+ /* @__PURE__ */ React21.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React21.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React21.createElement(
1160
1432
  "svg",
1161
1433
  {
1162
1434
  "aria-label": "Check Mark",
@@ -1167,12 +1439,12 @@ var DropdownMenuCheckboxItem = React14.forwardRef(({ className, children, checke
1167
1439
  height: "0.60em",
1168
1440
  width: "0.60em"
1169
1441
  },
1170
- /* @__PURE__ */ React14.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
1442
+ /* @__PURE__ */ React21.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
1171
1443
  ), " ")),
1172
1444
  children
1173
1445
  ));
1174
1446
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
1175
- var DropdownMenuRadioItem = React14.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React14.createElement(
1447
+ var DropdownMenuRadioItem = React21.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React21.createElement(
1176
1448
  DropdownMenuPrimitive.RadioItem,
1177
1449
  {
1178
1450
  ref,
@@ -1182,7 +1454,7 @@ var DropdownMenuRadioItem = React14.forwardRef(({ className, children, ...props
1182
1454
  ),
1183
1455
  ...props
1184
1456
  },
1185
- /* @__PURE__ */ React14.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React14.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React14.createElement(
1457
+ /* @__PURE__ */ React21.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React21.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React21.createElement(
1186
1458
  "svg",
1187
1459
  {
1188
1460
  xmlns: "http://www.w3.org/2000/svg",
@@ -1197,12 +1469,12 @@ var DropdownMenuRadioItem = React14.forwardRef(({ className, children, ...props
1197
1469
  strokeLinejoin: "round",
1198
1470
  className: "hawa-h-2 hawa-w-2 hawa-fill-current"
1199
1471
  },
1200
- /* @__PURE__ */ React14.createElement("circle", { cx: "12", cy: "12", r: "10" })
1472
+ /* @__PURE__ */ React21.createElement("circle", { cx: "12", cy: "12", r: "10" })
1201
1473
  ))),
1202
1474
  children
1203
1475
  ));
1204
1476
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
1205
- var DropdownMenuLabel = React14.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React14.createElement(
1477
+ var DropdownMenuLabel = React21.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React21.createElement(
1206
1478
  DropdownMenuPrimitive.Label,
1207
1479
  {
1208
1480
  ref,
@@ -1215,7 +1487,7 @@ var DropdownMenuLabel = React14.forwardRef(({ className, inset, ...props }, ref)
1215
1487
  }
1216
1488
  ));
1217
1489
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
1218
- var DropdownMenuSeparator = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React14.createElement(
1490
+ var DropdownMenuSeparator = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React21.createElement(
1219
1491
  DropdownMenuPrimitive.Separator,
1220
1492
  {
1221
1493
  ref,
@@ -1228,7 +1500,7 @@ var DropdownMenuShortcut = ({
1228
1500
  className,
1229
1501
  ...props
1230
1502
  }) => {
1231
- return /* @__PURE__ */ React14.createElement(
1503
+ return /* @__PURE__ */ React21.createElement(
1232
1504
  "span",
1233
1505
  {
1234
1506
  className: cn(
@@ -1264,7 +1536,7 @@ var DropdownMenu = ({
1264
1536
  default: "hawa-px-2 hawa-py-3 ",
1265
1537
  sm: "hawa-text-xs hawa-px-1.5 hawa-py-1.5"
1266
1538
  };
1267
- return /* @__PURE__ */ React14.createElement(DropdownMenuRoot, { dir: direction }, /* @__PURE__ */ React14.createElement(DropdownMenuTrigger, { asChild: true, className: triggerClassname }, trigger), /* @__PURE__ */ React14.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React14.createElement(
1539
+ return /* @__PURE__ */ React21.createElement(DropdownMenuRoot, { dir: direction }, /* @__PURE__ */ React21.createElement(DropdownMenuTrigger, { asChild: true, className: triggerClassname }, trigger), /* @__PURE__ */ React21.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React21.createElement(
1268
1540
  DropdownMenuContent,
1269
1541
  {
1270
1542
  side,
@@ -1278,12 +1550,12 @@ var DropdownMenu = ({
1278
1550
  alignOffset
1279
1551
  },
1280
1552
  items && items.map((item, index) => {
1281
- if (item.type === "separator") {
1282
- return /* @__PURE__ */ React14.createElement(DropdownMenuSeparator, { key: index });
1283
- } else if (item.type === "label") {
1284
- return /* @__PURE__ */ React14.createElement(DropdownMenuLabel, { key: index }, item.label);
1553
+ if (item.itemType === "separator") {
1554
+ return /* @__PURE__ */ React21.createElement(DropdownMenuSeparator, { key: index });
1555
+ } else if (item.itemType === "label") {
1556
+ return /* @__PURE__ */ React21.createElement(DropdownMenuLabel, { key: index }, item.label);
1285
1557
  } else {
1286
- return item.subitems ? /* @__PURE__ */ React14.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React14.createElement(
1558
+ return item.subitems ? /* @__PURE__ */ React21.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React21.createElement(
1287
1559
  DropdownMenuSubTrigger,
1288
1560
  {
1289
1561
  className: cn(sizeStyles[size]),
@@ -1291,7 +1563,7 @@ var DropdownMenu = ({
1291
1563
  },
1292
1564
  item.icon && item.icon,
1293
1565
  item.label && item.label
1294
- ), /* @__PURE__ */ React14.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React14.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => /* @__PURE__ */ React14.createElement(
1566
+ ), /* @__PURE__ */ React21.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React21.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => /* @__PURE__ */ React21.createElement(
1295
1567
  DropdownMenuItem,
1296
1568
  {
1297
1569
  key: subIndex,
@@ -1309,7 +1581,7 @@ var DropdownMenu = ({
1309
1581
  },
1310
1582
  subitem.icon && subitem.icon,
1311
1583
  subitem.label && subitem.label
1312
- ))))) : /* @__PURE__ */ React14.createElement(
1584
+ ))))) : /* @__PURE__ */ React21.createElement(
1313
1585
  DropdownMenuItem,
1314
1586
  {
1315
1587
  key: index,
@@ -1344,11 +1616,124 @@ var DropdownMenu = ({
1344
1616
  )));
1345
1617
  };
1346
1618
 
1619
+ // components/elements/ColorPicker.tsx
1620
+ import React22, { useState as useState7 } from "react";
1621
+ var ColorPicker = (props) => {
1622
+ const [selectedColor, setSelectedColor] = useState7(props.color);
1623
+ return /* @__PURE__ */ React22.createElement(
1624
+ "div",
1625
+ {
1626
+ className: `hawa-flex hawa-w-fit hawa-flex-row hawa-rounded hawa-border hawa-p-0`
1627
+ },
1628
+ /* @__PURE__ */ React22.createElement(
1629
+ "div",
1630
+ {
1631
+ style: { backgroundColor: selectedColor },
1632
+ className: "hawa-rounded-bl-lg hawa-rounded-tl-lg"
1633
+ },
1634
+ /* @__PURE__ */ React22.createElement(
1635
+ "input",
1636
+ {
1637
+ type: "color",
1638
+ value: selectedColor,
1639
+ onChange: (e) => {
1640
+ setSelectedColor(e.target.value);
1641
+ if (props.handleChange) {
1642
+ props.handleChange(e);
1643
+ }
1644
+ },
1645
+ className: "hawa-opacity-0"
1646
+ }
1647
+ )
1648
+ ),
1649
+ /* @__PURE__ */ React22.createElement(
1650
+ "input",
1651
+ {
1652
+ type: "text",
1653
+ onChange: (e) => {
1654
+ setSelectedColor(e.target.value);
1655
+ if (props.handleChange) {
1656
+ props.handleChange(e);
1657
+ }
1658
+ },
1659
+ value: selectedColor,
1660
+ className: "hawa-w-24 hawa-bg-background hawa-rounded-br-lg hawa-rounded-tr-lg hawa-pl-2 hawa-pr-2"
1661
+ }
1662
+ )
1663
+ );
1664
+ };
1665
+
1666
+ // components/elements/PinInput.tsx
1667
+ import React23, { useEffect as useEffect5, useState as useState8 } from "react";
1668
+ import clsx5 from "clsx";
1669
+ var PinInput = ({
1670
+ label,
1671
+ icon,
1672
+ digits,
1673
+ width = "normal",
1674
+ getPins,
1675
+ ...props
1676
+ }) => {
1677
+ const [pin, setPin] = useState8(Array.from(Array(digits)));
1678
+ const handleKeyDown = (e, index) => {
1679
+ let backTo = 0;
1680
+ if (e.key === "Backspace") {
1681
+ e.target.value.length === 0 ? backTo = index - 1 : backTo = index;
1682
+ const previousInput = document.getElementById(`input-${backTo}`);
1683
+ previousInput?.focus();
1684
+ }
1685
+ };
1686
+ useEffect5(() => {
1687
+ let unfilled = pin.includes(void 0);
1688
+ if (!unfilled && getPins) {
1689
+ getPins(pin);
1690
+ }
1691
+ });
1692
+ const handleChange = (e, index) => {
1693
+ if (!/^\d*$/.test(e.target.value)) {
1694
+ const newPin = [...pin];
1695
+ newPin[index] = "";
1696
+ setPin(newPin);
1697
+ return;
1698
+ } else {
1699
+ const newPin = [...pin];
1700
+ newPin[index] = e.target.value;
1701
+ setPin(newPin);
1702
+ if (e.target.value.length === 1) {
1703
+ const nextInput = document.getElementById(`input-${index + 1}`);
1704
+ nextInput?.focus();
1705
+ } else if (e.target.value.length === 0) {
1706
+ const previousInput = document.getElementById(`input-${index - 1}`);
1707
+ previousInput?.focus();
1708
+ }
1709
+ }
1710
+ };
1711
+ return /* @__PURE__ */ React23.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-justify-center hawa-gap-2" }, pin.map((value, index) => /* @__PURE__ */ React23.createElement(
1712
+ "input",
1713
+ {
1714
+ key: index,
1715
+ type: "text",
1716
+ maxLength: 1,
1717
+ value,
1718
+ id: `input-${index}`,
1719
+ pattern: "[0-9]*",
1720
+ className: clsx5(
1721
+ "hawa-h-10 hawa-rounded hawa-border hawa-bg-background hawa-text-center",
1722
+ width === "full" ? "hawa-w-full" : "hawa-w-10"
1723
+ ),
1724
+ onChange: (e) => handleChange(e, index),
1725
+ onKeyDown: (e) => handleKeyDown(e, index),
1726
+ onFocus: (e) => e.target.select(),
1727
+ ...props
1728
+ }
1729
+ )));
1730
+ };
1731
+
1347
1732
  // components/elements/ActionCard.tsx
1348
- import React15, { useState as useState6 } from "react";
1733
+ import React24, { useState as useState9 } from "react";
1349
1734
  var ActionCard = (props) => {
1350
- const [hovered, setHovered] = useState6(false);
1351
- return /* @__PURE__ */ React15.createElement("div", { className: "hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-gap-1" }, /* @__PURE__ */ React15.createElement(
1735
+ const [hovered, setHovered] = useState9(false);
1736
+ return /* @__PURE__ */ React24.createElement("div", { className: "hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-gap-1" }, /* @__PURE__ */ React24.createElement(
1352
1737
  "div",
1353
1738
  {
1354
1739
  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",
@@ -1358,7 +1743,7 @@ var ActionCard = (props) => {
1358
1743
  onMouseEnter: () => setHovered(true),
1359
1744
  onMouseLeave: () => setHovered(false)
1360
1745
  },
1361
- props.blank ? /* @__PURE__ */ React15.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center " }, /* @__PURE__ */ React15.createElement(
1746
+ props.blank ? /* @__PURE__ */ React24.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center " }, /* @__PURE__ */ React24.createElement(
1362
1747
  "svg",
1363
1748
  {
1364
1749
  className: "hawa-h-10 hawa-w-10 hawa-text-foreground",
@@ -1370,11 +1755,11 @@ var ActionCard = (props) => {
1370
1755
  width: "1em",
1371
1756
  xmlns: "http://www.w3.org/2000/svg"
1372
1757
  },
1373
- /* @__PURE__ */ React15.createElement("path", { d: "M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z" })
1374
- )) : /* @__PURE__ */ React15.createElement("div", { className: "hawa-absolute hawa-inset-0 hawa-rounded hawa-bg-black hawa-opacity-50" }),
1375
- /* @__PURE__ */ React15.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),
1376
- !props.blank && /* @__PURE__ */ React15.createElement("div", { className: "hawa-relative hawa-p-4" }, /* @__PURE__ */ React15.createElement("h1", { className: "hawa-text-white" }, props.title), /* @__PURE__ */ React15.createElement("p", { className: "hawa-text-white" }, props.subtitle))
1377
- ), /* @__PURE__ */ React15.createElement(
1758
+ /* @__PURE__ */ React24.createElement("path", { d: "M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z" })
1759
+ )) : /* @__PURE__ */ React24.createElement("div", { className: "hawa-absolute hawa-inset-0 hawa-rounded hawa-bg-black hawa-opacity-50" }),
1760
+ /* @__PURE__ */ React24.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),
1761
+ !props.blank && /* @__PURE__ */ React24.createElement("div", { className: "hawa-relative hawa-p-4" }, /* @__PURE__ */ React24.createElement("h1", { className: "hawa-text-white" }, props.title), /* @__PURE__ */ React24.createElement("p", { className: "hawa-text-white" }, props.subtitle))
1762
+ ), /* @__PURE__ */ React24.createElement(
1378
1763
  "div",
1379
1764
  {
1380
1765
  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"}`
@@ -1382,8 +1767,2166 @@ var ActionCard = (props) => {
1382
1767
  props.bottomElement
1383
1768
  ));
1384
1769
  };
1770
+
1771
+ // components/elements/FileDropzone.tsx
1772
+ import React25, { useEffect as useEffect6, useState as useState10 } from "react";
1773
+ import { useDropzone } from "react-dropzone";
1774
+ import clsx6 from "clsx";
1775
+ var FileDropzone = ({
1776
+ texts,
1777
+ files,
1778
+ setFiles,
1779
+ setDeletedFiles,
1780
+ onAcceptedFiles,
1781
+ errorMessages,
1782
+ maxFiles,
1783
+ accept,
1784
+ showPreview,
1785
+ onDeleteFile,
1786
+ onClearFiles,
1787
+ disclaimer,
1788
+ maxSize,
1789
+ label,
1790
+ termsLink,
1791
+ privacyLink
1792
+ }) => {
1793
+ const [cmp, setCmp] = useState10(0);
1794
+ const [max, setMax] = useState10(0);
1795
+ const {
1796
+ getRootProps,
1797
+ getInputProps,
1798
+ fileRejections,
1799
+ acceptedFiles,
1800
+ isDragActive
1801
+ } = useDropzone({
1802
+ multiple: true,
1803
+ accept,
1804
+ maxSize,
1805
+ maxFiles,
1806
+ onDrop: (acceptedFiles2) => {
1807
+ setFiles(
1808
+ acceptedFiles2.map(
1809
+ (file, index) => Object.assign(file, {
1810
+ preview: URL.createObjectURL(file)
1811
+ })
1812
+ )
1813
+ );
1814
+ }
1815
+ });
1816
+ useEffect6(
1817
+ () => () => {
1818
+ files?.forEach((file) => {
1819
+ URL.revokeObjectURL(file.preview);
1820
+ });
1821
+ },
1822
+ [files]
1823
+ );
1824
+ useEffect6(() => {
1825
+ setFiles(acceptedFiles);
1826
+ }, [acceptedFiles, cmp]);
1827
+ onClearFiles = () => {
1828
+ acceptedFiles.length = 0;
1829
+ acceptedFiles.splice(0, acceptedFiles.length);
1830
+ setFiles([]);
1831
+ };
1832
+ const clearAllFiles = () => {
1833
+ acceptedFiles.length = 0;
1834
+ setFiles([]);
1835
+ };
1836
+ useEffect6(() => {
1837
+ if (maxSize > 0) {
1838
+ const k = 1024;
1839
+ const sizes = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
1840
+ const i = Math.floor(Math.log(maxSize) / Math.log(1024));
1841
+ setMax(
1842
+ parseFloat((maxSize / Math.pow(1024, i)).toFixed(2)) + " " + sizes[i]
1843
+ );
1844
+ }
1845
+ }, [maxSize]);
1846
+ const errs = fileRejections.map((rej, i) => {
1847
+ switch (rej.errors[0].code) {
1848
+ case "file-too-large":
1849
+ return /* @__PURE__ */ React25.createElement(
1850
+ Alert,
1851
+ {
1852
+ text: rej.file.name,
1853
+ title: texts.fileTooLarge,
1854
+ severity: "error"
1855
+ }
1856
+ );
1857
+ case "too-many-files":
1858
+ return /* @__PURE__ */ React25.createElement(
1859
+ Alert,
1860
+ {
1861
+ text: rej.file.name,
1862
+ title: texts.tooManyFiles,
1863
+ severity: "error"
1864
+ }
1865
+ );
1866
+ case "file-invalid-type":
1867
+ return /* @__PURE__ */ React25.createElement(
1868
+ Alert,
1869
+ {
1870
+ text: rej.file.name,
1871
+ title: texts.invalidFileType,
1872
+ severity: "error"
1873
+ }
1874
+ );
1875
+ default:
1876
+ return /* @__PURE__ */ React25.createElement(
1877
+ Alert,
1878
+ {
1879
+ text: rej.file.name,
1880
+ title: rej.errors[0].code,
1881
+ severity: "error"
1882
+ }
1883
+ );
1884
+ }
1885
+ });
1886
+ const thumbs = files?.map((file, index) => /* @__PURE__ */ React25.createElement("div", { className: "hawa-relative hawa-rounded" }, /* @__PURE__ */ React25.createElement(
1887
+ "button",
1888
+ {
1889
+ onClick: (e) => {
1890
+ e.stopPropagation();
1891
+ acceptedFiles.splice(acceptedFiles.indexOf(file), 1);
1892
+ setCmp(Math.random);
1893
+ onDeleteFile(file);
1894
+ },
1895
+ type: "button",
1896
+ 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",
1897
+ "data-modal-toggle": "defaultModal"
1898
+ },
1899
+ /* @__PURE__ */ React25.createElement(
1900
+ "svg",
1901
+ {
1902
+ "aria-hidden": "true",
1903
+ className: "hawa-h-5 hawa-w-5",
1904
+ fill: "currentColor",
1905
+ viewBox: "0 0 20 20"
1906
+ },
1907
+ /* @__PURE__ */ React25.createElement(
1908
+ "path",
1909
+ {
1910
+ fillRule: "evenodd",
1911
+ d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
1912
+ clipRule: "evenodd"
1913
+ }
1914
+ )
1915
+ ),
1916
+ /* @__PURE__ */ React25.createElement("span", { className: "hawa-sr-only" }, "Close modal")
1917
+ ), /* @__PURE__ */ React25.createElement(
1918
+ "div",
1919
+ {
1920
+ style: {
1921
+ display: "flex",
1922
+ justifyContent: "center",
1923
+ alignItems: "center",
1924
+ overflow: "hidden",
1925
+ height: 100,
1926
+ width: 100,
1927
+ backgroundImage: `url(${file.preview})`,
1928
+ backgroundSize: "cover",
1929
+ backgroundPosition: "center",
1930
+ border: "1px solid black"
1931
+ },
1932
+ className: "hawa-rounded",
1933
+ key: file.name
1934
+ }
1935
+ )));
1936
+ return /* @__PURE__ */ React25.createElement("div", null, label && /* @__PURE__ */ React25.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__ */ React25.createElement(
1937
+ "div",
1938
+ {
1939
+ className: clsx6(
1940
+ "hawa-flex hawa-flex-col hawa-justify-center hawa-rounded hawa-border hawa-border-dashed hawa-p-6 hawa-transition-all ",
1941
+ isDragActive ? "hawa-bg-muted" : "hawa-bg-muted/20 hover:hawa-bg-muted/50 "
1942
+ )
1943
+ },
1944
+ /* @__PURE__ */ React25.createElement("div", { ...getRootProps({}) }, /* @__PURE__ */ React25.createElement("p", { ...getInputProps() }), /* @__PURE__ */ React25.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-pt-4 hawa-text-center" }, /* @__PURE__ */ React25.createElement(
1945
+ "svg",
1946
+ {
1947
+ stroke: "currentColor",
1948
+ fill: "none",
1949
+ strokeWidth: "2",
1950
+ viewBox: "0 0 24 24",
1951
+ strokeLinecap: "round",
1952
+ strokeLinejoin: "round",
1953
+ height: "1.5em",
1954
+ width: "1.5em"
1955
+ },
1956
+ /* @__PURE__ */ React25.createElement("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
1957
+ /* @__PURE__ */ React25.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" }),
1958
+ /* @__PURE__ */ React25.createElement("path", { d: "M13 13l9 3l-4 2l-2 4l-3 -9" }),
1959
+ /* @__PURE__ */ React25.createElement("path", { d: "M3 3l0 .01" }),
1960
+ /* @__PURE__ */ React25.createElement("path", { d: "M7 3l0 .01" }),
1961
+ /* @__PURE__ */ React25.createElement("path", { d: "M11 3l0 .01" }),
1962
+ /* @__PURE__ */ React25.createElement("path", { d: "M15 3l0 .01" }),
1963
+ /* @__PURE__ */ React25.createElement("path", { d: "M3 7l0 .01" }),
1964
+ /* @__PURE__ */ React25.createElement("path", { d: "M3 11l0 .01" }),
1965
+ /* @__PURE__ */ React25.createElement("path", { d: "M3 15l0 .01" })
1966
+ ), typeof texts.clickHereToUpload === "function" ? texts.clickHereToUpload() : texts.clickHereToUpload), /* @__PURE__ */ React25.createElement("div", { className: "hawa-pt-2 hawa-text-center hawa-text-xs hawa-select-none" }, texts.acceptedFileTypes, " ", accept.split(",")), /* @__PURE__ */ React25.createElement("div", { className: "hawa-pb-2 hawa-pt-1 hawa-text-center hawa-text-xs hawa-select-none" }, texts.maxFileSize, " ", max)),
1967
+ acceptedFiles.length > 0 && /* @__PURE__ */ React25.createElement("div", { className: "hawa-flex hawa-justify-center hawa-rounded-lg hawa-p-2 " }, /* @__PURE__ */ React25.createElement(Button, { onClick: clearAllFiles }, "Clear All")),
1968
+ acceptedFiles.length > 0 && thumbs && showPreview ? /* @__PURE__ */ React25.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,
1969
+ /* @__PURE__ */ React25.createElement("div", { className: "px-4" }, fileRejections[0]?.errors[0]?.code && errs)
1970
+ ), disclaimer && /* @__PURE__ */ React25.createElement("div", { className: "hawa-mt-2 hawa-text-sm hawa-text-muted-foreground/50" }, texts.disclaimer ?? "By uploading a file you agree to our", " ", /* @__PURE__ */ React25.createElement(
1971
+ "a",
1972
+ {
1973
+ href: termsLink,
1974
+ className: "clickable-link hawa-text-muted-foreground/50"
1975
+ },
1976
+ texts.terms ?? "Terms"
1977
+ ), " ", texts.and ?? "and", " ", /* @__PURE__ */ React25.createElement(
1978
+ "a",
1979
+ {
1980
+ href: privacyLink,
1981
+ className: "clickable-link hawa-text-muted-foreground/50"
1982
+ },
1983
+ texts.privacyPolicy ?? "Privacy Policy"
1984
+ )));
1985
+ };
1986
+
1987
+ // components/elements/PhoneInput.tsx
1988
+ import React26, { useState as useState11 } from "react";
1989
+
1990
+ // components/countries.ts
1991
+ var countries = [
1992
+ {
1993
+ country_label: "Saudi Arabia",
1994
+ code: "SA",
1995
+ unicode: "🇸🇦",
1996
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SA.svg",
1997
+ label: "+966"
1998
+ },
1999
+ {
2000
+ country_label: "United Arab Emirates",
2001
+ code: "AE",
2002
+ unicode: "🇦🇪",
2003
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AE.svg",
2004
+ label: "+971"
2005
+ },
2006
+ {
2007
+ country_label: "Bahrain",
2008
+ code: "BH",
2009
+ unicode: "🇧🇭",
2010
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BH.svg",
2011
+ label: "+973"
2012
+ },
2013
+ {
2014
+ country_label: "Kuwait",
2015
+ code: "KW",
2016
+ unicode: "🇰🇼",
2017
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KW.svg",
2018
+ label: "+965"
2019
+ },
2020
+ {
2021
+ country_label: "Qatar",
2022
+ code: "QA",
2023
+ unicode: "🇶🇦",
2024
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/QA.svg",
2025
+ label: "+974"
2026
+ },
2027
+ {
2028
+ country_label: "Oman",
2029
+ code: "OM",
2030
+ unicode: "🇴🇲",
2031
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/OM.svg",
2032
+ label: "+968"
2033
+ },
2034
+ {
2035
+ country_label: "Andorra",
2036
+ value: "Andorra",
2037
+ code: "AD",
2038
+ unicode: "🇦🇩",
2039
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AD.svg",
2040
+ label: "+376"
2041
+ },
2042
+ {
2043
+ country_label: "Afghanistan",
2044
+ code: "AF",
2045
+ unicode: "🇦🇫",
2046
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AF.svg",
2047
+ label: "+93"
2048
+ },
2049
+ {
2050
+ country_label: "Antigua & Barbuda",
2051
+ code: "AG",
2052
+ unicode: "🇦🇬",
2053
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AG.svg",
2054
+ label: "+1268"
2055
+ },
2056
+ {
2057
+ country_label: "Anguilla",
2058
+ code: "AI",
2059
+ unicode: "🇦🇮",
2060
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AI.svg",
2061
+ label: "+1264"
2062
+ },
2063
+ {
2064
+ country_label: "Albania",
2065
+ code: "AL",
2066
+ unicode: "🇦🇱",
2067
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AL.svg",
2068
+ label: "+355"
2069
+ },
2070
+ {
2071
+ country_label: "Armenia",
2072
+ code: "AM",
2073
+ unicode: "🇦🇲",
2074
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AM.svg",
2075
+ label: "+374"
2076
+ },
2077
+ {
2078
+ country_label: "Angola",
2079
+ code: "AO",
2080
+ unicode: "🇦🇴",
2081
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AO.svg",
2082
+ label: "+244"
2083
+ },
2084
+ {
2085
+ country_label: "Antarctica",
2086
+ code: "AQ",
2087
+ unicode: "🇦🇶",
2088
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AQ.svg",
2089
+ label: "+672"
2090
+ },
2091
+ {
2092
+ country_label: "Argentina",
2093
+ code: "AR",
2094
+ unicode: "🇦🇷",
2095
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AR.svg",
2096
+ label: "+54"
2097
+ },
2098
+ {
2099
+ country_label: "American Samoa",
2100
+ code: "AS",
2101
+ unicode: "🇦🇸",
2102
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AS.svg",
2103
+ label: "+1684"
2104
+ },
2105
+ {
2106
+ country_label: "Austria",
2107
+ code: "AT",
2108
+ unicode: "🇦🇹",
2109
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AT.svg",
2110
+ label: "+43"
2111
+ },
2112
+ {
2113
+ country_label: "Australia",
2114
+ code: "AU",
2115
+ unicode: "🇦🇺",
2116
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AU.svg",
2117
+ label: "+61"
2118
+ },
2119
+ {
2120
+ country_label: "Aruba",
2121
+ code: "AW",
2122
+ unicode: "🇦🇼",
2123
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AW.svg",
2124
+ label: "+297"
2125
+ },
2126
+ {
2127
+ country_label: "\xC5land Islands",
2128
+ code: "AX",
2129
+ unicode: "🇦🇽",
2130
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AX.svg",
2131
+ label: "+358"
2132
+ },
2133
+ {
2134
+ country_label: "Azerbaijan",
2135
+ code: "AZ",
2136
+ unicode: "🇦🇿",
2137
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AZ.svg",
2138
+ label: "+994"
2139
+ },
2140
+ {
2141
+ country_label: "Bosnia & Herzegovina",
2142
+ code: "BA",
2143
+ unicode: "🇧🇦",
2144
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BA.svg",
2145
+ label: "+387"
2146
+ },
2147
+ {
2148
+ country_label: "Barbados",
2149
+ code: "BB",
2150
+ unicode: "🇧🇧",
2151
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BB.svg",
2152
+ label: "+1246"
2153
+ },
2154
+ {
2155
+ country_label: "Bangladesh",
2156
+ code: "BD",
2157
+ unicode: "🇧🇩",
2158
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BD.svg",
2159
+ label: "+880"
2160
+ },
2161
+ {
2162
+ country_label: "Belgium",
2163
+ code: "BE",
2164
+ unicode: "🇧🇪",
2165
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BE.svg",
2166
+ label: "+32"
2167
+ },
2168
+ {
2169
+ country_label: "Burkina Faso",
2170
+ code: "BF",
2171
+ unicode: "🇧🇫",
2172
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BF.svg",
2173
+ label: "+226"
2174
+ },
2175
+ {
2176
+ country_label: "Bulgaria",
2177
+ code: "BG",
2178
+ unicode: "🇧🇬",
2179
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BG.svg",
2180
+ label: "+359"
2181
+ },
2182
+ {
2183
+ country_label: "Burundi",
2184
+ code: "BI",
2185
+ unicode: "🇧🇮",
2186
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BI.svg",
2187
+ label: "+257"
2188
+ },
2189
+ {
2190
+ country_label: "Benin",
2191
+ code: "BJ",
2192
+ unicode: "🇧🇯",
2193
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BJ.svg",
2194
+ label: "+229"
2195
+ },
2196
+ {
2197
+ country_label: "St. Barth\xE9lemy",
2198
+ code: "BL",
2199
+ unicode: "🇧🇱",
2200
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BL.svg",
2201
+ label: "+590"
2202
+ },
2203
+ {
2204
+ country_label: "Bermuda",
2205
+ code: "BM",
2206
+ unicode: "🇧🇲",
2207
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BM.svg",
2208
+ label: "+1441"
2209
+ },
2210
+ {
2211
+ country_label: "Brunei",
2212
+ code: "BN",
2213
+ unicode: "🇧🇳",
2214
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BN.svg",
2215
+ label: "+673"
2216
+ },
2217
+ {
2218
+ country_label: "Bolivia",
2219
+ code: "BO",
2220
+ unicode: "🇧🇴",
2221
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BO.svg",
2222
+ label: "+591"
2223
+ },
2224
+ {
2225
+ country_label: "Brazil",
2226
+ code: "BR",
2227
+ unicode: "🇧🇷",
2228
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BR.svg",
2229
+ label: "+55"
2230
+ },
2231
+ {
2232
+ country_label: "Bahamas",
2233
+ code: "BS",
2234
+ unicode: "🇧🇸",
2235
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BS.svg",
2236
+ label: "+1242"
2237
+ },
2238
+ {
2239
+ country_label: "Bhutan",
2240
+ code: "BT",
2241
+ unicode: "🇧🇹",
2242
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BT.svg",
2243
+ label: "+975"
2244
+ },
2245
+ {
2246
+ country_label: "Botswana",
2247
+ code: "BW",
2248
+ unicode: "🇧🇼",
2249
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BW.svg",
2250
+ label: "+267"
2251
+ },
2252
+ {
2253
+ country_label: "Belarus",
2254
+ code: "BY",
2255
+ unicode: "🇧🇾",
2256
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BY.svg",
2257
+ label: "+375"
2258
+ },
2259
+ {
2260
+ country_label: "Belize",
2261
+ code: "BZ",
2262
+ unicode: "🇧🇿",
2263
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BZ.svg",
2264
+ label: "+501"
2265
+ },
2266
+ {
2267
+ country_label: "Canada",
2268
+ code: "CA",
2269
+ unicode: "🇨🇦",
2270
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CA.svg",
2271
+ label: "+1"
2272
+ },
2273
+ {
2274
+ country_label: "Cocos (Keeling) Islands",
2275
+ code: "CC",
2276
+ unicode: "🇨🇨",
2277
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CC.svg",
2278
+ label: "+61"
2279
+ },
2280
+ {
2281
+ country_label: "Congo - Kinshasa",
2282
+ code: "CD",
2283
+ unicode: "🇨🇩",
2284
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CD.svg",
2285
+ label: "+243"
2286
+ },
2287
+ {
2288
+ country_label: "Central African Republic",
2289
+ code: "CF",
2290
+ unicode: "🇨🇫",
2291
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CF.svg",
2292
+ label: "+236"
2293
+ },
2294
+ {
2295
+ country_label: "Congo - Brazzaville",
2296
+ code: "CG",
2297
+ unicode: "🇨🇬",
2298
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CG.svg",
2299
+ label: "+242"
2300
+ },
2301
+ {
2302
+ country_label: "Switzerland",
2303
+ code: "CH",
2304
+ unicode: "🇨🇭",
2305
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CH.svg",
2306
+ label: "+41"
2307
+ },
2308
+ {
2309
+ country_label: "C\xF4te d\u2019Ivoire",
2310
+ code: "CI",
2311
+ unicode: "🇨🇮",
2312
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CI.svg",
2313
+ label: "+225"
2314
+ },
2315
+ {
2316
+ country_label: "Cook Islands",
2317
+ code: "CK",
2318
+ unicode: "🇨🇰",
2319
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CK.svg",
2320
+ label: "+682"
2321
+ },
2322
+ {
2323
+ country_label: "Chile",
2324
+ code: "CL",
2325
+ unicode: "🇨🇱",
2326
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CL.svg",
2327
+ label: "+56"
2328
+ },
2329
+ {
2330
+ country_label: "Cameroon",
2331
+ code: "CM",
2332
+ unicode: "🇨🇲",
2333
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CM.svg",
2334
+ label: "+237"
2335
+ },
2336
+ {
2337
+ country_label: "China",
2338
+ code: "CN",
2339
+ unicode: "🇨🇳",
2340
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CN.svg",
2341
+ label: "+86"
2342
+ },
2343
+ {
2344
+ country_label: "Colombia",
2345
+ code: "CO",
2346
+ unicode: "🇨🇴",
2347
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CO.svg",
2348
+ label: "+57"
2349
+ },
2350
+ {
2351
+ country_label: "Costa Rica",
2352
+ code: "CR",
2353
+ unicode: "🇨🇷",
2354
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CR.svg",
2355
+ label: "+506"
2356
+ },
2357
+ {
2358
+ country_label: "Cuba",
2359
+ code: "CU",
2360
+ unicode: "🇨🇺",
2361
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CU.svg",
2362
+ label: "+53"
2363
+ },
2364
+ {
2365
+ country_label: "Cape Verde",
2366
+ code: "CV",
2367
+ unicode: "🇨🇻",
2368
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CV.svg",
2369
+ label: "+238"
2370
+ },
2371
+ {
2372
+ country_label: "Christmas Island",
2373
+ code: "CX",
2374
+ unicode: "🇨🇽",
2375
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CX.svg",
2376
+ label: "+61"
2377
+ },
2378
+ {
2379
+ country_label: "Cyprus",
2380
+ code: "CY",
2381
+ unicode: "🇨🇾",
2382
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CY.svg",
2383
+ label: "+357"
2384
+ },
2385
+ {
2386
+ country_label: "Czechia",
2387
+ code: "CZ",
2388
+ unicode: "🇨🇿",
2389
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CZ.svg",
2390
+ label: "+420"
2391
+ },
2392
+ {
2393
+ country_label: "Germany",
2394
+ code: "DE",
2395
+ unicode: "🇩🇪",
2396
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DE.svg",
2397
+ label: "+49"
2398
+ },
2399
+ {
2400
+ country_label: "Djibouti",
2401
+ code: "DJ",
2402
+ unicode: "🇩🇯",
2403
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DJ.svg",
2404
+ label: "+253"
2405
+ },
2406
+ {
2407
+ country_label: "Denmark",
2408
+ code: "DK",
2409
+ unicode: "🇩🇰",
2410
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DK.svg",
2411
+ label: "+45"
2412
+ },
2413
+ {
2414
+ country_label: "Dominica",
2415
+ code: "DM",
2416
+ unicode: "🇩🇲",
2417
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DM.svg",
2418
+ label: "+1767"
2419
+ },
2420
+ {
2421
+ country_label: "Dominican Republic",
2422
+ code: "DO",
2423
+ unicode: "🇩🇴",
2424
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DO.svg",
2425
+ label: "+1849"
2426
+ },
2427
+ {
2428
+ country_label: "Algeria",
2429
+ code: "DZ",
2430
+ unicode: "🇩🇿",
2431
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DZ.svg",
2432
+ label: "+213"
2433
+ },
2434
+ {
2435
+ country_label: "Ecuador",
2436
+ code: "EC",
2437
+ unicode: "🇪🇨",
2438
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/EC.svg",
2439
+ label: "+593"
2440
+ },
2441
+ {
2442
+ country_label: "Estonia",
2443
+ code: "EE",
2444
+ unicode: "🇪🇪",
2445
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/EE.svg",
2446
+ label: "+372"
2447
+ },
2448
+ {
2449
+ country_label: "Egypt",
2450
+ code: "EG",
2451
+ unicode: "🇪🇬",
2452
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/EG.svg",
2453
+ label: "+20"
2454
+ },
2455
+ {
2456
+ country_label: "Eritrea",
2457
+ code: "ER",
2458
+ unicode: "🇪🇷",
2459
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ER.svg",
2460
+ label: "+291"
2461
+ },
2462
+ {
2463
+ country_label: "Spain",
2464
+ code: "ES",
2465
+ unicode: "🇪🇸",
2466
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ES.svg",
2467
+ label: "+34"
2468
+ },
2469
+ {
2470
+ country_label: "Ethiopia",
2471
+ code: "ET",
2472
+ unicode: "🇪🇹",
2473
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ET.svg",
2474
+ label: "+251"
2475
+ },
2476
+ {
2477
+ country_label: "Finland",
2478
+ code: "FI",
2479
+ unicode: "🇫🇮",
2480
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FI.svg",
2481
+ label: "+358"
2482
+ },
2483
+ {
2484
+ country_label: "Fiji",
2485
+ code: "FJ",
2486
+ unicode: "🇫🇯",
2487
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FJ.svg",
2488
+ label: "+679"
2489
+ },
2490
+ {
2491
+ country_label: "Falkland Islands",
2492
+ code: "FK",
2493
+ unicode: "🇫🇰",
2494
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FK.svg",
2495
+ label: "+500"
2496
+ },
2497
+ {
2498
+ country_label: "Micronesia",
2499
+ code: "FM",
2500
+ unicode: "🇫🇲",
2501
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FM.svg",
2502
+ label: "+691"
2503
+ },
2504
+ {
2505
+ country_label: "Faroe Islands",
2506
+ code: "FO",
2507
+ unicode: "🇫🇴",
2508
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FO.svg",
2509
+ label: "+298"
2510
+ },
2511
+ {
2512
+ country_label: "France",
2513
+ code: "FR",
2514
+ unicode: "🇫🇷",
2515
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FR.svg",
2516
+ label: "+33"
2517
+ },
2518
+ {
2519
+ country_label: "Gabon",
2520
+ code: "GA",
2521
+ unicode: "🇬🇦",
2522
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GA.svg",
2523
+ label: "+241"
2524
+ },
2525
+ {
2526
+ country_label: "United Kingdom",
2527
+ code: "GB",
2528
+ unicode: "🇬🇧",
2529
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GB.svg",
2530
+ label: "+44"
2531
+ },
2532
+ {
2533
+ country_label: "Grenada",
2534
+ code: "GD",
2535
+ unicode: "🇬🇩",
2536
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GD.svg",
2537
+ label: "+1473"
2538
+ },
2539
+ {
2540
+ country_label: "Georgia",
2541
+ code: "GE",
2542
+ unicode: "🇬🇪",
2543
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GE.svg",
2544
+ label: "+995"
2545
+ },
2546
+ {
2547
+ country_label: "French Guiana",
2548
+ code: "GF",
2549
+ unicode: "🇬🇫",
2550
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GF.svg",
2551
+ label: "+594"
2552
+ },
2553
+ {
2554
+ country_label: "Guernsey",
2555
+ code: "GG",
2556
+ unicode: "🇬🇬",
2557
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GG.svg",
2558
+ label: "+44"
2559
+ },
2560
+ {
2561
+ country_label: "Ghana",
2562
+ code: "GH",
2563
+ unicode: "🇬🇭",
2564
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GH.svg",
2565
+ label: "+233"
2566
+ },
2567
+ {
2568
+ country_label: "Gibraltar",
2569
+ code: "GI",
2570
+ unicode: "🇬🇮",
2571
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GI.svg",
2572
+ label: "+350"
2573
+ },
2574
+ {
2575
+ country_label: "Greenland",
2576
+ code: "GL",
2577
+ unicode: "🇬🇱",
2578
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GL.svg",
2579
+ label: "+299"
2580
+ },
2581
+ {
2582
+ country_label: "Gambia",
2583
+ code: "GM",
2584
+ unicode: "🇬🇲",
2585
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GM.svg",
2586
+ label: "+220"
2587
+ },
2588
+ {
2589
+ country_label: "Guinea",
2590
+ code: "GN",
2591
+ unicode: "🇬🇳",
2592
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GN.svg",
2593
+ label: "+224"
2594
+ },
2595
+ {
2596
+ country_label: "Guadeloupe",
2597
+ code: "GP",
2598
+ unicode: "🇬🇵",
2599
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GP.svg",
2600
+ label: "+590"
2601
+ },
2602
+ {
2603
+ country_label: "Equatorial Guinea",
2604
+ code: "GQ",
2605
+ unicode: "🇬🇶",
2606
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GQ.svg",
2607
+ label: "+240"
2608
+ },
2609
+ {
2610
+ country_label: "Greece",
2611
+ code: "GR",
2612
+ unicode: "🇬🇷",
2613
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GR.svg",
2614
+ label: "+30"
2615
+ },
2616
+ {
2617
+ country_label: "South Georgia & South Sandwich Islands",
2618
+ code: "GS",
2619
+ unicode: "🇬🇸",
2620
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GS.svg",
2621
+ label: "+500"
2622
+ },
2623
+ {
2624
+ country_label: "Guatemala",
2625
+ code: "GT",
2626
+ unicode: "🇬🇹",
2627
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GT.svg",
2628
+ label: "+502"
2629
+ },
2630
+ {
2631
+ country_label: "Guam",
2632
+ code: "GU",
2633
+ unicode: "🇬🇺",
2634
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GU.svg",
2635
+ label: "+1671"
2636
+ },
2637
+ {
2638
+ country_label: "Guinea-Bissau",
2639
+ code: "GW",
2640
+ unicode: "🇬🇼",
2641
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GW.svg",
2642
+ label: "+245"
2643
+ },
2644
+ {
2645
+ country_label: "Guyana",
2646
+ code: "GY",
2647
+ unicode: "🇬🇾",
2648
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GY.svg",
2649
+ label: "+595"
2650
+ },
2651
+ {
2652
+ country_label: "Hong Kong SAR China",
2653
+ code: "HK",
2654
+ unicode: "🇭🇰",
2655
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/HK.svg",
2656
+ label: "+852"
2657
+ },
2658
+ {
2659
+ country_label: "Honduras",
2660
+ code: "HN",
2661
+ unicode: "🇭🇳",
2662
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/HN.svg",
2663
+ label: "+504"
2664
+ },
2665
+ {
2666
+ country_label: "Croatia",
2667
+ code: "HR",
2668
+ unicode: "🇭🇷",
2669
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/HR.svg",
2670
+ label: "+385"
2671
+ },
2672
+ {
2673
+ country_label: "Haiti",
2674
+ code: "HT",
2675
+ unicode: "🇭🇹",
2676
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/HT.svg",
2677
+ label: "+509"
2678
+ },
2679
+ {
2680
+ country_label: "Hungary",
2681
+ code: "HU",
2682
+ unicode: "🇭🇺",
2683
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/HU.svg",
2684
+ label: "+36"
2685
+ },
2686
+ {
2687
+ country_label: "Indonesia",
2688
+ code: "ID",
2689
+ unicode: "🇮🇩",
2690
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ID.svg",
2691
+ label: "+62"
2692
+ },
2693
+ {
2694
+ country_label: "Ireland",
2695
+ code: "IE",
2696
+ unicode: "🇮🇪",
2697
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IE.svg",
2698
+ label: "+353"
2699
+ },
2700
+ {
2701
+ country_label: "Israel",
2702
+ code: "IL",
2703
+ unicode: "🇮🇱",
2704
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IL.svg",
2705
+ label: "+972"
2706
+ },
2707
+ {
2708
+ country_label: "Isle of Man",
2709
+ code: "IM",
2710
+ unicode: "🇮🇲",
2711
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IM.svg",
2712
+ label: "+44"
2713
+ },
2714
+ {
2715
+ country_label: "India",
2716
+ code: "IN",
2717
+ unicode: "🇮🇳",
2718
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IN.svg",
2719
+ label: "+91"
2720
+ },
2721
+ {
2722
+ country_label: "British Indian Ocean Territory",
2723
+ code: "IO",
2724
+ unicode: "🇮🇴",
2725
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IO.svg",
2726
+ label: "+246"
2727
+ },
2728
+ {
2729
+ country_label: "Iraq",
2730
+ code: "IQ",
2731
+ unicode: "🇮🇶",
2732
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IQ.svg",
2733
+ label: "+964"
2734
+ },
2735
+ {
2736
+ country_label: "Iran",
2737
+ code: "IR",
2738
+ unicode: "🇮🇷",
2739
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IR.svg",
2740
+ label: "+98"
2741
+ },
2742
+ {
2743
+ country_label: "Iceland",
2744
+ code: "IS",
2745
+ unicode: "🇮🇸",
2746
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IS.svg",
2747
+ label: "+354"
2748
+ },
2749
+ {
2750
+ country_label: "Italy",
2751
+ code: "IT",
2752
+ unicode: "🇮🇹",
2753
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IT.svg",
2754
+ label: "+39"
2755
+ },
2756
+ {
2757
+ country_label: "Jersey",
2758
+ code: "JE",
2759
+ unicode: "🇯🇪",
2760
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/JE.svg",
2761
+ label: "+44"
2762
+ },
2763
+ {
2764
+ country_label: "Jamaica",
2765
+ code: "JM",
2766
+ unicode: "🇯🇲",
2767
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/JM.svg",
2768
+ label: "+1876"
2769
+ },
2770
+ {
2771
+ country_label: "Jordan",
2772
+ code: "JO",
2773
+ unicode: "🇯🇴",
2774
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/JO.svg",
2775
+ label: "+962"
2776
+ },
2777
+ {
2778
+ country_label: "Japan",
2779
+ code: "JP",
2780
+ unicode: "🇯🇵",
2781
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/JP.svg",
2782
+ label: "+81"
2783
+ },
2784
+ {
2785
+ country_label: "Kenya",
2786
+ code: "KE",
2787
+ unicode: "🇰🇪",
2788
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KE.svg",
2789
+ label: "+254"
2790
+ },
2791
+ {
2792
+ country_label: "Kyrgyzstan",
2793
+ code: "KG",
2794
+ unicode: "🇰🇬",
2795
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KG.svg",
2796
+ label: "+996"
2797
+ },
2798
+ {
2799
+ country_label: "Cambodia",
2800
+ code: "KH",
2801
+ unicode: "🇰🇭",
2802
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KH.svg",
2803
+ label: "+855"
2804
+ },
2805
+ {
2806
+ country_label: "Kiribati",
2807
+ code: "KI",
2808
+ unicode: "🇰🇮",
2809
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KI.svg",
2810
+ label: "+686"
2811
+ },
2812
+ {
2813
+ country_label: "Comoros",
2814
+ code: "KM",
2815
+ unicode: "🇰🇲",
2816
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KM.svg",
2817
+ label: "+269"
2818
+ },
2819
+ {
2820
+ country_label: "St. Kitts & Nevis",
2821
+ code: "KN",
2822
+ unicode: "🇰🇳",
2823
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KN.svg",
2824
+ label: "+1869"
2825
+ },
2826
+ {
2827
+ country_label: "North Korea",
2828
+ code: "KP",
2829
+ unicode: "🇰🇵",
2830
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KP.svg",
2831
+ label: "+850"
2832
+ },
2833
+ {
2834
+ country_label: "South Korea",
2835
+ code: "KR",
2836
+ unicode: "🇰🇷",
2837
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KR.svg",
2838
+ label: "+82"
2839
+ },
2840
+ {
2841
+ country_label: "Cayman Islands",
2842
+ code: "KY",
2843
+ unicode: "🇰🇾",
2844
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KY.svg",
2845
+ label: "+ 345"
2846
+ },
2847
+ {
2848
+ country_label: "Kazakhstan",
2849
+ code: "KZ",
2850
+ unicode: "🇰🇿",
2851
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KZ.svg",
2852
+ label: "+77"
2853
+ },
2854
+ {
2855
+ country_label: "Laos",
2856
+ code: "LA",
2857
+ unicode: "🇱🇦",
2858
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LA.svg",
2859
+ label: "+856"
2860
+ },
2861
+ {
2862
+ country_label: "Lebanon",
2863
+ code: "LB",
2864
+ unicode: "🇱🇧",
2865
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LB.svg",
2866
+ label: "+961"
2867
+ },
2868
+ {
2869
+ country_label: "St. Lucia",
2870
+ code: "LC",
2871
+ unicode: "🇱🇨",
2872
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LC.svg",
2873
+ label: "+1758"
2874
+ },
2875
+ {
2876
+ country_label: "Liechtenstein",
2877
+ code: "LI",
2878
+ unicode: "🇱🇮",
2879
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LI.svg",
2880
+ label: "+423"
2881
+ },
2882
+ {
2883
+ country_label: "Sri Lanka",
2884
+ code: "LK",
2885
+ unicode: "🇱🇰",
2886
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LK.svg",
2887
+ label: "+94"
2888
+ },
2889
+ {
2890
+ country_label: "Liberia",
2891
+ code: "LR",
2892
+ unicode: "🇱🇷",
2893
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LR.svg",
2894
+ label: "+231"
2895
+ },
2896
+ {
2897
+ country_label: "Lesotho",
2898
+ code: "LS",
2899
+ unicode: "🇱🇸",
2900
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LS.svg",
2901
+ label: "+266"
2902
+ },
2903
+ {
2904
+ country_label: "Lithuania",
2905
+ code: "LT",
2906
+ unicode: "🇱🇹",
2907
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LT.svg",
2908
+ label: "+370"
2909
+ },
2910
+ {
2911
+ country_label: "Luxembourg",
2912
+ code: "LU",
2913
+ unicode: "🇱🇺",
2914
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LU.svg",
2915
+ label: "+352"
2916
+ },
2917
+ {
2918
+ country_label: "Latvia",
2919
+ code: "LV",
2920
+ unicode: "🇱🇻",
2921
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LV.svg",
2922
+ label: "+371"
2923
+ },
2924
+ {
2925
+ country_label: "Libya",
2926
+ code: "LY",
2927
+ unicode: "🇱🇾",
2928
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LY.svg",
2929
+ label: "+218"
2930
+ },
2931
+ {
2932
+ country_label: "Morocco",
2933
+ code: "MA",
2934
+ unicode: "🇲🇦",
2935
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MA.svg",
2936
+ label: "+212"
2937
+ },
2938
+ {
2939
+ country_label: "Monaco",
2940
+ code: "MC",
2941
+ unicode: "🇲🇨",
2942
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MC.svg",
2943
+ label: "+377"
2944
+ },
2945
+ {
2946
+ country_label: "Moldova",
2947
+ code: "MD",
2948
+ unicode: "🇲🇩",
2949
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MD.svg",
2950
+ label: "+373"
2951
+ },
2952
+ {
2953
+ country_label: "Montenegro",
2954
+ code: "ME",
2955
+ unicode: "🇲🇪",
2956
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ME.svg",
2957
+ label: "+382"
2958
+ },
2959
+ {
2960
+ country_label: "St. Martin",
2961
+ code: "MF",
2962
+ unicode: "🇲🇫",
2963
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MF.svg",
2964
+ label: "+590"
2965
+ },
2966
+ {
2967
+ country_label: "Madagascar",
2968
+ code: "MG",
2969
+ unicode: "🇲🇬",
2970
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MG.svg",
2971
+ label: "+261"
2972
+ },
2973
+ {
2974
+ country_label: "Marshall Islands",
2975
+ code: "MH",
2976
+ unicode: "🇲🇭",
2977
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MH.svg",
2978
+ label: "+692"
2979
+ },
2980
+ {
2981
+ country_label: "North Macedonia",
2982
+ code: "MK",
2983
+ unicode: "🇲🇰",
2984
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MK.svg",
2985
+ label: "+389"
2986
+ },
2987
+ {
2988
+ country_label: "Mali",
2989
+ code: "ML",
2990
+ unicode: "🇲🇱",
2991
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ML.svg",
2992
+ label: "+223"
2993
+ },
2994
+ {
2995
+ country_label: "Myanmar (Burma)",
2996
+ code: "MM",
2997
+ unicode: "🇲🇲",
2998
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MM.svg",
2999
+ label: "+95"
3000
+ },
3001
+ {
3002
+ country_label: "Mongolia",
3003
+ code: "MN",
3004
+ unicode: "🇲🇳",
3005
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MN.svg",
3006
+ label: "+976"
3007
+ },
3008
+ {
3009
+ country_label: "Macao SAR China",
3010
+ code: "MO",
3011
+ unicode: "🇲🇴",
3012
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MO.svg",
3013
+ label: "+853"
3014
+ },
3015
+ {
3016
+ country_label: "Northern Mariana Islands",
3017
+ code: "MP",
3018
+ unicode: "🇲🇵",
3019
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MP.svg",
3020
+ label: "+1670"
3021
+ },
3022
+ {
3023
+ country_label: "Martinique",
3024
+ code: "MQ",
3025
+ unicode: "🇲🇶",
3026
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MQ.svg",
3027
+ label: "+596"
3028
+ },
3029
+ {
3030
+ country_label: "Mauritania",
3031
+ code: "MR",
3032
+ unicode: "🇲🇷",
3033
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MR.svg",
3034
+ label: "+222"
3035
+ },
3036
+ {
3037
+ country_label: "Montserrat",
3038
+ code: "MS",
3039
+ unicode: "🇲🇸",
3040
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MS.svg",
3041
+ label: "+1664"
3042
+ },
3043
+ {
3044
+ country_label: "Malta",
3045
+ code: "MT",
3046
+ unicode: "🇲🇹",
3047
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MT.svg",
3048
+ label: "+356"
3049
+ },
3050
+ {
3051
+ country_label: "Mauritius",
3052
+ code: "MU",
3053
+ unicode: "🇲🇺",
3054
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MU.svg",
3055
+ label: "+230"
3056
+ },
3057
+ {
3058
+ country_label: "Maldives",
3059
+ code: "MV",
3060
+ unicode: "🇲🇻",
3061
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MV.svg",
3062
+ label: "+960"
3063
+ },
3064
+ {
3065
+ country_label: "Malawi",
3066
+ code: "MW",
3067
+ unicode: "🇲🇼",
3068
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MW.svg",
3069
+ label: "+265"
3070
+ },
3071
+ {
3072
+ country_label: "Mexico",
3073
+ code: "MX",
3074
+ unicode: "🇲🇽",
3075
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MX.svg",
3076
+ label: "+52"
3077
+ },
3078
+ {
3079
+ country_label: "Malaysia",
3080
+ code: "MY",
3081
+ unicode: "🇲🇾",
3082
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MY.svg",
3083
+ label: "+60"
3084
+ },
3085
+ {
3086
+ country_label: "Mozambique",
3087
+ code: "MZ",
3088
+ unicode: "🇲🇿",
3089
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MZ.svg",
3090
+ label: "+258"
3091
+ },
3092
+ {
3093
+ country_label: "Namibia",
3094
+ code: "NA",
3095
+ unicode: "🇳🇦",
3096
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NA.svg",
3097
+ label: "+264"
3098
+ },
3099
+ {
3100
+ country_label: "New Caledonia",
3101
+ code: "NC",
3102
+ unicode: "🇳🇨",
3103
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NC.svg",
3104
+ label: "+687"
3105
+ },
3106
+ {
3107
+ country_label: "Niger",
3108
+ code: "NE",
3109
+ unicode: "🇳🇪",
3110
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NE.svg",
3111
+ label: "+227"
3112
+ },
3113
+ {
3114
+ country_label: "Norfolk Island",
3115
+ code: "NF",
3116
+ unicode: "🇳🇫",
3117
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NF.svg",
3118
+ label: "+672"
3119
+ },
3120
+ {
3121
+ country_label: "Nigeria",
3122
+ code: "NG",
3123
+ unicode: "🇳🇬",
3124
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NG.svg",
3125
+ label: "+234"
3126
+ },
3127
+ {
3128
+ country_label: "Nicaragua",
3129
+ code: "NI",
3130
+ unicode: "🇳🇮",
3131
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NI.svg",
3132
+ label: "+505"
3133
+ },
3134
+ {
3135
+ country_label: "Netherlands",
3136
+ code: "NL",
3137
+ unicode: "🇳🇱",
3138
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NL.svg",
3139
+ label: "+31"
3140
+ },
3141
+ {
3142
+ country_label: "Norway",
3143
+ code: "NO",
3144
+ unicode: "🇳🇴",
3145
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NO.svg",
3146
+ label: "+47"
3147
+ },
3148
+ {
3149
+ country_label: "Nepal",
3150
+ code: "NP",
3151
+ unicode: "🇳🇵",
3152
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NP.svg",
3153
+ label: "+977"
3154
+ },
3155
+ {
3156
+ country_label: "Nauru",
3157
+ code: "NR",
3158
+ unicode: "🇳🇷",
3159
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NR.svg",
3160
+ label: "+674"
3161
+ },
3162
+ {
3163
+ country_label: "Niue",
3164
+ code: "NU",
3165
+ unicode: "🇳🇺",
3166
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NU.svg",
3167
+ label: "+683"
3168
+ },
3169
+ {
3170
+ country_label: "New Zealand",
3171
+ code: "NZ",
3172
+ unicode: "🇳🇿",
3173
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NZ.svg",
3174
+ label: "+64"
3175
+ },
3176
+ {
3177
+ country_label: "Panama",
3178
+ code: "PA",
3179
+ unicode: "🇵🇦",
3180
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PA.svg",
3181
+ label: "+507"
3182
+ },
3183
+ {
3184
+ country_label: "Peru",
3185
+ code: "PE",
3186
+ unicode: "🇵🇪",
3187
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PE.svg",
3188
+ label: "+51"
3189
+ },
3190
+ {
3191
+ country_label: "French Polynesia",
3192
+ code: "PF",
3193
+ unicode: "🇵🇫",
3194
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PF.svg",
3195
+ label: "+689"
3196
+ },
3197
+ {
3198
+ country_label: "Papua New Guinea",
3199
+ code: "PG",
3200
+ unicode: "🇵🇬",
3201
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PG.svg",
3202
+ label: "+675"
3203
+ },
3204
+ {
3205
+ country_label: "Philippines",
3206
+ code: "PH",
3207
+ unicode: "🇵🇭",
3208
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PH.svg",
3209
+ label: "+63"
3210
+ },
3211
+ {
3212
+ country_label: "Pakistan",
3213
+ code: "PK",
3214
+ unicode: "🇵🇰",
3215
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PK.svg",
3216
+ label: "+92"
3217
+ },
3218
+ {
3219
+ country_label: "Poland",
3220
+ code: "PL",
3221
+ unicode: "🇵🇱",
3222
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PL.svg",
3223
+ label: "+48"
3224
+ },
3225
+ {
3226
+ country_label: "St. Pierre & Miquelon",
3227
+ code: "PM",
3228
+ unicode: "🇵🇲",
3229
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PM.svg",
3230
+ label: "+508"
3231
+ },
3232
+ {
3233
+ country_label: "Pitcairn Islands",
3234
+ code: "PN",
3235
+ unicode: "🇵🇳",
3236
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PN.svg",
3237
+ label: "+872"
3238
+ },
3239
+ {
3240
+ country_label: "Puerto Rico",
3241
+ code: "PR",
3242
+ unicode: "🇵🇷",
3243
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PR.svg",
3244
+ label: "+1939"
3245
+ },
3246
+ {
3247
+ country_label: "Palestinian Territories",
3248
+ code: "PS",
3249
+ unicode: "🇵🇸",
3250
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PS.svg",
3251
+ label: "+970"
3252
+ },
3253
+ {
3254
+ country_label: "Portugal",
3255
+ code: "PT",
3256
+ unicode: "🇵🇹",
3257
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PT.svg",
3258
+ label: "+351"
3259
+ },
3260
+ {
3261
+ country_label: "Palau",
3262
+ code: "PW",
3263
+ unicode: "🇵🇼",
3264
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PW.svg",
3265
+ label: "+680"
3266
+ },
3267
+ {
3268
+ country_label: "Paraguay",
3269
+ code: "PY",
3270
+ unicode: "🇵🇾",
3271
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PY.svg",
3272
+ label: "+595"
3273
+ },
3274
+ {
3275
+ country_label: "R\xE9union",
3276
+ code: "RE",
3277
+ unicode: "🇷🇪",
3278
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/RE.svg",
3279
+ label: "+262"
3280
+ },
3281
+ {
3282
+ country_label: "Romania",
3283
+ code: "RO",
3284
+ unicode: "🇷🇴",
3285
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/RO.svg",
3286
+ label: "+40"
3287
+ },
3288
+ {
3289
+ country_label: "Serbia",
3290
+ code: "RS",
3291
+ unicode: "🇷🇸",
3292
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/RS.svg",
3293
+ label: "+381"
3294
+ },
3295
+ {
3296
+ country_label: "Russia",
3297
+ code: "RU",
3298
+ unicode: "🇷🇺",
3299
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/RU.svg",
3300
+ label: "+7"
3301
+ },
3302
+ {
3303
+ country_label: "Rwanda",
3304
+ code: "RW",
3305
+ unicode: "🇷🇼",
3306
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/RW.svg",
3307
+ label: "+250"
3308
+ },
3309
+ {
3310
+ country_label: "Solomon Islands",
3311
+ code: "SB",
3312
+ unicode: "🇸🇧",
3313
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SB.svg",
3314
+ label: "+677"
3315
+ },
3316
+ {
3317
+ country_label: "Seychelles",
3318
+ code: "SC",
3319
+ unicode: "🇸🇨",
3320
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SC.svg",
3321
+ label: "+248"
3322
+ },
3323
+ {
3324
+ country_label: "Sudan",
3325
+ code: "SD",
3326
+ unicode: "🇸🇩",
3327
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SD.svg",
3328
+ label: "+249"
3329
+ },
3330
+ {
3331
+ country_label: "Sweden",
3332
+ code: "SE",
3333
+ unicode: "🇸🇪",
3334
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SE.svg",
3335
+ label: "+46"
3336
+ },
3337
+ {
3338
+ country_label: "Singapore",
3339
+ code: "SG",
3340
+ unicode: "🇸🇬",
3341
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SG.svg",
3342
+ label: "+65"
3343
+ },
3344
+ {
3345
+ country_label: "St. Helena",
3346
+ code: "SH",
3347
+ unicode: "🇸🇭",
3348
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SH.svg",
3349
+ label: "+290"
3350
+ },
3351
+ {
3352
+ country_label: "Slovenia",
3353
+ code: "SI",
3354
+ unicode: "🇸🇮",
3355
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SI.svg",
3356
+ label: "+386"
3357
+ },
3358
+ {
3359
+ country_label: "Svalbard & Jan Mayen",
3360
+ code: "SJ",
3361
+ unicode: "🇸🇯",
3362
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SJ.svg",
3363
+ label: "+47"
3364
+ },
3365
+ {
3366
+ country_label: "Slovakia",
3367
+ code: "SK",
3368
+ unicode: "🇸🇰",
3369
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SK.svg",
3370
+ label: "+421"
3371
+ },
3372
+ {
3373
+ country_label: "Sierra Leone",
3374
+ code: "SL",
3375
+ unicode: "🇸🇱",
3376
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SL.svg",
3377
+ label: "+232"
3378
+ },
3379
+ {
3380
+ country_label: "San Marino",
3381
+ code: "SM",
3382
+ unicode: "🇸🇲",
3383
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SM.svg",
3384
+ label: "+378"
3385
+ },
3386
+ {
3387
+ country_label: "Senegal",
3388
+ code: "SN",
3389
+ unicode: "🇸🇳",
3390
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SN.svg",
3391
+ label: "+221"
3392
+ },
3393
+ {
3394
+ country_label: "Somalia",
3395
+ code: "SO",
3396
+ unicode: "🇸🇴",
3397
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SO.svg",
3398
+ label: "+252"
3399
+ },
3400
+ {
3401
+ country_label: "Suriname",
3402
+ code: "SR",
3403
+ unicode: "🇸🇷",
3404
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SR.svg",
3405
+ label: "+597"
3406
+ },
3407
+ {
3408
+ country_label: "South Sudan",
3409
+ code: "SS",
3410
+ unicode: "🇸🇸",
3411
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SS.svg",
3412
+ label: "+211"
3413
+ },
3414
+ {
3415
+ country_label: "S\xE3o Tom\xE9 & Pr\xEDncipe",
3416
+ code: "ST",
3417
+ unicode: "🇸🇹",
3418
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ST.svg",
3419
+ label: "+239"
3420
+ },
3421
+ {
3422
+ country_label: "El Salvador",
3423
+ code: "SV",
3424
+ unicode: "🇸🇻",
3425
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SV.svg",
3426
+ label: "+503"
3427
+ },
3428
+ {
3429
+ country_label: "Syria",
3430
+ code: "SY",
3431
+ unicode: "🇸🇾",
3432
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SY.svg",
3433
+ label: "+963"
3434
+ },
3435
+ {
3436
+ country_label: "Eswatini",
3437
+ code: "SZ",
3438
+ unicode: "🇸🇿",
3439
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SZ.svg",
3440
+ label: "+268"
3441
+ },
3442
+ {
3443
+ country_label: "Turks & Caicos Islands",
3444
+ code: "TC",
3445
+ unicode: "🇹🇨",
3446
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TC.svg",
3447
+ label: "+1649"
3448
+ },
3449
+ {
3450
+ country_label: "Chad",
3451
+ code: "TD",
3452
+ unicode: "🇹🇩",
3453
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TD.svg",
3454
+ label: "+235"
3455
+ },
3456
+ {
3457
+ country_label: "Togo",
3458
+ code: "TG",
3459
+ unicode: "🇹🇬",
3460
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TG.svg",
3461
+ label: "+228"
3462
+ },
3463
+ {
3464
+ country_label: "Thailand",
3465
+ code: "TH",
3466
+ unicode: "🇹🇭",
3467
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TH.svg",
3468
+ label: "+66"
3469
+ },
3470
+ {
3471
+ country_label: "Tajikistan",
3472
+ code: "TJ",
3473
+ unicode: "🇹🇯",
3474
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TJ.svg",
3475
+ label: "+992"
3476
+ },
3477
+ {
3478
+ country_label: "Tokelau",
3479
+ code: "TK",
3480
+ unicode: "🇹🇰",
3481
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TK.svg",
3482
+ label: "+690"
3483
+ },
3484
+ {
3485
+ country_label: "Timor-Leste",
3486
+ code: "TL",
3487
+ unicode: "🇹🇱",
3488
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TL.svg",
3489
+ label: "+670"
3490
+ },
3491
+ {
3492
+ country_label: "Turkmenistan",
3493
+ code: "TM",
3494
+ unicode: "🇹🇲",
3495
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TM.svg",
3496
+ label: "+993"
3497
+ },
3498
+ {
3499
+ country_label: "Tunisia",
3500
+ code: "TN",
3501
+ unicode: "🇹🇳",
3502
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TN.svg",
3503
+ label: "+216"
3504
+ },
3505
+ {
3506
+ country_label: "Tonga",
3507
+ code: "TO",
3508
+ unicode: "🇹🇴",
3509
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TO.svg",
3510
+ label: "+676"
3511
+ },
3512
+ {
3513
+ country_label: "Turkey",
3514
+ code: "TR",
3515
+ unicode: "🇹🇷",
3516
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TR.svg",
3517
+ label: "+90"
3518
+ },
3519
+ {
3520
+ country_label: "Trinidad & Tobago",
3521
+ code: "TT",
3522
+ unicode: "🇹🇹",
3523
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TT.svg",
3524
+ label: "+1868"
3525
+ },
3526
+ {
3527
+ country_label: "Tuvalu",
3528
+ code: "TV",
3529
+ unicode: "🇹🇻",
3530
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TV.svg",
3531
+ label: "+688"
3532
+ },
3533
+ {
3534
+ country_label: "Taiwan",
3535
+ code: "TW",
3536
+ unicode: "🇹🇼",
3537
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TW.svg",
3538
+ label: "+886"
3539
+ },
3540
+ {
3541
+ country_label: "Tanzania",
3542
+ code: "TZ",
3543
+ unicode: "🇹🇿",
3544
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TZ.svg",
3545
+ label: "+255"
3546
+ },
3547
+ {
3548
+ country_label: "Ukraine",
3549
+ code: "UA",
3550
+ unicode: "🇺🇦",
3551
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/UA.svg",
3552
+ label: "+380"
3553
+ },
3554
+ {
3555
+ country_label: "Uganda",
3556
+ code: "UG",
3557
+ unicode: "🇺🇬",
3558
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/UG.svg",
3559
+ label: "+256"
3560
+ },
3561
+ {
3562
+ country_label: "United States",
3563
+ code: "US",
3564
+ unicode: "🇺🇸",
3565
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/US.svg",
3566
+ label: "+1"
3567
+ },
3568
+ {
3569
+ country_label: "Uruguay",
3570
+ code: "UY",
3571
+ unicode: "🇺🇾",
3572
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/UY.svg",
3573
+ label: "+598"
3574
+ },
3575
+ {
3576
+ country_label: "Uzbekistan",
3577
+ code: "UZ",
3578
+ unicode: "🇺🇿",
3579
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/UZ.svg",
3580
+ label: "+998"
3581
+ },
3582
+ {
3583
+ country_label: "Vatican City",
3584
+ code: "VA",
3585
+ unicode: "🇻🇦",
3586
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VA.svg",
3587
+ label: "+379"
3588
+ },
3589
+ {
3590
+ country_label: "St. Vincent & Grenadines",
3591
+ code: "VC",
3592
+ unicode: "🇻🇨",
3593
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VC.svg",
3594
+ label: "+1784"
3595
+ },
3596
+ {
3597
+ country_label: "Venezuela",
3598
+ code: "VE",
3599
+ unicode: "🇻🇪",
3600
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VE.svg",
3601
+ label: "+58"
3602
+ },
3603
+ {
3604
+ country_label: "British Virgin Islands",
3605
+ code: "VG",
3606
+ unicode: "🇻🇬",
3607
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VG.svg",
3608
+ label: "+1284"
3609
+ },
3610
+ {
3611
+ country_label: "U.S. Virgin Islands",
3612
+ code: "VI",
3613
+ unicode: "🇻🇮",
3614
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VI.svg",
3615
+ label: "+1340"
3616
+ },
3617
+ {
3618
+ country_label: "Vietnam",
3619
+ code: "VN",
3620
+ unicode: "🇻🇳",
3621
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VN.svg",
3622
+ label: "+84"
3623
+ },
3624
+ {
3625
+ country_label: "Vanuatu",
3626
+ code: "VU",
3627
+ unicode: "🇻🇺",
3628
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VU.svg",
3629
+ label: "+678"
3630
+ },
3631
+ {
3632
+ country_label: "Wallis & Futuna",
3633
+ code: "WF",
3634
+ unicode: "🇼🇫",
3635
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/WF.svg",
3636
+ label: "+681"
3637
+ },
3638
+ {
3639
+ country_label: "Samoa",
3640
+ code: "WS",
3641
+ unicode: "🇼🇸",
3642
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/WS.svg",
3643
+ label: "+685"
3644
+ },
3645
+ {
3646
+ country_label: "Yemen",
3647
+ code: "YE",
3648
+ unicode: "🇾🇪",
3649
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/YE.svg",
3650
+ label: "+967"
3651
+ },
3652
+ {
3653
+ country_label: "Mayotte",
3654
+ code: "YT",
3655
+ unicode: "🇾🇹",
3656
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/YT.svg",
3657
+ label: "+262"
3658
+ },
3659
+ {
3660
+ country_label: "South Africa",
3661
+ code: "ZA",
3662
+ unicode: "🇿🇦",
3663
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ZA.svg",
3664
+ label: "+27"
3665
+ },
3666
+ {
3667
+ country_label: "Zambia",
3668
+ code: "ZM",
3669
+ unicode: "🇿🇲",
3670
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ZM.svg",
3671
+ label: "+260"
3672
+ },
3673
+ {
3674
+ country_label: "Zimbabwe",
3675
+ code: "ZW",
3676
+ unicode: "🇿🇼",
3677
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ZW.svg",
3678
+ label: "+263"
3679
+ }
3680
+ ];
3681
+ var countries_default = countries;
3682
+
3683
+ // components/elements/PhoneInput.tsx
3684
+ import Select from "react-select";
3685
+ var Menu = ({
3686
+ cx,
3687
+ children,
3688
+ getStyles,
3689
+ innerProps,
3690
+ innerRef,
3691
+ ...props
3692
+ }) => {
3693
+ return /* @__PURE__ */ React26.createElement(
3694
+ "div",
3695
+ {
3696
+ className: "hawa-absolute hawa-z-50 hawa-w-[190px] hawa-rounded hawa-border hawa-bg-background",
3697
+ ref: innerRef,
3698
+ ...innerProps
3699
+ },
3700
+ children
3701
+ );
3702
+ };
3703
+ var Option = ({
3704
+ cx,
3705
+ children,
3706
+ getStyles,
3707
+ innerProps,
3708
+ innerRef,
3709
+ ...props
3710
+ }) => /* @__PURE__ */ React26.createElement(
3711
+ "div",
3712
+ {
3713
+ ref: innerRef,
3714
+ className: "hawa-m-2 hawa-flex hawa-cursor-pointer hawa-flex-row hawa-items-center hawa-justify-between hawa-rounded-inner hawa-p-1 hawa-px-2 hover:hawa-bg-primary hover:hawa-text-primary-foreground",
3715
+ ...innerProps
3716
+ },
3717
+ /* @__PURE__ */ React26.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-1" }, /* @__PURE__ */ React26.createElement("img", { className: "hawa-h-8 hawa-w-8", src: props.data.image }), /* @__PURE__ */ React26.createElement("span", { className: "hawa-text-[10px]" }, props.data.country_label)),
3718
+ children
3719
+ );
3720
+ var PhoneInput = (props) => {
3721
+ const [selectedCountry, setSelectedCountry] = useState11("+966");
3722
+ return /* @__PURE__ */ React26.createElement("div", { className: "hawa-mb-3 hawa-flex hawa-flex-col" }, props.label && /* @__PURE__ */ React26.createElement("label", { className: "hawa-mb-2 hawa-block hawa-text-sm hawa-font-medium" }, props.label), /* @__PURE__ */ React26.createElement("div", { dir: "ltr", className: "hawa-flex hawa-flex-row " }, /* @__PURE__ */ React26.createElement(
3723
+ Select,
3724
+ {
3725
+ classNames: {
3726
+ control: () => "hawa-w-[64px] hawa-text-right hawa-pr-2 hawa-cursor-pointer hawa-z-10 hawa-border hawa-rounded-l hawa-bg-background",
3727
+ placeholder: (state) => "hawa-text-muted-foreground hawa-text-right ",
3728
+ input: (state) => "hawa-bg-transparent hawa-cursor-pointer dark:hawa-text-white hawa-p-2 hawa-rounded-l hawa-text-[0.875rem] ",
3729
+ valueContainer: () => "hawa-rounded-l hawa-h-auto hawa-text-[0.875rem]"
3730
+ },
3731
+ styles: {
3732
+ placeholder: (base) => ({
3733
+ ...base,
3734
+ fontSize: "0.875rem",
3735
+ textAlign: "right"
3736
+ })
3737
+ },
3738
+ components: {
3739
+ Option,
3740
+ Menu,
3741
+ DropdownIndicator: () => null,
3742
+ IndicatorSeparator: () => null
3743
+ },
3744
+ options: countries_default,
3745
+ isMulti: false,
3746
+ isSearchable: true,
3747
+ isClearable: false,
3748
+ placeholder: "+966",
3749
+ unstyled: true,
3750
+ defaultValue: props.preferredCountry,
3751
+ value: selectedCountry,
3752
+ onChange: (newValue, action) => setSelectedCountry(newValue)
3753
+ }
3754
+ ), /* @__PURE__ */ React26.createElement(
3755
+ "input",
3756
+ {
3757
+ onChange: props.handleChange,
3758
+ type: "number",
3759
+ placeholder: "531045453",
3760
+ className: "hawa-block hawa-w-full hawa-rounded-r hawa-z-50 hawa-border hawa-bg-background hawa-p-2 hawa-text-sm hawa-text-gray-900 focus:hawa-border-blue-500 focus:hawa-ring-blue-500"
3761
+ }
3762
+ ), props.helperText && /* @__PURE__ */ React26.createElement("p", { className: "hawa-mb-1 hawa-mt-1 hawa-text-xs hawa-text-red-600 dark:hawa-text-red-500" }, props.helperText)));
3763
+ };
3764
+
3765
+ // components/elements/AppStores.tsx
3766
+ import React27 from "react";
3767
+ var AppStores = (props) => {
3768
+ return /* @__PURE__ */ React27.createElement("div", { className: "hawa-flex hawa-justify-center" }, /* @__PURE__ */ React27.createElement("div", null, props.store === "apple" ? props.mode === "dark" ? /* @__PURE__ */ React27.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" }, /* @__PURE__ */ React27.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ React27.createElement("svg", { viewBox: "0 0 384 512", width: "30" }, /* @__PURE__ */ React27.createElement(
3769
+ "path",
3770
+ {
3771
+ fill: "currentColor",
3772
+ 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"
3773
+ }
3774
+ ))), /* @__PURE__ */ React27.createElement("div", null, /* @__PURE__ */ React27.createElement("div", { className: "hawa-text-xs" }, "Download on the"), /* @__PURE__ */ React27.createElement("div", { className: "hawa-font-sans hawa--mt-1 hawa-text-2xl hawa-font-semibold" }, "App Store"))) : /* @__PURE__ */ React27.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-transparent hawa-text-black" }, /* @__PURE__ */ React27.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ React27.createElement("svg", { viewBox: "0 0 384 512", width: "30" }, /* @__PURE__ */ React27.createElement(
3775
+ "path",
3776
+ {
3777
+ fill: "currentColor",
3778
+ 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"
3779
+ }
3780
+ ))), /* @__PURE__ */ React27.createElement("div", null, /* @__PURE__ */ React27.createElement("div", { className: "hawa-text-xs" }, "Download on the"), /* @__PURE__ */ React27.createElement("div", { className: "hawa-font-sans hawa--mt-1 hawa-text-2xl hawa-font-semibold" }, "App Store"))) : props.mode === "dark" ? /* @__PURE__ */ React27.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" }, /* @__PURE__ */ React27.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ React27.createElement("svg", { viewBox: "30 336.7 120.9 129.2", width: "30" }, /* @__PURE__ */ React27.createElement(
3781
+ "path",
3782
+ {
3783
+ fill: "#FFD400",
3784
+ 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"
3785
+ }
3786
+ ), /* @__PURE__ */ React27.createElement(
3787
+ "path",
3788
+ {
3789
+ fill: "#FF3333",
3790
+ 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"
3791
+ }
3792
+ ), /* @__PURE__ */ React27.createElement(
3793
+ "path",
3794
+ {
3795
+ fill: "#48FF48",
3796
+ 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"
3797
+ }
3798
+ ), /* @__PURE__ */ React27.createElement(
3799
+ "path",
3800
+ {
3801
+ fill: "#3BCCFF",
3802
+ 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"
3803
+ }
3804
+ ))), /* @__PURE__ */ React27.createElement("div", null, /* @__PURE__ */ React27.createElement("div", { className: "hawa-text-xs" }, "GET IT ON"), /* @__PURE__ */ React27.createElement("div", { className: "hawa-font-sans hawa--mt-1 hawa-text-xl hawa-font-semibold" }, "Google Play"))) : /* @__PURE__ */ React27.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-white hawa-text-black" }, /* @__PURE__ */ React27.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ React27.createElement("svg", { viewBox: "30 336.7 120.9 129.2", width: "30" }, /* @__PURE__ */ React27.createElement(
3805
+ "path",
3806
+ {
3807
+ fill: "#FFD400",
3808
+ 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"
3809
+ }
3810
+ ), /* @__PURE__ */ React27.createElement(
3811
+ "path",
3812
+ {
3813
+ fill: "#FF3333",
3814
+ 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"
3815
+ }
3816
+ ), /* @__PURE__ */ React27.createElement(
3817
+ "path",
3818
+ {
3819
+ fill: "#48FF48",
3820
+ 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"
3821
+ }
3822
+ ), /* @__PURE__ */ React27.createElement(
3823
+ "path",
3824
+ {
3825
+ fill: "#3BCCFF",
3826
+ 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"
3827
+ }
3828
+ ))), /* @__PURE__ */ React27.createElement("div", null, /* @__PURE__ */ React27.createElement("div", { className: "hawa-text-xs" }, "GET IT ON"), /* @__PURE__ */ React27.createElement("div", { className: "hawa-font-sans hawa--mt-1 hawa-text-xl hawa-font-semibold" }, "Google Play")))));
3829
+ };
3830
+
3831
+ // components/elements/BackToTop.tsx
3832
+ import React28, { useState as useState12, useEffect as useEffect7, useRef as useRef4 } from "react";
3833
+ import { clsx as clsx7 } from "clsx";
3834
+ var BackToTop = ({ ...props }) => {
3835
+ const [visible, setVisible] = useState12(false);
3836
+ const [rect, _setRect] = useState12(null);
3837
+ const self = useRef4(null);
3838
+ const _rect = useRef4(rect);
3839
+ const setRect = (data) => {
3840
+ _rect.current = data;
3841
+ _setRect(data);
3842
+ };
3843
+ const getCoords = () => {
3844
+ let anchor = props.anchor.current;
3845
+ if (anchor) {
3846
+ return [anchor.scrollTop, anchor.scrollLeft];
3847
+ }
3848
+ return [0, 0];
3849
+ };
3850
+ const onScroll = () => {
3851
+ let [scrollTop, scrollLeft] = getCoords();
3852
+ let rect2 = props.anchor.current?.getBoundingClientRect();
3853
+ if (rect2) {
3854
+ setVisible(scrollTop >= rect2.height + (props.paddingThreshold || 100));
3855
+ }
3856
+ };
3857
+ const backToTop = () => {
3858
+ if (props.anchor.current) {
3859
+ props.anchor.current.scrollTo({ top: 0, behavior: "smooth" });
3860
+ }
3861
+ };
3862
+ useEffect7(() => {
3863
+ if (!props.anchor.current)
3864
+ return;
3865
+ props.anchor.current.addEventListener("scroll", onScroll);
3866
+ let interval = setInterval(() => {
3867
+ if (!props.anchor.current)
3868
+ return;
3869
+ let newRect = props.anchor.current.getBoundingClientRect();
3870
+ if (_rect.current == null)
3871
+ return setRect(newRect);
3872
+ if (!(_rect.current.top == newRect.top && _rect.current.left == newRect.left && _rect.current.width == newRect.width && _rect.current.height == newRect.height)) {
3873
+ setRect(newRect);
3874
+ }
3875
+ }, 1);
3876
+ return () => {
3877
+ props.anchor.current?.removeEventListener("scroll", onScroll);
3878
+ clearInterval(interval);
3879
+ };
3880
+ }, []);
3881
+ const getStyles = () => {
3882
+ if (!props.anchor.current || !self.current)
3883
+ return {};
3884
+ let corner = props.corner || "bottom-right";
3885
+ let [vertical, horizontal] = corner.split("-");
3886
+ let anchorRect = props.anchor.current.getBoundingClientRect();
3887
+ let selfRect = self.current?.getBoundingClientRect();
3888
+ let width = horizontal == "right" ? anchorRect.width - selfRect.width : 0;
3889
+ let height = vertical == "bottom" ? anchorRect.height - selfRect.height : 0;
3890
+ let style = {
3891
+ top: anchorRect.y + height + (vertical == "bottom" ? -1 : 1) * (props.paddingX || 10),
3892
+ left: anchorRect.x + width + (horizontal == "right" ? -1 : 1) * (props.paddingX || 25)
3893
+ };
3894
+ return style;
3895
+ };
3896
+ return /* @__PURE__ */ React28.createElement(
3897
+ Button,
3898
+ {
3899
+ className: cn(
3900
+ "hawa-fixed hawa-cursor-pointer hawa-rounded hawa-transition-all",
3901
+ visible ? "hawa-pointer-events-all hawa-opacity-100" : "hawa-pointer-events-none hawa-opacity-0"
3902
+ ),
3903
+ onClick: backToTop,
3904
+ style: {
3905
+ ...getStyles(),
3906
+ transitionProperty: "opacity, background-color"
3907
+ },
3908
+ ref: self,
3909
+ size: "icon"
3910
+ },
3911
+ /* @__PURE__ */ React28.createElement(
3912
+ "svg",
3913
+ {
3914
+ className: clsx7(
3915
+ "hawa-h-6 hawa-w-6 hawa-shrink-0 hawa-rotate-180 hawa-transition-all disabled:hawa-bg-gray-200"
3916
+ ),
3917
+ "aria-label": "Arrow Icon",
3918
+ viewBox: "0 0 20 20",
3919
+ fill: "currentColor"
3920
+ },
3921
+ /* @__PURE__ */ React28.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" })
3922
+ )
3923
+ );
3924
+ };
1385
3925
  export {
1386
3926
  ActionCard,
3927
+ Alert,
3928
+ AppStores,
3929
+ BackToTop,
1387
3930
  Breadcrumb,
1388
3931
  Button,
1389
3932
  Card,
@@ -1393,7 +3936,9 @@ export {
1393
3936
  CardHeader,
1394
3937
  CardTitle,
1395
3938
  Checkbox,
3939
+ Chip,
1396
3940
  CodeBlock,
3941
+ ColorPicker,
1397
3942
  Dialog,
1398
3943
  DialogContent,
1399
3944
  DialogDescription,
@@ -1402,9 +3947,18 @@ export {
1402
3947
  DialogTitle,
1403
3948
  DialogTrigger,
1404
3949
  DropdownMenu,
3950
+ FileDropzone,
3951
+ Label,
1405
3952
  Loading,
3953
+ PhoneInput,
3954
+ PinInput,
3955
+ Popover,
3956
+ PopoverContent,
1406
3957
  Radio,
3958
+ Skeleton,
3959
+ Slider,
1407
3960
  Switch,
3961
+ Textarea,
1408
3962
  Toast,
1409
3963
  ToastAction,
1410
3964
  ToastClose,