myshell-react-lib 0.1.44 → 0.1.45

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.js CHANGED
@@ -10732,10 +10732,30 @@ var ScrollBar = React30.forwardRef(function(_param, ref) {
10732
10732
  });
10733
10733
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
10734
10734
  // src/components/top-navigation-bar.tsx
10735
- import { ArrowLeftIcon } from "@heroicons/react/24/outline";
10736
10735
  import { useEffect as useEffect10, useRef as useRef6, useState as useState8 } from "react";
10737
10736
  import { useMedia as useMedia5 } from "react-use";
10738
- import { jsx as jsx43, jsxs as jsxs24 } from "react/jsx-runtime";
10737
+ // src/components/icons/outline/ArrowLeftIcon.tsx
10738
+ import * as React31 from "react";
10739
+ import { jsx as jsx43 } from "react/jsx-runtime";
10740
+ var ArrowLeftIcon = React31.forwardRef(function(props, ref) {
10741
+ return /* @__PURE__ */ jsx43(Icon, _object_spread_props(_object_spread({}, props), {
10742
+ children: /* @__PURE__ */ jsx43("svg", {
10743
+ width: "22",
10744
+ height: "22",
10745
+ viewBox: "0 0 22 22",
10746
+ fill: "none",
10747
+ xmlns: "http://www.w3.org/2000/svg",
10748
+ children: /* @__PURE__ */ jsx43("path", {
10749
+ "fill-rule": "evenodd",
10750
+ "clip-rule": "evenodd",
10751
+ d: "M11.4879 4.09541C11.7573 4.36487 11.7573 4.80175 11.4879 5.07121L6.24912 10.31H17.4166C17.7977 10.31 18.1066 10.6189 18.1066 11C18.1066 11.3811 17.7977 11.69 17.4166 11.69H6.24912L11.4879 16.9287C11.7573 17.1982 11.7573 17.6351 11.4879 17.9045C11.2184 18.174 10.7815 18.174 10.5121 17.9045L4.09541 11.4879C3.82595 11.2184 3.82595 10.7815 4.09541 10.5121L10.5121 4.09541C10.7815 3.82595 11.2184 3.82595 11.4879 4.09541Z",
10752
+ fill: "currentColor"
10753
+ })
10754
+ })
10755
+ }));
10756
+ });
10757
+ // src/components/top-navigation-bar.tsx
10758
+ import { jsx as jsx44, jsxs as jsxs24 } from "react/jsx-runtime";
10739
10759
  function TopNavigationBar(param) {
10740
10760
  var searchElement = param.searchElement, title = param.title, border = param.border, backUrl = param.backUrl, children = param.children, _param_hasBackground = param.hasBackground, hasBackground = _param_hasBackground === void 0 ? false : _param_hasBackground, avatar = param.avatar, onBack = param.onBack, _param_pageType = param.pageType, pageType = _param_pageType === void 0 ? 2 : _param_pageType, className = param.className;
10741
10761
  var isMobile2 = useMedia5("(max-width: 768px)");
@@ -10767,61 +10787,69 @@ function TopNavigationBar(param) {
10767
10787
  className: cn("relative w-full flex justify-between items-center h-13 md:h-15", searchElement && "pt-5 pb-1.5 md:pt-2 md:pb-2"),
10768
10788
  children: [
10769
10789
  /* @__PURE__ */ jsxs24("div", {
10770
- className: "flex-1 flex items-center justify-start",
10790
+ className: "flex items-center justify-start",
10771
10791
  children: [
10772
10792
  (backUrl || onBack) && /* @__PURE__ */ jsxs24("div", {
10773
10793
  className: "flex justify-start items-center",
10774
10794
  children: [
10775
- backUrl ? /* @__PURE__ */ jsx43(Link, {
10795
+ backUrl ? /* @__PURE__ */ jsx44(Link, {
10776
10796
  href: backUrl,
10777
10797
  className: "flex justify-center items-center",
10778
- children: /* @__PURE__ */ jsx43(IconButton, {
10798
+ children: /* @__PURE__ */ jsx44(IconButton, {
10779
10799
  variant: !hasBackground ? "primary" : "plain",
10780
10800
  color: !hasBackground ? "gray" : "brand",
10781
10801
  size: "md",
10782
10802
  icon: ArrowLeftIcon
10783
10803
  })
10784
- }) : /* @__PURE__ */ jsx43(IconButton, {
10804
+ }) : /* @__PURE__ */ jsx44(IconButton, {
10785
10805
  variant: !hasBackground ? "primary" : "plain",
10786
10806
  color: !hasBackground ? "gray" : "brand",
10787
10807
  size: "md",
10788
10808
  icon: ArrowLeftIcon,
10789
10809
  onClick: onBack
10790
10810
  }),
10791
- !isMobile2 && title && /* @__PURE__ */ jsx43(Separator, {
10811
+ !isMobile2 && title && /* @__PURE__ */ jsx44(Separator, {
10792
10812
  orientation: "vertical",
10793
10813
  className: "h-5 ml-1.5 mr-3"
10794
10814
  })
10795
10815
  ]
10796
10816
  }),
10797
- title && !(avatar === null || avatar === void 0 ? void 0 : avatar.logo) && /* @__PURE__ */ jsx43(Display, {
10817
+ title && (!(avatar === null || avatar === void 0 ? void 0 : avatar.logo) || !isMobile2) && (pageType === 2 && !searchElement || !isMobile2) && /* @__PURE__ */ jsx44(Display, {
10798
10818
  size: "sm",
10799
10819
  className: "line-clamp-1 text-xl",
10800
10820
  children: title
10801
10821
  })
10802
10822
  ]
10803
10823
  }),
10804
- /* @__PURE__ */ jsx43("div", {
10805
- className: "flex-shrink-0 flex justify-center items-center",
10806
- children: (avatar === null || avatar === void 0 ? void 0 : avatar.logo) ? /* @__PURE__ */ jsxs24("div", {
10824
+ pageType === 1 && isMobile2 && !(avatar === null || avatar === void 0 ? void 0 : avatar.logo) && /* @__PURE__ */ jsx44("div", {
10825
+ className: "absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 z-10",
10826
+ children: /* @__PURE__ */ jsx44(Display, {
10827
+ size: "sm",
10828
+ className: "line-clamp-1 text-xl",
10829
+ children: title
10830
+ })
10831
+ }),
10832
+ (avatar === null || avatar === void 0 ? void 0 : avatar.logo) ? /* @__PURE__ */ jsx44("div", {
10833
+ className: "flex-1 flex-shrink-0 flex justify-center items-center",
10834
+ children: /* @__PURE__ */ jsxs24("div", {
10807
10835
  className: "flex items-center space-x-1.5",
10808
10836
  children: [
10809
- /* @__PURE__ */ jsx43(Avatar, {
10837
+ /* @__PURE__ */ jsx44(Avatar, {
10810
10838
  size: "sm",
10811
10839
  src: avatar.logo
10812
10840
  }),
10813
- avatar.name && !isMobile2 && /* @__PURE__ */ jsx43(Text, {
10841
+ avatar.name && !isMobile2 && /* @__PURE__ */ jsx44(Text, {
10814
10842
  size: "lg",
10815
10843
  weight: "medium",
10816
10844
  children: avatar.name
10817
10845
  })
10818
10846
  ]
10819
- }) : null
10820
- }),
10821
- /* @__PURE__ */ jsx43("div", {
10822
- className: "flex-1 flex justify-end items-center",
10847
+ })
10848
+ }) : null,
10849
+ /* @__PURE__ */ jsx44("div", {
10850
+ className: cn("flex justify-end items-center", pageType === 2 && isMobile2 && searchElement && "w-full"),
10823
10851
  children: /* @__PURE__ */ jsxs24("div", {
10824
- className: "flex items-center space-x-3",
10852
+ className: "w-full md:w-auto flex items-center space-x-3",
10825
10853
  children: [
10826
10854
  searchElement && (!isMobile2 && pageType === 1 || pageType === 2) && searchElement,
10827
10855
  children
@@ -10830,7 +10858,7 @@ function TopNavigationBar(param) {
10830
10858
  })
10831
10859
  ]
10832
10860
  }),
10833
- searchElement && pageType === 1 && isMobile2 && /* @__PURE__ */ jsx43("div", {
10861
+ searchElement && pageType === 1 && isMobile2 && /* @__PURE__ */ jsx44("div", {
10834
10862
  className: "relative w-full h-13 py-2",
10835
10863
  children: searchElement
10836
10864
  })
@@ -10841,9 +10869,9 @@ function TopNavigationBar(param) {
10841
10869
  import { CheckIcon as CheckIcon2 } from "@heroicons/react/24/outline";
10842
10870
  import * as SelectPrimitive from "@radix-ui/react-select";
10843
10871
  import { ChevronDown as ChevronDown2, ChevronUp } from "lucide-react";
10844
- import * as React31 from "react";
10845
- import { Fragment as Fragment8, jsx as jsx44, jsxs as jsxs25 } from "react/jsx-runtime";
10846
- var Select = React31.forwardRef(function(_param, ref) {
10872
+ import * as React32 from "react";
10873
+ import { Fragment as Fragment8, jsx as jsx45, jsxs as jsxs25 } from "react/jsx-runtime";
10874
+ var Select = React32.forwardRef(function(_param, ref) {
10847
10875
  var children = _param.children, placeholder = _param.placeholder, options = _param.options, triggerClassName = _param.triggerClassName, props = _object_without_properties(_param, [
10848
10876
  "children",
10849
10877
  "placeholder",
@@ -10854,26 +10882,26 @@ var Select = React31.forwardRef(function(_param, ref) {
10854
10882
  var icon = options === null || options === void 0 ? void 0 : (_options_find = options.find(function(item) {
10855
10883
  return item.value === props.value;
10856
10884
  })) === null || _options_find === void 0 ? void 0 : _options_find.icon;
10857
- return /* @__PURE__ */ jsx44(SelectPrimitive.Root, _object_spread_props(_object_spread({}, props), {
10885
+ return /* @__PURE__ */ jsx45(SelectPrimitive.Root, _object_spread_props(_object_spread({}, props), {
10858
10886
  children: Array.isArray(options) && options.length ? /* @__PURE__ */ jsxs25(Fragment8, {
10859
10887
  children: [
10860
- /* @__PURE__ */ jsx44(SelectTrigger, {
10888
+ /* @__PURE__ */ jsx45(SelectTrigger, {
10861
10889
  className: cn(triggerClassName),
10862
10890
  children: /* @__PURE__ */ jsxs25("div", {
10863
10891
  className: "flex items-center",
10864
10892
  children: [
10865
- /* @__PURE__ */ jsx44(SelectIcon, {
10893
+ /* @__PURE__ */ jsx45(SelectIcon, {
10866
10894
  icon: icon
10867
10895
  }),
10868
- /* @__PURE__ */ jsx44(SelectValue, {
10896
+ /* @__PURE__ */ jsx45(SelectValue, {
10869
10897
  placeholder: placeholder
10870
10898
  })
10871
10899
  ]
10872
10900
  })
10873
10901
  }),
10874
- /* @__PURE__ */ jsx44(SelectContent, {
10902
+ /* @__PURE__ */ jsx45(SelectContent, {
10875
10903
  children: options.map(function(item, i) {
10876
- return /* @__PURE__ */ jsx44(SelectItem, _object_spread_props(_object_spread({}, item), {
10904
+ return /* @__PURE__ */ jsx45(SelectItem, _object_spread_props(_object_spread({}, item), {
10877
10905
  children: item.label
10878
10906
  }), "".concat(item.value, "_").concat(i));
10879
10907
  })
@@ -10884,7 +10912,7 @@ var Select = React31.forwardRef(function(_param, ref) {
10884
10912
  });
10885
10913
  var SelectGroup = SelectPrimitive.Group;
10886
10914
  var SelectValue = SelectPrimitive.Value;
10887
- var SelectTrigger = React31.forwardRef(function(_param, ref) {
10915
+ var SelectTrigger = React32.forwardRef(function(_param, ref) {
10888
10916
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
10889
10917
  "className",
10890
10918
  "children"
@@ -10895,9 +10923,9 @@ var SelectTrigger = React31.forwardRef(function(_param, ref) {
10895
10923
  }, props), {
10896
10924
  children: [
10897
10925
  children,
10898
- /* @__PURE__ */ jsx44(SelectPrimitive.Icon, {
10926
+ /* @__PURE__ */ jsx45(SelectPrimitive.Icon, {
10899
10927
  asChild: true,
10900
- children: /* @__PURE__ */ jsx44(ChevronDown2, {
10928
+ children: /* @__PURE__ */ jsx45(ChevronDown2, {
10901
10929
  className: "select-chevron h-5 w-5 text-Colors-Foreground-Subtle duration-200"
10902
10930
  })
10903
10931
  })
@@ -10905,47 +10933,47 @@ var SelectTrigger = React31.forwardRef(function(_param, ref) {
10905
10933
  }));
10906
10934
  });
10907
10935
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
10908
- var SelectScrollUpButton = React31.forwardRef(function(_param, ref) {
10936
+ var SelectScrollUpButton = React32.forwardRef(function(_param, ref) {
10909
10937
  var className = _param.className, props = _object_without_properties(_param, [
10910
10938
  "className"
10911
10939
  ]);
10912
- return /* @__PURE__ */ jsx44(SelectPrimitive.ScrollUpButton, _object_spread_props(_object_spread({
10940
+ return /* @__PURE__ */ jsx45(SelectPrimitive.ScrollUpButton, _object_spread_props(_object_spread({
10913
10941
  ref: ref,
10914
10942
  className: cn("flex cursor-default items-center justify-center py-1", className)
10915
10943
  }, props), {
10916
- children: /* @__PURE__ */ jsx44(ChevronUp, {
10944
+ children: /* @__PURE__ */ jsx45(ChevronUp, {
10917
10945
  className: "h-4 w-4"
10918
10946
  })
10919
10947
  }));
10920
10948
  });
10921
10949
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
10922
- var SelectScrollDownButton = React31.forwardRef(function(_param, ref) {
10950
+ var SelectScrollDownButton = React32.forwardRef(function(_param, ref) {
10923
10951
  var className = _param.className, props = _object_without_properties(_param, [
10924
10952
  "className"
10925
10953
  ]);
10926
- return /* @__PURE__ */ jsx44(SelectPrimitive.ScrollDownButton, _object_spread_props(_object_spread({
10954
+ return /* @__PURE__ */ jsx45(SelectPrimitive.ScrollDownButton, _object_spread_props(_object_spread({
10927
10955
  ref: ref,
10928
10956
  className: cn("flex cursor-default items-center justify-center py-1", className)
10929
10957
  }, props), {
10930
- children: /* @__PURE__ */ jsx44(ChevronDown2, {
10958
+ children: /* @__PURE__ */ jsx45(ChevronDown2, {
10931
10959
  className: "h-4 w-4"
10932
10960
  })
10933
10961
  }));
10934
10962
  });
10935
10963
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
10936
- var SelectContent = React31.forwardRef(function(_param, ref) {
10964
+ var SelectContent = React32.forwardRef(function(_param, ref) {
10937
10965
  var className = _param.className, children = _param.children, _param_position = _param.position, position = _param_position === void 0 ? "popper" : _param_position, props = _object_without_properties(_param, [
10938
10966
  "className",
10939
10967
  "children",
10940
10968
  "position"
10941
10969
  ]);
10942
- return /* @__PURE__ */ jsx44(SelectPrimitive.Portal, {
10943
- children: /* @__PURE__ */ jsx44(SelectPrimitive.Content, _object_spread_props(_object_spread({
10970
+ return /* @__PURE__ */ jsx45(SelectPrimitive.Portal, {
10971
+ children: /* @__PURE__ */ jsx45(SelectPrimitive.Content, _object_spread_props(_object_spread({
10944
10972
  ref: ref,
10945
10973
  className: cn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-sm border border-Colors-Border-Opaque bg-Colors-Background-Normal-Primary-Default text-Colors-Text-Default shadow-modal-default data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
10946
10974
  position: position
10947
10975
  }, props), {
10948
- children: /* @__PURE__ */ jsx44(SelectPrimitive.Viewport, {
10976
+ children: /* @__PURE__ */ jsx45(SelectPrimitive.Viewport, {
10949
10977
  className: cn("p-1.5 space-y-1.5", position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
10950
10978
  children: children
10951
10979
  })
@@ -10953,11 +10981,11 @@ var SelectContent = React31.forwardRef(function(_param, ref) {
10953
10981
  });
10954
10982
  });
10955
10983
  SelectContent.displayName = SelectPrimitive.Content.displayName;
10956
- var SelectLabel = React31.forwardRef(function(_param, ref) {
10984
+ var SelectLabel = React32.forwardRef(function(_param, ref) {
10957
10985
  var className = _param.className, props = _object_without_properties(_param, [
10958
10986
  "className"
10959
10987
  ]);
10960
- return /* @__PURE__ */ jsx44(SelectPrimitive.Label, _object_spread({
10988
+ return /* @__PURE__ */ jsx45(SelectPrimitive.Label, _object_spread({
10961
10989
  ref: ref,
10962
10990
  className: cn("py-1 px-3 text-sm font-medium text-Colors-Text-Subtler", className)
10963
10991
  }, props));
@@ -10968,28 +10996,28 @@ function SelectIcon(props) {
10968
10996
  if (!icon) {
10969
10997
  return null;
10970
10998
  }
10971
- return /* @__PURE__ */ jsx44(SelectPrimitive.Icon, {
10999
+ return /* @__PURE__ */ jsx45(SelectPrimitive.Icon, {
10972
11000
  children: typeof icon === "string" ? // 如果是字符串URL,作为背景图片显示
10973
- /* @__PURE__ */ jsx44("div", {
11001
+ /* @__PURE__ */ jsx45("div", {
10974
11002
  className: cn("aspect-[20/20] w-5 h-5 relative bg-cover bg-no-repeat rounded-sm overflow-hidden mr-1.5", critical && "text-Colors-Text-Critical-Default"),
10975
11003
  style: {
10976
11004
  backgroundImage: "url('".concat(icon, "')")
10977
11005
  }
10978
- }) : React31.isValidElement(icon) ? // 如果是React元素,直接渲染
10979
- /* @__PURE__ */ jsx44("div", {
11006
+ }) : React32.isValidElement(icon) ? // 如果是React元素,直接渲染
11007
+ /* @__PURE__ */ jsx45("div", {
10980
11008
  className: cn("mr-1.5 w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default"),
10981
11009
  children: icon
10982
11010
  }) : // 如果是组件类型,创建元素
10983
- /* @__PURE__ */ jsx44("div", {
11011
+ /* @__PURE__ */ jsx45("div", {
10984
11012
  className: cn("mr-1.5 w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default"),
10985
- children: React31.createElement(icon, {
11013
+ children: React32.createElement(icon, {
10986
11014
  className: cn("w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default")
10987
11015
  })
10988
11016
  })
10989
11017
  });
10990
11018
  }
10991
11019
  SelectIcon.displayName = SelectPrimitive.Icon.displayName;
10992
- var SelectItem = React31.forwardRef(function(_param, ref) {
11020
+ var SelectItem = React32.forwardRef(function(_param, ref) {
10993
11021
  var className = _param.className, children = _param.children, icon = _param.icon, critical = _param.critical, props = _object_without_properties(_param, [
10994
11022
  "className",
10995
11023
  "children",
@@ -11004,19 +11032,19 @@ var SelectItem = React31.forwardRef(function(_param, ref) {
11004
11032
  /* @__PURE__ */ jsxs25("span", {
11005
11033
  className: "flex items-center grow",
11006
11034
  children: [
11007
- /* @__PURE__ */ jsx44(SelectIcon, {
11035
+ /* @__PURE__ */ jsx45(SelectIcon, {
11008
11036
  icon: icon,
11009
11037
  critical: critical
11010
11038
  }),
11011
- /* @__PURE__ */ jsx44(SelectPrimitive.ItemText, {
11039
+ /* @__PURE__ */ jsx45(SelectPrimitive.ItemText, {
11012
11040
  children: children
11013
11041
  })
11014
11042
  ]
11015
11043
  }),
11016
- /* @__PURE__ */ jsx44("span", {
11044
+ /* @__PURE__ */ jsx45("span", {
11017
11045
  className: "flex h-4 w-4 items-center justify-center",
11018
- children: /* @__PURE__ */ jsx44(SelectPrimitive.ItemIndicator, {
11019
- children: /* @__PURE__ */ jsx44(CheckIcon2, {
11046
+ children: /* @__PURE__ */ jsx45(SelectPrimitive.ItemIndicator, {
11047
+ children: /* @__PURE__ */ jsx45(CheckIcon2, {
11020
11048
  className: "h-4 w-4 text-Colors-Foreground-Subtle stroke-[2px]"
11021
11049
  })
11022
11050
  })
@@ -11025,11 +11053,11 @@ var SelectItem = React31.forwardRef(function(_param, ref) {
11025
11053
  }));
11026
11054
  });
11027
11055
  SelectItem.displayName = SelectPrimitive.Item.displayName;
11028
- var SelectSeparator = React31.forwardRef(function(_param, ref) {
11056
+ var SelectSeparator = React32.forwardRef(function(_param, ref) {
11029
11057
  var className = _param.className, props = _object_without_properties(_param, [
11030
11058
  "className"
11031
11059
  ]);
11032
- return /* @__PURE__ */ jsx44(SelectPrimitive.Separator, _object_spread({
11060
+ return /* @__PURE__ */ jsx45(SelectPrimitive.Separator, _object_spread({
11033
11061
  ref: ref,
11034
11062
  className: cn("-mx-1 my-1 h-px bg-border-default", className)
11035
11063
  }, props));
@@ -11039,17 +11067,17 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
11039
11067
  import * as SheetPrimitive from "@radix-ui/react-dialog";
11040
11068
  import { cva as cva14 } from "class-variance-authority";
11041
11069
  import { X as X2 } from "lucide-react";
11042
- import * as React32 from "react";
11043
- import { jsx as jsx45, jsxs as jsxs26 } from "react/jsx-runtime";
11070
+ import * as React33 from "react";
11071
+ import { jsx as jsx46, jsxs as jsxs26 } from "react/jsx-runtime";
11044
11072
  var Sheet = SheetPrimitive.Root;
11045
11073
  var SheetTrigger = SheetPrimitive.Trigger;
11046
11074
  var SheetClose = SheetPrimitive.Close;
11047
11075
  var SheetPortal = SheetPrimitive.Portal;
11048
- var SheetOverlay = React32.forwardRef(function(_param, ref) {
11076
+ var SheetOverlay = React33.forwardRef(function(_param, ref) {
11049
11077
  var className = _param.className, props = _object_without_properties(_param, [
11050
11078
  "className"
11051
11079
  ]);
11052
- return /* @__PURE__ */ jsx45(SheetPrimitive.Overlay, _object_spread_props(_object_spread({
11080
+ return /* @__PURE__ */ jsx46(SheetPrimitive.Overlay, _object_spread_props(_object_spread({
11053
11081
  className: cn("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className)
11054
11082
  }, props), {
11055
11083
  ref: ref
@@ -11069,7 +11097,7 @@ var sheetVariants = cva14("fixed z-50 gap-4 bg-white p-6 shadow-lg transition ea
11069
11097
  side: "right"
11070
11098
  }
11071
11099
  });
11072
- var SheetContent = React32.forwardRef(function(_param, ref) {
11100
+ var SheetContent = React33.forwardRef(function(_param, ref) {
11073
11101
  var _param_side = _param.side, side = _param_side === void 0 ? "right" : _param_side, className = _param.className, children = _param.children, props = _object_without_properties(_param, [
11074
11102
  "side",
11075
11103
  "className",
@@ -11077,7 +11105,7 @@ var SheetContent = React32.forwardRef(function(_param, ref) {
11077
11105
  ]);
11078
11106
  return /* @__PURE__ */ jsxs26(SheetPortal, {
11079
11107
  children: [
11080
- /* @__PURE__ */ jsx45(SheetOverlay, {}),
11108
+ /* @__PURE__ */ jsx46(SheetOverlay, {}),
11081
11109
  /* @__PURE__ */ jsxs26(SheetPrimitive.Content, _object_spread_props(_object_spread({
11082
11110
  ref: ref,
11083
11111
  className: cn(sheetVariants({
@@ -11089,10 +11117,10 @@ var SheetContent = React32.forwardRef(function(_param, ref) {
11089
11117
  /* @__PURE__ */ jsxs26(SheetPrimitive.Close, {
11090
11118
  className: "absolute right-4 top-4 rounded-xxs opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-slate-950 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-slate-100 dark:ring-offset-slate-950 dark:focus:ring-slate-300 dark:data-[state=open]:bg-slate-800",
11091
11119
  children: [
11092
- /* @__PURE__ */ jsx45(X2, {
11120
+ /* @__PURE__ */ jsx46(X2, {
11093
11121
  className: "h-4 w-4"
11094
11122
  }),
11095
- /* @__PURE__ */ jsx45("span", {
11123
+ /* @__PURE__ */ jsx46("span", {
11096
11124
  className: "sr-only",
11097
11125
  children: "Close"
11098
11126
  })
@@ -11108,7 +11136,7 @@ var SheetHeader = function(_param) {
11108
11136
  var className = _param.className, props = _object_without_properties(_param, [
11109
11137
  "className"
11110
11138
  ]);
11111
- return /* @__PURE__ */ jsx45("div", _object_spread({
11139
+ return /* @__PURE__ */ jsx46("div", _object_spread({
11112
11140
  className: cn("flex flex-col space-y-2 text-center sm:text-left", className)
11113
11141
  }, props));
11114
11142
  };
@@ -11117,65 +11145,65 @@ var SheetFooter = function(_param) {
11117
11145
  var className = _param.className, props = _object_without_properties(_param, [
11118
11146
  "className"
11119
11147
  ]);
11120
- return /* @__PURE__ */ jsx45("div", _object_spread({
11148
+ return /* @__PURE__ */ jsx46("div", _object_spread({
11121
11149
  className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className)
11122
11150
  }, props));
11123
11151
  };
11124
11152
  SheetFooter.displayName = "SheetFooter";
11125
- var SheetTitle = React32.forwardRef(function(_param, ref) {
11153
+ var SheetTitle = React33.forwardRef(function(_param, ref) {
11126
11154
  var className = _param.className, props = _object_without_properties(_param, [
11127
11155
  "className"
11128
11156
  ]);
11129
- return /* @__PURE__ */ jsx45(SheetPrimitive.Title, _object_spread({
11157
+ return /* @__PURE__ */ jsx46(SheetPrimitive.Title, _object_spread({
11130
11158
  ref: ref,
11131
11159
  className: cn("text-lg font-semibold text-slate-950 dark:text-slate-50", className)
11132
11160
  }, props));
11133
11161
  });
11134
11162
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
11135
- var SheetDescription = React32.forwardRef(function(_param, ref) {
11163
+ var SheetDescription = React33.forwardRef(function(_param, ref) {
11136
11164
  var className = _param.className, props = _object_without_properties(_param, [
11137
11165
  "className"
11138
11166
  ]);
11139
- return /* @__PURE__ */ jsx45(SheetPrimitive.Description, _object_spread({
11167
+ return /* @__PURE__ */ jsx46(SheetPrimitive.Description, _object_spread({
11140
11168
  ref: ref,
11141
11169
  className: cn("text-sm text-slate-500 dark:text-slate-400", className)
11142
11170
  }, props));
11143
11171
  });
11144
11172
  SheetDescription.displayName = SheetPrimitive.Description.displayName;
11145
11173
  // src/components/skeleton.tsx
11146
- import { jsx as jsx46 } from "react/jsx-runtime";
11174
+ import { jsx as jsx47 } from "react/jsx-runtime";
11147
11175
  function Skeleton(_param) {
11148
11176
  var className = _param.className, _param_animate = _param.animate, animate = _param_animate === void 0 ? true : _param_animate, props = _object_without_properties(_param, [
11149
11177
  "className",
11150
11178
  "animate"
11151
11179
  ]);
11152
- return /* @__PURE__ */ jsx46("div", _object_spread({
11180
+ return /* @__PURE__ */ jsx47("div", _object_spread({
11153
11181
  className: cn("rounded-sm bg-Colors-Background-Normal-Secondary-Default", className, animate && "animate-pulse")
11154
11182
  }, props));
11155
11183
  }
11156
11184
  // src/components/slider.tsx
11157
11185
  import * as SliderPrimitive from "@radix-ui/react-slider";
11158
- import * as React33 from "react";
11159
- import { jsx as jsx47, jsxs as jsxs27 } from "react/jsx-runtime";
11160
- var Slider = React33.forwardRef(function(_param, ref) {
11186
+ import * as React34 from "react";
11187
+ import { jsx as jsx48, jsxs as jsxs27 } from "react/jsx-runtime";
11188
+ var Slider = React34.forwardRef(function(_param, ref) {
11161
11189
  var className = _param.className, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, props = _object_without_properties(_param, [
11162
11190
  "className",
11163
11191
  "size"
11164
11192
  ]);
11165
- return /* @__PURE__ */ jsx47("div", {
11193
+ return /* @__PURE__ */ jsx48("div", {
11166
11194
  className: "w-full p-3 flex justify-center items-center h-10 rounded-md border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Active shadow-background-default text-sm text-Colors-Text-Default hover:border-Colors-Border-Hover hover:bg-Colors-Foreground-Subtle aria-[invalid=true]:border-Colors-Border-Critical aria-[invalid=true]:hover:border-Colors-Border-Critical aria-[invalid=true]:hover:bg-Colors-Utility-Terracotta-5 aria-[invalid=true]:focus-visible:ring-error file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-Colors-Text-Subtler focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-30",
11167
11195
  children: /* @__PURE__ */ jsxs27(SliderPrimitive.Root, _object_spread_props(_object_spread({
11168
11196
  ref: ref,
11169
11197
  className: cn("relative flex w-full touch-none select-none items-center", className)
11170
11198
  }, props), {
11171
11199
  children: [
11172
- /* @__PURE__ */ jsx47(SliderPrimitive.Track, {
11200
+ /* @__PURE__ */ jsx48(SliderPrimitive.Track, {
11173
11201
  className: cn("relative w-full grow overflow-hidden rounded-full bg-Colors-Background-Neutral-Primary-Hover data-[disabled]:opacity-30", size === "sm" ? "h-0.5" : "h-1.5"),
11174
- children: /* @__PURE__ */ jsx47(SliderPrimitive.Range, {
11202
+ children: /* @__PURE__ */ jsx48(SliderPrimitive.Range, {
11175
11203
  className: "absolute h-full bg-Colors-Background-Brand-Default data-[disabled]:opacity-30"
11176
11204
  })
11177
11205
  }),
11178
- /* @__PURE__ */ jsx47(SliderPrimitive.Thumb, {
11206
+ /* @__PURE__ */ jsx48(SliderPrimitive.Thumb, {
11179
11207
  className: cn("block rounded-full border-Colors-Utility-Lake-Blue-40 bg-Colors-Background-Normal-Primary-Default transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 data-[disabled]:pointer-events-none data-[disabled]:opacity-30", size === "sm" ? "w-2 h-2 border-[1.5px]" : "w-5 h-5 border-[3px]")
11180
11208
  })
11181
11209
  ]
@@ -11183,7 +11211,7 @@ var Slider = React33.forwardRef(function(_param, ref) {
11183
11211
  });
11184
11212
  });
11185
11213
  Slider.displayName = SliderPrimitive.Root.displayName;
11186
- var SliderSingle = React33.forwardRef(function(_param, ref) {
11214
+ var SliderSingle = React34.forwardRef(function(_param, ref) {
11187
11215
  var className = _param.className, containerClassName = _param.containerClassName, trackClassName = _param.trackClassName, rangeClassName = _param.rangeClassName, thumbClassName = _param.thumbClassName, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, value1 = _param.value, defaultValue = _param.defaultValue, onValueChange = _param.onValueChange, onValueCommit = _param.onValueCommit, _param_settable = _param.settable, settable = _param_settable === void 0 ? true : _param_settable, props = _object_without_properties(_param, [
11188
11216
  "className",
11189
11217
  "containerClassName",
@@ -11200,7 +11228,7 @@ var SliderSingle = React33.forwardRef(function(_param, ref) {
11200
11228
  return /* @__PURE__ */ jsxs27("div", {
11201
11229
  className: "flex w-full items-center space-x-1.5",
11202
11230
  children: [
11203
- /* @__PURE__ */ jsx47("div", {
11231
+ /* @__PURE__ */ jsx48("div", {
11204
11232
  className: cn("w-full p-3 flex justify-center items-center h-10 rounded-md border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Active shadow-background-default text-sm text-Colors-Text-Default hover:border-Colors-Border-Hover hover:bg-Colors-Foreground-Subtle aria-[invalid=true]:border-Colors-Border-Critical aria-[invalid=true]:hover:border-Colors-Border-Critical aria-[invalid=true]:hover:bg-Colors-Utility-Terracotta-5 aria-[invalid=true]:focus-visible:ring-error file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-Colors-Text-Subtler focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-30", containerClassName),
11205
11233
  children: /* @__PURE__ */ jsxs27(SliderPrimitive.Root, _object_spread_props(_object_spread({
11206
11234
  ref: ref,
@@ -11219,21 +11247,21 @@ var SliderSingle = React33.forwardRef(function(_param, ref) {
11219
11247
  }
11220
11248
  }, props), {
11221
11249
  children: [
11222
- /* @__PURE__ */ jsx47(SliderPrimitive.Track, {
11250
+ /* @__PURE__ */ jsx48(SliderPrimitive.Track, {
11223
11251
  className: cn("relative w-full grow overflow-hidden rounded-full bg-Colors-Background-Neutral-Primary-Hover data-[disabled]:opacity-30", size === "sm" ? "h-0.5" : "h-1.5", trackClassName),
11224
- children: /* @__PURE__ */ jsx47(SliderPrimitive.Range, {
11252
+ children: /* @__PURE__ */ jsx48(SliderPrimitive.Range, {
11225
11253
  className: cn("absolute h-full bg-Colors-Background-Brand-Default data-[disabled]:opacity-30", rangeClassName)
11226
11254
  })
11227
11255
  }),
11228
- /* @__PURE__ */ jsx47(SliderPrimitive.Thumb, {
11256
+ /* @__PURE__ */ jsx48(SliderPrimitive.Thumb, {
11229
11257
  className: cn("cursor-pointer block rounded-full border-Colors-Utility-Lake-Blue-40 bg-Colors-Background-Normal-Primary-Default transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 data-[disabled]:pointer-events-none data-[disabled]:opacity-30", size === "sm" ? "w-2 h-2 border-[1.5px]" : "w-5 h-5 border-[3px]", thumbClassName)
11230
11258
  })
11231
11259
  ]
11232
11260
  }))
11233
11261
  }),
11234
- settable && /* @__PURE__ */ jsx47("div", {
11262
+ settable && /* @__PURE__ */ jsx48("div", {
11235
11263
  className: "flex-shrink-0 w-14 h-9 flex justify-center items-center rounded-md",
11236
- children: /* @__PURE__ */ jsx47(NumberInput, {
11264
+ children: /* @__PURE__ */ jsx48(NumberInput, {
11237
11265
  value: value1,
11238
11266
  min: props === null || props === void 0 ? void 0 : props.min,
11239
11267
  max: props === null || props === void 0 ? void 0 : props.max,
@@ -11252,7 +11280,7 @@ SliderSingle.displayName = "SliderSingle";
11252
11280
  // src/components/spinner.tsx
11253
11281
  import { cva as cva15 } from "class-variance-authority";
11254
11282
  import { Loader2 as Loader23 } from "lucide-react";
11255
- import { jsx as jsx48 } from "react/jsx-runtime";
11283
+ import { jsx as jsx49 } from "react/jsx-runtime";
11256
11284
  var spinnerVariants = cva15("animate-spin", {
11257
11285
  variants: {
11258
11286
  size: {
@@ -11284,7 +11312,7 @@ var spinnerVariants = cva15("animate-spin", {
11284
11312
  });
11285
11313
  function Spinner(props) {
11286
11314
  var size = props.size, speed = props.speed, color = props.color, className = props.className;
11287
- return /* @__PURE__ */ jsx48(Loader23, {
11315
+ return /* @__PURE__ */ jsx49(Loader23, {
11288
11316
  className: cn(spinnerVariants({
11289
11317
  size: size,
11290
11318
  speed: speed,
@@ -11295,8 +11323,8 @@ function Spinner(props) {
11295
11323
  // src/components/switch.tsx
11296
11324
  import * as SwitchPrimitives from "@radix-ui/react-switch";
11297
11325
  import { cva as cva16 } from "class-variance-authority";
11298
- import * as React34 from "react";
11299
- import { jsx as jsx49, jsxs as jsxs28 } from "react/jsx-runtime";
11326
+ import * as React35 from "react";
11327
+ import { jsx as jsx50, jsxs as jsxs28 } from "react/jsx-runtime";
11300
11328
  var switchSize = {
11301
11329
  sm: "w-7 h-4",
11302
11330
  md: "w-[34px] h-5",
@@ -11378,7 +11406,7 @@ var switchThumbIconVariants = cva16("flex items-center justify-center", {
11378
11406
  }
11379
11407
  }
11380
11408
  });
11381
- var Switch = React34.forwardRef(function(_param, ref) {
11409
+ var Switch = React35.forwardRef(function(_param, ref) {
11382
11410
  var className = _param.className, size = _param.size, label = _param.label, labelClassName = _param.labelClassName, vertical = _param.vertical, icon = _param.icon, props = _object_without_properties(_param, [
11383
11411
  "className",
11384
11412
  "size",
@@ -11387,23 +11415,23 @@ var Switch = React34.forwardRef(function(_param, ref) {
11387
11415
  "vertical",
11388
11416
  "icon"
11389
11417
  ]);
11390
- var Component = label ? "div" : React34.Fragment;
11418
+ var Component = label ? "div" : React35.Fragment;
11391
11419
  return /* @__PURE__ */ jsxs28(Component, {
11392
11420
  className: cn("flex items-center justify-center space-x-1.5 text-Colors-Text-Default", vertical && "flex-col space-x-0 space-y-1.5"),
11393
11421
  children: [
11394
- /* @__PURE__ */ jsx49(SwitchPrimitives.Root, _object_spread_props(_object_spread({
11422
+ /* @__PURE__ */ jsx50(SwitchPrimitives.Root, _object_spread_props(_object_spread({
11395
11423
  className: cn(switchRootVariants({
11396
11424
  size: size,
11397
11425
  vertical: vertical
11398
11426
  }), className, vertical && "flex-col")
11399
11427
  }, props), {
11400
11428
  ref: ref,
11401
- children: /* @__PURE__ */ jsx49(SwitchPrimitives.Thumb, {
11429
+ children: /* @__PURE__ */ jsx50(SwitchPrimitives.Thumb, {
11402
11430
  className: cn(switchThumbVariants({
11403
11431
  size: size,
11404
11432
  vertical: vertical
11405
11433
  }), "flex items-center justify-center"),
11406
- children: icon && /* @__PURE__ */ jsx49(Icon, {
11434
+ children: icon && /* @__PURE__ */ jsx50(Icon, {
11407
11435
  component: icon,
11408
11436
  className: switchThumbIconVariants({
11409
11437
  size: size
@@ -11411,7 +11439,7 @@ var Switch = React34.forwardRef(function(_param, ref) {
11411
11439
  })
11412
11440
  })
11413
11441
  })),
11414
- label && /* @__PURE__ */ jsx49("span", {
11442
+ label && /* @__PURE__ */ jsx50("span", {
11415
11443
  className: cn("text-sm", labelClassName),
11416
11444
  children: label
11417
11445
  })
@@ -11422,8 +11450,8 @@ Switch.displayName = SwitchPrimitives.Root.displayName;
11422
11450
  // src/components/tabs.tsx
11423
11451
  import * as TabsPrimitive from "@radix-ui/react-tabs";
11424
11452
  import { cva as cva17 } from "class-variance-authority";
11425
- import * as React35 from "react";
11426
- import { jsx as jsx50, jsxs as jsxs29 } from "react/jsx-runtime";
11453
+ import * as React36 from "react";
11454
+ import { jsx as jsx51, jsxs as jsxs29 } from "react/jsx-runtime";
11427
11455
  var TabsRoot = TabsPrimitive.Tabs;
11428
11456
  var TabsList = TabsPrimitive.List;
11429
11457
  var TabsTrigger = TabsPrimitive.Trigger;
@@ -11572,7 +11600,7 @@ var tabVariants = cva17("relative inline-flex h-full items-center whitespace-now
11572
11600
  rounded: "default"
11573
11601
  }
11574
11602
  });
11575
- var Tabs2 = React35.forwardRef(function(_param, ref) {
11603
+ var Tabs2 = React36.forwardRef(function(_param, ref) {
11576
11604
  var className = _param.className, listClassName = _param.listClassName, listBoxClassName = _param.listBoxClassName, contentClassName = _param.contentClassName, _param_variant = _param.variant, variant = _param_variant === void 0 ? "button" : _param_variant, size = _param.size, _param_isLink = _param.isLink, isLink = _param_isLink === void 0 ? false : _param_isLink, _param_rounded = _param.rounded, rounded = _param_rounded === void 0 ? "default" : _param_rounded, items = _param.items, props = _object_without_properties(_param, [
11577
11605
  "className",
11578
11606
  "listClassName",
@@ -11589,9 +11617,9 @@ var Tabs2 = React35.forwardRef(function(_param, ref) {
11589
11617
  className: cn(className)
11590
11618
  }, props), {
11591
11619
  children: [
11592
- /* @__PURE__ */ jsx50("div", {
11620
+ /* @__PURE__ */ jsx51("div", {
11593
11621
  className: cn("w-full flex justify-start items-center", listBoxClassName),
11594
- children: /* @__PURE__ */ jsx50(TabsPrimitive.List, _object_spread_props(_object_spread({
11622
+ children: /* @__PURE__ */ jsx51(TabsPrimitive.List, _object_spread_props(_object_spread({
11595
11623
  ref: ref,
11596
11624
  className: cn(tabListVariants({
11597
11625
  variant: variant,
@@ -11600,7 +11628,7 @@ var Tabs2 = React35.forwardRef(function(_param, ref) {
11600
11628
  }), listClassName)
11601
11629
  }, props), {
11602
11630
  children: items === null || items === void 0 ? void 0 : items.map(function(item) {
11603
- return /* @__PURE__ */ jsx50(Tab, _object_spread({
11631
+ return /* @__PURE__ */ jsx51(Tab, _object_spread({
11604
11632
  isLink: isLink,
11605
11633
  variant: variant,
11606
11634
  size: size,
@@ -11609,10 +11637,10 @@ var Tabs2 = React35.forwardRef(function(_param, ref) {
11609
11637
  })
11610
11638
  }))
11611
11639
  }),
11612
- !isLink && /* @__PURE__ */ jsx50("div", {
11640
+ !isLink && /* @__PURE__ */ jsx51("div", {
11613
11641
  className: "w-full",
11614
11642
  children: items === null || items === void 0 ? void 0 : items.map(function(item) {
11615
- return /* @__PURE__ */ jsx50(TabsContent, {
11643
+ return /* @__PURE__ */ jsx51(TabsContent, {
11616
11644
  value: item.value,
11617
11645
  className: contentClassName,
11618
11646
  children: item.children
@@ -11623,7 +11651,7 @@ var Tabs2 = React35.forwardRef(function(_param, ref) {
11623
11651
  }));
11624
11652
  });
11625
11653
  Tabs2.displayName = TabsPrimitive.Root.displayName;
11626
- var Tab = React35.forwardRef(function(_param, ref) {
11654
+ var Tab = React36.forwardRef(function(_param, ref) {
11627
11655
  var className = _param.className, variant = _param.variant, size = _param.size, isLink = _param.isLink, link = _param.link, count2 = _param.count, label = _param.label, icon = _param.icon, tooltip = _param.tooltip, hasUnRead = _param.hasUnRead, _param_rounded = _param.rounded, rounded = _param_rounded === void 0 ? "default" : _param_rounded, onClickCallback = _param.onClickCallback, props = _object_without_properties(_param, [
11628
11656
  "className",
11629
11657
  "variant",
@@ -11638,10 +11666,10 @@ var Tab = React35.forwardRef(function(_param, ref) {
11638
11666
  "rounded",
11639
11667
  "onClickCallback"
11640
11668
  ]);
11641
- return /* @__PURE__ */ jsx50(Tooltip, _object_spread_props(_object_spread({
11669
+ return /* @__PURE__ */ jsx51(Tooltip, _object_spread_props(_object_spread({
11642
11670
  triggerClassName: cn("h-full flex justify-center items-center", variant === "underline" ? "w-fit justify-start items-end" : "w-full flex-1")
11643
11671
  }, tooltip), {
11644
- children: /* @__PURE__ */ jsx50(TabsPrimitive.Trigger, _object_spread_props(_object_spread({
11672
+ children: /* @__PURE__ */ jsx51(TabsPrimitive.Trigger, _object_spread_props(_object_spread({
11645
11673
  ref: ref,
11646
11674
  className: cn("tabtrigger min-w-fit", tabVariants({
11647
11675
  variant: variant,
@@ -11664,28 +11692,28 @@ var Tab = React35.forwardRef(function(_param, ref) {
11664
11692
  },
11665
11693
  children: [
11666
11694
  label,
11667
- hasUnRead && /* @__PURE__ */ jsx50(Badge, {
11695
+ hasUnRead && /* @__PURE__ */ jsx51(Badge, {
11668
11696
  className: "-mt-2.5"
11669
11697
  })
11670
11698
  ]
11671
11699
  }) : /* @__PURE__ */ jsxs29("div", {
11672
11700
  className: cn("relative flex justify-center items-center", variant === "underline" && "pb-2"),
11673
11701
  children: [
11674
- label && /* @__PURE__ */ jsx50("span", {
11702
+ label && /* @__PURE__ */ jsx51("span", {
11675
11703
  className: cn("text-inherit"),
11676
11704
  children: label
11677
11705
  }),
11678
- icon && /* @__PURE__ */ jsx50(Icon, {
11706
+ icon && /* @__PURE__ */ jsx51(Icon, {
11679
11707
  component: icon,
11680
11708
  size: "md",
11681
11709
  className: "text-inherit"
11682
11710
  }),
11683
- count2 ? /* @__PURE__ */ jsx50(Text, {
11711
+ count2 ? /* @__PURE__ */ jsx51(Text, {
11684
11712
  size: "sm",
11685
11713
  className: "ml-1 text-Colors-Text-Subtlest",
11686
11714
  children: count2
11687
11715
  }) : null,
11688
- hasUnRead && /* @__PURE__ */ jsx50(Badge, {
11716
+ hasUnRead && /* @__PURE__ */ jsx51(Badge, {
11689
11717
  className: "-mt-2.5"
11690
11718
  })
11691
11719
  ]
@@ -11694,20 +11722,20 @@ var Tab = React35.forwardRef(function(_param, ref) {
11694
11722
  }));
11695
11723
  });
11696
11724
  Tab.displayName = TabsPrimitive.Trigger.displayName;
11697
- var TabsContent = React35.forwardRef(function(_param, ref) {
11725
+ var TabsContent = React36.forwardRef(function(_param, ref) {
11698
11726
  var className = _param.className, props = _object_without_properties(_param, [
11699
11727
  "className"
11700
11728
  ]);
11701
- return /* @__PURE__ */ jsx50(TabsPrimitive.Content, _object_spread({
11729
+ return /* @__PURE__ */ jsx51(TabsPrimitive.Content, _object_spread({
11702
11730
  ref: ref,
11703
11731
  className: cn("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-0", className)
11704
11732
  }, props));
11705
11733
  });
11706
11734
  TabsContent.displayName = TabsPrimitive.Content.displayName;
11707
11735
  // src/components/textarea.tsx
11708
- import * as React36 from "react";
11709
- import { jsx as jsx51, jsxs as jsxs30 } from "react/jsx-runtime";
11710
- var Textarea = React36.forwardRef(function(_param, ref) {
11736
+ import * as React37 from "react";
11737
+ import { jsx as jsx52, jsxs as jsxs30 } from "react/jsx-runtime";
11738
+ var Textarea = React37.forwardRef(function(_param, ref) {
11711
11739
  var className = _param.className, maxLength = _param.maxLength, value1 = _param.value, error = _param.error, maxLengthClassName = _param.maxLengthClassName, props = _object_without_properties(_param, [
11712
11740
  "className",
11713
11741
  "maxLength",
@@ -11721,15 +11749,15 @@ var Textarea = React36.forwardRef(function(_param, ref) {
11721
11749
  /* @__PURE__ */ jsxs30("div", {
11722
11750
  className: "relative",
11723
11751
  children: [
11724
- /* @__PURE__ */ jsx51("textarea", _object_spread({
11752
+ /* @__PURE__ */ jsx52("textarea", _object_spread({
11725
11753
  className: cn("w-full min-h-[123px] p-3 pb-10 rounded-sm border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Active ", "text-sm text-Colors-Text-Default placeholder:text-Colors-Text-Subtlest", "hover:border-Colors-Border-Hover bg-cc-Input-bg-default hover:bg-cc-Input-bg-hover disabled:bg-cc-Input-bg-disabled aria-[invalid=true]:border-Colors-Border-Critical aria-[invalid=true]:hover:bg-Colors-Background-Critical-Subtle", "aria-[invalid=true]:focus-visible:ring-error file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-Colors-Text-Subtler", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-30", maxLength && ((value1 === null || value1 === void 0 ? void 0 : (_value_toString = value1.toString()) === null || _value_toString === void 0 ? void 0 : _value_toString.length) || 0) > maxLength || error ? "border-Colors-Border-Critical hover:bg-Colors-Background-Critical-Subtle focus-visible:ring-error" : "", className),
11726
11754
  ref: ref,
11727
11755
  maxLength: maxLength,
11728
11756
  value: value1
11729
11757
  }, props)),
11730
- maxLength ? /* @__PURE__ */ jsx51("div", {
11758
+ maxLength ? /* @__PURE__ */ jsx52("div", {
11731
11759
  className: cn("absolute text-right bottom-5 right-4 border-Colors-Border-Default", maxLengthClassName),
11732
- children: /* @__PURE__ */ jsx51(Text, {
11760
+ children: /* @__PURE__ */ jsx52(Text, {
11733
11761
  size: "sm",
11734
11762
  color: "subtlest",
11735
11763
  children: "".concat((value1 === null || value1 === void 0 ? void 0 : (_value_toString1 = value1.toString()) === null || _value_toString1 === void 0 ? void 0 : _value_toString1.length) || 0, "/").concat(maxLength)
@@ -11737,9 +11765,9 @@ var Textarea = React36.forwardRef(function(_param, ref) {
11737
11765
  }) : null
11738
11766
  ]
11739
11767
  }),
11740
- error && /* @__PURE__ */ jsx51("div", {
11768
+ error && /* @__PURE__ */ jsx52("div", {
11741
11769
  className: "w-full",
11742
- children: /* @__PURE__ */ jsx51(Text, {
11770
+ children: /* @__PURE__ */ jsx52(Text, {
11743
11771
  className: "text-wrap",
11744
11772
  size: "sm",
11745
11773
  weight: "regular",
@@ -11754,8 +11782,8 @@ Textarea.displayName = "Textarea";
11754
11782
  // src/components/toggle.tsx
11755
11783
  import * as TogglePrimitive from "@radix-ui/react-toggle";
11756
11784
  import { cva as cva18 } from "class-variance-authority";
11757
- import * as React37 from "react";
11758
- import { jsx as jsx52 } from "react/jsx-runtime";
11785
+ import * as React38 from "react";
11786
+ import { jsx as jsx53 } from "react/jsx-runtime";
11759
11787
  var toggleVariants = cva18("inline-flex items-center justify-center rounded-sm text-sm font-medium ring-offset-white text-Colors-Text-Subtlest hover:bg-slate-100 hover:text-slate-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-950 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-Colors-Background-Normal-Primary-Active data-[state=on]:text-Colors-Text-Brand-Default [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 gap-2 dark:ring-offset-slate-950 dark:hover:bg-slate-800 dark:hover:text-Colors-Text-Brand-Default dark:focus-visible:ring-slate-300 dark:data-[state=on]:bg-Colors-Background-Normal-Primary-Active dark:data-[state=on]:text-Colors-Text-Brand-Default", {
11760
11788
  variants: {
11761
11789
  variant: {
@@ -11774,13 +11802,13 @@ var toggleVariants = cva18("inline-flex items-center justify-center rounded-sm t
11774
11802
  size: "default"
11775
11803
  }
11776
11804
  });
11777
- var Toggle = React37.forwardRef(function(_param, ref) {
11805
+ var Toggle = React38.forwardRef(function(_param, ref) {
11778
11806
  var className = _param.className, variant = _param.variant, size = _param.size, props = _object_without_properties(_param, [
11779
11807
  "className",
11780
11808
  "variant",
11781
11809
  "size"
11782
11810
  ]);
11783
- return /* @__PURE__ */ jsx52(TogglePrimitive.Root, _object_spread({
11811
+ return /* @__PURE__ */ jsx53(TogglePrimitive.Root, _object_spread({
11784
11812
  ref: ref,
11785
11813
  className: cn(toggleVariants({
11786
11814
  variant: variant,
@@ -11792,24 +11820,24 @@ var Toggle = React37.forwardRef(function(_param, ref) {
11792
11820
  Toggle.displayName = TogglePrimitive.Root.displayName;
11793
11821
  // src/components/toggle-group.tsx
11794
11822
  import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
11795
- import * as React38 from "react";
11796
- import { jsx as jsx53 } from "react/jsx-runtime";
11797
- var ToggleGroupContext = React38.createContext({
11823
+ import * as React39 from "react";
11824
+ import { jsx as jsx54 } from "react/jsx-runtime";
11825
+ var ToggleGroupContext = React39.createContext({
11798
11826
  size: "default",
11799
11827
  variant: "default"
11800
11828
  });
11801
- var ToggleGroup = React38.forwardRef(function(_param, ref) {
11829
+ var ToggleGroup = React39.forwardRef(function(_param, ref) {
11802
11830
  var className = _param.className, variant = _param.variant, size = _param.size, children = _param.children, props = _object_without_properties(_param, [
11803
11831
  "className",
11804
11832
  "variant",
11805
11833
  "size",
11806
11834
  "children"
11807
11835
  ]);
11808
- return /* @__PURE__ */ jsx53(ToggleGroupPrimitive.Root, _object_spread_props(_object_spread({
11836
+ return /* @__PURE__ */ jsx54(ToggleGroupPrimitive.Root, _object_spread_props(_object_spread({
11809
11837
  ref: ref,
11810
11838
  className: cn("flex items-center justify-center gap-1 p-0.5 rounded-sm border border-Colors-Border-Default bg-Colors-Background-Neutral-Primary-Default", className)
11811
11839
  }, props), {
11812
- children: /* @__PURE__ */ jsx53(ToggleGroupContext.Provider, {
11840
+ children: /* @__PURE__ */ jsx54(ToggleGroupContext.Provider, {
11813
11841
  value: {
11814
11842
  variant: variant,
11815
11843
  size: size
@@ -11819,15 +11847,15 @@ var ToggleGroup = React38.forwardRef(function(_param, ref) {
11819
11847
  }));
11820
11848
  });
11821
11849
  ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
11822
- var ToggleGroupItem = React38.forwardRef(function(_param, ref) {
11850
+ var ToggleGroupItem = React39.forwardRef(function(_param, ref) {
11823
11851
  var className = _param.className, children = _param.children, variant = _param.variant, size = _param.size, props = _object_without_properties(_param, [
11824
11852
  "className",
11825
11853
  "children",
11826
11854
  "variant",
11827
11855
  "size"
11828
11856
  ]);
11829
- var context = React38.useContext(ToggleGroupContext);
11830
- return /* @__PURE__ */ jsx53(ToggleGroupPrimitive.Item, _object_spread_props(_object_spread({
11857
+ var context = React39.useContext(ToggleGroupContext);
11858
+ return /* @__PURE__ */ jsx54(ToggleGroupPrimitive.Item, _object_spread_props(_object_spread({
11831
11859
  ref: ref,
11832
11860
  className: cn(toggleVariants({
11833
11861
  variant: context.variant || variant,
@@ -11840,7 +11868,7 @@ var ToggleGroupItem = React38.forwardRef(function(_param, ref) {
11840
11868
  ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
11841
11869
  // src/components/chips.tsx
11842
11870
  import { cva as cva19 } from "class-variance-authority";
11843
- import { jsx as jsx54, jsxs as jsxs31 } from "react/jsx-runtime";
11871
+ import { jsx as jsx55, jsxs as jsxs31 } from "react/jsx-runtime";
11844
11872
  var chipsVariants = cva19('min-w-10 flex items-center justify-center text-Colors-Text-Subtle rounded-sm border px-1.5 text-sm cursor-pointer focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 data-[disabled="true"]:cursor-not-allowed font-medium', {
11845
11873
  variants: {
11846
11874
  variant: {
@@ -11868,7 +11896,7 @@ function Chips(props) {
11868
11896
  }), className),
11869
11897
  children: [
11870
11898
  label,
11871
- count2 && count2 > 0 ? /* @__PURE__ */ jsx54("span", {
11899
+ count2 && count2 > 0 ? /* @__PURE__ */ jsx55("span", {
11872
11900
  className: "h-full pt-0.5 ml-1 font-medium text-xs leading-[1.3]",
11873
11901
  children: count2
11874
11902
  }) : null
@@ -11878,9 +11906,9 @@ function Chips(props) {
11878
11906
  // src/components/button/link-button.tsx
11879
11907
  import { Slot as Slot5 } from "@radix-ui/react-slot";
11880
11908
  import { Loader2 as Loader24 } from "lucide-react";
11881
- import * as React39 from "react";
11882
- import { Fragment as Fragment10, jsx as jsx55, jsxs as jsxs32 } from "react/jsx-runtime";
11883
- var LinkButton = React39.forwardRef(function(_param, ref) {
11909
+ import * as React40 from "react";
11910
+ import { Fragment as Fragment10, jsx as jsx56, jsxs as jsxs32 } from "react/jsx-runtime";
11911
+ var LinkButton = React40.forwardRef(function(_param, ref) {
11884
11912
  var _param_className = _param.className, className = _param_className === void 0 ? "" : _param_className, iconClassName = _param.iconClassName, _param_color = _param.color, color = _param_color === void 0 ? "default" : _param_color, icon = _param.icon, _param_iconDirection = _param.iconDirection, iconDirection = _param_iconDirection === void 0 ? "left" : _param_iconDirection, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, _param_asChild = _param.asChild, asChild = _param_asChild === void 0 ? false : _param_asChild, _param_loading = _param.loading, loading = _param_loading === void 0 ? false : _param_loading, _param_noStyle = _param.noStyle, noStyle = _param_noStyle === void 0 ? false : _param_noStyle, _param_iconOutBox = _param.iconOutBox, iconOutBox = _param_iconOutBox === void 0 ? false : _param_iconOutBox, _param_isBlock = _param.isBlock, isBlock = _param_isBlock === void 0 ? false : _param_isBlock, disabled = _param.disabled, children = _param.children, autoFocus = _param.autoFocus, asset = _param.asset, _param_assetNumber = _param.assetNumber, assetNumber = _param_assetNumber === void 0 ? 0 : _param_assetNumber, props = _object_without_properties(_param, [
11885
11913
  "className",
11886
11914
  "iconClassName",
@@ -11913,9 +11941,9 @@ var LinkButton = React39.forwardRef(function(_param, ref) {
11913
11941
  autoFocus: autoFocus
11914
11942
  }, props), {
11915
11943
  children: [
11916
- loading && /* @__PURE__ */ jsx55("span", {
11944
+ loading && /* @__PURE__ */ jsx56("span", {
11917
11945
  className: "absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center",
11918
- children: /* @__PURE__ */ jsx55(Loader24, {
11946
+ children: /* @__PURE__ */ jsx56(Loader24, {
11919
11947
  className: cn(iconVariants2({
11920
11948
  variant: "link",
11921
11949
  size: size
@@ -11940,18 +11968,18 @@ var LinkButton = React39.forwardRef(function(_param, ref) {
11940
11968
  children,
11941
11969
  asset ? /* @__PURE__ */ jsxs32(Fragment10, {
11942
11970
  children: [
11943
- /* @__PURE__ */ jsx55(Separator, {
11971
+ /* @__PURE__ */ jsx56(Separator, {
11944
11972
  orientation: "vertical",
11945
11973
  className: cn("mx-1.5 h-3")
11946
11974
  }),
11947
- /* @__PURE__ */ jsx55(Image2, {
11975
+ /* @__PURE__ */ jsx56(Image2, {
11948
11976
  src: asset === "energy" ? getAssetsUrl("image/bot/tag/20231214/1719340128612116720.png") : "",
11949
11977
  alt: asset,
11950
11978
  width: 16,
11951
11979
  height: 16,
11952
11980
  className: "flex-shrink-0"
11953
11981
  }),
11954
- /* @__PURE__ */ jsx55(Text, {
11982
+ /* @__PURE__ */ jsx56(Text, {
11955
11983
  size: "xs",
11956
11984
  className: cn("ml-0.5 text-inherit"),
11957
11985
  children: assetNumber
@@ -11977,7 +12005,7 @@ var LinkButton = React39.forwardRef(function(_param, ref) {
11977
12005
  });
11978
12006
  var renderIcon2 = function(icon, direction, param) {
11979
12007
  var loading = param.loading, noStyle = param.noStyle, iconClassName = param.iconClassName, _param_size = param.size, size = _param_size === void 0 ? "lg" : _param_size;
11980
- return /* @__PURE__ */ jsx55(Icon, {
12008
+ return /* @__PURE__ */ jsx56(Icon, {
11981
12009
  component: icon,
11982
12010
  className: noStyle ? iconClassName : cn(iconVariants2({
11983
12011
  variant: "link",
@@ -11988,7 +12016,7 @@ var renderIcon2 = function(icon, direction, param) {
11988
12016
  LinkButton.displayName = "LinkButton";
11989
12017
  // src/components/state.tsx
11990
12018
  import { useRouter } from "next/navigation";
11991
- import { jsx as jsx56, jsxs as jsxs33 } from "react/jsx-runtime";
12019
+ import { jsx as jsx57, jsxs as jsxs33 } from "react/jsx-runtime";
11992
12020
  var stateIconUrls = {
11993
12021
  "not-found": "https://myshellstatic.com/image/website/20250425/page-no-results.png",
11994
12022
  "no-page": "https://myshellstatic.com/image/website/20250425/page-not-found.png",
@@ -12006,15 +12034,15 @@ var State2 = function(param) {
12006
12034
  }
12007
12035
  };
12008
12036
  var IconComponent2 = icon ? function() {
12009
- return /* @__PURE__ */ jsx56(Icon, {
12037
+ return /* @__PURE__ */ jsx57(Icon, {
12010
12038
  component: icon,
12011
12039
  size: "4xl",
12012
12040
  className: iconClassName
12013
12041
  });
12014
12042
  } : function() {
12015
- return /* @__PURE__ */ jsx56("div", {
12043
+ return /* @__PURE__ */ jsx57("div", {
12016
12044
  className: "w-[146px] md:w-[220px] h-[146px] md:h-[220px] rounded-full object-cover",
12017
- children: /* @__PURE__ */ jsx56(Image2, {
12045
+ children: /* @__PURE__ */ jsx57(Image2, {
12018
12046
  src: logo || stateIconUrls[variant],
12019
12047
  alt: "state icon",
12020
12048
  className: cn("w-full h-full rounded-full object-cover", logoClassName)
@@ -12027,19 +12055,19 @@ var State2 = function(param) {
12027
12055
  "space-y-3": icon
12028
12056
  }),
12029
12057
  children: [
12030
- !hideLogo && /* @__PURE__ */ jsx56(IconComponent2, {}),
12058
+ !hideLogo && /* @__PURE__ */ jsx57(IconComponent2, {}),
12031
12059
  /* @__PURE__ */ jsxs33("div", {
12032
12060
  className: "flex flex-col items-center space-y-4",
12033
12061
  children: [
12034
12062
  /* @__PURE__ */ jsxs33("div", {
12035
12063
  className: "flex flex-col items-center space-y-1",
12036
12064
  children: [
12037
- title && /* @__PURE__ */ jsx56(Display, {
12065
+ title && /* @__PURE__ */ jsx57(Display, {
12038
12066
  size: "sm",
12039
12067
  className: titleClassName,
12040
12068
  children: title
12041
12069
  }),
12042
- /* @__PURE__ */ jsx56(Text, {
12070
+ /* @__PURE__ */ jsx57(Text, {
12043
12071
  size: "sm",
12044
12072
  color: "subtle",
12045
12073
  className: descriptionClassName,
@@ -12047,7 +12075,7 @@ var State2 = function(param) {
12047
12075
  })
12048
12076
  ]
12049
12077
  }),
12050
- backBtnText && /* @__PURE__ */ jsx56(Button, {
12078
+ backBtnText && /* @__PURE__ */ jsx57(Button, {
12051
12079
  size: "lg",
12052
12080
  onClick: handleBack,
12053
12081
  children: backBtnText
@@ -12058,31 +12086,31 @@ var State2 = function(param) {
12058
12086
  });
12059
12087
  };
12060
12088
  var ErrorState = function(args) {
12061
- return /* @__PURE__ */ jsx56(State2, _object_spread_props(_object_spread({}, args), {
12089
+ return /* @__PURE__ */ jsx57(State2, _object_spread_props(_object_spread({}, args), {
12062
12090
  variant: "error"
12063
12091
  }));
12064
12092
  };
12065
12093
  var NetworkErrorState = function(args) {
12066
- return /* @__PURE__ */ jsx56(State2, _object_spread_props(_object_spread({}, args), {
12094
+ return /* @__PURE__ */ jsx57(State2, _object_spread_props(_object_spread({}, args), {
12067
12095
  variant: "network-error"
12068
12096
  }));
12069
12097
  };
12070
12098
  var NotFoundState = function(args) {
12071
- return /* @__PURE__ */ jsx56(State2, _object_spread_props(_object_spread({}, args), {
12099
+ return /* @__PURE__ */ jsx57(State2, _object_spread_props(_object_spread({}, args), {
12072
12100
  variant: "not-found"
12073
12101
  }));
12074
12102
  };
12075
12103
  var NoPageState = function(args) {
12076
- return /* @__PURE__ */ jsx56(State2, _object_spread_props(_object_spread({}, args), {
12104
+ return /* @__PURE__ */ jsx57(State2, _object_spread_props(_object_spread({}, args), {
12077
12105
  variant: "no-page"
12078
12106
  }));
12079
12107
  };
12080
12108
  // src/components/toast/toast.tsx
12081
12109
  import * as ToastPrimitives from "@radix-ui/react-toast";
12082
12110
  import { cva as cva20 } from "class-variance-authority";
12083
- import * as React40 from "react";
12111
+ import * as React41 from "react";
12084
12112
  import XMarkIcon3 from "@heroicons/react/24/outline/esm/XMarkIcon";
12085
- import { jsx as jsx57 } from "react/jsx-runtime";
12113
+ import { jsx as jsx58 } from "react/jsx-runtime";
12086
12114
  var ToastProvider = ToastPrimitives.Provider;
12087
12115
  var viewportPositionVariants = cva20("fixed z-[1000001] flex max-h-screen w-full p-0 gap-2", {
12088
12116
  variants: {
@@ -12101,12 +12129,12 @@ var viewportPositionVariants = cva20("fixed z-[1000001] flex max-h-screen w-full
12101
12129
  position: "top-right"
12102
12130
  }
12103
12131
  });
12104
- var ToastViewport = React40.forwardRef(function(_param, ref) {
12132
+ var ToastViewport = React41.forwardRef(function(_param, ref) {
12105
12133
  var className = _param.className, position = _param.position, props = _object_without_properties(_param, [
12106
12134
  "className",
12107
12135
  "position"
12108
12136
  ]);
12109
- return /* @__PURE__ */ jsx57(ToastPrimitives.Viewport, _object_spread({
12137
+ return /* @__PURE__ */ jsx58(ToastPrimitives.Viewport, _object_spread({
12110
12138
  ref: ref,
12111
12139
  className: cn(viewportPositionVariants({
12112
12140
  position: position
@@ -12138,13 +12166,13 @@ var toastVariants = cva20("group pointer-events-auto relative flex w-full items-
12138
12166
  position: "top-right"
12139
12167
  }
12140
12168
  });
12141
- var Toast = React40.forwardRef(function(_param, ref) {
12169
+ var Toast = React41.forwardRef(function(_param, ref) {
12142
12170
  var className = _param.className, variant = _param.variant, position = _param.position, props = _object_without_properties(_param, [
12143
12171
  "className",
12144
12172
  "variant",
12145
12173
  "position"
12146
12174
  ]);
12147
- return /* @__PURE__ */ jsx57(ToastPrimitives.Root, _object_spread({
12175
+ return /* @__PURE__ */ jsx58(ToastPrimitives.Root, _object_spread({
12148
12176
  ref: ref,
12149
12177
  className: cn(toastVariants({
12150
12178
  variant: variant,
@@ -12154,46 +12182,46 @@ var Toast = React40.forwardRef(function(_param, ref) {
12154
12182
  }, props));
12155
12183
  });
12156
12184
  Toast.displayName = ToastPrimitives.Root.displayName;
12157
- var ToastAction = React40.forwardRef(function(_param, ref) {
12185
+ var ToastAction = React41.forwardRef(function(_param, ref) {
12158
12186
  var className = _param.className, props = _object_without_properties(_param, [
12159
12187
  "className"
12160
12188
  ]);
12161
- return /* @__PURE__ */ jsx57(ToastPrimitives.Action, _object_spread({
12189
+ return /* @__PURE__ */ jsx58(ToastPrimitives.Action, _object_spread({
12162
12190
  ref: ref,
12163
12191
  className: cn("inline-flex h-8 shrink-0 items-center justify-center rounded-sm border border-slate-200 bg-transparent px-3 text-sm font-medium ring-offset-white transition-colors hover:bg-slate-100 focus:outline-none focus:ring-2 focus:ring-slate-950 focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-slate-100/40 group-[.destructive]:hover:border-red-500/30 group-[.destructive]:hover:bg-red-500 group-[.destructive]:hover:text-slate-50 group-[.destructive]:focus:ring-red-500 dark:border-slate-800 dark:ring-offset-slate-950 dark:hover:bg-slate-800 dark:focus:ring-slate-300 dark:group-[.destructive]:border-slate-800/40 dark:group-[.destructive]:hover:border-red-900/30 dark:group-[.destructive]:hover:bg-red-900 dark:group-[.destructive]:hover:text-slate-50 dark:group-[.destructive]:focus:ring-red-900", className)
12164
12192
  }, props));
12165
12193
  });
12166
12194
  ToastAction.displayName = ToastPrimitives.Action.displayName;
12167
- var ToastClose = React40.forwardRef(function(_param, ref) {
12195
+ var ToastClose = React41.forwardRef(function(_param, ref) {
12168
12196
  var className = _param.className, props = _object_without_properties(_param, [
12169
12197
  "className"
12170
12198
  ]);
12171
- return /* @__PURE__ */ jsx57(ToastPrimitives.Close, _object_spread_props(_object_spread({
12199
+ return /* @__PURE__ */ jsx58(ToastPrimitives.Close, _object_spread_props(_object_spread({
12172
12200
  ref: ref,
12173
12201
  className: cn("absolute right-4 top-4 rounded-sm p-1 text-slate-950/50 transition-opacity hover:text-slate-950 outline-none focus:outline-none focus:ring-2 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600 dark:text-slate-50/50 dark:hover:text-slate-50", className),
12174
12202
  "toast-close": ""
12175
12203
  }, props), {
12176
- children: /* @__PURE__ */ jsx57(XMarkIcon3, {
12204
+ children: /* @__PURE__ */ jsx58(XMarkIcon3, {
12177
12205
  className: "h-5 w-5"
12178
12206
  })
12179
12207
  }));
12180
12208
  });
12181
12209
  ToastClose.displayName = ToastPrimitives.Close.displayName;
12182
- var ToastTitle = React40.forwardRef(function(_param, ref) {
12210
+ var ToastTitle = React41.forwardRef(function(_param, ref) {
12183
12211
  var className = _param.className, props = _object_without_properties(_param, [
12184
12212
  "className"
12185
12213
  ]);
12186
- return /* @__PURE__ */ jsx57(ToastPrimitives.Title, _object_spread({
12214
+ return /* @__PURE__ */ jsx58(ToastPrimitives.Title, _object_spread({
12187
12215
  ref: ref,
12188
12216
  className: cn("text-sm font-semibold", className)
12189
12217
  }, props));
12190
12218
  });
12191
12219
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
12192
- var ToastDescription = React40.forwardRef(function(_param, ref) {
12220
+ var ToastDescription = React41.forwardRef(function(_param, ref) {
12193
12221
  var className = _param.className, props = _object_without_properties(_param, [
12194
12222
  "className"
12195
12223
  ]);
12196
- return /* @__PURE__ */ jsx57(ToastPrimitives.Description, _object_spread({
12224
+ return /* @__PURE__ */ jsx58(ToastPrimitives.Description, _object_spread({
12197
12225
  ref: ref,
12198
12226
  className: cn("text-sm opacity-90", className)
12199
12227
  }, props));
@@ -12204,8 +12232,8 @@ import CheckCircleIcon2 from "@heroicons/react/24/outline/esm/CheckCircleIcon";
12204
12232
  import InformationCircleIcon2 from "@heroicons/react/24/outline/esm/InformationCircleIcon";
12205
12233
  import XCircleIcon2 from "@heroicons/react/24/outline/esm/XCircleIcon";
12206
12234
  // src/components/toast/use-toast.tsx
12207
- import * as React41 from "react";
12208
- import { jsx as jsx58, jsxs as jsxs34 } from "react/jsx-runtime";
12235
+ import * as React42 from "react";
12236
+ import { jsx as jsx59, jsxs as jsxs34 } from "react/jsx-runtime";
12209
12237
  var TOAST_LIMIT = 8;
12210
12238
  var TOAST_REMOVE_DELAY = 1e3;
12211
12239
  var count = 0;
@@ -12311,7 +12339,7 @@ function toast(_param) {
12311
12339
  action: /* @__PURE__ */ jsxs34("div", {
12312
12340
  className: "flex justify-start items-center gap-2",
12313
12341
  children: [
12314
- (actions === null || actions === void 0 ? void 0 : actions.dismissText) && /* @__PURE__ */ jsx58(Text, {
12342
+ (actions === null || actions === void 0 ? void 0 : actions.dismissText) && /* @__PURE__ */ jsx59(Text, {
12315
12343
  size: "sm",
12316
12344
  weight: "medium",
12317
12345
  color: "brand",
@@ -12321,13 +12349,13 @@ function toast(_param) {
12321
12349
  },
12322
12350
  children: actions === null || actions === void 0 ? void 0 : actions.dismissText
12323
12351
  }),
12324
- (actions === null || actions === void 0 ? void 0 : actions.view) && actions.viewUrl && /* @__PURE__ */ jsx58(link_default, {
12352
+ (actions === null || actions === void 0 ? void 0 : actions.view) && actions.viewUrl && /* @__PURE__ */ jsx59(link_default, {
12325
12353
  href: actions.viewUrl,
12326
12354
  target: "_blank",
12327
12355
  rel: "noreferrer noopener",
12328
- children: /* @__PURE__ */ jsx58("div", {
12356
+ children: /* @__PURE__ */ jsx59("div", {
12329
12357
  className: "flex items-center gap-1.5",
12330
- children: /* @__PURE__ */ jsx58(Text, {
12358
+ children: /* @__PURE__ */ jsx59(Text, {
12331
12359
  size: "sm",
12332
12360
  weight: "medium",
12333
12361
  color: "default",
@@ -12353,8 +12381,8 @@ function toast(_param) {
12353
12381
  };
12354
12382
  }
12355
12383
  function useToast() {
12356
- var _React41_useState = _sliced_to_array(React41.useState(memoryState), 2), state = _React41_useState[0], setState = _React41_useState[1];
12357
- React41.useEffect(function() {
12384
+ var _React42_useState = _sliced_to_array(React42.useState(memoryState), 2), state = _React42_useState[0], setState = _React42_useState[1];
12385
+ React42.useEffect(function() {
12358
12386
  listeners.push(setState);
12359
12387
  return function() {
12360
12388
  var index = listeners.indexOf(setState);
@@ -12376,13 +12404,13 @@ function useToast() {
12376
12404
  });
12377
12405
  }
12378
12406
  // src/components/toast/toaster.tsx
12379
- import React42 from "react";
12407
+ import React43 from "react";
12380
12408
  import { ExclamationTriangleIcon as ExclamationTriangleIcon2 } from "@heroicons/react/24/outline";
12381
- import { jsx as jsx59, jsxs as jsxs35 } from "react/jsx-runtime";
12409
+ import { jsx as jsx60, jsxs as jsxs35 } from "react/jsx-runtime";
12382
12410
  function Toaster() {
12383
12411
  var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_position = _ref.position, position = _ref_position === void 0 ? "top-right" : _ref_position;
12384
12412
  var toasts = useToast().toasts;
12385
- var positionGroups = React42.useMemo(function() {
12413
+ var positionGroups = React43.useMemo(function() {
12386
12414
  var groups = {};
12387
12415
  var allPositions = [
12388
12416
  "top-left",
@@ -12415,19 +12443,19 @@ function Toaster() {
12415
12443
  var renderIcon3 = function(variant2) {
12416
12444
  switch(variant2){
12417
12445
  case "info":
12418
- return /* @__PURE__ */ jsx59(InformationCircleIcon2, {
12446
+ return /* @__PURE__ */ jsx60(InformationCircleIcon2, {
12419
12447
  className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Info"
12420
12448
  });
12421
12449
  case "success":
12422
- return /* @__PURE__ */ jsx59(CheckCircleIcon2, {
12450
+ return /* @__PURE__ */ jsx60(CheckCircleIcon2, {
12423
12451
  className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Success"
12424
12452
  });
12425
12453
  case "warning":
12426
- return /* @__PURE__ */ jsx59(ExclamationTriangleIcon2, {
12454
+ return /* @__PURE__ */ jsx60(ExclamationTriangleIcon2, {
12427
12455
  className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Warning"
12428
12456
  });
12429
12457
  case "error":
12430
- return /* @__PURE__ */ jsx59(XCircleIcon2, {
12458
+ return /* @__PURE__ */ jsx60(XCircleIcon2, {
12431
12459
  className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Error"
12432
12460
  });
12433
12461
  }
@@ -12447,23 +12475,23 @@ function Toaster() {
12447
12475
  return /* @__PURE__ */ jsxs35(Toast, _object_spread_props(_object_spread({}, toast4), {
12448
12476
  position: toastPosition,
12449
12477
  children: [
12450
- /* @__PURE__ */ jsx59("div", {
12478
+ /* @__PURE__ */ jsx60("div", {
12451
12479
  className: "flex flex-col gap-3",
12452
12480
  children: /* @__PURE__ */ jsxs35("div", {
12453
12481
  className: "flex items-start gap-3",
12454
12482
  children: [
12455
- /* @__PURE__ */ jsx59("div", {
12483
+ /* @__PURE__ */ jsx60("div", {
12456
12484
  className: cn("flex h-10 w-10 flex-shrink-0 flex-grow-0 items-center justify-center rounded-full", getBackgroundColor(variant)),
12457
12485
  children: renderIcon3(variant)
12458
12486
  }),
12459
12487
  /* @__PURE__ */ jsxs35("div", {
12460
12488
  className: "grid gap-1",
12461
12489
  children: [
12462
- title && /* @__PURE__ */ jsx59(ToastTitle, {
12490
+ title && /* @__PURE__ */ jsx60(ToastTitle, {
12463
12491
  className: "text-base text-Colors-Text-Default",
12464
12492
  children: title
12465
12493
  }),
12466
- description && /* @__PURE__ */ jsx59(ToastDescription, {
12494
+ description && /* @__PURE__ */ jsx60(ToastDescription, {
12467
12495
  className: "text-sm text-Colors-Text-Subtle",
12468
12496
  children: description
12469
12497
  }),
@@ -12473,17 +12501,17 @@ function Toaster() {
12473
12501
  ]
12474
12502
  })
12475
12503
  }),
12476
- /* @__PURE__ */ jsx59(ToastClose, {})
12504
+ /* @__PURE__ */ jsx60(ToastClose, {})
12477
12505
  ]
12478
12506
  }), id);
12479
12507
  };
12480
- return /* @__PURE__ */ jsx59(ToastProvider, {
12508
+ return /* @__PURE__ */ jsx60(ToastProvider, {
12481
12509
  children: Object.entries(positionGroups).map(function(param) {
12482
12510
  var _param = _sliced_to_array(param, 2), pos = _param[0], toastsForPosition = _param[1];
12483
- return /* @__PURE__ */ jsxs35(React42.Fragment, {
12511
+ return /* @__PURE__ */ jsxs35(React43.Fragment, {
12484
12512
  children: [
12485
12513
  toastsForPosition.map(renderToast),
12486
- toastsForPosition.length > 0 && /* @__PURE__ */ jsx59(ToastViewport, {
12514
+ toastsForPosition.length > 0 && /* @__PURE__ */ jsx60(ToastViewport, {
12487
12515
  position: pos
12488
12516
  })
12489
12517
  ]
@@ -12505,7 +12533,7 @@ import "swiper/css/pagination";
12505
12533
  // src/components/swiper/index.module.scss
12506
12534
  var index_module_default = '.swiperBox {\n @apply w-full h-fit;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev) {\n @apply bg-contain bg-no-repeat;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzQxNDM0NSIgY2xhc3M9InNpemUtNSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTEuNzggNS4yMmEuNzUuNzUgMCAwIDEgMCAxLjA2TDguMDYgMTBsMy43MiAzLjcyYS43NS43NSAwIDEgMS0xLjA2IDEuMDZsLTQuMjUtNC4yNWEuNzUuNzUgMCAwIDEgMC0xLjA2bDQuMjUtNC4yNWEuNzUuNzUgMCAwIDEgMS4wNiAwWiIgY2xpcC1ydWxlPSJldmVub2RkIiAvPgo8L3N2Zz4K");\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next) {\n @apply bg-contain bg-no-repeat;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzQxNDM0NSIgY2xhc3M9InNpemUtNSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOC4yMiA1LjIyYS43NS43NSAwIDAgMSAxLjA2IDBsNC4yNSA0LjI1YS43NS43NSAwIDAgMSAwIDEuMDZsLTQuMjUgNC4yNWEuNzUuNzUgMCAwIDEtMS4wNi0xLjA2TDExLjk0IDEwIDguMjIgNi4yOGEuNzUuNzUgMCAwIDEgMC0xLjA2WiIgY2xpcC1ydWxlPSJldmVub2RkIiAvPgo8L3N2Zz4KCg==");\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev::after) {\n @apply text-Colors-Foreground-Default content-none;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next::after) {\n @apply text-Colors-Foreground-Default content-none;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.banner-swiper-slide.swiper-slide-prev) {\n @apply origin-right;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.banner-swiper-slide.swiper-slide-next) {\n @apply origin-left;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-slide-active) {\n @apply opacity-100;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-button-next) {\n @apply -right-4 md:right-0 3xl:right-[calc((100%-1200px)/2-16px)];\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-button-prev) {\n @apply -left-4 md:left-0 3xl:left-[calc((100%-1200px)/2-16px)];\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-next) {\n @apply right-0;\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-prev) {\n @apply left-0;\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-disabled) {\n @apply hidden;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-next) {\n @apply right-0;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-prev) {\n @apply left-0;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-disabled) {\n @apply hidden;\n}\n.swiperBox :global(.swiper.grid-swiper) :global(.swiper-wrapper) {\n @apply w-[100vw] md:w-full flex-wrap flex-col m-0;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next) {\n @apply hidden md:flex justify-center items-center absolute top-[50%] w-8 h-8 font-semibold text-Colors-Foreground-Default border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-Colors-Background-Normal-Primary-Hover active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next)::after {\n @apply text-Colors-Foreground-Default text-xs font-bold;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev) {\n @apply hidden md:flex justify-center items-center absolute top-[50%] w-8 h-8 font-semibold text-Colors-Foreground-Default border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-Colors-Background-Normal-Primary-Hover active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev)::after {\n @apply text-Colors-Foreground-Default text-xs font-bold;\n}\n\n.animate :global(.swiper-slide) {\n transition: transform 500ms linear;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiL1VzZXJzL3hpYW9ndWFuZy9jb2RlL215c2hlbGwtcmVhY3QtbGliL3NyYy9jb21wb25lbnRzL3N3aXBlciIsInNvdXJjZXMiOlsiaW5kZXgubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRTs7QUFHRTtFQUNFO0VBQ0E7O0FBRUY7RUFDRTtFQUNBOztBQUVGO0VBQ0U7O0FBRUY7RUFDRTs7QUFJRjtFQUVFOztBQUVGO0VBRUU7O0FBRUY7RUFDRTs7QUFHRjtFQUNFOztBQUVGO0VBQ0U7O0FBSUY7RUFDRTs7QUFFRjtFQUNFOztBQUVGO0VBQ0U7O0FBSUY7RUFDRTs7QUFFRjtFQUNFOztBQUVGO0VBQ0U7O0FBSUY7RUFDRTs7QUFLRjtFQUNFOztBQUNFO0VBQ0U7O0FBR047RUFDRTs7QUFDRTtFQUNFOzs7QUFPUjtFQUNFIiwic291cmNlc0NvbnRlbnQiOlsiLnN3aXBlckJveHtcbiAgQGFwcGx5IHctZnVsbCBoLWZpdDtcbiAgXG4gIDpnbG9iYWwoLnN3aXBlcikge1xuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tcHJldil7XG4gICAgICBAYXBwbHkgYmctY29udGFpbiBiZy1uby1yZXBlYXQ7XG4gICAgICBiYWNrZ3JvdW5kLWltYWdlOiB1cmwoJ2RhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QjRiV3h1Y3owaWFIUjBjRG92TDNkM2R5NTNNeTV2Y21jdk1qQXdNQzl6ZG1jaUlIWnBaWGRDYjNnOUlqQWdNQ0F5TUNBeU1DSWdabWxzYkQwaUl6UXhORE0wTlNJZ1kyeGhjM005SW5OcGVtVXROU0krQ2lBZ1BIQmhkR2dnWm1sc2JDMXlkV3hsUFNKbGRtVnViMlJrSWlCa1BTSk5NVEV1TnpnZ05TNHlNbUV1TnpVdU56VWdNQ0F3SURFZ01DQXhMakEyVERndU1EWWdNVEJzTXk0M01pQXpMamN5WVM0M05TNDNOU0F3SURFZ01TMHhMakEySURFdU1EWnNMVFF1TWpVdE5DNHlOV0V1TnpVdU56VWdNQ0F3SURFZ01DMHhMakEyYkRRdU1qVXROQzR5TldFdU56VXVOelVnTUNBd0lERWdNUzR3TmlBd1dpSWdZMnhwY0MxeWRXeGxQU0psZG1WdWIyUmtJaUF2UGdvOEwzTjJaejRLJyk7IFxuICAgIH1cbiAgICA6Z2xvYmFsKC5zd2lwZXItYnV0dG9uLW5leHQpe1xuICAgICAgQGFwcGx5IGJnLWNvbnRhaW4gYmctbm8tcmVwZWF0O1xuICAgICAgYmFja2dyb3VuZC1pbWFnZTogdXJsKCdkYXRhOmltYWdlL3N2Zyt4bWw7YmFzZTY0LFBITjJaeUI0Yld4dWN6MGlhSFIwY0RvdkwzZDNkeTUzTXk1dmNtY3ZNakF3TUM5emRtY2lJSFpwWlhkQ2IzZzlJakFnTUNBeU1DQXlNQ0lnWm1sc2JEMGlJelF4TkRNME5TSWdZMnhoYzNNOUluTnBlbVV0TlNJK0NpQWdQSEJoZEdnZ1ptbHNiQzF5ZFd4bFBTSmxkbVZ1YjJSa0lpQmtQU0pOT0M0eU1pQTFMakl5WVM0M05TNDNOU0F3SURBZ01TQXhMakEySURCc05DNHlOU0EwTGpJMVlTNDNOUzQzTlNBd0lEQWdNU0F3SURFdU1EWnNMVFF1TWpVZ05DNHlOV0V1TnpVdU56VWdNQ0F3SURFdE1TNHdOaTB4TGpBMlRERXhMamswSURFd0lEZ3VNaklnTmk0eU9HRXVOelV1TnpVZ01DQXdJREVnTUMweExqQTJXaUlnWTJ4cGNDMXlkV3hsUFNKbGRtVnViMlJrSWlBdlBnbzhMM04yWno0S0NnPT0nKTsgXG4gICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tcHJldjo6YWZ0ZXIpe1xuICAgICAgQGFwcGx5IHRleHQtQ29sb3JzLUZvcmVncm91bmQtRGVmYXVsdCBjb250ZW50LW5vbmU7XG4gICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tbmV4dDo6YWZ0ZXIpe1xuICAgICAgQGFwcGx5IHRleHQtQ29sb3JzLUZvcmVncm91bmQtRGVmYXVsdCBjb250ZW50LW5vbmU7XG4gICAgfVxuICB9XG4gIDpnbG9iYWwoLnN3aXBlci5iYW5uZXItc3dpcGVyKSB7XG4gICAgOmdsb2JhbCguYmFubmVyLXN3aXBlci1zbGlkZS5zd2lwZXItc2xpZGUtcHJldikge1xuICAgICAgLy8gdHJhbnNmb3JtOiBzY2FsZSgwLjgpO1xuICAgICAgQGFwcGx5IG9yaWdpbi1yaWdodDtcbiAgICB9XG4gICAgOmdsb2JhbCguYmFubmVyLXN3aXBlci1zbGlkZS5zd2lwZXItc2xpZGUtbmV4dCkge1xuICAgICAgLy8gdHJhbnNmb3JtOiBzY2FsZSgwLjgpO1xuICAgICAgQGFwcGx5IG9yaWdpbi1sZWZ0O1xuICAgIH1cbiAgICA6Z2xvYmFsKC5zd2lwZXItc2xpZGUtYWN0aXZlKSB7XG4gICAgICBAYXBwbHkgb3BhY2l0eS0xMDA7XG4gICAgICAvLyB0cmFuc2Zvcm06IHNjYWxlKDEpIHRyYW5zbGF0ZVgoMCk7XG4gICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tbmV4dCl7XG4gICAgICBAYXBwbHkgLXJpZ2h0LTQgbWQ6cmlnaHQtMCAzeGw6cmlnaHQtW2NhbGMoKDEwMCUtMTIwMHB4KS8yLTE2cHgpXTtcbiAgICB9XG4gICAgOmdsb2JhbCguc3dpcGVyLWJ1dHRvbi1wcmV2KXtcbiAgICAgIEBhcHBseSAtbGVmdC00IG1kOmxlZnQtMCAzeGw6bGVmdC1bY2FsYygoMTAwJS0xMjAwcHgpLzItMTZweCldO1xuICAgIH1cbiAgfVxuICA6Z2xvYmFsKC5zd2lwZXIuZmVhdHVyZS1zd2lwZXIpIHtcbiAgICA6Z2xvYmFsKC5zd2lwZXItYnV0dG9uLW5leHQpe1xuICAgICAgQGFwcGx5IHJpZ2h0LTA7XG4gICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tcHJldil7XG4gICAgICBAYXBwbHkgbGVmdC0wO1xuICAgIH1cbiAgICA6Z2xvYmFsKC5zd2lwZXItYnV0dG9uLWRpc2FibGVkKSB7XG4gICAgICBAYXBwbHkgaGlkZGVuO1xuICAgIH1cbiAgfVxuICA6Z2xvYmFsKC5zd2lwZXIucGF0cm9uLWJhZGdlLXN3aXBlcikge1xuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tbmV4dCl7XG4gICAgICBAYXBwbHkgcmlnaHQtMDtcbiAgICB9XG4gICAgOmdsb2JhbCguc3dpcGVyLWJ1dHRvbi1wcmV2KXtcbiAgICAgIEBhcHBseSBsZWZ0LTA7XG4gICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tZGlzYWJsZWQpIHtcbiAgICAgIEBhcHBseSBoaWRkZW47XG4gICAgfVxuICB9XG4gIDpnbG9iYWwoLnN3aXBlci5ncmlkLXN3aXBlcikge1xuICAgIDpnbG9iYWwoLnN3aXBlci13cmFwcGVyKSB7XG4gICAgICBAYXBwbHkgdy1bMTAwdnddIG1kOnctZnVsbCBmbGV4LXdyYXAgZmxleC1jb2wgbS0wO1xuICAgIH1cbiAgfVxuICA6Z2xvYmFsKC5zd2lwZXIpIHtcbiAgICBcbiAgICA6Z2xvYmFsKC5zd2lwZXItYnV0dG9uLW5leHQpe1xuICAgICAgQGFwcGx5IGhpZGRlbiBtZDpmbGV4IGp1c3RpZnktY2VudGVyIGl0ZW1zLWNlbnRlciBhYnNvbHV0ZSB0b3AtWzUwJV0gdy04IGgtOCBmb250LXNlbWlib2xkIHRleHQtQ29sb3JzLUZvcmVncm91bmQtRGVmYXVsdCBib3JkZXIgYm9yZGVyLUNvbG9ycy1Cb3JkZXItRGVmYXVsdCBiZy1Db2xvcnMtQmFja2dyb3VuZC1Ob3JtYWwtUHJpbWFyeS1EZWZhdWx0IHJvdW5kZWQtZnVsbCBjdXJzb3ItcG9pbnRlciBob3ZlcjpiZy1Db2xvcnMtQmFja2dyb3VuZC1Ob3JtYWwtUHJpbWFyeS1Ib3ZlciBhY3RpdmU6YmctQ29sb3JzLUJhY2tncm91bmQtTm9ybWFsLVByaW1hcnktQWN0aXZlO1xuICAgICAgICAmOjphZnRlciB7XG4gICAgICAgICAgQGFwcGx5IHRleHQtQ29sb3JzLUZvcmVncm91bmQtRGVmYXVsdCB0ZXh0LXhzIGZvbnQtYm9sZDtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIDpnbG9iYWwoLnN3aXBlci1idXR0b24tcHJldil7XG4gICAgICBAYXBwbHkgaGlkZGVuIG1kOmZsZXgganVzdGlmeS1jZW50ZXIgaXRlbXMtY2VudGVyIGFic29sdXRlIHRvcC1bNTAlXSB3LTggaC04IGZvbnQtc2VtaWJvbGQgdGV4dC1Db2xvcnMtRm9yZWdyb3VuZC1EZWZhdWx0IGJvcmRlciBib3JkZXItQ29sb3JzLUJvcmRlci1EZWZhdWx0IGJnLUNvbG9ycy1CYWNrZ3JvdW5kLU5vcm1hbC1QcmltYXJ5LURlZmF1bHQgcm91bmRlZC1mdWxsIGN1cnNvci1wb2ludGVyIGhvdmVyOmJnLUNvbG9ycy1CYWNrZ3JvdW5kLU5vcm1hbC1QcmltYXJ5LUhvdmVyIGFjdGl2ZTpiZy1Db2xvcnMtQmFja2dyb3VuZC1Ob3JtYWwtUHJpbWFyeS1BY3RpdmU7XG4gICAgICAgICY6OmFmdGVyIHtcbiAgICAgICAgICBAYXBwbHkgdGV4dC1Db2xvcnMtRm9yZWdyb3VuZC1EZWZhdWx0IHRleHQteHMgZm9udC1ib2xkO1xuICAgICAgfVxuICAgIH1cbiAgfVxufVxuXG4uYW5pbWF0ZSB7XG4gIDpnbG9iYWwoLnN3aXBlci1zbGlkZSkge1xuICAgIHRyYW5zaXRpb246IHRyYW5zZm9ybSA1MDBtcyBsaW5lYXI7XG4gIH1cbn1cbiJdfQ== */';
12507
12535
  // src/components/swiper/index.tsx
12508
- import { jsx as jsx60 } from "react/jsx-runtime";
12536
+ import { jsx as jsx61 } from "react/jsx-runtime";
12509
12537
  var swiperVariants = cva21("", {
12510
12538
  variants: {
12511
12539
  rounded: {
@@ -12641,9 +12669,9 @@ function Swiper(props) {
12641
12669
  }
12642
12670
  }
12643
12671
  };
12644
- return /* @__PURE__ */ jsx60("div", {
12672
+ return /* @__PURE__ */ jsx61("div", {
12645
12673
  className: index_module_default.swiperBox,
12646
- children: /* @__PURE__ */ jsx60(SwiperComponent, _object_spread_props(_object_spread({
12674
+ children: /* @__PURE__ */ jsx61(SwiperComponent, _object_spread_props(_object_spread({
12647
12675
  observer: true,
12648
12676
  observeParents: true
12649
12677
  }, swiperConfigs), {
@@ -12653,9 +12681,9 @@ function Swiper(props) {
12653
12681
  swiperRef.current = swiper;
12654
12682
  },
12655
12683
  children: swiperList.map(function(item, index) {
12656
- return /* @__PURE__ */ jsx60(SwiperSlide, {
12684
+ return /* @__PURE__ */ jsx61(SwiperSlide, {
12657
12685
  className: cn(isBanner && "banner-swiper-slide !w-[90%] md:!w-[98%] h-[220px] md:h-auto max-w-[1200px] aspect-[4/1] rounded-2xl opacity-30", isFeatured && "rounded-2xl !w-[100%-32px] md:!w-[100%-72px]", isGrid && "grid-swiper-slide !w-[100%-32px] md:!w-[100%-72px] !h-[100%/3] flex justify-center items-center rounded-2xl", "text-clip", slideClassName),
12658
- children: /* @__PURE__ */ jsx60(Com, {
12686
+ children: /* @__PURE__ */ jsx61(Com, {
12659
12687
  item: item,
12660
12688
  index: index,
12661
12689
  onClick: handleSlideItemClick,
@@ -12676,33 +12704,33 @@ import ExclamationCircleIcon from "@heroicons/react/24/solid/esm/ExclamationCirc
12676
12704
  import InformationCircleIcon3 from "@heroicons/react/24/solid/esm/InformationCircleIcon";
12677
12705
  import XCircleIcon3 from "@heroicons/react/24/solid/esm/XCircleIcon";
12678
12706
  import { toast as toast2 } from "react-hot-toast";
12679
- import { Fragment as Fragment11, jsx as jsx61, jsxs as jsxs36 } from "react/jsx-runtime";
12707
+ import { Fragment as Fragment11, jsx as jsx62, jsxs as jsxs36 } from "react/jsx-runtime";
12680
12708
  function CustomNotification(param) {
12681
12709
  var tProps = param.tProps, customProps = param.customProps;
12682
12710
  var type = customProps.type, title = customProps.title, content = customProps.content, _customProps_isClosable = customProps.isClosable, isClosable = _customProps_isClosable === void 0 ? false : _customProps_isClosable, action = customProps.action, loading = customProps.loading;
12683
12711
  var id = tProps.id;
12684
12712
  var displayedContent = !isString(content) ? JSON.stringify(content) : content;
12685
- return /* @__PURE__ */ jsx61("div", {
12686
- children: /* @__PURE__ */ jsx61("div", {
12713
+ return /* @__PURE__ */ jsx62("div", {
12714
+ children: /* @__PURE__ */ jsx62("div", {
12687
12715
  id: id,
12688
12716
  className: "z-[10000000] min-h-10 w-fit max-w-[90vw] rounded-full border border-Colors-Border-Opaque bg-Colors-Background-Normal-Primary-Default px-3 py-2 shadow-modal-default md:max-w-[560px]",
12689
12717
  children: /* @__PURE__ */ jsxs36("div", {
12690
12718
  className: "flex w-full items-center justify-center gap-2",
12691
12719
  children: [
12692
- loading && /* @__PURE__ */ jsx61(Spinner, {}),
12720
+ loading && /* @__PURE__ */ jsx62(Spinner, {}),
12693
12721
  !loading && type && /* @__PURE__ */ jsxs36("div", {
12694
12722
  className: "flex flex-shrink-0 items-center",
12695
12723
  children: [
12696
- type === "info" && /* @__PURE__ */ jsx61(InformationCircleIcon3, {
12724
+ type === "info" && /* @__PURE__ */ jsx62(InformationCircleIcon3, {
12697
12725
  className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Info"
12698
12726
  }),
12699
- type === "success" && /* @__PURE__ */ jsx61(CheckCircleIcon3, {
12727
+ type === "success" && /* @__PURE__ */ jsx62(CheckCircleIcon3, {
12700
12728
  className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Success"
12701
12729
  }),
12702
- type === "warning" && /* @__PURE__ */ jsx61(ExclamationCircleIcon, {
12730
+ type === "warning" && /* @__PURE__ */ jsx62(ExclamationCircleIcon, {
12703
12731
  className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Warning"
12704
12732
  }),
12705
- type === "error" && /* @__PURE__ */ jsx61(XCircleIcon3, {
12733
+ type === "error" && /* @__PURE__ */ jsx62(XCircleIcon3, {
12706
12734
  className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Error"
12707
12735
  })
12708
12736
  ]
@@ -12710,14 +12738,14 @@ function CustomNotification(param) {
12710
12738
  /* @__PURE__ */ jsxs36("div", {
12711
12739
  className: "flex flex-grow flex-col space-y-1 overflow-hidden",
12712
12740
  children: [
12713
- title && /* @__PURE__ */ jsx61(Text, {
12741
+ title && /* @__PURE__ */ jsx62(Text, {
12714
12742
  size: "sm",
12715
12743
  weight: "regular",
12716
12744
  color: "default",
12717
12745
  children: title
12718
12746
  }),
12719
- /* @__PURE__ */ jsx61("div", {
12720
- children: /* @__PURE__ */ jsx61(Text, {
12747
+ /* @__PURE__ */ jsx62("div", {
12748
+ children: /* @__PURE__ */ jsx62(Text, {
12721
12749
  size: "sm",
12722
12750
  weight: "regular",
12723
12751
  color: "default",
@@ -12728,14 +12756,14 @@ function CustomNotification(param) {
12728
12756
  }),
12729
12757
  action && /* @__PURE__ */ jsxs36(Fragment11, {
12730
12758
  children: [
12731
- /* @__PURE__ */ jsx61(Separator, {
12759
+ /* @__PURE__ */ jsx62(Separator, {
12732
12760
  orientation: "vertical",
12733
12761
  className: "h-3"
12734
12762
  }),
12735
12763
  action
12736
12764
  ]
12737
12765
  }),
12738
- isClosable && /* @__PURE__ */ jsx61(IconButton, {
12766
+ isClosable && /* @__PURE__ */ jsx62(IconButton, {
12739
12767
  size: "sm",
12740
12768
  variant: "plain",
12741
12769
  icon: XMarkIcon4,
@@ -12752,14 +12780,14 @@ function CustomNotification(param) {
12752
12780
  // src/common/hooks/useNotification.tsx
12753
12781
  import { useCallback as useCallback5 } from "react";
12754
12782
  import { toast as toast3 } from "react-hot-toast";
12755
- import { jsx as jsx62 } from "react/jsx-runtime";
12783
+ import { jsx as jsx63 } from "react/jsx-runtime";
12756
12784
  function useNotification() {
12757
12785
  var addToast = useCallback5(function(config2, duration2) {
12758
12786
  if (config2.id) {
12759
12787
  toast3.remove(config2.id);
12760
12788
  }
12761
12789
  toast3.custom(function(t) {
12762
- return /* @__PURE__ */ jsx62(CustomNotification, {
12790
+ return /* @__PURE__ */ jsx63(CustomNotification, {
12763
12791
  tProps: _object_spread_props(_object_spread({}, t), {
12764
12792
  duration: duration2
12765
12793
  }),
@@ -12820,7 +12848,7 @@ var Message = /*#__PURE__*/ function() {
12820
12848
  }
12821
12849
  var addToast = function() {
12822
12850
  toast3.custom(function(t) {
12823
- return /* @__PURE__ */ jsx62(CustomNotification, {
12851
+ return /* @__PURE__ */ jsx63(CustomNotification, {
12824
12852
  tProps: _object_spread_props(_object_spread({}, t), {
12825
12853
  duration: duration2
12826
12854
  }),
@@ -12875,27 +12903,6 @@ var Message = /*#__PURE__*/ function() {
12875
12903
  ]);
12876
12904
  return Message;
12877
12905
  }();
12878
- // src/components/icons/outline/ArrowLeftIcon.tsx
12879
- import * as React43 from "react";
12880
- import { jsx as jsx63 } from "react/jsx-runtime";
12881
- var ArrowLeftIcon2 = React43.forwardRef(function(props, ref) {
12882
- return /* @__PURE__ */ jsx63(Icon, _object_spread_props(_object_spread({}, props), {
12883
- children: /* @__PURE__ */ jsx63("svg", {
12884
- ref: ref,
12885
- className: "w-full h-full",
12886
- viewBox: "0 0 24 24",
12887
- fill: "none",
12888
- strokeWidth: "1.5",
12889
- stroke: "currentColor",
12890
- xmlns: "http://www.w3.org/2000/svg",
12891
- children: /* @__PURE__ */ jsx63("path", {
12892
- strokeLinecap: "round",
12893
- strokeLinejoin: "round",
12894
- d: "M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"
12895
- })
12896
- })
12897
- }));
12898
- });
12899
12906
  // src/components/icons/outline/ArrowUpTrayIcon.tsx
12900
12907
  import * as React44 from "react";
12901
12908
  import { jsx as jsx64 } from "react/jsx-runtime";
@@ -13131,7 +13138,7 @@ var RectangleGroupIcon = React53.forwardRef(function(props, ref) {
13131
13138
  })
13132
13139
  }));
13133
13140
  });
13134
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, ArrowLeftIcon2 as ArrowLeftIcon, ArrowUpTrayIcon, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, CaretDownIcon, CheckCircleIcon4 as CheckCircleIcon, Checkbox, Chips, CodeIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfigIcon, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, DownIcon, DragIcon, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Guide, Heading, Icon, IconButton, Image2 as Image, Input, Label3 as Label, Link, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, NetworkErrorState, NoPageState, NotFoundState, NumberInput, Paragraph, PencilSquareIcon, PhoneIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, Progress, ProgressIndicator, ProgressRoot, RadioGroup4 as RadioGroup, RadioGroupItem, RectangleGroupIcon, ScrollArea, ScrollBar, SearchBar, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderPrimitive, SliderSingle, Spinner, State2 as State, SubHeading, SubTitle, Swiper, Switch, Tab, Tabs2 as Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, Title, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WindowIcon, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth }; /*! Bundled license information:
13141
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, ArrowLeftIcon, ArrowUpTrayIcon, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, CaretDownIcon, CheckCircleIcon4 as CheckCircleIcon, Checkbox, Chips, CodeIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfigIcon, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, DownIcon, DragIcon, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Guide, Heading, Icon, IconButton, Image2 as Image, Input, Label3 as Label, Link, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, NetworkErrorState, NoPageState, NotFoundState, NumberInput, Paragraph, PencilSquareIcon, PhoneIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, Progress, ProgressIndicator, ProgressRoot, RadioGroup4 as RadioGroup, RadioGroupItem, RectangleGroupIcon, ScrollArea, ScrollBar, SearchBar, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderPrimitive, SliderSingle, Spinner, State2 as State, SubHeading, SubTitle, Swiper, Switch, Tab, Tabs2 as Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, Title, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WindowIcon, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth }; /*! Bundled license information:
13135
13142
 
13136
13143
  decimal.js/decimal.mjs:
13137
13144
  (*!