@sikka/hawa 0.1.85 → 0.1.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1042,6 +1042,7 @@ DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
1042
1042
  var DropdownMenuItem = React19.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React19.createElement(
1043
1043
  DropdownMenuPrimitive.Item,
1044
1044
  {
1045
+ disabled: props.disabled,
1045
1046
  ref,
1046
1047
  className: cn(
1047
1048
  "relative flex cursor-pointer select-none items-center justify-between rounded-sm px-2 py-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
@@ -1178,6 +1179,7 @@ var DropdownMenu = ({
1178
1179
  return item.subitems ? /* @__PURE__ */ React19.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React19.createElement(DropdownMenuSubTrigger, { dir: direction }, item.icon && item.icon, item.label), /* @__PURE__ */ React19.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React19.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => /* @__PURE__ */ React19.createElement(
1179
1180
  DropdownMenuItem,
1180
1181
  {
1182
+ disabled: subitem.disabled,
1181
1183
  className: "flex flex-row gap-2",
1182
1184
  onSelect: () => subitem.action(),
1183
1185
  key: subIndex
@@ -1187,6 +1189,7 @@ var DropdownMenu = ({
1187
1189
  ))))) : /* @__PURE__ */ React19.createElement(
1188
1190
  DropdownMenuItem,
1189
1191
  {
1192
+ disabled: item.disabled,
1190
1193
  className: "flex flex-row gap-2",
1191
1194
  key: index,
1192
1195
  onSelect: (e) => {
@@ -6391,15 +6394,54 @@ var HawaStoreButtons = (props) => {
6391
6394
  ))), /* @__PURE__ */ React57.createElement("div", null, /* @__PURE__ */ React57.createElement("div", { className: "text-xs" }, "GET IT ON"), /* @__PURE__ */ React57.createElement("div", { className: "font-sans -mt-1 text-xl font-semibold" }, "Google Play")))));
6392
6395
  };
6393
6396
 
6397
+ // src/elements/ActionCard.tsx
6398
+ import React58, { useState as useState30 } from "react";
6399
+ var ActionCard = (props) => {
6400
+ const [hovered, setHovered] = useState30(false);
6401
+ return /* @__PURE__ */ React58.createElement("div", { className: "flex h-full w-full flex-col gap-1 " }, /* @__PURE__ */ React58.createElement(
6402
+ "div",
6403
+ {
6404
+ className: "group relative h-full w-full rounded border bg-background bg-cover bg-center transition-all duration-500 hover:drop-shadow-2xl",
6405
+ style: {
6406
+ backgroundImage: `url(${props.blank ? "" : props.cardImage})`
6407
+ },
6408
+ onMouseEnter: () => setHovered(true),
6409
+ onMouseLeave: () => setHovered(false)
6410
+ },
6411
+ props.blank ? /* @__PURE__ */ React58.createElement("div", { className: "flex h-full flex-col items-center justify-center " }, /* @__PURE__ */ React58.createElement(
6412
+ "svg",
6413
+ {
6414
+ className: "h-10 w-10 text-foreground",
6415
+ stroke: "currentColor",
6416
+ fill: "currentColor",
6417
+ "stroke-width": "0",
6418
+ viewBox: "0 0 24 24",
6419
+ height: "1em",
6420
+ width: "1em",
6421
+ xmlns: "http://www.w3.org/2000/svg"
6422
+ },
6423
+ /* @__PURE__ */ React58.createElement("path", { d: "M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z" })
6424
+ )) : /* @__PURE__ */ React58.createElement("div", { className: "absolute inset-0 rounded bg-black opacity-50" }),
6425
+ /* @__PURE__ */ React58.createElement("div", { className: "absolute bottom-2 right-2 z-10 opacity-0 transition-all duration-200 group-hover:opacity-100" }, props.inCardActions),
6426
+ !props.blank && /* @__PURE__ */ React58.createElement("div", { className: "relative p-4" }, /* @__PURE__ */ React58.createElement("h1", { className: "text-white" }, props.title), /* @__PURE__ */ React58.createElement("p", { className: "text-white" }, props.subtitle))
6427
+ ), /* @__PURE__ */ React58.createElement(
6428
+ "div",
6429
+ {
6430
+ className: `flex flex-row justify-between text-sm transition-all duration-200 ${hovered ? "opacity-100" : "opacity-0"}`
6431
+ },
6432
+ props.bottomElement
6433
+ ));
6434
+ };
6435
+
6394
6436
  // src/elements/Carousel.tsx
6395
- import React58 from "react";
6437
+ import React59 from "react";
6396
6438
 
6397
6439
  // src/hooks/useCarousel.ts
6398
- import { useState as useState30, useRef as useRef11 } from "react";
6440
+ import { useState as useState31, useRef as useRef11 } from "react";
6399
6441
  var useCarousel = (imageWidth) => {
6400
- const [isDragging, setIsDragging] = useState30(false);
6401
- const [startDragX, setStartDragX] = useState30(0);
6402
- const [scrollLeft, setScrollLeft] = useState30(0);
6442
+ const [isDragging, setIsDragging] = useState31(false);
6443
+ const [startDragX, setStartDragX] = useState31(0);
6444
+ const [scrollLeft, setScrollLeft] = useState31(0);
6403
6445
  const containerRef = useRef11(null);
6404
6446
  const findClosestSnapPoint = (scrollLeft2) => {
6405
6447
  return Math.round(scrollLeft2 / imageWidth) * imageWidth;
@@ -6447,7 +6489,7 @@ var useCarousel_default = useCarousel;
6447
6489
 
6448
6490
  // src/elements/Carousel.tsx
6449
6491
  var Carousel = ({ images }) => {
6450
- const imageWidth = 240 + 16;
6492
+ const imageWidth = 1e3 + 16;
6451
6493
  const {
6452
6494
  containerRef,
6453
6495
  handleMouseDown,
@@ -6455,21 +6497,22 @@ var Carousel = ({ images }) => {
6455
6497
  handleMouseUp,
6456
6498
  handleMouseMove
6457
6499
  } = useCarousel_default(imageWidth);
6458
- return /* @__PURE__ */ React58.createElement(
6500
+ return /* @__PURE__ */ React59.createElement(
6459
6501
  "div",
6460
6502
  {
6461
- className: "flex cursor-pointer snap-x gap-4 overflow-x-scroll",
6503
+ className: "flex cursor-pointer snap-x gap-4 overflow-x-hidden justify-center items-center",
6462
6504
  onMouseDown: handleMouseDown,
6463
6505
  onMouseLeave: handleMouseLeave,
6464
6506
  onMouseUp: handleMouseUp,
6465
6507
  onMouseMove: handleMouseMove,
6466
6508
  ref: containerRef
6467
6509
  },
6468
- images.map((image, index) => /* @__PURE__ */ React58.createElement("div", { key: index, className: "h-40 w-60 flex-shrink-0" }, /* @__PURE__ */ React58.createElement(
6510
+ images.map((image, index) => /* @__PURE__ */ React59.createElement("div", { key: index, className: "w-[1000px] h-96 flex-shrink-0" }, /* @__PURE__ */ React59.createElement(
6469
6511
  "img",
6470
6512
  {
6471
6513
  src: image,
6472
6514
  alt: `Carousel Image ${index}`,
6515
+ width: imageWidth,
6473
6516
  className: "h-full w-full rounded-lg object-cover"
6474
6517
  }
6475
6518
  )))
@@ -6477,10 +6520,10 @@ var Carousel = ({ images }) => {
6477
6520
  };
6478
6521
 
6479
6522
  // src/elements/Input.tsx
6480
- import * as React59 from "react";
6481
- var Input = React59.forwardRef(
6523
+ import * as React60 from "react";
6524
+ var Input = React60.forwardRef(
6482
6525
  ({ className, preview, type, ...props }, ref) => {
6483
- return /* @__PURE__ */ React59.createElement(
6526
+ return /* @__PURE__ */ React60.createElement(
6484
6527
  "input",
6485
6528
  {
6486
6529
  type,
@@ -6499,19 +6542,19 @@ var Input = React59.forwardRef(
6499
6542
  Input.displayName = "Input";
6500
6543
 
6501
6544
  // src/elements/InterfaceSettings.tsx
6502
- import React60, { useState as useState32 } from "react";
6545
+ import React61, { useState as useState33 } from "react";
6503
6546
  var InterfaceSettings = ({
6504
6547
  orientation = "horizontal",
6505
6548
  width = "default",
6506
6549
  ...props
6507
6550
  }) => {
6508
- const [color, setColor] = useState32(props.currentColorMode);
6509
- const [language, setLanguage] = useState32(props.currentLanguage);
6551
+ const [color, setColor] = useState33(props.currentColorMode);
6552
+ const [language, setLanguage] = useState33(props.currentLanguage);
6510
6553
  let orientationStyle = {
6511
6554
  horizontal: "flex flex-row justify-between",
6512
6555
  vertical: "flex flex-col items-center gap-2"
6513
6556
  };
6514
- return /* @__PURE__ */ React60.createElement("div", { className: cn(orientationStyle[orientation]) }, /* @__PURE__ */ React60.createElement(
6557
+ return /* @__PURE__ */ React61.createElement("div", { className: cn(orientationStyle[orientation]) }, /* @__PURE__ */ React61.createElement(
6515
6558
  HawaRadio,
6516
6559
  {
6517
6560
  width,
@@ -6526,7 +6569,7 @@ var InterfaceSettings = ({
6526
6569
  { value: "en", label: "English" }
6527
6570
  ]
6528
6571
  }
6529
- ), /* @__PURE__ */ React60.createElement(
6572
+ ), /* @__PURE__ */ React61.createElement(
6530
6573
  HawaRadio,
6531
6574
  {
6532
6575
  width,
@@ -6539,7 +6582,7 @@ var InterfaceSettings = ({
6539
6582
  options: [
6540
6583
  {
6541
6584
  value: "light",
6542
- label: /* @__PURE__ */ React60.createElement(
6585
+ label: /* @__PURE__ */ React61.createElement(
6543
6586
  "svg",
6544
6587
  {
6545
6588
  width: "15",
@@ -6549,7 +6592,7 @@ var InterfaceSettings = ({
6549
6592
  xmlns: "http://www.w3.org/2000/svg",
6550
6593
  className: "h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90"
6551
6594
  },
6552
- /* @__PURE__ */ React60.createElement(
6595
+ /* @__PURE__ */ React61.createElement(
6553
6596
  "path",
6554
6597
  {
6555
6598
  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",
@@ -6560,7 +6603,7 @@ var InterfaceSettings = ({
6560
6603
  },
6561
6604
  {
6562
6605
  value: "dark",
6563
- label: /* @__PURE__ */ React60.createElement(
6606
+ label: /* @__PURE__ */ React61.createElement(
6564
6607
  "svg",
6565
6608
  {
6566
6609
  xmlns: "http://www.w3.org/2000/svg",
@@ -6571,7 +6614,7 @@ var InterfaceSettings = ({
6571
6614
  stroke: "currentColor",
6572
6615
  className: "h-[1.2rem] w-[1.2rem] transition-all dark:rotate-0 dark:scale-100"
6573
6616
  },
6574
- /* @__PURE__ */ React60.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
6617
+ /* @__PURE__ */ React61.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
6575
6618
  )
6576
6619
  }
6577
6620
  ]
@@ -6580,9 +6623,9 @@ var InterfaceSettings = ({
6580
6623
  };
6581
6624
 
6582
6625
  // src/elements/Popover.tsx
6583
- import * as React61 from "react";
6626
+ import * as React62 from "react";
6584
6627
  import * as PopoverPrimitive from "@radix-ui/react-popover";
6585
- var PopoverContent = React61.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React61.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React61.createElement(
6628
+ var PopoverContent = React62.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React62.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React62.createElement(
6586
6629
  PopoverPrimitive.Content,
6587
6630
  {
6588
6631
  ref,
@@ -6603,7 +6646,7 @@ var Popover = ({
6603
6646
  align = "center",
6604
6647
  side,
6605
6648
  sideOffset = 4
6606
- }) => /* @__PURE__ */ React61.createElement(PopoverPrimitive.Root, null, /* @__PURE__ */ React61.createElement(PopoverPrimitive.Trigger, null, trigger), /* @__PURE__ */ React61.createElement(
6649
+ }) => /* @__PURE__ */ React62.createElement(PopoverPrimitive.Root, null, /* @__PURE__ */ React62.createElement(PopoverPrimitive.Trigger, null, trigger), /* @__PURE__ */ React62.createElement(
6607
6650
  PopoverContent,
6608
6651
  {
6609
6652
  side,
@@ -6615,10 +6658,10 @@ var Popover = ({
6615
6658
  ));
6616
6659
 
6617
6660
  // src/elements/Tabs.tsx
6618
- import * as React62 from "react";
6661
+ import * as React63 from "react";
6619
6662
  import * as TabsPrimitive from "@radix-ui/react-tabs";
6620
- var TabsContext = React62.createContext({ orientation: "vertical" });
6621
- var Tabs = React62.forwardRef(({ className, orientation, ...props }, ref) => /* @__PURE__ */ React62.createElement(
6663
+ var TabsContext = React63.createContext({ orientation: "vertical" });
6664
+ var Tabs = React63.forwardRef(({ className, orientation, ...props }, ref) => /* @__PURE__ */ React63.createElement(
6622
6665
  TabsPrimitive.Root,
6623
6666
  {
6624
6667
  ref,
@@ -6629,12 +6672,12 @@ var Tabs = React62.forwardRef(({ className, orientation, ...props }, ref) => /*
6629
6672
  ),
6630
6673
  ...props
6631
6674
  },
6632
- /* @__PURE__ */ React62.createElement(TabsContext.Provider, { value: { orientation } }, props.children)
6675
+ /* @__PURE__ */ React63.createElement(TabsContext.Provider, { value: { orientation } }, props.children)
6633
6676
  ));
6634
6677
  Tabs.displayName = TabsPrimitive.Root.displayName;
6635
- var TabsList = React62.forwardRef(({ className, ...props }, ref) => {
6636
- const { orientation } = React62.useContext(TabsContext);
6637
- return /* @__PURE__ */ React62.createElement(
6678
+ var TabsList = React63.forwardRef(({ className, ...props }, ref) => {
6679
+ const { orientation } = React63.useContext(TabsContext);
6680
+ return /* @__PURE__ */ React63.createElement(
6638
6681
  TabsPrimitive.List,
6639
6682
  {
6640
6683
  ref,
@@ -6648,8 +6691,8 @@ var TabsList = React62.forwardRef(({ className, ...props }, ref) => {
6648
6691
  );
6649
6692
  });
6650
6693
  TabsList.displayName = TabsPrimitive.List.displayName;
6651
- var TabsTrigger = React62.forwardRef(({ className, ...props }, ref) => {
6652
- return /* @__PURE__ */ React62.createElement(
6694
+ var TabsTrigger = React63.forwardRef(({ className, ...props }, ref) => {
6695
+ return /* @__PURE__ */ React63.createElement(
6653
6696
  TabsPrimitive.Trigger,
6654
6697
  {
6655
6698
  ref,
@@ -6662,7 +6705,7 @@ var TabsTrigger = React62.forwardRef(({ className, ...props }, ref) => {
6662
6705
  );
6663
6706
  });
6664
6707
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
6665
- var TabsContent = React62.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React62.createElement(
6708
+ var TabsContent = React63.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React63.createElement(
6666
6709
  TabsPrimitive.Content,
6667
6710
  {
6668
6711
  ref,
@@ -6676,10 +6719,10 @@ var TabsContent = React62.forwardRef(({ className, ...props }, ref) => /* @__PUR
6676
6719
  TabsContent.displayName = TabsPrimitive.Content.displayName;
6677
6720
 
6678
6721
  // src/elements/Textarea.tsx
6679
- import * as React63 from "react";
6680
- var Textarea = React63.forwardRef(
6722
+ import * as React64 from "react";
6723
+ var Textarea = React64.forwardRef(
6681
6724
  ({ className, label, ...props }, ref) => {
6682
- return /* @__PURE__ */ React63.createElement(React63.Fragment, null, label && /* @__PURE__ */ React63.createElement(Label, { htmlFor: props.id }, label), /* @__PURE__ */ React63.createElement(
6725
+ return /* @__PURE__ */ React64.createElement(React64.Fragment, null, label && /* @__PURE__ */ React64.createElement(Label, { htmlFor: props.id }, label), /* @__PURE__ */ React64.createElement(
6683
6726
  "textarea",
6684
6727
  {
6685
6728
  className: cn(
@@ -6695,10 +6738,10 @@ var Textarea = React63.forwardRef(
6695
6738
  Textarea.displayName = "Textarea";
6696
6739
 
6697
6740
  // src/elements/Separator.tsx
6698
- import * as React64 from "react";
6741
+ import * as React65 from "react";
6699
6742
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
6700
- var Separator3 = React64.forwardRef(
6701
- ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ React64.createElement(
6743
+ var Separator3 = React65.forwardRef(
6744
+ ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ React65.createElement(
6702
6745
  SeparatorPrimitive.Root,
6703
6746
  {
6704
6747
  ref,
@@ -6716,7 +6759,7 @@ var Separator3 = React64.forwardRef(
6716
6759
  Separator3.displayName = SeparatorPrimitive.Root.displayName;
6717
6760
 
6718
6761
  // src/elements/Toast.tsx
6719
- import * as React65 from "react";
6762
+ import * as React66 from "react";
6720
6763
  import * as ToastPrimitives from "@radix-ui/react-toast";
6721
6764
  import { cva as cva3 } from "class-variance-authority";
6722
6765
  var toastVariants = cva3(
@@ -6741,7 +6784,7 @@ var toastVariants = cva3(
6741
6784
  }
6742
6785
  );
6743
6786
  var ToastProvider = ToastPrimitives.Provider;
6744
- var ToastViewport = React65.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React65.createElement(
6787
+ var ToastViewport = React66.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React66.createElement(
6745
6788
  ToastPrimitives.Viewport,
6746
6789
  {
6747
6790
  ref,
@@ -6753,8 +6796,8 @@ var ToastViewport = React65.forwardRef(({ className, ...props }, ref) => /* @__P
6753
6796
  }
6754
6797
  ));
6755
6798
  ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
6756
- var Toast = React65.forwardRef(({ className, variant, severity = "none", direction, ...props }, ref) => {
6757
- return /* @__PURE__ */ React65.createElement(
6799
+ var Toast = React66.forwardRef(({ className, variant, severity = "none", direction, ...props }, ref) => {
6800
+ return /* @__PURE__ */ React66.createElement(
6758
6801
  ToastPrimitives.Root,
6759
6802
  {
6760
6803
  ref,
@@ -6769,8 +6812,8 @@ var Toast = React65.forwardRef(({ className, variant, severity = "none", directi
6769
6812
  );
6770
6813
  });
6771
6814
  Toast.displayName = ToastPrimitives.Root.displayName;
6772
- var ToastAction = React65.forwardRef(({ className, ...props }, ref) => {
6773
- return /* @__PURE__ */ React65.createElement(
6815
+ var ToastAction = React66.forwardRef(({ className, ...props }, ref) => {
6816
+ return /* @__PURE__ */ React66.createElement(
6774
6817
  ToastPrimitives.Action,
6775
6818
  {
6776
6819
  ref,
@@ -6787,7 +6830,7 @@ var ToastAction = React65.forwardRef(({ className, ...props }, ref) => {
6787
6830
  );
6788
6831
  });
6789
6832
  ToastAction.displayName = ToastPrimitives.Action.displayName;
6790
- var ToastClose = React65.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React65.createElement(
6833
+ var ToastClose = React66.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React66.createElement(
6791
6834
  ToastPrimitives.Close,
6792
6835
  {
6793
6836
  ref,
@@ -6798,7 +6841,7 @@ var ToastClose = React65.forwardRef(({ className, ...props }, ref) => /* @__PURE
6798
6841
  "toast-close": "",
6799
6842
  ...props
6800
6843
  },
6801
- /* @__PURE__ */ React65.createElement(
6844
+ /* @__PURE__ */ React66.createElement(
6802
6845
  "svg",
6803
6846
  {
6804
6847
  "aria-label": "Close Icon",
@@ -6807,7 +6850,7 @@ var ToastClose = React65.forwardRef(({ className, ...props }, ref) => /* @__PURE
6807
6850
  fill: "currentColor",
6808
6851
  viewBox: "0 0 20 20"
6809
6852
  },
6810
- /* @__PURE__ */ React65.createElement(
6853
+ /* @__PURE__ */ React66.createElement(
6811
6854
  "path",
6812
6855
  {
6813
6856
  fillRule: "evenodd",
@@ -6818,7 +6861,7 @@ var ToastClose = React65.forwardRef(({ className, ...props }, ref) => /* @__PURE
6818
6861
  )
6819
6862
  ));
6820
6863
  ToastClose.displayName = ToastPrimitives.Close.displayName;
6821
- var ToastTitle = React65.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React65.createElement(
6864
+ var ToastTitle = React66.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React66.createElement(
6822
6865
  ToastPrimitives.Title,
6823
6866
  {
6824
6867
  ref,
@@ -6827,7 +6870,7 @@ var ToastTitle = React65.forwardRef(({ className, ...props }, ref) => /* @__PURE
6827
6870
  }
6828
6871
  ));
6829
6872
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
6830
- var ToastDescription = React65.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React65.createElement(
6873
+ var ToastDescription = React66.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React66.createElement(
6831
6874
  ToastPrimitives.Description,
6832
6875
  {
6833
6876
  ref,
@@ -6838,10 +6881,10 @@ var ToastDescription = React65.forwardRef(({ className, ...props }, ref) => /* @
6838
6881
  ToastDescription.displayName = ToastPrimitives.Description.displayName;
6839
6882
 
6840
6883
  // src/elements/Toaster.tsx
6841
- import React67 from "react";
6884
+ import React68 from "react";
6842
6885
 
6843
6886
  // src/hooks/useToast.ts
6844
- import * as React66 from "react";
6887
+ import * as React67 from "react";
6845
6888
  var TOAST_LIMIT = 5;
6846
6889
  var TOAST_REMOVE_DELAY = 1e5;
6847
6890
  var count = 0;
@@ -6937,8 +6980,8 @@ function toast({ ...props }) {
6937
6980
  };
6938
6981
  }
6939
6982
  function useToast() {
6940
- const [state, setState] = React66.useState(memoryState);
6941
- React66.useEffect(() => {
6983
+ const [state, setState] = React67.useState(memoryState);
6984
+ React67.useEffect(() => {
6942
6985
  listeners.push(setState);
6943
6986
  return () => {
6944
6987
  const index = listeners.indexOf(setState);
@@ -6958,29 +7001,29 @@ function useToast() {
6958
7001
  function Toaster(props) {
6959
7002
  const { toasts } = useToast();
6960
7003
  let isRTL = props.direction === "rtl";
6961
- return /* @__PURE__ */ React67.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, toasts.map(function({ id, title, description, action, ...toastProps }) {
6962
- return /* @__PURE__ */ React67.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ React67.createElement(
7004
+ return /* @__PURE__ */ React68.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, toasts.map(function({ id, title, description, action, ...toastProps }) {
7005
+ return /* @__PURE__ */ React68.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ React68.createElement(
6963
7006
  "div",
6964
7007
  {
6965
7008
  className: cn("grid gap-1", isRTL ? "text-right" : "text-left")
6966
7009
  },
6967
- title && /* @__PURE__ */ React67.createElement(ToastTitle, null, title),
6968
- description && /* @__PURE__ */ React67.createElement(ToastDescription, null, description)
6969
- ), action, /* @__PURE__ */ React67.createElement(ToastClose, null));
6970
- }), /* @__PURE__ */ React67.createElement(ToastViewport, { className: cn("gap-2", isRTL && "fixed left-0") }));
7010
+ title && /* @__PURE__ */ React68.createElement(ToastTitle, null, title),
7011
+ description && /* @__PURE__ */ React68.createElement(ToastDescription, null, description)
7012
+ ), action, /* @__PURE__ */ React68.createElement(ToastClose, null));
7013
+ }), /* @__PURE__ */ React68.createElement(ToastViewport, { className: cn("gap-2", isRTL && "fixed left-0") }));
6971
7014
  }
6972
7015
 
6973
7016
  // src/elements/Dialog.tsx
6974
- import * as React68 from "react";
7017
+ import * as React69 from "react";
6975
7018
  import * as DialogPrimitive from "@radix-ui/react-dialog";
6976
7019
  var Dialog = DialogPrimitive.Root;
6977
7020
  var DialogTrigger = DialogPrimitive.Trigger;
6978
7021
  var DialogPortal = ({
6979
7022
  className,
6980
7023
  ...props
6981
- }) => /* @__PURE__ */ React68.createElement(DialogPrimitive.Portal, { className: cn(className), ...props });
7024
+ }) => /* @__PURE__ */ React69.createElement(DialogPrimitive.Portal, { className: cn(className), ...props });
6982
7025
  DialogPortal.displayName = DialogPrimitive.Portal.displayName;
6983
- var DialogOverlay = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React68.createElement(
7026
+ var DialogOverlay = React69.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React69.createElement(
6984
7027
  DialogPrimitive.Overlay,
6985
7028
  {
6986
7029
  ref,
@@ -6992,7 +7035,7 @@ var DialogOverlay = React68.forwardRef(({ className, ...props }, ref) => /* @__P
6992
7035
  }
6993
7036
  ));
6994
7037
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
6995
- var DialogContent = React68.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React68.createElement(DialogPortal, null, /* @__PURE__ */ React68.createElement(DialogOverlay, null), /* @__PURE__ */ React68.createElement(
7038
+ var DialogContent = React69.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React69.createElement(DialogPortal, null, /* @__PURE__ */ React69.createElement(DialogOverlay, null), /* @__PURE__ */ React69.createElement(
6996
7039
  DialogPrimitive.Content,
6997
7040
  {
6998
7041
  ref,
@@ -7003,7 +7046,7 @@ var DialogContent = React68.forwardRef(({ className, children, ...props }, ref)
7003
7046
  ...props
7004
7047
  },
7005
7048
  children,
7006
- /* @__PURE__ */ React68.createElement(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground" }, /* @__PURE__ */ React68.createElement(
7049
+ /* @__PURE__ */ React69.createElement(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground" }, /* @__PURE__ */ React69.createElement(
7007
7050
  "svg",
7008
7051
  {
7009
7052
  "aria-label": "Close Icon",
@@ -7012,7 +7055,7 @@ var DialogContent = React68.forwardRef(({ className, children, ...props }, ref)
7012
7055
  fill: "currentColor",
7013
7056
  viewBox: "0 0 20 20"
7014
7057
  },
7015
- /* @__PURE__ */ React68.createElement(
7058
+ /* @__PURE__ */ React69.createElement(
7016
7059
  "path",
7017
7060
  {
7018
7061
  fillRule: "evenodd",
@@ -7020,13 +7063,13 @@ var DialogContent = React68.forwardRef(({ className, children, ...props }, ref)
7020
7063
  clipRule: "evenodd"
7021
7064
  }
7022
7065
  )
7023
- ), /* @__PURE__ */ React68.createElement("span", { className: "sr-only" }, "Close"))
7066
+ ), /* @__PURE__ */ React69.createElement("span", { className: "sr-only" }, "Close"))
7024
7067
  )));
7025
7068
  DialogContent.displayName = DialogPrimitive.Content.displayName;
7026
7069
  var DialogHeader = ({
7027
7070
  className,
7028
7071
  ...props
7029
- }) => /* @__PURE__ */ React68.createElement(
7072
+ }) => /* @__PURE__ */ React69.createElement(
7030
7073
  "div",
7031
7074
  {
7032
7075
  className: cn(
@@ -7040,7 +7083,7 @@ DialogHeader.displayName = "DialogHeader";
7040
7083
  var DialogFooter = ({
7041
7084
  className,
7042
7085
  ...props
7043
- }) => /* @__PURE__ */ React68.createElement(
7086
+ }) => /* @__PURE__ */ React69.createElement(
7044
7087
  "div",
7045
7088
  {
7046
7089
  className: cn(
@@ -7051,7 +7094,7 @@ var DialogFooter = ({
7051
7094
  }
7052
7095
  );
7053
7096
  DialogFooter.displayName = "DialogFooter";
7054
- var DialogTitle = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React68.createElement(
7097
+ var DialogTitle = React69.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React69.createElement(
7055
7098
  DialogPrimitive.Title,
7056
7099
  {
7057
7100
  ref,
@@ -7063,7 +7106,7 @@ var DialogTitle = React68.forwardRef(({ className, ...props }, ref) => /* @__PUR
7063
7106
  }
7064
7107
  ));
7065
7108
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
7066
- var DialogDescription = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React68.createElement(
7109
+ var DialogDescription = React69.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React69.createElement(
7067
7110
  DialogPrimitive.Description,
7068
7111
  {
7069
7112
  ref,
@@ -7074,32 +7117,32 @@ var DialogDescription = React68.forwardRef(({ className, ...props }, ref) => /*
7074
7117
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
7075
7118
 
7076
7119
  // src/layout/Box.tsx
7077
- import React69 from "react";
7120
+ import React70 from "react";
7078
7121
  var Box = (props) => {
7079
- return /* @__PURE__ */ React69.createElement("div", null, props.children);
7122
+ return /* @__PURE__ */ React70.createElement("div", null, props.children);
7080
7123
  };
7081
7124
 
7082
7125
  // src/layout/HawaBottomAppBar.tsx
7083
- import React70 from "react";
7126
+ import React71 from "react";
7084
7127
  var HawaBottomAppBar = (props) => {
7085
- return /* @__PURE__ */ React70.createElement("div", { className: "fixed bottom-0 top-auto left-0 m-0 w-full max-w-full p-1" }, /* @__PURE__ */ React70.createElement(
7128
+ return /* @__PURE__ */ React71.createElement("div", { className: "fixed bottom-0 top-auto left-0 m-0 w-full max-w-full p-1" }, /* @__PURE__ */ React71.createElement(
7086
7129
  "div",
7087
7130
  {
7088
7131
  className: "flex w-full flex-row items-center justify-evenly rounded bg-gray-200"
7089
7132
  },
7090
- props.appBarContent.map((singleContent, i) => /* @__PURE__ */ React70.createElement(
7133
+ props.appBarContent.map((singleContent, i) => /* @__PURE__ */ React71.createElement(
7091
7134
  "div",
7092
7135
  {
7093
7136
  key: i,
7094
7137
  className: "m-1 flex h-full w-full flex-col items-center justify-center rounded p-2 transition-all hover:cursor-pointer hover:bg-buttonPrimary-700 hover:text-white",
7095
7138
  onClick: singleContent.action
7096
7139
  },
7097
- /* @__PURE__ */ React70.createElement(
7140
+ /* @__PURE__ */ React71.createElement(
7098
7141
  "div",
7099
7142
  null,
7100
7143
  singleContent.icon
7101
7144
  ),
7102
- /* @__PURE__ */ React70.createElement(
7145
+ /* @__PURE__ */ React71.createElement(
7103
7146
  "div",
7104
7147
  {
7105
7148
  className: "mt-2 text-sm"
@@ -7111,13 +7154,13 @@ var HawaBottomAppBar = (props) => {
7111
7154
  };
7112
7155
 
7113
7156
  // src/layout/HawaSiteLayout.tsx
7114
- import React73, { useEffect as useEffect21, useRef as useRef13, useState as useState36 } from "react";
7157
+ import React74, { useEffect as useEffect21, useRef as useRef13, useState as useState37 } from "react";
7115
7158
  import clsx27 from "clsx";
7116
7159
 
7117
7160
  // src/hooks/useDiscloser.ts
7118
- import { useState as useState34 } from "react";
7161
+ import { useState as useState35 } from "react";
7119
7162
  var useDiscloser = (value = false) => {
7120
- const [open, setOpen] = useState34(value);
7163
+ const [open, setOpen] = useState35(value);
7121
7164
  const onOpen = () => setOpen(true);
7122
7165
  const onClose = () => setOpen(false);
7123
7166
  return {
@@ -7129,9 +7172,9 @@ var useDiscloser = (value = false) => {
7129
7172
  var useDiscloser_default = useDiscloser;
7130
7173
 
7131
7174
  // src/hooks/useBreakpoint.ts
7132
- import { useState as useState35, useEffect as useEffect20 } from "react";
7175
+ import { useState as useState36, useEffect as useEffect20 } from "react";
7133
7176
  var useBreakpoint = () => {
7134
- const [breakpoint, setBreakpoint] = useState35(window?.innerWidth);
7177
+ const [breakpoint, setBreakpoint] = useState36(window?.innerWidth);
7135
7178
  const resize = () => {
7136
7179
  setBreakpoint(window?.innerWidth);
7137
7180
  };
@@ -7153,8 +7196,8 @@ var HawaSiteLayout = ({
7153
7196
  navigationSize = "md",
7154
7197
  ...props
7155
7198
  }) => {
7156
- const [openSideMenu, setOpenSideMenu] = useState36(false);
7157
- const [openSubItem, setOpenSubItem] = useState36(false);
7199
+ const [openSideMenu, setOpenSideMenu] = useState37(false);
7200
+ const [openSubItem, setOpenSubItem] = useState37(false);
7158
7201
  const { isOpen, onClose, onOpen } = useDiscloser_default(false);
7159
7202
  const ref = useRef13(null);
7160
7203
  const drawerItemRef = useRef13(null);
@@ -7164,7 +7207,7 @@ var HawaSiteLayout = ({
7164
7207
  } else {
7165
7208
  size = 1200;
7166
7209
  }
7167
- const [keepOpen, setKeepOpen] = useState36(false);
7210
+ const [keepOpen, setKeepOpen] = useState37(false);
7168
7211
  useEffect21(() => {
7169
7212
  const handleClickOutside = (event) => {
7170
7213
  if (ref.current && !ref.current.contains(event.target) && !keepOpen) {
@@ -7200,7 +7243,7 @@ var HawaSiteLayout = ({
7200
7243
  // "w-full",
7201
7244
  // "top-14 h-[calc(100%-3.5rem)]",
7202
7245
  ];
7203
- return /* @__PURE__ */ React73.createElement("div", { className: "h-full w-full" }, /* @__PURE__ */ React73.createElement(
7246
+ return /* @__PURE__ */ React74.createElement("div", { className: "h-full w-full" }, /* @__PURE__ */ React74.createElement(
7204
7247
  "div",
7205
7248
  {
7206
7249
  className: clsx27(
@@ -7213,7 +7256,7 @@ var HawaSiteLayout = ({
7213
7256
  direction === "rtl" ? "flex-row" : "flex-row-reverse"
7214
7257
  )
7215
7258
  },
7216
- size > 600 ? /* @__PURE__ */ React73.createElement("div", { className: "flex flex-row h-8 items-center gap-4 px-3" }, props.navItems?.map(({ label }, i) => /* @__PURE__ */ React73.createElement(
7259
+ size > 600 ? /* @__PURE__ */ React74.createElement("div", { className: "flex flex-row h-8 items-center gap-4 px-3" }, props.navItems?.map(({ label }, i) => /* @__PURE__ */ React74.createElement(
7217
7260
  "div",
7218
7261
  {
7219
7262
  onClick: () => setOpenSideMenu(!openSideMenu),
@@ -7221,13 +7264,13 @@ var HawaSiteLayout = ({
7221
7264
  className: "cursor-pointer rounded bg-none text-gray-600 transition-all hover:text-black"
7222
7265
  },
7223
7266
  label
7224
- ))) : /* @__PURE__ */ React73.createElement("div", { className: "flex items-center justify-center" }, /* @__PURE__ */ React73.createElement(
7267
+ ))) : /* @__PURE__ */ React74.createElement("div", { className: "flex items-center justify-center" }, /* @__PURE__ */ React74.createElement(
7225
7268
  "div",
7226
7269
  {
7227
7270
  onClick: () => setOpenSideMenu(!openSideMenu),
7228
7271
  className: "cursor-pointer rounded p-1 transition-all hover:bg-gray-100"
7229
7272
  },
7230
- /* @__PURE__ */ React73.createElement(
7273
+ /* @__PURE__ */ React74.createElement(
7231
7274
  "svg",
7232
7275
  {
7233
7276
  stroke: "currentColor",
@@ -7238,7 +7281,7 @@ var HawaSiteLayout = ({
7238
7281
  height: "1.6em",
7239
7282
  width: "1.6em"
7240
7283
  },
7241
- /* @__PURE__ */ React73.createElement(
7284
+ /* @__PURE__ */ React74.createElement(
7242
7285
  "path",
7243
7286
  {
7244
7287
  fillRule: "evenodd",
@@ -7248,15 +7291,15 @@ var HawaSiteLayout = ({
7248
7291
  )
7249
7292
  ),
7250
7293
  " "
7251
- ), props.pageTitle ? /* @__PURE__ */ React73.createElement("div", null, props.pageTitle) : /* @__PURE__ */ React73.createElement("div", null)),
7252
- /* @__PURE__ */ React73.createElement("div", { className: "h-full" }, /* @__PURE__ */ React73.createElement(
7294
+ ), props.pageTitle ? /* @__PURE__ */ React74.createElement("div", null, props.pageTitle) : /* @__PURE__ */ React74.createElement("div", null)),
7295
+ /* @__PURE__ */ React74.createElement("div", { className: "h-full" }, /* @__PURE__ */ React74.createElement(
7253
7296
  "img",
7254
7297
  {
7255
7298
  className: "h-full max-h-8 ",
7256
7299
  src: `https://sikka-images.s3.ap-southeast-1.amazonaws.com/seera/seera-horizontal-wordmark-${direction === "rtl" ? "ar" : "en"}-white.svg`
7257
7300
  }
7258
7301
  ))
7259
- ), /* @__PURE__ */ React73.createElement(
7302
+ ), /* @__PURE__ */ React74.createElement(
7260
7303
  "div",
7261
7304
  {
7262
7305
  className: clsx27(" relative top-14")
@@ -7266,17 +7309,17 @@ var HawaSiteLayout = ({
7266
7309
  };
7267
7310
 
7268
7311
  // src/layout/AppLayout.tsx
7269
- import React75, { useEffect as useEffect22, useRef as useRef14, useState as useState37 } from "react";
7312
+ import React76, { useEffect as useEffect22, useRef as useRef14, useState as useState38 } from "react";
7270
7313
  import clsx28 from "clsx";
7271
7314
 
7272
7315
  // src/layout/Sidebar.tsx
7273
- import * as React74 from "react";
7316
+ import * as React75 from "react";
7274
7317
  import * as AccordionPrimitive from "@radix-ui/react-accordion";
7275
7318
  var Accordion = AccordionPrimitive.Root;
7276
7319
  var triggerStyles = "flex flex-1 items-center select-none cursor-pointer bg-primary-foreground rounded justify-between p-2 px-3 font-medium transition-all [&[data-state=open]>svg]:-rotate-90";
7277
- var AccordionItem = React74.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React74.createElement(AccordionPrimitive.Item, { ref, className: cn(className), ...props }));
7320
+ var AccordionItem = React75.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React75.createElement(AccordionPrimitive.Item, { ref, className: cn(className), ...props }));
7278
7321
  AccordionItem.displayName = "AccordionItem";
7279
- var AccordionTrigger = React74.forwardRef(({ className, showArrow, children, ...props }, ref) => /* @__PURE__ */ React74.createElement(AccordionPrimitive.Header, { className: "flex" }, /* @__PURE__ */ React74.createElement(
7322
+ var AccordionTrigger = React75.forwardRef(({ className, showArrow, children, ...props }, ref) => /* @__PURE__ */ React75.createElement(AccordionPrimitive.Header, { className: "flex" }, /* @__PURE__ */ React75.createElement(
7280
7323
  AccordionPrimitive.Trigger,
7281
7324
  {
7282
7325
  ref,
@@ -7284,7 +7327,7 @@ var AccordionTrigger = React74.forwardRef(({ className, showArrow, children, ...
7284
7327
  ...props
7285
7328
  },
7286
7329
  children,
7287
- showArrow && /* @__PURE__ */ React74.createElement(
7330
+ showArrow && /* @__PURE__ */ React75.createElement(
7288
7331
  "svg",
7289
7332
  {
7290
7333
  "aria-label": "Chevron Right Icon",
@@ -7295,7 +7338,7 @@ var AccordionTrigger = React74.forwardRef(({ className, showArrow, children, ...
7295
7338
  width: "1em",
7296
7339
  className: "h-4 w-4 shrink-0 rotate-90 transition-transform duration-200"
7297
7340
  },
7298
- /* @__PURE__ */ React74.createElement(
7341
+ /* @__PURE__ */ React75.createElement(
7299
7342
  "path",
7300
7343
  {
7301
7344
  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"
@@ -7304,7 +7347,7 @@ var AccordionTrigger = React74.forwardRef(({ className, showArrow, children, ...
7304
7347
  )
7305
7348
  )));
7306
7349
  AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
7307
- var AccordionContent = React74.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React74.createElement(
7350
+ var AccordionContent = React75.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React75.createElement(
7308
7351
  AccordionPrimitive.Content,
7309
7352
  {
7310
7353
  ref,
@@ -7314,7 +7357,7 @@ var AccordionContent = React74.forwardRef(({ className, children, ...props }, re
7314
7357
  ),
7315
7358
  ...props
7316
7359
  },
7317
- /* @__PURE__ */ React74.createElement("div", null, children)
7360
+ /* @__PURE__ */ React75.createElement("div", null, children)
7318
7361
  ));
7319
7362
  AccordionContent.displayName = AccordionPrimitive.Content.displayName;
7320
7363
  var SidebarGroup = ({
@@ -7328,7 +7371,7 @@ var SidebarGroup = ({
7328
7371
  direction,
7329
7372
  isOpen
7330
7373
  }) => {
7331
- return /* @__PURE__ */ React74.createElement("div", null, title && /* @__PURE__ */ React74.createElement("h3", { className: "mb-1 font-bold" }, title), /* @__PURE__ */ React74.createElement("ul", { className: "flex flex-col gap-2" }, /* @__PURE__ */ React74.createElement(
7374
+ return /* @__PURE__ */ React75.createElement("div", null, title && /* @__PURE__ */ React75.createElement("h3", { className: "mb-1 font-bold" }, title), /* @__PURE__ */ React75.createElement("ul", { className: "flex flex-col gap-2" }, /* @__PURE__ */ React75.createElement(
7332
7375
  Accordion,
7333
7376
  {
7334
7377
  value: openedItem,
@@ -7339,7 +7382,7 @@ var SidebarGroup = ({
7339
7382
  collapsible: true,
7340
7383
  className: "flex flex-col gap-1"
7341
7384
  },
7342
- items.map((item, idx) => /* @__PURE__ */ React74.createElement(
7385
+ items.map((item, idx) => /* @__PURE__ */ React75.createElement(
7343
7386
  SidebarItem,
7344
7387
  {
7345
7388
  isOpen,
@@ -7365,20 +7408,20 @@ var SidebarItem = ({
7365
7408
  return isSelected && isSelected[index] === value ? "bg-primary text-primary-foreground cursor-default" : "hover:bg-primary/10";
7366
7409
  };
7367
7410
  if (item.subitems) {
7368
- return /* @__PURE__ */ React74.createElement(
7411
+ return /* @__PURE__ */ React75.createElement(
7369
7412
  AccordionItem,
7370
7413
  {
7371
7414
  value: item.value,
7372
7415
  className: "overflow-x-clip",
7373
7416
  dir: direction
7374
7417
  },
7375
- /* @__PURE__ */ React74.createElement(
7418
+ /* @__PURE__ */ React75.createElement(
7376
7419
  AccordionTrigger,
7377
7420
  {
7378
7421
  className: cn(getSelectedStyle(item.value, 0)),
7379
7422
  showArrow: isOpen
7380
7423
  },
7381
- /* @__PURE__ */ React74.createElement(
7424
+ /* @__PURE__ */ React75.createElement(
7382
7425
  "div",
7383
7426
  {
7384
7427
  className: cn(
@@ -7387,7 +7430,7 @@ var SidebarItem = ({
7387
7430
  )
7388
7431
  },
7389
7432
  item.icon,
7390
- isOpen && /* @__PURE__ */ React74.createElement(
7433
+ isOpen && /* @__PURE__ */ React75.createElement(
7391
7434
  "span",
7392
7435
  {
7393
7436
  className: cn(
@@ -7399,12 +7442,12 @@ var SidebarItem = ({
7399
7442
  )
7400
7443
  )
7401
7444
  ),
7402
- item.subitems && /* @__PURE__ */ React74.createElement(AccordionContent, { className: " mt-1 h-full rounded " }, /* @__PURE__ */ React74.createElement(
7445
+ item.subitems && /* @__PURE__ */ React75.createElement(AccordionContent, { className: " mt-1 h-full rounded " }, /* @__PURE__ */ React75.createElement(
7403
7446
  "div",
7404
7447
  {
7405
7448
  className: cn("flex h-full flex-col gap-2 bg-foreground/5 p-1")
7406
7449
  },
7407
- item.subitems.map((subitem, idx) => /* @__PURE__ */ React74.createElement(
7450
+ item.subitems.map((subitem, idx) => /* @__PURE__ */ React75.createElement(
7408
7451
  "li",
7409
7452
  {
7410
7453
  key: idx,
@@ -7425,7 +7468,7 @@ var SidebarItem = ({
7425
7468
  ))
7426
7469
  );
7427
7470
  } else {
7428
- return /* @__PURE__ */ React74.createElement(
7471
+ return /* @__PURE__ */ React75.createElement(
7429
7472
  "div",
7430
7473
  {
7431
7474
  dir: direction,
@@ -7440,7 +7483,7 @@ var SidebarItem = ({
7440
7483
  "overflow-x-clip "
7441
7484
  )
7442
7485
  },
7443
- /* @__PURE__ */ React74.createElement("div", { className: "flex flex-row items-center gap-2 " }, item.icon, /* @__PURE__ */ React74.createElement(
7486
+ /* @__PURE__ */ React75.createElement("div", { className: "flex flex-row items-center gap-2 " }, item.icon, /* @__PURE__ */ React75.createElement(
7444
7487
  "span",
7445
7488
  {
7446
7489
  className: cn(
@@ -7481,8 +7524,8 @@ var AppLayout = ({
7481
7524
  };
7482
7525
  const ref = useRef14(null);
7483
7526
  const isRTL = direction === "rtl";
7484
- const [openedSidebarItem, setOpenedSidebarItem] = useState37("");
7485
- const [selectedItem, setSelectedItem] = useState37(
7527
+ const [openedSidebarItem, setOpenedSidebarItem] = useState38("");
7528
+ const [selectedItem, setSelectedItem] = useState38(
7486
7529
  currentPage ? currentPage : []
7487
7530
  );
7488
7531
  let size;
@@ -7491,8 +7534,8 @@ var AppLayout = ({
7491
7534
  } else {
7492
7535
  size = 1200;
7493
7536
  }
7494
- const [keepOpen, setKeepOpen] = useState37(size > 600 ? true : false);
7495
- const [openSideMenu, setOpenSideMenu] = useState37(size > 600 ? true : false);
7537
+ const [keepOpen, setKeepOpen] = useState38(size > 600 ? true : false);
7538
+ const [openSideMenu, setOpenSideMenu] = useState38(size > 600 ? true : false);
7496
7539
  let drawerSizeCondition = size > 600 ? drawerSizeStyle[keepOpen ? "opened" : "closed"][drawerSize] : 0;
7497
7540
  useEffect22(() => {
7498
7541
  const handleClickOutside = (event) => {
@@ -7505,7 +7548,7 @@ var AppLayout = ({
7505
7548
  document.removeEventListener("click", handleClickOutside, true);
7506
7549
  };
7507
7550
  }, [keepOpen]);
7508
- return /* @__PURE__ */ React75.createElement("div", { className: "fixed left-0" }, props.topBar && /* @__PURE__ */ React75.createElement(
7551
+ return /* @__PURE__ */ React76.createElement("div", { className: "fixed left-0" }, props.topBar && /* @__PURE__ */ React76.createElement(
7509
7552
  "div",
7510
7553
  {
7511
7554
  className: clsx28(
@@ -7513,7 +7556,7 @@ var AppLayout = ({
7513
7556
  isRTL ? "flex-row-reverse" : "flex-row"
7514
7557
  )
7515
7558
  },
7516
- size > 600 ? /* @__PURE__ */ React75.createElement(
7559
+ size > 600 ? /* @__PURE__ */ React76.createElement(
7517
7560
  "div",
7518
7561
  {
7519
7562
  className: clsx28(
@@ -7529,19 +7572,19 @@ var AppLayout = ({
7529
7572
  props.pageTitle
7530
7573
  ) : (
7531
7574
  // Mobile Drawer Menu Button
7532
- /* @__PURE__ */ React75.createElement(
7575
+ /* @__PURE__ */ React76.createElement(
7533
7576
  "div",
7534
7577
  {
7535
7578
  dir: direction,
7536
7579
  className: "flex items-center justify-center gap-0.5"
7537
7580
  },
7538
- /* @__PURE__ */ React75.createElement(
7581
+ /* @__PURE__ */ React76.createElement(
7539
7582
  "div",
7540
7583
  {
7541
7584
  onClick: () => setOpenSideMenu(true),
7542
7585
  className: "z-40 mx-1 cursor-pointer rounded p-2 transition-all hover:bg-gray-100"
7543
7586
  },
7544
- /* @__PURE__ */ React75.createElement(
7587
+ /* @__PURE__ */ React76.createElement(
7545
7588
  "svg",
7546
7589
  {
7547
7590
  stroke: "currentColor",
@@ -7552,7 +7595,7 @@ var AppLayout = ({
7552
7595
  height: "1.6em",
7553
7596
  width: "1.6em"
7554
7597
  },
7555
- /* @__PURE__ */ React75.createElement(
7598
+ /* @__PURE__ */ React76.createElement(
7556
7599
  "path",
7557
7600
  {
7558
7601
  fillRule: "evenodd",
@@ -7562,10 +7605,10 @@ var AppLayout = ({
7562
7605
  )
7563
7606
  )
7564
7607
  ),
7565
- props.pageTitle ? /* @__PURE__ */ React75.createElement("div", { className: "text-sm" }, props.pageTitle) : /* @__PURE__ */ React75.createElement("div", null)
7608
+ props.pageTitle ? /* @__PURE__ */ React76.createElement("div", { className: "text-sm" }, props.pageTitle) : /* @__PURE__ */ React76.createElement("div", null)
7566
7609
  )
7567
7610
  ),
7568
- /* @__PURE__ */ React75.createElement(
7611
+ /* @__PURE__ */ React76.createElement(
7569
7612
  "div",
7570
7613
  {
7571
7614
  className: clsx28(
@@ -7573,16 +7616,16 @@ var AppLayout = ({
7573
7616
  isRTL ? "flex-row-reverse" : "flex-row"
7574
7617
  )
7575
7618
  },
7576
- size > 600 ? /* @__PURE__ */ React75.createElement(
7619
+ size > 600 ? /* @__PURE__ */ React76.createElement(
7577
7620
  "div",
7578
7621
  {
7579
7622
  className: isRTL ? "text-left text-xs" : "text-right text-xs"
7580
7623
  },
7581
- /* @__PURE__ */ React75.createElement("div", { className: "font-bold" }, props.username),
7624
+ /* @__PURE__ */ React76.createElement("div", { className: "font-bold" }, props.username),
7582
7625
  " ",
7583
- /* @__PURE__ */ React75.createElement("div", null, props.email)
7626
+ /* @__PURE__ */ React76.createElement("div", null, props.email)
7584
7627
  ) : null,
7585
- /* @__PURE__ */ React75.createElement(
7628
+ /* @__PURE__ */ React76.createElement(
7586
7629
  DropdownMenu,
7587
7630
  {
7588
7631
  triggerClassname: "mx-2",
@@ -7591,7 +7634,7 @@ var AppLayout = ({
7591
7634
  side: "bottom",
7592
7635
  sideOffset: 5,
7593
7636
  direction: isRTL ? "rtl" : "ltr",
7594
- trigger: /* @__PURE__ */ React75.createElement("div", { className: "relative h-8 w-8 cursor-pointer overflow-clip rounded ring-1 ring-primary/30 dark:bg-gray-600" }, props.avatarImage ? /* @__PURE__ */ React75.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ React75.createElement(
7637
+ trigger: /* @__PURE__ */ React76.createElement("div", { className: "relative h-8 w-8 cursor-pointer overflow-clip rounded ring-1 ring-primary/30 dark:bg-gray-600" }, props.avatarImage ? /* @__PURE__ */ React76.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ React76.createElement(
7595
7638
  "svg",
7596
7639
  {
7597
7640
  "aria-label": "Avatar Icon",
@@ -7599,7 +7642,7 @@ var AppLayout = ({
7599
7642
  fill: "currentColor",
7600
7643
  viewBox: "0 0 20 20"
7601
7644
  },
7602
- /* @__PURE__ */ React75.createElement(
7645
+ /* @__PURE__ */ React76.createElement(
7603
7646
  "path",
7604
7647
  {
7605
7648
  fillRule: "evenodd",
@@ -7613,7 +7656,7 @@ var AppLayout = ({
7613
7656
  }
7614
7657
  )
7615
7658
  )
7616
- ), /* @__PURE__ */ React75.createElement(
7659
+ ), /* @__PURE__ */ React76.createElement(
7617
7660
  "div",
7618
7661
  {
7619
7662
  className: clsx28(
@@ -7636,7 +7679,7 @@ var AppLayout = ({
7636
7679
  },
7637
7680
  ref
7638
7681
  },
7639
- /* @__PURE__ */ React75.createElement(
7682
+ /* @__PURE__ */ React76.createElement(
7640
7683
  "div",
7641
7684
  {
7642
7685
  dir: direction,
@@ -7648,7 +7691,7 @@ var AppLayout = ({
7648
7691
  width: size > 600 ? `${openSideMenu ? openDrawerWidth : 56}px` : `${openSideMenu ? openDrawerWidth : 0}px`
7649
7692
  }
7650
7693
  },
7651
- /* @__PURE__ */ React75.createElement(
7694
+ /* @__PURE__ */ React76.createElement(
7652
7695
  "img",
7653
7696
  {
7654
7697
  className: clsx28(
@@ -7658,7 +7701,7 @@ var AppLayout = ({
7658
7701
  src: props.logoLink
7659
7702
  }
7660
7703
  ),
7661
- size > 600 ? /* @__PURE__ */ React75.createElement(
7704
+ size > 600 ? /* @__PURE__ */ React76.createElement(
7662
7705
  "img",
7663
7706
  {
7664
7707
  className: clsx28(
@@ -7671,7 +7714,7 @@ var AppLayout = ({
7671
7714
  }
7672
7715
  ) : null
7673
7716
  ),
7674
- /* @__PURE__ */ React75.createElement(
7717
+ /* @__PURE__ */ React76.createElement(
7675
7718
  "div",
7676
7719
  {
7677
7720
  className: clsx28(
@@ -7684,7 +7727,7 @@ var AppLayout = ({
7684
7727
  width: size > 600 ? `${openSideMenu ? openDrawerWidth : 56}px` : `${openSideMenu ? openDrawerWidth : 0}px`
7685
7728
  }
7686
7729
  },
7687
- /* @__PURE__ */ React75.createElement(
7730
+ /* @__PURE__ */ React76.createElement(
7688
7731
  SidebarGroup,
7689
7732
  {
7690
7733
  direction,
@@ -7704,7 +7747,7 @@ var AppLayout = ({
7704
7747
  }
7705
7748
  )
7706
7749
  ),
7707
- /* @__PURE__ */ React75.createElement(
7750
+ /* @__PURE__ */ React76.createElement(
7708
7751
  "div",
7709
7752
  {
7710
7753
  className: clsx28(
@@ -7716,22 +7759,22 @@ var AppLayout = ({
7716
7759
  width: size > 600 ? `${openSideMenu ? openDrawerWidth : 56}px` : `${openSideMenu ? openDrawerWidth : 0}px`
7717
7760
  }
7718
7761
  },
7719
- DrawerFooterActions && openSideMenu ? /* @__PURE__ */ React75.createElement(React75.Fragment, null, DrawerFooterActions) : null,
7720
- size > 600 && openSideMenu ? /* @__PURE__ */ React75.createElement(
7762
+ DrawerFooterActions && openSideMenu ? /* @__PURE__ */ React76.createElement(React76.Fragment, null, DrawerFooterActions) : null,
7763
+ size > 600 && openSideMenu ? /* @__PURE__ */ React76.createElement(
7721
7764
  Tooltip,
7722
7765
  {
7723
7766
  side: "left",
7724
7767
  delayDuration: 500,
7725
7768
  content: keepOpen ? props.texts?.collapseSidebar || "Collapse Sidebar" : props.texts?.expandSidebar || "Expand Sidebar"
7726
7769
  },
7727
- /* @__PURE__ */ React75.createElement(
7770
+ /* @__PURE__ */ React76.createElement(
7728
7771
  Button,
7729
7772
  {
7730
7773
  variant: "light",
7731
7774
  onClick: () => setKeepOpen(!keepOpen),
7732
7775
  size: "smallIcon"
7733
7776
  },
7734
- /* @__PURE__ */ React75.createElement(
7777
+ /* @__PURE__ */ React76.createElement(
7735
7778
  "svg",
7736
7779
  {
7737
7780
  className: clsx28(
@@ -7741,7 +7784,7 @@ var AppLayout = ({
7741
7784
  fill: "currentColor",
7742
7785
  viewBox: "0 0 20 20"
7743
7786
  },
7744
- /* @__PURE__ */ React75.createElement(
7787
+ /* @__PURE__ */ React76.createElement(
7745
7788
  "path",
7746
7789
  {
7747
7790
  fillRule: "evenodd",
@@ -7753,7 +7796,7 @@ var AppLayout = ({
7753
7796
  )
7754
7797
  ) : null
7755
7798
  )
7756
- ), /* @__PURE__ */ React75.createElement(
7799
+ ), /* @__PURE__ */ React76.createElement(
7757
7800
  "div",
7758
7801
  {
7759
7802
  className: "fixed overflow-y-auto transition-all",
@@ -7784,7 +7827,7 @@ var AppLayout = ({
7784
7827
  };
7785
7828
 
7786
7829
  // src/layout/HawaAppLayout.tsx
7787
- import React76, { useEffect as useEffect23, useRef as useRef15, useState as useState38 } from "react";
7830
+ import React77, { useEffect as useEffect23, useRef as useRef15, useState as useState39 } from "react";
7788
7831
  import clsx29 from "clsx";
7789
7832
  import { FaChevronRight } from "react-icons/fa";
7790
7833
  var HawaAppLayout = ({
@@ -7793,10 +7836,10 @@ var HawaAppLayout = ({
7793
7836
  onSettingsClick,
7794
7837
  ...props
7795
7838
  }) => {
7796
- const [openSideMenu, setOpenSideMenu] = useState38(false);
7797
- const [openSubItem, setOpenSubitem] = useState38("");
7839
+ const [openSideMenu, setOpenSideMenu] = useState39(false);
7840
+ const [openSubItem, setOpenSubitem] = useState39("");
7798
7841
  const { isOpen, onClose, onOpen } = useDiscloser_default(false);
7799
- const [keepOpen, setKeepOpen] = useState38(false);
7842
+ const [keepOpen, setKeepOpen] = useState39(false);
7800
7843
  const ref = useRef15(null);
7801
7844
  const isRTL = direction === "rtl";
7802
7845
  let size;
@@ -7830,7 +7873,7 @@ var HawaAppLayout = ({
7830
7873
  }
7831
7874
  };
7832
7875
  let drawerSizeCondition = size > 600 ? drawerSizeStyle[keepOpen ? "opened" : "closed"][drawerSize] : 0;
7833
- return /* @__PURE__ */ React76.createElement("div", { className: "fixed" }, props.topBar && /* @__PURE__ */ React76.createElement(
7876
+ return /* @__PURE__ */ React77.createElement("div", { className: "fixed" }, props.topBar && /* @__PURE__ */ React77.createElement(
7834
7877
  "div",
7835
7878
  {
7836
7879
  className: clsx29(
@@ -7840,7 +7883,7 @@ var HawaAppLayout = ({
7840
7883
  },
7841
7884
  size > 600 ? props.pageTitle ? (
7842
7885
  // Title of the page
7843
- /* @__PURE__ */ React76.createElement(
7886
+ /* @__PURE__ */ React77.createElement(
7844
7887
  "div",
7845
7888
  {
7846
7889
  className: clsx29(
@@ -7856,19 +7899,19 @@ var HawaAppLayout = ({
7856
7899
  )
7857
7900
  ) : null : (
7858
7901
  // Mobile Drawer Menu Button
7859
- /* @__PURE__ */ React76.createElement(
7902
+ /* @__PURE__ */ React77.createElement(
7860
7903
  "div",
7861
7904
  {
7862
7905
  dir: direction,
7863
7906
  className: "flex items-center justify-center gap-0.5 "
7864
7907
  },
7865
- /* @__PURE__ */ React76.createElement(
7908
+ /* @__PURE__ */ React77.createElement(
7866
7909
  "div",
7867
7910
  {
7868
7911
  onClick: () => setOpenSideMenu(true),
7869
7912
  className: "z-40 mx-1 cursor-pointer rounded p-2 transition-all hover:bg-gray-100"
7870
7913
  },
7871
- /* @__PURE__ */ React76.createElement(
7914
+ /* @__PURE__ */ React77.createElement(
7872
7915
  "svg",
7873
7916
  {
7874
7917
  stroke: "currentColor",
@@ -7879,7 +7922,7 @@ var HawaAppLayout = ({
7879
7922
  height: "1.6em",
7880
7923
  width: "1.6em"
7881
7924
  },
7882
- /* @__PURE__ */ React76.createElement(
7925
+ /* @__PURE__ */ React77.createElement(
7883
7926
  "path",
7884
7927
  {
7885
7928
  fillRule: "evenodd",
@@ -7890,10 +7933,10 @@ var HawaAppLayout = ({
7890
7933
  ),
7891
7934
  " "
7892
7935
  ),
7893
- props.pageTitle ? /* @__PURE__ */ React76.createElement("div", { className: "text-sm" }, props.pageTitle) : /* @__PURE__ */ React76.createElement("div", null)
7936
+ props.pageTitle ? /* @__PURE__ */ React77.createElement("div", { className: "text-sm" }, props.pageTitle) : /* @__PURE__ */ React77.createElement("div", null)
7894
7937
  )
7895
7938
  ),
7896
- /* @__PURE__ */ React76.createElement(
7939
+ /* @__PURE__ */ React77.createElement(
7897
7940
  "div",
7898
7941
  {
7899
7942
  className: clsx29(
@@ -7901,18 +7944,18 @@ var HawaAppLayout = ({
7901
7944
  isRTL ? "flex-row-reverse" : "flex-row"
7902
7945
  )
7903
7946
  },
7904
- size > 600 ? /* @__PURE__ */ React76.createElement(
7947
+ size > 600 ? /* @__PURE__ */ React77.createElement(
7905
7948
  "div",
7906
7949
  {
7907
7950
  className: clsx29(
7908
7951
  isRTL ? "text-left text-xs" : "text-right text-xs"
7909
7952
  )
7910
7953
  },
7911
- /* @__PURE__ */ React76.createElement("div", { className: "font-bold" }, props.username),
7954
+ /* @__PURE__ */ React77.createElement("div", { className: "font-bold" }, props.username),
7912
7955
  " ",
7913
- /* @__PURE__ */ React76.createElement("div", null, props.email)
7956
+ /* @__PURE__ */ React77.createElement("div", null, props.email)
7914
7957
  ) : null,
7915
- /* @__PURE__ */ React76.createElement(
7958
+ /* @__PURE__ */ React77.createElement(
7916
7959
  HawaMenu,
7917
7960
  {
7918
7961
  direction,
@@ -7922,14 +7965,14 @@ var HawaAppLayout = ({
7922
7965
  menuItems: props.profileMenuItems,
7923
7966
  position: "bottom-left"
7924
7967
  },
7925
- /* @__PURE__ */ React76.createElement("div", { className: "relative h-8 w-8 cursor-pointer overflow-hidden rounded-full ring-1 ring-buttonPrimary-500 dark:bg-gray-600" }, /* @__PURE__ */ React76.createElement(
7968
+ /* @__PURE__ */ React77.createElement("div", { className: "relative h-8 w-8 cursor-pointer overflow-hidden rounded-full ring-1 ring-buttonPrimary-500 dark:bg-gray-600" }, /* @__PURE__ */ React77.createElement(
7926
7969
  "svg",
7927
7970
  {
7928
7971
  className: "absolute -left-1 h-10 w-10 text-gray-400",
7929
7972
  fill: "currentColor",
7930
7973
  viewBox: "0 0 20 20"
7931
7974
  },
7932
- /* @__PURE__ */ React76.createElement(
7975
+ /* @__PURE__ */ React77.createElement(
7933
7976
  "path",
7934
7977
  {
7935
7978
  fillRule: "evenodd",
@@ -7940,7 +7983,7 @@ var HawaAppLayout = ({
7940
7983
  ))
7941
7984
  )
7942
7985
  )
7943
- ), /* @__PURE__ */ React76.createElement(
7986
+ ), /* @__PURE__ */ React77.createElement(
7944
7987
  "div",
7945
7988
  {
7946
7989
  onMouseEnter: () => {
@@ -7957,7 +8000,7 @@ var HawaAppLayout = ({
7957
8000
  width: size > 600 ? openSideMenu ? `${drawerSizeStyle["opened"][drawerSize]}px` : `${drawerSizeStyle["closed"][drawerSize]}px` : openSideMenu ? `${drawerSizeStyle["opened"][drawerSize]}px` : "0px"
7958
8001
  }
7959
8002
  },
7960
- /* @__PURE__ */ React76.createElement(
8003
+ /* @__PURE__ */ React77.createElement(
7961
8004
  "div",
7962
8005
  {
7963
8006
  className: clsx29(
@@ -7966,7 +8009,7 @@ var HawaAppLayout = ({
7966
8009
  openSideMenu ? "overflow-auto" : "overflow-hidden"
7967
8010
  )
7968
8011
  },
7969
- /* @__PURE__ */ React76.createElement(
8012
+ /* @__PURE__ */ React77.createElement(
7970
8013
  "div",
7971
8014
  {
7972
8015
  dir: direction,
@@ -7978,7 +8021,7 @@ var HawaAppLayout = ({
7978
8021
  width: size > 600 ? `${drawerSizeStyle[openSideMenu ? "opened" : "closed"][drawerSize] - 16}px` : "full"
7979
8022
  }
7980
8023
  },
7981
- /* @__PURE__ */ React76.createElement(
8024
+ /* @__PURE__ */ React77.createElement(
7982
8025
  "img",
7983
8026
  {
7984
8027
  className: clsx29(
@@ -7990,7 +8033,7 @@ var HawaAppLayout = ({
7990
8033
  src: props.logoLink
7991
8034
  }
7992
8035
  ),
7993
- size > 600 ? /* @__PURE__ */ React76.createElement(
8036
+ size > 600 ? /* @__PURE__ */ React77.createElement(
7994
8037
  "img",
7995
8038
  {
7996
8039
  className: clsx29(
@@ -8002,14 +8045,14 @@ var HawaAppLayout = ({
8002
8045
  }
8003
8046
  ) : null
8004
8047
  ),
8005
- /* @__PURE__ */ React76.createElement("div", { className: "mb-10 mt-14" }, props.drawerItems?.map((dSection, dIndex) => /* @__PURE__ */ React76.createElement(
8048
+ /* @__PURE__ */ React77.createElement("div", { className: "mb-10 mt-14" }, props.drawerItems?.map((dSection, dIndex) => /* @__PURE__ */ React77.createElement(
8006
8049
  "div",
8007
8050
  {
8008
8051
  key: dIndex,
8009
8052
  className: clsx29("flex flex-col items-stretch justify-center")
8010
8053
  },
8011
8054
  dSection?.map((dItem, i) => {
8012
- return /* @__PURE__ */ React76.createElement("div", { key: i, id: "test", className: "flex flex-col" }, /* @__PURE__ */ React76.createElement(
8055
+ return /* @__PURE__ */ React77.createElement("div", { key: i, id: "test", className: "flex flex-col" }, /* @__PURE__ */ React77.createElement(
8013
8056
  "div",
8014
8057
  {
8015
8058
  onClick: () => {
@@ -8029,7 +8072,7 @@ var HawaAppLayout = ({
8029
8072
  isRTL ? "flex-row-reverse pr-3" : ""
8030
8073
  )
8031
8074
  },
8032
- /* @__PURE__ */ React76.createElement("div", { className: "flex flex-row", dir: direction }, /* @__PURE__ */ React76.createElement("div", { className: "flex items-center justify-center" }, dItem.icon), /* @__PURE__ */ React76.createElement(
8075
+ /* @__PURE__ */ React77.createElement("div", { className: "flex flex-row", dir: direction }, /* @__PURE__ */ React77.createElement("div", { className: "flex items-center justify-center" }, dItem.icon), /* @__PURE__ */ React77.createElement(
8033
8076
  "div",
8034
8077
  {
8035
8078
  className: clsx29(
@@ -8039,16 +8082,16 @@ var HawaAppLayout = ({
8039
8082
  },
8040
8083
  dItem.label
8041
8084
  )),
8042
- dItem.subItems && /* @__PURE__ */ React76.createElement(
8085
+ dItem.subItems && /* @__PURE__ */ React77.createElement(
8043
8086
  "div",
8044
8087
  {
8045
8088
  className: clsx29(
8046
8089
  openSubItem && dItem.slug === openSubItem ? "-rotate-90" : "rotate-90"
8047
8090
  )
8048
8091
  },
8049
- /* @__PURE__ */ React76.createElement(FaChevronRight, { fontSize: 11 })
8092
+ /* @__PURE__ */ React77.createElement(FaChevronRight, { fontSize: 11 })
8050
8093
  )
8051
- ), dItem.subItems && /* @__PURE__ */ React76.createElement(
8094
+ ), dItem.subItems && /* @__PURE__ */ React77.createElement(
8052
8095
  "div",
8053
8096
  {
8054
8097
  className: clsx29(
@@ -8060,7 +8103,7 @@ var HawaAppLayout = ({
8060
8103
  height: openSubItem == dItem.slug && openSideMenu ? 6 + 33 * dItem.subItems?.length : 0
8061
8104
  }
8062
8105
  },
8063
- dItem.subItems?.map((subIt, s) => /* @__PURE__ */ React76.createElement(
8106
+ dItem.subItems?.map((subIt, s) => /* @__PURE__ */ React77.createElement(
8064
8107
  "div",
8065
8108
  {
8066
8109
  key: s,
@@ -8074,14 +8117,14 @@ var HawaAppLayout = ({
8074
8117
  subIt.action();
8075
8118
  }
8076
8119
  },
8077
- /* @__PURE__ */ React76.createElement("div", { className: "flex items-center justify-center" }, subIt.icon),
8078
- /* @__PURE__ */ React76.createElement("div", { className: "flex flex-row justify-between" }, subIt.label)
8120
+ /* @__PURE__ */ React77.createElement("div", { className: "flex items-center justify-center" }, subIt.icon),
8121
+ /* @__PURE__ */ React77.createElement("div", { className: "flex flex-row justify-between" }, subIt.label)
8079
8122
  ))
8080
8123
  ));
8081
8124
  }),
8082
- dIndex !== props.drawerItems.length - 1 && /* @__PURE__ */ React76.createElement("div", { className: "my-2 h-[1px] w-10/12 self-center bg-buttonPrimary-500 text-center " })
8125
+ dIndex !== props.drawerItems.length - 1 && /* @__PURE__ */ React77.createElement("div", { className: "my-2 h-[1px] w-10/12 self-center bg-buttonPrimary-500 text-center " })
8083
8126
  ))),
8084
- openSideMenu && /* @__PURE__ */ React76.createElement(
8127
+ openSideMenu && /* @__PURE__ */ React77.createElement(
8085
8128
  "div",
8086
8129
  {
8087
8130
  className: clsx29(
@@ -8094,13 +8137,13 @@ var HawaAppLayout = ({
8094
8137
  width: `${drawerSizeStyle[openSideMenu ? "opened" : "closed"][drawerSize] - 16}px`
8095
8138
  }
8096
8139
  },
8097
- onSettingsClick && /* @__PURE__ */ React76.createElement(
8140
+ onSettingsClick && /* @__PURE__ */ React77.createElement(
8098
8141
  "div",
8099
8142
  {
8100
8143
  className: " cursor-pointer rounded p-2 transition-all hover:bg-layoutPrimary-700",
8101
8144
  onClick: () => onSettingsClick()
8102
8145
  },
8103
- /* @__PURE__ */ React76.createElement(
8146
+ /* @__PURE__ */ React77.createElement(
8104
8147
  "svg",
8105
8148
  {
8106
8149
  "aria-label": "Settings Icon",
@@ -8113,11 +8156,11 @@ var HawaAppLayout = ({
8113
8156
  height: "1em",
8114
8157
  width: "1em"
8115
8158
  },
8116
- /* @__PURE__ */ React76.createElement("circle", { cx: "12", cy: "12", r: "3" }),
8117
- /* @__PURE__ */ React76.createElement("path", { d: "M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z" })
8159
+ /* @__PURE__ */ React77.createElement("circle", { cx: "12", cy: "12", r: "3" }),
8160
+ /* @__PURE__ */ React77.createElement("path", { d: "M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z" })
8118
8161
  )
8119
8162
  ),
8120
- size > 600 ? /* @__PURE__ */ React76.createElement(
8163
+ size > 600 ? /* @__PURE__ */ React77.createElement(
8121
8164
  "div",
8122
8165
  {
8123
8166
  className: clsx29("w-fit transition-all"),
@@ -8127,7 +8170,7 @@ var HawaAppLayout = ({
8127
8170
  left: `${drawerSizeStyle[openSideMenu ? "opened" : "closed"][drawerSize] - 35}px`
8128
8171
  }
8129
8172
  },
8130
- /* @__PURE__ */ React76.createElement(
8173
+ /* @__PURE__ */ React77.createElement(
8131
8174
  "div",
8132
8175
  {
8133
8176
  dir: direction,
@@ -8136,13 +8179,13 @@ var HawaAppLayout = ({
8136
8179
  openSideMenu ? " opacity-100" : " opacity-0"
8137
8180
  )
8138
8181
  },
8139
- /* @__PURE__ */ React76.createElement(
8182
+ /* @__PURE__ */ React77.createElement(
8140
8183
  "div",
8141
8184
  {
8142
8185
  onClick: () => setKeepOpen(!keepOpen),
8143
8186
  className: "w-fit cursor-pointer rounded bg-gray-300 p-2 transition-all hover:bg-gray-400"
8144
8187
  },
8145
- /* @__PURE__ */ React76.createElement(
8188
+ /* @__PURE__ */ React77.createElement(
8146
8189
  FaChevronRight,
8147
8190
  {
8148
8191
  fontSize: 14,
@@ -8157,7 +8200,7 @@ var HawaAppLayout = ({
8157
8200
  ) : null
8158
8201
  )
8159
8202
  )
8160
- ), /* @__PURE__ */ React76.createElement(
8203
+ ), /* @__PURE__ */ React77.createElement(
8161
8204
  "div",
8162
8205
  {
8163
8206
  className: "fixed overflow-y-auto",
@@ -8178,7 +8221,7 @@ var HawaAppLayout = ({
8178
8221
  };
8179
8222
 
8180
8223
  // src/layout/HawaAppLayoutSimplified.tsx
8181
- import React77, { useEffect as useEffect24, useRef as useRef16, useState as useState39 } from "react";
8224
+ import React78, { useEffect as useEffect24, useRef as useRef16, useState as useState40 } from "react";
8182
8225
  import clsx30 from "clsx";
8183
8226
  var HawaAppLayoutSimplified = ({
8184
8227
  direction = "rtl",
@@ -8187,10 +8230,10 @@ var HawaAppLayoutSimplified = ({
8187
8230
  DrawerFooterActions,
8188
8231
  ...props
8189
8232
  }) => {
8190
- const [openSideMenu, setOpenSideMenu] = useState39(false);
8191
- const [openSubItem, setOpenSubitem] = useState39("");
8233
+ const [openSideMenu, setOpenSideMenu] = useState40(false);
8234
+ const [openSubItem, setOpenSubitem] = useState40("");
8192
8235
  const { isOpen, onClose, onOpen } = useDiscloser_default(false);
8193
- const [keepOpen, setKeepOpen] = useState39(false);
8236
+ const [keepOpen, setKeepOpen] = useState40(false);
8194
8237
  const ref = useRef16(null);
8195
8238
  const isRTL = direction === "rtl";
8196
8239
  let size;
@@ -8226,7 +8269,7 @@ var HawaAppLayoutSimplified = ({
8226
8269
  }
8227
8270
  };
8228
8271
  let drawerSizeCondition = size > 600 ? drawerSizeStyle[keepOpen ? "opened" : "closed"][drawerSize] : 0;
8229
- return /* @__PURE__ */ React77.createElement("div", { className: "fixed left-0" }, props.topBar && /* @__PURE__ */ React77.createElement(
8272
+ return /* @__PURE__ */ React78.createElement("div", { className: "fixed left-0" }, props.topBar && /* @__PURE__ */ React78.createElement(
8230
8273
  "div",
8231
8274
  {
8232
8275
  className: clsx30(
@@ -8234,7 +8277,7 @@ var HawaAppLayoutSimplified = ({
8234
8277
  isRTL ? "flex-row-reverse" : "flex-row"
8235
8278
  )
8236
8279
  },
8237
- size > 600 ? /* @__PURE__ */ React77.createElement(
8280
+ size > 600 ? /* @__PURE__ */ React78.createElement(
8238
8281
  "div",
8239
8282
  {
8240
8283
  className: clsx30(
@@ -8250,19 +8293,19 @@ var HawaAppLayoutSimplified = ({
8250
8293
  props.pageTitle
8251
8294
  ) : (
8252
8295
  // Mobile Drawer Menu Button
8253
- /* @__PURE__ */ React77.createElement(
8296
+ /* @__PURE__ */ React78.createElement(
8254
8297
  "div",
8255
8298
  {
8256
8299
  dir: direction,
8257
8300
  className: "flex items-center justify-center gap-0.5"
8258
8301
  },
8259
- /* @__PURE__ */ React77.createElement(
8302
+ /* @__PURE__ */ React78.createElement(
8260
8303
  "div",
8261
8304
  {
8262
8305
  onClick: () => setOpenSideMenu(true),
8263
8306
  className: "z-40 mx-1 cursor-pointer rounded p-2 transition-all hover:bg-gray-100"
8264
8307
  },
8265
- /* @__PURE__ */ React77.createElement(
8308
+ /* @__PURE__ */ React78.createElement(
8266
8309
  "svg",
8267
8310
  {
8268
8311
  stroke: "currentColor",
@@ -8273,7 +8316,7 @@ var HawaAppLayoutSimplified = ({
8273
8316
  height: "1.6em",
8274
8317
  width: "1.6em"
8275
8318
  },
8276
- /* @__PURE__ */ React77.createElement(
8319
+ /* @__PURE__ */ React78.createElement(
8277
8320
  "path",
8278
8321
  {
8279
8322
  fillRule: "evenodd",
@@ -8283,10 +8326,10 @@ var HawaAppLayoutSimplified = ({
8283
8326
  )
8284
8327
  )
8285
8328
  ),
8286
- props.pageTitle ? /* @__PURE__ */ React77.createElement("div", { className: "text-sm" }, props.pageTitle) : /* @__PURE__ */ React77.createElement("div", null)
8329
+ props.pageTitle ? /* @__PURE__ */ React78.createElement("div", { className: "text-sm" }, props.pageTitle) : /* @__PURE__ */ React78.createElement("div", null)
8287
8330
  )
8288
8331
  ),
8289
- /* @__PURE__ */ React77.createElement(
8332
+ /* @__PURE__ */ React78.createElement(
8290
8333
  "div",
8291
8334
  {
8292
8335
  className: clsx30(
@@ -8294,16 +8337,16 @@ var HawaAppLayoutSimplified = ({
8294
8337
  isRTL ? "flex-row-reverse" : "flex-row"
8295
8338
  )
8296
8339
  },
8297
- size > 600 ? /* @__PURE__ */ React77.createElement(
8340
+ size > 600 ? /* @__PURE__ */ React78.createElement(
8298
8341
  "div",
8299
8342
  {
8300
8343
  className: isRTL ? "text-left text-xs" : "text-right text-xs"
8301
8344
  },
8302
- /* @__PURE__ */ React77.createElement("div", { className: "font-bold" }, props.username),
8345
+ /* @__PURE__ */ React78.createElement("div", { className: "font-bold" }, props.username),
8303
8346
  " ",
8304
- /* @__PURE__ */ React77.createElement("div", null, props.email)
8347
+ /* @__PURE__ */ React78.createElement("div", null, props.email)
8305
8348
  ) : null,
8306
- /* @__PURE__ */ React77.createElement(
8349
+ /* @__PURE__ */ React78.createElement(
8307
8350
  DropdownMenu,
8308
8351
  {
8309
8352
  triggerClassname: "mx-2",
@@ -8312,13 +8355,13 @@ var HawaAppLayoutSimplified = ({
8312
8355
  side: "bottom",
8313
8356
  sideOffset: 5,
8314
8357
  direction: isRTL ? "rtl" : "ltr",
8315
- trigger: /* @__PURE__ */ React77.createElement("div", { className: "relative h-8 w-8 cursor-pointer overflow-clip rounded ring-1 ring-primary/30 dark:bg-gray-600" }, /* @__PURE__ */ React77.createElement(AvatarIcon, null)),
8358
+ trigger: /* @__PURE__ */ React78.createElement("div", { className: "relative h-8 w-8 cursor-pointer overflow-clip rounded ring-1 ring-primary/30 dark:bg-gray-600" }, /* @__PURE__ */ React78.createElement(AvatarIcon, null)),
8316
8359
  items: props.profileMenuItems,
8317
8360
  onItemSelect: (e) => console.log("selecting item ", e)
8318
8361
  }
8319
8362
  )
8320
8363
  )
8321
- ), /* @__PURE__ */ React77.createElement(
8364
+ ), /* @__PURE__ */ React78.createElement(
8322
8365
  "div",
8323
8366
  {
8324
8367
  className: clsx30(
@@ -8334,7 +8377,7 @@ var HawaAppLayoutSimplified = ({
8334
8377
  onMouseLeave: () => keepOpen ? setOpenSideMenu(true) : setOpenSideMenu(false),
8335
8378
  ref
8336
8379
  },
8337
- /* @__PURE__ */ React77.createElement(
8380
+ /* @__PURE__ */ React78.createElement(
8338
8381
  "div",
8339
8382
  {
8340
8383
  dir: direction,
@@ -8345,7 +8388,7 @@ var HawaAppLayoutSimplified = ({
8345
8388
  width: size > 600 ? `${openSideMenu ? openDrawerWidth : 56}px` : `${openSideMenu ? openDrawerWidth : 0}px`
8346
8389
  }
8347
8390
  },
8348
- /* @__PURE__ */ React77.createElement(
8391
+ /* @__PURE__ */ React78.createElement(
8349
8392
  "img",
8350
8393
  {
8351
8394
  className: clsx30(
@@ -8357,7 +8400,7 @@ var HawaAppLayoutSimplified = ({
8357
8400
  src: props.logoLink
8358
8401
  }
8359
8402
  ),
8360
- size > 600 ? /* @__PURE__ */ React77.createElement(
8403
+ size > 600 ? /* @__PURE__ */ React78.createElement(
8361
8404
  "img",
8362
8405
  {
8363
8406
  className: clsx30(
@@ -8369,7 +8412,7 @@ var HawaAppLayoutSimplified = ({
8369
8412
  }
8370
8413
  ) : null
8371
8414
  ),
8372
- /* @__PURE__ */ React77.createElement(
8415
+ /* @__PURE__ */ React78.createElement(
8373
8416
  "div",
8374
8417
  {
8375
8418
  className: clsx30(
@@ -8383,7 +8426,7 @@ var HawaAppLayoutSimplified = ({
8383
8426
  width: size > 600 ? `${openSideMenu ? openDrawerWidth : 56}px` : `${openSideMenu ? openDrawerWidth : 0}px`
8384
8427
  }
8385
8428
  },
8386
- props.drawerItems?.map((dSection, dIndex) => /* @__PURE__ */ React77.createElement(
8429
+ props.drawerItems?.map((dSection, dIndex) => /* @__PURE__ */ React78.createElement(
8387
8430
  "div",
8388
8431
  {
8389
8432
  key: dIndex,
@@ -8392,7 +8435,7 @@ var HawaAppLayoutSimplified = ({
8392
8435
  )
8393
8436
  },
8394
8437
  dSection?.map((dItem, i) => {
8395
- return /* @__PURE__ */ React77.createElement("div", { key: i, id: "test", className: "flex flex-col" }, /* @__PURE__ */ React77.createElement(
8438
+ return /* @__PURE__ */ React78.createElement("div", { key: i, id: "test", className: "flex flex-col" }, /* @__PURE__ */ React78.createElement(
8396
8439
  "div",
8397
8440
  {
8398
8441
  onClick: () => {
@@ -8413,7 +8456,7 @@ var HawaAppLayoutSimplified = ({
8413
8456
  openSideMenu ? "m-2" : "m-2"
8414
8457
  )
8415
8458
  },
8416
- /* @__PURE__ */ React77.createElement("div", { className: "flex flex-row", dir: direction }, /* @__PURE__ */ React77.createElement("div", { className: "flex items-center justify-center " }, dItem.icon), /* @__PURE__ */ React77.createElement(
8459
+ /* @__PURE__ */ React78.createElement("div", { className: "flex flex-row", dir: direction }, /* @__PURE__ */ React78.createElement("div", { className: "flex items-center justify-center " }, dItem.icon), /* @__PURE__ */ React78.createElement(
8417
8460
  "div",
8418
8461
  {
8419
8462
  className: clsx30(
@@ -8423,13 +8466,13 @@ var HawaAppLayoutSimplified = ({
8423
8466
  },
8424
8467
  dItem.label
8425
8468
  )),
8426
- dItem.subItems && /* @__PURE__ */ React77.createElement(
8469
+ dItem.subItems && /* @__PURE__ */ React78.createElement(
8427
8470
  ArrowIcon,
8428
8471
  {
8429
8472
  pointing: openSubItem && dItem.slug === openSubItem ? "up" : "down"
8430
8473
  }
8431
8474
  )
8432
- ), dItem.subItems && /* @__PURE__ */ React77.createElement(
8475
+ ), dItem.subItems && /* @__PURE__ */ React78.createElement(
8433
8476
  "div",
8434
8477
  {
8435
8478
  className: clsx30(
@@ -8441,7 +8484,7 @@ var HawaAppLayoutSimplified = ({
8441
8484
  height: openSubItem == dItem.slug && openSideMenu ? 6 + 35 * dItem.subItems?.length : 0
8442
8485
  }
8443
8486
  },
8444
- dItem.subItems?.map((subIt, s) => /* @__PURE__ */ React77.createElement(
8487
+ dItem.subItems?.map((subIt, s) => /* @__PURE__ */ React78.createElement(
8445
8488
  "div",
8446
8489
  {
8447
8490
  key: s,
@@ -8455,15 +8498,15 @@ var HawaAppLayoutSimplified = ({
8455
8498
  subIt.action();
8456
8499
  }
8457
8500
  },
8458
- /* @__PURE__ */ React77.createElement("div", { className: "flex items-center justify-center" }, subIt.icon),
8459
- /* @__PURE__ */ React77.createElement("div", { className: "flex flex-row justify-between" }, subIt.label)
8501
+ /* @__PURE__ */ React78.createElement("div", { className: "flex items-center justify-center" }, subIt.icon),
8502
+ /* @__PURE__ */ React78.createElement("div", { className: "flex flex-row justify-between" }, subIt.label)
8460
8503
  ))
8461
8504
  ));
8462
8505
  }),
8463
- dIndex !== props.drawerItems.length - 1 && /* @__PURE__ */ React77.createElement("div", { className: "my-2 h-[1px] w-10/12 self-center bg-buttonPrimary-500 bg-red-500 text-center " })
8506
+ dIndex !== props.drawerItems.length - 1 && /* @__PURE__ */ React78.createElement("div", { className: "my-2 h-[1px] w-10/12 self-center bg-buttonPrimary-500 bg-red-500 text-center " })
8464
8507
  ))
8465
8508
  ),
8466
- /* @__PURE__ */ React77.createElement(
8509
+ /* @__PURE__ */ React78.createElement(
8467
8510
  "div",
8468
8511
  {
8469
8512
  className: clsx30(
@@ -8474,22 +8517,22 @@ var HawaAppLayoutSimplified = ({
8474
8517
  width: size > 600 ? `${openSideMenu ? openDrawerWidth : 56}px` : `${openSideMenu ? openDrawerWidth : 0}px`
8475
8518
  }
8476
8519
  },
8477
- DrawerFooterActions && openSideMenu ? /* @__PURE__ */ React77.createElement(React77.Fragment, null, DrawerFooterActions) : null,
8478
- size > 600 && openSideMenu ? /* @__PURE__ */ React77.createElement(
8520
+ DrawerFooterActions && openSideMenu ? /* @__PURE__ */ React78.createElement(React78.Fragment, null, DrawerFooterActions) : null,
8521
+ size > 600 && openSideMenu ? /* @__PURE__ */ React78.createElement(
8479
8522
  Tooltip,
8480
8523
  {
8481
8524
  side: "left",
8482
8525
  delayDuration: 500,
8483
8526
  content: keepOpen ? props.texts?.collapseSidebar || "Collapse Sidebar" : props.texts?.expandSidebar || "Expand Sidebar"
8484
8527
  },
8485
- /* @__PURE__ */ React77.createElement(
8528
+ /* @__PURE__ */ React78.createElement(
8486
8529
  Button,
8487
8530
  {
8488
8531
  variant: "light",
8489
8532
  onClick: () => setKeepOpen(!keepOpen),
8490
8533
  size: "smallIcon"
8491
8534
  },
8492
- /* @__PURE__ */ React77.createElement(
8535
+ /* @__PURE__ */ React78.createElement(
8493
8536
  "svg",
8494
8537
  {
8495
8538
  className: clsx30(
@@ -8499,7 +8542,7 @@ var HawaAppLayoutSimplified = ({
8499
8542
  fill: "currentColor",
8500
8543
  viewBox: "0 0 20 20"
8501
8544
  },
8502
- /* @__PURE__ */ React77.createElement(
8545
+ /* @__PURE__ */ React78.createElement(
8503
8546
  "path",
8504
8547
  {
8505
8548
  fillRule: "evenodd",
@@ -8511,7 +8554,7 @@ var HawaAppLayoutSimplified = ({
8511
8554
  )
8512
8555
  ) : null
8513
8556
  )
8514
- ), /* @__PURE__ */ React77.createElement(
8557
+ ), /* @__PURE__ */ React78.createElement(
8515
8558
  "div",
8516
8559
  {
8517
8560
  className: "fixed overflow-y-auto",
@@ -8530,14 +8573,14 @@ var HawaAppLayoutSimplified = ({
8530
8573
  props.children
8531
8574
  ));
8532
8575
  };
8533
- var AvatarIcon = () => /* @__PURE__ */ React77.createElement(
8576
+ var AvatarIcon = () => /* @__PURE__ */ React78.createElement(
8534
8577
  "svg",
8535
8578
  {
8536
8579
  className: "absolute -left-1 h-10 w-10 text-gray-400",
8537
8580
  fill: "currentColor",
8538
8581
  viewBox: "0 0 20 20"
8539
8582
  },
8540
- /* @__PURE__ */ React77.createElement(
8583
+ /* @__PURE__ */ React78.createElement(
8541
8584
  "path",
8542
8585
  {
8543
8586
  fillRule: "evenodd",
@@ -8564,7 +8607,7 @@ var ArrowIcon = ({ pointing }) => {
8564
8607
  default:
8565
8608
  break;
8566
8609
  }
8567
- return /* @__PURE__ */ React77.createElement(
8610
+ return /* @__PURE__ */ React78.createElement(
8568
8611
  "svg",
8569
8612
  {
8570
8613
  className: clsx30(
@@ -8574,7 +8617,7 @@ var ArrowIcon = ({ pointing }) => {
8574
8617
  fill: "currentColor",
8575
8618
  viewBox: "0 0 20 20"
8576
8619
  },
8577
- /* @__PURE__ */ React77.createElement(
8620
+ /* @__PURE__ */ React78.createElement(
8578
8621
  "path",
8579
8622
  {
8580
8623
  fillRule: "evenodd",
@@ -8586,7 +8629,7 @@ var ArrowIcon = ({ pointing }) => {
8586
8629
  };
8587
8630
 
8588
8631
  // src/layout/HawaContainer.tsx
8589
- import React78 from "react";
8632
+ import React79 from "react";
8590
8633
  import clsx31 from "clsx";
8591
8634
  var HawaContainer = ({
8592
8635
  maxWidth = "normal",
@@ -8606,7 +8649,7 @@ var HawaContainer = ({
8606
8649
  outlined: "bg-transparent border border-black w-fit",
8607
8650
  neobrutalism: "shadow-neobrutalism border-4 border-black bg-white"
8608
8651
  };
8609
- return /* @__PURE__ */ React78.createElement(
8652
+ return /* @__PURE__ */ React79.createElement(
8610
8653
  "div",
8611
8654
  {
8612
8655
  className: clsx31(
@@ -8622,28 +8665,28 @@ var HawaContainer = ({
8622
8665
  };
8623
8666
 
8624
8667
  // src/layout/HawaGrid.tsx
8625
- import React79 from "react";
8668
+ import React80 from "react";
8626
8669
  var HawaGrid = (props) => {
8627
8670
  return (
8628
8671
  // [&>*:not(:first-child)]:mt-8
8629
- /* @__PURE__ */ React79.createElement("div", { className: " columns-1 gap-5 sm:columns-2 sm:gap-8 md:columns-3 lg:columns-4 [&>*:not(:first-child)]:mt-8" }, props.children)
8672
+ /* @__PURE__ */ React80.createElement("div", { className: " columns-1 gap-5 sm:columns-2 sm:gap-8 md:columns-3 lg:columns-4 [&>*:not(:first-child)]:mt-8" }, props.children)
8630
8673
  );
8631
8674
  };
8632
8675
 
8633
8676
  // src/layout/AppSidebar.tsx
8634
- import React80 from "react";
8677
+ import React81 from "react";
8635
8678
  var AppSidebar = ({ isOpen, onClose, items }) => {
8636
8679
  if (!isOpen) {
8637
8680
  return null;
8638
8681
  }
8639
- return /* @__PURE__ */ React80.createElement("div", { className: "fixed inset-0 z-40 flex bg-gray-600 bg-opacity-75" }, /* @__PURE__ */ React80.createElement("div", { className: "w-1/3 rounded-l-lg bg-gray-800 shadow-2xl" }, /* @__PURE__ */ React80.createElement(
8682
+ return /* @__PURE__ */ React81.createElement("div", { className: "fixed inset-0 z-40 flex bg-gray-600 bg-opacity-75" }, /* @__PURE__ */ React81.createElement("div", { className: "w-1/3 rounded-l-lg bg-gray-800 shadow-2xl" }, /* @__PURE__ */ React81.createElement(
8640
8683
  "button",
8641
8684
  {
8642
8685
  onClick: onClose,
8643
8686
  className: "p-4 text-gray-400 hover:text-white focus:text-white focus:outline-none"
8644
8687
  },
8645
8688
  "Close"
8646
- ), /* @__PURE__ */ React80.createElement("nav", null, items.map((item, i) => /* @__PURE__ */ React80.createElement(
8689
+ ), /* @__PURE__ */ React81.createElement("nav", null, items.map((item, i) => /* @__PURE__ */ React81.createElement(
8647
8690
  "a",
8648
8691
  {
8649
8692
  key: i,
@@ -8652,37 +8695,56 @@ var AppSidebar = ({ isOpen, onClose, items }) => {
8652
8695
  className: "block p-4 font-bold text-white hover:bg-gray-700 hover:text-gray-400"
8653
8696
  },
8654
8697
  item.label
8655
- )))), /* @__PURE__ */ React80.createElement("div", { className: "w-2/3 bg-gray-50" }));
8698
+ )))), /* @__PURE__ */ React81.createElement("div", { className: "w-2/3 bg-gray-50" }));
8656
8699
  };
8657
8700
 
8658
8701
  // src/layout/Footer.tsx
8659
8702
  import { BsInstagram, BsTwitter } from "react-icons/bs";
8660
8703
  import { FaSnapchatGhost, FaTiktok } from "react-icons/fa";
8661
- var Footer = ({ ...props }) => {
8662
- return /* @__PURE__ */ React.createElement("div", { className: "sticky bottom-0 left-0 flex w-full flex-row gap-8 bg-blue-200 p-4" }, props.logoText && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", { className: "text-2xl font-bold" }, props.logoText)), props.footerLinks?.map((pagesSection) => /* @__PURE__ */ React.createElement("div", { className: "flex w-32 flex-col gap-2" }, /* @__PURE__ */ React.createElement("div", { className: "text-lg font-bold" }, pagesSection.title), /* @__PURE__ */ React.createElement("div", { className: "flex flex-col gap-1" }, pagesSection.pages.map((singlePage) => /* @__PURE__ */ React.createElement(
8663
- "a",
8704
+ var Footer = ({
8705
+ variation = "default",
8706
+ ...props
8707
+ }) => {
8708
+ let variationStyles = {
8709
+ default: "rounded border",
8710
+ minimal: "border-t"
8711
+ };
8712
+ return /* @__PURE__ */ React.createElement(
8713
+ "div",
8664
8714
  {
8665
- className: "transition-all hover:font-bold",
8666
- href: singlePage.link
8715
+ className: cn(
8716
+ "flex w-full flex-row items-center justify-between gap-8 rounded bg-background p-4",
8717
+ variationStyles[variation]
8718
+ )
8667
8719
  },
8668
- singlePage.label
8669
- ))))), props.socialLinks && /* @__PURE__ */ React.createElement("div", { className: "flex flex-row gap-2" }, props.socialLinks.twitter && /* @__PURE__ */ React.createElement("div", { className: "flex h-6 w-6 items-center justify-center rounded bg-white" }, /* @__PURE__ */ React.createElement(BsTwitter, null)), props.socialLinks.instagram && /* @__PURE__ */ React.createElement("div", { className: "flex h-6 w-6 items-center justify-center rounded bg-white" }, /* @__PURE__ */ React.createElement(BsInstagram, null)), props.socialLinks.tiktok && /* @__PURE__ */ React.createElement("div", { className: "flex h-6 w-6 items-center justify-center rounded bg-white" }, /* @__PURE__ */ React.createElement(FaTiktok, null)), props.socialLinks.snapchat && /* @__PURE__ */ React.createElement("div", { className: "flex h-6 w-6 items-center justify-center rounded bg-white" }, /* @__PURE__ */ React.createElement(FaSnapchatGhost, null))));
8720
+ /* @__PURE__ */ React.createElement("div", { className: "flex flex-col items-center gap-2" }, /* @__PURE__ */ React.createElement("div", { className: "flex flex-row items-center gap-2" }, props.logoURL && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("img", { className: "h-8", src: props.logoURL })), props.logoText && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", { className: "text-2xl font-bold text-primary" }, props.logoText))), props.copyRights && props.footerLinks && /* @__PURE__ */ React.createElement("div", { className: "text-xs text-muted-foreground" }, "\xA9 ", props.copyRights, " ", (/* @__PURE__ */ new Date()).getFullYear())),
8721
+ props.copyRights && !props.footerLinks && /* @__PURE__ */ React.createElement("div", { className: "text-xs text-muted-foreground" }, "\xA9 ", props.copyRights, " ", (/* @__PURE__ */ new Date()).getFullYear()),
8722
+ props.footerLinks?.map((pagesSection) => /* @__PURE__ */ React.createElement("div", { className: "flex w-32 flex-col gap-2" }, /* @__PURE__ */ React.createElement("div", { className: "text-lg font-bold" }, pagesSection.title), /* @__PURE__ */ React.createElement("div", { className: "flex flex-col gap-1" }, pagesSection.pages.map((singlePage) => /* @__PURE__ */ React.createElement(
8723
+ "a",
8724
+ {
8725
+ className: "transition-all hover:font-bold",
8726
+ href: singlePage.link
8727
+ },
8728
+ singlePage.label
8729
+ ))))),
8730
+ props.socialLinks && /* @__PURE__ */ React.createElement("div", { className: "flex flex-row gap-2" }, props.socialLinks.twitter && /* @__PURE__ */ React.createElement(Button, { size: "smallIcon", variant: "ghost" }, /* @__PURE__ */ React.createElement(BsTwitter, null)), props.socialLinks.instagram && /* @__PURE__ */ React.createElement(Button, { size: "smallIcon", variant: "ghost" }, /* @__PURE__ */ React.createElement(BsInstagram, null)), props.socialLinks.tiktok && /* @__PURE__ */ React.createElement(Button, { size: "smallIcon", variant: "ghost" }, /* @__PURE__ */ React.createElement(FaTiktok, null)), props.socialLinks.snapchat && /* @__PURE__ */ React.createElement(Button, { size: "smallIcon", variant: "ghost" }, /* @__PURE__ */ React.createElement(FaSnapchatGhost, null)))
8731
+ );
8670
8732
  };
8671
8733
 
8672
8734
  // src/layout/Banner.tsx
8673
- import React81, { useRef as useRef17, useState as useState40 } from "react";
8735
+ import React82, { useRef as useRef17, useState as useState41 } from "react";
8674
8736
  import clsx32 from "clsx";
8675
8737
  var HawaBanner = ({
8676
8738
  design = "floating",
8677
8739
  ...props
8678
8740
  }) => {
8679
8741
  const bannerRef = useRef17(null);
8680
- const [closed, setClosed] = useState40(false);
8742
+ const [closed, setClosed] = useState41(false);
8681
8743
  let bannerStyle = {
8682
8744
  floating: "left-1/2 z-50 w-[calc(100%-2rem)] -translate-x-1/2 lg:max-w-7xl p-4 rounded",
8683
8745
  default: "w-[calc(100%)] left-0 z-50 right-0 rounded-none p-2"
8684
8746
  };
8685
- return /* @__PURE__ */ React81.createElement("div", { ref: bannerRef }, /* @__PURE__ */ React81.createElement(
8747
+ return /* @__PURE__ */ React82.createElement("div", { ref: bannerRef }, /* @__PURE__ */ React82.createElement(
8686
8748
  "div",
8687
8749
  {
8688
8750
  dir: props.direction,
@@ -8693,7 +8755,7 @@ var HawaBanner = ({
8693
8755
  closed ? "opacity-0" : "opacity-100"
8694
8756
  )
8695
8757
  },
8696
- /* @__PURE__ */ React81.createElement("div", { className: "mb-3 flex w-full flex-col items-center justify-start md:mb-0 md:flex-row md:items-center" }, /* @__PURE__ */ React81.createElement(
8758
+ /* @__PURE__ */ React82.createElement("div", { className: "mb-3 flex w-full flex-col items-center justify-start md:mb-0 md:flex-row md:items-center" }, /* @__PURE__ */ React82.createElement(
8697
8759
  "div",
8698
8760
  {
8699
8761
  className: clsx32(
@@ -8701,7 +8763,7 @@ var HawaBanner = ({
8701
8763
  "mb-2 flex items-center border-gray-200 dark:border-gray-600 md:mb-0 md:mr-4 md:pr-4"
8702
8764
  )
8703
8765
  },
8704
- props.logoURL && /* @__PURE__ */ React81.createElement(
8766
+ props.logoURL && /* @__PURE__ */ React82.createElement(
8705
8767
  "img",
8706
8768
  {
8707
8769
  src: props.logoURL,
@@ -8709,8 +8771,8 @@ var HawaBanner = ({
8709
8771
  alt: "Flowbite Logo"
8710
8772
  }
8711
8773
  ),
8712
- props.title && /* @__PURE__ */ React81.createElement("span", { className: "self-center whitespace-nowrap text-lg font-semibold dark:text-white" }, props.title)
8713
- ), props.text && /* @__PURE__ */ React81.createElement(
8774
+ props.title && /* @__PURE__ */ React82.createElement("span", { className: "self-center whitespace-nowrap text-lg font-semibold dark:text-white" }, props.title)
8775
+ ), props.text && /* @__PURE__ */ React82.createElement(
8714
8776
  "p",
8715
8777
  {
8716
8778
  className: clsx32(
@@ -8720,7 +8782,7 @@ var HawaBanner = ({
8720
8782
  },
8721
8783
  props.text
8722
8784
  )),
8723
- props.actionText && /* @__PURE__ */ React81.createElement(
8785
+ props.actionText && /* @__PURE__ */ React82.createElement(
8724
8786
  "div",
8725
8787
  {
8726
8788
  className: clsx32(
@@ -8728,9 +8790,9 @@ var HawaBanner = ({
8728
8790
  props.direction === "rtl" ? "ml-0 md:ml-10" : "mr-0 md:mr-10"
8729
8791
  )
8730
8792
  },
8731
- /* @__PURE__ */ React81.createElement(HawaButton, { onClick: props.onActionClick }, props.actionText)
8793
+ /* @__PURE__ */ React82.createElement(HawaButton, { onClick: props.onActionClick }, props.actionText)
8732
8794
  ),
8733
- /* @__PURE__ */ React81.createElement(
8795
+ /* @__PURE__ */ React82.createElement(
8734
8796
  "button",
8735
8797
  {
8736
8798
  type: "button",
@@ -8747,8 +8809,8 @@ var HawaBanner = ({
8747
8809
  }, 200);
8748
8810
  }
8749
8811
  },
8750
- /* @__PURE__ */ React81.createElement("span", { className: "sr-only" }, "Close"),
8751
- /* @__PURE__ */ React81.createElement(
8812
+ /* @__PURE__ */ React82.createElement("span", { className: "sr-only" }, "Close"),
8813
+ /* @__PURE__ */ React82.createElement(
8752
8814
  "svg",
8753
8815
  {
8754
8816
  "aria-hidden": "true",
@@ -8756,7 +8818,7 @@ var HawaBanner = ({
8756
8818
  fill: "currentColor",
8757
8819
  viewBox: "0 0 20 20"
8758
8820
  },
8759
- /* @__PURE__ */ React81.createElement(
8821
+ /* @__PURE__ */ React82.createElement(
8760
8822
  "path",
8761
8823
  {
8762
8824
  fillRule: "evenodd",
@@ -8770,7 +8832,7 @@ var HawaBanner = ({
8770
8832
  };
8771
8833
 
8772
8834
  // src/blocks/Account/UserProfileForm.tsx
8773
- import React82 from "react";
8835
+ import React83 from "react";
8774
8836
  import { Controller, FormProvider, useForm } from "react-hook-form";
8775
8837
  var UserProfileForm = (props) => {
8776
8838
  const methods = useForm();
@@ -8780,12 +8842,12 @@ var UserProfileForm = (props) => {
8780
8842
  handleSubmit,
8781
8843
  control
8782
8844
  } = methods;
8783
- return /* @__PURE__ */ React82.createElement(Card, null, /* @__PURE__ */ React82.createElement("form", { onSubmit: handleSubmit((e) => props.handleUpdateProfile(e)) }, /* @__PURE__ */ React82.createElement(CardContent, { headless: true }, /* @__PURE__ */ React82.createElement(FormProvider, { ...methods }, /* @__PURE__ */ React82.createElement(
8845
+ return /* @__PURE__ */ React83.createElement(Card, null, /* @__PURE__ */ React83.createElement("form", { onSubmit: handleSubmit((e) => props.handleUpdateProfile(e)) }, /* @__PURE__ */ React83.createElement(CardContent, { headless: true }, /* @__PURE__ */ React83.createElement(FormProvider, { ...methods }, /* @__PURE__ */ React83.createElement(
8784
8846
  Controller,
8785
8847
  {
8786
8848
  control,
8787
8849
  name: "fullName",
8788
- render: ({ field }) => /* @__PURE__ */ React82.createElement(
8850
+ render: ({ field }) => /* @__PURE__ */ React83.createElement(
8789
8851
  HawaTextField,
8790
8852
  {
8791
8853
  width: "full",
@@ -8798,19 +8860,19 @@ var UserProfileForm = (props) => {
8798
8860
  }
8799
8861
  )
8800
8862
  }
8801
- ), /* @__PURE__ */ React82.createElement(
8863
+ ), /* @__PURE__ */ React83.createElement(
8802
8864
  Controller,
8803
8865
  {
8804
8866
  control,
8805
8867
  name: "phoneNumber",
8806
- render: ({ field }) => /* @__PURE__ */ React82.createElement(HawaPhoneInput, { label: "Phone number" })
8868
+ render: ({ field }) => /* @__PURE__ */ React83.createElement(HawaPhoneInput, { label: "Phone number" })
8807
8869
  }
8808
- ), /* @__PURE__ */ React82.createElement(
8870
+ ), /* @__PURE__ */ React83.createElement(
8809
8871
  Controller,
8810
8872
  {
8811
8873
  control,
8812
8874
  name: "email",
8813
- render: ({ field }) => /* @__PURE__ */ React82.createElement(
8875
+ render: ({ field }) => /* @__PURE__ */ React83.createElement(
8814
8876
  HawaTextField,
8815
8877
  {
8816
8878
  width: "full",
@@ -8830,12 +8892,12 @@ var UserProfileForm = (props) => {
8830
8892
  }
8831
8893
  }
8832
8894
  }
8833
- ), /* @__PURE__ */ React82.createElement(
8895
+ ), /* @__PURE__ */ React83.createElement(
8834
8896
  Controller,
8835
8897
  {
8836
8898
  control,
8837
8899
  name: "password",
8838
- render: ({ field }) => /* @__PURE__ */ React82.createElement(
8900
+ render: ({ field }) => /* @__PURE__ */ React83.createElement(
8839
8901
  HawaTextField,
8840
8902
  {
8841
8903
  width: "full",
@@ -8851,12 +8913,12 @@ var UserProfileForm = (props) => {
8851
8913
  required: props.texts.passwordRequiredText
8852
8914
  }
8853
8915
  }
8854
- ), /* @__PURE__ */ React82.createElement(
8916
+ ), /* @__PURE__ */ React83.createElement(
8855
8917
  Controller,
8856
8918
  {
8857
8919
  control,
8858
8920
  name: "confirmPassword",
8859
- render: ({ field }) => /* @__PURE__ */ React82.createElement(
8921
+ render: ({ field }) => /* @__PURE__ */ React83.createElement(
8860
8922
  HawaTextField,
8861
8923
  {
8862
8924
  width: "full",
@@ -8872,17 +8934,17 @@ var UserProfileForm = (props) => {
8872
8934
  required: props.texts.confirmPasswordRequiredText
8873
8935
  }
8874
8936
  }
8875
- ))), /* @__PURE__ */ React82.createElement(CardFooter, null, /* @__PURE__ */ React82.createElement(Button, { className: "w-full", type: "submit" }, props.texts.updateProfile))));
8937
+ ))), /* @__PURE__ */ React83.createElement(CardFooter, null, /* @__PURE__ */ React83.createElement(Button, { className: "w-full", type: "submit" }, props.texts.updateProfile))));
8876
8938
  };
8877
8939
 
8878
8940
  // src/blocks/Account/UserSettingsForm.tsx
8879
- import React83 from "react";
8941
+ import React84 from "react";
8880
8942
  var UserSettingsForm = (props) => {
8881
- return /* @__PURE__ */ React83.createElement(Card, null, /* @__PURE__ */ React83.createElement(CardContent, { headless: true }, /* @__PURE__ */ React83.createElement("div", { className: "mb-2 text-sm font-bold" }, props.blockTitle), /* @__PURE__ */ React83.createElement("div", { className: "flex flex-col gap-4 rounded p-2" }, props.children)));
8943
+ return /* @__PURE__ */ React84.createElement(Card, null, /* @__PURE__ */ React84.createElement(CardContent, { headless: true }, /* @__PURE__ */ React84.createElement("div", { className: "mb-2 text-sm font-bold" }, props.blockTitle), /* @__PURE__ */ React84.createElement("div", { className: "flex flex-col gap-4 rounded p-2" }, props.children)));
8882
8944
  };
8883
8945
 
8884
8946
  // src/blocks/AuthForms/AppLanding.tsx
8885
- import React84 from "react";
8947
+ import React85 from "react";
8886
8948
 
8887
8949
  // src/elements/Icons.tsx
8888
8950
  var Icons = {
@@ -9034,39 +9096,46 @@ var Icons = {
9034
9096
 
9035
9097
  // src/blocks/AuthForms/AppLanding.tsx
9036
9098
  var AppLanding = (props) => {
9037
- return /* @__PURE__ */ React84.createElement("div", null, /* @__PURE__ */ React84.createElement(Card, null, /* @__PURE__ */ React84.createElement(CardContent, { headless: true, className: "flex flex-col gap-6" }, /* @__PURE__ */ React84.createElement(
9099
+ return /* @__PURE__ */ React85.createElement("div", null, /* @__PURE__ */ React85.createElement(Card, null, /* @__PURE__ */ React85.createElement(CardContent, { headless: true, className: "flex flex-col gap-6" }, /* @__PURE__ */ React85.createElement(
9038
9100
  Button,
9039
9101
  {
9040
9102
  className: "flex flex-row items-center gap-2",
9041
9103
  variant: "outline"
9042
9104
  },
9043
- /* @__PURE__ */ React84.createElement(Icons.google, { className: "h-4 w-4" }),
9105
+ /* @__PURE__ */ React85.createElement(Icons.google, { className: "h-4 w-4" }),
9044
9106
  "Continue With Google"
9045
- ), /* @__PURE__ */ React84.createElement(
9107
+ ), /* @__PURE__ */ React85.createElement(
9046
9108
  Button,
9047
9109
  {
9048
9110
  className: "flex flex-row items-center gap-2",
9049
9111
  variant: "outline"
9050
9112
  },
9051
- /* @__PURE__ */ React84.createElement(Icons.twitter, { className: "h-4 w-4" }),
9113
+ /* @__PURE__ */ React85.createElement(Icons.twitter, { className: "h-4 w-4" }),
9052
9114
  "Continue With Twitter"
9053
- ), /* @__PURE__ */ React84.createElement(
9115
+ ), /* @__PURE__ */ React85.createElement(
9054
9116
  Button,
9055
9117
  {
9056
9118
  className: "flex flex-row items-center gap-2",
9057
9119
  variant: "outline"
9058
9120
  },
9059
- /* @__PURE__ */ React84.createElement(Icons.apple, { className: "h-4 w-4" }),
9121
+ /* @__PURE__ */ React85.createElement(Icons.apple, { className: "h-4 w-4" }),
9060
9122
  "Continue With Apple"
9061
- ), /* @__PURE__ */ React84.createElement(
9123
+ ), /* @__PURE__ */ React85.createElement(
9062
9124
  Button,
9063
9125
  {
9064
9126
  className: "flex flex-row items-center gap-2",
9065
9127
  variant: "outline"
9066
9128
  },
9067
- /* @__PURE__ */ React84.createElement(Icons.mail, { className: "h-4 w-4" }),
9129
+ /* @__PURE__ */ React85.createElement(Icons.mail, { className: "h-4 w-4" }),
9068
9130
  "Continue With Email"
9069
- ), /* @__PURE__ */ React84.createElement("a", { href: "#", className: "text-center text-sm" }, "Don't have an account?", " ", /* @__PURE__ */ React84.createElement("a", { href: "#", className: "clickable-link" }, "Sign Up")))), /* @__PURE__ */ React84.createElement("div", { className: "mt-6 flex flex-row justify-between" }, /* @__PURE__ */ React84.createElement(
9131
+ ), !props.withoutSignUp && /* @__PURE__ */ React85.createElement("div", { className: "p-3 text-center text-sm font-normal dark:text-gray-300" }, props.texts.newUserText, " ", /* @__PURE__ */ React85.createElement(
9132
+ "span",
9133
+ {
9134
+ onClick: props.handleRouteToSignUp,
9135
+ className: "clickable-link"
9136
+ },
9137
+ props.texts.createAccount
9138
+ )))), /* @__PURE__ */ React85.createElement("div", { className: "mt-6 flex flex-row justify-between" }, /* @__PURE__ */ React85.createElement(
9070
9139
  HawaRadio,
9071
9140
  {
9072
9141
  onChangeTab: props.handleLanguage,
@@ -9076,7 +9145,7 @@ var AppLanding = (props) => {
9076
9145
  { value: "en", label: "English" }
9077
9146
  ]
9078
9147
  }
9079
- ), /* @__PURE__ */ React84.createElement(
9148
+ ), /* @__PURE__ */ React85.createElement(
9080
9149
  HawaRadio,
9081
9150
  {
9082
9151
  onChangeTab: props.handleColorMode,
@@ -9084,7 +9153,7 @@ var AppLanding = (props) => {
9084
9153
  options: [
9085
9154
  {
9086
9155
  value: "light",
9087
- label: /* @__PURE__ */ React84.createElement(
9156
+ label: /* @__PURE__ */ React85.createElement(
9088
9157
  "svg",
9089
9158
  {
9090
9159
  width: "15",
@@ -9094,7 +9163,7 @@ var AppLanding = (props) => {
9094
9163
  xmlns: "http://www.w3.org/2000/svg",
9095
9164
  className: "h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90"
9096
9165
  },
9097
- /* @__PURE__ */ React84.createElement(
9166
+ /* @__PURE__ */ React85.createElement(
9098
9167
  "path",
9099
9168
  {
9100
9169
  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",
@@ -9107,7 +9176,7 @@ var AppLanding = (props) => {
9107
9176
  },
9108
9177
  {
9109
9178
  value: "dark",
9110
- label: /* @__PURE__ */ React84.createElement(
9179
+ label: /* @__PURE__ */ React85.createElement(
9111
9180
  "svg",
9112
9181
  {
9113
9182
  xmlns: "http://www.w3.org/2000/svg",
@@ -9121,7 +9190,7 @@ var AppLanding = (props) => {
9121
9190
  strokeLinejoin: "round",
9122
9191
  className: "h-[1.2rem] w-[1.2rem] transition-all dark:rotate-0 dark:scale-100"
9123
9192
  },
9124
- /* @__PURE__ */ React84.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
9193
+ /* @__PURE__ */ React85.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
9125
9194
  )
9126
9195
  }
9127
9196
  ]
@@ -9130,7 +9199,7 @@ var AppLanding = (props) => {
9130
9199
  };
9131
9200
 
9132
9201
  // src/blocks/AuthForms/SignInPhone.tsx
9133
- import React85, { useState as useState41 } from "react";
9202
+ import React86, { useState as useState42 } from "react";
9134
9203
  import { Controller as Controller2, useForm as useForm2 } from "react-hook-form";
9135
9204
  var SignInPhone = (props) => {
9136
9205
  const methods = useForm2();
@@ -9139,8 +9208,8 @@ var SignInPhone = (props) => {
9139
9208
  handleSubmit,
9140
9209
  control
9141
9210
  } = methods;
9142
- const [userPhone, setUserPhone] = useState41("");
9143
- return /* @__PURE__ */ React85.createElement(Card, null, /* @__PURE__ */ React85.createElement(CardContent, { headless: true }, /* @__PURE__ */ React85.createElement(
9211
+ const [userPhone, setUserPhone] = useState42("");
9212
+ return /* @__PURE__ */ React86.createElement(Card, null, /* @__PURE__ */ React86.createElement(CardContent, { headless: true }, /* @__PURE__ */ React86.createElement(
9144
9213
  "form",
9145
9214
  {
9146
9215
  onSubmit: (e) => {
@@ -9148,12 +9217,12 @@ var SignInPhone = (props) => {
9148
9217
  props.handleSignIn(userPhone);
9149
9218
  }
9150
9219
  },
9151
- /* @__PURE__ */ React85.createElement(
9220
+ /* @__PURE__ */ React86.createElement(
9152
9221
  Controller2,
9153
9222
  {
9154
9223
  control,
9155
9224
  name: "phone",
9156
- render: ({ field }) => /* @__PURE__ */ React85.createElement(
9225
+ render: ({ field }) => /* @__PURE__ */ React86.createElement(
9157
9226
  HawaPhoneInput,
9158
9227
  {
9159
9228
  country: props.country ?? "",
@@ -9167,13 +9236,13 @@ var SignInPhone = (props) => {
9167
9236
  }
9168
9237
  }
9169
9238
  ),
9170
- /* @__PURE__ */ React85.createElement("div", { className: "mt-2" }),
9171
- /* @__PURE__ */ React85.createElement(Button, { className: "w-full" }, props.SignInButtonText)
9239
+ /* @__PURE__ */ React86.createElement("div", { className: "mt-2" }),
9240
+ /* @__PURE__ */ React86.createElement(Button, { className: "w-full" }, props.SignInButtonText)
9172
9241
  )));
9173
9242
  };
9174
9243
 
9175
9244
  // src/blocks/AuthForms/SignInForm.tsx
9176
- import React86 from "react";
9245
+ import React87 from "react";
9177
9246
  import { Controller as Controller3, useForm as useForm3 } from "react-hook-form";
9178
9247
  var SignInForm = (props) => {
9179
9248
  const {
@@ -9181,19 +9250,19 @@ var SignInForm = (props) => {
9181
9250
  handleSubmit,
9182
9251
  control
9183
9252
  } = useForm3();
9184
- return /* @__PURE__ */ React86.createElement("div", { className: "flex flex-col gap-4" }, /* @__PURE__ */ React86.createElement(Card, { dir: props.direction }, /* @__PURE__ */ React86.createElement(CardContent, { headless: true }, /* @__PURE__ */ React86.createElement("form", { onSubmit: handleSubmit((e) => props.handleSignIn(e)) }, props.showError && /* @__PURE__ */ React86.createElement(
9253
+ return /* @__PURE__ */ React87.createElement("div", { className: "flex flex-col gap-4" }, /* @__PURE__ */ React87.createElement(Card, { dir: props.direction }, /* @__PURE__ */ React87.createElement(CardContent, { headless: true }, /* @__PURE__ */ React87.createElement("form", { onSubmit: handleSubmit((e) => props.handleSignIn(e)) }, props.showError && /* @__PURE__ */ React87.createElement(
9185
9254
  HawaAlert,
9186
9255
  {
9187
9256
  title: props.errorTitle,
9188
9257
  text: props.errorText,
9189
9258
  severity: "error"
9190
9259
  }
9191
- ), props.signInType === "email" ? /* @__PURE__ */ React86.createElement(
9260
+ ), props.signInType === "email" ? /* @__PURE__ */ React87.createElement(
9192
9261
  Controller3,
9193
9262
  {
9194
9263
  control,
9195
9264
  name: "email",
9196
- render: ({ field }) => /* @__PURE__ */ React86.createElement(
9265
+ render: ({ field }) => /* @__PURE__ */ React87.createElement(
9197
9266
  HawaTextField,
9198
9267
  {
9199
9268
  width: "full",
@@ -9214,13 +9283,13 @@ var SignInForm = (props) => {
9214
9283
  }
9215
9284
  }
9216
9285
  }
9217
- ) : props.signInType === "username" ? /* @__PURE__ */ React86.createElement(
9286
+ ) : props.signInType === "username" ? /* @__PURE__ */ React87.createElement(
9218
9287
  Controller3,
9219
9288
  {
9220
9289
  control,
9221
9290
  name: "username",
9222
9291
  render: ({ field }) => {
9223
- return /* @__PURE__ */ React86.createElement(
9292
+ return /* @__PURE__ */ React87.createElement(
9224
9293
  HawaTextField,
9225
9294
  {
9226
9295
  width: "full",
@@ -9238,20 +9307,20 @@ var SignInForm = (props) => {
9238
9307
  required: props.texts.usernameRequired
9239
9308
  }
9240
9309
  }
9241
- ) : /* @__PURE__ */ React86.createElement(
9310
+ ) : /* @__PURE__ */ React87.createElement(
9242
9311
  Controller3,
9243
9312
  {
9244
9313
  control,
9245
9314
  name: "phone",
9246
- render: ({ field }) => /* @__PURE__ */ React86.createElement(HawaPhoneInput, { label: "Phone number" }),
9315
+ render: ({ field }) => /* @__PURE__ */ React87.createElement(HawaPhoneInput, { label: "Phone number" }),
9247
9316
  rules: { required: props.texts.phoneRequiredText }
9248
9317
  }
9249
- ), props.signInType !== "phone" && /* @__PURE__ */ React86.createElement(React86.Fragment, null, /* @__PURE__ */ React86.createElement(
9318
+ ), props.signInType !== "phone" && /* @__PURE__ */ React87.createElement(React87.Fragment, null, /* @__PURE__ */ React87.createElement(
9250
9319
  Controller3,
9251
9320
  {
9252
9321
  control,
9253
9322
  name: "password",
9254
- render: ({ field }) => /* @__PURE__ */ React86.createElement(
9323
+ render: ({ field }) => /* @__PURE__ */ React87.createElement(
9255
9324
  HawaTextField,
9256
9325
  {
9257
9326
  width: "full",
@@ -9269,58 +9338,58 @@ var SignInForm = (props) => {
9269
9338
  minLength: 5
9270
9339
  }
9271
9340
  }
9272
- ), !props.withoutResetPassword && /* @__PURE__ */ React86.createElement(
9341
+ ), !props.withoutResetPassword && /* @__PURE__ */ React87.createElement(
9273
9342
  "div",
9274
9343
  {
9275
9344
  onClick: props.handleForgotPassword,
9276
9345
  className: "mb-3 w-fit cursor-pointer text-xs dark:text-gray-300"
9277
9346
  },
9278
9347
  props.texts.forgotPasswordText
9279
- )), /* @__PURE__ */ React86.createElement(Button, { className: "mt-4 w-full", isLoading: props.isLoading }, props.texts.signInText), !props.withoutSignUp && /* @__PURE__ */ React86.createElement("div", { className: "p-3 text-center text-sm font-semibold dark:text-gray-300" }, props.texts.newUserText, " ", /* @__PURE__ */ React86.createElement(
9348
+ )), /* @__PURE__ */ React87.createElement(Button, { className: "mt-4 w-full", isLoading: props.isLoading }, props.texts.signInText), !props.withoutSignUp && /* @__PURE__ */ React87.createElement("div", { className: "p-3 text-center text-sm font-normal dark:text-gray-300" }, props.texts.newUserText, " ", /* @__PURE__ */ React87.createElement(
9280
9349
  "span",
9281
9350
  {
9282
9351
  onClick: props.handleRouteToSignUp,
9283
9352
  className: "clickable-link"
9284
9353
  },
9285
9354
  props.texts.createAccount
9286
- )))), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React86.createElement(
9355
+ )))), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React87.createElement(
9287
9356
  CardFooter,
9288
9357
  {
9289
9358
  className: cn(
9290
9359
  props.logosOnly ? "flex flex-row gap-2 justify-center" : "grid grid-cols-1 gap-2"
9291
9360
  )
9292
9361
  },
9293
- props.viaGoogle && /* @__PURE__ */ React86.createElement(
9362
+ props.viaGoogle && /* @__PURE__ */ React87.createElement(
9294
9363
  Button,
9295
9364
  {
9296
9365
  className: "flex flex-row items-center gap-2",
9297
9366
  variant: "outline",
9298
9367
  onClick: props.handleGoogleSignIn
9299
9368
  },
9300
- /* @__PURE__ */ React86.createElement(Icons.google, { className: "h-4 w-4" }),
9369
+ /* @__PURE__ */ React87.createElement(Icons.google, { className: "h-4 w-4" }),
9301
9370
  !props.logosOnly && props.texts.signInViaGoogleLabel
9302
9371
  ),
9303
- props.viaGithub && /* @__PURE__ */ React86.createElement(
9372
+ props.viaGithub && /* @__PURE__ */ React87.createElement(
9304
9373
  Button,
9305
9374
  {
9306
9375
  className: "flex flex-row items-center gap-2",
9307
9376
  variant: "outline",
9308
9377
  onClick: props.handleGithubSignIn
9309
9378
  },
9310
- /* @__PURE__ */ React86.createElement(Icons.gitHub, { className: "h-4 w-4" }),
9379
+ /* @__PURE__ */ React87.createElement(Icons.gitHub, { className: "h-4 w-4" }),
9311
9380
  !props.logosOnly && props.texts.signInViaGithubLabel
9312
9381
  ),
9313
- props.viaTwitter && /* @__PURE__ */ React86.createElement(
9382
+ props.viaTwitter && /* @__PURE__ */ React87.createElement(
9314
9383
  Button,
9315
9384
  {
9316
9385
  className: "flex flex-row items-center gap-2",
9317
9386
  variant: "outline",
9318
9387
  onClick: props.handleTwitterSignIn
9319
9388
  },
9320
- /* @__PURE__ */ React86.createElement(Icons.twitter, { className: "h-4 w-4" }),
9389
+ /* @__PURE__ */ React87.createElement(Icons.twitter, { className: "h-4 w-4" }),
9321
9390
  !props.logosOnly && props.texts.signInViaTwitterLabel
9322
9391
  )
9323
- ) : null), /* @__PURE__ */ React86.createElement(
9392
+ ) : null), /* @__PURE__ */ React87.createElement(
9324
9393
  InterfaceSettings,
9325
9394
  {
9326
9395
  currentColorMode: props.currentColorMode,
@@ -9337,7 +9406,7 @@ function SignInBlock() {
9337
9406
  }
9338
9407
 
9339
9408
  // src/blocks/AuthForms/SignUpForm.tsx
9340
- import React87 from "react";
9409
+ import React88 from "react";
9341
9410
  import { Controller as Controller4, FormProvider as FormProvider2, useForm as useForm4 } from "react-hook-form";
9342
9411
  var SignUpForm = (props) => {
9343
9412
  const methods = useForm4();
@@ -9346,22 +9415,22 @@ var SignUpForm = (props) => {
9346
9415
  handleSubmit,
9347
9416
  control
9348
9417
  } = methods;
9349
- return /* @__PURE__ */ React87.createElement("div", { className: "flex flex-col gap-4" }, /* @__PURE__ */ React87.createElement(Card, { dir: props.direction }, /* @__PURE__ */ React87.createElement(CardContent, { headless: true }, /* @__PURE__ */ React87.createElement("div", null, props.showError && /* @__PURE__ */ React87.createElement(
9418
+ return /* @__PURE__ */ React88.createElement("div", { className: "flex flex-col gap-4" }, /* @__PURE__ */ React88.createElement(Card, { dir: props.direction }, /* @__PURE__ */ React88.createElement(CardContent, { headless: true }, /* @__PURE__ */ React88.createElement("div", null, props.showError && /* @__PURE__ */ React88.createElement(
9350
9419
  HawaAlert,
9351
9420
  {
9352
9421
  title: props.errorTitle,
9353
9422
  text: props.errorText,
9354
9423
  severity: "error"
9355
9424
  }
9356
- ), /* @__PURE__ */ React87.createElement(FormProvider2, { ...methods }, /* @__PURE__ */ React87.createElement("form", { onSubmit: handleSubmit((e) => props.handleSignUp(e)) }, /* @__PURE__ */ React87.createElement("div", null, props.signUpFields.map((fld, i) => {
9425
+ ), /* @__PURE__ */ React88.createElement(FormProvider2, { ...methods }, /* @__PURE__ */ React88.createElement("form", { onSubmit: handleSubmit((e) => props.handleSignUp(e)) }, /* @__PURE__ */ React88.createElement("div", null, props.signUpFields.map((fld, i) => {
9357
9426
  if (fld === "fullname") {
9358
- return /* @__PURE__ */ React87.createElement(
9427
+ return /* @__PURE__ */ React88.createElement(
9359
9428
  Controller4,
9360
9429
  {
9361
9430
  key: i,
9362
9431
  control,
9363
9432
  name: "fullName",
9364
- render: ({ field }) => /* @__PURE__ */ React87.createElement(
9433
+ render: ({ field }) => /* @__PURE__ */ React88.createElement(
9365
9434
  HawaTextField,
9366
9435
  {
9367
9436
  width: "full",
@@ -9380,13 +9449,13 @@ var SignUpForm = (props) => {
9380
9449
  );
9381
9450
  }
9382
9451
  if (fld === "email") {
9383
- return /* @__PURE__ */ React87.createElement(
9452
+ return /* @__PURE__ */ React88.createElement(
9384
9453
  Controller4,
9385
9454
  {
9386
9455
  key: i,
9387
9456
  control,
9388
9457
  name: "email",
9389
- render: ({ field }) => /* @__PURE__ */ React87.createElement(
9458
+ render: ({ field }) => /* @__PURE__ */ React88.createElement(
9390
9459
  HawaTextField,
9391
9460
  {
9392
9461
  width: "full",
@@ -9410,13 +9479,13 @@ var SignUpForm = (props) => {
9410
9479
  );
9411
9480
  }
9412
9481
  if (fld === "username") {
9413
- return /* @__PURE__ */ React87.createElement(
9482
+ return /* @__PURE__ */ React88.createElement(
9414
9483
  Controller4,
9415
9484
  {
9416
9485
  key: i,
9417
9486
  control,
9418
9487
  name: "username",
9419
- render: ({ field }) => /* @__PURE__ */ React87.createElement(
9488
+ render: ({ field }) => /* @__PURE__ */ React88.createElement(
9420
9489
  HawaTextField,
9421
9490
  {
9422
9491
  width: "full",
@@ -9435,12 +9504,12 @@ var SignUpForm = (props) => {
9435
9504
  }
9436
9505
  );
9437
9506
  }
9438
- })), /* @__PURE__ */ React87.createElement(
9507
+ })), /* @__PURE__ */ React88.createElement(
9439
9508
  Controller4,
9440
9509
  {
9441
9510
  control,
9442
9511
  name: "password",
9443
- render: ({ field }) => /* @__PURE__ */ React87.createElement(
9512
+ render: ({ field }) => /* @__PURE__ */ React88.createElement(
9444
9513
  HawaTextField,
9445
9514
  {
9446
9515
  width: "full",
@@ -9455,12 +9524,12 @@ var SignUpForm = (props) => {
9455
9524
  ),
9456
9525
  rules: { required: props.texts.passwordRequiredText }
9457
9526
  }
9458
- ), /* @__PURE__ */ React87.createElement(
9527
+ ), /* @__PURE__ */ React88.createElement(
9459
9528
  Controller4,
9460
9529
  {
9461
9530
  control,
9462
9531
  name: "confirm_password",
9463
- render: ({ field }) => /* @__PURE__ */ React87.createElement(
9532
+ render: ({ field }) => /* @__PURE__ */ React88.createElement(
9464
9533
  HawaTextField,
9465
9534
  {
9466
9535
  width: "full",
@@ -9475,12 +9544,12 @@ var SignUpForm = (props) => {
9475
9544
  ),
9476
9545
  rules: { required: props.texts.passwordRequiredText }
9477
9546
  }
9478
- ), props.showRefCode && /* @__PURE__ */ React87.createElement(
9547
+ ), props.showRefCode && /* @__PURE__ */ React88.createElement(
9479
9548
  Controller4,
9480
9549
  {
9481
9550
  control,
9482
9551
  name: "refCode",
9483
- render: ({ field }) => /* @__PURE__ */ React87.createElement(
9552
+ render: ({ field }) => /* @__PURE__ */ React88.createElement(
9484
9553
  HawaTextField,
9485
9554
  {
9486
9555
  width: "full",
@@ -9493,12 +9562,12 @@ var SignUpForm = (props) => {
9493
9562
  }
9494
9563
  )
9495
9564
  }
9496
- ), props.showUserSource && /* @__PURE__ */ React87.createElement("div", null, /* @__PURE__ */ React87.createElement(
9565
+ ), props.showUserSource && /* @__PURE__ */ React88.createElement("div", null, /* @__PURE__ */ React88.createElement(
9497
9566
  Controller4,
9498
9567
  {
9499
9568
  control,
9500
9569
  name: "reference",
9501
- render: ({ field }) => /* @__PURE__ */ React87.createElement(
9570
+ render: ({ field }) => /* @__PURE__ */ React88.createElement(
9502
9571
  HawaSelect,
9503
9572
  {
9504
9573
  label: "How did you learn about us?",
@@ -9517,18 +9586,18 @@ var SignUpForm = (props) => {
9517
9586
  }
9518
9587
  )
9519
9588
  }
9520
- )), props.showTermsOption && /* @__PURE__ */ React87.createElement(
9589
+ )), props.showTermsOption && /* @__PURE__ */ React88.createElement(
9521
9590
  Controller4,
9522
9591
  {
9523
9592
  control,
9524
9593
  name: "terms_accepted",
9525
- render: ({ field }) => /* @__PURE__ */ React87.createElement(
9594
+ render: ({ field }) => /* @__PURE__ */ React88.createElement(
9526
9595
  HawaCheckbox,
9527
9596
  {
9528
9597
  id: "terms_accepted",
9529
9598
  helperText: errors.terms_accepted?.message,
9530
9599
  onChange: (e) => field.onChange(e),
9531
- label: /* @__PURE__ */ React87.createElement("span", null, props.texts.iAcceptText, " ", /* @__PURE__ */ React87.createElement(
9600
+ label: /* @__PURE__ */ React88.createElement("span", null, props.texts.iAcceptText, " ", /* @__PURE__ */ React88.createElement(
9532
9601
  "a",
9533
9602
  {
9534
9603
  onClick: props.handleRouteToTOS,
@@ -9540,12 +9609,12 @@ var SignUpForm = (props) => {
9540
9609
  ),
9541
9610
  rules: { required: props.texts.termsRequiredText }
9542
9611
  }
9543
- ), props.showNewsletterOption && /* @__PURE__ */ React87.createElement(
9612
+ ), props.showNewsletterOption && /* @__PURE__ */ React88.createElement(
9544
9613
  Controller4,
9545
9614
  {
9546
9615
  control,
9547
9616
  name: "newsletter_accepted",
9548
- render: ({ field }) => /* @__PURE__ */ React87.createElement(
9617
+ render: ({ field }) => /* @__PURE__ */ React88.createElement(
9549
9618
  HawaCheckbox,
9550
9619
  {
9551
9620
  id: "newsletter_accepted",
@@ -9554,51 +9623,51 @@ var SignUpForm = (props) => {
9554
9623
  }
9555
9624
  )
9556
9625
  }
9557
- ), /* @__PURE__ */ React87.createElement(Button, { className: "w-full", isLoading: props.isLoading }, props.texts.signUpText))), /* @__PURE__ */ React87.createElement("div", { className: "flex flex-row items-center justify-center gap-1 p-3 text-center text-sm font-semibold dark:text-white" }, /* @__PURE__ */ React87.createElement("span", null, props.texts.existingUserText), /* @__PURE__ */ React87.createElement(
9626
+ ), /* @__PURE__ */ React88.createElement(Button, { className: "w-full", isLoading: props.isLoading }, props.texts.signUpText))), /* @__PURE__ */ React88.createElement("div", { className: "flex flex-row items-center justify-center gap-1 p-3 text-center text-sm font-normal dark:text-white" }, /* @__PURE__ */ React88.createElement("span", null, props.texts.existingUserText), /* @__PURE__ */ React88.createElement(
9558
9627
  "span",
9559
9628
  {
9560
9629
  onClick: props.handleRouteToSignIn,
9561
9630
  className: "clickable-link"
9562
9631
  },
9563
9632
  props.texts.signInText
9564
- )))), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React87.createElement(
9633
+ )))), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React88.createElement(
9565
9634
  CardFooter,
9566
9635
  {
9567
9636
  className: cn(
9568
9637
  props.logosOnly ? "flex flex-row justify-center gap-2" : "grid grid-cols-1 gap-2"
9569
9638
  )
9570
9639
  },
9571
- props.viaGoogle && /* @__PURE__ */ React87.createElement(
9640
+ props.viaGoogle && /* @__PURE__ */ React88.createElement(
9572
9641
  Button,
9573
9642
  {
9574
9643
  className: "flex flex-row items-center gap-2",
9575
9644
  variant: "outline",
9576
9645
  onClick: props.handleGoogleSignUp
9577
9646
  },
9578
- /* @__PURE__ */ React87.createElement(Icons.google, { className: "h-4 w-4" }),
9647
+ /* @__PURE__ */ React88.createElement(Icons.google, { className: "h-4 w-4" }),
9579
9648
  !props.logosOnly && props.texts.signUpViaGoogleLabel
9580
9649
  ),
9581
- props.viaGithub && /* @__PURE__ */ React87.createElement(
9650
+ props.viaGithub && /* @__PURE__ */ React88.createElement(
9582
9651
  Button,
9583
9652
  {
9584
9653
  className: "flex flex-row items-center gap-2",
9585
9654
  variant: "outline",
9586
9655
  onClick: props.handleGithubSignUp
9587
9656
  },
9588
- /* @__PURE__ */ React87.createElement(Icons.gitHub, { className: "h-4 w-4" }),
9657
+ /* @__PURE__ */ React88.createElement(Icons.gitHub, { className: "h-4 w-4" }),
9589
9658
  !props.logosOnly && props.texts.signUpViaGithubLabel
9590
9659
  ),
9591
- props.viaTwitter && /* @__PURE__ */ React87.createElement(
9660
+ props.viaTwitter && /* @__PURE__ */ React88.createElement(
9592
9661
  Button,
9593
9662
  {
9594
9663
  className: "flex flex-row items-center gap-2",
9595
9664
  variant: "outline",
9596
9665
  onClick: props.handleTwitterSignUp
9597
9666
  },
9598
- /* @__PURE__ */ React87.createElement(Icons.twitter, { className: "h-4 w-4" }),
9667
+ /* @__PURE__ */ React88.createElement(Icons.twitter, { className: "h-4 w-4" }),
9599
9668
  !props.logosOnly && props.texts.signUpViaTwitterLabel
9600
9669
  )
9601
- ) : null), /* @__PURE__ */ React87.createElement(
9670
+ ) : null), /* @__PURE__ */ React88.createElement(
9602
9671
  InterfaceSettings,
9603
9672
  {
9604
9673
  currentColorMode: props.currentColorMode,
@@ -9610,10 +9679,10 @@ var SignUpForm = (props) => {
9610
9679
  };
9611
9680
 
9612
9681
  // src/blocks/AuthForms/NewPasswordForm.tsx
9613
- import React88, { useState as useState42 } from "react";
9682
+ import React89, { useState as useState43 } from "react";
9614
9683
  import { Controller as Controller5, FormProvider as FormProvider3, useForm as useForm5 } from "react-hook-form";
9615
9684
  var NewPasswordForm = (props) => {
9616
- const [matchError, setMatchError] = useState42(false);
9685
+ const [matchError, setMatchError] = useState43(false);
9617
9686
  const methods = useForm5();
9618
9687
  const {
9619
9688
  formState: { errors },
@@ -9627,12 +9696,12 @@ var NewPasswordForm = (props) => {
9627
9696
  setMatchError(true);
9628
9697
  }
9629
9698
  };
9630
- return /* @__PURE__ */ React88.createElement(Card, null, matchError && /* @__PURE__ */ React88.createElement(HawaAlert, { text: props.texts.passwordMatchError, severity: "error" }), props.passwordChanged ? /* @__PURE__ */ React88.createElement(CardContent, { headless: true }, /* @__PURE__ */ React88.createElement("div", { className: "text-center" }, props.texts.passwordChanged)) : /* @__PURE__ */ React88.createElement(FormProvider3, { ...methods }, /* @__PURE__ */ React88.createElement("form", { onSubmit: handleSubmit(handleSubmission) }, /* @__PURE__ */ React88.createElement(CardHeader, null, /* @__PURE__ */ React88.createElement(CardTitle, null, "Create Password"), /* @__PURE__ */ React88.createElement(CardDescription, null, "Set a new password for your account")), /* @__PURE__ */ React88.createElement(CardContent, null, /* @__PURE__ */ React88.createElement(
9699
+ return /* @__PURE__ */ React89.createElement(Card, null, matchError && /* @__PURE__ */ React89.createElement(HawaAlert, { text: props.texts.passwordMatchError, severity: "error" }), props.passwordChanged ? /* @__PURE__ */ React89.createElement(CardContent, { headless: true }, /* @__PURE__ */ React89.createElement("div", { className: "text-center" }, props.texts.passwordChanged)) : /* @__PURE__ */ React89.createElement(FormProvider3, { ...methods }, /* @__PURE__ */ React89.createElement("form", { onSubmit: handleSubmit(handleSubmission) }, /* @__PURE__ */ React89.createElement(CardHeader, null, /* @__PURE__ */ React89.createElement(CardTitle, null, "Create Password"), /* @__PURE__ */ React89.createElement(CardDescription, null, "Set a new password for your account")), /* @__PURE__ */ React89.createElement(CardContent, null, /* @__PURE__ */ React89.createElement(
9631
9700
  Controller5,
9632
9701
  {
9633
9702
  control,
9634
9703
  name: "password",
9635
- render: ({ field }) => /* @__PURE__ */ React88.createElement(
9704
+ render: ({ field }) => /* @__PURE__ */ React89.createElement(
9636
9705
  HawaTextField,
9637
9706
  {
9638
9707
  width: "full",
@@ -9649,12 +9718,12 @@ var NewPasswordForm = (props) => {
9649
9718
  required: props.texts.passwordRequiredText
9650
9719
  }
9651
9720
  }
9652
- ), /* @__PURE__ */ React88.createElement(
9721
+ ), /* @__PURE__ */ React89.createElement(
9653
9722
  Controller5,
9654
9723
  {
9655
9724
  control,
9656
9725
  name: "confirmPassword",
9657
- render: ({ field }) => /* @__PURE__ */ React88.createElement(
9726
+ render: ({ field }) => /* @__PURE__ */ React89.createElement(
9658
9727
  HawaTextField,
9659
9728
  {
9660
9729
  width: "full",
@@ -9671,11 +9740,11 @@ var NewPasswordForm = (props) => {
9671
9740
  required: props.texts.confirmPasswordRequiredText
9672
9741
  }
9673
9742
  }
9674
- )), /* @__PURE__ */ React88.createElement(CardFooter, null, /* @__PURE__ */ React88.createElement(Button, { className: "w-full", type: "submit" }, props.texts.updatePassword)))));
9743
+ )), /* @__PURE__ */ React89.createElement(CardFooter, null, /* @__PURE__ */ React89.createElement(Button, { className: "w-full", type: "submit" }, props.texts.updatePassword)))));
9675
9744
  };
9676
9745
 
9677
9746
  // src/blocks/AuthForms/ResetPasswordForm.tsx
9678
- import React89 from "react";
9747
+ import React90 from "react";
9679
9748
  import { Controller as Controller6, useForm as useForm6 } from "react-hook-form";
9680
9749
  var ResetPasswordForm = (props) => {
9681
9750
  const methods = useForm6();
@@ -9685,12 +9754,12 @@ var ResetPasswordForm = (props) => {
9685
9754
  register,
9686
9755
  control
9687
9756
  } = methods;
9688
- return /* @__PURE__ */ React89.createElement(Card, null, !props.sent ? /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(CardHeader, null, /* @__PURE__ */ React89.createElement(CardTitle, null, "Reset Password"), /* @__PURE__ */ React89.createElement(CardDescription, null, "Enter your email to reset your account password")), /* @__PURE__ */ React89.createElement("form", { onSubmit: handleSubmit(props.handleResetPassword) }, /* @__PURE__ */ React89.createElement(CardContent, null, /* @__PURE__ */ React89.createElement(
9757
+ return /* @__PURE__ */ React90.createElement(Card, null, !props.sent ? /* @__PURE__ */ React90.createElement(React90.Fragment, null, /* @__PURE__ */ React90.createElement(CardHeader, null, /* @__PURE__ */ React90.createElement(CardTitle, null, "Reset Password"), /* @__PURE__ */ React90.createElement(CardDescription, null, "Enter your email to reset your account password")), /* @__PURE__ */ React90.createElement("form", { onSubmit: handleSubmit(props.handleResetPassword) }, /* @__PURE__ */ React90.createElement(CardContent, null, /* @__PURE__ */ React90.createElement(
9689
9758
  Controller6,
9690
9759
  {
9691
9760
  control,
9692
9761
  name: "email",
9693
- render: ({ field }) => /* @__PURE__ */ React89.createElement(
9762
+ render: ({ field }) => /* @__PURE__ */ React90.createElement(
9694
9763
  HawaTextField,
9695
9764
  {
9696
9765
  width: "full",
@@ -9710,28 +9779,28 @@ var ResetPasswordForm = (props) => {
9710
9779
  }
9711
9780
  }
9712
9781
  }
9713
- ), /* @__PURE__ */ React89.createElement("div", { className: " pb-2 text-left text-sm dark:text-gray-300" }, props.texts.dontHaveAccount ?? "Don't have an account? ", /* @__PURE__ */ React89.createElement(
9782
+ ), /* @__PURE__ */ React90.createElement("div", { className: " pb-2 text-left text-sm dark:text-gray-300" }, props.texts.dontHaveAccount ?? "Don't have an account? ", /* @__PURE__ */ React90.createElement(
9714
9783
  "span",
9715
9784
  {
9716
9785
  onClick: props.handleRouteToSignUp,
9717
9786
  className: "clickable-link"
9718
9787
  },
9719
9788
  props.texts.signUpText ?? "Sign Up"
9720
- ))), /* @__PURE__ */ React89.createElement(CardFooter, null, /* @__PURE__ */ React89.createElement(Button, { type: "submit", className: "w-full" }, props.texts.resetPassword)))) : /* @__PURE__ */ React89.createElement(CardContent, { headless: true }, /* @__PURE__ */ React89.createElement("div", { className: "text-center" }, props.texts.emailSentText)));
9789
+ ))), /* @__PURE__ */ React90.createElement(CardFooter, null, /* @__PURE__ */ React90.createElement(Button, { type: "submit", className: "w-full" }, props.texts.resetPassword)))) : /* @__PURE__ */ React90.createElement(CardContent, { headless: true }, /* @__PURE__ */ React90.createElement("div", { className: "text-center" }, props.texts.emailSentText)));
9721
9790
  };
9722
9791
 
9723
9792
  // src/blocks/AuthForms/CodeConfirmation.tsx
9724
- import React90, { useState as useState43 } from "react";
9793
+ import React91, { useState as useState44 } from "react";
9725
9794
  var CodeConfirmation = (props) => {
9726
- const [pins, setPins] = useState43(null);
9727
- return /* @__PURE__ */ React90.createElement(Card, null, /* @__PURE__ */ React90.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React90.createElement(
9795
+ const [pins, setPins] = useState44(null);
9796
+ return /* @__PURE__ */ React91.createElement(Card, null, /* @__PURE__ */ React91.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React91.createElement(
9728
9797
  HawaAlert,
9729
9798
  {
9730
9799
  title: props.errorTitle,
9731
9800
  text: props.errorText,
9732
9801
  severity: "error"
9733
9802
  }
9734
- ), /* @__PURE__ */ React90.createElement("div", { className: "mb-4 dark:text-white" }, /* @__PURE__ */ React90.createElement("div", { className: "text-lg font-bold" }, props.texts.checkYourPhone ?? "Please check your phone"), /* @__PURE__ */ React90.createElement("div", { className: "text-muted-foreground" }, /* @__PURE__ */ React90.createElement("span", null, props.texts.weSentCode ?? "We've sent a code to "), /* @__PURE__ */ React90.createElement("span", null, props.phoneNumber)), " "), /* @__PURE__ */ React90.createElement(
9803
+ ), /* @__PURE__ */ React91.createElement("div", { className: "mb-4 dark:text-white" }, /* @__PURE__ */ React91.createElement("div", { className: "text-lg font-bold" }, props.texts.checkYourPhone ?? "Please check your phone"), /* @__PURE__ */ React91.createElement("div", { className: "text-muted-foreground" }, /* @__PURE__ */ React91.createElement("span", null, props.texts.weSentCode ?? "We've sent a code to "), /* @__PURE__ */ React91.createElement("span", null, props.phoneNumber)), " "), /* @__PURE__ */ React91.createElement(
9735
9804
  "form",
9736
9805
  {
9737
9806
  onSubmit: (e) => {
@@ -9741,17 +9810,17 @@ var CodeConfirmation = (props) => {
9741
9810
  }
9742
9811
  }
9743
9812
  },
9744
- /* @__PURE__ */ React90.createElement(HawaPinInput, { width: "full", digits: 6, getPins: (e) => setPins(e) }),
9745
- /* @__PURE__ */ React90.createElement("div", { className: " py-2 text-center text-xs text-muted-foreground" }, /* @__PURE__ */ React90.createElement("span", null, props.texts.didntGetCode ?? "Didn't get the code?"), " ", /* @__PURE__ */ React90.createElement("span", { className: "clickable-link" }, props.texts.resendCode ?? "Click to resend")),
9746
- /* @__PURE__ */ React90.createElement("div", { className: "mt-4 grid grid-cols-2 gap-2" }, /* @__PURE__ */ React90.createElement(Button, { variant: "secondary" }, props.texts.cancel ?? "Cancel"), /* @__PURE__ */ React90.createElement(Button, null, props.texts.confirm ?? "Confirm"))
9813
+ /* @__PURE__ */ React91.createElement(HawaPinInput, { width: "full", digits: 6, getPins: (e) => setPins(e) }),
9814
+ /* @__PURE__ */ React91.createElement("div", { className: " py-2 text-center text-xs text-muted-foreground" }, /* @__PURE__ */ React91.createElement("span", null, props.texts.didntGetCode ?? "Didn't get the code?"), " ", /* @__PURE__ */ React91.createElement("span", { className: "clickable-link" }, props.texts.resendCode ?? "Click to resend")),
9815
+ /* @__PURE__ */ React91.createElement("div", { className: "mt-4 grid grid-cols-2 gap-2" }, /* @__PURE__ */ React91.createElement(Button, { variant: "secondary" }, props.texts.cancel ?? "Cancel"), /* @__PURE__ */ React91.createElement(Button, null, props.texts.confirm ?? "Confirm"))
9747
9816
  )));
9748
9817
  };
9749
9818
 
9750
9819
  // src/blocks/Payment/SelectPayment.tsx
9751
- import React91, { useState as useState44 } from "react";
9820
+ import React92, { useState as useState45 } from "react";
9752
9821
  var SelectPayment = (props) => {
9753
- const [selectedMethod, setSelectedMethod] = useState44("");
9754
- return /* @__PURE__ */ React91.createElement(Card, null, /* @__PURE__ */ React91.createElement(CardHeader, null, /* @__PURE__ */ React91.createElement(CardTitle, null, "Choose Payment Method"), /* @__PURE__ */ React91.createElement(CardDescription, null, "And you'll be directed to the next step to complete the payment")), /* @__PURE__ */ React91.createElement(CardContent, { className: "grid grid-cols-2 gap-4" }, /* @__PURE__ */ React91.createElement(
9822
+ const [selectedMethod, setSelectedMethod] = useState45("");
9823
+ return /* @__PURE__ */ React92.createElement(Card, null, /* @__PURE__ */ React92.createElement(CardHeader, null, /* @__PURE__ */ React92.createElement(CardTitle, null, "Choose Payment Method"), /* @__PURE__ */ React92.createElement(CardDescription, null, "And you'll be directed to the next step to complete the payment")), /* @__PURE__ */ React92.createElement(CardContent, { className: "grid grid-cols-2 gap-4" }, /* @__PURE__ */ React92.createElement(
9755
9824
  Button,
9756
9825
  {
9757
9826
  className: cn(
@@ -9763,15 +9832,15 @@ var SelectPayment = (props) => {
9763
9832
  disabled: !props.viaMada,
9764
9833
  onClick: () => setSelectedMethod("mada")
9765
9834
  },
9766
- /* @__PURE__ */ React91.createElement(
9835
+ /* @__PURE__ */ React92.createElement(
9767
9836
  "img",
9768
9837
  {
9769
9838
  src: "https://sikka-images.s3.ap-southeast-1.amazonaws.com/payments/mada.png",
9770
9839
  className: "h-6"
9771
9840
  }
9772
9841
  ),
9773
- /* @__PURE__ */ React91.createElement("span", null, props.madaLabel)
9774
- ), /* @__PURE__ */ React91.createElement(
9842
+ /* @__PURE__ */ React92.createElement("span", null, props.madaLabel)
9843
+ ), /* @__PURE__ */ React92.createElement(
9775
9844
  Button,
9776
9845
  {
9777
9846
  className: cn(
@@ -9783,15 +9852,15 @@ var SelectPayment = (props) => {
9783
9852
  disabled: !props.viaApplePay,
9784
9853
  onClick: () => setSelectedMethod("apple-pay")
9785
9854
  },
9786
- /* @__PURE__ */ React91.createElement(
9855
+ /* @__PURE__ */ React92.createElement(
9787
9856
  "img",
9788
9857
  {
9789
9858
  src: "https://sikka-images.s3.ap-southeast-1.amazonaws.com/payments/apple-pay.png",
9790
9859
  className: "h-11"
9791
9860
  }
9792
9861
  ),
9793
- /* @__PURE__ */ React91.createElement("span", null, props.applePayLabel)
9794
- ), /* @__PURE__ */ React91.createElement(
9862
+ /* @__PURE__ */ React92.createElement("span", null, props.applePayLabel)
9863
+ ), /* @__PURE__ */ React92.createElement(
9795
9864
  Button,
9796
9865
  {
9797
9866
  className: cn(
@@ -9803,15 +9872,15 @@ var SelectPayment = (props) => {
9803
9872
  disabled: !props.viaCreditCard,
9804
9873
  onClick: () => setSelectedMethod("visa-master")
9805
9874
  },
9806
- /* @__PURE__ */ React91.createElement(
9875
+ /* @__PURE__ */ React92.createElement(
9807
9876
  "img",
9808
9877
  {
9809
9878
  src: "https://sikka-images.s3.ap-southeast-1.amazonaws.com/payments/visa-master.png",
9810
9879
  className: "h-6"
9811
9880
  }
9812
9881
  ),
9813
- /* @__PURE__ */ React91.createElement("span", null, props.visaMasterLabel)
9814
- ), /* @__PURE__ */ React91.createElement(
9882
+ /* @__PURE__ */ React92.createElement("span", null, props.visaMasterLabel)
9883
+ ), /* @__PURE__ */ React92.createElement(
9815
9884
  Button,
9816
9885
  {
9817
9886
  variant: "outline",
@@ -9823,7 +9892,7 @@ var SelectPayment = (props) => {
9823
9892
  disabled: !props.viaWallet,
9824
9893
  onClick: () => setSelectedMethod("wallet")
9825
9894
  },
9826
- /* @__PURE__ */ React91.createElement(
9895
+ /* @__PURE__ */ React92.createElement(
9827
9896
  "svg",
9828
9897
  {
9829
9898
  version: "1.1",
@@ -9831,20 +9900,20 @@ var SelectPayment = (props) => {
9831
9900
  viewBox: "0 0 223 223",
9832
9901
  className: "h-6 w-6"
9833
9902
  },
9834
- /* @__PURE__ */ React91.createElement("g", null, /* @__PURE__ */ React91.createElement(
9903
+ /* @__PURE__ */ React92.createElement("g", null, /* @__PURE__ */ React92.createElement(
9835
9904
  "path",
9836
9905
  {
9837
9906
  d: "M223,94.5c0-6.075-4.925-11-11-11h-63c-6.075,0-11,4.925-11,11v33c0,6.075,4.925,11,11,11h63c6.075,0,11-4.925,11-11V94.5z\n M169.515,123.967c-7.082,0-12.823-5.741-12.823-12.823c0-7.082,5.741-12.823,12.823-12.823c7.082,0,12.823,5.741,12.823,12.823\n C182.338,118.225,176.597,123.967,169.515,123.967z"
9838
9907
  }
9839
- ), /* @__PURE__ */ React91.createElement(
9908
+ ), /* @__PURE__ */ React92.createElement(
9840
9909
  "path",
9841
9910
  {
9842
9911
  d: "M123.509,68.5H205v-33c0-8.271-6.395-15-14.667-15h-175C7.062,20.5,0,27.229,0,35.5v152c0,8.271,7.062,15,15.333,15h175\n c8.271,0,14.667-6.729,14.667-15v-34h-81.342L123.509,68.5z"
9843
9912
  }
9844
9913
  ))
9845
9914
  ),
9846
- /* @__PURE__ */ React91.createElement("span", null, props.walletLabel)
9847
- ), /* @__PURE__ */ React91.createElement(
9915
+ /* @__PURE__ */ React92.createElement("span", null, props.walletLabel)
9916
+ ), /* @__PURE__ */ React92.createElement(
9848
9917
  Button,
9849
9918
  {
9850
9919
  variant: "outline",
@@ -9856,15 +9925,15 @@ var SelectPayment = (props) => {
9856
9925
  disabled: !props.viaSTCPay,
9857
9926
  onClick: () => setSelectedMethod("stc-pay")
9858
9927
  },
9859
- /* @__PURE__ */ React91.createElement(
9928
+ /* @__PURE__ */ React92.createElement(
9860
9929
  "img",
9861
9930
  {
9862
9931
  src: "https://sikka-images.s3.ap-southeast-1.amazonaws.com/payments/stc-pay.png",
9863
9932
  className: "h-6"
9864
9933
  }
9865
9934
  ),
9866
- /* @__PURE__ */ React91.createElement("span", null, props.stcPayLabel)
9867
- ), /* @__PURE__ */ React91.createElement(
9935
+ /* @__PURE__ */ React92.createElement("span", null, props.stcPayLabel)
9936
+ ), /* @__PURE__ */ React92.createElement(
9868
9937
  Button,
9869
9938
  {
9870
9939
  variant: "outline",
@@ -9876,15 +9945,15 @@ var SelectPayment = (props) => {
9876
9945
  disabled: !props.viaGooglePay,
9877
9946
  onClick: () => setSelectedMethod("google-pay")
9878
9947
  },
9879
- /* @__PURE__ */ React91.createElement(
9948
+ /* @__PURE__ */ React92.createElement(
9880
9949
  "img",
9881
9950
  {
9882
9951
  src: "https://sikka-images.s3.ap-southeast-1.amazonaws.com/payments/google-pay.png",
9883
9952
  className: "h-6"
9884
9953
  }
9885
9954
  ),
9886
- /* @__PURE__ */ React91.createElement("span", null, props.googlePayLabel)
9887
- ), /* @__PURE__ */ React91.createElement(
9955
+ /* @__PURE__ */ React92.createElement("span", null, props.googlePayLabel)
9956
+ ), /* @__PURE__ */ React92.createElement(
9888
9957
  Button,
9889
9958
  {
9890
9959
  variant: "outline",
@@ -9896,15 +9965,15 @@ var SelectPayment = (props) => {
9896
9965
  disabled: !props.viaPayPal,
9897
9966
  onClick: () => setSelectedMethod("paypal")
9898
9967
  },
9899
- /* @__PURE__ */ React91.createElement(
9968
+ /* @__PURE__ */ React92.createElement(
9900
9969
  "img",
9901
9970
  {
9902
9971
  src: "https://sikka-images.s3.ap-southeast-1.amazonaws.com/payments/paypal.png",
9903
9972
  className: "h-6"
9904
9973
  }
9905
9974
  ),
9906
- /* @__PURE__ */ React91.createElement("span", null, props.paypalLabel)
9907
- )), /* @__PURE__ */ React91.createElement(CardFooter, null, /* @__PURE__ */ React91.createElement(
9975
+ /* @__PURE__ */ React92.createElement("span", null, props.paypalLabel)
9976
+ )), /* @__PURE__ */ React92.createElement(CardFooter, null, /* @__PURE__ */ React92.createElement(
9908
9977
  Button,
9909
9978
  {
9910
9979
  onClick: () => props.handleContinue(selectedMethod),
@@ -9916,7 +9985,7 @@ var SelectPayment = (props) => {
9916
9985
  };
9917
9986
 
9918
9987
  // src/blocks/Payment/CreditCardForm.tsx
9919
- import React92 from "react";
9988
+ import React93 from "react";
9920
9989
  import { Controller as Controller7, useForm as useForm7 } from "react-hook-form";
9921
9990
  var CreditCardForm = (props) => {
9922
9991
  const methods = useForm7();
@@ -9925,41 +9994,41 @@ var CreditCardForm = (props) => {
9925
9994
  handleSubmit,
9926
9995
  control
9927
9996
  } = methods;
9928
- return /* @__PURE__ */ React92.createElement(Card, null, /* @__PURE__ */ React92.createElement("form", { onSubmit: handleSubmit(props.handle) }, /* @__PURE__ */ React92.createElement(CardContent, { headless: true }, /* @__PURE__ */ React92.createElement("div", { className: "flex flex-row gap-4" }, /* @__PURE__ */ React92.createElement(
9997
+ return /* @__PURE__ */ React93.createElement(Card, null, /* @__PURE__ */ React93.createElement("form", { onSubmit: handleSubmit(props.handle) }, /* @__PURE__ */ React93.createElement(CardContent, { headless: true }, /* @__PURE__ */ React93.createElement("div", { className: "flex flex-row gap-4" }, /* @__PURE__ */ React93.createElement(
9929
9998
  Controller7,
9930
9999
  {
9931
10000
  control,
9932
10001
  name: "cardName",
9933
- render: ({ field }) => /* @__PURE__ */ React92.createElement(
10002
+ render: ({ field }) => /* @__PURE__ */ React93.createElement(
9934
10003
  HawaTextField,
9935
10004
  {
9936
10005
  width: "full",
9937
- name: "password",
9938
- placeholder: "Enter password",
9939
- type: "tel",
10006
+ name: "cardNumber",
10007
+ placeholder: "1234 1234 1234 1234",
10008
+ type: "number",
9940
10009
  label: "Card Number",
9941
10010
  helpertext: errors.password?.message
9942
10011
  }
9943
10012
  ),
9944
10013
  rules: {
9945
- required: "Password is rquired"
10014
+ required: "Card Number is rquired"
9946
10015
  }
9947
10016
  }
9948
- ), /* @__PURE__ */ React92.createElement("div", { className: "w-1/4" }, /* @__PURE__ */ React92.createElement(
10017
+ ), /* @__PURE__ */ React93.createElement("div", { className: "w-1/4" }, /* @__PURE__ */ React93.createElement(
9949
10018
  Controller7,
9950
10019
  {
9951
10020
  control,
9952
- name: "cardName",
9953
- render: ({ field }) => /* @__PURE__ */ React92.createElement(
10021
+ name: "cardCVC",
10022
+ render: ({ field }) => /* @__PURE__ */ React93.createElement(
9954
10023
  HawaTextField,
9955
10024
  {
9956
10025
  width: "full",
9957
- name: "password",
10026
+ name: "cardCVC",
9958
10027
  maxLength: "3",
9959
10028
  autoComplete: "cc-number",
9960
- placeholder: "",
9961
- type: "password",
9962
- label: "CCV",
10029
+ placeholder: "CVC",
10030
+ type: "number",
10031
+ label: "CVC",
9963
10032
  helpertext: errors.password?.message
9964
10033
  }
9965
10034
  ),
@@ -9967,19 +10036,19 @@ var CreditCardForm = (props) => {
9967
10036
  required: "Password is rquired"
9968
10037
  }
9969
10038
  }
9970
- ))), /* @__PURE__ */ React92.createElement(
10039
+ ))), /* @__PURE__ */ React93.createElement(
9971
10040
  Controller7,
9972
10041
  {
9973
10042
  control,
9974
- name: "cardName",
9975
- render: ({ field }) => /* @__PURE__ */ React92.createElement(
10043
+ name: "cardExpiry",
10044
+ render: ({ field }) => /* @__PURE__ */ React93.createElement(
9976
10045
  HawaTextField,
9977
10046
  {
9978
10047
  width: "full",
9979
- name: "password",
9980
- placeholder: "Enter password",
9981
- type: "text",
9982
- label: "Name On Card",
10048
+ name: "cardExpiry",
10049
+ placeholder: "MM / YY",
10050
+ type: "password",
10051
+ label: "Expiry Date",
9983
10052
  helpertext: errors.password?.message
9984
10053
  }
9985
10054
  ),
@@ -9987,44 +10056,43 @@ var CreditCardForm = (props) => {
9987
10056
  required: "Password is rquired"
9988
10057
  }
9989
10058
  }
9990
- ), /* @__PURE__ */ React92.createElement(
10059
+ ), /* @__PURE__ */ React93.createElement(
9991
10060
  Controller7,
9992
10061
  {
9993
10062
  control,
9994
10063
  name: "cardName",
9995
- render: ({ field }) => /* @__PURE__ */ React92.createElement(
10064
+ render: ({ field }) => /* @__PURE__ */ React93.createElement(
9996
10065
  HawaTextField,
9997
10066
  {
9998
10067
  width: "full",
9999
- name: "password",
10000
- placeholder: "Enter password",
10001
- type: "password",
10002
- label: "Expiry Date",
10068
+ name: "cardName",
10069
+ type: "text",
10070
+ label: "Name on card",
10003
10071
  helpertext: errors.password?.message
10004
10072
  }
10005
10073
  ),
10006
10074
  rules: {
10007
- required: "Password is rquired"
10075
+ required: "Card holder name is rquired"
10008
10076
  }
10009
10077
  }
10010
- )), /* @__PURE__ */ React92.createElement(CardFooter, null, /* @__PURE__ */ React92.createElement(Button, { className: "w-full", onClick: props.handlePayWithCreditCard }, "Pay with Credit Card"))));
10078
+ )), /* @__PURE__ */ React93.createElement(CardFooter, null, /* @__PURE__ */ React93.createElement(Button, { className: "w-full", onClick: props.handlePayWithCreditCard }, "Pay with Credit Card"))));
10011
10079
  };
10012
10080
 
10013
10081
  // src/blocks/Payment/ChargeWalletForm.tsx
10014
- import React93, { useState as useState45 } from "react";
10082
+ import React94, { useState as useState46 } from "react";
10015
10083
  var ChargeWalletForm = (props) => {
10016
- const [walletAmount, setWalletAmount] = useState45(0);
10017
- return /* @__PURE__ */ React93.createElement(Card, null, /* @__PURE__ */ React93.createElement(CardContent, { headless: true }, /* @__PURE__ */ React93.createElement("div", { className: "p-4 text-center" }, /* @__PURE__ */ React93.createElement("div", { className: " text-5xl font-extrabold" }, Number(walletAmount).toLocaleString("en") || "0"), /* @__PURE__ */ React93.createElement("div", { className: "text-sm font-normal" }, props.currency || "SAR")), /* @__PURE__ */ React93.createElement("div", { className: "mb-2 flex w-full flex-col gap-4 text-center" }, /* @__PURE__ */ React93.createElement("div", { className: "mb-2 flex w-full flex-row gap-4 text-center" }, /* @__PURE__ */ React93.createElement(Button, { variant: "outline", className: "h-full w-full" }, "10 SAR"), /* @__PURE__ */ React93.createElement(Button, { variant: "outline", className: "h-full w-full" }, "50 SAR"), /* @__PURE__ */ React93.createElement(Button, { variant: "outline", className: "h-full w-full" }, "100 SAR")), /* @__PURE__ */ React93.createElement(Input, { placeholder: "Custom Amount", type: "number", name: "amount" })), /* @__PURE__ */ React93.createElement(Button, { className: "mt-6 w-full" }, props.texts.chargeWallet)));
10084
+ const [walletAmount, setWalletAmount] = useState46(0);
10085
+ return /* @__PURE__ */ React94.createElement(Card, null, /* @__PURE__ */ React94.createElement(CardContent, { headless: true }, /* @__PURE__ */ React94.createElement("div", { className: "p-4 text-center" }, /* @__PURE__ */ React94.createElement("div", { className: " text-5xl font-extrabold" }, Number(walletAmount).toLocaleString("en") || "0"), /* @__PURE__ */ React94.createElement("div", { className: "text-sm font-normal" }, props.currency || "SAR")), /* @__PURE__ */ React94.createElement("div", { className: "mb-2 flex w-full flex-col gap-4 text-center" }, /* @__PURE__ */ React94.createElement("div", { className: "mb-2 flex w-full flex-row gap-4 text-center" }, /* @__PURE__ */ React94.createElement(Button, { variant: "outline", className: "h-full w-full" }, "10 SAR"), /* @__PURE__ */ React94.createElement(Button, { variant: "outline", className: "h-full w-full" }, "50 SAR"), /* @__PURE__ */ React94.createElement(Button, { variant: "outline", className: "h-full w-full" }, "100 SAR")), /* @__PURE__ */ React94.createElement(Input, { placeholder: "Custom Amount", type: "number", name: "amount" })), /* @__PURE__ */ React94.createElement(Button, { className: "mt-6 w-full" }, props.texts.chargeWallet)));
10018
10086
  };
10019
10087
 
10020
10088
  // src/blocks/Payment/PayWithWallet.tsx
10021
- import React94 from "react";
10089
+ import React95 from "react";
10022
10090
  var PayWithWallet = (props) => {
10023
- return /* @__PURE__ */ React94.createElement(Card, null, /* @__PURE__ */ React94.createElement(CardContent, { headless: true }, /* @__PURE__ */ React94.createElement("div", { className: "text-center text-5xl font-extrabold" }, props.walletBalance || "0", /* @__PURE__ */ React94.createElement("div", { className: "text-sm font-normal" }, props.currency || "SAR")), /* @__PURE__ */ React94.createElement(Button, { className: "mt-6 w-full", onClick: props.handlePayWithWallet }, "Pay Now")));
10091
+ return /* @__PURE__ */ React95.createElement(Card, null, /* @__PURE__ */ React95.createElement(CardContent, { headless: true }, /* @__PURE__ */ React95.createElement("div", { className: "text-center text-5xl font-extrabold" }, props.walletBalance || "0", /* @__PURE__ */ React95.createElement("div", { className: "text-sm font-normal" }, props.currency || "SAR")), /* @__PURE__ */ React95.createElement(Button, { className: "mt-6 w-full", onClick: props.handlePayWithWallet }, "Pay Now")));
10024
10092
  };
10025
10093
 
10026
10094
  // src/blocks/Payment/CheckoutForm.tsx
10027
- import React95 from "react";
10095
+ import React96 from "react";
10028
10096
  import { Controller as Controller8, FormProvider as FormProvider4, useForm as useForm8 } from "react-hook-form";
10029
10097
  var CheckoutForm = (props) => {
10030
10098
  let isArabic = props.lang === "ar";
@@ -10048,7 +10116,7 @@ var CheckoutForm = (props) => {
10048
10116
  xl: "row"
10049
10117
  }
10050
10118
  };
10051
- return /* @__PURE__ */ React95.createElement(Card, null, /* @__PURE__ */ React95.createElement(CardHeader, null, /* @__PURE__ */ React95.createElement(CardTitle, null, props.texts.orderDetails)), /* @__PURE__ */ React95.createElement(CardContent, null, /* @__PURE__ */ React95.createElement("div", null, /* @__PURE__ */ React95.createElement("div", { className: "rounded border border-gray-300" }, /* @__PURE__ */ React95.createElement(
10119
+ return /* @__PURE__ */ React96.createElement(Card, null, /* @__PURE__ */ React96.createElement(CardHeader, null, /* @__PURE__ */ React96.createElement(CardTitle, null, props.texts.orderDetails)), /* @__PURE__ */ React96.createElement(CardContent, null, /* @__PURE__ */ React96.createElement("div", null, /* @__PURE__ */ React96.createElement("div", { className: "rounded border border-gray-300" }, /* @__PURE__ */ React96.createElement(
10052
10120
  HawaTable,
10053
10121
  {
10054
10122
  pagination: false,
@@ -10062,13 +10130,13 @@ var CheckoutForm = (props) => {
10062
10130
  rows: props.products,
10063
10131
  bordersWidth: "1"
10064
10132
  }
10065
- )))), /* @__PURE__ */ React95.createElement(CardHeader, null, /* @__PURE__ */ React95.createElement(CardTitle, null, props.texts.billingAddress)), /* @__PURE__ */ React95.createElement("form", { onSubmit: handleSubmit(props.handlePayNow) }, /* @__PURE__ */ React95.createElement(CardContent, null, /* @__PURE__ */ React95.createElement("div", null, /* @__PURE__ */ React95.createElement(FormProvider4, { ...methods }, /* @__PURE__ */ React95.createElement("div", null, /* @__PURE__ */ React95.createElement(
10133
+ )))), /* @__PURE__ */ React96.createElement(CardHeader, null, /* @__PURE__ */ React96.createElement(CardTitle, null, props.texts.billingAddress)), /* @__PURE__ */ React96.createElement("form", { onSubmit: handleSubmit(props.handlePayNow) }, /* @__PURE__ */ React96.createElement(CardContent, null, /* @__PURE__ */ React96.createElement("div", null, /* @__PURE__ */ React96.createElement(FormProvider4, { ...methods }, /* @__PURE__ */ React96.createElement("div", null, /* @__PURE__ */ React96.createElement(
10066
10134
  Controller8,
10067
10135
  {
10068
10136
  control,
10069
10137
  name: "firstName",
10070
10138
  rules: { required: props.texts?.required },
10071
- render: ({ field }) => /* @__PURE__ */ React95.createElement(
10139
+ render: ({ field }) => /* @__PURE__ */ React96.createElement(
10072
10140
  HawaTextField,
10073
10141
  {
10074
10142
  type: "text",
@@ -10079,13 +10147,13 @@ var CheckoutForm = (props) => {
10079
10147
  }
10080
10148
  )
10081
10149
  }
10082
- ), /* @__PURE__ */ React95.createElement("div", { style: { width: 20 } }), /* @__PURE__ */ React95.createElement(
10150
+ ), /* @__PURE__ */ React96.createElement("div", { style: { width: 20 } }), /* @__PURE__ */ React96.createElement(
10083
10151
  Controller8,
10084
10152
  {
10085
10153
  control,
10086
10154
  name: "lastName",
10087
10155
  rules: { required: props.texts?.required },
10088
- render: ({ field }) => /* @__PURE__ */ React95.createElement(
10156
+ render: ({ field }) => /* @__PURE__ */ React96.createElement(
10089
10157
  HawaTextField,
10090
10158
  {
10091
10159
  width: "full",
@@ -10097,12 +10165,12 @@ var CheckoutForm = (props) => {
10097
10165
  }
10098
10166
  )
10099
10167
  }
10100
- )), /* @__PURE__ */ React95.createElement(
10168
+ )), /* @__PURE__ */ React96.createElement(
10101
10169
  Controller8,
10102
10170
  {
10103
10171
  control,
10104
10172
  name: "email",
10105
- render: ({ field }) => /* @__PURE__ */ React95.createElement(
10173
+ render: ({ field }) => /* @__PURE__ */ React96.createElement(
10106
10174
  HawaTextField,
10107
10175
  {
10108
10176
  width: "full",
@@ -10121,13 +10189,13 @@ var CheckoutForm = (props) => {
10121
10189
  }
10122
10190
  }
10123
10191
  }
10124
- ), /* @__PURE__ */ React95.createElement("div", { className: "flex flex-col md:flex-row" }, /* @__PURE__ */ React95.createElement(
10192
+ ), /* @__PURE__ */ React96.createElement("div", { className: "flex flex-col md:flex-row" }, /* @__PURE__ */ React96.createElement(
10125
10193
  Controller8,
10126
10194
  {
10127
10195
  control,
10128
10196
  name: "streetAddress",
10129
10197
  rules: { required: props.texts?.required },
10130
- render: ({ field }) => /* @__PURE__ */ React95.createElement(
10198
+ render: ({ field }) => /* @__PURE__ */ React96.createElement(
10131
10199
  HawaTextField,
10132
10200
  {
10133
10201
  width: "full",
@@ -10139,13 +10207,13 @@ var CheckoutForm = (props) => {
10139
10207
  }
10140
10208
  )
10141
10209
  }
10142
- )), /* @__PURE__ */ React95.createElement("div", { className: "flex flex-col md:flex-row" }, /* @__PURE__ */ React95.createElement(
10210
+ )), /* @__PURE__ */ React96.createElement("div", { className: "flex flex-col md:flex-row" }, /* @__PURE__ */ React96.createElement(
10143
10211
  Controller8,
10144
10212
  {
10145
10213
  control,
10146
10214
  name: "province",
10147
10215
  rules: { required: props.texts?.required },
10148
- render: ({ field }) => /* @__PURE__ */ React95.createElement(
10216
+ render: ({ field }) => /* @__PURE__ */ React96.createElement(
10149
10217
  HawaTextField,
10150
10218
  {
10151
10219
  width: "full",
@@ -10157,13 +10225,13 @@ var CheckoutForm = (props) => {
10157
10225
  }
10158
10226
  )
10159
10227
  }
10160
- ), /* @__PURE__ */ React95.createElement("div", { style: { width: 20 } }), /* @__PURE__ */ React95.createElement(
10228
+ ), /* @__PURE__ */ React96.createElement("div", { style: { width: 20 } }), /* @__PURE__ */ React96.createElement(
10161
10229
  Controller8,
10162
10230
  {
10163
10231
  control,
10164
10232
  name: "city",
10165
10233
  rules: { required: props.texts?.required },
10166
- render: ({ field }) => /* @__PURE__ */ React95.createElement(
10234
+ render: ({ field }) => /* @__PURE__ */ React96.createElement(
10167
10235
  HawaTextField,
10168
10236
  {
10169
10237
  width: "full",
@@ -10175,13 +10243,13 @@ var CheckoutForm = (props) => {
10175
10243
  }
10176
10244
  )
10177
10245
  }
10178
- )), /* @__PURE__ */ React95.createElement("div", { className: "flex flex-col md:flex-row" }, /* @__PURE__ */ React95.createElement(
10246
+ )), /* @__PURE__ */ React96.createElement("div", { className: "flex flex-col md:flex-row" }, /* @__PURE__ */ React96.createElement(
10179
10247
  Controller8,
10180
10248
  {
10181
10249
  control,
10182
10250
  name: "buildingNumber",
10183
10251
  rules: { required: props.texts?.required },
10184
- render: ({ field }) => /* @__PURE__ */ React95.createElement(
10252
+ render: ({ field }) => /* @__PURE__ */ React96.createElement(
10185
10253
  HawaTextField,
10186
10254
  {
10187
10255
  width: "full",
@@ -10193,13 +10261,13 @@ var CheckoutForm = (props) => {
10193
10261
  }
10194
10262
  )
10195
10263
  }
10196
- ), /* @__PURE__ */ React95.createElement("div", { style: { width: 20 } }), /* @__PURE__ */ React95.createElement(
10264
+ ), /* @__PURE__ */ React96.createElement("div", { style: { width: 20 } }), /* @__PURE__ */ React96.createElement(
10197
10265
  Controller8,
10198
10266
  {
10199
10267
  control,
10200
10268
  name: "zipCode",
10201
10269
  rules: { required: props.texts?.required },
10202
- render: ({ field }) => /* @__PURE__ */ React95.createElement(
10270
+ render: ({ field }) => /* @__PURE__ */ React96.createElement(
10203
10271
  HawaTextField,
10204
10272
  {
10205
10273
  width: "full",
@@ -10211,13 +10279,13 @@ var CheckoutForm = (props) => {
10211
10279
  }
10212
10280
  )
10213
10281
  }
10214
- )), /* @__PURE__ */ React95.createElement("div", { className: "mb-3" }, /* @__PURE__ */ React95.createElement(
10282
+ )), /* @__PURE__ */ React96.createElement("div", { className: "mb-3" }, /* @__PURE__ */ React96.createElement(
10215
10283
  Controller8,
10216
10284
  {
10217
10285
  control,
10218
10286
  name: "country",
10219
10287
  rules: { required: props.texts?.required },
10220
- render: ({ field }) => /* @__PURE__ */ React95.createElement(
10288
+ render: ({ field }) => /* @__PURE__ */ React96.createElement(
10221
10289
  HawaSelect,
10222
10290
  {
10223
10291
  native: true,
@@ -10228,18 +10296,18 @@ var CheckoutForm = (props) => {
10228
10296
  onChange: (e) => field.onChange(e.country_label),
10229
10297
  value: field.value ?? ""
10230
10298
  },
10231
- /* @__PURE__ */ React95.createElement("option", null),
10232
- props.countriesList.map((country, i) => /* @__PURE__ */ React95.createElement("option", { key: i }, country))
10299
+ /* @__PURE__ */ React96.createElement("option", null),
10300
+ props.countriesList.map((country, i) => /* @__PURE__ */ React96.createElement("option", { key: i }, country))
10233
10301
  )
10234
10302
  }
10235
- ))))), /* @__PURE__ */ React95.createElement(CardFooter, null, /* @__PURE__ */ React95.createElement(Button, { className: "w-full" }, props.texts.payNow)), " "));
10303
+ ))))), /* @__PURE__ */ React96.createElement(CardFooter, null, /* @__PURE__ */ React96.createElement(Button, { className: "w-full" }, props.texts.payNow)), " "));
10236
10304
  };
10237
10305
 
10238
10306
  // src/blocks/Payment/Confirmation.tsx
10239
- import React96 from "react";
10307
+ import React97 from "react";
10240
10308
  var ConfirmationPage = (props) => {
10241
10309
  let isArabic = props.lang === "ar";
10242
- return /* @__PURE__ */ React96.createElement(Card, null, /* @__PURE__ */ React96.createElement(CardContent, { headless: true }, " ", /* @__PURE__ */ React96.createElement("div", { className: "py-5 text-center text-3xl font-bold dark:text-white" }, props.confirmationTitle), /* @__PURE__ */ React96.createElement("div", { className: "py-5 dark:text-white" }, /* @__PURE__ */ React96.createElement("div", { className: "mb-2 text-center" }, props.texts.successMessage, " ", /* @__PURE__ */ React96.createElement("strong", null, props.userEmail)), /* @__PURE__ */ React96.createElement("div", { className: "text-center" }, props.texts.yourOrderNumber), /* @__PURE__ */ React96.createElement("div", { className: "text-center font-bold" }, props.orderNumber)), /* @__PURE__ */ React96.createElement("div", { className: "flex flex-col items-center justify-center gap-4 py-5 pt-0" }, /* @__PURE__ */ React96.createElement(Button, { className: "w-full", onClick: props.handlePrint }, props.texts.print), /* @__PURE__ */ React96.createElement(Button, { className: "w-full", onClick: props.handleHistory }, props.texts.history), /* @__PURE__ */ React96.createElement(Button, { className: "w-full", onClick: props.handleHome }, props.texts.homePage), /* @__PURE__ */ React96.createElement("div", { className: " text-center text-sm dark:text-white" }, props.texts.fasterPaymentNote), /* @__PURE__ */ React96.createElement(
10310
+ return /* @__PURE__ */ React97.createElement(Card, null, /* @__PURE__ */ React97.createElement(CardContent, { headless: true }, " ", /* @__PURE__ */ React97.createElement("div", { className: "py-5 text-center text-3xl font-bold dark:text-white" }, props.confirmationTitle), /* @__PURE__ */ React97.createElement("div", { className: "py-5 dark:text-white" }, /* @__PURE__ */ React97.createElement("div", { className: "mb-2 text-center" }, props.texts.successMessage, " ", /* @__PURE__ */ React97.createElement("strong", null, props.userEmail)), /* @__PURE__ */ React97.createElement("div", { className: "text-center" }, props.texts.yourOrderNumber), /* @__PURE__ */ React97.createElement("div", { className: "text-center font-bold" }, props.orderNumber)), /* @__PURE__ */ React97.createElement("div", { className: "flex flex-col items-center justify-center gap-4 py-5 pt-0" }, /* @__PURE__ */ React97.createElement(Button, { className: "w-full", onClick: props.handlePrint }, props.texts.print), /* @__PURE__ */ React97.createElement(Button, { className: "w-full", onClick: props.handleHistory }, props.texts.history), /* @__PURE__ */ React97.createElement(Button, { className: "w-full", onClick: props.handleHome }, props.texts.homePage), /* @__PURE__ */ React97.createElement("div", { className: " text-center text-sm dark:text-white" }, props.texts.fasterPaymentNote), /* @__PURE__ */ React97.createElement(
10243
10311
  "a",
10244
10312
  {
10245
10313
  className: "clickable-link text-xs",
@@ -10250,9 +10318,9 @@ var ConfirmationPage = (props) => {
10250
10318
  };
10251
10319
 
10252
10320
  // src/blocks/Pricing/PricingPlans.tsx
10253
- import React97 from "react";
10321
+ import React98 from "react";
10254
10322
  var PricingPlans = (props) => {
10255
- return /* @__PURE__ */ React97.createElement("div", null, /* @__PURE__ */ React97.createElement("div", { className: "mb-2 flex w-full justify-between" }, /* @__PURE__ */ React97.createElement(
10323
+ return /* @__PURE__ */ React98.createElement("div", null, /* @__PURE__ */ React98.createElement("div", { className: "mb-2 flex w-full justify-between" }, /* @__PURE__ */ React98.createElement(
10256
10324
  HawaRadio,
10257
10325
  {
10258
10326
  design: "tabs",
@@ -10260,7 +10328,7 @@ var PricingPlans = (props) => {
10260
10328
  options: props.billingCycles,
10261
10329
  onChangeTab: (e) => props.onCycleChange(e)
10262
10330
  }
10263
- ), /* @__PURE__ */ React97.createElement(
10331
+ ), /* @__PURE__ */ React98.createElement(
10264
10332
  HawaRadio,
10265
10333
  {
10266
10334
  design: "tabs",
@@ -10268,8 +10336,8 @@ var PricingPlans = (props) => {
10268
10336
  options: props.currencies,
10269
10337
  onChangeTab: (e) => props.onCurrencyChange(e)
10270
10338
  }
10271
- )), /* @__PURE__ */ React97.createElement("div", { className: "flex flex-row justify-between" }, props.plans.map((plan, index) => {
10272
- return /* @__PURE__ */ React97.createElement(
10339
+ )), /* @__PURE__ */ React98.createElement("div", { className: "flex flex-row justify-between" }, props.plans.map((plan, index) => {
10340
+ return /* @__PURE__ */ React98.createElement(
10273
10341
  HawaPricingCard,
10274
10342
  {
10275
10343
  key: index,
@@ -10286,8 +10354,8 @@ var PricingPlans = (props) => {
10286
10354
  };
10287
10355
 
10288
10356
  // src/blocks/Pricing/ComparingPlans.tsx
10289
- import React98, { useState as useState46 } from "react";
10290
- var CheckMark = () => /* @__PURE__ */ React98.createElement(
10357
+ import React99, { useState as useState47 } from "react";
10358
+ var CheckMark = () => /* @__PURE__ */ React99.createElement(
10291
10359
  "svg",
10292
10360
  {
10293
10361
  className: "h-5 w-5 text-green-500",
@@ -10295,7 +10363,7 @@ var CheckMark = () => /* @__PURE__ */ React98.createElement(
10295
10363
  fill: "currentColor",
10296
10364
  viewBox: "0 0 20 20"
10297
10365
  },
10298
- /* @__PURE__ */ React98.createElement(
10366
+ /* @__PURE__ */ React99.createElement(
10299
10367
  "path",
10300
10368
  {
10301
10369
  fillRule: "evenodd",
@@ -10304,7 +10372,7 @@ var CheckMark = () => /* @__PURE__ */ React98.createElement(
10304
10372
  }
10305
10373
  )
10306
10374
  );
10307
- var UncheckMark = () => /* @__PURE__ */ React98.createElement(
10375
+ var UncheckMark = () => /* @__PURE__ */ React99.createElement(
10308
10376
  "svg",
10309
10377
  {
10310
10378
  className: "h-5 w-5 text-red-500",
@@ -10312,7 +10380,7 @@ var UncheckMark = () => /* @__PURE__ */ React98.createElement(
10312
10380
  fill: "currentColor",
10313
10381
  viewBox: "0 0 20 20"
10314
10382
  },
10315
- /* @__PURE__ */ React98.createElement(
10383
+ /* @__PURE__ */ React99.createElement(
10316
10384
  "path",
10317
10385
  {
10318
10386
  fillRule: "evenodd",
@@ -10322,9 +10390,9 @@ var UncheckMark = () => /* @__PURE__ */ React98.createElement(
10322
10390
  )
10323
10391
  );
10324
10392
  var ComparingPlans = (props) => {
10325
- const [currentCurrency, setCurrentCurrency] = useState46("sar");
10326
- const [currentCycle, setCurrentCycle] = useState46("month");
10327
- return /* @__PURE__ */ React98.createElement("div", { id: "detailed-pricing", className: "w-full overflow-x-auto" }, /* @__PURE__ */ React98.createElement("div", { className: "mb-2 flex w-full justify-between" }, /* @__PURE__ */ React98.createElement(
10393
+ const [currentCurrency, setCurrentCurrency] = useState47("sar");
10394
+ const [currentCycle, setCurrentCycle] = useState47("month");
10395
+ return /* @__PURE__ */ React99.createElement("div", { id: "detailed-pricing", className: "w-full overflow-x-auto" }, /* @__PURE__ */ React99.createElement("div", { className: "mb-2 flex w-full justify-between" }, /* @__PURE__ */ React99.createElement(
10328
10396
  HawaRadio,
10329
10397
  {
10330
10398
  design: "tabs",
@@ -10332,7 +10400,7 @@ var ComparingPlans = (props) => {
10332
10400
  options: props.billingCycles,
10333
10401
  onChangeTab: (e) => props.onCycleChange(e)
10334
10402
  }
10335
- ), /* @__PURE__ */ React98.createElement(
10403
+ ), /* @__PURE__ */ React99.createElement(
10336
10404
  HawaRadio,
10337
10405
  {
10338
10406
  design: "tabs",
@@ -10340,9 +10408,9 @@ var ComparingPlans = (props) => {
10340
10408
  options: props.currencies,
10341
10409
  onChangeTab: (e) => props.onCurrencyChange(e)
10342
10410
  }
10343
- )), /* @__PURE__ */ React98.createElement("div", { className: " overflow-hidden rounded" }, /* @__PURE__ */ React98.createElement("div", { className: "grid grid-cols-4 gap-x-2 border-b border-t border-gray-200 bg-gray-100 p-4 text-sm font-medium text-gray-900 dark:border-gray-700 dark:bg-gray-800 dark:text-white" }, /* @__PURE__ */ React98.createElement("div", { className: "flex items-center" }), props.plans.map((plan) => /* @__PURE__ */ React98.createElement("div", null, /* @__PURE__ */ React98.createElement("h5", { className: "text-md 0 font-bold text-gray-500 dark:text-gray-400" }, plan.texts.title), /* @__PURE__ */ React98.createElement("div", { className: " flex items-baseline text-gray-900 dark:text-white" }, /* @__PURE__ */ React98.createElement(React98.Fragment, null, /* @__PURE__ */ React98.createElement("span", { className: "text-5xl font-extrabold tracking-tight" }, plan.price), /* @__PURE__ */ React98.createElement("span", { className: "mx-1 text-sm font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ React98.createElement("span", { className: "ml-1 text-xl font-normal text-gray-500 dark:text-gray-400" }, "/ ", plan.texts.cycleText)), /* @__PURE__ */ React98.createElement("h5", { className: "text-md font-normal text-gray-500 dark:text-gray-400" }, plan.texts.subtitle)))), props.plans?.map((plan) => {
10411
+ )), /* @__PURE__ */ React99.createElement("div", { className: " overflow-hidden rounded" }, /* @__PURE__ */ React99.createElement("div", { className: "grid grid-cols-4 gap-x-2 border-b border-t border-gray-200 bg-gray-100 p-4 text-sm font-medium text-gray-900 dark:border-gray-700 dark:bg-gray-800 dark:text-white" }, /* @__PURE__ */ React99.createElement("div", { className: "flex items-center" }), props.plans.map((plan) => /* @__PURE__ */ React99.createElement("div", null, /* @__PURE__ */ React99.createElement("h5", { className: "text-md 0 font-bold text-gray-500 dark:text-gray-400" }, plan.texts.title), /* @__PURE__ */ React99.createElement("div", { className: " flex items-baseline text-gray-900 dark:text-white" }, /* @__PURE__ */ React99.createElement(React99.Fragment, null, /* @__PURE__ */ React99.createElement("span", { className: "text-5xl font-extrabold tracking-tight" }, plan.price), /* @__PURE__ */ React99.createElement("span", { className: "mx-1 text-sm font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ React99.createElement("span", { className: "ml-1 text-xl font-normal text-gray-500 dark:text-gray-400" }, "/ ", plan.texts.cycleText)), /* @__PURE__ */ React99.createElement("h5", { className: "text-md font-normal text-gray-500 dark:text-gray-400" }, plan.texts.subtitle)))), props.plans?.map((plan) => {
10344
10412
  return plan.features.map((feature) => {
10345
- return /* @__PURE__ */ React98.createElement("div", { className: "grid grid-cols-4 gap-x-16 border-b border-gray-200 px-4 py-5 text-sm text-gray-700 dark:border-gray-700" }, /* @__PURE__ */ React98.createElement("div", { className: " flex flex-row items-center gap-2 text-gray-500 dark:text-gray-400" }, feature.text, feature.description && /* @__PURE__ */ React98.createElement(Tooltip, { side: "right", content: feature.description }, /* @__PURE__ */ React98.createElement(
10413
+ return /* @__PURE__ */ React99.createElement("div", { className: "grid grid-cols-4 gap-x-16 border-b border-gray-200 px-4 py-5 text-sm text-gray-700 dark:border-gray-700" }, /* @__PURE__ */ React99.createElement("div", { className: " flex flex-row items-center gap-2 text-gray-500 dark:text-gray-400" }, feature.text, feature.description && /* @__PURE__ */ React99.createElement(Tooltip, { side: "right", content: feature.description }, /* @__PURE__ */ React99.createElement(
10346
10414
  "svg",
10347
10415
  {
10348
10416
  stroke: "currentColor",
@@ -10352,44 +10420,44 @@ var ComparingPlans = (props) => {
10352
10420
  height: "1em",
10353
10421
  width: "1em"
10354
10422
  },
10355
- /* @__PURE__ */ React98.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" })
10356
- ))), /* @__PURE__ */ React98.createElement(UncheckMark, null), /* @__PURE__ */ React98.createElement(CheckMark, null), /* @__PURE__ */ React98.createElement(UncheckMark, null));
10423
+ /* @__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" })
10424
+ ))), /* @__PURE__ */ React99.createElement(UncheckMark, null), /* @__PURE__ */ React99.createElement(CheckMark, null), /* @__PURE__ */ React99.createElement(UncheckMark, null));
10357
10425
  });
10358
10426
  })));
10359
10427
  };
10360
10428
 
10361
10429
  // src/blocks/Pricing/HorizontalPricing.tsx
10362
- import React99, { useState as useState47 } from "react";
10430
+ import React100, { useState as useState48 } from "react";
10363
10431
  import clsx33 from "clsx";
10364
10432
  var HorizontalPricing = (props) => {
10365
- const [selectedCard, setSelectedCard] = useState47(null);
10433
+ const [selectedCard, setSelectedCard] = useState48(null);
10366
10434
  let data = [
10367
10435
  { title: "basic", price: "$49", cycle: "/mo" },
10368
10436
  { title: "business", price: "$99", cycle: "/mo" },
10369
10437
  { title: "enterprise", price: "$149", cycle: "/mo" }
10370
10438
  ];
10371
- return /* @__PURE__ */ React99.createElement("div", { className: "z-10 w-full max-w-screen-sm" }, /* @__PURE__ */ React99.createElement("div", { className: "max-w-2xl " }, /* @__PURE__ */ React99.createElement("div", { className: "flex flex-row justify-between" }, /* @__PURE__ */ React99.createElement(
10439
+ return /* @__PURE__ */ React100.createElement("div", { className: "z-10 w-full max-w-screen-sm" }, /* @__PURE__ */ React100.createElement("div", { className: "max-w-2xl " }, /* @__PURE__ */ React100.createElement("div", { className: "flex flex-row justify-between" }, /* @__PURE__ */ React100.createElement(
10372
10440
  HawaRadio,
10373
10441
  {
10374
10442
  design: "tabs",
10375
10443
  options: props.currencies,
10376
10444
  defaultValue: props.currentCurrency
10377
10445
  }
10378
- ), /* @__PURE__ */ React99.createElement(
10446
+ ), /* @__PURE__ */ React100.createElement(
10379
10447
  HawaRadio,
10380
10448
  {
10381
10449
  design: "tabs",
10382
10450
  options: props.billingCycles,
10383
10451
  defaultValue: props.currentCycle
10384
10452
  }
10385
- )), data.map((d) => /* @__PURE__ */ React99.createElement(
10453
+ )), data.map((d) => /* @__PURE__ */ React100.createElement(
10386
10454
  "label",
10387
10455
  {
10388
10456
  htmlFor: d.title,
10389
10457
  className: "",
10390
10458
  onClick: () => setSelectedCard(d.title)
10391
10459
  },
10392
- /* @__PURE__ */ React99.createElement(
10460
+ /* @__PURE__ */ React100.createElement(
10393
10461
  "input",
10394
10462
  {
10395
10463
  type: "radio",
@@ -10398,7 +10466,7 @@ var HorizontalPricing = (props) => {
10398
10466
  className: "peer appearance-none"
10399
10467
  }
10400
10468
  ),
10401
- /* @__PURE__ */ React99.createElement(
10469
+ /* @__PURE__ */ React100.createElement(
10402
10470
  "div",
10403
10471
  {
10404
10472
  className: clsx33(
@@ -10406,18 +10474,18 @@ var HorizontalPricing = (props) => {
10406
10474
  "peer flex cursor-pointer items-center justify-between rounded-xl border bg-background px-5 py-4 shadow dark:text-white peer-checked:[&_.active]:block peer-checked:[&_.default]:hidden"
10407
10475
  )
10408
10476
  },
10409
- /* @__PURE__ */ React99.createElement("div", { className: "peer flex items-center gap-4" }, /* @__PURE__ */ React99.createElement(CheckIcons, null), /* @__PURE__ */ React99.createElement(
10477
+ /* @__PURE__ */ React100.createElement("div", { className: "peer flex items-center gap-4" }, /* @__PURE__ */ React100.createElement(CheckIcons, null), /* @__PURE__ */ React100.createElement(
10410
10478
  CardText,
10411
10479
  {
10412
10480
  title: "Enterprise",
10413
10481
  subtitle: "For startups and new businesses"
10414
10482
  }
10415
10483
  )),
10416
- /* @__PURE__ */ React99.createElement(CardPrice, { amount: d.price, cycle: d.cycle })
10484
+ /* @__PURE__ */ React100.createElement(CardPrice, { amount: d.price, cycle: d.cycle })
10417
10485
  )
10418
10486
  ))));
10419
10487
  };
10420
- var CheckIcons = () => /* @__PURE__ */ React99.createElement(React99.Fragment, null, /* @__PURE__ */ React99.createElement(
10488
+ var CheckIcons = () => /* @__PURE__ */ React100.createElement(React100.Fragment, null, /* @__PURE__ */ React100.createElement(
10421
10489
  "svg",
10422
10490
  {
10423
10491
  fill: "none",
@@ -10426,7 +10494,7 @@ var CheckIcons = () => /* @__PURE__ */ React99.createElement(React99.Fragment, n
10426
10494
  stroke: "currentColor",
10427
10495
  className: "default h-8 w-8 text-neutral-500"
10428
10496
  },
10429
- /* @__PURE__ */ React99.createElement(
10497
+ /* @__PURE__ */ React100.createElement(
10430
10498
  "path",
10431
10499
  {
10432
10500
  strokeLinecap: "round",
@@ -10434,14 +10502,14 @@ var CheckIcons = () => /* @__PURE__ */ React99.createElement(React99.Fragment, n
10434
10502
  d: "M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
10435
10503
  }
10436
10504
  )
10437
- ), /* @__PURE__ */ React99.createElement(
10505
+ ), /* @__PURE__ */ React100.createElement(
10438
10506
  "svg",
10439
10507
  {
10440
10508
  viewBox: "0 0 24 24",
10441
10509
  fill: "currentColor",
10442
10510
  className: "active hidden h-8 w-8 text-blue-500"
10443
10511
  },
10444
- /* @__PURE__ */ React99.createElement(
10512
+ /* @__PURE__ */ React100.createElement(
10445
10513
  "path",
10446
10514
  {
10447
10515
  fillRule: "evenodd",
@@ -10450,21 +10518,21 @@ var CheckIcons = () => /* @__PURE__ */ React99.createElement(React99.Fragment, n
10450
10518
  }
10451
10519
  )
10452
10520
  ));
10453
- var CardText = (props) => /* @__PURE__ */ React99.createElement("div", { className: "peer flex flex-col items-start " }, /* @__PURE__ */ React99.createElement("h2", { className: "font-medium text-neutral-700 dark:text-gray-100 sm:text-xl" }, props.title), /* @__PURE__ */ React99.createElement("p", { className: "text-sm text-neutral-500 dark:text-gray-300" }, props.subtitle, " "));
10454
- var CardPrice = (props) => /* @__PURE__ */ React99.createElement("h2", { className: "peer text-xl font-semibold text-neutral-900 dark:text-white sm:text-2xl" }, props.amount, /* @__PURE__ */ React99.createElement("span", { className: "text-base font-medium text-neutral-400" }, props.cycle));
10521
+ var CardText = (props) => /* @__PURE__ */ React100.createElement("div", { className: "peer flex flex-col items-start " }, /* @__PURE__ */ React100.createElement("h2", { className: "font-medium text-neutral-700 dark:text-gray-100 sm:text-xl" }, props.title), /* @__PURE__ */ React100.createElement("p", { className: "text-sm text-neutral-500 dark:text-gray-300" }, props.subtitle, " "));
10522
+ var CardPrice = (props) => /* @__PURE__ */ React100.createElement("h2", { className: "peer text-xl font-semibold text-neutral-900 dark:text-white sm:text-2xl" }, props.amount, /* @__PURE__ */ React100.createElement("span", { className: "text-base font-medium text-neutral-400" }, props.cycle));
10455
10523
 
10456
10524
  // src/blocks/Referral/ReferralAccount.tsx
10457
- import React100 from "react";
10525
+ import React101 from "react";
10458
10526
  var ReferralAccount = ({
10459
10527
  referralLink,
10460
10528
  referralCode
10461
10529
  }) => {
10462
- return /* @__PURE__ */ React100.createElement(Card, null, /* @__PURE__ */ React100.createElement(CardContent, { headless: true }, /* @__PURE__ */ React100.createElement("div", { className: "my-2 mt-0" }, /* @__PURE__ */ React100.createElement("div", { className: "mb-1" }, "Referral Code"), /* @__PURE__ */ React100.createElement("div", { className: "flex flex-row items-center justify-between rounded border bg-background" }, /* @__PURE__ */ React100.createElement("span", { className: "ml-3 font-bold" }, referralCode), /* @__PURE__ */ React100.createElement(
10530
+ return /* @__PURE__ */ React101.createElement(Card, null, /* @__PURE__ */ React101.createElement(CardContent, { headless: true }, /* @__PURE__ */ React101.createElement("div", { className: "my-2 mt-0" }, /* @__PURE__ */ React101.createElement("div", { className: "mb-1" }, "Referral Code"), /* @__PURE__ */ React101.createElement("div", { className: "flex flex-row items-center justify-between rounded border bg-background" }, /* @__PURE__ */ React101.createElement("span", { className: "ml-3 font-bold" }, referralCode), /* @__PURE__ */ React101.createElement(
10463
10531
  Button,
10464
10532
  {
10465
10533
  onClick: () => navigator.clipboard.writeText(referralCode)
10466
10534
  },
10467
- /* @__PURE__ */ React100.createElement("span", { className: "bg-red flex items-center justify-center" }, /* @__PURE__ */ React100.createElement(
10535
+ /* @__PURE__ */ React101.createElement("span", { className: "bg-red flex items-center justify-center" }, /* @__PURE__ */ React101.createElement(
10468
10536
  "svg",
10469
10537
  {
10470
10538
  stroke: "currentColor",
@@ -10474,14 +10542,14 @@ var ReferralAccount = ({
10474
10542
  height: "1em",
10475
10543
  width: "1em"
10476
10544
  },
10477
- /* @__PURE__ */ React100.createElement("path", { d: "M464 0c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48H176c-26.51 0-48-21.49-48-48V48c0-26.51 21.49-48 48-48h288M176 416c-44.112 0-80-35.888-80-80V128H48c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48v-48H176z" })
10545
+ /* @__PURE__ */ React101.createElement("path", { d: "M464 0c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48H176c-26.51 0-48-21.49-48-48V48c0-26.51 21.49-48 48-48h288M176 416c-44.112 0-80-35.888-80-80V128H48c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48v-48H176z" })
10478
10546
  ), " ")
10479
- ))), /* @__PURE__ */ React100.createElement("div", { className: "my-2 mt-0" }, /* @__PURE__ */ React100.createElement("div", { className: "mb-1" }, "Referral Link"), /* @__PURE__ */ React100.createElement("div", { className: "flex flex-row items-center justify-between rounded border bg-background" }, /* @__PURE__ */ React100.createElement("span", { className: "ml-3 font-bold" }, referralLink), /* @__PURE__ */ React100.createElement(
10547
+ ))), /* @__PURE__ */ React101.createElement("div", { className: "my-2 mt-0" }, /* @__PURE__ */ React101.createElement("div", { className: "mb-1" }, "Referral Link"), /* @__PURE__ */ React101.createElement("div", { className: "flex flex-row items-center justify-between rounded border bg-background" }, /* @__PURE__ */ React101.createElement("span", { className: "ml-3 font-bold" }, referralLink), /* @__PURE__ */ React101.createElement(
10480
10548
  Button,
10481
10549
  {
10482
10550
  onClick: () => navigator.clipboard.writeText(referralLink)
10483
10551
  },
10484
- /* @__PURE__ */ React100.createElement("span", { className: "bg-red flex items-center justify-center" }, /* @__PURE__ */ React100.createElement(
10552
+ /* @__PURE__ */ React101.createElement("span", { className: "bg-red flex items-center justify-center" }, /* @__PURE__ */ React101.createElement(
10485
10553
  "svg",
10486
10554
  {
10487
10555
  stroke: "currentColor",
@@ -10491,13 +10559,13 @@ var ReferralAccount = ({
10491
10559
  height: "1em",
10492
10560
  width: "1em"
10493
10561
  },
10494
- /* @__PURE__ */ React100.createElement("path", { d: "M464 0c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48H176c-26.51 0-48-21.49-48-48V48c0-26.51 21.49-48 48-48h288M176 416c-44.112 0-80-35.888-80-80V128H48c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48v-48H176z" })
10562
+ /* @__PURE__ */ React101.createElement("path", { d: "M464 0c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48H176c-26.51 0-48-21.49-48-48V48c0-26.51 21.49-48 48-48h288M176 416c-44.112 0-80-35.888-80-80V128H48c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48v-48H176z" })
10495
10563
  ), " ")
10496
10564
  )))));
10497
10565
  };
10498
10566
 
10499
10567
  // src/blocks/Referral/ReferralSettlement.tsx
10500
- import React101 from "react";
10568
+ import React102 from "react";
10501
10569
  import { Controller as Controller9, FormProvider as FormProvider5, useForm as useForm9 } from "react-hook-form";
10502
10570
  var ReferralSettlement = ({
10503
10571
  referralLink,
@@ -10510,12 +10578,12 @@ var ReferralSettlement = ({
10510
10578
  handleSubmit,
10511
10579
  control
10512
10580
  } = methods;
10513
- return /* @__PURE__ */ React101.createElement(Card, null, /* @__PURE__ */ React101.createElement(CardContent, { headless: true }, /* @__PURE__ */ React101.createElement("div", null, /* @__PURE__ */ React101.createElement(FormProvider5, { ...methods }, /* @__PURE__ */ React101.createElement(HawaTextField, { label: "IBAN" }), /* @__PURE__ */ React101.createElement(HawaTextField, { label: "Holder Name" }), /* @__PURE__ */ React101.createElement(
10581
+ return /* @__PURE__ */ React102.createElement(Card, null, /* @__PURE__ */ React102.createElement(CardContent, { headless: true }, /* @__PURE__ */ React102.createElement("div", null, /* @__PURE__ */ React102.createElement(FormProvider5, { ...methods }, /* @__PURE__ */ React102.createElement(HawaTextField, { label: "IBAN" }), /* @__PURE__ */ React102.createElement(HawaTextField, { label: "Holder Name" }), /* @__PURE__ */ React102.createElement(
10514
10582
  Controller9,
10515
10583
  {
10516
10584
  control,
10517
10585
  name: "bank",
10518
- render: ({ field }) => /* @__PURE__ */ React101.createElement(
10586
+ render: ({ field }) => /* @__PURE__ */ React102.createElement(
10519
10587
  HawaSelect,
10520
10588
  {
10521
10589
  label: "Bank",
@@ -10534,13 +10602,13 @@ var ReferralSettlement = ({
10534
10602
  }
10535
10603
  )
10536
10604
  }
10537
- ))), /* @__PURE__ */ React101.createElement("div", null, /* @__PURE__ */ React101.createElement(Button, { className: "mt-6 w-full" }, "Add Bank Account")), withdrawError && /* @__PURE__ */ React101.createElement("div", null, /* @__PURE__ */ React101.createElement(
10605
+ ))), /* @__PURE__ */ React102.createElement("div", null, /* @__PURE__ */ React102.createElement(Button, { className: "mt-6 w-full" }, "Add Bank Account")), withdrawError && /* @__PURE__ */ React102.createElement("div", null, /* @__PURE__ */ React102.createElement(
10538
10606
  HawaAlert,
10539
10607
  {
10540
10608
  text: "Sorry can't withdraw the money at the moment. Please try again in 2022/11/20",
10541
10609
  severity: "warning"
10542
10610
  }
10543
- )), /* @__PURE__ */ React101.createElement("div", { className: "mt-3" }, /* @__PURE__ */ React101.createElement("div", { className: "mb-1" }, "Settlement Accounts"), /* @__PURE__ */ React101.createElement("div", { className: "rounded" }, /* @__PURE__ */ React101.createElement(
10611
+ )), /* @__PURE__ */ React102.createElement("div", { className: "mt-3" }, /* @__PURE__ */ React102.createElement("div", { className: "mb-1" }, "Settlement Accounts"), /* @__PURE__ */ React102.createElement("div", { className: "rounded" }, /* @__PURE__ */ React102.createElement(
10544
10612
  SettlementAccountCard,
10545
10613
  {
10546
10614
  bank: "Al Inma Bank",
@@ -10548,14 +10616,14 @@ var ReferralSettlement = ({
10548
10616
  accountHolder: "Zakher Masri",
10549
10617
  default: true
10550
10618
  }
10551
- ), /* @__PURE__ */ React101.createElement(
10619
+ ), /* @__PURE__ */ React102.createElement(
10552
10620
  SettlementAccountCard,
10553
10621
  {
10554
10622
  bank: "Al Rajihi Bank",
10555
10623
  iban: "SA10228094028098329119",
10556
10624
  accountHolder: "Zakher Masri"
10557
10625
  }
10558
- ), /* @__PURE__ */ React101.createElement(
10626
+ ), /* @__PURE__ */ React102.createElement(
10559
10627
  SettlementAccountCard,
10560
10628
  {
10561
10629
  bank: "Al Inma Bank",
@@ -10565,13 +10633,13 @@ var ReferralSettlement = ({
10565
10633
  )))));
10566
10634
  };
10567
10635
  var SettlementAccountCard = (props) => {
10568
- return /* @__PURE__ */ React101.createElement("div", { className: "mb-3 flex flex-row items-center justify-between rounded border bg-background p-3" }, /* @__PURE__ */ React101.createElement("div", { className: "flex flex-col justify-between" }, /* @__PURE__ */ React101.createElement("div", { className: "text-xs" }, props.bank), /* @__PURE__ */ React101.createElement("div", null, props.accountHolder), /* @__PURE__ */ React101.createElement("div", { className: "text-xs" }, props.iban)), /* @__PURE__ */ React101.createElement("div", { className: "flex flex-row items-center justify-center gap-2" }, props.default && /* @__PURE__ */ React101.createElement(
10636
+ return /* @__PURE__ */ React102.createElement("div", { className: "mb-3 flex flex-row items-center justify-between rounded border bg-background p-3" }, /* @__PURE__ */ React102.createElement("div", { className: "flex flex-col justify-between" }, /* @__PURE__ */ React102.createElement("div", { className: "text-xs" }, props.bank), /* @__PURE__ */ React102.createElement("div", null, props.accountHolder), /* @__PURE__ */ React102.createElement("div", { className: "text-xs" }, props.iban)), /* @__PURE__ */ React102.createElement("div", { className: "flex flex-row items-center justify-center gap-2" }, props.default && /* @__PURE__ */ React102.createElement(
10569
10637
  HawaChip,
10570
10638
  {
10571
10639
  label: "Default",
10572
10640
  size: "small"
10573
10641
  }
10574
- ), /* @__PURE__ */ React101.createElement(
10642
+ ), /* @__PURE__ */ React102.createElement(
10575
10643
  HawaMenu,
10576
10644
  {
10577
10645
  size: "small",
@@ -10583,7 +10651,7 @@ var SettlementAccountCard = (props) => {
10583
10651
  ]
10584
10652
  ]
10585
10653
  },
10586
- /* @__PURE__ */ React101.createElement(Button, { variant: "outline", size: "icon" }, /* @__PURE__ */ React101.createElement(
10654
+ /* @__PURE__ */ React102.createElement(Button, { variant: "outline", size: "icon" }, /* @__PURE__ */ React102.createElement(
10587
10655
  "svg",
10588
10656
  {
10589
10657
  "aria-label": "Vertical Three Dots Menu Icon",
@@ -10595,53 +10663,53 @@ var SettlementAccountCard = (props) => {
10595
10663
  height: "1em",
10596
10664
  width: "1em"
10597
10665
  },
10598
- /* @__PURE__ */ React101.createElement("path", { d: "M3 9.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z" })
10666
+ /* @__PURE__ */ React102.createElement("path", { d: "M3 9.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z" })
10599
10667
  ))
10600
10668
  )));
10601
10669
  };
10602
10670
 
10603
10671
  // src/blocks/Referral/ReferralStats.tsx
10604
- import React102 from "react";
10672
+ import React103 from "react";
10605
10673
  var ReferralStats = ({
10606
10674
  referralLink,
10607
10675
  referralCode,
10608
10676
  withdrawError
10609
10677
  }) => {
10610
- return /* @__PURE__ */ React102.createElement(Card, null, /* @__PURE__ */ React102.createElement(CardContent, { headless: true }, /* @__PURE__ */ React102.createElement("div", { className: "mb-1" }, "Stats"), /* @__PURE__ */ React102.createElement("div", { className: "justi flex flex-row gap-1" }, /* @__PURE__ */ React102.createElement(NumberCard, { title: "Clicks", number: 22 }), /* @__PURE__ */ React102.createElement(NumberCard, { title: "Sign-ups", number: 32 }), /* @__PURE__ */ React102.createElement(NumberCard, { title: "Commission", number: "213.22 SAR" })), /* @__PURE__ */ React102.createElement(Button, { className: "mt-6 w-full" }, "Withdraw Money"), withdrawError && /* @__PURE__ */ React102.createElement("div", null, /* @__PURE__ */ React102.createElement(
10678
+ return /* @__PURE__ */ React103.createElement(Card, null, /* @__PURE__ */ React103.createElement(CardContent, { headless: true }, /* @__PURE__ */ React103.createElement("div", { className: "mb-1" }, "Stats"), /* @__PURE__ */ React103.createElement("div", { className: "justi flex flex-row gap-1" }, /* @__PURE__ */ React103.createElement(NumberCard, { title: "Clicks", number: 22 }), /* @__PURE__ */ React103.createElement(NumberCard, { title: "Sign-ups", number: 32 }), /* @__PURE__ */ React103.createElement(NumberCard, { title: "Commission", number: "213.22 SAR" })), /* @__PURE__ */ React103.createElement(Button, { className: "mt-6 w-full" }, "Withdraw Money"), withdrawError && /* @__PURE__ */ React103.createElement("div", null, /* @__PURE__ */ React103.createElement(
10611
10679
  HawaAlert,
10612
10680
  {
10613
10681
  text: "Sorry can't withdraw the money at the moment. Please try again in 2022/11/20",
10614
10682
  severity: "warning"
10615
10683
  }
10616
- )), /* @__PURE__ */ React102.createElement("div", { className: "mt-3" }, /* @__PURE__ */ React102.createElement("div", { className: "mb-1" }, "Sign ups"), /* @__PURE__ */ React102.createElement("div", { className: "rounded" }, /* @__PURE__ */ React102.createElement(
10684
+ )), /* @__PURE__ */ React103.createElement("div", { className: "mt-3" }, /* @__PURE__ */ React103.createElement("div", { className: "mb-1" }, "Sign ups"), /* @__PURE__ */ React103.createElement("div", { className: "rounded" }, /* @__PURE__ */ React103.createElement(
10617
10685
  ReferralSignUpCard,
10618
10686
  {
10619
10687
  date: "2020/10/11 @ 9:45 pm",
10620
10688
  email: "zakher@sikka.io",
10621
10689
  amount: "3.4 SAR / Month"
10622
10690
  }
10623
- ), /* @__PURE__ */ React102.createElement(
10691
+ ), /* @__PURE__ */ React103.createElement(
10624
10692
  ReferralSignUpCard,
10625
10693
  {
10626
10694
  date: "2022/10/11 @ 9:45 pm",
10627
10695
  email: "zakher@sikka.io",
10628
10696
  amount: "3.4 SAR / Month"
10629
10697
  }
10630
- ), /* @__PURE__ */ React102.createElement(
10698
+ ), /* @__PURE__ */ React103.createElement(
10631
10699
  ReferralSignUpCard,
10632
10700
  {
10633
10701
  date: "2022/10/11 @ 9:45 pm",
10634
10702
  email: "zakher@sikka.io",
10635
10703
  amount: "3.4 SAR / Month"
10636
10704
  }
10637
- ), /* @__PURE__ */ React102.createElement(
10705
+ ), /* @__PURE__ */ React103.createElement(
10638
10706
  ReferralSignUpCard,
10639
10707
  {
10640
10708
  date: "2022/10/11 @ 9:45 pm",
10641
10709
  email: "zakher@sikka.io",
10642
10710
  amount: "3.4 SAR / Month"
10643
10711
  }
10644
- ), /* @__PURE__ */ React102.createElement(
10712
+ ), /* @__PURE__ */ React103.createElement(
10645
10713
  ReferralSignUpCard,
10646
10714
  {
10647
10715
  date: "2022/10/11 @ 9:45 pm",
@@ -10650,26 +10718,26 @@ var ReferralStats = ({
10650
10718
  }
10651
10719
  )))));
10652
10720
  };
10653
- var NumberCard = (props) => /* @__PURE__ */ React102.createElement("div", { className: "w-full rounded border bg-background p-2" }, /* @__PURE__ */ React102.createElement("div", { className: "text-sm" }, props.title), /* @__PURE__ */ React102.createElement("div", { className: "font-bold" }, props.number));
10654
- var ReferralSignUpCard = (props) => /* @__PURE__ */ React102.createElement("div", { className: "mb-3 rounded border-b bg-background p-2" }, /* @__PURE__ */ React102.createElement("div", { className: "text-xs" }, props.date), /* @__PURE__ */ React102.createElement("div", { className: "flex flex-row justify-between" }, /* @__PURE__ */ React102.createElement("div", null, props.email), /* @__PURE__ */ React102.createElement("div", null, props.amount)));
10721
+ var NumberCard = (props) => /* @__PURE__ */ React103.createElement("div", { className: "w-full rounded border bg-background p-2" }, /* @__PURE__ */ React103.createElement("div", { className: "text-sm" }, props.title), /* @__PURE__ */ React103.createElement("div", { className: "font-bold" }, props.number));
10722
+ var ReferralSignUpCard = (props) => /* @__PURE__ */ React103.createElement("div", { className: "mb-3 rounded border-b bg-background p-2" }, /* @__PURE__ */ React103.createElement("div", { className: "text-xs" }, props.date), /* @__PURE__ */ React103.createElement("div", { className: "flex flex-row justify-between" }, /* @__PURE__ */ React103.createElement("div", null, props.email), /* @__PURE__ */ React103.createElement("div", null, props.amount)));
10655
10723
 
10656
10724
  // src/blocks/Misc/NotFound.tsx
10657
- import React103 from "react";
10725
+ import React104 from "react";
10658
10726
  var NotFound = ({
10659
10727
  variant = "contained",
10660
10728
  texts
10661
10729
  }) => {
10662
- return /* @__PURE__ */ React103.createElement(Card, null, /* @__PURE__ */ React103.createElement(CardContent, { headless: true }, /* @__PURE__ */ React103.createElement("div", { className: "flex flex-col items-center dark:text-white" }, /* @__PURE__ */ React103.createElement("div", { className: "text-center text-6xl font-bold " }, "404"), /* @__PURE__ */ React103.createElement("div", { className: "m-2 text-center text-xl font-bold " }, texts?.pageNotFound ?? "Page Not Found"), /* @__PURE__ */ React103.createElement("div", { className: "mb-4 text-center" }, texts?.ifLost ?? /* @__PURE__ */ React103.createElement(React103.Fragment, null, "If you're lost please contact us", " ", /* @__PURE__ */ React103.createElement("span", { className: "clickable-link" }, "help@sikka.io"))), /* @__PURE__ */ React103.createElement(Button, { className: "w-full" }, texts?.home ?? "Home"))));
10730
+ return /* @__PURE__ */ React104.createElement(Card, null, /* @__PURE__ */ React104.createElement(CardContent, { headless: true }, /* @__PURE__ */ React104.createElement("div", { className: "flex flex-col items-center dark:text-white" }, /* @__PURE__ */ React104.createElement("div", { className: "text-center text-6xl font-bold " }, "404"), /* @__PURE__ */ React104.createElement("div", { className: "m-2 text-center text-xl font-bold " }, texts?.pageNotFound ?? "Page Not Found"), /* @__PURE__ */ React104.createElement("div", { className: "mb-4 text-center" }, texts?.ifLost ?? /* @__PURE__ */ React104.createElement(React104.Fragment, null, "If you're lost please contact us", " ", /* @__PURE__ */ React104.createElement("span", { className: "clickable-link" }, "help@sikka.io"))), /* @__PURE__ */ React104.createElement(Button, { className: "w-full" }, texts?.home ?? "Home"))));
10663
10731
  };
10664
10732
 
10665
10733
  // src/blocks/Misc/EmptyState.tsx
10666
- import React104 from "react";
10734
+ import React105 from "react";
10667
10735
  var EmptyState = ({
10668
10736
  variant = "contained",
10669
10737
  texts,
10670
10738
  onActionClick
10671
10739
  }) => {
10672
- return /* @__PURE__ */ React104.createElement(Card, null, /* @__PURE__ */ React104.createElement(CardContent, { headless: true }, /* @__PURE__ */ React104.createElement("div", { className: "flex flex-col items-center justify-center text-center " }, /* @__PURE__ */ React104.createElement("div", { className: "flex h-10 w-10 flex-col items-center justify-center rounded-3xl bg-primary text-6xl font-bold text-primary-foreground" }, /* @__PURE__ */ React104.createElement(
10740
+ return /* @__PURE__ */ React105.createElement(Card, null, /* @__PURE__ */ React105.createElement(CardContent, { headless: true }, /* @__PURE__ */ React105.createElement("div", { className: "flex flex-col items-center justify-center text-center " }, /* @__PURE__ */ React105.createElement("div", { className: "flex h-10 w-10 flex-col items-center justify-center rounded-3xl bg-primary text-6xl font-bold text-primary-foreground" }, /* @__PURE__ */ React105.createElement(
10673
10741
  "svg",
10674
10742
  {
10675
10743
  stroke: "currentColor",
@@ -10679,36 +10747,36 @@ var EmptyState = ({
10679
10747
  height: "0.35em",
10680
10748
  width: "0.35em"
10681
10749
  },
10682
- /* @__PURE__ */ React104.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" })
10683
- )), /* @__PURE__ */ React104.createElement("div", { className: "m-2 text-xl font-bold" }, texts?.youreCaughtUp ?? "You're all caught up"))), /* @__PURE__ */ React104.createElement(CardFooter, null, /* @__PURE__ */ React104.createElement(Button, { className: "w-full", onClick: () => onActionClick() }, texts?.actionText ?? "Go Home")));
10750
+ /* @__PURE__ */ React105.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" })
10751
+ )), /* @__PURE__ */ React105.createElement("div", { className: "m-2 text-xl font-bold" }, texts?.youreCaughtUp ?? "You're all caught up"))), /* @__PURE__ */ React105.createElement(CardFooter, null, /* @__PURE__ */ React105.createElement(Button, { className: "w-full", onClick: () => onActionClick() }, texts?.actionText ?? "Go Home")));
10684
10752
  };
10685
10753
 
10686
10754
  // src/blocks/Misc/Testimonial.tsx
10687
- import React105 from "react";
10755
+ import React106 from "react";
10688
10756
  var Testimonial = (props) => {
10689
- return /* @__PURE__ */ React105.createElement(Card, null, /* @__PURE__ */ React105.createElement(CardContent, { headless: true }, /* @__PURE__ */ React105.createElement("div", null, /* @__PURE__ */ React105.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__ */ React105.createElement("div", { className: "flex flex-row gap-4" }, /* @__PURE__ */ React105.createElement("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none" }, /* @__PURE__ */ React105.createElement("rect", { width: "48", height: "48", rx: "24", fill: "#45BE8B" }), /* @__PURE__ */ React105.createElement(
10757
+ return /* @__PURE__ */ React106.createElement(Card, null, /* @__PURE__ */ React106.createElement(CardContent, { headless: true }, /* @__PURE__ */ React106.createElement("div", null, /* @__PURE__ */ React106.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__ */ React106.createElement("div", { className: "flex flex-row gap-4" }, /* @__PURE__ */ React106.createElement("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none" }, /* @__PURE__ */ React106.createElement("rect", { width: "48", height: "48", rx: "24", fill: "#45BE8B" }), /* @__PURE__ */ React106.createElement(
10690
10758
  "path",
10691
10759
  {
10692
10760
  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",
10693
10761
  fill: "#FFFFFF"
10694
10762
  }
10695
- ), /* @__PURE__ */ React105.createElement(
10763
+ ), /* @__PURE__ */ React106.createElement(
10696
10764
  "path",
10697
10765
  {
10698
10766
  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",
10699
10767
  fill: "#FFFFFF"
10700
10768
  }
10701
- )), /* @__PURE__ */ React105.createElement("span", { className: "border border-l " }), " ", /* @__PURE__ */ React105.createElement("div", null, /* @__PURE__ */ React105.createElement("strong", null, "Brent Lassi"), /* @__PURE__ */ React105.createElement("div", null, " Chief Information Security Officer")))));
10769
+ )), /* @__PURE__ */ React106.createElement("span", { className: "border border-l " }), " ", /* @__PURE__ */ React106.createElement("div", null, /* @__PURE__ */ React106.createElement("strong", null, "Brent Lassi"), /* @__PURE__ */ React106.createElement("div", null, " Chief Information Security Officer")))));
10702
10770
  };
10703
10771
 
10704
10772
  // src/blocks/Misc/LeadGenerator.tsx
10705
- import React106 from "react";
10773
+ import React107 from "react";
10706
10774
  var LeadGenerator = ({
10707
10775
  variant = "contained",
10708
10776
  texts,
10709
10777
  handleNewsletterSub
10710
10778
  }) => {
10711
- return /* @__PURE__ */ React106.createElement(Card, null, /* @__PURE__ */ React106.createElement(CardHeader, null, /* @__PURE__ */ React106.createElement(CardTitle, null, texts?.title), /* @__PURE__ */ React106.createElement(CardDescription, null, texts?.subtitle)), /* @__PURE__ */ React106.createElement(CardContent, null, /* @__PURE__ */ React106.createElement(
10779
+ return /* @__PURE__ */ React107.createElement(Card, null, /* @__PURE__ */ React107.createElement(CardHeader, null, /* @__PURE__ */ React107.createElement(CardTitle, null, texts?.title), /* @__PURE__ */ React107.createElement(CardDescription, null, texts?.subtitle)), /* @__PURE__ */ React107.createElement(CardContent, null, /* @__PURE__ */ React107.createElement(
10712
10780
  "form",
10713
10781
  {
10714
10782
  className: "flex flex-row gap-2",
@@ -10717,36 +10785,36 @@ var LeadGenerator = ({
10717
10785
  handleNewsletterSub(e.target[0].value);
10718
10786
  }
10719
10787
  },
10720
- /* @__PURE__ */ React106.createElement(Input, { type: "email", name: "email", placeholder: "example@sikka.io" }),
10721
- /* @__PURE__ */ React106.createElement(Button, null, texts?.submit ?? "Submit")
10788
+ /* @__PURE__ */ React107.createElement(Input, { type: "email", name: "email", placeholder: "example@sikka.io" }),
10789
+ /* @__PURE__ */ React107.createElement(Button, null, texts?.submit ?? "Submit")
10722
10790
  )));
10723
10791
  };
10724
10792
 
10725
10793
  // src/blocks/Misc/Announcement.tsx
10726
- import React107 from "react";
10794
+ import React108 from "react";
10727
10795
  var Announcement = ({
10728
10796
  variant = "contained",
10729
10797
  onActionClick,
10730
10798
  ...props
10731
10799
  }) => {
10732
- return /* @__PURE__ */ React107.createElement(Card, null, /* @__PURE__ */ React107.createElement(
10800
+ return /* @__PURE__ */ React108.createElement(Card, null, /* @__PURE__ */ React108.createElement(
10733
10801
  CardContent,
10734
10802
  {
10735
10803
  headless: true,
10736
10804
  className: "flex flex-row items-center justify-between"
10737
10805
  },
10738
- /* @__PURE__ */ React107.createElement("div", { className: "flex flex-col items-start justify-center " }, /* @__PURE__ */ React107.createElement("span", { className: "text-lg font-bold" }, props.title), /* @__PURE__ */ React107.createElement("span", { className: "text-sm" }, props.subtitle)),
10739
- /* @__PURE__ */ React107.createElement(Button, { onClick: () => onActionClick() }, props.actionText)
10806
+ /* @__PURE__ */ React108.createElement("div", { className: "flex flex-col items-start justify-center " }, /* @__PURE__ */ React108.createElement("span", { className: "text-lg font-bold" }, props.title), /* @__PURE__ */ React108.createElement("span", { className: "text-sm" }, props.subtitle)),
10807
+ /* @__PURE__ */ React108.createElement(Button, { onClick: () => onActionClick() }, props.actionText)
10740
10808
  ));
10741
10809
  };
10742
10810
 
10743
10811
  // src/blocks/Misc/NoPermission.tsx
10744
- import React108 from "react";
10812
+ import React109 from "react";
10745
10813
  var NoPermission = ({
10746
10814
  variant = "contained",
10747
10815
  texts
10748
10816
  }) => {
10749
- return /* @__PURE__ */ React108.createElement(Card, null, /* @__PURE__ */ React108.createElement(CardContent, { headless: true }, /* @__PURE__ */ React108.createElement("div", { className: "flex flex-col items-center justify-center text-center" }, /* @__PURE__ */ React108.createElement("div", { className: "flex h-10 w-10 flex-col items-center justify-center rounded-3xl bg-primary text-6xl font-bold text-primary-foreground" }, /* @__PURE__ */ React108.createElement(
10817
+ return /* @__PURE__ */ React109.createElement(Card, null, /* @__PURE__ */ React109.createElement(CardContent, { headless: true }, /* @__PURE__ */ React109.createElement("div", { className: "flex flex-col items-center justify-center text-center" }, /* @__PURE__ */ React109.createElement("div", { className: "flex h-10 w-10 flex-col items-center justify-center rounded-3xl bg-primary text-6xl font-bold text-primary-foreground" }, /* @__PURE__ */ React109.createElement(
10750
10818
  "svg",
10751
10819
  {
10752
10820
  stroke: "currentColor",
@@ -10756,13 +10824,14 @@ var NoPermission = ({
10756
10824
  height: "0.35em",
10757
10825
  width: "0.35em"
10758
10826
  },
10759
- /* @__PURE__ */ React108.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" })
10760
- ), " "), /* @__PURE__ */ React108.createElement("div", { className: "m-2 text-xl font-bold" }, texts?.title ?? "You don't have permission"), /* @__PURE__ */ React108.createElement("div", null, texts?.subtitle ?? "If you think this is a problem please contact your administrator or our customer support"))));
10827
+ /* @__PURE__ */ React109.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" })
10828
+ ), " "), /* @__PURE__ */ React109.createElement("div", { className: "m-2 text-xl font-bold" }, texts?.title ?? "You don't have permission"), /* @__PURE__ */ React109.createElement("div", null, texts?.subtitle ?? "If you think this is a problem please contact your administrator or our customer support"))));
10761
10829
  };
10762
10830
 
10763
10831
  // src/hooks/useHover.ts
10764
- import { useEffect as useEffect26, useRef as useRef18, useState as useState48 } from "react";
10832
+ import { useEffect as useEffect26, useRef as useRef18, useState as useState49 } from "react";
10765
10833
  export {
10834
+ ActionCard,
10766
10835
  Announcement,
10767
10836
  AppLanding,
10768
10837
  AppLayout,