@sikka/hawa 0.30.25-next → 0.30.26-next

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist/blocks/index.js +100 -72
  2. package/dist/blocks/index.mjs +1 -1
  3. package/dist/blocks/misc/index.js +88 -60
  4. package/dist/blocks/misc/index.mjs +105 -75
  5. package/dist/blocks/pricing/index.mjs +1 -1
  6. package/dist/{chunk-7LAUVLVZ.mjs → chunk-QDRFTC7W.mjs} +96 -62
  7. package/dist/combobox/index.js.map +1 -1
  8. package/dist/combobox/index.mjs.map +1 -1
  9. package/dist/commonTypes-LrR8QrYP.d.mts +5 -0
  10. package/dist/commonTypes-LrR8QrYP.d.ts +5 -0
  11. package/dist/commonTypes-MeUyaBib.d.mts +5 -0
  12. package/dist/commonTypes-MeUyaBib.d.ts +5 -0
  13. package/dist/elements/index.d.mts +5 -1
  14. package/dist/elements/index.d.ts +5 -1
  15. package/dist/elements/index.js +122 -86
  16. package/dist/elements/index.mjs +5 -1
  17. package/dist/floatBox/index.d.mts +12 -0
  18. package/dist/floatBox/index.d.ts +12 -0
  19. package/dist/floatBox/index.js +85 -0
  20. package/dist/floatBox/index.js.map +1 -0
  21. package/dist/floatBox/index.mjs +49 -0
  22. package/dist/floatBox/index.mjs.map +1 -0
  23. package/dist/index.css +101 -56
  24. package/dist/index.d.mts +5 -1
  25. package/dist/index.d.ts +5 -1
  26. package/dist/index.js +162 -126
  27. package/dist/index.mjs +683 -649
  28. package/dist/input/index.d.mts +2 -1
  29. package/dist/input/index.d.ts +2 -1
  30. package/dist/label/index.d.mts +1 -2
  31. package/dist/label/index.d.ts +1 -2
  32. package/dist/passwordInput/index.js.map +1 -1
  33. package/dist/passwordInput/index.mjs.map +1 -1
  34. package/dist/phoneInput/index.d.mts +2 -1
  35. package/dist/phoneInput/index.d.ts +2 -1
  36. package/dist/popover/index.d.mts +3 -1
  37. package/dist/popover/index.d.ts +3 -1
  38. package/dist/popover/index.js +6 -0
  39. package/dist/popover/index.js.map +1 -1
  40. package/dist/popover/index.mjs +4 -0
  41. package/dist/popover/index.mjs.map +1 -1
  42. package/dist/progress/index.d.mts +8 -1
  43. package/dist/progress/index.d.ts +8 -1
  44. package/dist/radio/index.d.mts +9 -1
  45. package/dist/radio/index.d.ts +9 -1
  46. package/dist/scrollArea/index.d.mts +1 -1
  47. package/dist/scrollArea/index.d.ts +1 -1
  48. package/dist/separator/index.d.mts +1 -1
  49. package/dist/separator/index.d.ts +1 -1
  50. package/dist/signature/index.d.mts +1 -2
  51. package/dist/signature/index.d.ts +1 -2
  52. package/dist/simpleTable/index.d.mts +1 -1
  53. package/dist/simpleTable/index.d.ts +1 -1
  54. package/dist/switch/index.d.mts +2 -1
  55. package/dist/switch/index.d.ts +2 -1
  56. package/dist/tabs/index.d.mts +3 -1
  57. package/dist/tabs/index.d.ts +3 -1
  58. package/dist/tabs/index.js +60 -32
  59. package/dist/tabs/index.js.map +1 -1
  60. package/dist/tabs/index.mjs +60 -32
  61. package/dist/tabs/index.mjs.map +1 -1
  62. package/dist/textarea/index.d.mts +1 -1
  63. package/dist/textarea/index.d.ts +1 -1
  64. package/dist/toast/index.d.mts +1 -1
  65. package/dist/toast/index.d.ts +1 -1
  66. package/dist/toaster/index.d.mts +22 -4
  67. package/dist/toaster/index.d.ts +22 -4
  68. package/dist/tooltip/index.d.mts +3 -4
  69. package/dist/tooltip/index.d.ts +3 -4
  70. package/package.json +8 -8
  71. package/dist/Label-9FHRF7Ex.d.mts +0 -14
  72. package/dist/Label-9FHRF7Ex.d.ts +0 -14
  73. package/dist/commonTypes-3k5cNB1s.d.mts +0 -4
  74. package/dist/commonTypes-3k5cNB1s.d.ts +0 -4
  75. package/dist/commonTypes-PBumfOBg.d.mts +0 -3
  76. package/dist/commonTypes-PBumfOBg.d.ts +0 -3
  77. /package/dist/{chunk-CVOMHXJK.mjs → chunk-BXGDHNAY.mjs} +0 -0
package/dist/index.mjs CHANGED
@@ -3461,6 +3461,8 @@ var Popover = ({
3461
3461
  ));
3462
3462
  };
3463
3463
  var PopoverTrigger = PopoverPrimitive.Trigger;
3464
+ var PopoverPortal = PopoverPrimitive.Portal;
3465
+ var PopoverRoot = PopoverPrimitive.Root;
3464
3466
 
3465
3467
  // elements/combobox/Combobox.tsx
3466
3468
  var Combobox = React27.forwardRef(
@@ -3944,9 +3946,46 @@ var SortButton = (props) => {
3944
3946
  };
3945
3947
 
3946
3948
  // elements/tabs/Tabs.tsx
3947
- import * as React31 from "react";
3949
+ import * as React32 from "react";
3948
3950
  import * as TabsPrimitive from "@radix-ui/react-tabs";
3949
3951
  import { tv } from "tailwind-variants";
3952
+
3953
+ // elements/floatBox/FloatBox.tsx
3954
+ import * as React31 from "react";
3955
+ var FloatBox = ({
3956
+ className,
3957
+ open,
3958
+ side = "bottom",
3959
+ sideOffset = 40,
3960
+ ...props
3961
+ }) => {
3962
+ let widthStyles = {
3963
+ trigger: "var(--radix-popover-trigger-width)",
3964
+ default: "auto"
3965
+ };
3966
+ let sideOffsetStyles = {
3967
+ bottom: { top: sideOffset },
3968
+ top: { bottom: sideOffset },
3969
+ right: { left: sideOffset },
3970
+ left: { right: sideOffset }
3971
+ };
3972
+ return /* @__PURE__ */ React31.createElement(
3973
+ "div",
3974
+ {
3975
+ className: cn(
3976
+ "data-[floatbox-state=closed]:hawa-invisible data-[floatbox-state=open]:hawa-visible hawa-absolute dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[floatbox-state=open]:hawa-animate-in data-[floatbox-state=closed]:hawa-animate-out data-[floatbox-state=closed]:hawa-fade-out-0 data-[floatbox-state=open]:hawa-fade-in-0 data-[floatbox-state=closed]:hawa-zoom-out-95 data-[floatbox-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",
3977
+ sideOffsetStyles[side],
3978
+ className
3979
+ ),
3980
+ style: { ...sideOffsetStyles[side] },
3981
+ "data-side": side,
3982
+ "data-floatbox-state": open ? "open" : "closed"
3983
+ },
3984
+ props.children
3985
+ );
3986
+ };
3987
+
3988
+ // elements/tabs/Tabs.tsx
3950
3989
  var tabsListVariant = tv({
3951
3990
  base: "",
3952
3991
  variants: {
@@ -3955,10 +3994,7 @@ var tabsListVariant = tv({
3955
3994
  underlined: "hawa-flex hawa-w-fit hawa-flex-wrap hawa-items-center hawa-justify-start hawa-gap-1 hawa-rounded hawa-p-1 hawa-text-muted-foreground dark:hawa-border-primary/10",
3956
3995
  underlined_tabs: "hawa-flex hawa-w-fit hawa-flex-wrap hawa-items-center hawa-justify-start hawa-gap-1 hawa-text-muted-foreground"
3957
3996
  },
3958
- orientation: {
3959
- horizontal: "",
3960
- vertical: ""
3961
- }
3997
+ orientation: { horizontal: "", vertical: "" }
3962
3998
  },
3963
3999
  compoundVariants: [
3964
4000
  {
@@ -3972,10 +4008,7 @@ var tabsListVariant = tv({
3972
4008
  class: "hawa-border-b-2 hawa-border-b-primary"
3973
4009
  }
3974
4010
  ],
3975
- defaultVariants: {
3976
- variant: "default",
3977
- orientation: "horizontal"
3978
- }
4011
+ defaultVariants: { variant: "default", orientation: "horizontal" }
3979
4012
  });
3980
4013
  var tabsTriggerVariant = tv({
3981
4014
  base: "",
@@ -3985,10 +4018,7 @@ var tabsTriggerVariant = tv({
3985
4018
  underlined: "hawa-inline-flex hawa-w-full hawa-flex-1 hawa-select-none hawa-items-center hawa-justify-center hawa-gap-2 hawa-whitespace-nowrap hawa-rounded hawa-rounded-none hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-all 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",
3986
4019
  underlined_tabs: "hawa-inline-flex hawa-w-full hawa-flex-1 hawa-select-none hawa-items-center hawa-justify-center hawa-gap-2 hawa-whitespace-nowrap hawa-rounded hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-all 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 hawa-bg-primary/10 data-[state=active]:hawa-bg-primary data-[state=active]:hawa-text-primary-foreground dark:hawa-border-primary/10"
3987
4020
  },
3988
- orientation: {
3989
- horizontal: "",
3990
- vertical: ""
3991
- }
4021
+ orientation: { horizontal: "", vertical: "" }
3992
4022
  },
3993
4023
  compoundVariants: [
3994
4024
  {
@@ -4012,13 +4042,10 @@ var tabsTriggerVariant = tv({
4012
4042
  class: "hawa-rounded-e-none"
4013
4043
  }
4014
4044
  ],
4015
- defaultVariants: {
4016
- variant: "default",
4017
- orientation: "horizontal"
4018
- }
4045
+ defaultVariants: { variant: "default", orientation: "horizontal" }
4019
4046
  });
4020
- var TabsContext = React31.createContext({ orientation: "horizontal", variant: "default" });
4021
- var Tabs = React31.forwardRef(({ className, orientation, variant = "default", ...props }, ref) => /* @__PURE__ */ React31.createElement(
4047
+ var TabsContext = React32.createContext({ orientation: "horizontal", variant: "default" });
4048
+ var Tabs = React32.forwardRef(({ className, orientation, variant = "default", ...props }, ref) => /* @__PURE__ */ React32.createElement(
4022
4049
  TabsPrimitive.Root,
4023
4050
  {
4024
4051
  ref,
@@ -4029,12 +4056,11 @@ var Tabs = React31.forwardRef(({ className, orientation, variant = "default", ..
4029
4056
  ),
4030
4057
  ...props
4031
4058
  },
4032
- /* @__PURE__ */ React31.createElement(TabsContext.Provider, { value: { orientation, variant } }, props.children)
4059
+ /* @__PURE__ */ React32.createElement(TabsContext.Provider, { value: { orientation, variant } }, props.children)
4033
4060
  ));
4034
- Tabs.displayName = TabsPrimitive.Root.displayName;
4035
- var TabsList = React31.forwardRef(({ className, ...props }, ref) => {
4036
- const { orientation, variant } = React31.useContext(TabsContext);
4037
- return /* @__PURE__ */ React31.createElement(
4061
+ var TabsList = React32.forwardRef(({ className, ...props }, ref) => {
4062
+ const { orientation, variant } = React32.useContext(TabsContext);
4063
+ return /* @__PURE__ */ React32.createElement(
4038
4064
  TabsPrimitive.List,
4039
4065
  {
4040
4066
  ref,
@@ -4047,22 +4073,25 @@ var TabsList = React31.forwardRef(({ className, ...props }, ref) => {
4047
4073
  }
4048
4074
  );
4049
4075
  });
4050
- TabsList.displayName = TabsPrimitive.List.displayName;
4051
- var TabsTrigger = React31.forwardRef(({ className, chipProps, ...props }, ref) => {
4052
- const { orientation, variant } = React31.useContext(TabsContext);
4053
- return /* @__PURE__ */ React31.createElement(
4076
+ var TabsTrigger = React32.forwardRef(({ className, chipProps, ...props }, ref) => {
4077
+ const { orientation, variant } = React32.useContext(TabsContext);
4078
+ return /* @__PURE__ */ React32.createElement(
4054
4079
  TabsPrimitive.Trigger,
4055
4080
  {
4056
4081
  ref,
4057
- className: cn(tabsTriggerVariant({ variant, orientation }), className),
4082
+ className: cn(
4083
+ tabsTriggerVariant({ variant, orientation }),
4084
+ "hawa-relative",
4085
+ className
4086
+ ),
4058
4087
  ...props
4059
4088
  },
4060
4089
  props.children,
4061
- chipProps && /* @__PURE__ */ React31.createElement(Chip, { ...chipProps })
4090
+ chipProps && /* @__PURE__ */ React32.createElement(Chip, { ...chipProps }),
4091
+ /* @__PURE__ */ React32.createElement(FloatBox, { open: props.showPopover }, props.popoverContent)
4062
4092
  );
4063
4093
  });
4064
- TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
4065
- var TabsContent = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React31.createElement(
4094
+ var TabsContent = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React32.createElement(
4066
4095
  TabsPrimitive.Content,
4067
4096
  {
4068
4097
  ref,
@@ -4073,10 +4102,13 @@ var TabsContent = React31.forwardRef(({ className, ...props }, ref) => /* @__PUR
4073
4102
  ...props
4074
4103
  }
4075
4104
  ));
4105
+ Tabs.displayName = TabsPrimitive.Root.displayName;
4106
+ TabsList.displayName = TabsPrimitive.List.displayName;
4107
+ TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
4076
4108
  TabsContent.displayName = TabsPrimitive.Content.displayName;
4077
4109
 
4078
4110
  // elements/select/Select.tsx
4079
- import React32 from "react";
4111
+ import React33 from "react";
4080
4112
  import ReactSelect from "react-select";
4081
4113
  import CreatableSelect from "react-select/creatable";
4082
4114
  import clsx3 from "clsx";
@@ -4087,10 +4119,10 @@ var Select = ({
4087
4119
  }) => {
4088
4120
  const NoOption = () => {
4089
4121
  var _a, _b;
4090
- return /* @__PURE__ */ React32.createElement("div", null, (_b = (_a = props.texts) == null ? void 0 : _a.noOptions) != null ? _b : "No Items Found");
4122
+ return /* @__PURE__ */ React33.createElement("div", null, (_b = (_a = props.texts) == null ? void 0 : _a.noOptions) != null ? _b : "No Items Found");
4091
4123
  };
4092
4124
  const Control = ({ children, innerProps, innerRef }) => {
4093
- return /* @__PURE__ */ React32.createElement(
4125
+ return /* @__PURE__ */ React33.createElement(
4094
4126
  "div",
4095
4127
  {
4096
4128
  ref: innerRef,
@@ -4103,7 +4135,7 @@ var Select = ({
4103
4135
  );
4104
4136
  };
4105
4137
  const Option = ({ children, innerProps, innerRef }) => {
4106
- return /* @__PURE__ */ React32.createElement(
4138
+ return /* @__PURE__ */ React33.createElement(
4107
4139
  "div",
4108
4140
  {
4109
4141
  ref: innerRef,
@@ -4124,7 +4156,7 @@ var Select = ({
4124
4156
  ...menuProps
4125
4157
  }) => {
4126
4158
  const menuOpen = menuProps.selectProps.menuIsOpen;
4127
- return /* @__PURE__ */ React32.createElement(
4159
+ return /* @__PURE__ */ React33.createElement(
4128
4160
  "div",
4129
4161
  {
4130
4162
  className: cn(
@@ -4138,7 +4170,7 @@ var Select = ({
4138
4170
  children
4139
4171
  );
4140
4172
  };
4141
- return /* @__PURE__ */ React32.createElement(
4173
+ return /* @__PURE__ */ React33.createElement(
4142
4174
  "div",
4143
4175
  {
4144
4176
  className: cn(
@@ -4146,10 +4178,10 @@ var Select = ({
4146
4178
  props.width === "fit" ? "hawa-w-fit" : "hawa-w-full"
4147
4179
  )
4148
4180
  },
4149
- props.label && /* @__PURE__ */ React32.createElement(Label2, { ...labelProps }, props.label),
4150
- props.isLoading ? /* @__PURE__ */ React32.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" }) : !props.isCreatable ? (
4181
+ props.label && /* @__PURE__ */ React33.createElement(Label2, { ...labelProps }, props.label),
4182
+ props.isLoading ? /* @__PURE__ */ React33.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" }) : !props.isCreatable ? (
4151
4183
  // TODO: enable keyboard to go to the next item in the list
4152
- /* @__PURE__ */ React32.createElement(
4184
+ /* @__PURE__ */ React33.createElement(
4153
4185
  ReactSelect,
4154
4186
  {
4155
4187
  noOptionsMessage: NoOption,
@@ -4186,7 +4218,7 @@ var Select = ({
4186
4218
  isSearchable: props.isSearchable
4187
4219
  }
4188
4220
  )
4189
- ) : /* @__PURE__ */ React32.createElement(
4221
+ ) : /* @__PURE__ */ React33.createElement(
4190
4222
  CreatableSelect,
4191
4223
  {
4192
4224
  formatCreateLabel: (inputValue) => {
@@ -4216,7 +4248,7 @@ var Select = ({
4216
4248
  onInputChange: (newValue, action) => props.onInputChange(newValue, action)
4217
4249
  }
4218
4250
  ),
4219
- !props.hideHelperText && /* @__PURE__ */ React32.createElement(
4251
+ !props.hideHelperText && /* @__PURE__ */ React33.createElement(
4220
4252
  "p",
4221
4253
  {
4222
4254
  className: cn(
@@ -4230,15 +4262,15 @@ var Select = ({
4230
4262
  };
4231
4263
 
4232
4264
  // elements/switch/Switch.tsx
4233
- import * as React33 from "react";
4265
+ import * as React34 from "react";
4234
4266
  import * as SwitchPrimitives from "@radix-ui/react-switch";
4235
- var Switch = React33.forwardRef(
4267
+ var Switch = React34.forwardRef(
4236
4268
  ({ className, size = "default", roundedness = "inherit", label, ...props }, ref) => {
4237
- const [parentDirection, setParentDirection] = React33.useState(
4269
+ const [parentDirection, setParentDirection] = React34.useState(
4238
4270
  null
4239
4271
  );
4240
- const parentRef = React33.useRef(null);
4241
- React33.useEffect(() => {
4272
+ const parentRef = React34.useRef(null);
4273
+ React34.useEffect(() => {
4242
4274
  var _a;
4243
4275
  const parentNode = (_a = parentRef.current) == null ? void 0 : _a.parentNode;
4244
4276
  if (parentNode) {
@@ -4266,13 +4298,13 @@ var Switch = React33.forwardRef(
4266
4298
  full: "hawa-rounded-full",
4267
4299
  inherit: "hawa-rounded-inner"
4268
4300
  };
4269
- return /* @__PURE__ */ React33.createElement(
4301
+ return /* @__PURE__ */ React34.createElement(
4270
4302
  "div",
4271
4303
  {
4272
4304
  className: "hawa-flex hawa-flex-row hawa-items-center",
4273
4305
  ref: parentRef
4274
4306
  },
4275
- /* @__PURE__ */ React33.createElement(
4307
+ /* @__PURE__ */ React34.createElement(
4276
4308
  SwitchPrimitives.Root,
4277
4309
  {
4278
4310
  className: cn(
@@ -4286,7 +4318,7 @@ var Switch = React33.forwardRef(
4286
4318
  ...props,
4287
4319
  ref
4288
4320
  },
4289
- /* @__PURE__ */ React33.createElement(
4321
+ /* @__PURE__ */ React34.createElement(
4290
4322
  SwitchPrimitives.Thumb,
4291
4323
  {
4292
4324
  className: cn(
@@ -4300,14 +4332,14 @@ var Switch = React33.forwardRef(
4300
4332
  }
4301
4333
  )
4302
4334
  ),
4303
- label && /* @__PURE__ */ React33.createElement("span", { className: "hawa-mx-2 hawa-text-sm hawa-font-medium hawa-text-gray-900 dark:hawa-text-gray-300" }, label)
4335
+ label && /* @__PURE__ */ React34.createElement("span", { className: "hawa-mx-2 hawa-text-sm hawa-font-medium hawa-text-gray-900 dark:hawa-text-gray-300" }, label)
4304
4336
  );
4305
4337
  }
4306
4338
  );
4307
4339
  Switch.displayName = SwitchPrimitives.Root.displayName;
4308
4340
 
4309
4341
  // elements/checkbox/Checkbox.tsx
4310
- import * as React34 from "react";
4342
+ import * as React35 from "react";
4311
4343
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
4312
4344
  var Checkbox = ({
4313
4345
  id,
@@ -4327,7 +4359,7 @@ var Checkbox = ({
4327
4359
  lg: 0.9,
4328
4360
  xl: 1
4329
4361
  };
4330
- return /* @__PURE__ */ React34.createElement(
4362
+ return /* @__PURE__ */ React35.createElement(
4331
4363
  "div",
4332
4364
  {
4333
4365
  className: cn(
@@ -4335,7 +4367,7 @@ var Checkbox = ({
4335
4367
  size === "default" ? "hawa-items-top" : "hawa-items-center"
4336
4368
  )
4337
4369
  },
4338
- /* @__PURE__ */ React34.createElement(
4370
+ /* @__PURE__ */ React35.createElement(
4339
4371
  CheckboxElement,
4340
4372
  {
4341
4373
  ...props,
@@ -4345,7 +4377,7 @@ var Checkbox = ({
4345
4377
  id
4346
4378
  }
4347
4379
  ),
4348
- (label || helperText) && /* @__PURE__ */ React34.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React34.createElement(
4380
+ (label || helperText) && /* @__PURE__ */ React35.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React35.createElement(
4349
4381
  "label",
4350
4382
  {
4351
4383
  htmlFor: id,
@@ -4359,7 +4391,7 @@ var Checkbox = ({
4359
4391
  }
4360
4392
  },
4361
4393
  label
4362
- ), sublabel && /* @__PURE__ */ React34.createElement(
4394
+ ), sublabel && /* @__PURE__ */ React35.createElement(
4363
4395
  "label",
4364
4396
  {
4365
4397
  htmlFor: id,
@@ -4369,7 +4401,7 @@ var Checkbox = ({
4369
4401
  )
4370
4402
  },
4371
4403
  sublabel
4372
- ), helperText && !disabled && /* @__PURE__ */ React34.createElement(
4404
+ ), helperText && !disabled && /* @__PURE__ */ React35.createElement(
4373
4405
  "label",
4374
4406
  {
4375
4407
  htmlFor: id,
@@ -4382,7 +4414,7 @@ var Checkbox = ({
4382
4414
  ))
4383
4415
  );
4384
4416
  };
4385
- var CheckboxElement = React34.forwardRef(({ radius = "inherit", size = "default", className, ...props }, ref) => {
4417
+ var CheckboxElement = React35.forwardRef(({ radius = "inherit", size = "default", className, ...props }, ref) => {
4386
4418
  let checkboxRadius = {
4387
4419
  none: "hawa-rounded-none",
4388
4420
  inherit: "hawa-rounded-sm",
@@ -4404,7 +4436,7 @@ var CheckboxElement = React34.forwardRef(({ radius = "inherit", size = "default"
4404
4436
  lg: "1em",
4405
4437
  xl: "1.25em"
4406
4438
  };
4407
- return /* @__PURE__ */ React34.createElement(
4439
+ return /* @__PURE__ */ React35.createElement(
4408
4440
  CheckboxPrimitive.Root,
4409
4441
  {
4410
4442
  ref,
@@ -4416,14 +4448,14 @@ var CheckboxElement = React34.forwardRef(({ radius = "inherit", size = "default"
4416
4448
  ),
4417
4449
  ...props
4418
4450
  },
4419
- /* @__PURE__ */ React34.createElement(
4451
+ /* @__PURE__ */ React35.createElement(
4420
4452
  CheckboxPrimitive.Indicator,
4421
4453
  {
4422
4454
  className: cn(
4423
4455
  "hawa-flex hawa-items-center hawa-justify-center hawa-text-current"
4424
4456
  )
4425
4457
  },
4426
- /* @__PURE__ */ React34.createElement(
4458
+ /* @__PURE__ */ React35.createElement(
4427
4459
  "svg",
4428
4460
  {
4429
4461
  "aria-label": "Check Mark",
@@ -4434,7 +4466,7 @@ var CheckboxElement = React34.forwardRef(({ radius = "inherit", size = "default"
4434
4466
  height: checkboxIndicatorSizes[size],
4435
4467
  width: checkboxIndicatorSizes[size]
4436
4468
  },
4437
- /* @__PURE__ */ React34.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" })
4469
+ /* @__PURE__ */ React35.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" })
4438
4470
  ),
4439
4471
  " "
4440
4472
  )
@@ -4443,9 +4475,9 @@ var CheckboxElement = React34.forwardRef(({ radius = "inherit", size = "default"
4443
4475
  CheckboxElement.displayName = CheckboxPrimitive.Root.displayName;
4444
4476
 
4445
4477
  // elements/progress/Progress.tsx
4446
- import * as React35 from "react";
4478
+ import * as React36 from "react";
4447
4479
  import * as ProgressPrimitive from "@radix-ui/react-progress";
4448
- var Progress = React35.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ React35.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React35.createElement(Label2, { ...props.labelProps }, props.label), /* @__PURE__ */ React35.createElement(
4480
+ var Progress = React36.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ React36.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React36.createElement(Label2, { ...props.labelProps }, props.label), /* @__PURE__ */ React36.createElement(
4449
4481
  ProgressPrimitive.Root,
4450
4482
  {
4451
4483
  ref,
@@ -4455,7 +4487,7 @@ var Progress = React35.forwardRef(({ className, value, ...props }, ref) => /* @_
4455
4487
  ),
4456
4488
  ...props
4457
4489
  },
4458
- /* @__PURE__ */ React35.createElement(
4490
+ /* @__PURE__ */ React36.createElement(
4459
4491
  ProgressPrimitive.Indicator,
4460
4492
  {
4461
4493
  className: "hawa-h-full hawa-w-full hawa-flex-1 hawa-bg-primary hawa-transition-all",
@@ -4466,7 +4498,7 @@ var Progress = React35.forwardRef(({ className, value, ...props }, ref) => /* @_
4466
4498
  Progress.displayName = ProgressPrimitive.Root.displayName;
4467
4499
 
4468
4500
  // elements/breadcrumb/Breadcrumb.tsx
4469
- import React36 from "react";
4501
+ import React37 from "react";
4470
4502
  var Breadcrumb = ({
4471
4503
  breadcrumbLinks,
4472
4504
  separator = ">",
@@ -4477,7 +4509,7 @@ var Breadcrumb = ({
4477
4509
  small: "hawa-text-sm",
4478
4510
  xs: "hawa-text-xs"
4479
4511
  };
4480
- return /* @__PURE__ */ React36.createElement(
4512
+ return /* @__PURE__ */ React37.createElement(
4481
4513
  "div",
4482
4514
  {
4483
4515
  className: cn(
@@ -4485,13 +4517,13 @@ var Breadcrumb = ({
4485
4517
  textStyles[size]
4486
4518
  )
4487
4519
  },
4488
- breadcrumbLinks.map((singleBreadcrumbLink, index) => /* @__PURE__ */ React36.createElement(
4520
+ breadcrumbLinks.map((singleBreadcrumbLink, index) => /* @__PURE__ */ React37.createElement(
4489
4521
  "div",
4490
4522
  {
4491
4523
  key: index,
4492
4524
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2"
4493
4525
  },
4494
- /* @__PURE__ */ React36.createElement(
4526
+ /* @__PURE__ */ React37.createElement(
4495
4527
  "a",
4496
4528
  {
4497
4529
  href: singleBreadcrumbLink.href,
@@ -4499,49 +4531,49 @@ var Breadcrumb = ({
4499
4531
  },
4500
4532
  singleBreadcrumbLink.label
4501
4533
  ),
4502
- index != breadcrumbLinks.length - 1 ? typeof separator == "string" ? /* @__PURE__ */ React36.createElement("div", null, separator) : /* @__PURE__ */ React36.createElement("div", null, separator) : null
4534
+ index != breadcrumbLinks.length - 1 ? typeof separator == "string" ? /* @__PURE__ */ React37.createElement("div", null, separator) : /* @__PURE__ */ React37.createElement("div", null, separator) : null
4503
4535
  ))
4504
4536
  );
4505
4537
  };
4506
4538
 
4507
4539
  // elements/appStores/AppStores.tsx
4508
- import React37 from "react";
4540
+ import React38 from "react";
4509
4541
  var AppStores = (props) => {
4510
- return /* @__PURE__ */ React37.createElement("div", { className: "hawa-flex hawa-justify-center" }, /* @__PURE__ */ React37.createElement("div", null, props.store === "apple" ? /* @__PURE__ */ React37.createElement("div", { className: "hawa-mt-3 hawa-flex hawa-h-14 hawa-w-48 hawa-items-center hawa-justify-center hawa-rounded-lg hawa-bg-black hawa-text-white dark:hawa-bg-white dark:hawa-text-black" }, /* @__PURE__ */ React37.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ React37.createElement("svg", { viewBox: "0 0 384 512", width: "30" }, /* @__PURE__ */ React37.createElement(
4542
+ return /* @__PURE__ */ React38.createElement("div", { className: "hawa-flex hawa-justify-center" }, /* @__PURE__ */ React38.createElement("div", null, props.store === "apple" ? /* @__PURE__ */ React38.createElement("div", { className: "hawa-mt-3 hawa-flex hawa-h-14 hawa-w-48 hawa-items-center hawa-justify-center hawa-rounded-lg hawa-bg-black hawa-text-white dark:hawa-bg-white dark:hawa-text-black" }, /* @__PURE__ */ React38.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ React38.createElement("svg", { viewBox: "0 0 384 512", width: "30" }, /* @__PURE__ */ React38.createElement(
4511
4543
  "path",
4512
4544
  {
4513
4545
  fill: "currentColor",
4514
4546
  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"
4515
4547
  }
4516
- ))), /* @__PURE__ */ React37.createElement("div", null, /* @__PURE__ */ React37.createElement("div", { className: "hawa-text-xs" }, "Download on the"), /* @__PURE__ */ React37.createElement("div", { className: "hawa--mt-1 hawa-font-sans hawa-text-2xl hawa-font-semibold" }, "App Store"))) : /* @__PURE__ */ React37.createElement("div", { className: "hawa-mt-3 hawa-flex hawa-h-14 hawa-w-48 hawa-items-center hawa-justify-center hawa-rounded-lg hawa-border hawa-border-black hawa-bg-black hawa-text-white dark:hawa-bg-white dark:hawa-text-black" }, /* @__PURE__ */ React37.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ React37.createElement("svg", { viewBox: "30 336.7 120.9 129.2", width: "30" }, /* @__PURE__ */ React37.createElement(
4548
+ ))), /* @__PURE__ */ React38.createElement("div", null, /* @__PURE__ */ React38.createElement("div", { className: "hawa-text-xs" }, "Download on the"), /* @__PURE__ */ React38.createElement("div", { className: "hawa--mt-1 hawa-font-sans hawa-text-2xl hawa-font-semibold" }, "App Store"))) : /* @__PURE__ */ React38.createElement("div", { className: "hawa-mt-3 hawa-flex hawa-h-14 hawa-w-48 hawa-items-center hawa-justify-center hawa-rounded-lg hawa-border hawa-border-black hawa-bg-black hawa-text-white dark:hawa-bg-white dark:hawa-text-black" }, /* @__PURE__ */ React38.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ React38.createElement("svg", { viewBox: "30 336.7 120.9 129.2", width: "30" }, /* @__PURE__ */ React38.createElement(
4517
4549
  "path",
4518
4550
  {
4519
4551
  fill: "#FFD400",
4520
4552
  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"
4521
4553
  }
4522
- ), /* @__PURE__ */ React37.createElement(
4554
+ ), /* @__PURE__ */ React38.createElement(
4523
4555
  "path",
4524
4556
  {
4525
4557
  fill: "#FF3333",
4526
4558
  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"
4527
4559
  }
4528
- ), /* @__PURE__ */ React37.createElement(
4560
+ ), /* @__PURE__ */ React38.createElement(
4529
4561
  "path",
4530
4562
  {
4531
4563
  fill: "#48FF48",
4532
4564
  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"
4533
4565
  }
4534
- ), /* @__PURE__ */ React37.createElement(
4566
+ ), /* @__PURE__ */ React38.createElement(
4535
4567
  "path",
4536
4568
  {
4537
4569
  fill: "#3BCCFF",
4538
4570
  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"
4539
4571
  }
4540
- ))), /* @__PURE__ */ React37.createElement("div", null, /* @__PURE__ */ React37.createElement("div", { className: "hawa-text-xs" }, "GET IT ON"), /* @__PURE__ */ React37.createElement("div", { className: "hawa--mt-1 hawa-font-sans hawa-text-xl hawa-font-semibold" }, "Google Play")))));
4572
+ ))), /* @__PURE__ */ React38.createElement("div", null, /* @__PURE__ */ React38.createElement("div", { className: "hawa-text-xs" }, "GET IT ON"), /* @__PURE__ */ React38.createElement("div", { className: "hawa--mt-1 hawa-font-sans hawa-text-xl hawa-font-semibold" }, "Google Play")))));
4541
4573
  };
4542
4574
 
4543
4575
  // elements/badge/Badge.tsx
4544
- import React38, { useEffect as useEffect8, useState as useState10, useRef as useRef7 } from "react";
4576
+ import React39, { useEffect as useEffect8, useState as useState10, useRef as useRef7 } from "react";
4545
4577
  var Badge = ({
4546
4578
  anchor,
4547
4579
  position = "right",
@@ -4579,7 +4611,7 @@ var Badge = ({
4579
4611
  window.removeEventListener("resize", handlePositioning);
4580
4612
  };
4581
4613
  }, [anchor]);
4582
- return /* @__PURE__ */ React38.createElement("div", { ref: indicatorRef, className: cn("hawa-relative", className) }, badgePosition && /* @__PURE__ */ React38.createElement(
4614
+ return /* @__PURE__ */ React39.createElement("div", { ref: indicatorRef, className: cn("hawa-relative", className) }, badgePosition && /* @__PURE__ */ React39.createElement(
4583
4615
  "div",
4584
4616
  {
4585
4617
  style: {
@@ -4605,7 +4637,7 @@ var BadgedComponent = ({
4605
4637
  text
4606
4638
  }) => {
4607
4639
  const ref = useRef7(null);
4608
- return /* @__PURE__ */ React38.createElement("div", { className: cn("hawa-relative hawa-w-fit", className), ref }, !hideBadge && /* @__PURE__ */ React38.createElement(
4640
+ return /* @__PURE__ */ React39.createElement("div", { className: cn("hawa-relative hawa-w-fit", className), ref }, !hideBadge && /* @__PURE__ */ React39.createElement(
4609
4641
  Badge,
4610
4642
  {
4611
4643
  size,
@@ -4618,7 +4650,7 @@ var BadgedComponent = ({
4618
4650
  };
4619
4651
 
4620
4652
  // elements/phoneInput/PhoneInput.tsx
4621
- import React39, { useState as useState11, useRef as useRef8, useEffect as useEffect9 } from "react";
4653
+ import React40, { useState as useState11, useRef as useRef8, useEffect as useEffect9 } from "react";
4622
4654
 
4623
4655
  // countries.ts
4624
4656
  var countries = [
@@ -6336,7 +6368,7 @@ var PhoneInput = ({ labelProps, ...props }) => {
6336
6368
  console.log("handleChange prop was not provided in <PhoneInput/>");
6337
6369
  }
6338
6370
  };
6339
- return /* @__PURE__ */ React39.createElement("div", { className: "hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React39.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ React39.createElement("div", { dir: "ltr", className: "hawa-flex hawa-w-full hawa-flex-row" }, /* @__PURE__ */ React39.createElement(
6371
+ return /* @__PURE__ */ React40.createElement("div", { className: "hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React40.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ React40.createElement("div", { dir: "ltr", className: "hawa-flex hawa-w-full hawa-flex-row" }, /* @__PURE__ */ React40.createElement(
6340
6372
  Select,
6341
6373
  {
6342
6374
  width: "fit",
@@ -6352,7 +6384,7 @@ var PhoneInput = ({ labelProps, ...props }) => {
6352
6384
  value: countryCode == null ? void 0 : countryCode.label,
6353
6385
  onChange: setCountryCode
6354
6386
  }
6355
- ), /* @__PURE__ */ React39.createElement("div", { className: "hawa-relative hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ React39.createElement(
6387
+ ), /* @__PURE__ */ React40.createElement("div", { className: "hawa-relative hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ React40.createElement(
6356
6388
  "input",
6357
6389
  {
6358
6390
  ref: inputRef,
@@ -6365,7 +6397,7 @@ var PhoneInput = ({ labelProps, ...props }) => {
6365
6397
  type: "tel",
6366
6398
  placeholder: props.placeholder
6367
6399
  }
6368
- ))), /* @__PURE__ */ React39.createElement(
6400
+ ))), /* @__PURE__ */ React40.createElement(
6369
6401
  "p",
6370
6402
  {
6371
6403
  className: cn(
@@ -6378,7 +6410,7 @@ var PhoneInput = ({ labelProps, ...props }) => {
6378
6410
  };
6379
6411
 
6380
6412
  // elements/pinInput/PinInput.tsx
6381
- import React40, { useEffect as useEffect10, useState as useState12 } from "react";
6413
+ import React41, { useEffect as useEffect10, useState as useState12 } from "react";
6382
6414
  var PinInput = ({
6383
6415
  label,
6384
6416
  icon,
@@ -6422,13 +6454,13 @@ var PinInput = ({
6422
6454
  }
6423
6455
  }
6424
6456
  };
6425
- return /* @__PURE__ */ React40.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React40.createElement(
6457
+ return /* @__PURE__ */ React41.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React41.createElement(
6426
6458
  "div",
6427
6459
  {
6428
6460
  className: "hawa-flex hawa-w-full hawa-flex-row hawa-justify-center hawa-gap-2",
6429
6461
  dir: "ltr"
6430
6462
  },
6431
- pin.map((value, index) => /* @__PURE__ */ React40.createElement(
6463
+ pin.map((value, index) => /* @__PURE__ */ React41.createElement(
6432
6464
  "input",
6433
6465
  {
6434
6466
  key: index,
@@ -6448,7 +6480,7 @@ var PinInput = ({
6448
6480
  ...inputProps
6449
6481
  }
6450
6482
  ))
6451
- ), /* @__PURE__ */ React40.createElement(
6483
+ ), /* @__PURE__ */ React41.createElement(
6452
6484
  "p",
6453
6485
  {
6454
6486
  className: cn(
@@ -6461,30 +6493,30 @@ var PinInput = ({
6461
6493
  };
6462
6494
 
6463
6495
  // elements/stopPropagationWrapper/StopPropagationWrapper.tsx
6464
- import React41 from "react";
6496
+ import React42 from "react";
6465
6497
  var StopPropagationWrapper = (props) => {
6466
6498
  const handleClick = (e) => {
6467
6499
  e.stopPropagation();
6468
6500
  };
6469
- return /* @__PURE__ */ React41.createElement("div", { onClick: handleClick }, props.children);
6501
+ return /* @__PURE__ */ React42.createElement("div", { onClick: handleClick }, props.children);
6470
6502
  };
6471
6503
 
6472
6504
  // elements/scrollArea/ScrollArea.tsx
6473
- import * as React42 from "react";
6505
+ import * as React43 from "react";
6474
6506
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
6475
- var ScrollArea = React42.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React42.createElement(
6507
+ var ScrollArea = React43.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React43.createElement(
6476
6508
  ScrollAreaPrimitive.Root,
6477
6509
  {
6478
6510
  ref,
6479
6511
  className: cn("hawa-relative hawa-overflow-hidden", className),
6480
6512
  ...props
6481
6513
  },
6482
- /* @__PURE__ */ React42.createElement(ScrollAreaPrimitive.Viewport, { className: "hawa-h-full hawa-w-full hawa-rounded-[inherit]" }, children),
6483
- /* @__PURE__ */ React42.createElement(ScrollBar, { orientation }),
6484
- /* @__PURE__ */ React42.createElement(ScrollAreaPrimitive.Corner, null)
6514
+ /* @__PURE__ */ React43.createElement(ScrollAreaPrimitive.Viewport, { className: "hawa-h-full hawa-w-full hawa-rounded-[inherit]" }, children),
6515
+ /* @__PURE__ */ React43.createElement(ScrollBar, { orientation }),
6516
+ /* @__PURE__ */ React43.createElement(ScrollAreaPrimitive.Corner, null)
6485
6517
  ));
6486
6518
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
6487
- var ScrollBar = React42.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React42.createElement(
6519
+ var ScrollBar = React43.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React43.createElement(
6488
6520
  ScrollAreaPrimitive.ScrollAreaScrollbar,
6489
6521
  {
6490
6522
  ref,
@@ -6497,7 +6529,7 @@ var ScrollBar = React42.forwardRef(({ className, orientation = "vertical", ...pr
6497
6529
  ),
6498
6530
  ...props
6499
6531
  },
6500
- /* @__PURE__ */ React42.createElement(
6532
+ /* @__PURE__ */ React43.createElement(
6501
6533
  ScrollAreaPrimitive.ScrollAreaThumb,
6502
6534
  {
6503
6535
  className: cn(
@@ -6510,7 +6542,7 @@ var ScrollBar = React42.forwardRef(({ className, orientation = "vertical", ...pr
6510
6542
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
6511
6543
 
6512
6544
  // elements/colorPicker/ColorPicker.tsx
6513
- import React43, {
6545
+ import React44, {
6514
6546
  useState as useState13,
6515
6547
  useEffect as useEffect11
6516
6548
  } from "react";
@@ -6542,13 +6574,13 @@ var ColorPicker = ({
6542
6574
  props.handleChange(e);
6543
6575
  }
6544
6576
  };
6545
- return /* @__PURE__ */ React43.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React43.createElement(Label2, { ...labelProps }, props.label), isLoading ? /* @__PURE__ */ React43.createElement(Skeleton, { style: { height: 40, width: 148 } }) : /* @__PURE__ */ React43.createElement("div", { dir: "ltr", className: "hawa-flex hawa-w-full hawa-flex-row" }, /* @__PURE__ */ React43.createElement(
6577
+ return /* @__PURE__ */ React44.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React44.createElement(Label2, { ...labelProps }, props.label), isLoading ? /* @__PURE__ */ React44.createElement(Skeleton, { style: { height: 40, width: 148 } }) : /* @__PURE__ */ React44.createElement("div", { dir: "ltr", className: "hawa-flex hawa-w-full hawa-flex-row" }, /* @__PURE__ */ React44.createElement(
6546
6578
  "div",
6547
6579
  {
6548
6580
  style: { height: 40, backgroundColor: selectedColor },
6549
6581
  className: "hawa-rounded-bl-lg hawa-rounded-tl-lg hawa-border"
6550
6582
  },
6551
- /* @__PURE__ */ React43.createElement(
6583
+ /* @__PURE__ */ React44.createElement(
6552
6584
  "input",
6553
6585
  {
6554
6586
  disabled: preview,
@@ -6567,7 +6599,7 @@ var ColorPicker = ({
6567
6599
  ...colorPickerProps
6568
6600
  }
6569
6601
  )
6570
- ), /* @__PURE__ */ React43.createElement("div", { className: "hawa-relative hawa-flex hawa-max-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ React43.createElement(
6602
+ ), /* @__PURE__ */ React44.createElement("div", { className: "hawa-relative hawa-flex hawa-max-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ React44.createElement(
6571
6603
  "input",
6572
6604
  {
6573
6605
  disabled: preview,
@@ -6586,7 +6618,7 @@ var ColorPicker = ({
6586
6618
  },
6587
6619
  ...textInputProps
6588
6620
  }
6589
- ))), !forceHideHelperText && /* @__PURE__ */ React43.createElement(
6621
+ ))), !forceHideHelperText && /* @__PURE__ */ React44.createElement(
6590
6622
  "p",
6591
6623
  {
6592
6624
  className: cn(
@@ -6599,7 +6631,7 @@ var ColorPicker = ({
6599
6631
  };
6600
6632
 
6601
6633
  // elements/progressCircle/ProgressCircle.tsx
6602
- import React44 from "react";
6634
+ import React45 from "react";
6603
6635
  var size2config = {
6604
6636
  xs: { radius: 15, strokeWidth: 3 },
6605
6637
  sm: { radius: 19, strokeWidth: 4 },
@@ -6616,7 +6648,7 @@ function getLimitedValue(input) {
6616
6648
  return input;
6617
6649
  }
6618
6650
  }
6619
- var ProgressCircle = React44.forwardRef((props, ref) => {
6651
+ var ProgressCircle = React45.forwardRef((props, ref) => {
6620
6652
  const {
6621
6653
  value: inputValue,
6622
6654
  size = "md",
@@ -6636,7 +6668,7 @@ var ProgressCircle = React44.forwardRef((props, ref) => {
6636
6668
  const circumference = normalizedRadius * 2 * Math.PI;
6637
6669
  const strokeDashoffset = value / 100 * circumference;
6638
6670
  const offset = circumference - strokeDashoffset;
6639
- return /* @__PURE__ */ React44.createElement(React44.Fragment, null, /* @__PURE__ */ React44.createElement(
6671
+ return /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(
6640
6672
  "div",
6641
6673
  {
6642
6674
  ref,
@@ -6645,7 +6677,7 @@ var ProgressCircle = React44.forwardRef((props, ref) => {
6645
6677
  className
6646
6678
  )
6647
6679
  },
6648
- /* @__PURE__ */ React44.createElement(
6680
+ /* @__PURE__ */ React45.createElement(
6649
6681
  "svg",
6650
6682
  {
6651
6683
  width: radius * 2,
@@ -6653,7 +6685,7 @@ var ProgressCircle = React44.forwardRef((props, ref) => {
6653
6685
  viewBox: `0 0 ${radius * 2} ${radius * 2}`,
6654
6686
  className: "hawa-rotate-180 hawa-transform"
6655
6687
  },
6656
- /* @__PURE__ */ React44.createElement(
6688
+ /* @__PURE__ */ React45.createElement(
6657
6689
  "circle",
6658
6690
  {
6659
6691
  r: normalizedRadius,
@@ -6669,7 +6701,7 @@ var ProgressCircle = React44.forwardRef((props, ref) => {
6669
6701
  )
6670
6702
  }
6671
6703
  ),
6672
- value > 0 ? /* @__PURE__ */ React44.createElement(
6704
+ value > 0 ? /* @__PURE__ */ React45.createElement(
6673
6705
  "circle",
6674
6706
  {
6675
6707
  r: normalizedRadius,
@@ -6689,24 +6721,24 @@ var ProgressCircle = React44.forwardRef((props, ref) => {
6689
6721
  }
6690
6722
  ) : null
6691
6723
  ),
6692
- /* @__PURE__ */ React44.createElement("div", { className: cn("hawa-absolute hawa-flex") }, children)
6724
+ /* @__PURE__ */ React45.createElement("div", { className: cn("hawa-absolute hawa-flex") }, children)
6693
6725
  ));
6694
6726
  });
6695
6727
  ProgressCircle.displayName = "ProgressCircle";
6696
6728
 
6697
6729
  // elements/pagination/Pagination.tsx
6698
- import React45 from "react";
6730
+ import React46 from "react";
6699
6731
  import { Pagination as PaginationPrimitive } from "react-headless-pagination";
6700
6732
  var Pagination = ({
6701
6733
  direction,
6702
6734
  totalPages,
6703
6735
  currentPage
6704
6736
  }) => {
6705
- const [page, setPage] = React45.useState(currentPage || 0);
6737
+ const [page, setPage] = React46.useState(currentPage || 0);
6706
6738
  const handlePageChange = (page2) => {
6707
6739
  setPage(page2);
6708
6740
  };
6709
- return /* @__PURE__ */ React45.createElement(
6741
+ return /* @__PURE__ */ React46.createElement(
6710
6742
  PaginationPrimitive,
6711
6743
  {
6712
6744
  totalPages,
@@ -6718,10 +6750,10 @@ var Pagination = ({
6718
6750
  truncableText: "...",
6719
6751
  truncableClassName: "hawa-w-10 hawa-px-0.5 hawa-text-center"
6720
6752
  },
6721
- /* @__PURE__ */ React45.createElement(
6753
+ /* @__PURE__ */ React46.createElement(
6722
6754
  PaginationPrimitive.PrevButton,
6723
6755
  {
6724
- as: /* @__PURE__ */ React45.createElement(
6756
+ as: /* @__PURE__ */ React46.createElement(
6725
6757
  "button",
6726
6758
  {
6727
6759
  "aria-label": "Previous Table Page",
@@ -6731,7 +6763,7 @@ var Pagination = ({
6731
6763
  ),
6732
6764
  style: { minWidth: 36 }
6733
6765
  },
6734
- /* @__PURE__ */ React45.createElement(
6766
+ /* @__PURE__ */ React46.createElement(
6735
6767
  "svg",
6736
6768
  {
6737
6769
  xmlns: "http://www.w3.org/2000/svg",
@@ -6744,7 +6776,7 @@ var Pagination = ({
6744
6776
  strokeLinecap: "round",
6745
6777
  strokeLinejoin: "round"
6746
6778
  },
6747
- /* @__PURE__ */ React45.createElement("path", { d: "m15 18-6-6 6-6" })
6779
+ /* @__PURE__ */ React46.createElement("path", { d: "m15 18-6-6 6-6" })
6748
6780
  )
6749
6781
  ),
6750
6782
  className: cn(
@@ -6757,17 +6789,17 @@ var Pagination = ({
6757
6789
  },
6758
6790
  "Previous"
6759
6791
  ),
6760
- /* @__PURE__ */ React45.createElement("nav", { className: "hawa-flex hawa-flex-grow hawa-justify-center" }, /* @__PURE__ */ React45.createElement("ul", { className: "hawa-flex hawa-items-center hawa-gap-1" }, /* @__PURE__ */ React45.createElement(
6792
+ /* @__PURE__ */ React46.createElement("nav", { className: "hawa-flex hawa-flex-grow hawa-justify-center" }, /* @__PURE__ */ React46.createElement("ul", { className: "hawa-flex hawa-items-center hawa-gap-1" }, /* @__PURE__ */ React46.createElement(
6761
6793
  PaginationPrimitive.PageButton,
6762
6794
  {
6763
6795
  className: "hawa-tap-highlight-transparent hawa-text-default-foreground data-[focus-visible=true]:hawa-outline-focus data-[disabled=true]:hawa-text-default-300 hawa-min-w-9 hawa-text-small hawa-box-border hawa-flex hawa-h-9 hawa-w-9 hawa-cursor-pointer hawa-touch-none hawa-select-none hawa-flex-wrap hawa-items-center hawa-justify-center hawa-truncate hawa-rounded hawa-border hawa-bg-card hawa-outline-none hawa-transition-all hover:hawa-scale-[1.1] data-[disabled=true]:hawa-pointer-events-none data-[focus-visible=true]:hawa-z-10 data-[pressed=true]:hawa-scale-[0.97] data-[focus-visible=true]:hawa-outline-2 data-[focus-visible=true]:hawa-outline-offset-2",
6764
6796
  activeClassName: "hawa-bg-primary hawa-text-primary-foreground hawa-transition-all"
6765
6797
  }
6766
6798
  ))),
6767
- /* @__PURE__ */ React45.createElement(
6799
+ /* @__PURE__ */ React46.createElement(
6768
6800
  PaginationPrimitive.NextButton,
6769
6801
  {
6770
- as: /* @__PURE__ */ React45.createElement(
6802
+ as: /* @__PURE__ */ React46.createElement(
6771
6803
  "button",
6772
6804
  {
6773
6805
  "aria-label": "Previous Table Page",
@@ -6777,7 +6809,7 @@ var Pagination = ({
6777
6809
  ),
6778
6810
  style: { minWidth: 36 }
6779
6811
  },
6780
- /* @__PURE__ */ React45.createElement(
6812
+ /* @__PURE__ */ React46.createElement(
6781
6813
  "svg",
6782
6814
  {
6783
6815
  xmlns: "http://www.w3.org/2000/svg",
@@ -6790,7 +6822,7 @@ var Pagination = ({
6790
6822
  strokeLinecap: "round",
6791
6823
  strokeLinejoin: "round"
6792
6824
  },
6793
- /* @__PURE__ */ React45.createElement("path", { d: "m15 18-6-6 6-6" })
6825
+ /* @__PURE__ */ React46.createElement("path", { d: "m15 18-6-6 6-6" })
6794
6826
  )
6795
6827
  ),
6796
6828
  className: cn(
@@ -6807,11 +6839,11 @@ var Pagination = ({
6807
6839
  };
6808
6840
 
6809
6841
  // elements/passwordInput/PasswordInput.tsx
6810
- import React49, { useEffect as useEffect12, useState as useState14 } from "react";
6842
+ import React50, { useEffect as useEffect12, useState as useState14 } from "react";
6811
6843
 
6812
6844
  // icons/Emojis.tsx
6813
- import React46 from "react";
6814
- var VeryGoodEmoji = () => /* @__PURE__ */ React46.createElement(
6845
+ import React47 from "react";
6846
+ var VeryGoodEmoji = () => /* @__PURE__ */ React47.createElement(
6815
6847
  "svg",
6816
6848
  {
6817
6849
  fill: "none",
@@ -6820,7 +6852,7 @@ var VeryGoodEmoji = () => /* @__PURE__ */ React46.createElement(
6820
6852
  width: "16",
6821
6853
  xmlns: "http://www.w3.org/2000/svg"
6822
6854
  },
6823
- /* @__PURE__ */ React46.createElement("g", { clipPath: "url(#clip0_53_166)" }, /* @__PURE__ */ React46.createElement(
6855
+ /* @__PURE__ */ React47.createElement("g", { clipPath: "url(#clip0_53_166)" }, /* @__PURE__ */ React47.createElement(
6824
6856
  "path",
6825
6857
  {
6826
6858
  clipRule: "evenodd",
@@ -6828,7 +6860,7 @@ var VeryGoodEmoji = () => /* @__PURE__ */ React46.createElement(
6828
6860
  fill: "currentColor",
6829
6861
  fillRule: "evenodd"
6830
6862
  }
6831
- ), /* @__PURE__ */ React46.createElement(
6863
+ ), /* @__PURE__ */ React47.createElement(
6832
6864
  "path",
6833
6865
  {
6834
6866
  clipRule: "evenodd",
@@ -6838,7 +6870,7 @@ var VeryGoodEmoji = () => /* @__PURE__ */ React46.createElement(
6838
6870
  }
6839
6871
  ))
6840
6872
  );
6841
- var GoodEmoji = () => /* @__PURE__ */ React46.createElement(
6873
+ var GoodEmoji = () => /* @__PURE__ */ React47.createElement(
6842
6874
  "svg",
6843
6875
  {
6844
6876
  fill: "none",
@@ -6847,7 +6879,7 @@ var GoodEmoji = () => /* @__PURE__ */ React46.createElement(
6847
6879
  width: "16",
6848
6880
  xmlns: "http://www.w3.org/2000/svg"
6849
6881
  },
6850
- /* @__PURE__ */ React46.createElement("g", { clipPath: "url(#clip0_53_167)" }, /* @__PURE__ */ React46.createElement(
6882
+ /* @__PURE__ */ React47.createElement("g", { clipPath: "url(#clip0_53_167)" }, /* @__PURE__ */ React47.createElement(
6851
6883
  "path",
6852
6884
  {
6853
6885
  clipRule: "evenodd",
@@ -6857,7 +6889,7 @@ var GoodEmoji = () => /* @__PURE__ */ React46.createElement(
6857
6889
  }
6858
6890
  ))
6859
6891
  );
6860
- var BadEmoji = () => /* @__PURE__ */ React46.createElement(
6892
+ var BadEmoji = () => /* @__PURE__ */ React47.createElement(
6861
6893
  "svg",
6862
6894
  {
6863
6895
  fill: "none",
@@ -6866,7 +6898,7 @@ var BadEmoji = () => /* @__PURE__ */ React46.createElement(
6866
6898
  width: "16",
6867
6899
  xmlns: "http://www.w3.org/2000/svg"
6868
6900
  },
6869
- /* @__PURE__ */ React46.createElement("g", { clipPath: "url(#clip0_53_152)" }, /* @__PURE__ */ React46.createElement(
6901
+ /* @__PURE__ */ React47.createElement("g", { clipPath: "url(#clip0_53_152)" }, /* @__PURE__ */ React47.createElement(
6870
6902
  "path",
6871
6903
  {
6872
6904
  clipRule: "evenodd",
@@ -6876,7 +6908,7 @@ var BadEmoji = () => /* @__PURE__ */ React46.createElement(
6876
6908
  }
6877
6909
  ))
6878
6910
  );
6879
- var VeryBadEmoji = () => /* @__PURE__ */ React46.createElement(
6911
+ var VeryBadEmoji = () => /* @__PURE__ */ React47.createElement(
6880
6912
  "svg",
6881
6913
  {
6882
6914
  fill: "none",
@@ -6885,13 +6917,13 @@ var VeryBadEmoji = () => /* @__PURE__ */ React46.createElement(
6885
6917
  width: "16",
6886
6918
  xmlns: "http://www.w3.org/2000/svg"
6887
6919
  },
6888
- /* @__PURE__ */ React46.createElement("g", { clipPath: "url(#clip0_53_151)" }, /* @__PURE__ */ React46.createElement(
6920
+ /* @__PURE__ */ React47.createElement("g", { clipPath: "url(#clip0_53_151)" }, /* @__PURE__ */ React47.createElement(
6889
6921
  "path",
6890
6922
  {
6891
6923
  d: "M11.841 12.0225C12.7197 12.9324 12.7197 14.4077 11.841 15.3176C10.9623 16.2275 9.53769 16.2275 8.65901 15.3176C7.78033 14.4077 7.78033 12.9324 8.65901 12.0225L10.25 10.375L11.841 12.0225Z",
6892
6924
  fill: "#0070F3"
6893
6925
  }
6894
- ), /* @__PURE__ */ React46.createElement(
6926
+ ), /* @__PURE__ */ React47.createElement(
6895
6927
  "path",
6896
6928
  {
6897
6929
  clipRule: "evenodd",
@@ -6903,8 +6935,8 @@ var VeryBadEmoji = () => /* @__PURE__ */ React46.createElement(
6903
6935
  );
6904
6936
 
6905
6937
  // icons/InputIcons.tsx
6906
- import React47 from "react";
6907
- var EyeIcon = (props) => /* @__PURE__ */ React47.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ React47.createElement(
6938
+ import React48 from "react";
6939
+ var EyeIcon = (props) => /* @__PURE__ */ React48.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ React48.createElement(
6908
6940
  "svg",
6909
6941
  {
6910
6942
  xmlns: "http://www.w3.org/2000/svg",
@@ -6915,10 +6947,10 @@ var EyeIcon = (props) => /* @__PURE__ */ React47.createElement("div", { classNam
6915
6947
  strokeLinecap: "round",
6916
6948
  strokeLinejoin: "round"
6917
6949
  },
6918
- /* @__PURE__ */ React47.createElement("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
6919
- /* @__PURE__ */ React47.createElement("circle", { cx: "12", cy: "12", r: "3" })
6950
+ /* @__PURE__ */ React48.createElement("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
6951
+ /* @__PURE__ */ React48.createElement("circle", { cx: "12", cy: "12", r: "3" })
6920
6952
  ));
6921
- var HiddenEyeIcon = (props) => /* @__PURE__ */ React47.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ React47.createElement(
6953
+ var HiddenEyeIcon = (props) => /* @__PURE__ */ React48.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ React48.createElement(
6922
6954
  "svg",
6923
6955
  {
6924
6956
  xmlns: "http://www.w3.org/2000/svg",
@@ -6929,20 +6961,20 @@ var HiddenEyeIcon = (props) => /* @__PURE__ */ React47.createElement("div", { cl
6929
6961
  strokeLinecap: "round",
6930
6962
  strokeLinejoin: "round"
6931
6963
  },
6932
- /* @__PURE__ */ React47.createElement("path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }),
6933
- /* @__PURE__ */ React47.createElement("path", { d: "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }),
6934
- /* @__PURE__ */ React47.createElement("path", { d: "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }),
6935
- /* @__PURE__ */ React47.createElement("line", { x1: "2", x2: "22", y1: "2", y2: "22" })
6964
+ /* @__PURE__ */ React48.createElement("path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }),
6965
+ /* @__PURE__ */ React48.createElement("path", { d: "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }),
6966
+ /* @__PURE__ */ React48.createElement("path", { d: "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }),
6967
+ /* @__PURE__ */ React48.createElement("line", { x1: "2", x2: "22", y1: "2", y2: "22" })
6936
6968
  ));
6937
6969
 
6938
6970
  // icons/CommonIcons.tsx
6939
- import React48 from "react";
6971
+ import React49 from "react";
6940
6972
  var CheckMark = ({ size = "default", className }) => {
6941
6973
  let sizeStyles2 = {
6942
6974
  default: "hawa-h-5 hawa-w-5",
6943
6975
  sm: "hawa-h-3 hawa-w-3"
6944
6976
  };
6945
- return /* @__PURE__ */ React48.createElement(
6977
+ return /* @__PURE__ */ React49.createElement(
6946
6978
  "svg",
6947
6979
  {
6948
6980
  className: cn(sizeStyles2[size], className),
@@ -6950,7 +6982,7 @@ var CheckMark = ({ size = "default", className }) => {
6950
6982
  fill: "currentColor",
6951
6983
  viewBox: "0 0 20 20"
6952
6984
  },
6953
- /* @__PURE__ */ React48.createElement(
6985
+ /* @__PURE__ */ React49.createElement(
6954
6986
  "path",
6955
6987
  {
6956
6988
  fillRule: "evenodd",
@@ -6965,7 +6997,7 @@ var UncheckMark = ({ size = "default", className }) => {
6965
6997
  default: "hawa-h-5 hawa-w-5",
6966
6998
  sm: "hawa-h-3 hawa-w-3"
6967
6999
  };
6968
- return /* @__PURE__ */ React48.createElement(
7000
+ return /* @__PURE__ */ React49.createElement(
6969
7001
  "svg",
6970
7002
  {
6971
7003
  className: cn(sizeStyles2[size], className),
@@ -6973,7 +7005,7 @@ var UncheckMark = ({ size = "default", className }) => {
6973
7005
  fill: "currentColor",
6974
7006
  viewBox: "0 0 20 20"
6975
7007
  },
6976
- /* @__PURE__ */ React48.createElement(
7008
+ /* @__PURE__ */ React49.createElement(
6977
7009
  "path",
6978
7010
  {
6979
7011
  fillRule: "evenodd",
@@ -7011,7 +7043,7 @@ var PasswordStrengthIndicator = ({ strength }) => {
7011
7043
  strong: "80%",
7012
7044
  "very-strong": "100%"
7013
7045
  }[currentStrengthLevel];
7014
- return /* @__PURE__ */ React49.createElement("div", { className: "hawa-mt-0.5 hawa-h-2 hawa-w-full hawa-rounded hawa-bg-gray-200" }, /* @__PURE__ */ React49.createElement(
7046
+ return /* @__PURE__ */ React50.createElement("div", { className: "hawa-mt-0.5 hawa-h-2 hawa-w-full hawa-rounded hawa-bg-gray-200" }, /* @__PURE__ */ React50.createElement(
7015
7047
  "div",
7016
7048
  {
7017
7049
  className: `${strengthColors[currentStrengthLevel]} hawa-h-full hawa-rounded hawa-transition-all hawa-duration-300`,
@@ -7071,7 +7103,7 @@ var PasswordInput = ({
7071
7103
  setIsInputFocused(false);
7072
7104
  };
7073
7105
  const getCriteriaClass = (isMet) => isMet ? "hawa-flex hawa-flex-row hawa-gap-2 hawa-text-sm hawa-items-center hawa-text-green-500" : "hawa-flex hawa-flex-row hawa-gap-2 hawa-text-sm hawa-items-center hawa-text-red-600";
7074
- return /* @__PURE__ */ React49.createElement("div", null, /* @__PURE__ */ React49.createElement(
7106
+ return /* @__PURE__ */ React50.createElement("div", null, /* @__PURE__ */ React50.createElement(
7075
7107
  Popover,
7076
7108
  {
7077
7109
  width: "trigger",
@@ -7080,7 +7112,7 @@ var PasswordInput = ({
7080
7112
  onOpenChange: setIsInputFocused,
7081
7113
  triggerProps: { asChild: true },
7082
7114
  contentProps: { onOpenAutoFocus: (e) => e.preventDefault() },
7083
- trigger: /* @__PURE__ */ React49.createElement(
7115
+ trigger: /* @__PURE__ */ React50.createElement(
7084
7116
  "div",
7085
7117
  {
7086
7118
  onClick: (e) => {
@@ -7090,7 +7122,7 @@ var PasswordInput = ({
7090
7122
  }
7091
7123
  }
7092
7124
  },
7093
- /* @__PURE__ */ React49.createElement(
7125
+ /* @__PURE__ */ React50.createElement(
7094
7126
  Input,
7095
7127
  {
7096
7128
  width: "full",
@@ -7100,27 +7132,27 @@ var PasswordInput = ({
7100
7132
  onFocus: handleInputFocus,
7101
7133
  onBlur: handleInputBlur,
7102
7134
  type: passwordVisible ? "text" : "password",
7103
- endIcon: /* @__PURE__ */ React49.createElement(
7135
+ endIcon: /* @__PURE__ */ React50.createElement(
7104
7136
  "div",
7105
7137
  {
7106
7138
  className: "hawa-cursor-pointer",
7107
7139
  onClick: () => setPasswordVisible(!passwordVisible)
7108
7140
  },
7109
- passwordVisible ? /* @__PURE__ */ React49.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React49.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
7141
+ passwordVisible ? /* @__PURE__ */ React50.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React50.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
7110
7142
  " "
7111
7143
  )
7112
7144
  }
7113
7145
  )
7114
7146
  )
7115
7147
  },
7116
- /* @__PURE__ */ React49.createElement("div", { className: "hawa-rounded hawa-p-2" }, /* @__PURE__ */ React49.createElement("ul", { className: "hawa-rounded hawa-p-2" }, /* @__PURE__ */ React49.createElement("li", { className: getCriteriaClass(lengthCriteriaMet) }, lengthCriteriaMet ? /* @__PURE__ */ React49.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ React49.createElement(UncheckMark, { size: "sm" }), "At least 8 characters long"), /* @__PURE__ */ React49.createElement("li", { className: getCriteriaClass(numberCriteriaMet) }, numberCriteriaMet ? /* @__PURE__ */ React49.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ React49.createElement(UncheckMark, { size: "sm" }), "At least 1 number"), /* @__PURE__ */ React49.createElement("li", { className: getCriteriaClass(specialCharCriteriaMet) }, specialCharCriteriaMet ? /* @__PURE__ */ React49.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ React49.createElement(UncheckMark, { size: "sm" }), "At least 1 special character"), /* @__PURE__ */ React49.createElement("li", { className: getCriteriaClass(lowercaseCriteriaMet) }, lowercaseCriteriaMet ? /* @__PURE__ */ React49.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ React49.createElement(UncheckMark, { size: "sm" }), "At least 1 lowercase letter"), /* @__PURE__ */ React49.createElement("li", { className: getCriteriaClass(uppercaseCriteriaMet) }, uppercaseCriteriaMet ? /* @__PURE__ */ React49.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ React49.createElement(UncheckMark, { size: "sm" }), "At least 1 uppercase letter")))
7117
- ), /* @__PURE__ */ React49.createElement(PasswordStrengthIndicator, { strength: currentStr }));
7148
+ /* @__PURE__ */ React50.createElement("div", { className: "hawa-rounded hawa-p-2" }, /* @__PURE__ */ React50.createElement("ul", { className: "hawa-rounded hawa-p-2" }, /* @__PURE__ */ React50.createElement("li", { className: getCriteriaClass(lengthCriteriaMet) }, lengthCriteriaMet ? /* @__PURE__ */ React50.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ React50.createElement(UncheckMark, { size: "sm" }), "At least 8 characters long"), /* @__PURE__ */ React50.createElement("li", { className: getCriteriaClass(numberCriteriaMet) }, numberCriteriaMet ? /* @__PURE__ */ React50.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ React50.createElement(UncheckMark, { size: "sm" }), "At least 1 number"), /* @__PURE__ */ React50.createElement("li", { className: getCriteriaClass(specialCharCriteriaMet) }, specialCharCriteriaMet ? /* @__PURE__ */ React50.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ React50.createElement(UncheckMark, { size: "sm" }), "At least 1 special character"), /* @__PURE__ */ React50.createElement("li", { className: getCriteriaClass(lowercaseCriteriaMet) }, lowercaseCriteriaMet ? /* @__PURE__ */ React50.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ React50.createElement(UncheckMark, { size: "sm" }), "At least 1 lowercase letter"), /* @__PURE__ */ React50.createElement("li", { className: getCriteriaClass(uppercaseCriteriaMet) }, uppercaseCriteriaMet ? /* @__PURE__ */ React50.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ React50.createElement(UncheckMark, { size: "sm" }), "At least 1 uppercase letter")))
7149
+ ), /* @__PURE__ */ React50.createElement(PasswordStrengthIndicator, { strength: currentStr }));
7118
7150
  };
7119
7151
 
7120
7152
  // elements/slider/Slider.tsx
7121
- import * as React50 from "react";
7153
+ import * as React51 from "react";
7122
7154
  import * as SliderPrimitive from "@radix-ui/react-slider";
7123
- var Slider = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React50.createElement(
7155
+ var Slider = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React51.createElement(
7124
7156
  SliderPrimitive.Root,
7125
7157
  {
7126
7158
  ref,
@@ -7130,13 +7162,13 @@ var Slider = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
7130
7162
  ),
7131
7163
  ...props
7132
7164
  },
7133
- /* @__PURE__ */ React50.createElement(SliderPrimitive.Track, { className: "hawa-relative hawa-h-2 hawa-w-full hawa-grow hawa-overflow-hidden hawa-rounded-full hawa-border hawa-bg-background" }, /* @__PURE__ */ React50.createElement(SliderPrimitive.Range, { className: "hawa-absolute hawa-h-full hawa-bg-primary" })),
7134
- /* @__PURE__ */ React50.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" })
7165
+ /* @__PURE__ */ React51.createElement(SliderPrimitive.Track, { className: "hawa-relative hawa-h-2 hawa-w-full hawa-grow hawa-overflow-hidden hawa-rounded-full hawa-border hawa-bg-background" }, /* @__PURE__ */ React51.createElement(SliderPrimitive.Range, { className: "hawa-absolute hawa-h-full hawa-bg-primary" })),
7166
+ /* @__PURE__ */ React51.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" })
7135
7167
  ));
7136
7168
  Slider.displayName = SliderPrimitive.Root.displayName;
7137
7169
 
7138
7170
  // elements/simpleTable/SimpleTable.tsx
7139
- import * as React51 from "react";
7171
+ import * as React52 from "react";
7140
7172
  import {
7141
7173
  flexRender as flexRender2,
7142
7174
  getCoreRowModel as getCoreRowModel2,
@@ -7155,7 +7187,7 @@ var SimpleTable = ({
7155
7187
  columns,
7156
7188
  getCoreRowModel: getCoreRowModel2()
7157
7189
  });
7158
- return /* @__PURE__ */ React51.createElement(
7190
+ return /* @__PURE__ */ React52.createElement(
7159
7191
  "div",
7160
7192
  {
7161
7193
  className: cn(
@@ -7163,8 +7195,8 @@ var SimpleTable = ({
7163
7195
  classNames
7164
7196
  )
7165
7197
  },
7166
- props.isLoading ? /* @__PURE__ */ React51.createElement(Skeleton, { className: "h-[130px] w-full" }) : /* @__PURE__ */ React51.createElement("div", { className: "hawa-rounded" }, /* @__PURE__ */ React51.createElement(Table, null, !headerless && table.getAllColumns().length > 0 && /* @__PURE__ */ React51.createElement(TableHeader, null, table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ React51.createElement(TableRow, { key: headerGroup.id }, headerGroup.headers.map((header) => {
7167
- return /* @__PURE__ */ React51.createElement(
7198
+ props.isLoading ? /* @__PURE__ */ React52.createElement(Skeleton, { className: "h-[130px] w-full" }) : /* @__PURE__ */ React52.createElement("div", { className: "hawa-rounded" }, /* @__PURE__ */ React52.createElement(Table, null, !headerless && table.getAllColumns().length > 0 && /* @__PURE__ */ React52.createElement(TableHeader, null, table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ React52.createElement(TableRow, { key: headerGroup.id }, headerGroup.headers.map((header) => {
7199
+ return /* @__PURE__ */ React52.createElement(
7168
7200
  TableHead,
7169
7201
  {
7170
7202
  condensed: props.condensed,
@@ -7179,7 +7211,7 @@ var SimpleTable = ({
7179
7211
  header.getContext()
7180
7212
  )
7181
7213
  );
7182
- })))), /* @__PURE__ */ React51.createElement(TableBody, null, ((_a = table.getRowModel().rows) == null ? void 0 : _a.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React51.createElement(
7214
+ })))), /* @__PURE__ */ React52.createElement(TableBody, null, ((_a = table.getRowModel().rows) == null ? void 0 : _a.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React52.createElement(
7183
7215
  TableRow,
7184
7216
  {
7185
7217
  key: row.id,
@@ -7187,7 +7219,7 @@ var SimpleTable = ({
7187
7219
  },
7188
7220
  row.getVisibleCells().map((cell) => {
7189
7221
  var _a2;
7190
- return /* @__PURE__ */ React51.createElement(
7222
+ return /* @__PURE__ */ React52.createElement(
7191
7223
  TableCell,
7192
7224
  {
7193
7225
  dir: props.direction,
@@ -7203,7 +7235,7 @@ var SimpleTable = ({
7203
7235
  )
7204
7236
  );
7205
7237
  })
7206
- )) : /* @__PURE__ */ React51.createElement(TableRow, null, /* @__PURE__ */ React51.createElement(
7238
+ )) : /* @__PURE__ */ React52.createElement(TableRow, null, /* @__PURE__ */ React52.createElement(
7207
7239
  TableCell,
7208
7240
  {
7209
7241
  colSpan: columns.length,
@@ -7215,12 +7247,12 @@ var SimpleTable = ({
7215
7247
  };
7216
7248
 
7217
7249
  // elements/separator/Separator.tsx
7218
- import * as React52 from "react";
7250
+ import * as React53 from "react";
7219
7251
  var Separator2 = ({
7220
7252
  className,
7221
7253
  orientation = "horizontal",
7222
7254
  ...props
7223
- }) => /* @__PURE__ */ React52.createElement(
7255
+ }) => /* @__PURE__ */ React53.createElement(
7224
7256
  "div",
7225
7257
  {
7226
7258
  className: cn(
@@ -7233,7 +7265,7 @@ var Separator2 = ({
7233
7265
  );
7234
7266
 
7235
7267
  // elements/scrollIndicator/ScrollIndicator.tsx
7236
- import React53, { useState as useState15, useEffect as useEffect13 } from "react";
7268
+ import React54, { useState as useState15, useEffect as useEffect13 } from "react";
7237
7269
  var ScrollIndicator = ({
7238
7270
  anchor,
7239
7271
  inContainer = false
@@ -7258,7 +7290,7 @@ var ScrollIndicator = ({
7258
7290
  (_a = anchor.current) == null ? void 0 : _a.removeEventListener("scroll", onScroll);
7259
7291
  };
7260
7292
  }, [anchor]);
7261
- return /* @__PURE__ */ React53.createElement(
7293
+ return /* @__PURE__ */ React54.createElement(
7262
7294
  "div",
7263
7295
  {
7264
7296
  style: {
@@ -7274,7 +7306,7 @@ var ScrollIndicator = ({
7274
7306
  };
7275
7307
 
7276
7308
  // elements/codeBlock/CodeBlock.tsx
7277
- import React54, { useState as useState17 } from "react";
7309
+ import React55, { useState as useState17 } from "react";
7278
7310
  import { Highlight, themes, Prism } from "prism-react-renderer";
7279
7311
 
7280
7312
  // hooks/useClipboard.ts
@@ -7306,7 +7338,7 @@ function useClipboard({ timeout = 2e3 } = {}) {
7306
7338
  // elements/codeBlock/CodeBlock.tsx
7307
7339
  (typeof global !== "undefined" ? global : window).Prism = Prism;
7308
7340
  __require("prismjs/components/prism-bash");
7309
- var CopyIcon = () => /* @__PURE__ */ React54.createElement(
7341
+ var CopyIcon = () => /* @__PURE__ */ React55.createElement(
7310
7342
  "svg",
7311
7343
  {
7312
7344
  "aria-label": "Copy",
@@ -7319,8 +7351,8 @@ var CopyIcon = () => /* @__PURE__ */ React54.createElement(
7319
7351
  height: "1em",
7320
7352
  width: "1em"
7321
7353
  },
7322
- /* @__PURE__ */ React54.createElement("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
7323
- /* @__PURE__ */ React54.createElement("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
7354
+ /* @__PURE__ */ React55.createElement("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
7355
+ /* @__PURE__ */ React55.createElement("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
7324
7356
  );
7325
7357
  var CodeBlock = ({
7326
7358
  tabs,
@@ -7342,7 +7374,7 @@ var CodeBlock = ({
7342
7374
  sm: "hawa-w-full hawa-max-w-sm",
7343
7375
  xs: "hawa-w-full hawa-max-w-xs"
7344
7376
  };
7345
- return /* @__PURE__ */ React54.createElement(
7377
+ return /* @__PURE__ */ React55.createElement(
7346
7378
  "div",
7347
7379
  {
7348
7380
  className: cn(
@@ -7351,7 +7383,7 @@ var CodeBlock = ({
7351
7383
  classNames == null ? void 0 : classNames.root
7352
7384
  )
7353
7385
  },
7354
- fileName && /* @__PURE__ */ React54.createElement(
7386
+ fileName && /* @__PURE__ */ React55.createElement(
7355
7387
  "div",
7356
7388
  {
7357
7389
  className: cn(
@@ -7360,7 +7392,7 @@ var CodeBlock = ({
7360
7392
  classNames == null ? void 0 : classNames.fileName
7361
7393
  )
7362
7394
  },
7363
- /* @__PURE__ */ React54.createElement(
7395
+ /* @__PURE__ */ React55.createElement(
7364
7396
  "div",
7365
7397
  {
7366
7398
  className: cn(
@@ -7370,7 +7402,7 @@ var CodeBlock = ({
7370
7402
  fileName
7371
7403
  )
7372
7404
  ),
7373
- tabs && /* @__PURE__ */ React54.createElement(
7405
+ tabs && /* @__PURE__ */ React55.createElement(
7374
7406
  "div",
7375
7407
  {
7376
7408
  className: cn(
@@ -7379,7 +7411,7 @@ var CodeBlock = ({
7379
7411
  classNames == null ? void 0 : classNames.tabs
7380
7412
  )
7381
7413
  },
7382
- tabs.map((tab, i) => /* @__PURE__ */ React54.createElement(
7414
+ tabs.map((tab, i) => /* @__PURE__ */ React55.createElement(
7383
7415
  "div",
7384
7416
  {
7385
7417
  key: i,
@@ -7388,7 +7420,7 @@ var CodeBlock = ({
7388
7420
  classNames == null ? void 0 : classNames.tab
7389
7421
  )
7390
7422
  },
7391
- /* @__PURE__ */ React54.createElement(
7423
+ /* @__PURE__ */ React55.createElement(
7392
7424
  "div",
7393
7425
  {
7394
7426
  onClick: () => setSelectedTab(i),
@@ -7400,7 +7432,7 @@ var CodeBlock = ({
7400
7432
  )
7401
7433
  ))
7402
7434
  ),
7403
- /* @__PURE__ */ React54.createElement(
7435
+ /* @__PURE__ */ React55.createElement(
7404
7436
  "div",
7405
7437
  {
7406
7438
  className: cn(
@@ -7410,22 +7442,22 @@ var CodeBlock = ({
7410
7442
  "hawa-overflow-y-auto"
7411
7443
  )
7412
7444
  },
7413
- /* @__PURE__ */ React54.createElement(
7445
+ /* @__PURE__ */ React55.createElement(
7414
7446
  "div",
7415
7447
  {
7416
7448
  className: cn(
7417
7449
  "hawa-flex hawa-absolute hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-z-50 hawa-right-3 hawa-top-3"
7418
7450
  )
7419
7451
  },
7420
- /* @__PURE__ */ React54.createElement(
7452
+ /* @__PURE__ */ React55.createElement(
7421
7453
  Tooltip,
7422
7454
  {
7423
7455
  open: clipboard.copied,
7424
7456
  side: "left",
7425
- content: /* @__PURE__ */ React54.createElement("div", null, "Copied!"),
7457
+ content: /* @__PURE__ */ React55.createElement("div", null, "Copied!"),
7426
7458
  triggerProps: { asChild: true }
7427
7459
  },
7428
- /* @__PURE__ */ React54.createElement(
7460
+ /* @__PURE__ */ React55.createElement(
7429
7461
  Button,
7430
7462
  {
7431
7463
  size: "smallIcon",
@@ -7433,18 +7465,18 @@ var CodeBlock = ({
7433
7465
  variant: "outline",
7434
7466
  className: "hawa-text-gray-200 hawa-opacity-50 dark:hawa-border-gray-200 dark:hover:hawa-border-gray-400"
7435
7467
  },
7436
- /* @__PURE__ */ React54.createElement(CopyIcon, null)
7468
+ /* @__PURE__ */ React55.createElement(CopyIcon, null)
7437
7469
  )
7438
7470
  )
7439
7471
  ),
7440
- /* @__PURE__ */ React54.createElement(
7472
+ /* @__PURE__ */ React55.createElement(
7441
7473
  Highlight,
7442
7474
  {
7443
7475
  theme,
7444
7476
  code: tabs ? tabs[selectedTab].code : code || "",
7445
7477
  language
7446
7478
  },
7447
- ({ tokens, getLineProps, getTokenProps }) => /* @__PURE__ */ React54.createElement(
7479
+ ({ tokens, getLineProps, getTokenProps }) => /* @__PURE__ */ React55.createElement(
7448
7480
  "pre",
7449
7481
  {
7450
7482
  className: cn(
@@ -7454,7 +7486,7 @@ var CodeBlock = ({
7454
7486
  wrapText && "hawa-text-wrap"
7455
7487
  )
7456
7488
  },
7457
- tokens.map((line, i) => /* @__PURE__ */ React54.createElement("div", { key: i, ...getLineProps({ line }) }, props.lineNumbers && /* @__PURE__ */ React54.createElement("span", { className: "hawa-mr-4" }, i + 1), line.map((token, key) => /* @__PURE__ */ React54.createElement("span", { key, ...getTokenProps({ token }) }))))
7489
+ tokens.map((line, i) => /* @__PURE__ */ React55.createElement("div", { key: i, ...getLineProps({ line }) }, props.lineNumbers && /* @__PURE__ */ React55.createElement("span", { className: "hawa-mr-4" }, i + 1), line.map((token, key) => /* @__PURE__ */ React55.createElement("span", { key, ...getTokenProps({ token }) }))))
7458
7490
  )
7459
7491
  )
7460
7492
  )
@@ -7462,7 +7494,7 @@ var CodeBlock = ({
7462
7494
  };
7463
7495
 
7464
7496
  // elements/carousel/Carousel.tsx
7465
- import React55, { useEffect as useEffect14, useState as useState18 } from "react";
7497
+ import React56, { useEffect as useEffect14, useState as useState18 } from "react";
7466
7498
  import useEmblaCarousel from "embla-carousel-react";
7467
7499
  var Carousel = ({
7468
7500
  items,
@@ -7501,17 +7533,17 @@ var Carousel = ({
7501
7533
  clearInterval(autoplayTimer);
7502
7534
  };
7503
7535
  }, [emblaApi, autoplay, autoplayInterval]);
7504
- const length = React55.Children.count(items);
7536
+ const length = React56.Children.count(items);
7505
7537
  const canScrollNext = !!(emblaApi == null ? void 0 : emblaApi.canScrollNext());
7506
7538
  const canScrollPrev = !!(emblaApi == null ? void 0 : emblaApi.canScrollPrev());
7507
- return /* @__PURE__ */ React55.createElement("div", { className: " hawa-relative hawa-h-full" }, /* @__PURE__ */ React55.createElement("div", { className: "hawa-h-full hawa-overflow-hidden" }, /* @__PURE__ */ React55.createElement("div", { className: "hawa-h-full", ref: emblaRef }, /* @__PURE__ */ React55.createElement("div", { className: "hawa-flex hawa-h-full" }, items == null ? void 0 : items.map((item, i) => /* @__PURE__ */ React55.createElement(
7539
+ return /* @__PURE__ */ React56.createElement("div", { className: " hawa-relative hawa-h-full" }, /* @__PURE__ */ React56.createElement("div", { className: "hawa-h-full hawa-overflow-hidden" }, /* @__PURE__ */ React56.createElement("div", { className: "hawa-h-full", ref: emblaRef }, /* @__PURE__ */ React56.createElement("div", { className: "hawa-flex hawa-h-full" }, items == null ? void 0 : items.map((item, i) => /* @__PURE__ */ React56.createElement(
7508
7540
  "div",
7509
7541
  {
7510
7542
  key: i,
7511
7543
  className: "hawa-flex hawa-h-full hawa-min-w-0 hawa-flex-[0_0_100%] hawa-items-center hawa-justify-center"
7512
7544
  },
7513
7545
  item
7514
- ))))), /* @__PURE__ */ React55.createElement(
7546
+ ))))), /* @__PURE__ */ React56.createElement(
7515
7547
  Dots,
7516
7548
  {
7517
7549
  direction,
@@ -7519,7 +7551,7 @@ var Carousel = ({
7519
7551
  selectedIndex,
7520
7552
  onDotClick: (index) => emblaApi == null ? void 0 : emblaApi.scrollTo(index)
7521
7553
  }
7522
- ), showArrows && /* @__PURE__ */ React55.createElement(
7554
+ ), showArrows && /* @__PURE__ */ React56.createElement(
7523
7555
  CarouselControls,
7524
7556
  {
7525
7557
  canScrollNext,
@@ -7536,7 +7568,7 @@ var Dots = ({
7536
7568
  direction
7537
7569
  }) => {
7538
7570
  const arr = new Array(itemsLength).fill(0);
7539
- return /* @__PURE__ */ React55.createElement(
7571
+ return /* @__PURE__ */ React56.createElement(
7540
7572
  "div",
7541
7573
  {
7542
7574
  dir: direction,
@@ -7544,7 +7576,7 @@ var Dots = ({
7544
7576
  },
7545
7577
  arr.map((_, index) => {
7546
7578
  const selected = index === selectedIndex;
7547
- return /* @__PURE__ */ React55.createElement(
7579
+ return /* @__PURE__ */ React56.createElement(
7548
7580
  "div",
7549
7581
  {
7550
7582
  key: index,
@@ -7559,7 +7591,7 @@ var Dots = ({
7559
7591
  );
7560
7592
  };
7561
7593
  var CarouselControls = (props) => {
7562
- return /* @__PURE__ */ React55.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2 " }, /* @__PURE__ */ React55.createElement(
7594
+ return /* @__PURE__ */ React56.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2 " }, /* @__PURE__ */ React56.createElement(
7563
7595
  "button",
7564
7596
  {
7565
7597
  onClick: () => props.canScrollPrev && props.onPrev(),
@@ -7570,7 +7602,7 @@ var CarouselControls = (props) => {
7570
7602
  props.canScrollPrev && "hawa-bg-primary"
7571
7603
  )
7572
7604
  },
7573
- /* @__PURE__ */ React55.createElement(
7605
+ /* @__PURE__ */ React56.createElement(
7574
7606
  "svg",
7575
7607
  {
7576
7608
  "aria-label": "Chevron Right Icon",
@@ -7579,9 +7611,9 @@ var CarouselControls = (props) => {
7579
7611
  viewBox: "0 0 16 16",
7580
7612
  className: "hawa-h-2 hawa-w-2 hawa-shrink-0 hawa-rotate-180 hawa-transition-transform hawa-duration-200 "
7581
7613
  },
7582
- /* @__PURE__ */ React55.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
7614
+ /* @__PURE__ */ React56.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
7583
7615
  )
7584
- ), /* @__PURE__ */ React55.createElement(
7616
+ ), /* @__PURE__ */ React56.createElement(
7585
7617
  "button",
7586
7618
  {
7587
7619
  onClick: () => props.canScrollNext && props.onNext(),
@@ -7592,7 +7624,7 @@ var CarouselControls = (props) => {
7592
7624
  props.canScrollNext && "hawa-bg-primary"
7593
7625
  )
7594
7626
  },
7595
- /* @__PURE__ */ React55.createElement(
7627
+ /* @__PURE__ */ React56.createElement(
7596
7628
  "svg",
7597
7629
  {
7598
7630
  "aria-label": "Chevron Right Icon",
@@ -7601,19 +7633,19 @@ var CarouselControls = (props) => {
7601
7633
  viewBox: "0 0 16 16",
7602
7634
  className: "hawa-h-2 hawa-w-2 hawa-shrink-0 hawa-transition-transform hawa-duration-200 "
7603
7635
  },
7604
- /* @__PURE__ */ React55.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
7636
+ /* @__PURE__ */ React56.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
7605
7637
  )
7606
7638
  ));
7607
7639
  };
7608
7640
 
7609
7641
  // elements/count/Count.tsx
7610
- import React56 from "react";
7642
+ import React57 from "react";
7611
7643
  var Count = (props) => {
7612
- return /* @__PURE__ */ React56.createElement("div", { className: "hawa-flex hawa-h-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-px-2" }, /* @__PURE__ */ React56.createElement("div", null, props.icon), /* @__PURE__ */ React56.createElement("div", { className: "hawa-text-sm" }, props.count));
7644
+ return /* @__PURE__ */ React57.createElement("div", { className: "hawa-flex hawa-h-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-px-2" }, /* @__PURE__ */ React57.createElement("div", null, props.icon), /* @__PURE__ */ React57.createElement("div", { className: "hawa-text-sm" }, props.count));
7613
7645
  };
7614
7646
 
7615
7647
  // elements/toast/Toast.tsx
7616
- import * as React57 from "react";
7648
+ import * as React58 from "react";
7617
7649
  import * as ToastPrimitives from "@radix-ui/react-toast";
7618
7650
  import { cva as cva4 } from "class-variance-authority";
7619
7651
  var toastVariants = cva4(
@@ -7641,7 +7673,7 @@ var sizeStyles = {
7641
7673
  sm: "hawa-text-xs"
7642
7674
  };
7643
7675
  var ToastProvider = ToastPrimitives.Provider;
7644
- var ToastViewport = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React57.createElement(
7676
+ var ToastViewport = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React58.createElement(
7645
7677
  ToastPrimitives.Viewport,
7646
7678
  {
7647
7679
  ref,
@@ -7653,8 +7685,8 @@ var ToastViewport = React57.forwardRef(({ className, ...props }, ref) => /* @__P
7653
7685
  }
7654
7686
  ));
7655
7687
  ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
7656
- var Toast = React57.forwardRef(({ className, variant, severity = "none", direction, ...props }, ref) => {
7657
- return /* @__PURE__ */ React57.createElement(
7688
+ var Toast = React58.forwardRef(({ className, variant, severity = "none", direction, ...props }, ref) => {
7689
+ return /* @__PURE__ */ React58.createElement(
7658
7690
  ToastPrimitives.Root,
7659
7691
  {
7660
7692
  ref,
@@ -7669,8 +7701,8 @@ var Toast = React57.forwardRef(({ className, variant, severity = "none", directi
7669
7701
  );
7670
7702
  });
7671
7703
  Toast.displayName = ToastPrimitives.Root.displayName;
7672
- var ToastAction = React57.forwardRef(({ className, ...props }, ref) => {
7673
- return /* @__PURE__ */ React57.createElement(
7704
+ var ToastAction = React58.forwardRef(({ className, ...props }, ref) => {
7705
+ return /* @__PURE__ */ React58.createElement(
7674
7706
  ToastPrimitives.Action,
7675
7707
  {
7676
7708
  ref,
@@ -7688,7 +7720,7 @@ var ToastAction = React57.forwardRef(({ className, ...props }, ref) => {
7688
7720
  );
7689
7721
  });
7690
7722
  ToastAction.displayName = ToastPrimitives.Action.displayName;
7691
- var ToastClose = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React57.createElement(
7723
+ var ToastClose = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React58.createElement(
7692
7724
  ToastPrimitives.Close,
7693
7725
  {
7694
7726
  ref,
@@ -7702,7 +7734,7 @@ var ToastClose = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE
7702
7734
  "toast-close": "",
7703
7735
  ...props
7704
7736
  },
7705
- /* @__PURE__ */ React57.createElement(
7737
+ /* @__PURE__ */ React58.createElement(
7706
7738
  "svg",
7707
7739
  {
7708
7740
  "aria-label": "Close Icon",
@@ -7711,7 +7743,7 @@ var ToastClose = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE
7711
7743
  fill: "currentColor",
7712
7744
  viewBox: "0 0 20 20"
7713
7745
  },
7714
- /* @__PURE__ */ React57.createElement(
7746
+ /* @__PURE__ */ React58.createElement(
7715
7747
  "path",
7716
7748
  {
7717
7749
  fillRule: "evenodd",
@@ -7722,7 +7754,7 @@ var ToastClose = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE
7722
7754
  )
7723
7755
  ));
7724
7756
  ToastClose.displayName = ToastPrimitives.Close.displayName;
7725
- var ToastTitle = React57.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ React57.createElement(
7757
+ var ToastTitle = React58.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ React58.createElement(
7726
7758
  ToastPrimitives.Title,
7727
7759
  {
7728
7760
  ref,
@@ -7735,7 +7767,7 @@ var ToastTitle = React57.forwardRef(({ className, size = "default", ...props },
7735
7767
  }
7736
7768
  ));
7737
7769
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
7738
- var ToastDescription = React57.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ React57.createElement(
7770
+ var ToastDescription = React58.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ React58.createElement(
7739
7771
  ToastPrimitives.Description,
7740
7772
  {
7741
7773
  ref,
@@ -7750,11 +7782,11 @@ var ToastDescription = React57.forwardRef(({ className, size = "default", ...pro
7750
7782
  ToastDescription.displayName = ToastPrimitives.Description.displayName;
7751
7783
 
7752
7784
  // elements/toaster/Toaster.tsx
7753
- import React58 from "react";
7785
+ import React59 from "react";
7754
7786
  function Toaster(props) {
7755
7787
  var _a;
7756
7788
  let isRTL = props.direction === "rtl";
7757
- return /* @__PURE__ */ React58.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, (_a = props.toasts) == null ? void 0 : _a.map(function({
7789
+ return /* @__PURE__ */ React59.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, (_a = props.toasts) == null ? void 0 : _a.map(function({
7758
7790
  id,
7759
7791
  title,
7760
7792
  description,
@@ -7762,7 +7794,7 @@ function Toaster(props) {
7762
7794
  action,
7763
7795
  ...toastProps
7764
7796
  }) {
7765
- return /* @__PURE__ */ React58.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ React58.createElement(
7797
+ return /* @__PURE__ */ React59.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ React59.createElement(
7766
7798
  "div",
7767
7799
  {
7768
7800
  className: cn(
@@ -7770,9 +7802,9 @@ function Toaster(props) {
7770
7802
  action && "hawa-justify-between"
7771
7803
  )
7772
7804
  },
7773
- /* @__PURE__ */ React58.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-p-2 hawa-pe-0" }, /* @__PURE__ */ React58.createElement(ToastClose, null)),
7774
- /* @__PURE__ */ React58.createElement("div", { className: "hawa-mx-0 hawa-h-auto hawa-max-h-full hawa-w-px hawa-bg-primary-foreground/10" }),
7775
- /* @__PURE__ */ React58.createElement(
7805
+ /* @__PURE__ */ React59.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-p-2 hawa-pe-0" }, /* @__PURE__ */ React59.createElement(ToastClose, null)),
7806
+ /* @__PURE__ */ React59.createElement("div", { className: "hawa-mx-0 hawa-h-auto hawa-max-h-full hawa-w-px hawa-bg-primary-foreground/10" }),
7807
+ /* @__PURE__ */ React59.createElement(
7776
7808
  "div",
7777
7809
  {
7778
7810
  className: cn(
@@ -7780,11 +7812,11 @@ function Toaster(props) {
7780
7812
  { "hawa-p-4": size === "default", "hawa-p-2": size === "sm" }
7781
7813
  )
7782
7814
  },
7783
- /* @__PURE__ */ React58.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ React58.createElement(ToastTitle, { size }, title), description && /* @__PURE__ */ React58.createElement(ToastDescription, { size }, description)),
7784
- action && /* @__PURE__ */ React58.createElement("div", { className: "hawa-flex hawa-flex-col hawa-justify-center" }, action)
7815
+ /* @__PURE__ */ React59.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ React59.createElement(ToastTitle, { size }, title), description && /* @__PURE__ */ React59.createElement(ToastDescription, { size }, description)),
7816
+ action && /* @__PURE__ */ React59.createElement("div", { className: "hawa-flex hawa-flex-col hawa-justify-center" }, action)
7785
7817
  )
7786
7818
  ));
7787
- }), /* @__PURE__ */ React58.createElement(
7819
+ }), /* @__PURE__ */ React59.createElement(
7788
7820
  ToastViewport,
7789
7821
  {
7790
7822
  className: cn("hawa-gap-2", isRTL && "hawa-fixed hawa-left-0")
@@ -7793,7 +7825,7 @@ function Toaster(props) {
7793
7825
  }
7794
7826
 
7795
7827
  // elements/destroyableCard/DestroyableCard.tsx
7796
- import React59, { useRef as useRef9, useState as useState19 } from "react";
7828
+ import React60, { useRef as useRef9, useState as useState19 } from "react";
7797
7829
  var DestroyableCard = ({
7798
7830
  position = "bottom-right",
7799
7831
  fixed,
@@ -7806,7 +7838,7 @@ var DestroyableCard = ({
7806
7838
  "bottom-right": "hawa-right-4 hawa-bottom-4",
7807
7839
  "bottom-left": "hawa-left-4 hawa-bottom-4"
7808
7840
  };
7809
- return /* @__PURE__ */ React59.createElement(
7841
+ return /* @__PURE__ */ React60.createElement(
7810
7842
  "div",
7811
7843
  {
7812
7844
  className: cn(
@@ -7815,7 +7847,7 @@ var DestroyableCard = ({
7815
7847
  ),
7816
7848
  ref: popUpRef
7817
7849
  },
7818
- /* @__PURE__ */ React59.createElement(
7850
+ /* @__PURE__ */ React60.createElement(
7819
7851
  Card,
7820
7852
  {
7821
7853
  className: cn(
@@ -7824,7 +7856,7 @@ var DestroyableCard = ({
7824
7856
  ),
7825
7857
  dir: direction
7826
7858
  },
7827
- /* @__PURE__ */ React59.createElement(
7859
+ /* @__PURE__ */ React60.createElement(
7828
7860
  "button",
7829
7861
  {
7830
7862
  type: "button",
@@ -7843,7 +7875,7 @@ var DestroyableCard = ({
7843
7875
  }, 200);
7844
7876
  }
7845
7877
  },
7846
- /* @__PURE__ */ React59.createElement(
7878
+ /* @__PURE__ */ React60.createElement(
7847
7879
  "svg",
7848
7880
  {
7849
7881
  "aria-hidden": "true",
@@ -7851,7 +7883,7 @@ var DestroyableCard = ({
7851
7883
  fill: "currentColor",
7852
7884
  viewBox: "0 0 20 20"
7853
7885
  },
7854
- /* @__PURE__ */ React59.createElement(
7886
+ /* @__PURE__ */ React60.createElement(
7855
7887
  "path",
7856
7888
  {
7857
7889
  fillRule: "evenodd",
@@ -7861,13 +7893,13 @@ var DestroyableCard = ({
7861
7893
  )
7862
7894
  )
7863
7895
  ),
7864
- /* @__PURE__ */ React59.createElement(CardContent, { headless: true }, props.children)
7896
+ /* @__PURE__ */ React60.createElement(CardContent, { headless: true }, props.children)
7865
7897
  )
7866
7898
  );
7867
7899
  };
7868
7900
 
7869
7901
  // elements/interfaceSettings/InterfaceSettings.tsx
7870
- import React60, { useState as useState20 } from "react";
7902
+ import React61, { useState as useState20 } from "react";
7871
7903
  var InterfaceSettings = ({
7872
7904
  orientation = "horizontal",
7873
7905
  width = "default",
@@ -7881,7 +7913,7 @@ var InterfaceSettings = ({
7881
7913
  horizontal: "hawa-flex hawa-flex-row hawa-justify-between",
7882
7914
  vertical: "hawa-flex hawa-flex-col hawa-items-center hawa-gap-2"
7883
7915
  };
7884
- return /* @__PURE__ */ React60.createElement("div", { className: cn(orientationStyle[orientation]) }, /* @__PURE__ */ React60.createElement(
7916
+ return /* @__PURE__ */ React61.createElement("div", { className: cn(orientationStyle[orientation]) }, /* @__PURE__ */ React61.createElement(
7885
7917
  Radio,
7886
7918
  {
7887
7919
  name: "language",
@@ -7899,7 +7931,7 @@ var InterfaceSettings = ({
7899
7931
  { value: "en", label: "English" }
7900
7932
  ]
7901
7933
  }
7902
- ), /* @__PURE__ */ React60.createElement(
7934
+ ), /* @__PURE__ */ React61.createElement(
7903
7935
  Radio,
7904
7936
  {
7905
7937
  name: "theme",
@@ -7915,7 +7947,7 @@ var InterfaceSettings = ({
7915
7947
  options: [
7916
7948
  {
7917
7949
  value: "light",
7918
- label: /* @__PURE__ */ React60.createElement(
7950
+ label: /* @__PURE__ */ React61.createElement(
7919
7951
  "svg",
7920
7952
  {
7921
7953
  width: "15",
@@ -7925,7 +7957,7 @@ var InterfaceSettings = ({
7925
7957
  xmlns: "http://www.w3.org/2000/svg",
7926
7958
  className: "hawa-h-[1.2rem] hawa-w-[1.2rem] hawa-rotate-0 hawa-scale-100 hawa-transition-all dark:hawa--rotate-90"
7927
7959
  },
7928
- /* @__PURE__ */ React60.createElement(
7960
+ /* @__PURE__ */ React61.createElement(
7929
7961
  "path",
7930
7962
  {
7931
7963
  d: "M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.1938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z",
@@ -7936,7 +7968,7 @@ var InterfaceSettings = ({
7936
7968
  },
7937
7969
  {
7938
7970
  value: "dark",
7939
- label: /* @__PURE__ */ React60.createElement(
7971
+ label: /* @__PURE__ */ React61.createElement(
7940
7972
  "svg",
7941
7973
  {
7942
7974
  xmlns: "http://www.w3.org/2000/svg",
@@ -7947,7 +7979,7 @@ var InterfaceSettings = ({
7947
7979
  stroke: "currentColor",
7948
7980
  className: "hawa-h-[1.2rem] hawa-w-[1.2rem] hawa-transition-all dark:hawa-rotate-0 dark:hawa-scale-100"
7949
7981
  },
7950
- /* @__PURE__ */ React60.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
7982
+ /* @__PURE__ */ React61.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
7951
7983
  )
7952
7984
  }
7953
7985
  ]
@@ -7956,17 +7988,17 @@ var InterfaceSettings = ({
7956
7988
  };
7957
7989
 
7958
7990
  // elements/phoneMockup/PhoneMockup.tsx
7959
- import React61 from "react";
7991
+ import React62 from "react";
7960
7992
  var PhoneMockup = ({
7961
7993
  children,
7962
7994
  upperOverlayGradiant,
7963
7995
  lowerOverlayGradiant,
7964
7996
  phone,
7965
7997
  hideButtons
7966
- }) => /* @__PURE__ */ React61.createElement("div", { className: "hawa-relative hawa-mx-auto hawa-h-[600px] hawa-w-[300px] hawa-rounded-[2.5rem] hawa-border-[14px] hawa-border-gray-800 hawa-bg-gray-800 hawa-dark:border-gray-800" }, !hideButtons && /* @__PURE__ */ React61.createElement(React61.Fragment, null, /* @__PURE__ */ React61.createElement("div", { className: "hawa-absolute hawa--left-[16px] hawa-top-[72px] hawa-h-[32px] hawa-w-[3px] hawa-rounded-l-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" }), /* @__PURE__ */ React61.createElement("div", { className: "hawa-absolute hawa--left-[16px] hawa-top-[124px] hawa-h-[46px] hawa-w-[3px] hawa-rounded-l-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" }), /* @__PURE__ */ React61.createElement("div", { className: "hawa-absolute hawa--left-[16px] hawa-top-[178px] hawa-h-[46px] hawa-w-[3px] hawa-rounded-l-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" }), /* @__PURE__ */ React61.createElement("div", { className: "hawa-absolute hawa--right-[16px] hawa-top-[142px] hawa-h-[64px] hawa-w-[3px] hawa-rounded-r-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" })), /* @__PURE__ */ React61.createElement("div", { className: "no-scrollbar hawa-left-0 hawa-h-[572px] hawa-w-[272px] hawa-overflow-y-scroll hawa-rounded-[2rem] hawa-bg-white hawa-[clip-path:inset(0px_-1px_0px_0px_round_2rem)] hawa-dark:bg-gray-800" }, children), upperOverlayGradiant && /* @__PURE__ */ React61.createElement("div", { className: "hawa-pointer-events-none hawa-absolute hawa-left-0 hawa-top-0 hawa-h-[72px] hawa-w-[272px] hawa-rounded-t-[2rem] hawa-bg-gradient-to-t hawa-from-transparent hawa-to-black hawa-opacity-50 hawa-[clip-path:inset(0px_0px_0px_0px_round_0rem)]" }), lowerOverlayGradiant && /* @__PURE__ */ React61.createElement("div", { className: "hawa-pointer-events-none hawa-absolute hawa-bottom-0 hawa-left-0 hawa-h-[72px] hawa-w-[272px] hawa-rounded-b-[2rem] hawa-bg-gradient-to-t hawa-from-black hawa-to-transparent hawa-opacity-50 hawa-[clip-path:inset(0px_0px_0px_0px_round_0rem)]" }));
7998
+ }) => /* @__PURE__ */ React62.createElement("div", { className: "hawa-relative hawa-mx-auto hawa-h-[600px] hawa-w-[300px] hawa-rounded-[2.5rem] hawa-border-[14px] hawa-border-gray-800 hawa-bg-gray-800 hawa-dark:border-gray-800" }, !hideButtons && /* @__PURE__ */ React62.createElement(React62.Fragment, null, /* @__PURE__ */ React62.createElement("div", { className: "hawa-absolute hawa--left-[16px] hawa-top-[72px] hawa-h-[32px] hawa-w-[3px] hawa-rounded-l-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" }), /* @__PURE__ */ React62.createElement("div", { className: "hawa-absolute hawa--left-[16px] hawa-top-[124px] hawa-h-[46px] hawa-w-[3px] hawa-rounded-l-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" }), /* @__PURE__ */ React62.createElement("div", { className: "hawa-absolute hawa--left-[16px] hawa-top-[178px] hawa-h-[46px] hawa-w-[3px] hawa-rounded-l-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" }), /* @__PURE__ */ React62.createElement("div", { className: "hawa-absolute hawa--right-[16px] hawa-top-[142px] hawa-h-[64px] hawa-w-[3px] hawa-rounded-r-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" })), /* @__PURE__ */ React62.createElement("div", { className: "no-scrollbar hawa-left-0 hawa-h-[572px] hawa-w-[272px] hawa-overflow-y-scroll hawa-rounded-[2rem] hawa-bg-white hawa-[clip-path:inset(0px_-1px_0px_0px_round_2rem)] hawa-dark:bg-gray-800" }, children), upperOverlayGradiant && /* @__PURE__ */ React62.createElement("div", { className: "hawa-pointer-events-none hawa-absolute hawa-left-0 hawa-top-0 hawa-h-[72px] hawa-w-[272px] hawa-rounded-t-[2rem] hawa-bg-gradient-to-t hawa-from-transparent hawa-to-black hawa-opacity-50 hawa-[clip-path:inset(0px_0px_0px_0px_round_0rem)]" }), lowerOverlayGradiant && /* @__PURE__ */ React62.createElement("div", { className: "hawa-pointer-events-none hawa-absolute hawa-bottom-0 hawa-left-0 hawa-h-[72px] hawa-w-[272px] hawa-rounded-b-[2rem] hawa-bg-gradient-to-t hawa-from-black hawa-to-transparent hawa-opacity-50 hawa-[clip-path:inset(0px_0px_0px_0px_round_0rem)]" }));
7967
7999
 
7968
8000
  // layout/stats/Stats.tsx
7969
- import React62 from "react";
8001
+ import React63 from "react";
7970
8002
  var Stats = ({
7971
8003
  label,
7972
8004
  icon,
@@ -7985,7 +8017,7 @@ var Stats = ({
7985
8017
  negative: "hawa-text-red-600 dark:hawa-text-red-500",
7986
8018
  muted: "hawa-text-muted-foreground"
7987
8019
  };
7988
- return /* @__PURE__ */ React62.createElement(Card, { ...props, clickable }, /* @__PURE__ */ React62.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between hawa-p-4" }, /* @__PURE__ */ React62.createElement(CardTitle, { className: "hawa-text-sm hawa-font-medium" }, label), icon && /* @__PURE__ */ React62.createElement("span", null, icon)), /* @__PURE__ */ React62.createElement(CardContent, { className: "hawa-transition-all" }, isLoading ? /* @__PURE__ */ React62.createElement(Skeleton, { className: "hawa-h-8 hawa-w-3/4" }) : /* @__PURE__ */ React62.createElement("div", { className: "hawa-text-2xl hawa-font-bold" }, number), helperText && /* @__PURE__ */ React62.createElement(
8020
+ return /* @__PURE__ */ React63.createElement(Card, { ...props, clickable }, /* @__PURE__ */ React63.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between hawa-p-4" }, /* @__PURE__ */ React63.createElement(CardTitle, { className: "hawa-text-sm hawa-font-medium" }, label), icon && /* @__PURE__ */ React63.createElement("span", null, icon)), /* @__PURE__ */ React63.createElement(CardContent, { className: "hawa-transition-all" }, isLoading ? /* @__PURE__ */ React63.createElement(Skeleton, { className: "hawa-h-8 hawa-w-3/4" }) : /* @__PURE__ */ React63.createElement("div", { className: "hawa-text-2xl hawa-font-bold" }, number), helperText && /* @__PURE__ */ React63.createElement(
7989
8021
  "div",
7990
8022
  {
7991
8023
  className: cn(
@@ -7994,18 +8026,18 @@ var Stats = ({
7994
8026
  helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
7995
8027
  )
7996
8028
  },
7997
- isLoading ? /* @__PURE__ */ React62.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : helperText
7998
- ), chart && (isLoading ? /* @__PURE__ */ React62.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : chart)));
8029
+ isLoading ? /* @__PURE__ */ React63.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : helperText
8030
+ ), chart && (isLoading ? /* @__PURE__ */ React63.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : chart)));
7999
8031
  };
8000
8032
 
8001
8033
  // layout/sidebar/Sidebar.tsx
8002
- import * as React63 from "react";
8034
+ import * as React64 from "react";
8003
8035
  import * as AccordionPrimitive6 from "@radix-ui/react-accordion";
8004
8036
  var Accordion2 = AccordionPrimitive6.Root;
8005
8037
  var triggerStyles = "hawa-flex hawa-flex-1 hawa-items-center hawa-duration-75 hawa-select-none hawa-cursor-pointer hawa-rounded hawa-justify-between hawa-p-2 hawa-px-3 hawa-font-medium hawa-transition-all [&[data-state=open]>svg]:hawa--rotate-90";
8006
- var AccordionItem2 = React63.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React63.createElement(AccordionPrimitive6.Item, { ref, className: cn(className), ...props }));
8038
+ var AccordionItem2 = React64.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React64.createElement(AccordionPrimitive6.Item, { ref, className: cn(className), ...props }));
8007
8039
  AccordionItem2.displayName = "AccordionItem";
8008
- var AccordionTrigger2 = React63.forwardRef(({ className, showArrow, children, ...props }, ref) => /* @__PURE__ */ React63.createElement(AccordionPrimitive6.Header, { className: "flex" }, /* @__PURE__ */ React63.createElement(
8040
+ var AccordionTrigger2 = React64.forwardRef(({ className, showArrow, children, ...props }, ref) => /* @__PURE__ */ React64.createElement(AccordionPrimitive6.Header, { className: "flex" }, /* @__PURE__ */ React64.createElement(
8009
8041
  AccordionPrimitive6.Trigger,
8010
8042
  {
8011
8043
  ref,
@@ -8013,7 +8045,7 @@ var AccordionTrigger2 = React63.forwardRef(({ className, showArrow, children, ..
8013
8045
  ...props
8014
8046
  },
8015
8047
  children,
8016
- showArrow && /* @__PURE__ */ React63.createElement(
8048
+ showArrow && /* @__PURE__ */ React64.createElement(
8017
8049
  "svg",
8018
8050
  {
8019
8051
  "aria-label": "Chevron Right Icon",
@@ -8024,11 +8056,11 @@ var AccordionTrigger2 = React63.forwardRef(({ className, showArrow, children, ..
8024
8056
  width: "1em",
8025
8057
  className: "hawa-icon hawa-shrink-0 hawa-rotate-90 hawa-transition-transform hawa-duration-200"
8026
8058
  },
8027
- /* @__PURE__ */ React63.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
8059
+ /* @__PURE__ */ React64.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
8028
8060
  )
8029
8061
  )));
8030
8062
  AccordionTrigger2.displayName = AccordionPrimitive6.Trigger.displayName;
8031
- var AccordionContent2 = React63.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React63.createElement(
8063
+ var AccordionContent2 = React64.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React64.createElement(
8032
8064
  AccordionPrimitive6.Content,
8033
8065
  {
8034
8066
  ref,
@@ -8038,7 +8070,7 @@ var AccordionContent2 = React63.forwardRef(({ className, children, ...props }, r
8038
8070
  ),
8039
8071
  ...props
8040
8072
  },
8041
- /* @__PURE__ */ React63.createElement("div", null, children)
8073
+ /* @__PURE__ */ React64.createElement("div", null, children)
8042
8074
  ));
8043
8075
  AccordionContent2.displayName = AccordionPrimitive6.Content.displayName;
8044
8076
  var SidebarGroup = ({
@@ -8054,7 +8086,7 @@ var SidebarGroup = ({
8054
8086
  ...props
8055
8087
  }) => {
8056
8088
  const LinkComponent = props.LinkComponent || "a";
8057
- return /* @__PURE__ */ React63.createElement("div", { className: "hawa-m-2" }, title && /* @__PURE__ */ React63.createElement("h3", { className: "hawa-mb-1 hawa-font-bold" }, title), /* @__PURE__ */ React63.createElement("ul", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React63.createElement(
8089
+ return /* @__PURE__ */ React64.createElement("div", { className: "hawa-m-2" }, title && /* @__PURE__ */ React64.createElement("h3", { className: "hawa-mb-1 hawa-font-bold" }, title), /* @__PURE__ */ React64.createElement("ul", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React64.createElement(
8058
8090
  Accordion2,
8059
8091
  {
8060
8092
  value: openedItem,
@@ -8065,7 +8097,7 @@ var SidebarGroup = ({
8065
8097
  collapsible: true,
8066
8098
  className: "hawa-flex hawa-flex-col hawa-gap-1"
8067
8099
  },
8068
- items.map((item, idx) => /* @__PURE__ */ React63.createElement(
8100
+ items.map((item, idx) => /* @__PURE__ */ React64.createElement(
8069
8101
  SidebarItem,
8070
8102
  {
8071
8103
  isOpen,
@@ -8093,14 +8125,14 @@ var SidebarItem = ({
8093
8125
  return props.selectedItem === value ? "hawa-bg-primary/90 hawa-text-primary-foreground hawa-cursor-default" : "hover:hawa-bg-primary/10";
8094
8126
  };
8095
8127
  if (item.subitems) {
8096
- return /* @__PURE__ */ React63.createElement(
8128
+ return /* @__PURE__ */ React64.createElement(
8097
8129
  AccordionItem2,
8098
8130
  {
8099
8131
  value: item.value,
8100
8132
  className: "hawa-overflow-x-clip ",
8101
8133
  dir: direction
8102
8134
  },
8103
- /* @__PURE__ */ React63.createElement(
8135
+ /* @__PURE__ */ React64.createElement(
8104
8136
  AccordionTrigger2,
8105
8137
  {
8106
8138
  className: cn(
@@ -8112,7 +8144,7 @@ var SidebarItem = ({
8112
8144
  ),
8113
8145
  showArrow: isOpen
8114
8146
  },
8115
- /* @__PURE__ */ React63.createElement(
8147
+ /* @__PURE__ */ React64.createElement(
8116
8148
  "div",
8117
8149
  {
8118
8150
  className: cn(
@@ -8120,7 +8152,7 @@ var SidebarItem = ({
8120
8152
  )
8121
8153
  },
8122
8154
  item.icon && item.icon,
8123
- /* @__PURE__ */ React63.createElement(
8155
+ /* @__PURE__ */ React64.createElement(
8124
8156
  "span",
8125
8157
  {
8126
8158
  className: cn(
@@ -8132,14 +8164,14 @@ var SidebarItem = ({
8132
8164
  )
8133
8165
  )
8134
8166
  ),
8135
- item.subitems && /* @__PURE__ */ React63.createElement(AccordionContent2, { className: "hawa-mt-1 hawa-h-full hawa-rounded" }, /* @__PURE__ */ React63.createElement(
8167
+ item.subitems && /* @__PURE__ */ React64.createElement(AccordionContent2, { className: "hawa-mt-1 hawa-h-full hawa-rounded" }, /* @__PURE__ */ React64.createElement(
8136
8168
  "div",
8137
8169
  {
8138
8170
  className: cn(
8139
8171
  "hawa-flex hawa-h-full hawa-flex-col hawa-gap-2 hawa-bg-foreground/5 hawa-p-1"
8140
8172
  )
8141
8173
  },
8142
- item.subitems.map((subitem, idx) => /* @__PURE__ */ React63.createElement(
8174
+ item.subitems.map((subitem, idx) => /* @__PURE__ */ React64.createElement(
8143
8175
  LinkComponent,
8144
8176
  {
8145
8177
  href: subitem.slug,
@@ -8170,7 +8202,7 @@ var SidebarItem = ({
8170
8202
  ))
8171
8203
  );
8172
8204
  } else {
8173
- return /* @__PURE__ */ React63.createElement(
8205
+ return /* @__PURE__ */ React64.createElement(
8174
8206
  LinkComponent,
8175
8207
  {
8176
8208
  href: item.slug,
@@ -8194,7 +8226,7 @@ var SidebarItem = ({
8194
8226
  "hawa-overflow-x-clip "
8195
8227
  )
8196
8228
  },
8197
- /* @__PURE__ */ React63.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, item.icon && item.icon, /* @__PURE__ */ React63.createElement(
8229
+ /* @__PURE__ */ React64.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, item.icon && item.icon, /* @__PURE__ */ React64.createElement(
8198
8230
  "span",
8199
8231
  {
8200
8232
  className: cn(
@@ -8204,20 +8236,20 @@ var SidebarItem = ({
8204
8236
  },
8205
8237
  item.label,
8206
8238
  " ",
8207
- item.badge && /* @__PURE__ */ React63.createElement(Chip, { label: item.badge.label, color: "hyper", size: "small" })
8239
+ item.badge && /* @__PURE__ */ React64.createElement(Chip, { label: item.badge.label, color: "hyper", size: "small" })
8208
8240
  ))
8209
8241
  );
8210
8242
  }
8211
8243
  };
8212
8244
 
8213
8245
  // layout/copyrights/Copyrights.tsx
8214
- import React64 from "react";
8246
+ import React65 from "react";
8215
8247
  var Copyrights = (props) => {
8216
- return /* @__PURE__ */ React64.createElement("div", { className: "hawa-my-2 hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-1 hawa-text-xs hawa-text-gray-400" }, props.withLogo ? /* @__PURE__ */ React64.createElement("a", { href: props.onLogoClicked }, /* @__PURE__ */ React64.createElement("div", { className: "hawa-cursor-pointer" }, /* @__PURE__ */ React64.createElement("image", { href: props.logoURL, width: 100, height: 50 }))) : null, /* @__PURE__ */ React64.createElement("div", null, props.version), props.credits ? props.credits : null);
8248
+ return /* @__PURE__ */ React65.createElement("div", { className: "hawa-my-2 hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-1 hawa-text-xs hawa-text-gray-400" }, props.withLogo ? /* @__PURE__ */ React65.createElement("a", { href: props.onLogoClicked }, /* @__PURE__ */ React65.createElement("div", { className: "hawa-cursor-pointer" }, /* @__PURE__ */ React65.createElement("image", { href: props.logoURL, width: 100, height: 50 }))) : null, /* @__PURE__ */ React65.createElement("div", null, props.version), props.credits ? props.credits : null);
8217
8249
  };
8218
8250
 
8219
8251
  // layout/navbar/Navbar.tsx
8220
- import React65, { useState as useState21 } from "react";
8252
+ import React66, { useState as useState21 } from "react";
8221
8253
 
8222
8254
  // elements/collapsible/Collapsible.tsx
8223
8255
  import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
@@ -8234,13 +8266,13 @@ var Navbar = ({
8234
8266
  }) => {
8235
8267
  var _a, _b;
8236
8268
  const [isOpen, setIsOpen] = useState21(false);
8237
- return /* @__PURE__ */ React65.createElement("nav", { className: " hawa-sticky hawa-top-2 hawa-transition-all" }, /* @__PURE__ */ React65.createElement(
8269
+ return /* @__PURE__ */ React66.createElement("nav", { className: " hawa-sticky hawa-top-2 hawa-transition-all" }, /* @__PURE__ */ React66.createElement(
8238
8270
  Collapsible,
8239
8271
  {
8240
8272
  className: "hawa-relative hawa-m-2 hawa-rounded hawa-p-2",
8241
8273
  style: { backgroundColor: backgroundColor || "#1f2937" }
8242
8274
  },
8243
- /* @__PURE__ */ React65.createElement("div", { className: "hawa-flex hawa-items-center hawa-justify-between hawa-px-3 " }, /* @__PURE__ */ React65.createElement("div", { className: "hawa-flex hawa-items-center" }, /* @__PURE__ */ React65.createElement(
8275
+ /* @__PURE__ */ React66.createElement("div", { className: "hawa-flex hawa-items-center hawa-justify-between hawa-px-3 " }, /* @__PURE__ */ React66.createElement("div", { className: "hawa-flex hawa-items-center" }, /* @__PURE__ */ React66.createElement(
8244
8276
  "div",
8245
8277
  {
8246
8278
  className: "hawa-p-1.5 hawa-text-xl hawa-font-bold hawa-text-white",
@@ -8251,7 +8283,7 @@ var Navbar = ({
8251
8283
  }
8252
8284
  },
8253
8285
  logo
8254
- )), /* @__PURE__ */ React65.createElement("div", { className: "hawa-hidden md:hawa-flex " }, (_a = props.menuItems) == null ? void 0 : _a.map((item, i) => /* @__PURE__ */ React65.createElement(
8286
+ )), /* @__PURE__ */ React66.createElement("div", { className: "hawa-hidden md:hawa-flex " }, (_a = props.menuItems) == null ? void 0 : _a.map((item, i) => /* @__PURE__ */ React66.createElement(
8255
8287
  "div",
8256
8288
  {
8257
8289
  key: i,
@@ -8259,14 +8291,14 @@ var Navbar = ({
8259
8291
  className: "hawa-cursor-pointer hawa-rounded hawa-p-1.5 hawa-px-2 hawa-text-center hawa-text-sm hawa-text-white hawa-transition-all hover:hawa-bg-gray-300 hover:hawa-text-black"
8260
8292
  },
8261
8293
  item.label
8262
- ))), /* @__PURE__ */ React65.createElement("div", { className: "hawa-m-0 hawa-flex hawa-h-fit hawa-p-0 md:hawa-hidden" }, /* @__PURE__ */ React65.createElement(
8294
+ ))), /* @__PURE__ */ React66.createElement("div", { className: "hawa-m-0 hawa-flex hawa-h-fit hawa-p-0 md:hawa-hidden" }, /* @__PURE__ */ React66.createElement(
8263
8295
  CollapsibleTrigger2,
8264
8296
  {
8265
8297
  onClick: () => setIsOpen(!isOpen),
8266
8298
  className: "hawa-h-full hawa-text-white selection:hawa-p-0 ",
8267
8299
  "aria-label": "Toggle menu"
8268
8300
  },
8269
- /* @__PURE__ */ React65.createElement(
8301
+ /* @__PURE__ */ React66.createElement(
8270
8302
  "svg",
8271
8303
  {
8272
8304
  xmlns: "http://www.w3.org/2000/svg",
@@ -8283,11 +8315,11 @@ var Navbar = ({
8283
8315
  isOpen ? "hawa-invisible" : "hawa-visible"
8284
8316
  )
8285
8317
  },
8286
- /* @__PURE__ */ React65.createElement("line", { x1: "4", x2: "20", y1: "12", y2: "12" }),
8287
- /* @__PURE__ */ React65.createElement("line", { x1: "4", x2: "20", y1: "6", y2: "6" }),
8288
- /* @__PURE__ */ React65.createElement("line", { x1: "4", x2: "20", y1: "18", y2: "18" })
8318
+ /* @__PURE__ */ React66.createElement("line", { x1: "4", x2: "20", y1: "12", y2: "12" }),
8319
+ /* @__PURE__ */ React66.createElement("line", { x1: "4", x2: "20", y1: "6", y2: "6" }),
8320
+ /* @__PURE__ */ React66.createElement("line", { x1: "4", x2: "20", y1: "18", y2: "18" })
8289
8321
  ),
8290
- /* @__PURE__ */ React65.createElement(
8322
+ /* @__PURE__ */ React66.createElement(
8291
8323
  "svg",
8292
8324
  {
8293
8325
  xmlns: "http://www.w3.org/2000/svg",
@@ -8304,11 +8336,11 @@ var Navbar = ({
8304
8336
  !isOpen ? "hawa-invisible" : "hawa-visible"
8305
8337
  )
8306
8338
  },
8307
- /* @__PURE__ */ React65.createElement("path", { d: "M18 6 6 18" }),
8308
- /* @__PURE__ */ React65.createElement("path", { d: "m6 6 12 12" })
8339
+ /* @__PURE__ */ React66.createElement("path", { d: "M18 6 6 18" }),
8340
+ /* @__PURE__ */ React66.createElement("path", { d: "m6 6 12 12" })
8309
8341
  )
8310
8342
  ))),
8311
- /* @__PURE__ */ React65.createElement(
8343
+ /* @__PURE__ */ React66.createElement(
8312
8344
  CollapsibleContent2,
8313
8345
  {
8314
8346
  className: cn(
@@ -8323,7 +8355,7 @@ var Navbar = ({
8323
8355
  zIndex: -100
8324
8356
  }
8325
8357
  },
8326
- (_b = props.menuItems) == null ? void 0 : _b.map((item, i) => /* @__PURE__ */ React65.createElement(
8358
+ (_b = props.menuItems) == null ? void 0 : _b.map((item, i) => /* @__PURE__ */ React66.createElement(
8327
8359
  "div",
8328
8360
  {
8329
8361
  key: i,
@@ -8337,7 +8369,7 @@ var Navbar = ({
8337
8369
  };
8338
8370
 
8339
8371
  // layout/appLayout/AppLayout.tsx
8340
- import React66, { useEffect as useEffect15, useRef as useRef10, useState as useState22 } from "react";
8372
+ import React67, { useEffect as useEffect15, useRef as useRef10, useState as useState22 } from "react";
8341
8373
  var AppLayout = ({
8342
8374
  profileMenuWidth = "default",
8343
8375
  DrawerFooterActions,
@@ -8400,7 +8432,7 @@ var AppLayout = ({
8400
8432
  document.removeEventListener("click", handleClickOutside, true);
8401
8433
  };
8402
8434
  }, [keepOpen]);
8403
- return /* @__PURE__ */ React66.createElement("div", { className: "hawa-fixed hawa-left-0" }, props.topBar && /* @__PURE__ */ React66.createElement(
8435
+ return /* @__PURE__ */ React67.createElement("div", { className: "hawa-fixed hawa-left-0" }, props.topBar && /* @__PURE__ */ React67.createElement(
8404
8436
  "div",
8405
8437
  {
8406
8438
  className: cn(
@@ -8408,7 +8440,7 @@ var AppLayout = ({
8408
8440
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
8409
8441
  )
8410
8442
  },
8411
- size > 600 ? /* @__PURE__ */ React66.createElement(
8443
+ size > 600 ? /* @__PURE__ */ React67.createElement(
8412
8444
  "div",
8413
8445
  {
8414
8446
  className: cn(
@@ -8430,24 +8462,24 @@ var AppLayout = ({
8430
8462
  props.pageTitle
8431
8463
  ) : (
8432
8464
  // Mobile Drawer Menu Button
8433
- /* @__PURE__ */ React66.createElement(
8465
+ /* @__PURE__ */ React67.createElement(
8434
8466
  "div",
8435
8467
  {
8436
8468
  dir: direction,
8437
8469
  className: "hawa-flex hawa-items-center hawa-justify-center hawa-gap-0.5"
8438
8470
  },
8439
- /* @__PURE__ */ React66.createElement(
8471
+ /* @__PURE__ */ React67.createElement(
8440
8472
  "div",
8441
8473
  {
8442
8474
  onClick: () => setOpenSideMenu(true),
8443
8475
  className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
8444
8476
  },
8445
- /* @__PURE__ */ React66.createElement(MenuIcon, null)
8477
+ /* @__PURE__ */ React67.createElement(MenuIcon, null)
8446
8478
  ),
8447
- props.pageTitle ? /* @__PURE__ */ React66.createElement("div", { className: "hawa-text-sm" }, props.pageTitle) : /* @__PURE__ */ React66.createElement("div", null)
8479
+ props.pageTitle ? /* @__PURE__ */ React67.createElement("div", { className: "hawa-text-sm" }, props.pageTitle) : /* @__PURE__ */ React67.createElement("div", null)
8448
8480
  )
8449
8481
  ),
8450
- /* @__PURE__ */ React66.createElement(
8482
+ /* @__PURE__ */ React67.createElement(
8451
8483
  "div",
8452
8484
  {
8453
8485
  className: cn(
@@ -8455,16 +8487,16 @@ var AppLayout = ({
8455
8487
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
8456
8488
  )
8457
8489
  },
8458
- size > 600 ? /* @__PURE__ */ React66.createElement(
8490
+ size > 600 ? /* @__PURE__ */ React67.createElement(
8459
8491
  "div",
8460
8492
  {
8461
8493
  className: isRTL ? "hawa-text-left hawa-text-xs" : "hawa-text-right hawa-text-xs"
8462
8494
  },
8463
- /* @__PURE__ */ React66.createElement("div", { className: "hawa-font-bold" }, props.username),
8495
+ /* @__PURE__ */ React67.createElement("div", { className: "hawa-font-bold" }, props.username),
8464
8496
  " ",
8465
- /* @__PURE__ */ React66.createElement("div", null, props.email)
8497
+ /* @__PURE__ */ React67.createElement("div", null, props.email)
8466
8498
  ) : null,
8467
- /* @__PURE__ */ React66.createElement(
8499
+ /* @__PURE__ */ React67.createElement(
8468
8500
  DropdownMenu,
8469
8501
  {
8470
8502
  LinkComponent: MenuLinkComponent,
@@ -8477,7 +8509,7 @@ var AppLayout = ({
8477
8509
  direction: isRTL ? "rtl" : "ltr",
8478
8510
  items: props.profileMenuItems || [],
8479
8511
  onItemSelect: (e) => console.log("selecting item ", e),
8480
- trigger: /* @__PURE__ */ React66.createElement("div", { className: "hawa-relative hawa-h-8 hawa-w-8 hawa-cursor-pointer hawa-overflow-clip hawa-rounded hawa-ring-1 hawa-ring-primary/30 dark:hawa-bg-gray-600" }, props.avatarImage ? /* @__PURE__ */ React66.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ React66.createElement(
8512
+ trigger: /* @__PURE__ */ React67.createElement("div", { className: "hawa-relative hawa-h-8 hawa-w-8 hawa-cursor-pointer hawa-overflow-clip hawa-rounded hawa-ring-1 hawa-ring-primary/30 dark:hawa-bg-gray-600" }, props.avatarImage ? /* @__PURE__ */ React67.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ React67.createElement(
8481
8513
  "svg",
8482
8514
  {
8483
8515
  "aria-label": "Avatar Icon",
@@ -8485,7 +8517,7 @@ var AppLayout = ({
8485
8517
  fill: "currentColor",
8486
8518
  viewBox: "0 0 20 20"
8487
8519
  },
8488
- /* @__PURE__ */ React66.createElement(
8520
+ /* @__PURE__ */ React67.createElement(
8489
8521
  "path",
8490
8522
  {
8491
8523
  fillRule: "evenodd",
@@ -8497,7 +8529,7 @@ var AppLayout = ({
8497
8529
  }
8498
8530
  )
8499
8531
  )
8500
- ), /* @__PURE__ */ React66.createElement(
8532
+ ), /* @__PURE__ */ React67.createElement(
8501
8533
  "div",
8502
8534
  {
8503
8535
  className: cn(
@@ -8525,7 +8557,7 @@ var AppLayout = ({
8525
8557
  },
8526
8558
  ref
8527
8559
  },
8528
- /* @__PURE__ */ React66.createElement(
8560
+ /* @__PURE__ */ React67.createElement(
8529
8561
  "div",
8530
8562
  {
8531
8563
  onClick: props.onLogoClick,
@@ -8540,7 +8572,7 @@ var AppLayout = ({
8540
8572
  }
8541
8573
  },
8542
8574
  openSideMenu && props.header && props.header,
8543
- !props.header && /* @__PURE__ */ React66.createElement(
8575
+ !props.header && /* @__PURE__ */ React67.createElement(
8544
8576
  "img",
8545
8577
  {
8546
8578
  className: cn(
@@ -8551,7 +8583,7 @@ var AppLayout = ({
8551
8583
  src: props.logoLink
8552
8584
  }
8553
8585
  ),
8554
- size > 600 ? /* @__PURE__ */ React66.createElement(
8586
+ size > 600 ? /* @__PURE__ */ React67.createElement(
8555
8587
  "img",
8556
8588
  {
8557
8589
  className: cn(
@@ -8564,7 +8596,7 @@ var AppLayout = ({
8564
8596
  }
8565
8597
  ) : null
8566
8598
  ),
8567
- /* @__PURE__ */ React66.createElement(
8599
+ /* @__PURE__ */ React67.createElement(
8568
8600
  "div",
8569
8601
  {
8570
8602
  className: cn(
@@ -8575,7 +8607,7 @@ var AppLayout = ({
8575
8607
  width: size > 600 ? `${openSideMenu ? openDrawerWidth : drawerSizeCondition}px` : `${openSideMenu ? openDrawerWidth : 0}px`
8576
8608
  }
8577
8609
  },
8578
- /* @__PURE__ */ React66.createElement(
8610
+ /* @__PURE__ */ React67.createElement(
8579
8611
  SidebarGroup,
8580
8612
  {
8581
8613
  direction,
@@ -8598,7 +8630,7 @@ var AppLayout = ({
8598
8630
  }
8599
8631
  )
8600
8632
  ),
8601
- /* @__PURE__ */ React66.createElement(
8633
+ /* @__PURE__ */ React67.createElement(
8602
8634
  "div",
8603
8635
  {
8604
8636
  className: cn(
@@ -8610,8 +8642,8 @@ var AppLayout = ({
8610
8642
  width: size > 600 ? `${openSideMenu ? openDrawerWidth : 56}px` : `${openSideMenu ? openDrawerWidth : 0}px`
8611
8643
  }
8612
8644
  },
8613
- DrawerFooterActions && openSideMenu ? /* @__PURE__ */ React66.createElement(React66.Fragment, null, DrawerFooterActions) : null,
8614
- size > 600 && openSideMenu ? /* @__PURE__ */ React66.createElement(
8645
+ DrawerFooterActions && openSideMenu ? /* @__PURE__ */ React67.createElement(React67.Fragment, null, DrawerFooterActions) : null,
8646
+ size > 600 && openSideMenu ? /* @__PURE__ */ React67.createElement(
8615
8647
  Tooltip,
8616
8648
  {
8617
8649
  side: "left",
@@ -8619,7 +8651,7 @@ var AppLayout = ({
8619
8651
  content: keepOpen ? ((_a = props.texts) == null ? void 0 : _a.collapseSidebar) || "Collapse Sidebar" : ((_b = props.texts) == null ? void 0 : _b.expandSidebar) || "Expand Sidebar",
8620
8652
  triggerProps: { asChild: true }
8621
8653
  },
8622
- /* @__PURE__ */ React66.createElement(
8654
+ /* @__PURE__ */ React67.createElement(
8623
8655
  Button,
8624
8656
  {
8625
8657
  variant: "outline",
@@ -8632,7 +8664,7 @@ var AppLayout = ({
8632
8664
  },
8633
8665
  size: "smallIcon"
8634
8666
  },
8635
- /* @__PURE__ */ React66.createElement(
8667
+ /* @__PURE__ */ React67.createElement(
8636
8668
  "svg",
8637
8669
  {
8638
8670
  className: cn(
@@ -8642,7 +8674,7 @@ var AppLayout = ({
8642
8674
  fill: "currentColor",
8643
8675
  viewBox: "0 0 20 20"
8644
8676
  },
8645
- /* @__PURE__ */ React66.createElement(
8677
+ /* @__PURE__ */ React67.createElement(
8646
8678
  "path",
8647
8679
  {
8648
8680
  fillRule: "evenodd",
@@ -8654,7 +8686,7 @@ var AppLayout = ({
8654
8686
  )
8655
8687
  ) : null
8656
8688
  )
8657
- ), /* @__PURE__ */ React66.createElement(
8689
+ ), /* @__PURE__ */ React67.createElement(
8658
8690
  "div",
8659
8691
  {
8660
8692
  className: "hawa-fixed -hawa-z-10 hawa-overflow-y-auto hawa-transition-all",
@@ -8673,7 +8705,7 @@ var AppLayout = ({
8673
8705
  props.children
8674
8706
  ));
8675
8707
  };
8676
- var MenuIcon = () => /* @__PURE__ */ React66.createElement(
8708
+ var MenuIcon = () => /* @__PURE__ */ React67.createElement(
8677
8709
  "svg",
8678
8710
  {
8679
8711
  "aria-label": "Menu Button",
@@ -8685,7 +8717,7 @@ var MenuIcon = () => /* @__PURE__ */ React66.createElement(
8685
8717
  height: "1.6em",
8686
8718
  width: "1.6em"
8687
8719
  },
8688
- /* @__PURE__ */ React66.createElement(
8720
+ /* @__PURE__ */ React67.createElement(
8689
8721
  "path",
8690
8722
  {
8691
8723
  fillRule: "evenodd",
@@ -8696,11 +8728,11 @@ var MenuIcon = () => /* @__PURE__ */ React66.createElement(
8696
8728
  );
8697
8729
 
8698
8730
  // layout/appTopbar/AppTopbar.tsx
8699
- import React67 from "react";
8731
+ import React68 from "react";
8700
8732
  var AppTopbar = ({ ...props }) => {
8701
8733
  const isRTL = props.direction === "ltr";
8702
8734
  const size = 1200;
8703
- return /* @__PURE__ */ React67.createElement(
8735
+ return /* @__PURE__ */ React68.createElement(
8704
8736
  "div",
8705
8737
  {
8706
8738
  className: cn(
@@ -8708,24 +8740,24 @@ var AppTopbar = ({ ...props }) => {
8708
8740
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
8709
8741
  )
8710
8742
  },
8711
- size > 600 ? /* @__PURE__ */ React67.createElement(
8743
+ size > 600 ? /* @__PURE__ */ React68.createElement(
8712
8744
  "div",
8713
8745
  null,
8714
8746
  "page title"
8715
8747
  ) : (
8716
8748
  // Mobile Drawer Menu Button
8717
- /* @__PURE__ */ React67.createElement(
8749
+ /* @__PURE__ */ React68.createElement(
8718
8750
  "div",
8719
8751
  {
8720
8752
  dir: props.direction,
8721
8753
  className: "hawa-flex hawa-items-center hawa-justify-center hawa-gap-0.5"
8722
8754
  },
8723
- /* @__PURE__ */ React67.createElement(
8755
+ /* @__PURE__ */ React68.createElement(
8724
8756
  "div",
8725
8757
  {
8726
8758
  className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
8727
8759
  },
8728
- /* @__PURE__ */ React67.createElement(
8760
+ /* @__PURE__ */ React68.createElement(
8729
8761
  "svg",
8730
8762
  {
8731
8763
  stroke: "currentColor",
@@ -8736,7 +8768,7 @@ var AppTopbar = ({ ...props }) => {
8736
8768
  height: "1.6em",
8737
8769
  width: "1.6em"
8738
8770
  },
8739
- /* @__PURE__ */ React67.createElement(
8771
+ /* @__PURE__ */ React68.createElement(
8740
8772
  "path",
8741
8773
  {
8742
8774
  fillRule: "evenodd",
@@ -8749,7 +8781,7 @@ var AppTopbar = ({ ...props }) => {
8749
8781
  "Mobile title"
8750
8782
  )
8751
8783
  ),
8752
- /* @__PURE__ */ React67.createElement(
8784
+ /* @__PURE__ */ React68.createElement(
8753
8785
  "div",
8754
8786
  {
8755
8787
  className: cn(
@@ -8757,16 +8789,16 @@ var AppTopbar = ({ ...props }) => {
8757
8789
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
8758
8790
  )
8759
8791
  },
8760
- size > 600 ? /* @__PURE__ */ React67.createElement(
8792
+ size > 600 ? /* @__PURE__ */ React68.createElement(
8761
8793
  "div",
8762
8794
  {
8763
8795
  className: isRTL ? "hawa-text-left hawa-text-xs" : "hawa-text-right hawa-text-xs"
8764
8796
  },
8765
- /* @__PURE__ */ React67.createElement("div", { className: "hawa-font-bold" }, props.username),
8797
+ /* @__PURE__ */ React68.createElement("div", { className: "hawa-font-bold" }, props.username),
8766
8798
  " ",
8767
- /* @__PURE__ */ React67.createElement("div", null, props.email)
8799
+ /* @__PURE__ */ React68.createElement("div", null, props.email)
8768
8800
  ) : null,
8769
- /* @__PURE__ */ React67.createElement(
8801
+ /* @__PURE__ */ React68.createElement(
8770
8802
  DropdownMenu,
8771
8803
  {
8772
8804
  triggerClassname: "hawa-mx-2",
@@ -8777,7 +8809,7 @@ var AppTopbar = ({ ...props }) => {
8777
8809
  direction: isRTL ? "rtl" : "ltr",
8778
8810
  items: props.profileMenuItems || [],
8779
8811
  onItemSelect: (e) => console.log("selecting item ", e),
8780
- trigger: /* @__PURE__ */ React67.createElement("div", { className: "hawa-relative hawa-h-8 hawa-w-8 hawa-cursor-pointer hawa-overflow-clip hawa-rounded hawa-ring-1 hawa-ring-primary/30 dark:hawa-bg-gray-600" }, props.avatarImage ? /* @__PURE__ */ React67.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ React67.createElement(
8812
+ trigger: /* @__PURE__ */ React68.createElement("div", { className: "hawa-relative hawa-h-8 hawa-w-8 hawa-cursor-pointer hawa-overflow-clip hawa-rounded hawa-ring-1 hawa-ring-primary/30 dark:hawa-bg-gray-600" }, props.avatarImage ? /* @__PURE__ */ React68.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ React68.createElement(
8781
8813
  "svg",
8782
8814
  {
8783
8815
  "aria-label": "Avatar Icon",
@@ -8785,7 +8817,7 @@ var AppTopbar = ({ ...props }) => {
8785
8817
  fill: "currentColor",
8786
8818
  viewBox: "0 0 20 20"
8787
8819
  },
8788
- /* @__PURE__ */ React67.createElement(
8820
+ /* @__PURE__ */ React68.createElement(
8789
8821
  "path",
8790
8822
  {
8791
8823
  fillRule: "evenodd",
@@ -8801,14 +8833,14 @@ var AppTopbar = ({ ...props }) => {
8801
8833
  };
8802
8834
 
8803
8835
  // layout/appMenubar/AppMenubar.tsx
8804
- import * as React68 from "react";
8836
+ import * as React69 from "react";
8805
8837
  import * as MenubarPrimitive from "@radix-ui/react-menubar";
8806
8838
  var MenubarMenu = MenubarPrimitive.Menu;
8807
8839
  var MenubarGroup = MenubarPrimitive.Group;
8808
8840
  var MenubarPortal = MenubarPrimitive.Portal;
8809
8841
  var MenubarSub = MenubarPrimitive.Sub;
8810
8842
  var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
8811
- var Menubar = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8843
+ var Menubar = React69.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React69.createElement(
8812
8844
  MenubarPrimitive.Root,
8813
8845
  {
8814
8846
  ref,
@@ -8820,7 +8852,7 @@ var Menubar = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__
8820
8852
  }
8821
8853
  ));
8822
8854
  Menubar.displayName = MenubarPrimitive.Root.displayName;
8823
- var MenubarTrigger = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8855
+ var MenubarTrigger = React69.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React69.createElement(
8824
8856
  MenubarPrimitive.Trigger,
8825
8857
  {
8826
8858
  ref,
@@ -8832,7 +8864,7 @@ var MenubarTrigger = React68.forwardRef(({ className, ...props }, ref) => /* @__
8832
8864
  }
8833
8865
  ));
8834
8866
  MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
8835
- var MenubarSubTrigger = React68.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8867
+ var MenubarSubTrigger = React69.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React69.createElement(
8836
8868
  MenubarPrimitive.SubTrigger,
8837
8869
  {
8838
8870
  ref,
@@ -8844,7 +8876,7 @@ var MenubarSubTrigger = React68.forwardRef(({ className, inset, children, ...pro
8844
8876
  ...props
8845
8877
  },
8846
8878
  children,
8847
- /* @__PURE__ */ React68.createElement(
8879
+ /* @__PURE__ */ React69.createElement(
8848
8880
  "svg",
8849
8881
  {
8850
8882
  "aria-label": "Chevron Right Icon",
@@ -8859,11 +8891,11 @@ var MenubarSubTrigger = React68.forwardRef(({ className, inset, children, ...pro
8859
8891
  strokeLinejoin: "round",
8860
8892
  className: "hawa-icon hawa-ml-auto"
8861
8893
  },
8862
- /* @__PURE__ */ React68.createElement("path", { d: "m9 18 6-6-6-6" })
8894
+ /* @__PURE__ */ React69.createElement("path", { d: "m9 18 6-6-6-6" })
8863
8895
  )
8864
8896
  ));
8865
8897
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
8866
- var MenubarSubContent = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8898
+ var MenubarSubContent = React69.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React69.createElement(
8867
8899
  MenubarPrimitive.SubContent,
8868
8900
  {
8869
8901
  ref,
@@ -8875,8 +8907,8 @@ var MenubarSubContent = React68.forwardRef(({ className, ...props }, ref) => /*
8875
8907
  }
8876
8908
  ));
8877
8909
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
8878
- var MenubarContent = React68.forwardRef(
8879
- ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ React68.createElement(MenubarPrimitive.Portal, null, /* @__PURE__ */ React68.createElement(
8910
+ var MenubarContent = React69.forwardRef(
8911
+ ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ React69.createElement(MenubarPrimitive.Portal, null, /* @__PURE__ */ React69.createElement(
8880
8912
  MenubarPrimitive.Content,
8881
8913
  {
8882
8914
  ref,
@@ -8892,7 +8924,7 @@ var MenubarContent = React68.forwardRef(
8892
8924
  ))
8893
8925
  );
8894
8926
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
8895
- var MenubarItem = React68.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8927
+ var MenubarItem = React69.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React69.createElement(
8896
8928
  MenubarPrimitive.Item,
8897
8929
  {
8898
8930
  ref,
@@ -8905,7 +8937,7 @@ var MenubarItem = React68.forwardRef(({ className, inset, ...props }, ref) => /*
8905
8937
  }
8906
8938
  ));
8907
8939
  MenubarItem.displayName = MenubarPrimitive.Item.displayName;
8908
- var MenubarCheckboxItem = React68.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8940
+ var MenubarCheckboxItem = React69.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React69.createElement(
8909
8941
  MenubarPrimitive.CheckboxItem,
8910
8942
  {
8911
8943
  ref,
@@ -8916,7 +8948,7 @@ var MenubarCheckboxItem = React68.forwardRef(({ className, children, checked, ..
8916
8948
  checked,
8917
8949
  ...props
8918
8950
  },
8919
- /* @__PURE__ */ React68.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__ */ React68.createElement(MenubarPrimitive.ItemIndicator, null, /* @__PURE__ */ React68.createElement(
8951
+ /* @__PURE__ */ React69.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__ */ React69.createElement(MenubarPrimitive.ItemIndicator, null, /* @__PURE__ */ React69.createElement(
8920
8952
  "svg",
8921
8953
  {
8922
8954
  xmlns: "http://www.w3.org/2000/svg",
@@ -8930,12 +8962,12 @@ var MenubarCheckboxItem = React68.forwardRef(({ className, children, checked, ..
8930
8962
  strokeLinejoin: "round",
8931
8963
  className: "hawa-icon"
8932
8964
  },
8933
- /* @__PURE__ */ React68.createElement("path", { d: "M20 6 9 17l-5-5" })
8965
+ /* @__PURE__ */ React69.createElement("path", { d: "M20 6 9 17l-5-5" })
8934
8966
  ))),
8935
8967
  children
8936
8968
  ));
8937
8969
  MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
8938
- var MenubarRadioItem = React68.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8970
+ var MenubarRadioItem = React69.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React69.createElement(
8939
8971
  MenubarPrimitive.RadioItem,
8940
8972
  {
8941
8973
  ref,
@@ -8945,7 +8977,7 @@ var MenubarRadioItem = React68.forwardRef(({ className, children, ...props }, re
8945
8977
  ),
8946
8978
  ...props
8947
8979
  },
8948
- /* @__PURE__ */ React68.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__ */ React68.createElement(MenubarPrimitive.ItemIndicator, null, /* @__PURE__ */ React68.createElement(
8980
+ /* @__PURE__ */ React69.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__ */ React69.createElement(MenubarPrimitive.ItemIndicator, null, /* @__PURE__ */ React69.createElement(
8949
8981
  "svg",
8950
8982
  {
8951
8983
  xmlns: "http://www.w3.org/2000/svg",
@@ -8959,12 +8991,12 @@ var MenubarRadioItem = React68.forwardRef(({ className, children, ...props }, re
8959
8991
  strokeLinejoin: "round",
8960
8992
  className: "hawa-h-2 hawa-w-2 hawa-fill-current"
8961
8993
  },
8962
- /* @__PURE__ */ React68.createElement("circle", { cx: "12", cy: "12", r: "10" })
8994
+ /* @__PURE__ */ React69.createElement("circle", { cx: "12", cy: "12", r: "10" })
8963
8995
  ))),
8964
8996
  children
8965
8997
  ));
8966
8998
  MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
8967
- var MenubarLabel = React68.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React68.createElement(
8999
+ var MenubarLabel = React69.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React69.createElement(
8968
9000
  MenubarPrimitive.Label,
8969
9001
  {
8970
9002
  ref,
@@ -8977,7 +9009,7 @@ var MenubarLabel = React68.forwardRef(({ className, inset, ...props }, ref) => /
8977
9009
  }
8978
9010
  ));
8979
9011
  MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
8980
- var MenubarSeparator = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React68.createElement(
9012
+ var MenubarSeparator = React69.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React69.createElement(
8981
9013
  MenubarPrimitive.Separator,
8982
9014
  {
8983
9015
  ref,
@@ -8990,7 +9022,7 @@ var MenubarShortcut = ({
8990
9022
  className,
8991
9023
  ...props
8992
9024
  }) => {
8993
- return /* @__PURE__ */ React68.createElement(
9025
+ return /* @__PURE__ */ React69.createElement(
8994
9026
  "span",
8995
9027
  {
8996
9028
  className: cn(
@@ -9004,10 +9036,10 @@ var MenubarShortcut = ({
9004
9036
  MenubarShortcut.displayname = "MenubarShortcut";
9005
9037
 
9006
9038
  // layout/appTabs/AppTabs.tsx
9007
- import React69, { useState as useState23 } from "react";
9039
+ import React70, { useState as useState23 } from "react";
9008
9040
  var AppTabs = ({ tabs, className }) => {
9009
9041
  const [selectedIndex, setSelectedIndex] = useState23(0);
9010
- return /* @__PURE__ */ React69.createElement(
9042
+ return /* @__PURE__ */ React70.createElement(
9011
9043
  "div",
9012
9044
  {
9013
9045
  className: cn(
@@ -9015,9 +9047,9 @@ var AppTabs = ({ tabs, className }) => {
9015
9047
  className
9016
9048
  )
9017
9049
  },
9018
- /* @__PURE__ */ React69.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center " }, tabs.map((tab, index) => {
9050
+ /* @__PURE__ */ React70.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center " }, tabs.map((tab, index) => {
9019
9051
  const selected = index === selectedIndex;
9020
- return /* @__PURE__ */ React69.createElement(
9052
+ return /* @__PURE__ */ React70.createElement(
9021
9053
  "a",
9022
9054
  {
9023
9055
  href: tab.path,
@@ -9048,7 +9080,7 @@ var AppTabs = ({ tabs, className }) => {
9048
9080
  };
9049
9081
 
9050
9082
  // layout/docsLayout/DocsLayout.tsx
9051
- import React72, { useEffect as useEffect17, useRef as useRef11, useState as useState25 } from "react";
9083
+ import React73, { useEffect as useEffect17, useRef as useRef11, useState as useState25 } from "react";
9052
9084
 
9053
9085
  // hooks/useBreakpoint.ts
9054
9086
  import { useState as useState24, useEffect as useEffect16 } from "react";
@@ -9070,13 +9102,13 @@ var useBreakpoint = () => {
9070
9102
  };
9071
9103
 
9072
9104
  // layout/docsSidebar/DocsSidebar.tsx
9073
- import React71 from "react";
9105
+ import React72 from "react";
9074
9106
  var DocsSidebar = ({
9075
9107
  currentPage: propCurrentPage,
9076
9108
  pages,
9077
9109
  direction
9078
9110
  }) => {
9079
- const [activePage, setActivePage] = React71.useState(pages[0]);
9111
+ const [activePage, setActivePage] = React72.useState(pages[0]);
9080
9112
  const handlePageClick = (page, event) => {
9081
9113
  event.preventDefault();
9082
9114
  setTimeout(() => {
@@ -9098,7 +9130,7 @@ var DocsSidebar = ({
9098
9130
  }
9099
9131
  return pages[0];
9100
9132
  };
9101
- React71.useEffect(() => {
9133
+ React72.useEffect(() => {
9102
9134
  const handleScroll = () => {
9103
9135
  setActivePage(getCurrentSection());
9104
9136
  };
@@ -9111,13 +9143,13 @@ var DocsSidebar = ({
9111
9143
  rtl: "hawa-border-r-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200",
9112
9144
  ltr: "hawa-border-l-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200"
9113
9145
  };
9114
- return /* @__PURE__ */ React71.createElement(
9146
+ return /* @__PURE__ */ React72.createElement(
9115
9147
  "div",
9116
9148
  {
9117
9149
  className: "hawa-flex hawa-flex-col hawa-overflow-x-clip",
9118
9150
  dir: direction
9119
9151
  },
9120
- pages.map((page, index) => /* @__PURE__ */ React71.createElement(
9152
+ pages.map((page, index) => /* @__PURE__ */ React72.createElement(
9121
9153
  "div",
9122
9154
  {
9123
9155
  key: index,
@@ -9186,7 +9218,7 @@ var DocsLayout = ({
9186
9218
  window.removeEventListener("resize", handleResize);
9187
9219
  };
9188
9220
  }, [keepOpen]);
9189
- const observerRef = React72.useRef(null);
9221
+ const observerRef = React73.useRef(null);
9190
9222
  const handleIntersection = (entries) => {
9191
9223
  const entry = entries.find((entry2) => entry2.isIntersecting);
9192
9224
  if (entry) {
@@ -9198,7 +9230,7 @@ var DocsLayout = ({
9198
9230
  threshold: 0.5
9199
9231
  // Adjust threshold as needed to determine when a section is in view
9200
9232
  });
9201
- React72.Children.forEach(props.children, (child) => {
9233
+ React73.Children.forEach(props.children, (child) => {
9202
9234
  if (child && child.props.id) {
9203
9235
  const element = document.getElementById(child.props.id);
9204
9236
  if (element && observerRef.current) {
@@ -9213,7 +9245,7 @@ var DocsLayout = ({
9213
9245
  };
9214
9246
  }, [props.children]);
9215
9247
  let drawerSizeCondition = drawerSizeStyle[openSideMenu ? "opened" : "closed"][drawerSize];
9216
- return /* @__PURE__ */ React72.createElement("div", { className: "hawa-fixed" }, /* @__PURE__ */ React72.createElement(
9248
+ return /* @__PURE__ */ React73.createElement("div", { className: "hawa-fixed" }, /* @__PURE__ */ React73.createElement(
9217
9249
  "div",
9218
9250
  {
9219
9251
  className: cn(
@@ -9221,7 +9253,7 @@ var DocsLayout = ({
9221
9253
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
9222
9254
  )
9223
9255
  },
9224
- size > 600 ? /* @__PURE__ */ React72.createElement("div", { onClick: props.onLogoClick, dir: direction }, /* @__PURE__ */ React72.createElement(
9256
+ size > 600 ? /* @__PURE__ */ React73.createElement("div", { onClick: props.onLogoClick, dir: direction }, /* @__PURE__ */ React73.createElement(
9225
9257
  "img",
9226
9258
  {
9227
9259
  className: cn(
@@ -9232,18 +9264,18 @@ var DocsLayout = ({
9232
9264
  }
9233
9265
  )) : (
9234
9266
  // Mobile Drawer Menu Button
9235
- /* @__PURE__ */ React72.createElement(
9267
+ /* @__PURE__ */ React73.createElement(
9236
9268
  "div",
9237
9269
  {
9238
9270
  dir: direction,
9239
9271
  className: "hawa-flex hawa-items-center hawa-justify-center hawa-gap-0.5"
9240
9272
  },
9241
- /* @__PURE__ */ React72.createElement(Sheet, null, /* @__PURE__ */ React72.createElement(SheetTrigger, null, " ", /* @__PURE__ */ React72.createElement(
9273
+ /* @__PURE__ */ React73.createElement(Sheet, null, /* @__PURE__ */ React73.createElement(SheetTrigger, null, " ", /* @__PURE__ */ React73.createElement(
9242
9274
  "div",
9243
9275
  {
9244
9276
  className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
9245
9277
  },
9246
- /* @__PURE__ */ React72.createElement(
9278
+ /* @__PURE__ */ React73.createElement(
9247
9279
  "svg",
9248
9280
  {
9249
9281
  "aria-label": "Menu Icon",
@@ -9255,7 +9287,7 @@ var DocsLayout = ({
9255
9287
  height: "1.6em",
9256
9288
  width: "1.6em"
9257
9289
  },
9258
- /* @__PURE__ */ React72.createElement(
9290
+ /* @__PURE__ */ React73.createElement(
9259
9291
  "path",
9260
9292
  {
9261
9293
  fillRule: "evenodd",
@@ -9264,17 +9296,17 @@ var DocsLayout = ({
9264
9296
  }
9265
9297
  )
9266
9298
  )
9267
- )), /* @__PURE__ */ React72.createElement(
9299
+ )), /* @__PURE__ */ React73.createElement(
9268
9300
  SheetContent,
9269
9301
  {
9270
9302
  side: isRTL ? "right" : "left",
9271
9303
  className: "hawa-pt-10"
9272
9304
  },
9273
- /* @__PURE__ */ React72.createElement(DocsSidebar, { direction, pages: pages || [] })
9305
+ /* @__PURE__ */ React73.createElement(DocsSidebar, { direction, pages: pages || [] })
9274
9306
  ))
9275
9307
  )
9276
9308
  ),
9277
- /* @__PURE__ */ React72.createElement(
9309
+ /* @__PURE__ */ React73.createElement(
9278
9310
  "div",
9279
9311
  {
9280
9312
  className: cn(
@@ -9282,9 +9314,9 @@ var DocsLayout = ({
9282
9314
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
9283
9315
  )
9284
9316
  },
9285
- /* @__PURE__ */ React72.createElement(Button, { variant: "ghost", size: "smallIcon" }, /* @__PURE__ */ React72.createElement(Logos.github, { className: "hawa-icon" }))
9317
+ /* @__PURE__ */ React73.createElement(Button, { variant: "ghost", size: "smallIcon" }, /* @__PURE__ */ React73.createElement(Logos.github, { className: "hawa-icon" }))
9286
9318
  )
9287
- ), /* @__PURE__ */ React72.createElement(
9319
+ ), /* @__PURE__ */ React73.createElement(
9288
9320
  "div",
9289
9321
  {
9290
9322
  className: cn(
@@ -9307,7 +9339,7 @@ var DocsLayout = ({
9307
9339
  },
9308
9340
  ref
9309
9341
  },
9310
- /* @__PURE__ */ React72.createElement(
9342
+ /* @__PURE__ */ React73.createElement(
9311
9343
  DocsSidebar,
9312
9344
  {
9313
9345
  direction,
@@ -9315,7 +9347,7 @@ var DocsLayout = ({
9315
9347
  currentPage
9316
9348
  }
9317
9349
  )
9318
- ), /* @__PURE__ */ React72.createElement(
9350
+ ), /* @__PURE__ */ React73.createElement(
9319
9351
  "div",
9320
9352
  {
9321
9353
  className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all ",
@@ -9337,10 +9369,10 @@ var DocsLayout = ({
9337
9369
  };
9338
9370
 
9339
9371
  // blocks/auth/AuthButtons.tsx
9340
- import React73 from "react";
9372
+ import React74 from "react";
9341
9373
  var AuthButtons = (props) => {
9342
9374
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
9343
- return /* @__PURE__ */ React73.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaMetamask && /* @__PURE__ */ React73.createElement(
9375
+ return /* @__PURE__ */ React74.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaMetamask && /* @__PURE__ */ React74.createElement(
9344
9376
  Button,
9345
9377
  {
9346
9378
  disabled: props.isMetamaskLoading,
@@ -9348,9 +9380,9 @@ var AuthButtons = (props) => {
9348
9380
  variant: "outline",
9349
9381
  onClick: props.handleMetamask
9350
9382
  },
9351
- props.isMetamaskLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.metamask, { className: "hawa-h-6" }),
9383
+ props.isMetamaskLoading ? /* @__PURE__ */ React74.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React74.createElement(Logos.metamask, { className: "hawa-h-6" }),
9352
9384
  (_b = (_a = props.texts) == null ? void 0 : _a.continueWithMetamask) != null ? _b : "Connect Metamask"
9353
- ), props.viaNafath && /* @__PURE__ */ React73.createElement(
9385
+ ), props.viaNafath && /* @__PURE__ */ React74.createElement(
9354
9386
  Button,
9355
9387
  {
9356
9388
  disabled: props.isNafathLoading,
@@ -9358,9 +9390,9 @@ var AuthButtons = (props) => {
9358
9390
  variant: "outline",
9359
9391
  onClick: props.handleNafath
9360
9392
  },
9361
- props.isNafathLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.nafath, { className: "hawa-h-4" }),
9393
+ props.isNafathLoading ? /* @__PURE__ */ React74.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React74.createElement(Logos.nafath, { className: "hawa-h-4" }),
9362
9394
  (_d = (_c = props.texts) == null ? void 0 : _c.continueWithNafath) != null ? _d : "Continue With Nafath"
9363
- ), props.viaGoogle && /* @__PURE__ */ React73.createElement(
9395
+ ), props.viaGoogle && /* @__PURE__ */ React74.createElement(
9364
9396
  Button,
9365
9397
  {
9366
9398
  disabled: props.isGoogleLoading,
@@ -9368,9 +9400,9 @@ var AuthButtons = (props) => {
9368
9400
  variant: "outline",
9369
9401
  onClick: props.handleGoogle
9370
9402
  },
9371
- props.isGoogleLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.google, { className: "hawa-icon" }),
9403
+ props.isGoogleLoading ? /* @__PURE__ */ React74.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React74.createElement(Logos.google, { className: "hawa-icon" }),
9372
9404
  (_f = (_e = props.texts) == null ? void 0 : _e.continueWithGoogle) != null ? _f : "Continue With Google"
9373
- ), props.viaGithub && /* @__PURE__ */ React73.createElement(
9405
+ ), props.viaGithub && /* @__PURE__ */ React74.createElement(
9374
9406
  Button,
9375
9407
  {
9376
9408
  disabled: props.isGithubLoading,
@@ -9378,9 +9410,9 @@ var AuthButtons = (props) => {
9378
9410
  variant: "outline",
9379
9411
  onClick: props.handleGithub
9380
9412
  },
9381
- props.isGithubLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.github, { className: "hawa-icon" }),
9413
+ props.isGithubLoading ? /* @__PURE__ */ React74.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React74.createElement(Logos.github, { className: "hawa-icon" }),
9382
9414
  (_h = (_g = props.texts) == null ? void 0 : _g.continueWithGithub) != null ? _h : "Continue With Github"
9383
- ), props.viaTwitter && /* @__PURE__ */ React73.createElement(
9415
+ ), props.viaTwitter && /* @__PURE__ */ React74.createElement(
9384
9416
  Button,
9385
9417
  {
9386
9418
  disabled: props.isTwitterLoading,
@@ -9388,9 +9420,9 @@ var AuthButtons = (props) => {
9388
9420
  variant: "outline",
9389
9421
  onClick: props.handleTwitter
9390
9422
  },
9391
- props.isTwitterLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.twitter, { className: "hawa-icon" }),
9423
+ props.isTwitterLoading ? /* @__PURE__ */ React74.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React74.createElement(Logos.twitter, { className: "hawa-icon" }),
9392
9424
  (_j = (_i = props.texts) == null ? void 0 : _i.continueWithTwitter) != null ? _j : "Continue With Twitter"
9393
- ), props.viaApple && /* @__PURE__ */ React73.createElement(
9425
+ ), props.viaApple && /* @__PURE__ */ React74.createElement(
9394
9426
  Button,
9395
9427
  {
9396
9428
  disabled: props.isAppleLoading,
@@ -9398,9 +9430,9 @@ var AuthButtons = (props) => {
9398
9430
  variant: "outline",
9399
9431
  onClick: props.handleApple
9400
9432
  },
9401
- props.isAppleLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.apple, { className: "hawa-icon" }),
9433
+ props.isAppleLoading ? /* @__PURE__ */ React74.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React74.createElement(Logos.apple, { className: "hawa-icon" }),
9402
9434
  (_l = (_k = props.texts) == null ? void 0 : _k.continueWithApple) != null ? _l : "Continue With Apple"
9403
- ), props.viaMicrosoft && /* @__PURE__ */ React73.createElement(
9435
+ ), props.viaMicrosoft && /* @__PURE__ */ React74.createElement(
9404
9436
  Button,
9405
9437
  {
9406
9438
  disabled: props.isMicrosoftLoading,
@@ -9408,9 +9440,9 @@ var AuthButtons = (props) => {
9408
9440
  variant: "outline",
9409
9441
  onClick: props.handleMicrosoft
9410
9442
  },
9411
- props.isMicrosoftLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.microsoft, { className: "hawa-icon" }),
9443
+ props.isMicrosoftLoading ? /* @__PURE__ */ React74.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React74.createElement(Logos.microsoft, { className: "hawa-icon" }),
9412
9444
  (_n = (_m = props.texts) == null ? void 0 : _m.continueWithMicrosoft) != null ? _n : "Continue With Microsoft"
9413
- ), props.viaEmail && /* @__PURE__ */ React73.createElement(
9445
+ ), props.viaEmail && /* @__PURE__ */ React74.createElement(
9414
9446
  Button,
9415
9447
  {
9416
9448
  disabled: props.isEmailLoading,
@@ -9418,9 +9450,9 @@ var AuthButtons = (props) => {
9418
9450
  variant: "outline",
9419
9451
  onClick: props.handleEmail
9420
9452
  },
9421
- props.isEmailLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.mail, { className: "hawa-icon" }),
9453
+ props.isEmailLoading ? /* @__PURE__ */ React74.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React74.createElement(Logos.mail, { className: "hawa-icon" }),
9422
9454
  (_p = (_o = props.texts) == null ? void 0 : _o.continueWithEmail) != null ? _p : "Continue With Email"
9423
- ), props.viaPhone && /* @__PURE__ */ React73.createElement(
9455
+ ), props.viaPhone && /* @__PURE__ */ React74.createElement(
9424
9456
  Button,
9425
9457
  {
9426
9458
  disabled: props.isPhoneLoading,
@@ -9428,13 +9460,13 @@ var AuthButtons = (props) => {
9428
9460
  variant: "outline",
9429
9461
  onClick: props.handlePhone
9430
9462
  },
9431
- props.isPhoneLoading ? /* @__PURE__ */ React73.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React73.createElement(Logos.phone, { className: "hawa-icon" }),
9463
+ props.isPhoneLoading ? /* @__PURE__ */ React74.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React74.createElement(Logos.phone, { className: "hawa-icon" }),
9432
9464
  (_r = (_q = props.texts) == null ? void 0 : _q.continueWithPhone) != null ? _r : "Continue With Phone"
9433
9465
  ));
9434
9466
  };
9435
9467
 
9436
9468
  // blocks/auth/LoginForm.tsx
9437
- import React74, { useState as useState26 } from "react";
9469
+ import React75, { useState as useState26 } from "react";
9438
9470
  import { Controller, useForm } from "react-hook-form";
9439
9471
  import { zodResolver } from "@hookform/resolvers/zod";
9440
9472
  import { parsePhoneNumber } from "libphonenumber-js";
@@ -9508,14 +9540,14 @@ var LoginForm = ({
9508
9540
  const renderFields = () => {
9509
9541
  switch (loginType) {
9510
9542
  case "email":
9511
- return /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(
9543
+ return /* @__PURE__ */ React75.createElement(React75.Fragment, null, /* @__PURE__ */ React75.createElement(
9512
9544
  Controller,
9513
9545
  {
9514
9546
  control,
9515
9547
  name: "email",
9516
9548
  render: ({ field }) => {
9517
9549
  var _a2, _b2, _c2;
9518
- return /* @__PURE__ */ React74.createElement(
9550
+ return /* @__PURE__ */ React75.createElement(
9519
9551
  Input,
9520
9552
  {
9521
9553
  inputProps: {
@@ -9532,27 +9564,27 @@ var LoginForm = ({
9532
9564
  );
9533
9565
  }
9534
9566
  }
9535
- ), /* @__PURE__ */ React74.createElement("div", null, /* @__PURE__ */ React74.createElement(
9567
+ ), /* @__PURE__ */ React75.createElement("div", null, /* @__PURE__ */ React75.createElement(
9536
9568
  Controller,
9537
9569
  {
9538
9570
  control,
9539
9571
  name: "password",
9540
9572
  render: ({ field }) => {
9541
9573
  var _a2, _b2, _c2;
9542
- return /* @__PURE__ */ React74.createElement(
9574
+ return /* @__PURE__ */ React75.createElement(
9543
9575
  Input,
9544
9576
  {
9545
9577
  width: "full",
9546
9578
  autoComplete: "current-password",
9547
9579
  type: passwordVisible ? "text" : "password",
9548
9580
  label: ((_a2 = texts == null ? void 0 : texts.password) == null ? void 0 : _a2.label) || "Password",
9549
- endIcon: /* @__PURE__ */ React74.createElement(
9581
+ endIcon: /* @__PURE__ */ React75.createElement(
9550
9582
  "div",
9551
9583
  {
9552
9584
  className: "hawa-cursor-pointer",
9553
9585
  onClick: () => setPasswordVisible(!passwordVisible)
9554
9586
  },
9555
- passwordVisible ? /* @__PURE__ */ React74.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React74.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" })
9587
+ passwordVisible ? /* @__PURE__ */ React75.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React75.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" })
9556
9588
  ),
9557
9589
  placeholder: ((_b2 = texts == null ? void 0 : texts.password) == null ? void 0 : _b2.placeholder) || "Enter your password",
9558
9590
  helperText: (_c2 = formState.errors.password) == null ? void 0 : _c2.message,
@@ -9561,7 +9593,7 @@ var LoginForm = ({
9561
9593
  );
9562
9594
  }
9563
9595
  }
9564
- ), props.withResetPassword && /* @__PURE__ */ React74.createElement(
9596
+ ), props.withResetPassword && /* @__PURE__ */ React75.createElement(
9565
9597
  "div",
9566
9598
  {
9567
9599
  onClick: props.onForgotPassword,
@@ -9570,14 +9602,14 @@ var LoginForm = ({
9570
9602
  (texts == null ? void 0 : texts.forgotPassword) || "Forgot Password?"
9571
9603
  )));
9572
9604
  case "username":
9573
- return /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(
9605
+ return /* @__PURE__ */ React75.createElement(React75.Fragment, null, /* @__PURE__ */ React75.createElement(
9574
9606
  Controller,
9575
9607
  {
9576
9608
  control,
9577
9609
  name: "username",
9578
9610
  render: ({ field }) => {
9579
9611
  var _a2, _b2, _c2;
9580
- return /* @__PURE__ */ React74.createElement(
9612
+ return /* @__PURE__ */ React75.createElement(
9581
9613
  Input,
9582
9614
  {
9583
9615
  width: "full",
@@ -9590,27 +9622,27 @@ var LoginForm = ({
9590
9622
  );
9591
9623
  }
9592
9624
  }
9593
- ), /* @__PURE__ */ React74.createElement("div", null, /* @__PURE__ */ React74.createElement(
9625
+ ), /* @__PURE__ */ React75.createElement("div", null, /* @__PURE__ */ React75.createElement(
9594
9626
  Controller,
9595
9627
  {
9596
9628
  control,
9597
9629
  name: "password",
9598
9630
  render: ({ field }) => {
9599
9631
  var _a2, _b2, _c2;
9600
- return /* @__PURE__ */ React74.createElement(
9632
+ return /* @__PURE__ */ React75.createElement(
9601
9633
  Input,
9602
9634
  {
9603
9635
  width: "full",
9604
9636
  autoComplete: "current-password",
9605
9637
  type: passwordVisible ? "text" : "password",
9606
9638
  label: ((_a2 = texts == null ? void 0 : texts.password) == null ? void 0 : _a2.label) || "Password",
9607
- endIcon: /* @__PURE__ */ React74.createElement(
9639
+ endIcon: /* @__PURE__ */ React75.createElement(
9608
9640
  "div",
9609
9641
  {
9610
9642
  className: "hawa-cursor-pointer",
9611
9643
  onClick: () => setPasswordVisible(!passwordVisible)
9612
9644
  },
9613
- passwordVisible ? /* @__PURE__ */ React74.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React74.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" })
9645
+ passwordVisible ? /* @__PURE__ */ React75.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React75.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" })
9614
9646
  ),
9615
9647
  placeholder: ((_b2 = texts == null ? void 0 : texts.password) == null ? void 0 : _b2.placeholder) || "Enter your password",
9616
9648
  helperText: (_c2 = formState.errors.password) == null ? void 0 : _c2.message,
@@ -9619,7 +9651,7 @@ var LoginForm = ({
9619
9651
  );
9620
9652
  }
9621
9653
  }
9622
- ), props.withResetPassword && /* @__PURE__ */ React74.createElement(
9654
+ ), props.withResetPassword && /* @__PURE__ */ React75.createElement(
9623
9655
  "div",
9624
9656
  {
9625
9657
  onClick: props.onForgotPassword,
@@ -9628,14 +9660,14 @@ var LoginForm = ({
9628
9660
  (texts == null ? void 0 : texts.forgotPassword) || "Forgot Password?"
9629
9661
  )));
9630
9662
  case "phone":
9631
- return /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(
9663
+ return /* @__PURE__ */ React75.createElement(React75.Fragment, null, /* @__PURE__ */ React75.createElement(
9632
9664
  Controller,
9633
9665
  {
9634
9666
  control,
9635
9667
  name: "phone",
9636
9668
  render: ({ field }) => {
9637
9669
  var _a2, _b2;
9638
- return /* @__PURE__ */ React74.createElement(
9670
+ return /* @__PURE__ */ React75.createElement(
9639
9671
  PhoneInput,
9640
9672
  {
9641
9673
  label: ((_a2 = texts == null ? void 0 : texts.phone) == null ? void 0 : _a2.label) || "Phone Number",
@@ -9648,14 +9680,14 @@ var LoginForm = ({
9648
9680
  }
9649
9681
  ));
9650
9682
  case "link":
9651
- return /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(
9683
+ return /* @__PURE__ */ React75.createElement(React75.Fragment, null, /* @__PURE__ */ React75.createElement(
9652
9684
  Controller,
9653
9685
  {
9654
9686
  control,
9655
9687
  name: "email",
9656
9688
  render: ({ field }) => {
9657
9689
  var _a2, _b2, _c2;
9658
- return /* @__PURE__ */ React74.createElement(
9690
+ return /* @__PURE__ */ React75.createElement(
9659
9691
  Input,
9660
9692
  {
9661
9693
  width: "full",
@@ -9673,7 +9705,7 @@ var LoginForm = ({
9673
9705
  break;
9674
9706
  }
9675
9707
  };
9676
- return /* @__PURE__ */ React74.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React74.createElement(
9708
+ return /* @__PURE__ */ React75.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React75.createElement(
9677
9709
  Card,
9678
9710
  {
9679
9711
  dir: props.direction,
@@ -9681,7 +9713,7 @@ var LoginForm = ({
9681
9713
  props.cardless && "!hawa-border-none !hawa-bg-transparent !hawa-shadow-none !hawa-drop-shadow-none"
9682
9714
  )
9683
9715
  },
9684
- /* @__PURE__ */ React74.createElement(CardContent, { headless: true, noPadding: props.cardless }, props.showError && /* @__PURE__ */ React74.createElement(
9716
+ /* @__PURE__ */ React75.createElement(CardContent, { headless: true, noPadding: props.cardless }, props.showError && /* @__PURE__ */ React75.createElement(
9685
9717
  Alert,
9686
9718
  {
9687
9719
  direction: props.direction,
@@ -9689,7 +9721,7 @@ var LoginForm = ({
9689
9721
  text: props.errorText,
9690
9722
  severity: "error"
9691
9723
  }
9692
- ), /* @__PURE__ */ React74.createElement(
9724
+ ), /* @__PURE__ */ React75.createElement(
9693
9725
  "form",
9694
9726
  {
9695
9727
  noValidate: true,
@@ -9703,7 +9735,7 @@ var LoginForm = ({
9703
9735
  })
9704
9736
  },
9705
9737
  renderFields(),
9706
- /* @__PURE__ */ React74.createElement(
9738
+ /* @__PURE__ */ React75.createElement(
9707
9739
  Button,
9708
9740
  {
9709
9741
  className: "hawa-mt-0 hawa-w-full",
@@ -9714,7 +9746,7 @@ var LoginForm = ({
9714
9746
  (texts == null ? void 0 : texts.loginText) || "Login"
9715
9747
  ),
9716
9748
  props.additionalButtons,
9717
- props.allowRegister && /* @__PURE__ */ React74.createElement("div", { className: "hawa-select-none hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, (texts == null ? void 0 : texts.newUserText) || "New user?", " ", /* @__PURE__ */ React74.createElement(
9749
+ props.allowRegister && /* @__PURE__ */ React75.createElement("div", { className: "hawa-select-none hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, (texts == null ? void 0 : texts.newUserText) || "New user?", " ", /* @__PURE__ */ React75.createElement(
9718
9750
  "span",
9719
9751
  {
9720
9752
  onClick: props.onRouteToRegister,
@@ -9723,7 +9755,7 @@ var LoginForm = ({
9723
9755
  (texts == null ? void 0 : texts.createAccount) || "Create Account"
9724
9756
  ))
9725
9757
  )),
9726
- props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React74.createElement(
9758
+ props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React75.createElement(
9727
9759
  CardFooter,
9728
9760
  {
9729
9761
  noPadding: props.cardless,
@@ -9731,7 +9763,7 @@ var LoginForm = ({
9731
9763
  props.logosOnly ? "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-2" : "hawa-grid hawa-grid-cols-1 hawa-gap-2"
9732
9764
  )
9733
9765
  },
9734
- /* @__PURE__ */ React74.createElement(
9766
+ /* @__PURE__ */ React75.createElement(
9735
9767
  AuthButtons,
9736
9768
  {
9737
9769
  texts: thirdPartyAuthTexts,
@@ -9751,7 +9783,7 @@ var LoginForm = ({
9751
9783
  };
9752
9784
 
9753
9785
  // blocks/auth/RegisterForm.tsx
9754
- import React75, { useState as useState27 } from "react";
9786
+ import React76, { useState as useState27 } from "react";
9755
9787
  import { Controller as Controller2, FormProvider, useForm as useForm2 } from "react-hook-form";
9756
9788
  import { zodResolver as zodResolver2 } from "@hookform/resolvers/zod";
9757
9789
  import * as z2 from "zod";
@@ -9828,7 +9860,7 @@ var RegisterForm = ({
9828
9860
  const { handleSubmit, control, formState } = useForm2({
9829
9861
  resolver: zodResolver2(formSchema)
9830
9862
  });
9831
- return /* @__PURE__ */ React75.createElement(
9863
+ return /* @__PURE__ */ React76.createElement(
9832
9864
  "div",
9833
9865
  {
9834
9866
  className: cn(
@@ -9836,7 +9868,7 @@ var RegisterForm = ({
9836
9868
  (_g = props.classNames) == null ? void 0 : _g.root
9837
9869
  )
9838
9870
  },
9839
- /* @__PURE__ */ React75.createElement(
9871
+ /* @__PURE__ */ React76.createElement(
9840
9872
  Card,
9841
9873
  {
9842
9874
  dir: props.direction,
@@ -9845,7 +9877,7 @@ var RegisterForm = ({
9845
9877
  props.cardless && "hawa-border-none hawa-bg-transparent !hawa-shadow-none !hawa-drop-shadow-none"
9846
9878
  )
9847
9879
  },
9848
- /* @__PURE__ */ React75.createElement(CardContent, { headless: true, noPadding: props.cardless }, /* @__PURE__ */ React75.createElement("div", null, props.showError && /* @__PURE__ */ React75.createElement(
9880
+ /* @__PURE__ */ React76.createElement(CardContent, { headless: true, noPadding: props.cardless }, /* @__PURE__ */ React76.createElement("div", null, props.showError && /* @__PURE__ */ React76.createElement(
9849
9881
  Alert,
9850
9882
  {
9851
9883
  direction: props.direction,
@@ -9858,7 +9890,7 @@ var RegisterForm = ({
9858
9890
  }
9859
9891
  }
9860
9892
  }
9861
- ), /* @__PURE__ */ React75.createElement(FormProvider, { ...methods }, /* @__PURE__ */ React75.createElement(
9893
+ ), /* @__PURE__ */ React76.createElement(FormProvider, { ...methods }, /* @__PURE__ */ React76.createElement(
9862
9894
  "form",
9863
9895
  {
9864
9896
  noValidate: true,
@@ -9873,9 +9905,9 @@ var RegisterForm = ({
9873
9905
  }),
9874
9906
  className: "hawa-flex hawa-flex-col hawa-gap-4"
9875
9907
  },
9876
- /* @__PURE__ */ React75.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, registerFields.map((fld, i) => {
9908
+ /* @__PURE__ */ React76.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, registerFields.map((fld, i) => {
9877
9909
  if (fld === "fullname") {
9878
- return /* @__PURE__ */ React75.createElement(
9910
+ return /* @__PURE__ */ React76.createElement(
9879
9911
  Controller2,
9880
9912
  {
9881
9913
  key: i,
@@ -9883,7 +9915,7 @@ var RegisterForm = ({
9883
9915
  name: "fullName",
9884
9916
  render: ({ field }) => {
9885
9917
  var _a2, _b2, _c2;
9886
- return /* @__PURE__ */ React75.createElement(
9918
+ return /* @__PURE__ */ React76.createElement(
9887
9919
  Input,
9888
9920
  {
9889
9921
  width: "full",
@@ -9898,7 +9930,7 @@ var RegisterForm = ({
9898
9930
  );
9899
9931
  }
9900
9932
  if (fld === "email") {
9901
- return /* @__PURE__ */ React75.createElement(
9933
+ return /* @__PURE__ */ React76.createElement(
9902
9934
  Controller2,
9903
9935
  {
9904
9936
  key: i,
@@ -9906,7 +9938,7 @@ var RegisterForm = ({
9906
9938
  name: "email",
9907
9939
  render: ({ field }) => {
9908
9940
  var _a2, _b2, _c2;
9909
- return /* @__PURE__ */ React75.createElement(
9941
+ return /* @__PURE__ */ React76.createElement(
9910
9942
  Input,
9911
9943
  {
9912
9944
  dir: "ltr",
@@ -9926,7 +9958,7 @@ var RegisterForm = ({
9926
9958
  );
9927
9959
  }
9928
9960
  if (fld === "username") {
9929
- return /* @__PURE__ */ React75.createElement(
9961
+ return /* @__PURE__ */ React76.createElement(
9930
9962
  Controller2,
9931
9963
  {
9932
9964
  key: i,
@@ -9934,7 +9966,7 @@ var RegisterForm = ({
9934
9966
  name: "username",
9935
9967
  render: ({ field }) => {
9936
9968
  var _a2, _b2, _c2, _d2;
9937
- return /* @__PURE__ */ React75.createElement(
9969
+ return /* @__PURE__ */ React76.createElement(
9938
9970
  Input,
9939
9971
  {
9940
9972
  width: "full",
@@ -9953,25 +9985,25 @@ var RegisterForm = ({
9953
9985
  );
9954
9986
  }
9955
9987
  })),
9956
- /* @__PURE__ */ React75.createElement(
9988
+ /* @__PURE__ */ React76.createElement(
9957
9989
  Controller2,
9958
9990
  {
9959
9991
  control,
9960
9992
  name: "password",
9961
9993
  render: ({ field }) => {
9962
9994
  var _a2, _b2, _c2;
9963
- return /* @__PURE__ */ React75.createElement(
9995
+ return /* @__PURE__ */ React76.createElement(
9964
9996
  Input,
9965
9997
  {
9966
9998
  width: "full",
9967
9999
  type: passwordVisible ? "text" : "password",
9968
- endIcon: /* @__PURE__ */ React75.createElement(
10000
+ endIcon: /* @__PURE__ */ React76.createElement(
9969
10001
  "div",
9970
10002
  {
9971
10003
  className: "hawa-cursor-pointer",
9972
10004
  onClick: () => setPasswordVisible(!passwordVisible)
9973
10005
  },
9974
- passwordVisible ? /* @__PURE__ */ React75.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React75.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
10006
+ passwordVisible ? /* @__PURE__ */ React76.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React76.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
9975
10007
  " "
9976
10008
  ),
9977
10009
  autoComplete: "new-password",
@@ -9984,14 +10016,14 @@ var RegisterForm = ({
9984
10016
  }
9985
10017
  }
9986
10018
  ),
9987
- /* @__PURE__ */ React75.createElement(
10019
+ /* @__PURE__ */ React76.createElement(
9988
10020
  Controller2,
9989
10021
  {
9990
10022
  control,
9991
10023
  name: "confirm_password",
9992
10024
  render: ({ field }) => {
9993
10025
  var _a2, _b2, _c2;
9994
- return /* @__PURE__ */ React75.createElement(
10026
+ return /* @__PURE__ */ React76.createElement(
9995
10027
  Input,
9996
10028
  {
9997
10029
  width: "full",
@@ -10007,14 +10039,14 @@ var RegisterForm = ({
10007
10039
  }
10008
10040
  ),
10009
10041
  props.additionalInputs,
10010
- props.showRefCode && /* @__PURE__ */ React75.createElement(
10042
+ props.showRefCode && /* @__PURE__ */ React76.createElement(
10011
10043
  Controller2,
10012
10044
  {
10013
10045
  control,
10014
10046
  name: "refCode",
10015
10047
  render: ({ field }) => {
10016
10048
  var _a2;
10017
- return /* @__PURE__ */ React75.createElement(
10049
+ return /* @__PURE__ */ React76.createElement(
10018
10050
  Input,
10019
10051
  {
10020
10052
  width: "full",
@@ -10027,14 +10059,14 @@ var RegisterForm = ({
10027
10059
  }
10028
10060
  }
10029
10061
  ),
10030
- props.showUserSource && /* @__PURE__ */ React75.createElement(
10062
+ props.showUserSource && /* @__PURE__ */ React76.createElement(
10031
10063
  Controller2,
10032
10064
  {
10033
10065
  control,
10034
10066
  name: "reference",
10035
10067
  render: ({ field }) => {
10036
10068
  var _a2, _b2;
10037
- return /* @__PURE__ */ React75.createElement(
10069
+ return /* @__PURE__ */ React76.createElement(
10038
10070
  Select,
10039
10071
  {
10040
10072
  label: ((_a2 = texts == null ? void 0 : texts.userReference) == null ? void 0 : _a2.label) || "How did you learn about us?",
@@ -10052,20 +10084,20 @@ var RegisterForm = ({
10052
10084
  }
10053
10085
  }
10054
10086
  ),
10055
- showTermsOption || showNewsletterOption ? /* @__PURE__ */ React75.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3 hawa-mb-2" }, showTermsOption && /* @__PURE__ */ React75.createElement(
10087
+ showTermsOption || showNewsletterOption ? /* @__PURE__ */ React76.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3 hawa-mb-2" }, showTermsOption && /* @__PURE__ */ React76.createElement(
10056
10088
  Controller2,
10057
10089
  {
10058
10090
  control,
10059
10091
  name: "terms_accepted",
10060
10092
  render: ({ field }) => {
10061
10093
  var _a2, _b2;
10062
- return /* @__PURE__ */ React75.createElement(
10094
+ return /* @__PURE__ */ React76.createElement(
10063
10095
  Checkbox,
10064
10096
  {
10065
10097
  id: "terms_accepted",
10066
10098
  helperText: (_b2 = (_a2 = formState.errors.terms_accepted) == null ? void 0 : _a2.message) == null ? void 0 : _b2.toString(),
10067
10099
  onCheckedChange: (e) => field.onChange(e),
10068
- label: /* @__PURE__ */ React75.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-0.5 hawa-whitespace-nowrap hawa-flex-wrap" }, (texts == null ? void 0 : texts.iAcceptText) || "I accept the", " ", /* @__PURE__ */ React75.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React75.createElement(
10100
+ label: /* @__PURE__ */ React76.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-0.5 hawa-whitespace-nowrap hawa-flex-wrap" }, (texts == null ? void 0 : texts.iAcceptText) || "I accept the", " ", /* @__PURE__ */ React76.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React76.createElement(
10069
10101
  "span",
10070
10102
  {
10071
10103
  onClick: (e) => {
@@ -10082,12 +10114,12 @@ var RegisterForm = ({
10082
10114
  );
10083
10115
  }
10084
10116
  }
10085
- ), showNewsletterOption && /* @__PURE__ */ React75.createElement(
10117
+ ), showNewsletterOption && /* @__PURE__ */ React76.createElement(
10086
10118
  Controller2,
10087
10119
  {
10088
10120
  control,
10089
10121
  name: "newsletter_accepted",
10090
- render: ({ field }) => /* @__PURE__ */ React75.createElement(
10122
+ render: ({ field }) => /* @__PURE__ */ React76.createElement(
10091
10123
  Checkbox,
10092
10124
  {
10093
10125
  id: "newsletter_accepted",
@@ -10097,7 +10129,7 @@ var RegisterForm = ({
10097
10129
  )
10098
10130
  }
10099
10131
  )) : null,
10100
- /* @__PURE__ */ React75.createElement(
10132
+ /* @__PURE__ */ React76.createElement(
10101
10133
  Button,
10102
10134
  {
10103
10135
  className: " hawa-w-full",
@@ -10108,8 +10140,8 @@ var RegisterForm = ({
10108
10140
  (texts == null ? void 0 : texts.registerText) || "Register"
10109
10141
  ),
10110
10142
  props.additionalButtons
10111
- )), props.onRouteToLogin && /* @__PURE__ */ React75.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-1 hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-white" }, /* @__PURE__ */ React75.createElement("span", null, (texts == null ? void 0 : texts.existingUserText) || "Already have an account?"), /* @__PURE__ */ React75.createElement("span", { onClick: props.onRouteToLogin, className: "clickable-link" }, (texts == null ? void 0 : texts.loginText) || "Login")))),
10112
- props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React75.createElement(
10143
+ )), props.onRouteToLogin && /* @__PURE__ */ React76.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-1 hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-white" }, /* @__PURE__ */ React76.createElement("span", null, (texts == null ? void 0 : texts.existingUserText) || "Already have an account?"), /* @__PURE__ */ React76.createElement("span", { onClick: props.onRouteToLogin, className: "clickable-link" }, (texts == null ? void 0 : texts.loginText) || "Login")))),
10144
+ props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React76.createElement(
10113
10145
  CardFooter,
10114
10146
  {
10115
10147
  noPadding: props.cardless,
@@ -10117,7 +10149,7 @@ var RegisterForm = ({
10117
10149
  props.logosOnly ? "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-2" : "hawa-grid hawa-grid-cols-1 hawa-gap-2"
10118
10150
  )
10119
10151
  },
10120
- /* @__PURE__ */ React75.createElement(
10152
+ /* @__PURE__ */ React76.createElement(
10121
10153
  AuthButtons,
10122
10154
  {
10123
10155
  texts: thirdPartyAuthTexts,
@@ -10138,7 +10170,7 @@ var RegisterForm = ({
10138
10170
  };
10139
10171
 
10140
10172
  // blocks/auth/AppLanding.tsx
10141
- import React76 from "react";
10173
+ import React77 from "react";
10142
10174
  var AppLanding = ({ texts, ...props }) => {
10143
10175
  const thirdPartyAuthTexts = {
10144
10176
  continueWithGoogle: texts == null ? void 0 : texts.continueWithGoogle,
@@ -10149,7 +10181,7 @@ var AppLanding = ({ texts, ...props }) => {
10149
10181
  continueWithEmail: texts == null ? void 0 : texts.continueWithEmail,
10150
10182
  continueWithPhone: texts == null ? void 0 : texts.continueWithPhone
10151
10183
  };
10152
- return /* @__PURE__ */ React76.createElement("div", { dir: props.direction }, /* @__PURE__ */ React76.createElement(Card, null, /* @__PURE__ */ React76.createElement(CardContent, { headless: true, className: "hawa-flex hawa-flex-col hawa-gap-6" }, /* @__PURE__ */ React76.createElement(
10184
+ return /* @__PURE__ */ React77.createElement("div", { dir: props.direction }, /* @__PURE__ */ React77.createElement(Card, null, /* @__PURE__ */ React77.createElement(CardContent, { headless: true, className: "hawa-flex hawa-flex-col hawa-gap-6" }, /* @__PURE__ */ React77.createElement(
10153
10185
  AuthButtons,
10154
10186
  {
10155
10187
  texts: thirdPartyAuthTexts,
@@ -10168,7 +10200,7 @@ var AppLanding = ({ texts, ...props }) => {
10168
10200
  handleEmail: props.handleEmail,
10169
10201
  handlePhone: props.handlePhone
10170
10202
  }
10171
- ), props.allowRegister && /* @__PURE__ */ React76.createElement("div", { className: "hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, texts == null ? void 0 : texts.newUserText, " ", /* @__PURE__ */ React76.createElement(
10203
+ ), props.allowRegister && /* @__PURE__ */ React77.createElement("div", { className: "hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, texts == null ? void 0 : texts.newUserText, " ", /* @__PURE__ */ React77.createElement(
10172
10204
  "span",
10173
10205
  {
10174
10206
  onClick: props.handleRouteToRegister,
@@ -10179,9 +10211,9 @@ var AppLanding = ({ texts, ...props }) => {
10179
10211
  };
10180
10212
 
10181
10213
  // blocks/auth/CheckEmail.tsx
10182
- import React77 from "react";
10214
+ import React78 from "react";
10183
10215
  var CheckEmail = ({ texts, handleResend }) => {
10184
- return /* @__PURE__ */ React77.createElement(Card, null, /* @__PURE__ */ React77.createElement(CardContent, { headless: true }, /* @__PURE__ */ React77.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React77.createElement("div", { className: "hawa-flex hawa-h-16 hawa-w-16 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React77.createElement(
10216
+ return /* @__PURE__ */ React78.createElement(Card, null, /* @__PURE__ */ React78.createElement(CardContent, { headless: true }, /* @__PURE__ */ React78.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React78.createElement("div", { className: "hawa-flex hawa-h-16 hawa-w-16 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React78.createElement(
10185
10217
  "svg",
10186
10218
  {
10187
10219
  stroke: "currentColor",
@@ -10194,13 +10226,13 @@ var CheckEmail = ({ texts, handleResend }) => {
10194
10226
  width: "0.5em",
10195
10227
  xmlns: "http://www.w3.org/2000/svg"
10196
10228
  },
10197
- /* @__PURE__ */ React77.createElement("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
10198
- /* @__PURE__ */ React77.createElement("polyline", { points: "22,6 12,13 2,6" })
10199
- )), /* @__PURE__ */ React77.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ React77.createElement("div", { className: "hawa-text-sm" }, (texts == null ? void 0 : texts.pleaseVerify) || "Thank you for signing up! To complete your registration, we've sent a verification email to the address you provided. Please check your inbox and follow the instructions in the email to activate your account."))), /* @__PURE__ */ React77.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center " }, /* @__PURE__ */ React77.createElement("span", { className: "clickable-link hawa-text-sm", onClick: handleResend }, (texts == null ? void 0 : texts.resendEmail) || "Resend Email")));
10229
+ /* @__PURE__ */ React78.createElement("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
10230
+ /* @__PURE__ */ React78.createElement("polyline", { points: "22,6 12,13 2,6" })
10231
+ )), /* @__PURE__ */ React78.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ React78.createElement("div", { className: "hawa-text-sm" }, (texts == null ? void 0 : texts.pleaseVerify) || "Thank you for signing up! To complete your registration, we've sent a verification email to the address you provided. Please check your inbox and follow the instructions in the email to activate your account."))), /* @__PURE__ */ React78.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center " }, /* @__PURE__ */ React78.createElement("span", { className: "clickable-link hawa-text-sm", onClick: handleResend }, (texts == null ? void 0 : texts.resendEmail) || "Resend Email")));
10200
10232
  };
10201
10233
 
10202
10234
  // blocks/auth/NewPassword.tsx
10203
- import React78, { useState as useState28 } from "react";
10235
+ import React79, { useState as useState28 } from "react";
10204
10236
  import { Controller as Controller3, useForm as useForm3 } from "react-hook-form";
10205
10237
  import { zodResolver as zodResolver3 } from "@hookform/resolvers/zod";
10206
10238
  import * as z3 from "zod";
@@ -10219,7 +10251,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
10219
10251
  resolver: zodResolver3(formSchema)
10220
10252
  });
10221
10253
  const [matchError, setMatchError] = useState28(false);
10222
- return /* @__PURE__ */ React78.createElement(Card, { dir: props.direction }, matchError && /* @__PURE__ */ React78.createElement(Alert, { text: (_g = texts == null ? void 0 : texts.confirm) == null ? void 0 : _g.dontMatch, severity: "error" }), props.passwordChanged ? /* @__PURE__ */ React78.createElement(CardContent, { headless: true }, /* @__PURE__ */ React78.createElement("div", { className: "hawa-text-center" }, texts == null ? void 0 : texts.passwordChanged)) : /* @__PURE__ */ React78.createElement(
10254
+ return /* @__PURE__ */ React79.createElement(Card, { dir: props.direction }, matchError && /* @__PURE__ */ React79.createElement(Alert, { text: (_g = texts == null ? void 0 : texts.confirm) == null ? void 0 : _g.dontMatch, severity: "error" }), props.passwordChanged ? /* @__PURE__ */ React79.createElement(CardContent, { headless: true }, /* @__PURE__ */ React79.createElement("div", { className: "hawa-text-center" }, texts == null ? void 0 : texts.passwordChanged)) : /* @__PURE__ */ React79.createElement(
10223
10255
  "form",
10224
10256
  {
10225
10257
  noValidate: true,
@@ -10233,21 +10265,21 @@ var NewPasswordForm = ({ texts, ...props }) => {
10233
10265
  }
10234
10266
  })
10235
10267
  },
10236
- !props.headless && /* @__PURE__ */ React78.createElement(CardHeader, null, /* @__PURE__ */ React78.createElement(CardTitle, null, "Create Password"), /* @__PURE__ */ React78.createElement(CardDescription, null, "Set a new password for your account")),
10237
- /* @__PURE__ */ React78.createElement(
10268
+ !props.headless && /* @__PURE__ */ React79.createElement(CardHeader, null, /* @__PURE__ */ React79.createElement(CardTitle, null, "Create Password"), /* @__PURE__ */ React79.createElement(CardDescription, null, "Set a new password for your account")),
10269
+ /* @__PURE__ */ React79.createElement(
10238
10270
  CardContent,
10239
10271
  {
10240
10272
  headless: props.headless,
10241
10273
  className: "hawa-flex hawa-flex-col hawa-gap-4"
10242
10274
  },
10243
- /* @__PURE__ */ React78.createElement(
10275
+ /* @__PURE__ */ React79.createElement(
10244
10276
  Controller3,
10245
10277
  {
10246
10278
  control,
10247
10279
  name: "password",
10248
10280
  render: ({ field }) => {
10249
10281
  var _a2, _b2, _c2;
10250
- return /* @__PURE__ */ React78.createElement(
10282
+ return /* @__PURE__ */ React79.createElement(
10251
10283
  Input,
10252
10284
  {
10253
10285
  width: "full",
@@ -10262,14 +10294,14 @@ var NewPasswordForm = ({ texts, ...props }) => {
10262
10294
  }
10263
10295
  }
10264
10296
  ),
10265
- /* @__PURE__ */ React78.createElement(
10297
+ /* @__PURE__ */ React79.createElement(
10266
10298
  Controller3,
10267
10299
  {
10268
10300
  control,
10269
10301
  name: "confirm_password",
10270
10302
  render: ({ field }) => {
10271
10303
  var _a2, _b2, _c2;
10272
- return /* @__PURE__ */ React78.createElement(
10304
+ return /* @__PURE__ */ React79.createElement(
10273
10305
  Input,
10274
10306
  {
10275
10307
  width: "full",
@@ -10285,7 +10317,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
10285
10317
  }
10286
10318
  )
10287
10319
  ),
10288
- /* @__PURE__ */ React78.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React78.createElement(Button, { className: "hawa-w-full", type: "submit" }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ React78.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ React78.createElement(
10320
+ /* @__PURE__ */ React79.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React79.createElement(Button, { className: "hawa-w-full", type: "submit" }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ React79.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ React79.createElement(
10289
10321
  "span",
10290
10322
  {
10291
10323
  className: "clickable-link",
@@ -10297,7 +10329,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
10297
10329
  };
10298
10330
 
10299
10331
  // blocks/auth/ResetPassword.tsx
10300
- import React79 from "react";
10332
+ import React80 from "react";
10301
10333
  import { Controller as Controller4, useForm as useForm4 } from "react-hook-form";
10302
10334
  import { zodResolver as zodResolver4 } from "@hookform/resolvers/zod";
10303
10335
  import * as z4 from "zod";
@@ -10314,7 +10346,7 @@ var ResetPasswordForm = ({
10314
10346
  const { handleSubmit, control, formState } = useForm4({
10315
10347
  resolver: zodResolver4(formSchema)
10316
10348
  });
10317
- return /* @__PURE__ */ React79.createElement(Card, { dir: props.direction }, !props.sent ? /* @__PURE__ */ React79.createElement(React79.Fragment, null, !props.headless && /* @__PURE__ */ React79.createElement(CardHeader, null, /* @__PURE__ */ React79.createElement(CardTitle, null, ((_g = props.texts) == null ? void 0 : _g.headTitle) || "Reset Password"), /* @__PURE__ */ React79.createElement(CardDescription, null, ((_h = props.texts) == null ? void 0 : _h.headDescription) || "Enter your email to reset your account password")), /* @__PURE__ */ React79.createElement(
10349
+ return /* @__PURE__ */ React80.createElement(Card, { dir: props.direction }, !props.sent ? /* @__PURE__ */ React80.createElement(React80.Fragment, null, !props.headless && /* @__PURE__ */ React80.createElement(CardHeader, null, /* @__PURE__ */ React80.createElement(CardTitle, null, ((_g = props.texts) == null ? void 0 : _g.headTitle) || "Reset Password"), /* @__PURE__ */ React80.createElement(CardDescription, null, ((_h = props.texts) == null ? void 0 : _h.headDescription) || "Enter your email to reset your account password")), /* @__PURE__ */ React80.createElement(
10318
10350
  "form",
10319
10351
  {
10320
10352
  noValidate: true,
@@ -10326,14 +10358,14 @@ var ResetPasswordForm = ({
10326
10358
  }
10327
10359
  })
10328
10360
  },
10329
- /* @__PURE__ */ React79.createElement(CardContent, { headless: props.headless, className: "hawa-pb-4" }, /* @__PURE__ */ React79.createElement(
10361
+ /* @__PURE__ */ React80.createElement(CardContent, { headless: props.headless, className: "hawa-pb-4" }, /* @__PURE__ */ React80.createElement(
10330
10362
  Controller4,
10331
10363
  {
10332
10364
  control,
10333
10365
  name: "email",
10334
10366
  render: ({ field }) => {
10335
10367
  var _a2, _b2, _c2, _d2, _e2;
10336
- return /* @__PURE__ */ React79.createElement(
10368
+ return /* @__PURE__ */ React80.createElement(
10337
10369
  Input,
10338
10370
  {
10339
10371
  width: "full",
@@ -10346,7 +10378,7 @@ var ResetPasswordForm = ({
10346
10378
  }
10347
10379
  }
10348
10380
  )),
10349
- /* @__PURE__ */ React79.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React79.createElement(Button, { type: "submit", className: "hawa-w-full " }, ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"), allowRegister && /* @__PURE__ */ React79.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ React79.createElement(
10381
+ /* @__PURE__ */ React80.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React80.createElement(Button, { type: "submit", className: "hawa-w-full " }, ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"), allowRegister && /* @__PURE__ */ React80.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ React80.createElement(
10350
10382
  "span",
10351
10383
  {
10352
10384
  className: "clickable-link",
@@ -10354,11 +10386,11 @@ var ResetPasswordForm = ({
10354
10386
  },
10355
10387
  (_m = (_l = props.texts) == null ? void 0 : _l.registerText) != null ? _m : "Register"
10356
10388
  )))
10357
- )) : /* @__PURE__ */ React79.createElement(CardContent, { headless: true }, /* @__PURE__ */ React79.createElement("div", { className: "hawa-text-center" }, ((_n = props.texts) == null ? void 0 : _n.emailSentText) || "An email has been sent with a link to set a new password")));
10389
+ )) : /* @__PURE__ */ React80.createElement(CardContent, { headless: true }, /* @__PURE__ */ React80.createElement("div", { className: "hawa-text-center" }, ((_n = props.texts) == null ? void 0 : _n.emailSentText) || "An email has been sent with a link to set a new password")));
10358
10390
  };
10359
10391
 
10360
10392
  // blocks/auth/CodeConfirmation.tsx
10361
- import React80, { useEffect as useEffect18, useState as useState29 } from "react";
10393
+ import React81, { useEffect as useEffect18, useState as useState29 } from "react";
10362
10394
  import { Controller as Controller5, useForm as useForm5 } from "react-hook-form";
10363
10395
  import { zodResolver as zodResolver5 } from "@hookform/resolvers/zod";
10364
10396
  import * as z5 from "zod";
@@ -10401,14 +10433,14 @@ var CodeConfirmation = (props) => {
10401
10433
  }
10402
10434
  };
10403
10435
  }, []);
10404
- return /* @__PURE__ */ React80.createElement(Card, null, /* @__PURE__ */ React80.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React80.createElement(
10436
+ return /* @__PURE__ */ React81.createElement(Card, null, /* @__PURE__ */ React81.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React81.createElement(
10405
10437
  Alert,
10406
10438
  {
10407
10439
  title: props.errorTitle,
10408
10440
  text: props.errorText,
10409
10441
  severity: "error"
10410
10442
  }
10411
- ), /* @__PURE__ */ React80.createElement("div", { className: "hawa-mb-4 dark:hawa-text-white" }, /* @__PURE__ */ React80.createElement("div", { className: "hawa-text-lg hawa-font-bold" }, ((_c = props.texts) == null ? void 0 : _c.checkYourPhone) || "Please check your phone"), /* @__PURE__ */ React80.createElement("div", { className: "hawa-text-muted-foreground" }, /* @__PURE__ */ React80.createElement("span", null, ((_d = props.texts) == null ? void 0 : _d.weSentCode) || "We've sent a code to "), /* @__PURE__ */ React80.createElement("span", null, props.phoneNumber))), /* @__PURE__ */ React80.createElement(
10443
+ ), /* @__PURE__ */ React81.createElement("div", { className: "hawa-mb-4 dark:hawa-text-white" }, /* @__PURE__ */ React81.createElement("div", { className: "hawa-text-lg hawa-font-bold" }, ((_c = props.texts) == null ? void 0 : _c.checkYourPhone) || "Please check your phone"), /* @__PURE__ */ React81.createElement("div", { className: "hawa-text-muted-foreground" }, /* @__PURE__ */ React81.createElement("span", null, ((_d = props.texts) == null ? void 0 : _d.weSentCode) || "We've sent a code to "), /* @__PURE__ */ React81.createElement("span", null, props.phoneNumber))), /* @__PURE__ */ React81.createElement(
10412
10444
  "form",
10413
10445
  {
10414
10446
  noValidate: true,
@@ -10422,14 +10454,14 @@ var CodeConfirmation = (props) => {
10422
10454
  }
10423
10455
  })
10424
10456
  },
10425
- /* @__PURE__ */ React80.createElement(
10457
+ /* @__PURE__ */ React81.createElement(
10426
10458
  Controller5,
10427
10459
  {
10428
10460
  control,
10429
10461
  name: "otp_code",
10430
10462
  render: ({ field }) => {
10431
10463
  var _a2;
10432
- return /* @__PURE__ */ React80.createElement(
10464
+ return /* @__PURE__ */ React81.createElement(
10433
10465
  PinInput,
10434
10466
  {
10435
10467
  width: "full",
@@ -10441,7 +10473,7 @@ var CodeConfirmation = (props) => {
10441
10473
  }
10442
10474
  }
10443
10475
  ),
10444
- showResendTimer ? /* @__PURE__ */ React80.createElement("div", { className: " hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, (_e = props.texts) == null ? void 0 : _e.resendCodeTimer, " ", /* @__PURE__ */ React80.createElement("strong", null, remainingTime), " ", (_f = props.texts) == null ? void 0 : _f.seconds) : /* @__PURE__ */ React80.createElement("div", { className: " hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, /* @__PURE__ */ React80.createElement("span", null, (_h = (_g = props.texts) == null ? void 0 : _g.didntGetCode) != null ? _h : "Didn't get the code?"), " ", /* @__PURE__ */ React80.createElement(
10476
+ showResendTimer ? /* @__PURE__ */ React81.createElement("div", { className: " hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, (_e = props.texts) == null ? void 0 : _e.resendCodeTimer, " ", /* @__PURE__ */ React81.createElement("strong", null, remainingTime), " ", (_f = props.texts) == null ? void 0 : _f.seconds) : /* @__PURE__ */ React81.createElement("div", { className: " hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, /* @__PURE__ */ React81.createElement("span", null, (_h = (_g = props.texts) == null ? void 0 : _g.didntGetCode) != null ? _h : "Didn't get the code?"), " ", /* @__PURE__ */ React81.createElement(
10445
10477
  "span",
10446
10478
  {
10447
10479
  className: "clickable-link",
@@ -10452,12 +10484,12 @@ var CodeConfirmation = (props) => {
10452
10484
  },
10453
10485
  ((_i = props.texts) == null ? void 0 : _i.resendCode) || "Click to resend"
10454
10486
  )),
10455
- /* @__PURE__ */ React80.createElement("div", { className: "hawa-mt-4 hawa-grid hawa-grid-cols-2 hawa-gap-2" }, /* @__PURE__ */ React80.createElement(Button, { variant: "secondary" }, ((_j = props.texts) == null ? void 0 : _j.cancel) || "Cancel"), /* @__PURE__ */ React80.createElement(Button, { isLoading: props.confirmLoading }, ((_k = props.texts) == null ? void 0 : _k.confirm) || "Confirm"))
10487
+ /* @__PURE__ */ React81.createElement("div", { className: "hawa-mt-4 hawa-grid hawa-grid-cols-2 hawa-gap-2" }, /* @__PURE__ */ React81.createElement(Button, { variant: "secondary" }, ((_j = props.texts) == null ? void 0 : _j.cancel) || "Cancel"), /* @__PURE__ */ React81.createElement(Button, { isLoading: props.confirmLoading }, ((_k = props.texts) == null ? void 0 : _k.confirm) || "Confirm"))
10456
10488
  )));
10457
10489
  };
10458
10490
 
10459
10491
  // blocks/feedback/UserReferralSource.tsx
10460
- import React81, { useRef as useRef12, useState as useState30 } from "react";
10492
+ import React82, { useRef as useRef12, useState as useState30 } from "react";
10461
10493
  import { Controller as Controller6, useForm as useForm6 } from "react-hook-form";
10462
10494
  import { zodResolver as zodResolver6 } from "@hookform/resolvers/zod";
10463
10495
  import * as z6 from "zod";
@@ -10488,7 +10520,7 @@ var UserReferralSource = ({
10488
10520
  label: "Other"
10489
10521
  }
10490
10522
  ];
10491
- return /* @__PURE__ */ React81.createElement(
10523
+ return /* @__PURE__ */ React82.createElement(
10492
10524
  "div",
10493
10525
  {
10494
10526
  className: cn(
@@ -10497,7 +10529,7 @@ var UserReferralSource = ({
10497
10529
  ),
10498
10530
  ref: popUpRef
10499
10531
  },
10500
- /* @__PURE__ */ React81.createElement(
10532
+ /* @__PURE__ */ React82.createElement(
10501
10533
  Card,
10502
10534
  {
10503
10535
  className: cn(
@@ -10506,7 +10538,7 @@ var UserReferralSource = ({
10506
10538
  ),
10507
10539
  dir: props.direction
10508
10540
  },
10509
- /* @__PURE__ */ React81.createElement(
10541
+ /* @__PURE__ */ React82.createElement(
10510
10542
  "button",
10511
10543
  {
10512
10544
  type: "button",
@@ -10525,7 +10557,7 @@ var UserReferralSource = ({
10525
10557
  }, 200);
10526
10558
  }
10527
10559
  },
10528
- /* @__PURE__ */ React81.createElement(
10560
+ /* @__PURE__ */ React82.createElement(
10529
10561
  "svg",
10530
10562
  {
10531
10563
  "aria-hidden": "true",
@@ -10533,7 +10565,7 @@ var UserReferralSource = ({
10533
10565
  fill: "currentColor",
10534
10566
  viewBox: "0 0 20 20"
10535
10567
  },
10536
- /* @__PURE__ */ React81.createElement(
10568
+ /* @__PURE__ */ React82.createElement(
10537
10569
  "path",
10538
10570
  {
10539
10571
  fillRule: "evenodd",
@@ -10543,7 +10575,7 @@ var UserReferralSource = ({
10543
10575
  )
10544
10576
  )
10545
10577
  ),
10546
- /* @__PURE__ */ React81.createElement(CardContent, { headless: true }, /* @__PURE__ */ React81.createElement(
10578
+ /* @__PURE__ */ React82.createElement(CardContent, { headless: true }, /* @__PURE__ */ React82.createElement(
10547
10579
  "form",
10548
10580
  {
10549
10581
  noValidate: true,
@@ -10555,7 +10587,7 @@ var UserReferralSource = ({
10555
10587
  }
10556
10588
  })
10557
10589
  },
10558
- /* @__PURE__ */ React81.createElement(
10590
+ /* @__PURE__ */ React82.createElement(
10559
10591
  "div",
10560
10592
  {
10561
10593
  className: cn(
@@ -10563,15 +10595,15 @@ var UserReferralSource = ({
10563
10595
  closed ? "hawa-opacity-0" : "hawa-opacity-100"
10564
10596
  )
10565
10597
  },
10566
- /* @__PURE__ */ React81.createElement("div", { className: "hawa-mt-4 hawa-font-bold" }, props.question),
10567
- /* @__PURE__ */ React81.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded " }, /* @__PURE__ */ React81.createElement(
10598
+ /* @__PURE__ */ React82.createElement("div", { className: "hawa-mt-4 hawa-font-bold" }, props.question),
10599
+ /* @__PURE__ */ React82.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded " }, /* @__PURE__ */ React82.createElement(
10568
10600
  Controller6,
10569
10601
  {
10570
10602
  control,
10571
10603
  name: "source",
10572
10604
  render: ({ field }) => {
10573
10605
  var _a2, _b2;
10574
- return /* @__PURE__ */ React81.createElement(
10606
+ return /* @__PURE__ */ React82.createElement(
10575
10607
  Radio,
10576
10608
  {
10577
10609
  name: "source",
@@ -10586,14 +10618,14 @@ var UserReferralSource = ({
10586
10618
  }
10587
10619
  }
10588
10620
  )),
10589
- /* @__PURE__ */ React81.createElement("div", null, /* @__PURE__ */ React81.createElement(
10621
+ /* @__PURE__ */ React82.createElement("div", null, /* @__PURE__ */ React82.createElement(
10590
10622
  Controller6,
10591
10623
  {
10592
10624
  control,
10593
10625
  name: "feedback",
10594
10626
  render: ({ field }) => {
10595
10627
  var _a2, _b2;
10596
- return /* @__PURE__ */ React81.createElement(
10628
+ return /* @__PURE__ */ React82.createElement(
10597
10629
  Textarea,
10598
10630
  {
10599
10631
  ...field,
@@ -10608,14 +10640,14 @@ var UserReferralSource = ({
10608
10640
  }
10609
10641
  ))
10610
10642
  ),
10611
- /* @__PURE__ */ React81.createElement(Button, { type: "submit", className: "hawa-mt-4 hawa-w-full" }, ((_b = props.texts) == null ? void 0 : _b.submit) || "Submit")
10643
+ /* @__PURE__ */ React82.createElement(Button, { type: "submit", className: "hawa-mt-4 hawa-w-full" }, ((_b = props.texts) == null ? void 0 : _b.submit) || "Submit")
10612
10644
  ))
10613
10645
  )
10614
10646
  );
10615
10647
  };
10616
10648
 
10617
10649
  // blocks/feedback/FeedbackRating.tsx
10618
- import React82, { useEffect as useEffect19, useRef as useRef13, useState as useState31 } from "react";
10650
+ import React83, { useEffect as useEffect19, useRef as useRef13, useState as useState31 } from "react";
10619
10651
  var FeedbackRating = ({
10620
10652
  position = "bottom-right",
10621
10653
  ...props
@@ -10647,7 +10679,7 @@ var FeedbackRating = ({
10647
10679
  }
10648
10680
  }, 200);
10649
10681
  };
10650
- return /* @__PURE__ */ React82.createElement(
10682
+ return /* @__PURE__ */ React83.createElement(
10651
10683
  "div",
10652
10684
  {
10653
10685
  ref: popUpRef,
@@ -10656,7 +10688,7 @@ var FeedbackRating = ({
10656
10688
  boxPosition[position]
10657
10689
  )
10658
10690
  },
10659
- /* @__PURE__ */ React82.createElement(
10691
+ /* @__PURE__ */ React83.createElement(
10660
10692
  "div",
10661
10693
  {
10662
10694
  className: cn(
@@ -10665,8 +10697,8 @@ var FeedbackRating = ({
10665
10697
  props.banner && "hawa-rounded-none hawa-px-4 md:hawa-rounded-t md:hawa-px-64"
10666
10698
  )
10667
10699
  },
10668
- /* @__PURE__ */ React82.createElement("div", { className: "hawa-absolute hawa-left-2 hawa-top-2 hawa-p-1.5 hawa-text-sm" }, props.title),
10669
- /* @__PURE__ */ React82.createElement(
10700
+ /* @__PURE__ */ React83.createElement("div", { className: "hawa-absolute hawa-left-2 hawa-top-2 hawa-p-1.5 hawa-text-sm" }, props.title),
10701
+ /* @__PURE__ */ React83.createElement(
10670
10702
  "button",
10671
10703
  {
10672
10704
  type: "button",
@@ -10675,7 +10707,7 @@ var FeedbackRating = ({
10675
10707
  "aria-label": "Close",
10676
10708
  onClick: () => slowClose()
10677
10709
  },
10678
- /* @__PURE__ */ React82.createElement(
10710
+ /* @__PURE__ */ React83.createElement(
10679
10711
  "svg",
10680
10712
  {
10681
10713
  "aria-hidden": "true",
@@ -10683,7 +10715,7 @@ var FeedbackRating = ({
10683
10715
  fill: "currentColor",
10684
10716
  viewBox: "0 0 20 20"
10685
10717
  },
10686
- /* @__PURE__ */ React82.createElement(
10718
+ /* @__PURE__ */ React83.createElement(
10687
10719
  "path",
10688
10720
  {
10689
10721
  fillRule: "evenodd",
@@ -10693,8 +10725,8 @@ var FeedbackRating = ({
10693
10725
  )
10694
10726
  )
10695
10727
  ),
10696
- /* @__PURE__ */ React82.createElement("div", { className: "hawa-mt-8" }, props.question),
10697
- /* @__PURE__ */ React82.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded" }, props.options && props.options.map((op, i) => /* @__PURE__ */ React82.createElement(
10728
+ /* @__PURE__ */ React83.createElement("div", { className: "hawa-mt-8" }, props.question),
10729
+ /* @__PURE__ */ React83.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded" }, props.options && props.options.map((op, i) => /* @__PURE__ */ React83.createElement(
10698
10730
  "span",
10699
10731
  {
10700
10732
  key: i,
@@ -10722,24 +10754,24 @@ var FeedbackRating = ({
10722
10754
  },
10723
10755
  op
10724
10756
  ))),
10725
- props.texts && /* @__PURE__ */ React82.createElement("div", { className: " hawa-flex hawa-flex-row hawa-justify-between hawa-text-xs" }, /* @__PURE__ */ React82.createElement("span", null, props.texts.least), /* @__PURE__ */ React82.createElement("span", null, props.texts.most)),
10726
- answered && /* @__PURE__ */ React82.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-rounded hawa-bg-black hawa-bg-opacity-80 hawa-p-4 hawa-text-center hawa-transition-all" }, /* @__PURE__ */ React82.createElement("span", { className: "hawa-font-bold hawa-text-white" }, "Thank you for your answer. This box will disappear in", " " + closingTimer, " seconds"), /* @__PURE__ */ React82.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-2" }, /* @__PURE__ */ React82.createElement(Button, { variant: "secondary", onClick: () => slowClose() }, "Close")))
10757
+ props.texts && /* @__PURE__ */ React83.createElement("div", { className: " hawa-flex hawa-flex-row hawa-justify-between hawa-text-xs" }, /* @__PURE__ */ React83.createElement("span", null, props.texts.least), /* @__PURE__ */ React83.createElement("span", null, props.texts.most)),
10758
+ answered && /* @__PURE__ */ React83.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-rounded hawa-bg-black hawa-bg-opacity-80 hawa-p-4 hawa-text-center hawa-transition-all" }, /* @__PURE__ */ React83.createElement("span", { className: "hawa-font-bold hawa-text-white" }, "Thank you for your answer. This box will disappear in", " " + closingTimer, " seconds"), /* @__PURE__ */ React83.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-2" }, /* @__PURE__ */ React83.createElement(Button, { variant: "secondary", onClick: () => slowClose() }, "Close")))
10727
10759
  )
10728
10760
  );
10729
10761
  };
10730
10762
 
10731
10763
  // blocks/feedback/FeedbackEmoji.tsx
10732
- import React83, { useState as useState32 } from "react";
10764
+ import React84, { useState as useState32 } from "react";
10733
10765
  var FeedbackEmoji = (props) => {
10734
10766
  const [selectedEmoji, setSelectedEmoji] = useState32(null);
10735
10767
  const [loadingSubmit, setLoadingSubmit] = useState32(false);
10736
10768
  const [feedbackText, setFeedbackText] = useState32("");
10737
10769
  const [helperText, setHelperText] = useState32(false);
10738
10770
  let emojis = [
10739
- { icon: /* @__PURE__ */ React83.createElement(VeryGoodEmoji, null), value: "very-good" },
10740
- { icon: /* @__PURE__ */ React83.createElement(GoodEmoji, null), value: "good" },
10741
- { icon: /* @__PURE__ */ React83.createElement(BadEmoji, null), value: "bad" },
10742
- { icon: /* @__PURE__ */ React83.createElement(VeryBadEmoji, null), value: "very-bad" }
10771
+ { icon: /* @__PURE__ */ React84.createElement(VeryGoodEmoji, null), value: "very-good" },
10772
+ { icon: /* @__PURE__ */ React84.createElement(GoodEmoji, null), value: "good" },
10773
+ { icon: /* @__PURE__ */ React84.createElement(BadEmoji, null), value: "bad" },
10774
+ { icon: /* @__PURE__ */ React84.createElement(VeryBadEmoji, null), value: "very-bad" }
10743
10775
  ];
10744
10776
  const onFeedbackSubmit = async () => {
10745
10777
  if (feedbackText) {
@@ -10759,7 +10791,7 @@ var FeedbackEmoji = (props) => {
10759
10791
  setHelperText(true);
10760
10792
  }
10761
10793
  };
10762
- return /* @__PURE__ */ React83.createElement(
10794
+ return /* @__PURE__ */ React84.createElement(
10763
10795
  "div",
10764
10796
  {
10765
10797
  className: cn(
@@ -10767,7 +10799,7 @@ var FeedbackEmoji = (props) => {
10767
10799
  selectedEmoji ? "hawa-h-[189px] hawa-min-w-fit" : "hawa-h-[44px] "
10768
10800
  )
10769
10801
  },
10770
- /* @__PURE__ */ React83.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2 " }, /* @__PURE__ */ React83.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-0.5 " }, emojis.map((emoji, i) => /* @__PURE__ */ React83.createElement(
10802
+ /* @__PURE__ */ React84.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2 " }, /* @__PURE__ */ React84.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-0.5 " }, emojis.map((emoji, i) => /* @__PURE__ */ React84.createElement(
10771
10803
  Button,
10772
10804
  {
10773
10805
  key: i,
@@ -10786,7 +10818,7 @@ var FeedbackEmoji = (props) => {
10786
10818
  },
10787
10819
  emoji.icon
10788
10820
  )))),
10789
- /* @__PURE__ */ React83.createElement(
10821
+ /* @__PURE__ */ React84.createElement(
10790
10822
  "div",
10791
10823
  {
10792
10824
  className: cn(
@@ -10794,7 +10826,7 @@ var FeedbackEmoji = (props) => {
10794
10826
  selectedEmoji ? "hawa-visible hawa-opacity-100" : "hawa-invisible hawa-opacity-0 "
10795
10827
  )
10796
10828
  },
10797
- props.showSuccess ? /* @__PURE__ */ React83.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-pt-4" }, /* @__PURE__ */ React83.createElement("div", { className: "hawa-rounded hawa-bg-primary hawa-p-2 hawa-text-primary-foreground" }, /* @__PURE__ */ React83.createElement(
10829
+ props.showSuccess ? /* @__PURE__ */ React84.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-pt-4" }, /* @__PURE__ */ React84.createElement("div", { className: "hawa-rounded hawa-bg-primary hawa-p-2 hawa-text-primary-foreground" }, /* @__PURE__ */ React84.createElement(
10798
10830
  "svg",
10799
10831
  {
10800
10832
  stroke: "currentColor",
@@ -10804,13 +10836,13 @@ var FeedbackEmoji = (props) => {
10804
10836
  height: "0.5em",
10805
10837
  width: "0.5em"
10806
10838
  },
10807
- /* @__PURE__ */ React83.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" })
10808
- )), /* @__PURE__ */ React83.createElement("div", { className: "hawa-flex hawa-flex-col hawa-text-center hawa-text-sm" }, /* @__PURE__ */ React83.createElement("span", null, "Your feedback has been received!"), /* @__PURE__ */ React83.createElement("span", null, "Thank you for your help"))) : /* @__PURE__ */ React83.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-1 hawa-p-1" }, /* @__PURE__ */ React83.createElement(
10839
+ /* @__PURE__ */ React84.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" })
10840
+ )), /* @__PURE__ */ React84.createElement("div", { className: "hawa-flex hawa-flex-col hawa-text-center hawa-text-sm" }, /* @__PURE__ */ React84.createElement("span", null, "Your feedback has been received!"), /* @__PURE__ */ React84.createElement("span", null, "Thank you for your help"))) : /* @__PURE__ */ React84.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-1 hawa-p-1" }, /* @__PURE__ */ React84.createElement(
10809
10841
  Popover,
10810
10842
  {
10811
10843
  className: "hawa-select-none hawa-p-1 hawa-text-xs ",
10812
10844
  open: helperText,
10813
- trigger: /* @__PURE__ */ React83.createElement(
10845
+ trigger: /* @__PURE__ */ React84.createElement(
10814
10846
  Textarea,
10815
10847
  {
10816
10848
  classNames: {
@@ -10828,8 +10860,8 @@ var FeedbackEmoji = (props) => {
10828
10860
  }
10829
10861
  )
10830
10862
  },
10831
- /* @__PURE__ */ React83.createElement("span", { className: "hawa-m-0" }, "Please enter your feedback")
10832
- ), /* @__PURE__ */ React83.createElement(
10863
+ /* @__PURE__ */ React84.createElement("span", { className: "hawa-m-0" }, "Please enter your feedback")
10864
+ ), /* @__PURE__ */ React84.createElement(
10833
10865
  Button,
10834
10866
  {
10835
10867
  isLoading: loadingSubmit,
@@ -10844,7 +10876,7 @@ var FeedbackEmoji = (props) => {
10844
10876
  };
10845
10877
 
10846
10878
  // blocks/feedback/FeedbackForm.tsx
10847
- import React84 from "react";
10879
+ import React85 from "react";
10848
10880
  import { useForm as useForm7, Controller as Controller7 } from "react-hook-form";
10849
10881
  import { zodResolver as zodResolver7 } from "@hookform/resolvers/zod";
10850
10882
  import * as z7 from "zod";
@@ -10858,7 +10890,7 @@ var FeedbackForm = (props) => {
10858
10890
  resolver: zodResolver7(formSchema),
10859
10891
  defaultValues: { requestType: "", description: "" }
10860
10892
  });
10861
- return /* @__PURE__ */ React84.createElement(
10893
+ return /* @__PURE__ */ React85.createElement(
10862
10894
  Card,
10863
10895
  {
10864
10896
  className: cn(
@@ -10866,7 +10898,7 @@ var FeedbackForm = (props) => {
10866
10898
  ),
10867
10899
  style: props.cardless ? { boxShadow: "none" } : void 0
10868
10900
  },
10869
- /* @__PURE__ */ React84.createElement(CardContent, { headless: true, className: props.cardless ? "!hawa-p-0" : "" }, props.sent ? /* @__PURE__ */ React84.createElement("div", { className: "hawa-text-center hawa-min-h-[200px] hawa-flex hawa-flex-col hawa-justify-center" }, /* @__PURE__ */ React84.createElement("div", { className: "hawa-font-bold hawa-text-lg" }, props.texts.sentTitle || "Form submitted"), /* @__PURE__ */ React84.createElement("div", { className: "hawa-text-md" }, props.texts.sentSubtitle || "Thank you for your submission")) : /* @__PURE__ */ React84.createElement(
10901
+ /* @__PURE__ */ React85.createElement(CardContent, { headless: true, className: props.cardless ? "!hawa-p-0" : "" }, props.sent ? /* @__PURE__ */ React85.createElement("div", { className: "hawa-text-center hawa-min-h-[200px] hawa-flex hawa-flex-col hawa-justify-center" }, /* @__PURE__ */ React85.createElement("div", { className: "hawa-font-bold hawa-text-lg" }, props.texts.sentTitle || "Form submitted"), /* @__PURE__ */ React85.createElement("div", { className: "hawa-text-md" }, props.texts.sentSubtitle || "Thank you for your submission")) : /* @__PURE__ */ React85.createElement(
10870
10902
  "form",
10871
10903
  {
10872
10904
  noValidate: true,
@@ -10879,15 +10911,15 @@ var FeedbackForm = (props) => {
10879
10911
  }),
10880
10912
  className: "hawa-flex hawa-flex-col hawa-gap-2"
10881
10913
  },
10882
- /* @__PURE__ */ React84.createElement(Label2, null),
10883
- /* @__PURE__ */ React84.createElement(
10914
+ /* @__PURE__ */ React85.createElement(Label2, null),
10915
+ /* @__PURE__ */ React85.createElement(
10884
10916
  Controller7,
10885
10917
  {
10886
10918
  name: "requestType",
10887
10919
  control,
10888
10920
  render: ({ field }) => {
10889
10921
  var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
10890
- return /* @__PURE__ */ React84.createElement(
10922
+ return /* @__PURE__ */ React85.createElement(
10891
10923
  Select,
10892
10924
  {
10893
10925
  ...field,
@@ -10905,14 +10937,14 @@ var FeedbackForm = (props) => {
10905
10937
  }
10906
10938
  }
10907
10939
  ),
10908
- /* @__PURE__ */ React84.createElement(
10940
+ /* @__PURE__ */ React85.createElement(
10909
10941
  Controller7,
10910
10942
  {
10911
10943
  name: "description",
10912
10944
  control,
10913
10945
  render: ({ field }) => {
10914
10946
  var _a2, _b2, _c2, _d2, _e2, _f2;
10915
- return /* @__PURE__ */ React84.createElement(
10947
+ return /* @__PURE__ */ React85.createElement(
10916
10948
  Textarea,
10917
10949
  {
10918
10950
  helperText: formState.errors.description && ((_b2 = (_a2 = formState.errors.description) == null ? void 0 : _a2.message) == null ? void 0 : _b2.toString()),
@@ -10930,15 +10962,15 @@ var FeedbackForm = (props) => {
10930
10962
  }
10931
10963
  }
10932
10964
  ),
10933
- /* @__PURE__ */ React84.createElement(Button, { isLoading: props.loadingSubmission, type: "submit" }, (_i = props.texts) == null ? void 0 : _i.submit)
10965
+ /* @__PURE__ */ React85.createElement(Button, { isLoading: props.loadingSubmission, type: "submit" }, (_i = props.texts) == null ? void 0 : _i.submit)
10934
10966
  ))
10935
10967
  );
10936
10968
  };
10937
10969
 
10938
10970
  // blocks/misc/LegalTexts.tsx
10939
- import React85 from "react";
10971
+ import React86 from "react";
10940
10972
  var LegalTexts = ({ tabs, ...props }) => {
10941
- return /* @__PURE__ */ React85.createElement(
10973
+ return /* @__PURE__ */ React86.createElement(
10942
10974
  Tabs,
10943
10975
  {
10944
10976
  value: props.activeTab,
@@ -10946,8 +10978,8 @@ var LegalTexts = ({ tabs, ...props }) => {
10946
10978
  defaultValue: props.defaultTab || tabs[0].value,
10947
10979
  dir: props.direction
10948
10980
  },
10949
- /* @__PURE__ */ React85.createElement(TabsList, { className: "hawa-w-full" }, tabs.map((tab, index) => /* @__PURE__ */ React85.createElement(TabsTrigger, { key: index, value: tab.value }, tab.title))),
10950
- tabs.map((tab, index) => /* @__PURE__ */ React85.createElement(TabsContent, { key: index, value: tab.value }, /* @__PURE__ */ React85.createElement(
10981
+ /* @__PURE__ */ React86.createElement(TabsList, { className: "hawa-w-full" }, tabs.map((tab, index) => /* @__PURE__ */ React86.createElement(TabsTrigger, { key: index, value: tab.value }, tab.title))),
10982
+ tabs.map((tab, index) => /* @__PURE__ */ React86.createElement(TabsContent, { key: index, value: tab.value }, /* @__PURE__ */ React86.createElement(
10951
10983
  ScrollArea,
10952
10984
  {
10953
10985
  className: cn(
@@ -10961,9 +10993,9 @@ var LegalTexts = ({ tabs, ...props }) => {
10961
10993
  };
10962
10994
 
10963
10995
  // blocks/misc/EmptyState.tsx
10964
- import React86 from "react";
10996
+ import React87 from "react";
10965
10997
  var EmptyState = ({ texts, onActionClick }) => {
10966
- return /* @__PURE__ */ React86.createElement(Card, null, /* @__PURE__ */ React86.createElement(CardContent, { headless: true }, /* @__PURE__ */ React86.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center " }, /* @__PURE__ */ React86.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React86.createElement(
10998
+ return /* @__PURE__ */ React87.createElement(Card, null, /* @__PURE__ */ React87.createElement(CardContent, { headless: true }, /* @__PURE__ */ React87.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center " }, /* @__PURE__ */ React87.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React87.createElement(
10967
10999
  "svg",
10968
11000
  {
10969
11001
  stroke: "currentColor",
@@ -10973,30 +11005,30 @@ var EmptyState = ({ texts, onActionClick }) => {
10973
11005
  height: "0.35em",
10974
11006
  width: "0.35em"
10975
11007
  },
10976
- /* @__PURE__ */ React86.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" })
10977
- )), /* @__PURE__ */ React86.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.youreCaughtUp) || "You're all caught up"))), /* @__PURE__ */ React86.createElement(CardFooter, null, /* @__PURE__ */ React86.createElement(Button, { className: "hawa-w-full", onClick: () => onActionClick() }, (texts == null ? void 0 : texts.actionText) || "Go Home")));
11008
+ /* @__PURE__ */ React87.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" })
11009
+ )), /* @__PURE__ */ React87.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.youreCaughtUp) || "You're all caught up"))), /* @__PURE__ */ React87.createElement(CardFooter, null, /* @__PURE__ */ React87.createElement(Button, { className: "hawa-w-full", onClick: () => onActionClick() }, (texts == null ? void 0 : texts.actionText) || "Go Home")));
10978
11010
  };
10979
11011
 
10980
11012
  // blocks/misc/Testimonial.tsx
10981
- import React87 from "react";
11013
+ import React88 from "react";
10982
11014
  var Testimonial = () => {
10983
- return /* @__PURE__ */ React87.createElement(Card, null, /* @__PURE__ */ React87.createElement(CardContent, { headless: true }, /* @__PURE__ */ React87.createElement("div", null, /* @__PURE__ */ React87.createElement("p", { className: "mb-4 max-w-sm" }, "The team at Sikka Software is simply amazing. The tech is easy to follow, easy to work with, and infinitely flexible. The solution opportunities created by Tines are endless.")), /* @__PURE__ */ React87.createElement("div", { className: "flex flex-row gap-4" }, /* @__PURE__ */ React87.createElement("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none" }, /* @__PURE__ */ React87.createElement("rect", { width: "48", height: "48", rx: "24", fill: "#45BE8B" }), /* @__PURE__ */ React87.createElement(
11015
+ return /* @__PURE__ */ React88.createElement(Card, null, /* @__PURE__ */ React88.createElement(CardContent, { headless: true }, /* @__PURE__ */ React88.createElement("div", null, /* @__PURE__ */ React88.createElement("p", { className: "mb-4 max-w-sm" }, "The team at Sikka Software is simply amazing. The tech is easy to follow, easy to work with, and infinitely flexible. The solution opportunities created by Tines are endless.")), /* @__PURE__ */ React88.createElement("div", { className: "flex flex-row gap-4" }, /* @__PURE__ */ React88.createElement("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none" }, /* @__PURE__ */ React88.createElement("rect", { width: "48", height: "48", rx: "24", fill: "#45BE8B" }), /* @__PURE__ */ React88.createElement(
10984
11016
  "path",
10985
11017
  {
10986
11018
  d: "M14.1412 22.4427L17.5803 16.5199C17.7671 16.1981 18.1112 16 18.4834 16H20.8581C21.653 16 22.1565 16.8528 21.7725 17.5488L19.3042 22.0225C19.2202 22.1747 19.1762 22.3458 19.1762 22.5196C19.1762 23.0879 19.6369 23.5486 20.2052 23.5486H21.5827C22.1594 23.5486 22.627 24.0162 22.627 24.5929V31.347C22.627 31.9237 22.1594 32.3913 21.5827 32.3913H15.0443C14.4676 32.3913 14 31.9237 14 31.347V22.9671C14 22.7829 14.0487 22.602 14.1412 22.4427Z",
10987
11019
  fill: "#FFFFFF"
10988
11020
  }
10989
- ), /* @__PURE__ */ React87.createElement(
11021
+ ), /* @__PURE__ */ React88.createElement(
10990
11022
  "path",
10991
11023
  {
10992
11024
  d: "M25.356 22.4427L28.7951 16.5199C28.982 16.1981 29.326 16 29.6982 16H32.0729C32.8679 16 33.3713 16.8528 32.9873 17.5488L30.5191 22.0225C30.4351 22.1747 30.391 22.3458 30.391 22.5196C30.391 23.0879 30.8518 23.5486 31.4201 23.5486H32.7975C33.3743 23.5486 33.8418 24.0162 33.8418 24.5929V31.347C33.8418 31.9237 33.3743 32.3913 32.7975 32.3913H26.2592C25.6824 32.3913 25.2148 31.9237 25.2148 31.347V22.9671C25.2148 22.7829 25.2636 22.602 25.356 22.4427Z",
10993
11025
  fill: "#FFFFFF"
10994
11026
  }
10995
- )), /* @__PURE__ */ React87.createElement("span", { className: "border border-l " }), " ", /* @__PURE__ */ React87.createElement("div", null, /* @__PURE__ */ React87.createElement("strong", null, "Brent Lassi"), /* @__PURE__ */ React87.createElement("div", null, " Chief Information Security Officer")))));
11027
+ )), /* @__PURE__ */ React88.createElement("span", { className: "border border-l " }), " ", /* @__PURE__ */ React88.createElement("div", null, /* @__PURE__ */ React88.createElement("strong", null, "Brent Lassi"), /* @__PURE__ */ React88.createElement("div", null, " Chief Information Security Officer")))));
10996
11028
  };
10997
11029
 
10998
11030
  // blocks/misc/LeadGenerator.tsx
10999
- import React88 from "react";
11031
+ import React89 from "react";
11000
11032
  import { useForm as useForm8, Controller as Controller8 } from "react-hook-form";
11001
11033
  var LeadGenerator = ({ texts, submitHandler }) => {
11002
11034
  var _a;
@@ -11008,14 +11040,14 @@ var LeadGenerator = ({ texts, submitHandler }) => {
11008
11040
  console.log("handleNewsletterSub props was not provided");
11009
11041
  }
11010
11042
  };
11011
- return /* @__PURE__ */ React88.createElement(Card, null, /* @__PURE__ */ React88.createElement(CardHeader, null, /* @__PURE__ */ React88.createElement(CardTitle, null, texts == null ? void 0 : texts.title), /* @__PURE__ */ React88.createElement(CardDescription, null, texts == null ? void 0 : texts.subtitle)), /* @__PURE__ */ React88.createElement(CardContent, null, /* @__PURE__ */ React88.createElement(
11043
+ return /* @__PURE__ */ React89.createElement(Card, null, /* @__PURE__ */ React89.createElement(CardHeader, null, /* @__PURE__ */ React89.createElement(CardTitle, null, texts == null ? void 0 : texts.title), /* @__PURE__ */ React89.createElement(CardDescription, null, texts == null ? void 0 : texts.subtitle)), /* @__PURE__ */ React89.createElement(CardContent, null, /* @__PURE__ */ React89.createElement(
11012
11044
  "form",
11013
11045
  {
11014
11046
  noValidate: true,
11015
11047
  className: "hawa-flex hawa-flex-row hawa-gap-2",
11016
11048
  onSubmit: handleSubmit(onSubmit)
11017
11049
  },
11018
- /* @__PURE__ */ React88.createElement(
11050
+ /* @__PURE__ */ React89.createElement(
11019
11051
  Controller8,
11020
11052
  {
11021
11053
  name: "email",
@@ -11028,27 +11060,27 @@ var LeadGenerator = ({ texts, submitHandler }) => {
11028
11060
  }
11029
11061
  },
11030
11062
  defaultValue: "",
11031
- render: ({ field }) => /* @__PURE__ */ React88.createElement(Input, { ...field, type: "email", placeholder: "example@sikka.io" })
11063
+ render: ({ field }) => /* @__PURE__ */ React89.createElement(Input, { ...field, type: "email", placeholder: "example@sikka.io" })
11032
11064
  }
11033
11065
  ),
11034
- /* @__PURE__ */ React88.createElement(Button, { type: "submit", disabled: !formState.isValid }, (_a = texts == null ? void 0 : texts.submit) != null ? _a : "Submit")
11066
+ /* @__PURE__ */ React89.createElement(Button, { type: "submit", disabled: !formState.isValid }, (_a = texts == null ? void 0 : texts.submit) != null ? _a : "Submit")
11035
11067
  )));
11036
11068
  };
11037
11069
 
11038
11070
  // blocks/misc/Announcement.tsx
11039
- import React89 from "react";
11071
+ import React90 from "react";
11040
11072
  var Announcement = ({
11041
11073
  onActionClick,
11042
11074
  ...props
11043
11075
  }) => {
11044
- return /* @__PURE__ */ React89.createElement(Card, null, /* @__PURE__ */ React89.createElement(
11076
+ return /* @__PURE__ */ React90.createElement(Card, null, /* @__PURE__ */ React90.createElement(
11045
11077
  CardContent,
11046
11078
  {
11047
11079
  headless: true,
11048
11080
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between"
11049
11081
  },
11050
- /* @__PURE__ */ React89.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center " }, /* @__PURE__ */ React89.createElement("span", { className: "hawa-text-lg hawa-font-bold" }, props.title), /* @__PURE__ */ React89.createElement("span", { className: "hawa-text-sm" }, props.subtitle)),
11051
- /* @__PURE__ */ React89.createElement(
11082
+ /* @__PURE__ */ React90.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center " }, /* @__PURE__ */ React90.createElement("span", { className: "hawa-text-lg hawa-font-bold" }, props.title), /* @__PURE__ */ React90.createElement("span", { className: "hawa-text-sm" }, props.subtitle)),
11083
+ /* @__PURE__ */ React90.createElement(
11052
11084
  Button,
11053
11085
  {
11054
11086
  onClick: () => onActionClick(),
@@ -11060,15 +11092,15 @@ var Announcement = ({
11060
11092
  };
11061
11093
 
11062
11094
  // blocks/misc/NotFound.tsx
11063
- import React90 from "react";
11095
+ import React91 from "react";
11064
11096
  var NotFound = ({ texts }) => {
11065
- return /* @__PURE__ */ React90.createElement(Card, null, /* @__PURE__ */ React90.createElement(CardContent, { headless: true }, /* @__PURE__ */ React90.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ React90.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold " }, "404"), /* @__PURE__ */ React90.createElement("div", { className: "hawa-m-2 hawa-text-center hawa-text-xl hawa-font-bold " }, (texts == null ? void 0 : texts.pageNotFound) || "Page Not Found"), /* @__PURE__ */ React90.createElement("div", { className: "hawa-mb-4 hawa-text-center" }, (texts == null ? void 0 : texts.ifLost) || /* @__PURE__ */ React90.createElement(React90.Fragment, null, "If you're lost please contact us ", /* @__PURE__ */ React90.createElement("span", { className: "clickable-link" }, "help@sikka.io"))), /* @__PURE__ */ React90.createElement(Button, { className: "hawa-w-full" }, (texts == null ? void 0 : texts.home) || "Home"))));
11097
+ return /* @__PURE__ */ React91.createElement(Card, null, /* @__PURE__ */ React91.createElement(CardContent, { headless: true }, /* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ React91.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold " }, "404"), /* @__PURE__ */ React91.createElement("div", { className: "hawa-m-2 hawa-text-center hawa-text-xl hawa-font-bold " }, (texts == null ? void 0 : texts.pageNotFound) || "Page Not Found"), /* @__PURE__ */ React91.createElement("div", { className: "hawa-mb-4 hawa-text-center" }, (texts == null ? void 0 : texts.ifLost) || /* @__PURE__ */ React91.createElement(React91.Fragment, null, "If you're lost please contact us ", /* @__PURE__ */ React91.createElement("span", { className: "clickable-link" }, "help@sikka.io"))), /* @__PURE__ */ React91.createElement(Button, { className: "hawa-w-full" }, (texts == null ? void 0 : texts.home) || "Home"))));
11066
11098
  };
11067
11099
 
11068
11100
  // blocks/misc/NoPermission.tsx
11069
- import React91 from "react";
11101
+ import React92 from "react";
11070
11102
  var NoPermission = ({ texts }) => {
11071
- return /* @__PURE__ */ React91.createElement(Card, null, /* @__PURE__ */ React91.createElement(CardContent, { headless: true }, /* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React91.createElement(
11103
+ return /* @__PURE__ */ React92.createElement(Card, null, /* @__PURE__ */ React92.createElement(CardContent, { headless: true }, /* @__PURE__ */ React92.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React92.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React92.createElement(
11072
11104
  "svg",
11073
11105
  {
11074
11106
  stroke: "currentColor",
@@ -11078,12 +11110,12 @@ var NoPermission = ({ texts }) => {
11078
11110
  height: "0.35em",
11079
11111
  width: "0.35em"
11080
11112
  },
11081
- /* @__PURE__ */ React91.createElement("path", { d: "M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z" })
11082
- )), /* @__PURE__ */ React91.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.title) || "You don't have permission"), /* @__PURE__ */ React91.createElement("div", null, (texts == null ? void 0 : texts.subtitle) || "If you think this is a problem please contact your administrator or our customer support"))));
11113
+ /* @__PURE__ */ React92.createElement("path", { d: "M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z" })
11114
+ )), /* @__PURE__ */ React92.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.title) || "You don't have permission"), /* @__PURE__ */ React92.createElement("div", null, (texts == null ? void 0 : texts.subtitle) || "If you think this is a problem please contact your administrator or our customer support"))));
11083
11115
  };
11084
11116
 
11085
11117
  // blocks/misc/ContactForm.tsx
11086
- import React92 from "react";
11118
+ import React93 from "react";
11087
11119
  import { useForm as useForm9, Controller as Controller9 } from "react-hook-form";
11088
11120
  import { zodResolver as zodResolver8 } from "@hookform/resolvers/zod";
11089
11121
  import * as z8 from "zod";
@@ -11155,7 +11187,7 @@ var ContactForm = ({
11155
11187
  console.log("Form is submitted but onSubmit prop is missing");
11156
11188
  }
11157
11189
  };
11158
- return /* @__PURE__ */ React92.createElement(
11190
+ return /* @__PURE__ */ React93.createElement(
11159
11191
  Card,
11160
11192
  {
11161
11193
  className: cn(
@@ -11164,7 +11196,7 @@ var ContactForm = ({
11164
11196
  ),
11165
11197
  style: cardless ? { boxShadow: "none" } : void 0
11166
11198
  },
11167
- /* @__PURE__ */ React92.createElement(CardContent, { headless: true, className: cardless ? "!hawa-p-0" : "" }, /* @__PURE__ */ React92.createElement(
11199
+ /* @__PURE__ */ React93.createElement(CardContent, { headless: true, className: cardless ? "!hawa-p-0" : "" }, /* @__PURE__ */ React93.createElement(
11168
11200
  "form",
11169
11201
  {
11170
11202
  noValidate: true,
@@ -11173,7 +11205,7 @@ var ContactForm = ({
11173
11205
  id: formId,
11174
11206
  autoComplete: formAutoComplete
11175
11207
  },
11176
- /* @__PURE__ */ React92.createElement(
11208
+ /* @__PURE__ */ React93.createElement(
11177
11209
  "div",
11178
11210
  {
11179
11211
  className: cn(
@@ -11184,14 +11216,14 @@ var ContactForm = ({
11184
11216
  }
11185
11217
  )
11186
11218
  },
11187
- /* @__PURE__ */ React92.createElement(
11219
+ /* @__PURE__ */ React93.createElement(
11188
11220
  Controller9,
11189
11221
  {
11190
11222
  control,
11191
11223
  name: "name",
11192
11224
  render: ({ field }) => {
11193
11225
  var _a2;
11194
- return /* @__PURE__ */ React92.createElement(
11226
+ return /* @__PURE__ */ React93.createElement(
11195
11227
  Input,
11196
11228
  {
11197
11229
  label: (texts == null ? void 0 : texts.name.label) || "Name",
@@ -11204,14 +11236,14 @@ var ContactForm = ({
11204
11236
  }
11205
11237
  }
11206
11238
  ),
11207
- /* @__PURE__ */ React92.createElement(
11239
+ /* @__PURE__ */ React93.createElement(
11208
11240
  Controller9,
11209
11241
  {
11210
11242
  control,
11211
11243
  name: "email",
11212
11244
  render: ({ field }) => {
11213
11245
  var _a2;
11214
- return /* @__PURE__ */ React92.createElement(
11246
+ return /* @__PURE__ */ React93.createElement(
11215
11247
  Input,
11216
11248
  {
11217
11249
  label: (texts == null ? void 0 : texts.email.label) || "Email",
@@ -11227,7 +11259,7 @@ var ContactForm = ({
11227
11259
  ),
11228
11260
  customFields && customFields.map((customField) => {
11229
11261
  console.log("custom", customField);
11230
- return /* @__PURE__ */ React92.createElement(
11262
+ return /* @__PURE__ */ React93.createElement(
11231
11263
  Controller9,
11232
11264
  {
11233
11265
  control,
@@ -11237,7 +11269,7 @@ var ContactForm = ({
11237
11269
  switch (type) {
11238
11270
  case "text":
11239
11271
  case "number":
11240
- return /* @__PURE__ */ React92.createElement(
11272
+ return /* @__PURE__ */ React93.createElement(
11241
11273
  Input,
11242
11274
  {
11243
11275
  id: customField.name,
@@ -11248,7 +11280,7 @@ var ContactForm = ({
11248
11280
  }
11249
11281
  );
11250
11282
  case "select":
11251
- return /* @__PURE__ */ React92.createElement(
11283
+ return /* @__PURE__ */ React93.createElement(
11252
11284
  Select,
11253
11285
  {
11254
11286
  label,
@@ -11258,20 +11290,20 @@ var ContactForm = ({
11258
11290
  }
11259
11291
  );
11260
11292
  default:
11261
- return /* @__PURE__ */ React92.createElement("div", null, "Unknown type");
11293
+ return /* @__PURE__ */ React93.createElement("div", null, "Unknown type");
11262
11294
  }
11263
11295
  }
11264
11296
  }
11265
11297
  );
11266
11298
  }),
11267
- /* @__PURE__ */ React92.createElement(
11299
+ /* @__PURE__ */ React93.createElement(
11268
11300
  Controller9,
11269
11301
  {
11270
11302
  control,
11271
11303
  name: "message",
11272
11304
  render: ({ field }) => {
11273
11305
  var _a2;
11274
- return /* @__PURE__ */ React92.createElement(
11306
+ return /* @__PURE__ */ React93.createElement(
11275
11307
  Textarea,
11276
11308
  {
11277
11309
  label: (texts == null ? void 0 : texts.message.label) || "Message",
@@ -11288,19 +11320,19 @@ var ContactForm = ({
11288
11320
  }
11289
11321
  }
11290
11322
  ),
11291
- /* @__PURE__ */ React92.createElement(Button, { type: "submit", className: "hawa-w-full" }, (texts == null ? void 0 : texts.submit) || "Submit")
11323
+ /* @__PURE__ */ React93.createElement(Button, { type: "submit", className: "hawa-w-full" }, (texts == null ? void 0 : texts.submit) || "Submit")
11292
11324
  ))
11293
11325
  );
11294
11326
  };
11295
11327
 
11296
11328
  // blocks/pricing/PricingPlans.tsx
11297
- import React98 from "react";
11329
+ import React99 from "react";
11298
11330
 
11299
11331
  // blocks/cards/ActionCard.tsx
11300
- import React93, { useState as useState33 } from "react";
11332
+ import React94, { useState as useState33 } from "react";
11301
11333
  var ActionCard = (props) => {
11302
11334
  const [hovered, setHovered] = useState33(false);
11303
- return /* @__PURE__ */ React93.createElement("div", { className: "hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-gap-1" }, /* @__PURE__ */ React93.createElement(
11335
+ return /* @__PURE__ */ React94.createElement("div", { className: "hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-gap-1" }, /* @__PURE__ */ React94.createElement(
11304
11336
  "div",
11305
11337
  {
11306
11338
  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",
@@ -11310,7 +11342,7 @@ var ActionCard = (props) => {
11310
11342
  onMouseEnter: () => setHovered(true),
11311
11343
  onMouseLeave: () => setHovered(false)
11312
11344
  },
11313
- props.blank ? /* @__PURE__ */ React93.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center " }, /* @__PURE__ */ React93.createElement(
11345
+ props.blank ? /* @__PURE__ */ React94.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center " }, /* @__PURE__ */ React94.createElement(
11314
11346
  "svg",
11315
11347
  {
11316
11348
  className: "hawa-h-10 hawa-w-10 hawa-text-foreground",
@@ -11322,11 +11354,11 @@ var ActionCard = (props) => {
11322
11354
  width: "1em",
11323
11355
  xmlns: "http://www.w3.org/2000/svg"
11324
11356
  },
11325
- /* @__PURE__ */ React93.createElement("path", { d: "M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z" })
11326
- )) : /* @__PURE__ */ React93.createElement("div", { className: "hawa-absolute hawa-inset-0 hawa-rounded hawa-bg-black hawa-opacity-50" }),
11327
- /* @__PURE__ */ React93.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),
11328
- !props.blank && /* @__PURE__ */ React93.createElement("div", { className: "hawa-relative hawa-p-4" }, /* @__PURE__ */ React93.createElement("h1", { className: "hawa-text-white" }, props.title), /* @__PURE__ */ React93.createElement("p", { className: "hawa-text-white" }, props.subtitle))
11329
- ), /* @__PURE__ */ React93.createElement(
11357
+ /* @__PURE__ */ React94.createElement("path", { d: "M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z" })
11358
+ )) : /* @__PURE__ */ React94.createElement("div", { className: "hawa-absolute hawa-inset-0 hawa-rounded hawa-bg-black hawa-opacity-50" }),
11359
+ /* @__PURE__ */ React94.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),
11360
+ !props.blank && /* @__PURE__ */ React94.createElement("div", { className: "hawa-relative hawa-p-4" }, /* @__PURE__ */ React94.createElement("h1", { className: "hawa-text-white" }, props.title), /* @__PURE__ */ React94.createElement("p", { className: "hawa-text-white" }, props.subtitle))
11361
+ ), /* @__PURE__ */ React94.createElement(
11330
11362
  "div",
11331
11363
  {
11332
11364
  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"}`
@@ -11336,7 +11368,7 @@ var ActionCard = (props) => {
11336
11368
  };
11337
11369
 
11338
11370
  // blocks/cards/AdCard.tsx
11339
- import React94, { useState as useState34, useEffect as useEffect20, useRef as useRef14 } from "react";
11371
+ import React95, { useState as useState34, useEffect as useEffect20, useRef as useRef14 } from "react";
11340
11372
  var AdCard = ({
11341
11373
  orientation = "vertical",
11342
11374
  ...props
@@ -11369,21 +11401,21 @@ var AdCard = ({
11369
11401
  horizontal: "hawa-w-auto hawa-h-full hawa-bg-blue-500 hawa-rounded-inner",
11370
11402
  vertical: "hawa-bg-blue-500 hawa-rounded-inner hawa-w-auto "
11371
11403
  };
11372
- return /* @__PURE__ */ React94.createElement("div", { ref: adRef }, /* @__PURE__ */ React94.createElement(
11404
+ return /* @__PURE__ */ React95.createElement("div", { ref: adRef }, /* @__PURE__ */ React95.createElement(
11373
11405
  "div",
11374
11406
  {
11375
11407
  className: cn(cardStyles[orientation], props.className),
11376
11408
  onClick: props.handleClick
11377
11409
  },
11378
- /* @__PURE__ */ React94.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full hawa-max-w-fit hawa-items-start " }, /* @__PURE__ */ React94.createElement(
11410
+ /* @__PURE__ */ React95.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full hawa-max-w-fit hawa-items-start " }, /* @__PURE__ */ React95.createElement(
11379
11411
  "img",
11380
11412
  {
11381
11413
  src: props.imageURL ? props.imageURL : "https://via.placeholder.com/50",
11382
11414
  className: imageStyles[orientation]
11383
11415
  }
11384
11416
  )),
11385
- /* @__PURE__ */ React94.createElement("div", { className: "hawa-w-full hawa-text-xs" }, /* @__PURE__ */ React94.createElement("div", { className: "hawa-font-bold" }, props.title), /* @__PURE__ */ React94.createElement("div", { className: "hawa-text-[12px]" }, props.description)),
11386
- props.canHide && /* @__PURE__ */ React94.createElement(
11417
+ /* @__PURE__ */ React95.createElement("div", { className: "hawa-w-full hawa-text-xs" }, /* @__PURE__ */ React95.createElement("div", { className: "hawa-font-bold" }, props.title), /* @__PURE__ */ React95.createElement("div", { className: "hawa-text-[12px]" }, props.description)),
11418
+ props.canHide && /* @__PURE__ */ React95.createElement(
11387
11419
  "span",
11388
11420
  {
11389
11421
  onClick: (e) => {
@@ -11409,7 +11441,7 @@ var AdCard = ({
11409
11441
  };
11410
11442
 
11411
11443
  // blocks/cards/PricingCard.tsx
11412
- import React95 from "react";
11444
+ import React96 from "react";
11413
11445
  var PricingCard = ({
11414
11446
  size = "medium",
11415
11447
  direction = "ltr",
@@ -11424,13 +11456,13 @@ var PricingCard = ({
11424
11456
  medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background ",
11425
11457
  large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background "
11426
11458
  };
11427
- return /* @__PURE__ */ React95.createElement(React95.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ React95.createElement(
11459
+ return /* @__PURE__ */ React96.createElement(React96.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ React96.createElement(
11428
11460
  Skeleton,
11429
11461
  {
11430
11462
  className: cn(cardSizes[size], "hawa-h-[200px]"),
11431
11463
  fade: "bottom"
11432
11464
  }
11433
- ) : /* @__PURE__ */ React95.createElement(
11465
+ ) : /* @__PURE__ */ React96.createElement(
11434
11466
  Card,
11435
11467
  {
11436
11468
  dir: direction,
@@ -11441,7 +11473,7 @@ var PricingCard = ({
11441
11473
  recommended ? "hawa-rounded hawa-rounded-t-none" : "hawa-rounded"
11442
11474
  )
11443
11475
  },
11444
- recommended && /* @__PURE__ */ React95.createElement(
11476
+ recommended && /* @__PURE__ */ React96.createElement(
11445
11477
  "div",
11446
11478
  {
11447
11479
  className: "hawa-absolute -hawa-left-[1px] hawa-top-0 -hawa-translate-y-full hawa-rounded-t hawa-border hawa-bg-primary hawa-p-2 hawa-text-center hawa-text-primary-foreground",
@@ -11449,7 +11481,7 @@ var PricingCard = ({
11449
11481
  },
11450
11482
  ((_a = props.texts) == null ? void 0 : _a.recommended) || "RECOMMENDED"
11451
11483
  ),
11452
- /* @__PURE__ */ React95.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React95.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ React95.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ React95.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, (_c = props.texts) == null ? void 0 : _c.subtitle), props.discount && /* @__PURE__ */ React95.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ React95.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ React95.createElement("div", { className: " hawa-flex hawa-items-baseline hawa-text-primary" }, props.isLoadingPrice ? /* @__PURE__ */ React95.createElement(Skeleton, { className: "hawa-h-[48px] hawa-w-full hawa-max-w-[200px] hawa-p-0 " }) : /* @__PURE__ */ React95.createElement(React95.Fragment, null, props.noPrice ? /* @__PURE__ */ React95.createElement("div", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, ((_d = props.texts) == null ? void 0 : _d.priceless) || "Contact Us") : /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-end hawa-gap-2" }, props.oldPrice && props.oldPrice > 0 && /* @__PURE__ */ React95.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + ((_e = props.texts) == null ? void 0 : _e.currencyText)), /* @__PURE__ */ React95.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, props.price)), /* @__PURE__ */ React95.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, (_f = props.texts) == null ? void 0 : _f.currencyText)), /* @__PURE__ */ React95.createElement("span", { className: "hawa-ml-1 hawa-whitespace-nowrap hawa-text-xl hawa-font-normal hawa-text-primary/70" }, "/ ", (_g = props.texts) == null ? void 0 : _g.cycleText)))), endButton && /* @__PURE__ */ React95.createElement(Separator2, null), /* @__PURE__ */ React95.createElement(
11484
+ /* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React96.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ React96.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ React96.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, (_c = props.texts) == null ? void 0 : _c.subtitle), props.discount && /* @__PURE__ */ React96.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ React96.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ React96.createElement("div", { className: " hawa-flex hawa-items-baseline hawa-text-primary" }, props.isLoadingPrice ? /* @__PURE__ */ React96.createElement(Skeleton, { className: "hawa-h-[48px] hawa-w-full hawa-max-w-[200px] hawa-p-0 " }) : /* @__PURE__ */ React96.createElement(React96.Fragment, null, props.noPrice ? /* @__PURE__ */ React96.createElement("div", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, ((_d = props.texts) == null ? void 0 : _d.priceless) || "Contact Us") : /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-end hawa-gap-2" }, props.oldPrice && props.oldPrice > 0 && /* @__PURE__ */ React96.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + ((_e = props.texts) == null ? void 0 : _e.currencyText)), /* @__PURE__ */ React96.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, props.price)), /* @__PURE__ */ React96.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, (_f = props.texts) == null ? void 0 : _f.currencyText)), /* @__PURE__ */ React96.createElement("span", { className: "hawa-ml-1 hawa-whitespace-nowrap hawa-text-xl hawa-font-normal hawa-text-primary/70" }, "/ ", (_g = props.texts) == null ? void 0 : _g.cycleText)))), endButton && /* @__PURE__ */ React96.createElement(Separator2, null), /* @__PURE__ */ React96.createElement(
11453
11485
  "div",
11454
11486
  {
11455
11487
  className: cn(
@@ -11457,9 +11489,9 @@ var PricingCard = ({
11457
11489
  endButton ? "hawa-flex-col" : "hawa-flex-col-reverse"
11458
11490
  )
11459
11491
  },
11460
- props.features && /* @__PURE__ */ React95.createElement("ul", { role: "list", className: "hawa-space-y-0 hawa-overflow-x-auto" }, (_h = props.features) == null ? void 0 : _h.map((feature, o) => {
11492
+ props.features && /* @__PURE__ */ React96.createElement("ul", { role: "list", className: "hawa-space-y-0 hawa-overflow-x-auto" }, (_h = props.features) == null ? void 0 : _h.map((feature, o) => {
11461
11493
  var _a2;
11462
- return /* @__PURE__ */ React95.createElement(
11494
+ return /* @__PURE__ */ React96.createElement(
11463
11495
  "li",
11464
11496
  {
11465
11497
  key: o,
@@ -11468,7 +11500,7 @@ var PricingCard = ({
11468
11500
  !feature.included && "hawa-line-through"
11469
11501
  )
11470
11502
  },
11471
- /* @__PURE__ */ React95.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center" }, feature.included ? /* @__PURE__ */ React95.createElement(
11503
+ /* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center" }, feature.included ? /* @__PURE__ */ React96.createElement(
11472
11504
  "svg",
11473
11505
  {
11474
11506
  "aria-label": "Check Icon",
@@ -11477,7 +11509,7 @@ var PricingCard = ({
11477
11509
  fill: "currentColor",
11478
11510
  viewBox: "0 0 20 20"
11479
11511
  },
11480
- /* @__PURE__ */ React95.createElement(
11512
+ /* @__PURE__ */ React96.createElement(
11481
11513
  "path",
11482
11514
  {
11483
11515
  fillRule: "evenodd",
@@ -11485,7 +11517,7 @@ var PricingCard = ({
11485
11517
  clipRule: "evenodd"
11486
11518
  }
11487
11519
  )
11488
- ) : /* @__PURE__ */ React95.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ React95.createElement("span", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap hawa-text-start hawa-font-normal hawa-leading-tight hawa-text-primary/70 " }, feature.text, " ", feature.soon && feature.included && /* @__PURE__ */ React95.createElement(
11520
+ ) : /* @__PURE__ */ React96.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ React96.createElement("span", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap hawa-text-start hawa-font-normal hawa-leading-tight hawa-text-primary/70 " }, feature.text, " ", feature.soon && feature.included && /* @__PURE__ */ React96.createElement(
11489
11521
  Chip,
11490
11522
  {
11491
11523
  label: ((_a2 = props.texts) == null ? void 0 : _a2.soon) || "",
@@ -11493,13 +11525,13 @@ var PricingCard = ({
11493
11525
  size: "small"
11494
11526
  }
11495
11527
  ))),
11496
- feature.hint && /* @__PURE__ */ React95.createElement(
11528
+ feature.hint && /* @__PURE__ */ React96.createElement(
11497
11529
  Tooltip,
11498
11530
  {
11499
11531
  content: feature.hint,
11500
11532
  side: feature.hintSide
11501
11533
  },
11502
- /* @__PURE__ */ React95.createElement(
11534
+ /* @__PURE__ */ React96.createElement(
11503
11535
  "svg",
11504
11536
  {
11505
11537
  xmlns: "http://www.w3.org/2000/svg",
@@ -11511,14 +11543,14 @@ var PricingCard = ({
11511
11543
  strokeLinecap: "round",
11512
11544
  strokeLinejoin: "round"
11513
11545
  },
11514
- /* @__PURE__ */ React95.createElement("circle", { cx: "12", cy: "12", r: "10" }),
11515
- /* @__PURE__ */ React95.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
11516
- /* @__PURE__ */ React95.createElement("path", { d: "M12 17h.01" })
11546
+ /* @__PURE__ */ React96.createElement("circle", { cx: "12", cy: "12", r: "10" }),
11547
+ /* @__PURE__ */ React96.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
11548
+ /* @__PURE__ */ React96.createElement("path", { d: "M12 17h.01" })
11517
11549
  )
11518
11550
  )
11519
11551
  );
11520
11552
  })),
11521
- /* @__PURE__ */ React95.createElement(
11553
+ /* @__PURE__ */ React96.createElement(
11522
11554
  Button,
11523
11555
  {
11524
11556
  onClick: props.onPlanClicked,
@@ -11532,7 +11564,7 @@ var PricingCard = ({
11532
11564
  };
11533
11565
 
11534
11566
  // blocks/cards/ItemCard.tsx
11535
- import React96, { useEffect as useEffect21, useState as useState35 } from "react";
11567
+ import React97, { useEffect as useEffect21, useState as useState35 } from "react";
11536
11568
  var ItemCard = ({
11537
11569
  actions,
11538
11570
  counts,
@@ -11574,7 +11606,7 @@ var ItemCard = ({
11574
11606
  };
11575
11607
  return () => window.onclick = null;
11576
11608
  }, [openActionHeader]);
11577
- return /* @__PURE__ */ React96.createElement(
11609
+ return /* @__PURE__ */ React97.createElement(
11578
11610
  "div",
11579
11611
  {
11580
11612
  className: cn(
@@ -11590,7 +11622,7 @@ var ItemCard = ({
11590
11622
  }
11591
11623
  }
11592
11624
  },
11593
- cardImage && /* @__PURE__ */ React96.createElement("div", { className: "hawa-group hawa-relative hawa-overflow-clip" }, /* @__PURE__ */ React96.createElement(
11625
+ cardImage && /* @__PURE__ */ React97.createElement("div", { className: "hawa-group hawa-relative hawa-overflow-clip" }, /* @__PURE__ */ React97.createElement(
11594
11626
  "img",
11595
11627
  {
11596
11628
  src: cardImage,
@@ -11599,7 +11631,7 @@ var ItemCard = ({
11599
11631
  clickableImage ? "hawa-overflow-clip hawa-transition-all group-hover:hawa-blur-lg" : ""
11600
11632
  )
11601
11633
  }
11602
- ), clickableImage && /* @__PURE__ */ React96.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React96.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-flex hawa-h-full hawa-w-full hawa-items-center hawa-justify-center hawa-opacity-0 hawa-transition-all group-hover:hawa-opacity-100 " }, /* @__PURE__ */ React96.createElement(
11634
+ ), clickableImage && /* @__PURE__ */ React97.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React97.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-flex hawa-h-full hawa-w-full hawa-items-center hawa-justify-center hawa-opacity-0 hawa-transition-all group-hover:hawa-opacity-100 " }, /* @__PURE__ */ React97.createElement(
11603
11635
  Button,
11604
11636
  {
11605
11637
  variant: "secondary",
@@ -11609,19 +11641,19 @@ var ItemCard = ({
11609
11641
  clickableImageActionIcon,
11610
11642
  clickableImageActionText || "Click"
11611
11643
  )))),
11612
- /* @__PURE__ */ React96.createElement("div", { className: "hawa-relative hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-justify-between hawa-p-4 xs:hawa-p-6 xs:hawa-px-2 xs:hawa-pb-2" }, headerActions && /* @__PURE__ */ React96.createElement("div", { className: "hawa-absolute hawa-end-0 hawa-top-0 hawa-flex hawa-justify-end hawa-pe-3 hawa-pt-3" }, /* @__PURE__ */ React96.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React96.createElement(
11644
+ /* @__PURE__ */ React97.createElement("div", { className: "hawa-relative hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-justify-between hawa-p-4 xs:hawa-p-6 xs:hawa-px-2 xs:hawa-pb-2" }, headerActions && /* @__PURE__ */ React97.createElement("div", { className: "hawa-absolute hawa-end-0 hawa-top-0 hawa-flex hawa-justify-end hawa-pe-3 hawa-pt-3" }, /* @__PURE__ */ React97.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React97.createElement(
11613
11645
  DropdownMenu,
11614
11646
  {
11615
11647
  items: headerActions,
11616
- trigger: /* @__PURE__ */ React96.createElement(
11648
+ trigger: /* @__PURE__ */ React97.createElement(
11617
11649
  Button,
11618
11650
  {
11619
11651
  variant: "ghost",
11620
11652
  size: "smallIcon",
11621
11653
  onClick: handleOpenActionHeader
11622
11654
  },
11623
- /* @__PURE__ */ React96.createElement("span", { className: "hawa-sr-only" }, "Open dropdown"),
11624
- /* @__PURE__ */ React96.createElement(
11655
+ /* @__PURE__ */ React97.createElement("span", { className: "hawa-sr-only" }, "Open dropdown"),
11656
+ /* @__PURE__ */ React97.createElement(
11625
11657
  "svg",
11626
11658
  {
11627
11659
  className: "hawa-h-5 hawa-w-5",
@@ -11629,11 +11661,11 @@ var ItemCard = ({
11629
11661
  fill: "currentColor",
11630
11662
  viewBox: "0 0 20 20"
11631
11663
  },
11632
- /* @__PURE__ */ React96.createElement("path", { d: "M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" })
11664
+ /* @__PURE__ */ React97.createElement("path", { d: "M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" })
11633
11665
  )
11634
11666
  )
11635
11667
  }
11636
- ))), /* @__PURE__ */ React96.createElement("div", { className: " hawa-mx-2" }, header && /* @__PURE__ */ React96.createElement("h5", { className: "hawa-mb-2 hawa-text-2xl hawa-font-bold hawa-tracking-tight " }, header), content && /* @__PURE__ */ React96.createElement("span", { className: "hawa-w-full hawa-font-normal " }, content)), actions || counts ? /* @__PURE__ */ React96.createElement(
11668
+ ))), /* @__PURE__ */ React97.createElement("div", { className: " hawa-mx-2" }, header && /* @__PURE__ */ React97.createElement("h5", { className: "hawa-mb-2 hawa-text-2xl hawa-font-bold hawa-tracking-tight " }, header), content && /* @__PURE__ */ React97.createElement("span", { className: "hawa-w-full hawa-font-normal " }, content)), actions || counts ? /* @__PURE__ */ React97.createElement(
11637
11669
  "div",
11638
11670
  {
11639
11671
  className: cn(
@@ -11643,15 +11675,15 @@ var ItemCard = ({
11643
11675
  )
11644
11676
  },
11645
11677
  counts,
11646
- /* @__PURE__ */ React96.createElement(StopPropagationWrapper, null, actions)
11678
+ /* @__PURE__ */ React97.createElement(StopPropagationWrapper, null, actions)
11647
11679
  ) : null)
11648
11680
  );
11649
11681
  };
11650
11682
 
11651
11683
  // blocks/cards/LandingCard.tsx
11652
- import React97 from "react";
11684
+ import React98 from "react";
11653
11685
  var LandingCard = (props) => {
11654
- return /* @__PURE__ */ React97.createElement(Card, { className: props.className }, /* @__PURE__ */ React97.createElement(CardHeader, null, props.icon, /* @__PURE__ */ React97.createElement(CardTitle, null, props.title), /* @__PURE__ */ React97.createElement(CardDescription, null, props.subtitle)));
11686
+ return /* @__PURE__ */ React98.createElement(Card, { className: props.className }, /* @__PURE__ */ React98.createElement(CardHeader, null, props.icon, /* @__PURE__ */ React98.createElement(CardTitle, null, props.title), /* @__PURE__ */ React98.createElement(CardDescription, null, props.subtitle)));
11655
11687
  };
11656
11688
 
11657
11689
  // blocks/pricing/PricingPlans.tsx
@@ -11660,7 +11692,7 @@ var PricingPlans = ({
11660
11692
  cardsContainerProps,
11661
11693
  ...props
11662
11694
  }) => {
11663
- return /* @__PURE__ */ React98.createElement("div", { ...mainContainerProps }, /* @__PURE__ */ React98.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-justify-between" }, /* @__PURE__ */ React98.createElement(
11695
+ return /* @__PURE__ */ React99.createElement("div", { ...mainContainerProps }, /* @__PURE__ */ React99.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-justify-between" }, /* @__PURE__ */ React99.createElement(
11664
11696
  Radio,
11665
11697
  {
11666
11698
  name: "cycle",
@@ -11673,7 +11705,7 @@ var PricingPlans = ({
11673
11705
  }
11674
11706
  }
11675
11707
  }
11676
- ), /* @__PURE__ */ React98.createElement(
11708
+ ), /* @__PURE__ */ React99.createElement(
11677
11709
  Radio,
11678
11710
  {
11679
11711
  name: "currency",
@@ -11686,7 +11718,7 @@ var PricingPlans = ({
11686
11718
  }
11687
11719
  }
11688
11720
  }
11689
- )), /* @__PURE__ */ React98.createElement(
11721
+ )), /* @__PURE__ */ React99.createElement(
11690
11722
  "div",
11691
11723
  {
11692
11724
  className: "hawa-inline-grid hawa-w-full hawa-grid-cols-[repeat(auto-fit,_minmax(300px,_1fr))] hawa-gap-4",
@@ -11694,7 +11726,7 @@ var PricingPlans = ({
11694
11726
  },
11695
11727
  props.plans.map((plan, index) => {
11696
11728
  var _a, _b;
11697
- return /* @__PURE__ */ React98.createElement(
11729
+ return /* @__PURE__ */ React99.createElement(
11698
11730
  PricingCard,
11699
11731
  {
11700
11732
  key: index,
@@ -11725,7 +11757,7 @@ var PricingPlans = ({
11725
11757
  };
11726
11758
 
11727
11759
  // blocks/pricing/ComparingPlans.tsx
11728
- import React99 from "react";
11760
+ import React100 from "react";
11729
11761
  var ComparingPlans = (props) => {
11730
11762
  const uniqueFeatures = Array.from(
11731
11763
  new Set(
@@ -11734,7 +11766,7 @@ var ComparingPlans = (props) => {
11734
11766
  )
11735
11767
  )
11736
11768
  );
11737
- return /* @__PURE__ */ React99.createElement("div", { id: "detailed-pricing", className: "hawa-w-full" }, /* @__PURE__ */ React99.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-flex-col hawa-justify-between hawa-gap-2 sm:hawa-flex-row" }, /* @__PURE__ */ React99.createElement(
11769
+ return /* @__PURE__ */ React100.createElement("div", { id: "detailed-pricing", className: "hawa-w-full" }, /* @__PURE__ */ React100.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-flex-col hawa-justify-between hawa-gap-2 sm:hawa-flex-row" }, /* @__PURE__ */ React100.createElement(
11738
11770
  Radio,
11739
11771
  {
11740
11772
  name: "cycle",
@@ -11749,7 +11781,7 @@ var ComparingPlans = (props) => {
11749
11781
  }
11750
11782
  }
11751
11783
  }
11752
- ), /* @__PURE__ */ React99.createElement(
11784
+ ), /* @__PURE__ */ React100.createElement(
11753
11785
  Radio,
11754
11786
  {
11755
11787
  name: "currency",
@@ -11764,7 +11796,7 @@ var ComparingPlans = (props) => {
11764
11796
  }
11765
11797
  }
11766
11798
  }
11767
- )), /* @__PURE__ */ React99.createElement(
11799
+ )), /* @__PURE__ */ React100.createElement(
11768
11800
  "div",
11769
11801
  {
11770
11802
  className: cn(
@@ -11775,16 +11807,16 @@ var ComparingPlans = (props) => {
11775
11807
  top: props.topPosition || 0
11776
11808
  }
11777
11809
  },
11778
- /* @__PURE__ */ React99.createElement("div", { className: "hawa-flex hawa-items-center" }),
11779
- props.plans.map((plan, i) => /* @__PURE__ */ React99.createElement(
11810
+ /* @__PURE__ */ React100.createElement("div", { className: "hawa-flex hawa-items-center" }),
11811
+ props.plans.map((plan, i) => /* @__PURE__ */ React100.createElement(
11780
11812
  "div",
11781
11813
  {
11782
11814
  key: i,
11783
11815
  className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2"
11784
11816
  },
11785
- /* @__PURE__ */ React99.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React99.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React99.createElement("span", { className: "hawa-text-md hawa-font-bold " }, plan.texts.title), /* @__PURE__ */ React99.createElement("span", { className: "hawa-text-md hawa-font-normal hawa-text-muted-foreground " }, plan.texts.subtitle)), /* @__PURE__ */ React99.createElement("div", { className: " hawa-flex hawa-items-baseline " }, /* @__PURE__ */ React99.createElement(React99.Fragment, null, /* @__PURE__ */ React99.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ React99.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ React99.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal " }, "/ ", plan.texts.cycleText)))
11817
+ /* @__PURE__ */ React100.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React100.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React100.createElement("span", { className: "hawa-text-md hawa-font-bold " }, plan.texts.title), /* @__PURE__ */ React100.createElement("span", { className: "hawa-text-md hawa-font-normal hawa-text-muted-foreground " }, plan.texts.subtitle)), /* @__PURE__ */ React100.createElement("div", { className: " hawa-flex hawa-items-baseline " }, /* @__PURE__ */ React100.createElement(React100.Fragment, null, /* @__PURE__ */ React100.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ React100.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ React100.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal " }, "/ ", plan.texts.cycleText)))
11786
11818
  ))
11787
- ), /* @__PURE__ */ React99.createElement(
11819
+ ), /* @__PURE__ */ React100.createElement(
11788
11820
  ScrollArea,
11789
11821
  {
11790
11822
  className: "hawa-h-fit hawa-rounded hawa-rounded-t-none hawa-border hawa-border-t-0 hawa-bg-background",
@@ -11792,7 +11824,7 @@ var ComparingPlans = (props) => {
11792
11824
  },
11793
11825
  uniqueFeatures.map((featureText, featureIndex) => {
11794
11826
  var _a, _b, _c, _d;
11795
- return /* @__PURE__ */ React99.createElement(
11827
+ return /* @__PURE__ */ React100.createElement(
11796
11828
  "div",
11797
11829
  {
11798
11830
  key: featureIndex,
@@ -11801,11 +11833,11 @@ var ComparingPlans = (props) => {
11801
11833
  featureIndex === 0 ? "" : "hawa-border-t"
11802
11834
  )
11803
11835
  },
11804
- /* @__PURE__ */ React99.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-foreground" }, featureText, props.plans.some(
11836
+ /* @__PURE__ */ React100.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-foreground" }, featureText, props.plans.some(
11805
11837
  (plan) => plan.features.some(
11806
11838
  (feature) => feature.text === featureText && feature.hint
11807
11839
  )
11808
- ) && /* @__PURE__ */ React99.createElement(
11840
+ ) && /* @__PURE__ */ React100.createElement(
11809
11841
  Tooltip,
11810
11842
  {
11811
11843
  side: "right",
@@ -11820,7 +11852,7 @@ var ComparingPlans = (props) => {
11820
11852
  (feature) => feature.text === featureText
11821
11853
  )) == null ? void 0 : _b.hint
11822
11854
  },
11823
- /* @__PURE__ */ React99.createElement(
11855
+ /* @__PURE__ */ React100.createElement(
11824
11856
  "svg",
11825
11857
  {
11826
11858
  stroke: "currentColor",
@@ -11830,13 +11862,13 @@ var ComparingPlans = (props) => {
11830
11862
  height: "1em",
11831
11863
  width: "1em"
11832
11864
  },
11833
- /* @__PURE__ */ React99.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" })
11865
+ /* @__PURE__ */ React100.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" })
11834
11866
  )
11835
11867
  ), props.plans.some(
11836
11868
  (plan) => plan.features.some(
11837
11869
  (feature) => feature.text === featureText && feature.soon
11838
11870
  )
11839
- ) && /* @__PURE__ */ React99.createElement(
11871
+ ) && /* @__PURE__ */ React100.createElement(
11840
11872
  Chip,
11841
11873
  {
11842
11874
  label: ((_d = (_c = props.plans.find(
@@ -11850,26 +11882,26 @@ var ComparingPlans = (props) => {
11850
11882
  const feature = plan.features.find(
11851
11883
  (f) => f.text === featureText
11852
11884
  );
11853
- return /* @__PURE__ */ React99.createElement(
11885
+ return /* @__PURE__ */ React100.createElement(
11854
11886
  "div",
11855
11887
  {
11856
11888
  key: planIndex,
11857
11889
  className: "hawa-flex hawa-flex-col hawa-items-center hawa-text-center"
11858
11890
  },
11859
- (feature == null ? void 0 : feature.included) ? /* @__PURE__ */ React99.createElement(CheckMark, { className: "hawa-text-foreground" }) : /* @__PURE__ */ React99.createElement(UncheckMark, { className: "hawa-text-foreground" })
11891
+ (feature == null ? void 0 : feature.included) ? /* @__PURE__ */ React100.createElement(CheckMark, { className: "hawa-text-foreground" }) : /* @__PURE__ */ React100.createElement(UncheckMark, { className: "hawa-text-foreground" })
11860
11892
  );
11861
11893
  })
11862
11894
  );
11863
11895
  })
11864
- ), props.showButtons && /* @__PURE__ */ React99.createElement("div", { className: "hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5" }, /* @__PURE__ */ React99.createElement("div", { className: "hawa-flex hawa-items-center" }), props.plans.map((plan, i) => {
11896
+ ), props.showButtons && /* @__PURE__ */ React100.createElement("div", { className: "hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5" }, /* @__PURE__ */ React100.createElement("div", { className: "hawa-flex hawa-items-center" }), props.plans.map((plan, i) => {
11865
11897
  var _a;
11866
- return /* @__PURE__ */ React99.createElement(
11898
+ return /* @__PURE__ */ React100.createElement(
11867
11899
  "div",
11868
11900
  {
11869
11901
  key: i,
11870
11902
  className: "hawa-flex hawa-items-center hawa-justify-center"
11871
11903
  },
11872
- /* @__PURE__ */ React99.createElement(
11904
+ /* @__PURE__ */ React100.createElement(
11873
11905
  Button,
11874
11906
  {
11875
11907
  className: "hawa-w-full hawa-max-w-xs",
@@ -11893,7 +11925,7 @@ var ComparingPlans = (props) => {
11893
11925
  };
11894
11926
 
11895
11927
  // blocks/pricing/HorizontalPricing.tsx
11896
- import React100, { useState as useState36 } from "react";
11928
+ import React101, { useState as useState36 } from "react";
11897
11929
  var HorizontalPricing = (props) => {
11898
11930
  const [selectedCard, setSelectedCard] = useState36("");
11899
11931
  let data = [
@@ -11901,7 +11933,7 @@ var HorizontalPricing = (props) => {
11901
11933
  { title: "business", price: "$99", cycle: "/mo" },
11902
11934
  { title: "enterprise", price: "$149", cycle: "/mo" }
11903
11935
  ];
11904
- return /* @__PURE__ */ React100.createElement("div", { className: "hawa-z-10 hawa-w-full hawa-max-w-screen-sm" }, /* @__PURE__ */ React100.createElement("div", { className: "hawa-max-w-2xl " }, /* @__PURE__ */ React100.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, /* @__PURE__ */ React100.createElement(
11936
+ return /* @__PURE__ */ React101.createElement("div", { className: "hawa-z-10 hawa-w-full hawa-max-w-screen-sm" }, /* @__PURE__ */ React101.createElement("div", { className: "hawa-max-w-2xl " }, /* @__PURE__ */ React101.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, /* @__PURE__ */ React101.createElement(
11905
11937
  Radio,
11906
11938
  {
11907
11939
  name: "currency",
@@ -11909,7 +11941,7 @@ var HorizontalPricing = (props) => {
11909
11941
  options: props.currencies,
11910
11942
  defaultValue: props.currentCurrency
11911
11943
  }
11912
- ), /* @__PURE__ */ React100.createElement(
11944
+ ), /* @__PURE__ */ React101.createElement(
11913
11945
  Radio,
11914
11946
  {
11915
11947
  name: "cycle",
@@ -11917,7 +11949,7 @@ var HorizontalPricing = (props) => {
11917
11949
  options: props.billingCycles,
11918
11950
  defaultValue: props.currentCycle
11919
11951
  }
11920
- )), data.map((d, i) => /* @__PURE__ */ React100.createElement(
11952
+ )), data.map((d, i) => /* @__PURE__ */ React101.createElement(
11921
11953
  "label",
11922
11954
  {
11923
11955
  key: i,
@@ -11925,7 +11957,7 @@ var HorizontalPricing = (props) => {
11925
11957
  className: "",
11926
11958
  onClick: () => setSelectedCard(d.title)
11927
11959
  },
11928
- /* @__PURE__ */ React100.createElement(
11960
+ /* @__PURE__ */ React101.createElement(
11929
11961
  "input",
11930
11962
  {
11931
11963
  type: "radio",
@@ -11934,7 +11966,7 @@ var HorizontalPricing = (props) => {
11934
11966
  className: "hawa-peer hawa-appearance-none"
11935
11967
  }
11936
11968
  ),
11937
- /* @__PURE__ */ React100.createElement(
11969
+ /* @__PURE__ */ React101.createElement(
11938
11970
  "div",
11939
11971
  {
11940
11972
  className: cn(
@@ -11942,18 +11974,18 @@ var HorizontalPricing = (props) => {
11942
11974
  "hawa-peer hawa-flex hawa-cursor-pointer hawa-items-center hawa-justify-between hawa-rounded-xl hawa-border hawa-bg-background hawa-px-5 hawa-py-4 hawa-shadow dark:hawa-text-white peer-checked:[&_.active]:hawa-block peer-checked:[&_.default]:hawa-hidden"
11943
11975
  )
11944
11976
  },
11945
- /* @__PURE__ */ React100.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ React100.createElement(CheckIcons, null), /* @__PURE__ */ React100.createElement(
11977
+ /* @__PURE__ */ React101.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ React101.createElement(CheckIcons, null), /* @__PURE__ */ React101.createElement(
11946
11978
  CardText,
11947
11979
  {
11948
11980
  title: "Enterprise",
11949
11981
  subtitle: "For startups and new businesses"
11950
11982
  }
11951
11983
  )),
11952
- /* @__PURE__ */ React100.createElement(CardPrice, { amount: d.price, cycle: d.cycle })
11984
+ /* @__PURE__ */ React101.createElement(CardPrice, { amount: d.price, cycle: d.cycle })
11953
11985
  )
11954
11986
  ))));
11955
11987
  };
11956
- var CheckIcons = () => /* @__PURE__ */ React100.createElement(React100.Fragment, null, /* @__PURE__ */ React100.createElement(
11988
+ var CheckIcons = () => /* @__PURE__ */ React101.createElement(React101.Fragment, null, /* @__PURE__ */ React101.createElement(
11957
11989
  "svg",
11958
11990
  {
11959
11991
  fill: "none",
@@ -11962,7 +11994,7 @@ var CheckIcons = () => /* @__PURE__ */ React100.createElement(React100.Fragment,
11962
11994
  stroke: "currentColor",
11963
11995
  className: "hawa-default hawa-h-8 hawa-w-8 hawa-text-neutral-500"
11964
11996
  },
11965
- /* @__PURE__ */ React100.createElement(
11997
+ /* @__PURE__ */ React101.createElement(
11966
11998
  "path",
11967
11999
  {
11968
12000
  strokeLinecap: "round",
@@ -11970,14 +12002,14 @@ var CheckIcons = () => /* @__PURE__ */ React100.createElement(React100.Fragment,
11970
12002
  d: "M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
11971
12003
  }
11972
12004
  )
11973
- ), /* @__PURE__ */ React100.createElement(
12005
+ ), /* @__PURE__ */ React101.createElement(
11974
12006
  "svg",
11975
12007
  {
11976
12008
  viewBox: "0 0 24 24",
11977
12009
  fill: "currentColor",
11978
12010
  className: "hawa-active hawa-hidden hawa-h-8 hawa-w-8 hawa-text-blue-500"
11979
12011
  },
11980
- /* @__PURE__ */ React100.createElement(
12012
+ /* @__PURE__ */ React101.createElement(
11981
12013
  "path",
11982
12014
  {
11983
12015
  fillRule: "evenodd",
@@ -11986,14 +12018,14 @@ var CheckIcons = () => /* @__PURE__ */ React100.createElement(React100.Fragment,
11986
12018
  }
11987
12019
  )
11988
12020
  ));
11989
- var CardText = (props) => /* @__PURE__ */ React100.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start " }, /* @__PURE__ */ React100.createElement("h2", { className: "hawa-font-medium hawa-text-primary/90 sm:hawa-text-xl" }, props.title), /* @__PURE__ */ React100.createElement("p", { className: "hawa-text-sm hawa-text-primary/60" }, props.subtitle, " "));
11990
- var CardPrice = (props) => /* @__PURE__ */ React100.createElement("h2", { className: "hawa-peer hawa-text-xl hawa-font-semibold hawa-text-primary sm:hawa-text-2xl" }, props.amount, /* @__PURE__ */ React100.createElement("span", { className: "hawa-text-base hawa-font-medium hawa-text-neutral-400" }, props.cycle));
12021
+ var CardText = (props) => /* @__PURE__ */ React101.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start " }, /* @__PURE__ */ React101.createElement("h2", { className: "hawa-font-medium hawa-text-primary/90 sm:hawa-text-xl" }, props.title), /* @__PURE__ */ React101.createElement("p", { className: "hawa-text-sm hawa-text-primary/60" }, props.subtitle, " "));
12022
+ var CardPrice = (props) => /* @__PURE__ */ React101.createElement("h2", { className: "hawa-peer hawa-text-xl hawa-font-semibold hawa-text-primary sm:hawa-text-2xl" }, props.amount, /* @__PURE__ */ React101.createElement("span", { className: "hawa-text-base hawa-font-medium hawa-text-neutral-400" }, props.cycle));
11991
12023
 
11992
12024
  // blocks/Usage.tsx
11993
- import React101 from "react";
12025
+ import React102 from "react";
11994
12026
  var Usage = (props) => {
11995
12027
  var _a;
11996
- return /* @__PURE__ */ React101.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-col hawa-gap-1 hawa-rounded hawa-border hawa-bg-card hawa-p-4" }, /* @__PURE__ */ React101.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, /* @__PURE__ */ React101.createElement("span", { className: "hawa-bg-white-200" }, props.title), props.tooltip && /* @__PURE__ */ React101.createElement(Tooltip, { content: props.tooltip }, /* @__PURE__ */ React101.createElement(
12028
+ return /* @__PURE__ */ React102.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-col hawa-gap-1 hawa-rounded hawa-border hawa-bg-card hawa-p-4" }, /* @__PURE__ */ React102.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, /* @__PURE__ */ React102.createElement("span", { className: "hawa-bg-white-200" }, props.title), props.tooltip && /* @__PURE__ */ React102.createElement(Tooltip, { content: props.tooltip }, /* @__PURE__ */ React102.createElement(
11997
12029
  "svg",
11998
12030
  {
11999
12031
  stroke: "currentColor",
@@ -12004,8 +12036,8 @@ var Usage = (props) => {
12004
12036
  height: "1em",
12005
12037
  width: "1em"
12006
12038
  },
12007
- /* @__PURE__ */ React101.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" })
12008
- ))), /* @__PURE__ */ React101.createElement("div", { className: "hawa-bg-white-100 hawa-flex hawa-flex-row" }, /* @__PURE__ */ React101.createElement("div", null, props.currentUsage), /* @__PURE__ */ React101.createElement("div", null, " (", props.percent, "%)")), /* @__PURE__ */ React101.createElement(Progress, { value: (_a = props.percent) != null ? _a : 0 }));
12039
+ /* @__PURE__ */ React102.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" })
12040
+ ))), /* @__PURE__ */ React102.createElement("div", { className: "hawa-bg-white-100 hawa-flex hawa-flex-row" }, /* @__PURE__ */ React102.createElement("div", null, props.currentUsage), /* @__PURE__ */ React102.createElement("div", null, " (", props.percent, "%)")), /* @__PURE__ */ React102.createElement(Progress, { value: (_a = props.percent) != null ? _a : 0 }));
12009
12041
  };
12010
12042
 
12011
12043
  // hooks/useIsomorphicEffect.ts
@@ -12019,7 +12051,7 @@ import { useState as useState37 } from "react";
12019
12051
  import { useEffect as useEffect23, useRef as useRef15, useState as useState38 } from "react";
12020
12052
 
12021
12053
  // hooks/useToast.ts
12022
- import * as React104 from "react";
12054
+ import * as React105 from "react";
12023
12055
  var TOAST_LIMIT = 5;
12024
12056
  var TOAST_REMOVE_DELAY = 1e5;
12025
12057
  var count = 0;
@@ -12105,8 +12137,8 @@ function toast({ ...props }) {
12105
12137
  return { id, dismiss, update };
12106
12138
  }
12107
12139
  function useToast() {
12108
- const [state, setState] = React104.useState(memoryState);
12109
- React104.useEffect(() => {
12140
+ const [state, setState] = React105.useState(memoryState);
12141
+ React105.useEffect(() => {
12110
12142
  listeners.push(setState);
12111
12143
  return () => {
12112
12144
  const index = listeners.indexOf(setState);
@@ -12479,6 +12511,8 @@ export {
12479
12511
  PinInput,
12480
12512
  Popover,
12481
12513
  PopoverContent,
12514
+ PopoverPortal,
12515
+ PopoverRoot,
12482
12516
  PopoverTrigger,
12483
12517
  PricingCard,
12484
12518
  PricingPlans,