myshell-react-lib 0.2.11 → 0.2.13

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
@@ -3980,7 +3980,7 @@ var require_audio_playing = __commonJS({
3980
3980
  });
3981
3981
  // src/components/accordion.tsx
3982
3982
  import * as AccordionPrimitive from "@radix-ui/react-accordion";
3983
- import * as React9 from "react";
3983
+ import * as React10 from "react";
3984
3984
  // src/lib/utils.ts
3985
3985
  import { clsx } from "clsx";
3986
3986
  import { twMerge } from "tailwind-merge";
@@ -4610,30 +4610,62 @@ var CircleSuccessIcon = React8.forwardRef(function(props, ref) {
4610
4610
  })
4611
4611
  }));
4612
4612
  });
4613
- // src/components/accordion.tsx
4613
+ // src/components/icons/LogoIcon.tsx
4614
+ import * as React9 from "react";
4614
4615
  import { jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
4616
+ var LogoIcon = React9.forwardRef(function(props, ref) {
4617
+ return /* @__PURE__ */ jsx9(Icon, _object_spread_props(_object_spread({}, props), {
4618
+ children: /* @__PURE__ */ jsxs5("svg", {
4619
+ width: "46",
4620
+ height: "28",
4621
+ viewBox: "0 0 46 28",
4622
+ fill: "none",
4623
+ xmlns: "http://www.w3.org/2000/svg",
4624
+ children: [
4625
+ /* @__PURE__ */ jsx9("path", {
4626
+ d: "M36.201 7.19997C32.576 7.19997 31.045 13.323 29.425 19.806C28.99 21.547 28.54 23.348 28 24.642C27.528 25.776 27.031 26.4 26.601 26.4C26.171 26.4 25.674 25.776 25.202 24.643C24.663 23.348 24.213 21.548 23.777 19.805C23.541 18.863 23.307 17.926 23.072 17.001C22.981 16.645 22.658 16.399 22.291 16.405H22.274C21.763 16.414 21.394 16.897 21.52 17.392C21.758 18.325 21.993 19.263 22.225 20.195C23.229 24.209 24.177 28 26.601 28C29.025 28 29.974 24.208 30.977 20.194C31.707 17.273 32.462 14.252 33.377 12.058C34.277 9.89597 35.227 8.79997 36.201 8.79997C37.175 8.79997 38.124 9.89597 39.025 12.058C39.368 12.881 39.688 13.82 39.994 14.827C40.116 15.229 40.548 15.472 40.953 15.363C40.958 15.362 40.963 15.36 40.969 15.359C41.404 15.244 41.657 14.792 41.526 14.361C40.284 10.268 38.767 7.19897 36.201 7.19897V7.19997Z",
4627
+ fill: "var(--Colors-Foreground-Default)"
4628
+ }),
4629
+ /* @__PURE__ */ jsx9("path", {
4630
+ d: "M21.3108 10.624C21.4658 11.123 21.1108 11.635 20.5888 11.663C20.5838 11.663 20.5778 11.663 20.5728 11.663C20.2148 11.682 19.8898 11.456 19.7838 11.113C19.3348 9.665 18.8638 8.311 18.3618 7.107C16.8178 3.402 15.1948 1.6 13.3998 1.6C11.6048 1.6 9.98281 3.402 8.43881 7.108C7.33381 9.759 6.37781 13.14 5.47481 16.639C5.39481 16.949 5.50981 17.275 5.76281 17.472C6.51581 18.057 6.99981 18.972 6.99981 19.999C6.99981 21.842 5.44281 23.32 3.57181 23.191C1.99581 23.082 0.718811 21.806 0.607811 20.231C0.488811 18.544 1.67881 17.111 3.26481 16.844C3.58181 16.791 3.84081 16.563 3.92081 16.251C6.17781 7.492 8.61381 0 13.3998 0C17.1148 0 19.4128 4.51 21.3108 10.624ZM3.80081 18.4C2.91681 18.4 2.20081 19.116 2.20081 20C2.20081 20.884 2.91681 21.6 3.80081 21.6C4.68481 21.6 5.40081 20.884 5.40081 20C5.40081 19.116 4.68481 18.4 3.80081 18.4Z",
4631
+ fill: "var(--Colors-Foreground-Default)"
4632
+ }),
4633
+ /* @__PURE__ */ jsx9("path", {
4634
+ d: "M7.95295 17.589C8.16395 17.951 8.62095 18.083 8.99495 17.894C12.511 16.11 16.654 14.8 23 14.8C24.948 14.8 26.69 14.923 28.2689 15.146C28.662 15.201 29.034 14.957 29.145 14.576C29.28 14.111 28.9729 13.635 28.4939 13.567C26.841 13.332 25.023 13.2 23 13.2C16.366 13.2 11.942 14.618 8.28695 16.464C7.87295 16.673 7.71995 17.188 7.95295 17.589Z",
4635
+ fill: "var(--Colors-Foreground-Default)"
4636
+ }),
4637
+ /* @__PURE__ */ jsx9("path", {
4638
+ d: "M44.4635 22.263C43.2135 23.513 41.1875 23.513 39.9385 22.263C39.2065 21.531 38.9035 20.533 39.0295 19.58C39.0725 19.255 38.9185 18.936 38.6335 18.773C37.2815 18.002 35.8685 17.287 34.2905 16.682C33.9035 16.534 33.6975 16.11 33.8135 15.712C33.9445 15.267 34.4265 15.031 34.8595 15.196C36.5645 15.848 38.0765 16.616 39.4995 17.428C39.7685 17.582 40.1025 17.565 40.3555 17.386C41.6045 16.502 43.3445 16.619 44.4635 17.737C45.7135 18.987 45.7135 21.013 44.4635 22.262V22.263ZM42.2005 18.4C41.3165 18.4 40.6005 19.116 40.6005 20C40.6005 20.884 41.3165 21.6 42.2005 21.6C43.0845 21.6 43.8005 20.884 43.8005 20C43.8005 19.116 43.0845 18.4 42.2005 18.4Z",
4639
+ fill: "var(--Colors-Foreground-Default)"
4640
+ })
4641
+ ]
4642
+ })
4643
+ }));
4644
+ });
4645
+ // src/components/accordion.tsx
4646
+ import { jsx as jsx10, jsxs as jsxs6 } from "react/jsx-runtime";
4615
4647
  var Accordion = AccordionPrimitive.Root;
4616
- var AccordionItem = React9.forwardRef(function(props, ref) {
4648
+ var AccordionItem = React10.forwardRef(function(props, ref) {
4617
4649
  var className = props.className, triggerClassName = props.triggerClassName, sticky = props.sticky, children = props.children, label = props.label, count2 = props.count;
4618
- return /* @__PURE__ */ jsxs5(AccordionPrimitive.Item, _object_spread_props(_object_spread({
4650
+ return /* @__PURE__ */ jsxs6(AccordionPrimitive.Item, _object_spread_props(_object_spread({
4619
4651
  ref: ref,
4620
4652
  className: cn("w-full", className)
4621
4653
  }, props), {
4622
4654
  children: [
4623
- /* @__PURE__ */ jsx9(AccordionTrigger, {
4655
+ /* @__PURE__ */ jsx10(AccordionTrigger, {
4624
4656
  label: label,
4625
4657
  count: count2,
4626
4658
  className: triggerClassName,
4627
4659
  sticky: sticky
4628
4660
  }),
4629
- /* @__PURE__ */ jsx9(AccordionContent, {
4661
+ /* @__PURE__ */ jsx10(AccordionContent, {
4630
4662
  children: children
4631
4663
  })
4632
4664
  ]
4633
4665
  }));
4634
4666
  });
4635
4667
  AccordionItem.displayName = "AccordionItem";
4636
- var AccordionTrigger = React9.forwardRef(function(props, ref) {
4668
+ var AccordionTrigger = React10.forwardRef(function(props, ref) {
4637
4669
  var className = props.className, _props_headerClassName = props.headerClassName, headerClassName = _props_headerClassName === void 0 ? "" : _props_headerClassName, count2 = props.count, label = props.label, sticky = props.sticky, rest = _object_without_properties(props, [
4638
4670
  "className",
4639
4671
  "headerClassName",
@@ -4641,32 +4673,32 @@ var AccordionTrigger = React9.forwardRef(function(props, ref) {
4641
4673
  "label",
4642
4674
  "sticky"
4643
4675
  ]);
4644
- return /* @__PURE__ */ jsx9(AccordionPrimitive.Header, {
4676
+ return /* @__PURE__ */ jsx10(AccordionPrimitive.Header, {
4645
4677
  className: cn("flex", headerClassName, sticky && "sticky top-0 z-10"),
4646
- children: /* @__PURE__ */ jsx9(AccordionPrimitive.Trigger, _object_spread_props(_object_spread({
4678
+ children: /* @__PURE__ */ jsx10(AccordionPrimitive.Trigger, _object_spread_props(_object_spread({
4647
4679
  ref: ref
4648
4680
  }, rest), {
4649
4681
  className: cn("flex flex-1 items-center justify-between font-medium transition-all [&[data-state=closed]>div>div>div>span>svg]:-rotate-90", // [&[data-state=open]>div>div>svg]:rotate-180
4650
4682
  className),
4651
- children: /* @__PURE__ */ jsxs5("div", {
4683
+ children: /* @__PURE__ */ jsxs6("div", {
4652
4684
  className: "w-full flex flex-col justify-center",
4653
4685
  children: [
4654
- /* @__PURE__ */ jsx9("div", {
4686
+ /* @__PURE__ */ jsx10("div", {
4655
4687
  className: "py-3",
4656
- children: /* @__PURE__ */ jsx9(Separator, {})
4688
+ children: /* @__PURE__ */ jsx10(Separator, {})
4657
4689
  }),
4658
- /* @__PURE__ */ jsxs5("div", {
4690
+ /* @__PURE__ */ jsxs6("div", {
4659
4691
  className: "w-full flex justify-between items-center py-1.5",
4660
4692
  children: [
4661
- /* @__PURE__ */ jsxs5("div", {
4693
+ /* @__PURE__ */ jsxs6("div", {
4662
4694
  className: "flex justify-center items-center space-x-1",
4663
4695
  children: [
4664
- /* @__PURE__ */ jsx9(Icon, {
4696
+ /* @__PURE__ */ jsx10(Icon, {
4665
4697
  component: CaretDownIcon,
4666
4698
  size: "2xs",
4667
4699
  className: "fill-Colors-Foreground-Subtlest text-Colors-Foreground-Subtlest"
4668
4700
  }),
4669
- /* @__PURE__ */ jsx9(Text, {
4701
+ /* @__PURE__ */ jsx10(Text, {
4670
4702
  size: "lg",
4671
4703
  weight: "medium",
4672
4704
  className: "truncate text-left",
@@ -4674,7 +4706,7 @@ var AccordionTrigger = React9.forwardRef(function(props, ref) {
4674
4706
  })
4675
4707
  ]
4676
4708
  }),
4677
- count2 ? /* @__PURE__ */ jsx9(Text, {
4709
+ count2 ? /* @__PURE__ */ jsx10(Text, {
4678
4710
  size: "sm",
4679
4711
  color: "subtlest",
4680
4712
  className: "flex-shrink-0",
@@ -4688,16 +4720,16 @@ var AccordionTrigger = React9.forwardRef(function(props, ref) {
4688
4720
  });
4689
4721
  });
4690
4722
  AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
4691
- var AccordionContent = React9.forwardRef(function(_param, ref) {
4723
+ var AccordionContent = React10.forwardRef(function(_param, ref) {
4692
4724
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
4693
4725
  "className",
4694
4726
  "children"
4695
4727
  ]);
4696
- return /* @__PURE__ */ jsx9(AccordionPrimitive.Content, _object_spread_props(_object_spread({
4728
+ return /* @__PURE__ */ jsx10(AccordionPrimitive.Content, _object_spread_props(_object_spread({
4697
4729
  ref: ref
4698
4730
  }, props), {
4699
4731
  className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
4700
- children: /* @__PURE__ */ jsx9("div", {
4732
+ children: /* @__PURE__ */ jsx10("div", {
4701
4733
  className: cn(className),
4702
4734
  children: children
4703
4735
  })
@@ -4706,11 +4738,11 @@ var AccordionContent = React9.forwardRef(function(_param, ref) {
4706
4738
  AccordionContent.displayName = AccordionPrimitive.Content.displayName;
4707
4739
  // src/components/alert-dialog.tsx
4708
4740
  import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
4709
- import * as React11 from "react";
4741
+ import * as React12 from "react";
4710
4742
  // src/components/button/button.tsx
4711
4743
  import { Slot } from "@radix-ui/react-slot";
4712
4744
  import { Loader2 } from "lucide-react";
4713
- import * as React10 from "react";
4745
+ import * as React11 from "react";
4714
4746
  // src/common/utils/common-helper.ts
4715
4747
  var CDN_URL = "https://www.myshellstatic.com/";
4716
4748
  function getAssetsUrl(url) {
@@ -4746,7 +4778,7 @@ function isString(str) {
4746
4778
  // src/components/image.tsx
4747
4779
  import { cva as cva3 } from "class-variance-authority";
4748
4780
  import RCImage from "rc-image";
4749
- import { jsx as jsx10 } from "react/jsx-runtime";
4781
+ import { jsx as jsx11 } from "react/jsx-runtime";
4750
4782
  var imageVariants = cva3("", {
4751
4783
  variants: {
4752
4784
  rounded: {
@@ -4787,7 +4819,7 @@ function Image2(_param) {
4787
4819
  "fetchPriority",
4788
4820
  "loading"
4789
4821
  ]);
4790
- return /* @__PURE__ */ jsx10(RCImage, _object_spread({
4822
+ return /* @__PURE__ */ jsx11(RCImage, _object_spread({
4791
4823
  fetchPriority: fetchPriority,
4792
4824
  placeholder: placeholder,
4793
4825
  width: width,
@@ -5100,7 +5132,7 @@ var iconVariants2 = cva4("relative shrink-0 text-inherit inline-flex items-cente
5100
5132
  }
5101
5133
  });
5102
5134
  // src/components/button/button.tsx
5103
- import { Fragment, jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
5135
+ import { Fragment, jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
5104
5136
  function createButtonWithVariant(props, ref) {
5105
5137
  var _props_className = props.className, className = _props_className === void 0 ? "" : _props_className, iconClassName = props.iconClassName, _props_variant = props.variant, variant = _props_variant === void 0 ? "primary" : _props_variant, // 设置默认值为primary
5106
5138
  userProvidedColor = props.color, icon = props.icon, _props_iconDirection = props.iconDirection, iconDirection = _props_iconDirection === void 0 ? "left" : _props_iconDirection, _props_size = props.size, size = _props_size === void 0 ? "lg" : _props_size, _props_asChild = props.asChild, asChild = _props_asChild === void 0 ? false : _props_asChild, _props_loading = props.loading, loading = _props_loading === void 0 ? false : _props_loading, _props_noStyle = props.noStyle, noStyle = _props_noStyle === void 0 ? false : _props_noStyle, _props_iconOutBox = props.iconOutBox, iconOutBox = _props_iconOutBox === void 0 ? false : _props_iconOutBox, _props_isBlock = props.isBlock, isBlock = _props_isBlock === void 0 ? false : _props_isBlock, disabled = props.disabled, children = props.children, autoFocus = props.autoFocus, asset = props.asset, _props_assetNumber = props.assetNumber, assetNumber = _props_assetNumber === void 0 ? 0 : _props_assetNumber, _props_roundedFull = props.roundedFull, roundedFull = _props_roundedFull === void 0 ? false : _props_roundedFull, passProps = _object_without_properties(props, [
@@ -5126,7 +5158,7 @@ function createButtonWithVariant(props, ref) {
5126
5158
  var color = userProvidedColor || "default";
5127
5159
  var Comp = asChild ? Slot : "button";
5128
5160
  var disable = disabled || loading;
5129
- return /* @__PURE__ */ jsxs6(Comp, _object_spread_props(_object_spread({
5161
+ return /* @__PURE__ */ jsxs7(Comp, _object_spread_props(_object_spread({
5130
5162
  className: noStyle ? className : cn(buttonVariants({
5131
5163
  variant: variant,
5132
5164
  color: color,
@@ -5137,9 +5169,9 @@ function createButtonWithVariant(props, ref) {
5137
5169
  autoFocus: autoFocus
5138
5170
  }, passProps), {
5139
5171
  children: [
5140
- loading && /* @__PURE__ */ jsx11("span", {
5172
+ loading && /* @__PURE__ */ jsx12("span", {
5141
5173
  className: "absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center text-inherit",
5142
- children: /* @__PURE__ */ jsx11(Loader2, {
5174
+ children: /* @__PURE__ */ jsx12(Loader2, {
5143
5175
  className: cn(iconVariants2({
5144
5176
  variant: variant,
5145
5177
  size: size
@@ -5154,7 +5186,7 @@ function createButtonWithVariant(props, ref) {
5154
5186
  color: color,
5155
5187
  size: size
5156
5188
  }),
5157
- /* @__PURE__ */ jsxs6("span", {
5189
+ /* @__PURE__ */ jsxs7("span", {
5158
5190
  className: cn("inline-flex w-full items-center justify-center space-x-1.5", loading ? "opacity-0" : "opacity-100", variant === "plain" && "font-medium"),
5159
5191
  children: [
5160
5192
  !asset && icon && !iconOutBox && iconDirection === "left" && renderIcon(icon, "left", {
@@ -5166,20 +5198,20 @@ function createButtonWithVariant(props, ref) {
5166
5198
  size: size
5167
5199
  }),
5168
5200
  children,
5169
- asset ? /* @__PURE__ */ jsxs6(Fragment, {
5201
+ asset ? /* @__PURE__ */ jsxs7(Fragment, {
5170
5202
  children: [
5171
- /* @__PURE__ */ jsx11(Separator, {
5203
+ /* @__PURE__ */ jsx12(Separator, {
5172
5204
  orientation: "vertical",
5173
5205
  className: cn("mx-1.5 h-3", variant === "primary" ? "border-Colors-Alpha-White-20" : "border-Colors-Beta-Black-20")
5174
5206
  }),
5175
- /* @__PURE__ */ jsx11(Image2, {
5207
+ /* @__PURE__ */ jsx12(Image2, {
5176
5208
  src: asset === "energy" ? getAssetsUrl("image/bot/tag/20231214/1719340128612116720.png") : getAssetsUrl("image/web3/20250331/shell_coin_icon_v2.png"),
5177
5209
  alt: asset,
5178
5210
  width: 16,
5179
5211
  height: 16,
5180
5212
  className: "flex-shrink-0"
5181
5213
  }),
5182
- /* @__PURE__ */ jsx11(Text, {
5214
+ /* @__PURE__ */ jsx12(Text, {
5183
5215
  size: "xs",
5184
5216
  className: cn("ml-0.5 text-inherit"),
5185
5217
  children: assetNumber
@@ -5207,12 +5239,12 @@ function createButtonWithVariant(props, ref) {
5207
5239
  ]
5208
5240
  }));
5209
5241
  }
5210
- var Button = React10.forwardRef(function(props, ref) {
5242
+ var Button = React11.forwardRef(function(props, ref) {
5211
5243
  return createButtonWithVariant(props, ref);
5212
5244
  });
5213
5245
  var renderIcon = function(icon, direction, props) {
5214
5246
  var loading = props.loading, noStyle = props.noStyle, iconClassName = props.iconClassName, variant = props.variant, size = props.size;
5215
- return /* @__PURE__ */ jsx11(Icon, {
5247
+ return /* @__PURE__ */ jsx12(Icon, {
5216
5248
  component: icon,
5217
5249
  className: noStyle ? iconClassName : cn(iconVariants2({
5218
5250
  variant: variant,
@@ -5222,38 +5254,38 @@ var renderIcon = function(icon, direction, props) {
5222
5254
  };
5223
5255
  Button.displayName = "Button";
5224
5256
  // src/components/alert-dialog.tsx
5225
- import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
5257
+ import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
5226
5258
  var AlertDialog = AlertDialogPrimitive.Root;
5227
5259
  var AlertDialogPortal = AlertDialogPrimitive.Portal;
5228
- var AlertDialogTrigger = React11.forwardRef(function(_param, ref) {
5260
+ var AlertDialogTrigger = React12.forwardRef(function(_param, ref) {
5229
5261
  var className = _param.className, props = _object_without_properties(_param, [
5230
5262
  "className"
5231
5263
  ]);
5232
- return /* @__PURE__ */ jsx12(AlertDialogPrimitive.Trigger, _object_spread({
5264
+ return /* @__PURE__ */ jsx13(AlertDialogPrimitive.Trigger, _object_spread({
5233
5265
  ref: ref,
5234
5266
  className: cn(className)
5235
5267
  }, props));
5236
5268
  });
5237
5269
  AlertDialogTrigger.displayName = AlertDialogPrimitive.Trigger.displayName;
5238
- var AlertDialogOverlay = React11.forwardRef(function(_param, ref) {
5270
+ var AlertDialogOverlay = React12.forwardRef(function(_param, ref) {
5239
5271
  var className = _param.className, props = _object_without_properties(_param, [
5240
5272
  "className"
5241
5273
  ]);
5242
- return /* @__PURE__ */ jsx12(AlertDialogPrimitive.Overlay, _object_spread_props(_object_spread({
5274
+ return /* @__PURE__ */ jsx13(AlertDialogPrimitive.Overlay, _object_spread_props(_object_spread({
5243
5275
  className: cn("fixed inset-0 z-50 bg-Colors-Background-Utilities-Overlay data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className)
5244
5276
  }, props), {
5245
5277
  ref: ref
5246
5278
  }));
5247
5279
  });
5248
5280
  AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
5249
- var AlertDialogContent = React11.forwardRef(function(_param, ref) {
5281
+ var AlertDialogContent = React12.forwardRef(function(_param, ref) {
5250
5282
  var className = _param.className, props = _object_without_properties(_param, [
5251
5283
  "className"
5252
5284
  ]);
5253
- return /* @__PURE__ */ jsxs7(AlertDialogPortal, {
5285
+ return /* @__PURE__ */ jsxs8(AlertDialogPortal, {
5254
5286
  children: [
5255
- /* @__PURE__ */ jsx12(AlertDialogOverlay, {}),
5256
- /* @__PURE__ */ jsx12(AlertDialogPrimitive.Content, _object_spread({
5287
+ /* @__PURE__ */ jsx13(AlertDialogOverlay, {}),
5288
+ /* @__PURE__ */ jsx13(AlertDialogPrimitive.Content, _object_spread({
5257
5289
  ref: ref,
5258
5290
  className: cn("fixed left-[50%] top-[50%] z-50 grid w-full rounded-4xl max-w-lg translate-x-[-50%] translate-y-[-50%] bg-Colors-Background-Normal-Primary-Default shadow-modal-default duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] focus-visible-style", className)
5259
5291
  }, props))
@@ -5265,7 +5297,7 @@ function AlertDialogHeader(_param) {
5265
5297
  var className = _param.className, props = _object_without_properties(_param, [
5266
5298
  "className"
5267
5299
  ]);
5268
- return /* @__PURE__ */ jsx12("div", _object_spread({
5300
+ return /* @__PURE__ */ jsx13("div", _object_spread({
5269
5301
  className: cn("flex flex-col p-4 text-Colors-Text-Default", className)
5270
5302
  }, props));
5271
5303
  }
@@ -5274,46 +5306,46 @@ function AlertDialogFooter(_param) {
5274
5306
  var className = _param.className, props = _object_without_properties(_param, [
5275
5307
  "className"
5276
5308
  ]);
5277
- return /* @__PURE__ */ jsx12("div", _object_spread({
5309
+ return /* @__PURE__ */ jsx13("div", _object_spread({
5278
5310
  className: cn("flex justify-end p-4 space-x-4", className)
5279
5311
  }, props));
5280
5312
  }
5281
5313
  AlertDialogFooter.displayName = "AlertDialogFooter";
5282
- var AlertDialogTitle = React11.forwardRef(function(_param, ref) {
5314
+ var AlertDialogTitle = React12.forwardRef(function(_param, ref) {
5283
5315
  var className = _param.className, props = _object_without_properties(_param, [
5284
5316
  "className"
5285
5317
  ]);
5286
- return /* @__PURE__ */ jsx12(AlertDialogPrimitive.Title, _object_spread({
5318
+ return /* @__PURE__ */ jsx13(AlertDialogPrimitive.Title, _object_spread({
5287
5319
  ref: ref,
5288
5320
  className: cn("text-xl font-normal", className)
5289
5321
  }, props));
5290
5322
  });
5291
5323
  AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
5292
- var AlertDialogDescription = React11.forwardRef(function(_param, ref) {
5324
+ var AlertDialogDescription = React12.forwardRef(function(_param, ref) {
5293
5325
  var className = _param.className, props = _object_without_properties(_param, [
5294
5326
  "className"
5295
5327
  ]);
5296
- return /* @__PURE__ */ jsx12(AlertDialogPrimitive.Description, _object_spread({
5328
+ return /* @__PURE__ */ jsx13(AlertDialogPrimitive.Description, _object_spread({
5297
5329
  ref: ref,
5298
5330
  className: cn("text-sm text-Colors-Text-Subtle px-4", className)
5299
5331
  }, props));
5300
5332
  });
5301
5333
  AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
5302
- var AlertDialogAction = React11.forwardRef(function(_param, ref) {
5334
+ var AlertDialogAction = React12.forwardRef(function(_param, ref) {
5303
5335
  var className = _param.className, props = _object_without_properties(_param, [
5304
5336
  "className"
5305
5337
  ]);
5306
- return /* @__PURE__ */ jsx12(AlertDialogPrimitive.Action, _object_spread({
5338
+ return /* @__PURE__ */ jsx13(AlertDialogPrimitive.Action, _object_spread({
5307
5339
  ref: ref,
5308
5340
  className: cn(buttonVariants(), className)
5309
5341
  }, props));
5310
5342
  });
5311
5343
  AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
5312
- var AlertDialogCancel = React11.forwardRef(function(_param, ref) {
5344
+ var AlertDialogCancel = React12.forwardRef(function(_param, ref) {
5313
5345
  var className = _param.className, props = _object_without_properties(_param, [
5314
5346
  "className"
5315
5347
  ]);
5316
- return /* @__PURE__ */ jsx12(AlertDialogPrimitive.Cancel, _object_spread({
5348
+ return /* @__PURE__ */ jsx13(AlertDialogPrimitive.Cancel, _object_spread({
5317
5349
  ref: ref,
5318
5350
  className: cn(buttonVariants({
5319
5351
  variant: "secondary"
@@ -5328,7 +5360,7 @@ var AspectRatio = AspectRatioPrimitive.Root;
5328
5360
  import { PlayIcon } from "lucide-react";
5329
5361
  import { useAudio } from "react-use";
5330
5362
  // src/common/hooks/useAudioPlayer.tsx
5331
- import { forwardRef as forwardRef12, useCallback, useImperativeHandle, useLayoutEffect, useRef } from "react";
5363
+ import { forwardRef as forwardRef13, useCallback, useImperativeHandle, useLayoutEffect, useRef } from "react";
5332
5364
  // src/common/hooks/useDevice.ts
5333
5365
  import isMobile from "ismobilejs";
5334
5366
  import { useState as useState2, useEffect as useEffect2 } from "react";
@@ -5367,7 +5399,7 @@ var useIsMobileByWindowWidth = function() {
5367
5399
  return useWindowWidth() <= 768;
5368
5400
  };
5369
5401
  // src/common/hooks/useAudioPlayer.tsx
5370
- import { jsx as jsx13 } from "react/jsx-runtime";
5402
+ import { jsx as jsx14 } from "react/jsx-runtime";
5371
5403
  var audioAPI = null;
5372
5404
  var getAudioAPI = function() {
5373
5405
  if (audioAPI) return audioAPI;
@@ -5410,7 +5442,7 @@ var getAudioAPI = function() {
5410
5442
  };
5411
5443
  return audioAPI;
5412
5444
  };
5413
- var IosAudioPlayer = forwardRef12(function(props, ref) {
5445
+ var IosAudioPlayer = forwardRef13(function(props, ref) {
5414
5446
  var audioRef = useRef(null);
5415
5447
  var audioApi = getAudioAPI();
5416
5448
  var loadTask = useRef();
@@ -5510,7 +5542,7 @@ var IosAudioPlayer = forwardRef12(function(props, ref) {
5510
5542
  handlePlay,
5511
5543
  handleLoad
5512
5544
  ]);
5513
- return /* @__PURE__ */ jsx13("audio", _object_spread_props(_object_spread({}, props), {
5545
+ return /* @__PURE__ */ jsx14("audio", _object_spread_props(_object_spread({}, props), {
5514
5546
  muted: true,
5515
5547
  ref: audioRef
5516
5548
  }));
@@ -5524,19 +5556,19 @@ var useAudioPlayer_default = useAudioPlayer;
5524
5556
  // src/components/button/icon-button.tsx
5525
5557
  import { Slot as Slot2 } from "@radix-ui/react-slot";
5526
5558
  import { Loader2 as Loader22 } from "lucide-react";
5527
- import * as React14 from "react";
5559
+ import * as React15 from "react";
5528
5560
  import { useMedia as useMedia2 } from "react-use";
5529
5561
  // src/components/tooltip.tsx
5530
5562
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
5531
- import * as React13 from "react";
5563
+ import * as React14 from "react";
5532
5564
  // src/components/popover.tsx
5533
5565
  import * as PopoverPrimitive from "@radix-ui/react-popover";
5534
- import * as React12 from "react";
5535
- import { Fragment as Fragment2, jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
5566
+ import * as React13 from "react";
5567
+ import { Fragment as Fragment2, jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
5536
5568
  var PopoverRoot = PopoverPrimitive.Root;
5537
5569
  var PopoverTrigger = PopoverPrimitive.Trigger;
5538
5570
  var PopoverAnchor = PopoverPrimitive.Anchor;
5539
- var PopoverContent = React12.forwardRef(function(_param, ref) {
5571
+ var PopoverContent = React13.forwardRef(function(_param, ref) {
5540
5572
  var className = _param.className, _param_align = _param.align, align = _param_align === void 0 ? "center" : _param_align, _param_variant = _param.variant, variant = _param_variant === void 0 ? "default" : _param_variant, _param_side = _param.side, side = _param_side === void 0 ? "top" : _param_side, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 4 : _param_sideOffset, _param_alignOffset = _param.alignOffset, alignOffset = _param_alignOffset === void 0 ? 0 : _param_alignOffset, _param_arrowPadding = _param.arrowPadding, arrowPadding = _param_arrowPadding === void 0 ? 0 : _param_arrowPadding, _param_showArrow = _param.showArrow, showArrow = _param_showArrow === void 0 ? true : _param_showArrow, _param_mode = _param.mode, mode = _param_mode === void 0 ? "popover" : _param_mode, children = _param.children, container = _param.container, props = _object_without_properties(_param, [
5541
5573
  "className",
5542
5574
  "align",
@@ -5550,9 +5582,9 @@ var PopoverContent = React12.forwardRef(function(_param, ref) {
5550
5582
  "children",
5551
5583
  "container"
5552
5584
  ]);
5553
- return /* @__PURE__ */ jsx14(PopoverPrimitive.Portal, {
5585
+ return /* @__PURE__ */ jsx15(PopoverPrimitive.Portal, {
5554
5586
  container: container,
5555
- children: /* @__PURE__ */ jsxs8(PopoverPrimitive.Content, _object_spread_props(_object_spread({
5587
+ children: /* @__PURE__ */ jsxs9(PopoverPrimitive.Content, _object_spread_props(_object_spread({
5556
5588
  ref: ref,
5557
5589
  align: align,
5558
5590
  alignOffset: alignOffset,
@@ -5564,7 +5596,7 @@ var PopoverContent = React12.forwardRef(function(_param, ref) {
5564
5596
  }, props), {
5565
5597
  children: [
5566
5598
  children,
5567
- showArrow && /* @__PURE__ */ jsx14(PopoverPrimitive.Arrow, {
5599
+ showArrow && /* @__PURE__ */ jsx15(PopoverPrimitive.Arrow, {
5568
5600
  width: 16,
5569
5601
  height: 6,
5570
5602
  className: cn("visible", variant === "default" ? mode === "popover" ? "fill-[var(--Colors-Background-Normal-Secondary-Alt)]" : "fill-cc-Tooltip-bg-default" : "fill-Colors-Utility-Lake-Blue-50")
@@ -5589,16 +5621,16 @@ var Popover = function(_param) {
5589
5621
  "modal",
5590
5622
  "openChangeCallback"
5591
5623
  ]);
5592
- return /* @__PURE__ */ jsxs8(PopoverRoot, _object_spread_props(_object_spread({
5624
+ return /* @__PURE__ */ jsxs9(PopoverRoot, _object_spread_props(_object_spread({
5593
5625
  open: disabled ? false : open,
5594
5626
  modal: modal,
5595
5627
  onOpenChange: openChangeCallback
5596
5628
  }, props), {
5597
5629
  children: [
5598
5630
  anchor,
5599
- content && /* @__PURE__ */ jsxs8(Fragment2, {
5631
+ content && /* @__PURE__ */ jsxs9(Fragment2, {
5600
5632
  children: [
5601
- /* @__PURE__ */ jsx14("div", {
5633
+ /* @__PURE__ */ jsx15("div", {
5602
5634
  className: cn(hasOpenState && "data-[state=open]:bg-Colors-Background-Normal-Primary-Hover", triggerClassName),
5603
5635
  onClick: function(e) {
5604
5636
  if (isMTooltip) {
@@ -5606,23 +5638,23 @@ var Popover = function(_param) {
5606
5638
  e.stopPropagation();
5607
5639
  }
5608
5640
  },
5609
- children: /* @__PURE__ */ jsx14(PopoverTrigger, {
5641
+ children: /* @__PURE__ */ jsx15(PopoverTrigger, {
5610
5642
  asChild: true,
5611
- children: /* @__PURE__ */ jsx14("div", {
5643
+ children: /* @__PURE__ */ jsx15("div", {
5612
5644
  className: cn(hasOpenState && "data-[state=open]:bg-Colors-Background-Normal-Primary-Hover", triggerClassName),
5613
5645
  children: children
5614
5646
  })
5615
5647
  })
5616
5648
  }),
5617
- /* @__PURE__ */ jsxs8(PopoverContent, _object_spread_props(_object_spread({}, props), {
5649
+ /* @__PURE__ */ jsxs9(PopoverContent, _object_spread_props(_object_spread({}, props), {
5618
5650
  className: cn("w-fit max-w-[324px]", className),
5619
5651
  onCloseAutoFocus: function(e) {
5620
5652
  return e.preventDefault();
5621
5653
  },
5622
5654
  children: [
5623
- title && /* @__PURE__ */ jsx14("p", {
5655
+ title && /* @__PURE__ */ jsx15("p", {
5624
5656
  className: "mb-1",
5625
- children: /* @__PURE__ */ jsx14(Description, {
5657
+ children: /* @__PURE__ */ jsx15(Description, {
5626
5658
  size: "lg",
5627
5659
  weight: "medium",
5628
5660
  className: "text-inherit",
@@ -5640,11 +5672,11 @@ var Popover = function(_param) {
5640
5672
  };
5641
5673
  // src/components/tooltip.tsx
5642
5674
  import { useMedia } from "react-use";
5643
- import { Fragment as Fragment3, jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
5675
+ import { Fragment as Fragment3, jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
5644
5676
  var TooltipProvider = TooltipPrimitive.Provider;
5645
5677
  var TooltipTrigger = TooltipPrimitive.Trigger;
5646
5678
  var TooltipArrow = TooltipPrimitive.Arrow;
5647
- var Tooltip = React13.forwardRef(function(_param, ref) {
5679
+ var Tooltip = React14.forwardRef(function(_param, ref) {
5648
5680
  var open = _param.open, defaultOpen = _param.defaultOpen, _param_disabled = _param.disabled, disabled = _param_disabled === void 0 ? false : _param_disabled, children = _param.children, title = _param.title, description = _param.description, _param_size = _param.size, size = _param_size === void 0 ? "sm" : _param_size, _param_titleDangerous = _param.titleDangerous, titleDangerous = _param_titleDangerous === void 0 ? false : _param_titleDangerous, _param_descriptionDangerous = _param.descriptionDangerous, descriptionDangerous = _param_descriptionDangerous === void 0 ? false : _param_descriptionDangerous, contentClassName = _param.contentClassName, triggerClassName = _param.triggerClassName, props = _object_without_properties(_param, [
5649
5681
  "open",
5650
5682
  "defaultOpen",
@@ -5662,32 +5694,32 @@ var Tooltip = React13.forwardRef(function(_param, ref) {
5662
5694
  var defaultTitleColor = props.variant === "message" ? "static" : props.variant === "default" ? "warning-bolder" : "default";
5663
5695
  var defaultDescColor = props.variant === "message" ? "static" : "default";
5664
5696
  if (disabled) {
5665
- return /* @__PURE__ */ jsx15(Fragment3, {
5697
+ return /* @__PURE__ */ jsx16(Fragment3, {
5666
5698
  children: children
5667
5699
  });
5668
5700
  }
5669
- return /* @__PURE__ */ jsx15(Fragment3, {
5670
- children: isDesktop ? /* @__PURE__ */ jsx15(TooltipProvider, {
5701
+ return /* @__PURE__ */ jsx16(Fragment3, {
5702
+ children: isDesktop ? /* @__PURE__ */ jsx16(TooltipProvider, {
5671
5703
  delayDuration: 100,
5672
- children: /* @__PURE__ */ jsxs9(TooltipPrimitive.Root, {
5704
+ children: /* @__PURE__ */ jsxs10(TooltipPrimitive.Root, {
5673
5705
  open: disabled || !description && !title ? false : open,
5674
5706
  defaultOpen: defaultOpen,
5675
5707
  children: [
5676
- /* @__PURE__ */ jsx15(TooltipTrigger, {
5708
+ /* @__PURE__ */ jsx16(TooltipTrigger, {
5677
5709
  asChild: true,
5678
- children: /* @__PURE__ */ jsx15("div", {
5710
+ children: /* @__PURE__ */ jsx16("div", {
5679
5711
  className: cn("cursor-pointer", triggerClassName),
5680
5712
  children: children
5681
5713
  })
5682
5714
  }),
5683
- /* @__PURE__ */ jsxs9(TooltipContent, _object_spread_props(_object_spread({
5715
+ /* @__PURE__ */ jsxs10(TooltipContent, _object_spread_props(_object_spread({
5684
5716
  ref: ref,
5685
5717
  className: contentClassName
5686
5718
  }, props), {
5687
5719
  children: [
5688
- title && /* @__PURE__ */ jsx15("p", {
5720
+ title && /* @__PURE__ */ jsx16("p", {
5689
5721
  className: "mb-1",
5690
- children: /* @__PURE__ */ jsx15(Description, {
5722
+ children: /* @__PURE__ */ jsx16(Description, {
5691
5723
  size: "lg",
5692
5724
  weight: "medium",
5693
5725
  color: defaultTitleColor,
@@ -5696,7 +5728,7 @@ var Tooltip = React13.forwardRef(function(_param, ref) {
5696
5728
  children: title
5697
5729
  })
5698
5730
  }),
5699
- description && /* @__PURE__ */ jsx15(Description, {
5731
+ description && /* @__PURE__ */ jsx16(Description, {
5700
5732
  size: "lg",
5701
5733
  weight: title ? "regular" : "medium",
5702
5734
  color: title ? "subtle" : defaultDescColor,
@@ -5708,7 +5740,7 @@ var Tooltip = React13.forwardRef(function(_param, ref) {
5708
5740
  }))
5709
5741
  ]
5710
5742
  })
5711
- }) : /* @__PURE__ */ jsx15(Popover, _object_spread_props(_object_spread({
5743
+ }) : /* @__PURE__ */ jsx16(Popover, _object_spread_props(_object_spread({
5712
5744
  mode: "tooltip",
5713
5745
  open: open,
5714
5746
  title: title,
@@ -5723,7 +5755,7 @@ var Tooltip = React13.forwardRef(function(_param, ref) {
5723
5755
  });
5724
5756
  });
5725
5757
  Tooltip.displayName = TooltipPrimitive.Root.displayName;
5726
- var TooltipContent = React13.forwardRef(function(_param, ref) {
5758
+ var TooltipContent = React14.forwardRef(function(_param, ref) {
5727
5759
  var className = _param.className, _param_variant = _param.variant, variant = _param_variant === void 0 ? "default" : _param_variant, _param_align = _param.align, align = _param_align === void 0 ? "center" : _param_align, _param_side = _param.side, side = _param_side === void 0 ? "top" : _param_side, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 6 : _param_sideOffset, _param_alignOffset = _param.alignOffset, alignOffset = _param_alignOffset === void 0 ? 0 : _param_alignOffset, _param_showArrow = _param.showArrow, showArrow = _param_showArrow === void 0 ? true : _param_showArrow, arrowClassName = _param.arrowClassName, props = _object_without_properties(_param, [
5728
5760
  "className",
5729
5761
  "variant",
@@ -5734,8 +5766,8 @@ var TooltipContent = React13.forwardRef(function(_param, ref) {
5734
5766
  "showArrow",
5735
5767
  "arrowClassName"
5736
5768
  ]);
5737
- return /* @__PURE__ */ jsx15(TooltipPrimitive.Portal, {
5738
- children: /* @__PURE__ */ jsxs9(TooltipPrimitive.Content, _object_spread_props(_object_spread({
5769
+ return /* @__PURE__ */ jsx16(TooltipPrimitive.Portal, {
5770
+ children: /* @__PURE__ */ jsxs10(TooltipPrimitive.Content, _object_spread_props(_object_spread({
5739
5771
  ref: ref,
5740
5772
  align: align,
5741
5773
  sideOffset: sideOffset,
@@ -5745,7 +5777,7 @@ var TooltipContent = React13.forwardRef(function(_param, ref) {
5745
5777
  }, props), {
5746
5778
  children: [
5747
5779
  props.children,
5748
- showArrow && /* @__PURE__ */ jsx15(TooltipArrow, {
5780
+ showArrow && /* @__PURE__ */ jsx16(TooltipArrow, {
5749
5781
  width: 12,
5750
5782
  height: 6,
5751
5783
  className: cn(variant === "default" ? "fill-cc-Tooltip-bg-default stroke-cc-Tooltip-border-default -ml-[0.5px]" : "fill-Colors-Utility-Lake-Blue-50", arrowClassName)
@@ -5842,7 +5874,7 @@ var iconSizeVariants = {
5842
5874
  lg: "w-6 h-6"
5843
5875
  };
5844
5876
  // src/components/button/icon-button.tsx
5845
- import { jsx as jsx16 } from "react/jsx-runtime";
5877
+ import { jsx as jsx17 } from "react/jsx-runtime";
5846
5878
  function getDefaultColorForVariant(variant) {
5847
5879
  switch(variant){
5848
5880
  case "primary":
@@ -5875,7 +5907,7 @@ function createIconButtonWithVariant(props, ref) {
5875
5907
  var Comp = asChild ? Slot2 : "button";
5876
5908
  var iconCls = cn(iconSizeVariants[size], iconClassName);
5877
5909
  var disable = disabled || loading;
5878
- return /* @__PURE__ */ jsx16(Tooltip, {
5910
+ return /* @__PURE__ */ jsx17(Tooltip, {
5879
5911
  sideOffset: 4,
5880
5912
  size: "md",
5881
5913
  description: hoverText,
@@ -5883,7 +5915,7 @@ function createIconButtonWithVariant(props, ref) {
5883
5915
  disabled: isMob,
5884
5916
  contentClassName: cn("z-[200]", tooltipContentClassName),
5885
5917
  triggerClassName: tooltipTriggerClassName,
5886
- children: /* @__PURE__ */ jsx16(Comp, _object_spread_props(_object_spread({
5918
+ children: /* @__PURE__ */ jsx17(Comp, _object_spread_props(_object_spread({
5887
5919
  className: cn(iconButtonVariants({
5888
5920
  variant: variant,
5889
5921
  size: size,
@@ -5892,25 +5924,25 @@ function createIconButtonWithVariant(props, ref) {
5892
5924
  ref: ref,
5893
5925
  disabled: disable
5894
5926
  }, passProps), {
5895
- children: loading ? /* @__PURE__ */ jsx16(Loader22, {
5927
+ children: loading ? /* @__PURE__ */ jsx17(Loader22, {
5896
5928
  strokeWidth: 1.5,
5897
5929
  className: cn("animate-spin", iconCls)
5898
- }) : IconEle ? /* @__PURE__ */ jsx16(IconEle, {
5930
+ }) : IconEle ? /* @__PURE__ */ jsx17(IconEle, {
5899
5931
  className: iconCls,
5900
5932
  strokeWidth: 1.5
5901
- }) : React14.isValidElement(children) ? React14.cloneElement(children, {
5933
+ }) : React15.isValidElement(children) ? React15.cloneElement(children, {
5902
5934
  className: cn(iconCls, children.props.className)
5903
5935
  }) : null
5904
5936
  }))
5905
5937
  });
5906
5938
  }
5907
- var IconButton = React14.forwardRef(function(props, ref) {
5939
+ var IconButton = React15.forwardRef(function(props, ref) {
5908
5940
  return createIconButtonWithVariant(props, ref);
5909
5941
  });
5910
5942
  // src/components/audio-playing.tsx
5911
5943
  import Lottie from "lottie-web";
5912
5944
  import { useEffect as useEffect3, useRef as useRef2 } from "react";
5913
- import { jsx as jsx17 } from "react/jsx-runtime";
5945
+ import { jsx as jsx18 } from "react/jsx-runtime";
5914
5946
  function AudioPlaying(props) {
5915
5947
  var playingRef = useRef2(null);
5916
5948
  useEffect3(function() {
@@ -5930,18 +5962,18 @@ function AudioPlaying(props) {
5930
5962
  return animation.destroy();
5931
5963
  };
5932
5964
  }, []);
5933
- return /* @__PURE__ */ jsx17("div", {
5965
+ return /* @__PURE__ */ jsx18("div", {
5934
5966
  ref: playingRef,
5935
5967
  className: "size-3"
5936
5968
  });
5937
5969
  }
5938
5970
  // src/components/audio-player.tsx
5939
- import { jsx as jsx18, jsxs as jsxs10 } from "react/jsx-runtime";
5971
+ import { jsx as jsx19, jsxs as jsxs11 } from "react/jsx-runtime";
5940
5972
  function AudioPlayer(param) {
5941
5973
  var src = param.src;
5942
5974
  var _ref_current;
5943
5975
  var AudioComp = useAudioPlayer_default();
5944
- var _useAudio = _sliced_to_array(useAudio(/* @__PURE__ */ jsx18(AudioComp, {
5976
+ var _useAudio = _sliced_to_array(useAudio(/* @__PURE__ */ jsx19(AudioComp, {
5945
5977
  src: src,
5946
5978
  onEnded: function() {
5947
5979
  return controls.seek(0);
@@ -5960,28 +5992,28 @@ function AudioPlayer(param) {
5960
5992
  controls.pause();
5961
5993
  }
5962
5994
  };
5963
- return /* @__PURE__ */ jsxs10("div", {
5995
+ return /* @__PURE__ */ jsxs11("div", {
5964
5996
  className: "flex flex-col space-y-1 w-full overflow-hidden",
5965
5997
  children: [
5966
- /* @__PURE__ */ jsx18("div", {
5998
+ /* @__PURE__ */ jsx19("div", {
5967
5999
  className: "bg-Colors-Background-Brand-Default h-px w-full items-start",
5968
6000
  style: {
5969
6001
  width: "".concat(getPercent(time, duration2) * 100, "%")
5970
6002
  }
5971
6003
  }),
5972
- /* @__PURE__ */ jsxs10("div", {
6004
+ /* @__PURE__ */ jsxs11("div", {
5973
6005
  className: "flex items-center space-x-3",
5974
6006
  children: [
5975
- /* @__PURE__ */ jsx18(IconButton, {
6007
+ /* @__PURE__ */ jsx19(IconButton, {
5976
6008
  className: "w-6 h-6",
5977
6009
  onClick: onAudioToggle,
5978
- children: paused ? /* @__PURE__ */ jsx18(PlayIcon, {
6010
+ children: paused ? /* @__PURE__ */ jsx19(PlayIcon, {
5979
6011
  className: "w-3 h-3 ml-0.5"
5980
- }) : /* @__PURE__ */ jsx18(AudioPlaying, {})
6012
+ }) : /* @__PURE__ */ jsx19(AudioPlaying, {})
5981
6013
  }),
5982
- /* @__PURE__ */ jsx18("div", {
6014
+ /* @__PURE__ */ jsx19("div", {
5983
6015
  className: "flex flex-col grow overflow-hidden",
5984
- children: /* @__PURE__ */ jsx18("div", {
6016
+ children: /* @__PURE__ */ jsx19("div", {
5985
6017
  className: "text-sm text-Colors-Text-Brand-Default truncate",
5986
6018
  children: durationFormatter((playing || paused) && time || duration2)
5987
6019
  })
@@ -5993,10 +6025,10 @@ function AudioPlayer(param) {
5993
6025
  });
5994
6026
  }
5995
6027
  // node_modules/@radix-ui/react-primitive/dist/index.mjs
5996
- import * as React15 from "react";
6028
+ import * as React16 from "react";
5997
6029
  import * as ReactDOM from "react-dom";
5998
6030
  import { Slot as Slot3 } from "@radix-ui/react-slot";
5999
- import { jsx as jsx19 } from "react/jsx-runtime";
6031
+ import { jsx as jsx20 } from "react/jsx-runtime";
6000
6032
  var NODES = [
6001
6033
  "a",
6002
6034
  "button",
@@ -6016,7 +6048,7 @@ var NODES = [
6016
6048
  "ul"
6017
6049
  ];
6018
6050
  var Primitive = NODES.reduce(function(primitive, node) {
6019
- var Node = React15.forwardRef(function(props, forwardedRef) {
6051
+ var Node = React16.forwardRef(function(props, forwardedRef) {
6020
6052
  var asChild = props.asChild, primitiveProps = _object_without_properties(props, [
6021
6053
  "asChild"
6022
6054
  ]);
@@ -6024,7 +6056,7 @@ var Primitive = NODES.reduce(function(primitive, node) {
6024
6056
  if (typeof window !== "undefined") {
6025
6057
  window[Symbol.for("radix-ui")] = true;
6026
6058
  }
6027
- return /* @__PURE__ */ jsx19(Comp, _object_spread_props(_object_spread({}, primitiveProps), {
6059
+ return /* @__PURE__ */ jsx20(Comp, _object_spread_props(_object_spread({}, primitiveProps), {
6028
6060
  ref: forwardedRef
6029
6061
  }));
6030
6062
  });
@@ -6033,8 +6065,8 @@ var Primitive = NODES.reduce(function(primitive, node) {
6033
6065
  }, {});
6034
6066
  // src/components/avatar.tsx
6035
6067
  import { cva as cva6 } from "class-variance-authority";
6036
- import * as React16 from "react";
6037
- import { jsx as jsx20 } from "react/jsx-runtime";
6068
+ import * as React17 from "react";
6069
+ import { jsx as jsx21 } from "react/jsx-runtime";
6038
6070
  var avatarVariants = cva6("relative flex shrink-0 overflow-hidden bg-Colors-Background-Normal-Secondary-Hover", {
6039
6071
  variants: {
6040
6072
  size: {
@@ -6065,12 +6097,12 @@ var avatarVariants = cva6("relative flex shrink-0 overflow-hidden bg-Colors-Back
6065
6097
  size: "md"
6066
6098
  }
6067
6099
  });
6068
- var AvatarRoot = React16.forwardRef(function(_param, ref) {
6100
+ var AvatarRoot = React17.forwardRef(function(_param, ref) {
6069
6101
  var className = _param.className, _param_size = _param.size, size = _param_size === void 0 ? "md" : _param_size, passProps = _object_without_properties(_param, [
6070
6102
  "className",
6071
6103
  "size"
6072
6104
  ]);
6073
- return /* @__PURE__ */ jsx20(Primitive.span, _object_spread({
6105
+ return /* @__PURE__ */ jsx21(Primitive.span, _object_spread({
6074
6106
  ref: ref,
6075
6107
  className: cn(avatarVariants({
6076
6108
  size: size
@@ -6078,13 +6110,13 @@ var AvatarRoot = React16.forwardRef(function(_param, ref) {
6078
6110
  }, passProps));
6079
6111
  });
6080
6112
  AvatarRoot.displayName = "Avatar";
6081
- var AvatarImage = React16.forwardRef(function(_param, ref) {
6113
+ var AvatarImage = React17.forwardRef(function(_param, ref) {
6082
6114
  var className = _param.className, onLoad = _param.onLoad, onError = _param.onError, props = _object_without_properties(_param, [
6083
6115
  "className",
6084
6116
  "onLoad",
6085
6117
  "onError"
6086
6118
  ]);
6087
- var _React16_useState = _sliced_to_array(React16.useState("loading"), 2), loadingStatus = _React16_useState[0], setLoadingStatus = _React16_useState[1];
6119
+ var _React17_useState = _sliced_to_array(React17.useState("loading"), 2), loadingStatus = _React17_useState[0], setLoadingStatus = _React17_useState[1];
6088
6120
  var handleLoad = function(event) {
6089
6121
  setLoadingStatus("loaded");
6090
6122
  if (onLoad) {
@@ -6097,18 +6129,18 @@ var AvatarImage = React16.forwardRef(function(_param, ref) {
6097
6129
  onError(event);
6098
6130
  }
6099
6131
  };
6100
- return loadingStatus !== "error" ? /* @__PURE__ */ jsx20(Primitive.img, _object_spread({
6132
+ return loadingStatus !== "error" ? /* @__PURE__ */ jsx21(Primitive.img, _object_spread({
6101
6133
  ref: ref,
6102
6134
  className: cn("aspect-square h-full w-full object-cover", className),
6103
6135
  onLoad: handleLoad,
6104
6136
  onError: handleError
6105
- }, props)) : /* @__PURE__ */ jsx20(Primitive.span, _object_spread({
6137
+ }, props)) : /* @__PURE__ */ jsx21(Primitive.span, _object_spread({
6106
6138
  ref: ref,
6107
6139
  className: cn("flex h-full w-full items-center justify-center bg-Colors-Background-Normal-Secondary-Hover", className)
6108
6140
  }, props));
6109
6141
  });
6110
6142
  AvatarImage.displayName = "AvatarImage";
6111
- var Avatar = React16.forwardRef(function(_param, ref) {
6143
+ var Avatar = React17.forwardRef(function(_param, ref) {
6112
6144
  var className = _param.className, rootStyle = _param.rootStyle, size = _param.size, src = _param.src, _param_variant = _param.variant, variant = _param_variant === void 0 ? "bot" : _param_variant, _param_border = _param.border, border = _param_border === void 0 ? true : _param_border, passProps = _object_without_properties(_param, [
6113
6145
  "className",
6114
6146
  "rootStyle",
@@ -6118,11 +6150,11 @@ var Avatar = React16.forwardRef(function(_param, ref) {
6118
6150
  "border"
6119
6151
  ]);
6120
6152
  var defaultSrc = variant === "user" ? "https://www.myshellstatic.com/image/user/avatar/20250414/default_user_avatar.png" : "https://www.myshellstatic.com/image/bot/icon/20250414/default_bot_avatar.png";
6121
- return /* @__PURE__ */ jsx20(AvatarRoot, {
6153
+ return /* @__PURE__ */ jsx21(AvatarRoot, {
6122
6154
  size: size,
6123
6155
  className: cn(border && "border-Colors-Border-Default border-[0.3px]", className),
6124
6156
  style: rootStyle,
6125
- children: /* @__PURE__ */ jsx20(AvatarImage, _object_spread_props(_object_spread({
6157
+ children: /* @__PURE__ */ jsx21(AvatarImage, _object_spread_props(_object_spread({
6126
6158
  ref: ref
6127
6159
  }, passProps), {
6128
6160
  src: src || defaultSrc
@@ -6132,7 +6164,7 @@ var Avatar = React16.forwardRef(function(_param, ref) {
6132
6164
  Avatar.displayName = "Avatar";
6133
6165
  // src/components/badge.tsx
6134
6166
  import { cva as cva7 } from "class-variance-authority";
6135
- import { jsx as jsx21 } from "react/jsx-runtime";
6167
+ import { jsx as jsx22 } from "react/jsx-runtime";
6136
6168
  var badgeVariants = cva7("rounded-full flex items-center justify-center text-Colors-Text-Default", {
6137
6169
  variants: {
6138
6170
  status: {
@@ -6152,14 +6184,14 @@ var badgeVariants = cva7("rounded-full flex items-center justify-center text-Col
6152
6184
  function Badge(props) {
6153
6185
  var status = props.status, count2 = props.count, className = props.className;
6154
6186
  var unReadCount = count2 && count2 < 100 ? count2 : "99+";
6155
- return /* @__PURE__ */ jsx21("div", {
6187
+ return /* @__PURE__ */ jsx22("div", {
6156
6188
  className: cn(badgeVariants({
6157
6189
  status: status
6158
6190
  }), className),
6159
- children: status === "new" ? /* @__PURE__ */ jsx21("span", {
6191
+ children: status === "new" ? /* @__PURE__ */ jsx22("span", {
6160
6192
  className: "text-2xs font-medium text-Colors-Text-Static-White leading-[12px]",
6161
6193
  children: "New"
6162
- }) : /* @__PURE__ */ jsx21("span", {
6194
+ }) : /* @__PURE__ */ jsx22("span", {
6163
6195
  className: "font-medium text-2xs leading-[1.3]",
6164
6196
  children: unReadCount && (status === "unRead" || status === "cardUnRead") ? count2 : null
6165
6197
  })
@@ -6168,9 +6200,9 @@ function Badge(props) {
6168
6200
  // src/components/button/link-button.tsx
6169
6201
  import { Slot as Slot4 } from "@radix-ui/react-slot";
6170
6202
  import { Loader2 as Loader23 } from "lucide-react";
6171
- import * as React17 from "react";
6172
- import { Fragment as Fragment4, jsx as jsx22, jsxs as jsxs11 } from "react/jsx-runtime";
6173
- var LinkButton = React17.forwardRef(function(_param, ref) {
6203
+ import * as React18 from "react";
6204
+ import { Fragment as Fragment4, jsx as jsx23, jsxs as jsxs12 } from "react/jsx-runtime";
6205
+ var LinkButton = React18.forwardRef(function(_param, ref) {
6174
6206
  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, [
6175
6207
  "className",
6176
6208
  "iconClassName",
@@ -6191,7 +6223,7 @@ var LinkButton = React17.forwardRef(function(_param, ref) {
6191
6223
  ]);
6192
6224
  var Comp = asChild ? Slot4 : "button";
6193
6225
  var disable = disabled || loading;
6194
- return /* @__PURE__ */ jsxs11(Comp, _object_spread_props(_object_spread({
6226
+ return /* @__PURE__ */ jsxs12(Comp, _object_spread_props(_object_spread({
6195
6227
  className: noStyle ? className : cn(buttonVariants({
6196
6228
  variant: "link",
6197
6229
  color: color,
@@ -6203,9 +6235,9 @@ var LinkButton = React17.forwardRef(function(_param, ref) {
6203
6235
  autoFocus: autoFocus
6204
6236
  }, props), {
6205
6237
  children: [
6206
- loading && /* @__PURE__ */ jsx22("span", {
6238
+ loading && /* @__PURE__ */ jsx23("span", {
6207
6239
  className: "absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center",
6208
- children: /* @__PURE__ */ jsx22(Loader23, {
6240
+ children: /* @__PURE__ */ jsx23(Loader23, {
6209
6241
  className: cn(iconVariants2({
6210
6242
  variant: "link",
6211
6243
  size: size
@@ -6218,7 +6250,7 @@ var LinkButton = React17.forwardRef(function(_param, ref) {
6218
6250
  iconClassName: iconClassName,
6219
6251
  size: size
6220
6252
  }),
6221
- /* @__PURE__ */ jsxs11("span", {
6253
+ /* @__PURE__ */ jsxs12("span", {
6222
6254
  className: cn("inline-flex w-full items-center justify-center", loading ? "opacity-0" : "opacity-100"),
6223
6255
  children: [
6224
6256
  !asset && icon && !iconOutBox && iconDirection === "left" && renderIcon2(icon, "left", {
@@ -6228,20 +6260,20 @@ var LinkButton = React17.forwardRef(function(_param, ref) {
6228
6260
  size: size
6229
6261
  }),
6230
6262
  children,
6231
- asset ? /* @__PURE__ */ jsxs11(Fragment4, {
6263
+ asset ? /* @__PURE__ */ jsxs12(Fragment4, {
6232
6264
  children: [
6233
- /* @__PURE__ */ jsx22(Separator, {
6265
+ /* @__PURE__ */ jsx23(Separator, {
6234
6266
  orientation: "vertical",
6235
6267
  className: cn("mx-1.5 h-3")
6236
6268
  }),
6237
- /* @__PURE__ */ jsx22(Image2, {
6269
+ /* @__PURE__ */ jsx23(Image2, {
6238
6270
  src: asset === "energy" ? getAssetsUrl("image/bot/tag/20231214/1719340128612116720.png") : "",
6239
6271
  alt: asset,
6240
6272
  width: 16,
6241
6273
  height: 16,
6242
6274
  className: "flex-shrink-0"
6243
6275
  }),
6244
- /* @__PURE__ */ jsx22(Text, {
6276
+ /* @__PURE__ */ jsx23(Text, {
6245
6277
  size: "xs",
6246
6278
  className: cn("ml-0.5 text-inherit"),
6247
6279
  children: assetNumber
@@ -6267,7 +6299,7 @@ var LinkButton = React17.forwardRef(function(_param, ref) {
6267
6299
  });
6268
6300
  var renderIcon2 = function(icon, direction, param) {
6269
6301
  var loading = param.loading, noStyle = param.noStyle, iconClassName = param.iconClassName, _param_size = param.size, size = _param_size === void 0 ? "lg" : _param_size;
6270
- return /* @__PURE__ */ jsx22(Icon, {
6302
+ return /* @__PURE__ */ jsx23(Icon, {
6271
6303
  component: icon,
6272
6304
  className: noStyle ? iconClassName : cn(iconVariants2({
6273
6305
  variant: "link",
@@ -6284,83 +6316,83 @@ import { useToggle } from "react-use";
6284
6316
  // src/components/dropdown-menu.tsx
6285
6317
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
6286
6318
  import { Check, ChevronRight, Circle } from "lucide-react";
6287
- import * as React18 from "react";
6288
- import { jsx as jsx23, jsxs as jsxs12 } from "react/jsx-runtime";
6319
+ import * as React19 from "react";
6320
+ import { jsx as jsx24, jsxs as jsxs13 } from "react/jsx-runtime";
6289
6321
  var DropdownMenu = DropdownMenuPrimitive.Root;
6290
6322
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
6291
6323
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
6292
6324
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
6293
6325
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
6294
6326
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
6295
- var DropdownMenuSubTrigger = React18.forwardRef(function(_param, ref) {
6327
+ var DropdownMenuSubTrigger = React19.forwardRef(function(_param, ref) {
6296
6328
  var className = _param.className, inset = _param.inset, children = _param.children, props = _object_without_properties(_param, [
6297
6329
  "className",
6298
6330
  "inset",
6299
6331
  "children"
6300
6332
  ]);
6301
- return /* @__PURE__ */ jsxs12(DropdownMenuPrimitive.SubTrigger, _object_spread_props(_object_spread({
6333
+ return /* @__PURE__ */ jsxs13(DropdownMenuPrimitive.SubTrigger, _object_spread_props(_object_spread({
6302
6334
  ref: ref,
6303
6335
  className: cn("flex cursor-default select-none items-center rounded-sm px-3 py-2 outline-none focus:bg-Colors-Background-Neutral-Primary-Default data-[state=open]:bg-Colors-Background-Neutral-Primary-Default", inset && "pl-8", className)
6304
6336
  }, props), {
6305
6337
  children: [
6306
6338
  children,
6307
- /* @__PURE__ */ jsx23(ChevronRight, {
6339
+ /* @__PURE__ */ jsx24(ChevronRight, {
6308
6340
  className: "ml-auto h-4 w-4"
6309
6341
  })
6310
6342
  ]
6311
6343
  }));
6312
6344
  });
6313
6345
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
6314
- var DropdownMenuSubContent = React18.forwardRef(function(_param, ref) {
6346
+ var DropdownMenuSubContent = React19.forwardRef(function(_param, ref) {
6315
6347
  var className = _param.className, props = _object_without_properties(_param, [
6316
6348
  "className"
6317
6349
  ]);
6318
- return /* @__PURE__ */ jsx23(DropdownMenuPrimitive.SubContent, _object_spread({
6350
+ return /* @__PURE__ */ jsx24(DropdownMenuPrimitive.SubContent, _object_spread({
6319
6351
  ref: ref,
6320
6352
  className: cn("z-50 min-w-[8rem] overflow-hidden rounded-sm border border-Colors-Border-Default bg-Colors-Background-Utilities-Modal p-2 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", className)
6321
6353
  }, props));
6322
6354
  });
6323
6355
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
6324
- var DropdownMenuContent = React18.forwardRef(function(_param, ref) {
6356
+ var DropdownMenuContent = React19.forwardRef(function(_param, ref) {
6325
6357
  var className = _param.className, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 4 : _param_sideOffset, props = _object_without_properties(_param, [
6326
6358
  "className",
6327
6359
  "sideOffset"
6328
6360
  ]);
6329
- return /* @__PURE__ */ jsx23(DropdownMenuPrimitive.Content, _object_spread({
6361
+ return /* @__PURE__ */ jsx24(DropdownMenuPrimitive.Content, _object_spread({
6330
6362
  ref: ref,
6331
6363
  sideOffset: sideOffset,
6332
6364
  className: cn("z-[100] min-w-[8rem] overflow-hidden rounded-sm border border-Colors-Border-Opaque bg-Colors-Background-Normal-Primary-Default p-1 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", className)
6333
6365
  }, props));
6334
6366
  });
6335
6367
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
6336
- var DropdownMenuItem = React18.forwardRef(function(_param, ref) {
6368
+ var DropdownMenuItem = React19.forwardRef(function(_param, ref) {
6337
6369
  var className = _param.className, inset = _param.inset, props = _object_without_properties(_param, [
6338
6370
  "className",
6339
6371
  "inset"
6340
6372
  ]);
6341
- return /* @__PURE__ */ jsx23(DropdownMenuPrimitive.Item, _object_spread({
6373
+ return /* @__PURE__ */ jsx24(DropdownMenuPrimitive.Item, _object_spread({
6342
6374
  ref: ref,
6343
6375
  className: cn("relative flex cursor-default select-none items-center rounded-sm px-2 py-1 outline-none transition-colors focus:bg-Colors-Background-Neutral-Primary-Default data-[disabled]:pointer-events-none data-[disabled]:opacity-30", inset && "pl-8", className)
6344
6376
  }, props));
6345
6377
  });
6346
6378
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
6347
- var DropdownMenuCheckboxItem = React18.forwardRef(function(_param, ref) {
6379
+ var DropdownMenuCheckboxItem = React19.forwardRef(function(_param, ref) {
6348
6380
  var className = _param.className, children = _param.children, checked = _param.checked, props = _object_without_properties(_param, [
6349
6381
  "className",
6350
6382
  "children",
6351
6383
  "checked"
6352
6384
  ]);
6353
- return /* @__PURE__ */ jsxs12(DropdownMenuPrimitive.CheckboxItem, _object_spread_props(_object_spread({
6385
+ return /* @__PURE__ */ jsxs13(DropdownMenuPrimitive.CheckboxItem, _object_spread_props(_object_spread({
6354
6386
  ref: ref,
6355
6387
  className: cn("relative flex cursor-default select-none items-center rounded-xs py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-slate-100 focus:text-slate-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-30", className),
6356
6388
  checked: checked
6357
6389
  }, props), {
6358
6390
  children: [
6359
6391
  children,
6360
- /* @__PURE__ */ jsx23("span", {
6392
+ /* @__PURE__ */ jsx24("span", {
6361
6393
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
6362
- children: /* @__PURE__ */ jsx23(DropdownMenuPrimitive.ItemIndicator, {
6363
- children: /* @__PURE__ */ jsx23(Check, {
6394
+ children: /* @__PURE__ */ jsx24(DropdownMenuPrimitive.ItemIndicator, {
6395
+ children: /* @__PURE__ */ jsx24(Check, {
6364
6396
  className: "h-4 w-4"
6365
6397
  })
6366
6398
  })
@@ -6369,20 +6401,20 @@ var DropdownMenuCheckboxItem = React18.forwardRef(function(_param, ref) {
6369
6401
  }));
6370
6402
  });
6371
6403
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
6372
- var DropdownMenuRadioItem = React18.forwardRef(function(_param, ref) {
6404
+ var DropdownMenuRadioItem = React19.forwardRef(function(_param, ref) {
6373
6405
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
6374
6406
  "className",
6375
6407
  "children"
6376
6408
  ]);
6377
- return /* @__PURE__ */ jsxs12(DropdownMenuPrimitive.RadioItem, _object_spread_props(_object_spread({
6409
+ return /* @__PURE__ */ jsxs13(DropdownMenuPrimitive.RadioItem, _object_spread_props(_object_spread({
6378
6410
  ref: ref,
6379
6411
  className: cn("relative flex cursor-default select-none items-center rounded-xs py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-slate-100 focus:text-slate-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-slate-800 dark:focus:text-slate-50", className)
6380
6412
  }, props), {
6381
6413
  children: [
6382
- /* @__PURE__ */ jsx23("span", {
6414
+ /* @__PURE__ */ jsx24("span", {
6383
6415
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
6384
- children: /* @__PURE__ */ jsx23(DropdownMenuPrimitive.ItemIndicator, {
6385
- children: /* @__PURE__ */ jsx23(Circle, {
6416
+ children: /* @__PURE__ */ jsx24(DropdownMenuPrimitive.ItemIndicator, {
6417
+ children: /* @__PURE__ */ jsx24(Circle, {
6386
6418
  className: "h-2 w-2 fill-current"
6387
6419
  })
6388
6420
  })
@@ -6392,22 +6424,22 @@ var DropdownMenuRadioItem = React18.forwardRef(function(_param, ref) {
6392
6424
  }));
6393
6425
  });
6394
6426
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
6395
- var DropdownMenuLabel = React18.forwardRef(function(_param, ref) {
6427
+ var DropdownMenuLabel = React19.forwardRef(function(_param, ref) {
6396
6428
  var className = _param.className, inset = _param.inset, props = _object_without_properties(_param, [
6397
6429
  "className",
6398
6430
  "inset"
6399
6431
  ]);
6400
- return /* @__PURE__ */ jsx23(DropdownMenuPrimitive.Label, _object_spread({
6432
+ return /* @__PURE__ */ jsx24(DropdownMenuPrimitive.Label, _object_spread({
6401
6433
  ref: ref,
6402
6434
  className: cn("px-3 py-1 text-sm font-medium", inset && "pl-8", className)
6403
6435
  }, props));
6404
6436
  });
6405
6437
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
6406
- var DropdownMenuSeparator = React18.forwardRef(function(_param, ref) {
6438
+ var DropdownMenuSeparator = React19.forwardRef(function(_param, ref) {
6407
6439
  var className = _param.className, props = _object_without_properties(_param, [
6408
6440
  "className"
6409
6441
  ]);
6410
- return /* @__PURE__ */ jsx23(DropdownMenuPrimitive.Separator, _object_spread({
6442
+ return /* @__PURE__ */ jsx24(DropdownMenuPrimitive.Separator, _object_spread({
6411
6443
  ref: ref,
6412
6444
  className: cn("my-1 h-px bg-[var(--Colors-Border-Default)]", className)
6413
6445
  }, props));
@@ -6417,19 +6449,19 @@ var DropdownMenuShortcut = function(_param) {
6417
6449
  var className = _param.className, props = _object_without_properties(_param, [
6418
6450
  "className"
6419
6451
  ]);
6420
- return /* @__PURE__ */ jsx23("span", _object_spread({
6452
+ return /* @__PURE__ */ jsx24("span", _object_spread({
6421
6453
  className: cn("ml-auto text-xs tracking-widest opacity-60", className)
6422
6454
  }, props));
6423
6455
  };
6424
6456
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
6425
6457
  // src/components/cascader.tsx
6426
- import { jsx as jsx24, jsxs as jsxs13 } from "react/jsx-runtime";
6458
+ import { jsx as jsx25, jsxs as jsxs14 } from "react/jsx-runtime";
6427
6459
  // src/components/checkbox.tsx
6428
6460
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
6429
6461
  import { cva as cva8 } from "class-variance-authority";
6430
- import * as React19 from "react";
6462
+ import * as React20 from "react";
6431
6463
  import { CheckIcon } from "lucide-react";
6432
- import { jsx as jsx25, jsxs as jsxs14 } from "react/jsx-runtime";
6464
+ import { jsx as jsx26, jsxs as jsxs15 } from "react/jsx-runtime";
6433
6465
  var checkboxVariants = cva8("peer w-5 h-5 shrink-0 border-[1.5px] overflow-hidden flex items-center justify-center text-current focus-visible-style", {
6434
6466
  variants: {
6435
6467
  variant: {
@@ -6443,7 +6475,7 @@ var checkboxVariants = cva8("peer w-5 h-5 shrink-0 border-[1.5px] overflow-hidd
6443
6475
  variant: "checkbox"
6444
6476
  }
6445
6477
  });
6446
- var Checkbox = React19.forwardRef(function(_param, ref) {
6478
+ var Checkbox = React20.forwardRef(function(_param, ref) {
6447
6479
  var className = _param.className, variant = _param.variant, label = _param.label, labelClassName = _param.labelClassName, caption = _param.caption, captionClassName = _param.captionClassName, props = _object_without_properties(_param, [
6448
6480
  "className",
6449
6481
  "variant",
@@ -6452,32 +6484,32 @@ var Checkbox = React19.forwardRef(function(_param, ref) {
6452
6484
  "caption",
6453
6485
  "captionClassName"
6454
6486
  ]);
6455
- var Component = label ? "div" : React19.Fragment;
6456
- return /* @__PURE__ */ jsxs14(Component, {
6487
+ var Component = label ? "div" : React20.Fragment;
6488
+ return /* @__PURE__ */ jsxs15(Component, {
6457
6489
  className: cn("flex items-center justify-center space-x-1.5 text-Colors-Text-Default", caption && "items-start"),
6458
6490
  children: [
6459
- /* @__PURE__ */ jsx25(CheckboxPrimitive.Root, _object_spread_props(_object_spread({
6491
+ /* @__PURE__ */ jsx26(CheckboxPrimitive.Root, _object_spread_props(_object_spread({
6460
6492
  ref: ref,
6461
6493
  className: cn(checkboxVariants({
6462
6494
  variant: variant,
6463
6495
  className: className
6464
6496
  }))
6465
6497
  }, props), {
6466
- children: /* @__PURE__ */ jsx25(CheckboxPrimitive.Indicator, {
6498
+ children: /* @__PURE__ */ jsx26(CheckboxPrimitive.Indicator, {
6467
6499
  className: cn("flex items-center justify-center", variant === "radio" && "[&>div]:data-[disabled]:bg-cc-Check-Box-bg-disabled [&>div]:data-[state=checked]:bg-cc-Check-Box-bg-disabled", variant === "static" && "[&>div]:data-[disabled]:bg-cc-Check-Box-bg-disabled text-Colors-Beta-White-100 !border-none"),
6468
- children: variant === "radio" ? /* @__PURE__ */ jsx25("div", {
6500
+ children: variant === "radio" ? /* @__PURE__ */ jsx26("div", {
6469
6501
  className: cn("w-2 h-2 rounded-full")
6470
- }) : /* @__PURE__ */ jsx25(Icon, {
6502
+ }) : /* @__PURE__ */ jsx26(Icon, {
6471
6503
  component: CheckIcon,
6472
6504
  className: "w-3 h-3 stroke-current text-current"
6473
6505
  })
6474
6506
  })
6475
6507
  })),
6476
- label && /* @__PURE__ */ jsxs14("p", {
6508
+ label && /* @__PURE__ */ jsxs15("p", {
6477
6509
  className: cn("text-sm", labelClassName),
6478
6510
  children: [
6479
6511
  label,
6480
- caption && /* @__PURE__ */ jsx25("p", {
6512
+ caption && /* @__PURE__ */ jsx26("p", {
6481
6513
  className: cn("text-sm text-Colors-Text-Subtler", captionClassName),
6482
6514
  children: caption
6483
6515
  })
@@ -6490,36 +6522,36 @@ Checkbox.displayName = CheckboxPrimitive.Root.displayName;
6490
6522
  // src/components/command.tsx
6491
6523
  import { Command as CommandPrimitive } from "cmdk";
6492
6524
  import { Search } from "lucide-react";
6493
- import * as React21 from "react";
6525
+ import * as React22 from "react";
6494
6526
  // src/components/dialog.tsx
6495
6527
  import * as DialogPrimitive from "@radix-ui/react-dialog";
6496
6528
  import { X } from "lucide-react";
6497
- import * as React20 from "react";
6498
- import { jsx as jsx26, jsxs as jsxs15 } from "react/jsx-runtime";
6529
+ import * as React21 from "react";
6530
+ import { jsx as jsx27, jsxs as jsxs16 } from "react/jsx-runtime";
6499
6531
  var Dialog = DialogPrimitive.Root;
6500
6532
  var DialogPortal = DialogPrimitive.Portal;
6501
6533
  var DialogClose = DialogPrimitive.Close;
6502
- var DialogTrigger = React20.forwardRef(function(_param, ref) {
6534
+ var DialogTrigger = React21.forwardRef(function(_param, ref) {
6503
6535
  var className = _param.className, props = _object_without_properties(_param, [
6504
6536
  "className"
6505
6537
  ]);
6506
- return /* @__PURE__ */ jsx26(DialogPrimitive.Trigger, _object_spread({
6538
+ return /* @__PURE__ */ jsx27(DialogPrimitive.Trigger, _object_spread({
6507
6539
  ref: ref,
6508
6540
  className: cn("focus-visible-style", className)
6509
6541
  }, props));
6510
6542
  });
6511
6543
  DialogTrigger.displayName = DialogPrimitive.Trigger.displayName;
6512
- var DialogOverlay = React20.forwardRef(function(_param, ref) {
6544
+ var DialogOverlay = React21.forwardRef(function(_param, ref) {
6513
6545
  var className = _param.className, props = _object_without_properties(_param, [
6514
6546
  "className"
6515
6547
  ]);
6516
- return /* @__PURE__ */ jsx26(DialogPrimitive.Overlay, _object_spread({
6548
+ return /* @__PURE__ */ jsx27(DialogPrimitive.Overlay, _object_spread({
6517
6549
  ref: ref,
6518
6550
  className: cn("fixed inset-0 z-50 bg-opacity-90 md:bg-opacity-75 bg-Colors-Background-Utilities-Overlay data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className)
6519
6551
  }, props));
6520
6552
  });
6521
6553
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
6522
- var DialogContent = React20.forwardRef(function(_param, ref) {
6554
+ var DialogContent = React21.forwardRef(function(_param, ref) {
6523
6555
  var className = _param.className, children = _param.children, _param_hideClose = _param.hideClose, hideClose = _param_hideClose === void 0 ? false : _param_hideClose, _param_maskClosable = _param.maskClosable, maskClosable = _param_maskClosable === void 0 ? true : _param_maskClosable, _param_overlayClose = _param.overlayClose, overlayClose = _param_overlayClose === void 0 ? true : _param_overlayClose, onClose = _param.onClose, overlayClassName = _param.overlayClassName, iconClassName = _param.iconClassName, props = _object_without_properties(_param, [
6524
6556
  "className",
6525
6557
  "children",
@@ -6530,30 +6562,30 @@ var DialogContent = React20.forwardRef(function(_param, ref) {
6530
6562
  "overlayClassName",
6531
6563
  "iconClassName"
6532
6564
  ]);
6533
- return /* @__PURE__ */ jsxs15(DialogPortal, {
6565
+ return /* @__PURE__ */ jsxs16(DialogPortal, {
6534
6566
  children: [
6535
- /* @__PURE__ */ jsx26(DialogOverlay, {
6567
+ /* @__PURE__ */ jsx27(DialogOverlay, {
6536
6568
  onClick: function() {
6537
6569
  maskClosable && overlayClose && onClose && onClose();
6538
6570
  },
6539
6571
  className: overlayClassName
6540
6572
  }),
6541
- /* @__PURE__ */ jsxs15(DialogPrimitive.Content, _object_spread_props(_object_spread({
6573
+ /* @__PURE__ */ jsxs16(DialogPrimitive.Content, _object_spread_props(_object_spread({
6542
6574
  ref: ref,
6543
6575
  className: cn("fixed left-[50%] top-[50%] z-50 grid w-[90%] rounded-4xl max-w-lg translate-x-[-50%] translate-y-[-50%] bg-Colors-Background-Normal-Primary-Default shadow-modal-default duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] focus-visible-style", className)
6544
6576
  }, props), {
6545
6577
  children: [
6546
6578
  children,
6547
- !hideClose && /* @__PURE__ */ jsxs15(DialogPrimitive.Close, {
6579
+ !hideClose && /* @__PURE__ */ jsxs16(DialogPrimitive.Close, {
6548
6580
  className: cn("w-9 h-9 absolute right-5 top-3 flex justify-center items-center focus-visible:outline-0 rounded-full hover:bg-Colors-Background-Normal-Primary-Hover", iconClassName),
6549
6581
  onClick: function() {
6550
6582
  onClose && onClose();
6551
6583
  },
6552
6584
  children: [
6553
- /* @__PURE__ */ jsx26(X, {
6585
+ /* @__PURE__ */ jsx27(X, {
6554
6586
  className: "w-6 h-6 text-Colors-Foreground-Subtle"
6555
6587
  }),
6556
- /* @__PURE__ */ jsx26("span", {
6588
+ /* @__PURE__ */ jsx27("span", {
6557
6589
  className: "sr-only",
6558
6590
  children: "Close"
6559
6591
  })
@@ -6569,7 +6601,7 @@ function DialogHeader(_param) {
6569
6601
  var className = _param.className, props = _object_without_properties(_param, [
6570
6602
  "className"
6571
6603
  ]);
6572
- return /* @__PURE__ */ jsx26("div", _object_spread({
6604
+ return /* @__PURE__ */ jsx27("div", _object_spread({
6573
6605
  className: cn("flex flex-col p-4", className)
6574
6606
  }, props));
6575
6607
  }
@@ -6578,38 +6610,38 @@ function DialogFooter(_param) {
6578
6610
  var className = _param.className, props = _object_without_properties(_param, [
6579
6611
  "className"
6580
6612
  ]);
6581
- return /* @__PURE__ */ jsx26("div", _object_spread({
6613
+ return /* @__PURE__ */ jsx27("div", _object_spread({
6582
6614
  className: cn("flex justify-end p-4", className)
6583
6615
  }, props));
6584
6616
  }
6585
6617
  DialogFooter.displayName = "DialogFooter";
6586
- var DialogTitle = React20.forwardRef(function(_param, ref) {
6618
+ var DialogTitle = React21.forwardRef(function(_param, ref) {
6587
6619
  var className = _param.className, props = _object_without_properties(_param, [
6588
6620
  "className"
6589
6621
  ]);
6590
- return /* @__PURE__ */ jsx26(DialogPrimitive.Title, _object_spread({
6622
+ return /* @__PURE__ */ jsx27(DialogPrimitive.Title, _object_spread({
6591
6623
  ref: ref,
6592
6624
  className: cn("text-xl font-normal", className)
6593
6625
  }, props));
6594
6626
  });
6595
6627
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
6596
- var DialogDescription = React20.forwardRef(function(_param, ref) {
6628
+ var DialogDescription = React21.forwardRef(function(_param, ref) {
6597
6629
  var className = _param.className, props = _object_without_properties(_param, [
6598
6630
  "className"
6599
6631
  ]);
6600
- return /* @__PURE__ */ jsx26(DialogPrimitive.Description, _object_spread({
6632
+ return /* @__PURE__ */ jsx27(DialogPrimitive.Description, _object_spread({
6601
6633
  ref: ref,
6602
6634
  className: cn("text-sm text-Colors-Text-Subtle p-4", className)
6603
6635
  }, props));
6604
6636
  });
6605
6637
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
6606
6638
  // src/components/command.tsx
6607
- import { jsx as jsx27, jsxs as jsxs16 } from "react/jsx-runtime";
6608
- var Command = React21.forwardRef(function(_param, ref) {
6639
+ import { jsx as jsx28, jsxs as jsxs17 } from "react/jsx-runtime";
6640
+ var Command = React22.forwardRef(function(_param, ref) {
6609
6641
  var className = _param.className, props = _object_without_properties(_param, [
6610
6642
  "className"
6611
6643
  ]);
6612
- return /* @__PURE__ */ jsx27(CommandPrimitive, _object_spread({
6644
+ return /* @__PURE__ */ jsx28(CommandPrimitive, _object_spread({
6613
6645
  ref: ref,
6614
6646
  className: cn("flex h-full w-full flex-col overflow-hidden rounded-sm text-Colors-Text-Default bg-cc-Input-bg-default", className)
6615
6647
  }, props));
@@ -6619,28 +6651,28 @@ var CommandDialog = function(_param) {
6619
6651
  var children = _param.children, props = _object_without_properties(_param, [
6620
6652
  "children"
6621
6653
  ]);
6622
- return /* @__PURE__ */ jsx27(Dialog, _object_spread_props(_object_spread({}, props), {
6623
- children: /* @__PURE__ */ jsx27(DialogContent, {
6654
+ return /* @__PURE__ */ jsx28(Dialog, _object_spread_props(_object_spread({}, props), {
6655
+ children: /* @__PURE__ */ jsx28(DialogContent, {
6624
6656
  className: "overflow-hidden p-0 shadow-lg",
6625
- children: /* @__PURE__ */ jsx27(Command, {
6657
+ children: /* @__PURE__ */ jsx28(Command, {
6626
6658
  className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-slate-500 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5 dark:[&_[cmdk-group-heading]]:text-slate-400",
6627
6659
  children: children
6628
6660
  })
6629
6661
  })
6630
6662
  }));
6631
6663
  };
6632
- var CommandInput = React21.forwardRef(function(_param, ref) {
6664
+ var CommandInput = React22.forwardRef(function(_param, ref) {
6633
6665
  var className = _param.className, props = _object_without_properties(_param, [
6634
6666
  "className"
6635
6667
  ]);
6636
- return /* @__PURE__ */ jsxs16("div", {
6668
+ return /* @__PURE__ */ jsxs17("div", {
6637
6669
  className: "flex items-center border-b px-3",
6638
6670
  "cmdk-input-wrapper": "",
6639
6671
  children: [
6640
- /* @__PURE__ */ jsx27(Search, {
6672
+ /* @__PURE__ */ jsx28(Search, {
6641
6673
  className: "mr-2 h-4 w-4 shrink-0 opacity-50"
6642
6674
  }),
6643
- /* @__PURE__ */ jsx27(CommandPrimitive.Input, _object_spread({
6675
+ /* @__PURE__ */ jsx28(CommandPrimitive.Input, _object_spread({
6644
6676
  ref: ref,
6645
6677
  className: cn("flex h-11 w-full rounded-sm bg-transparent py-3 text-sm outline-none placeholder:text-slate-500 disabled:cursor-not-allowed disabled:opacity-50 dark:placeholder:text-slate-400", className)
6646
6678
  }, props))
@@ -6648,48 +6680,48 @@ var CommandInput = React21.forwardRef(function(_param, ref) {
6648
6680
  });
6649
6681
  });
6650
6682
  CommandInput.displayName = CommandPrimitive.Input.displayName;
6651
- var CommandList = React21.forwardRef(function(_param, ref) {
6683
+ var CommandList = React22.forwardRef(function(_param, ref) {
6652
6684
  var className = _param.className, props = _object_without_properties(_param, [
6653
6685
  "className"
6654
6686
  ]);
6655
- return /* @__PURE__ */ jsx27(CommandPrimitive.List, _object_spread({
6687
+ return /* @__PURE__ */ jsx28(CommandPrimitive.List, _object_spread({
6656
6688
  ref: ref,
6657
6689
  className: cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className)
6658
6690
  }, props));
6659
6691
  });
6660
6692
  CommandList.displayName = CommandPrimitive.List.displayName;
6661
- var CommandEmpty = React21.forwardRef(function(props, ref) {
6662
- return /* @__PURE__ */ jsx27(CommandPrimitive.Empty, _object_spread({
6693
+ var CommandEmpty = React22.forwardRef(function(props, ref) {
6694
+ return /* @__PURE__ */ jsx28(CommandPrimitive.Empty, _object_spread({
6663
6695
  ref: ref,
6664
6696
  className: "py-6 text-center text-sm"
6665
6697
  }, props));
6666
6698
  });
6667
6699
  CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
6668
- var CommandGroup = React21.forwardRef(function(_param, ref) {
6700
+ var CommandGroup = React22.forwardRef(function(_param, ref) {
6669
6701
  var className = _param.className, props = _object_without_properties(_param, [
6670
6702
  "className"
6671
6703
  ]);
6672
- return /* @__PURE__ */ jsx27(CommandPrimitive.Group, _object_spread({
6704
+ return /* @__PURE__ */ jsx28(CommandPrimitive.Group, _object_spread({
6673
6705
  ref: ref,
6674
6706
  className: cn("overflow-hidden p-1 text-slate-950 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-slate-500 dark:text-slate-50 dark:[&_[cmdk-group-heading]]:text-slate-400", className)
6675
6707
  }, props));
6676
6708
  });
6677
6709
  CommandGroup.displayName = CommandPrimitive.Group.displayName;
6678
- var CommandSeparator = React21.forwardRef(function(_param, ref) {
6710
+ var CommandSeparator = React22.forwardRef(function(_param, ref) {
6679
6711
  var className = _param.className, props = _object_without_properties(_param, [
6680
6712
  "className"
6681
6713
  ]);
6682
- return /* @__PURE__ */ jsx27(CommandPrimitive.Separator, _object_spread({
6714
+ return /* @__PURE__ */ jsx28(CommandPrimitive.Separator, _object_spread({
6683
6715
  ref: ref,
6684
6716
  className: cn("-mx-1 h-px bg-slate-200 dark:bg-slate-800", className)
6685
6717
  }, props));
6686
6718
  });
6687
6719
  CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
6688
- var CommandItem = React21.forwardRef(function(_param, ref) {
6720
+ var CommandItem = React22.forwardRef(function(_param, ref) {
6689
6721
  var className = _param.className, props = _object_without_properties(_param, [
6690
6722
  "className"
6691
6723
  ]);
6692
- return /* @__PURE__ */ jsx27(CommandPrimitive.Item, _object_spread({
6724
+ return /* @__PURE__ */ jsx28(CommandPrimitive.Item, _object_spread({
6693
6725
  ref: ref,
6694
6726
  className: cn("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-Colors-Background-Normal-Primary-Hover aria-selected:text-Colors-Text-Default data-[disabled]:pointer-events-none data-[disabled]:opacity-50", className)
6695
6727
  }, props));
@@ -6699,7 +6731,7 @@ var CommandShortcut = function(_param) {
6699
6731
  var className = _param.className, props = _object_without_properties(_param, [
6700
6732
  "className"
6701
6733
  ]);
6702
- return /* @__PURE__ */ jsx27("span", _object_spread({
6734
+ return /* @__PURE__ */ jsx28("span", _object_spread({
6703
6735
  className: cn("ml-auto text-xs tracking-widest text-slate-500 dark:text-slate-400", className)
6704
6736
  }, props));
6705
6737
  };
@@ -6707,83 +6739,83 @@ CommandShortcut.displayName = "CommandShortcut";
6707
6739
  // src/components/context-menu.tsx
6708
6740
  import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
6709
6741
  import { Check as Check3, ChevronRight as ChevronRight2, Circle as Circle2 } from "lucide-react";
6710
- import * as React22 from "react";
6711
- import { jsx as jsx28, jsxs as jsxs17 } from "react/jsx-runtime";
6742
+ import * as React23 from "react";
6743
+ import { jsx as jsx29, jsxs as jsxs18 } from "react/jsx-runtime";
6712
6744
  var ContextMenu = ContextMenuPrimitive.Root;
6713
6745
  var ContextMenuTrigger = ContextMenuPrimitive.Trigger;
6714
6746
  var ContextMenuGroup = ContextMenuPrimitive.Group;
6715
6747
  var ContextMenuPortal = ContextMenuPrimitive.Portal;
6716
6748
  var ContextMenuSub = ContextMenuPrimitive.Sub;
6717
6749
  var ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;
6718
- var ContextMenuSubTrigger = React22.forwardRef(function(_param, ref) {
6750
+ var ContextMenuSubTrigger = React23.forwardRef(function(_param, ref) {
6719
6751
  var className = _param.className, inset = _param.inset, children = _param.children, props = _object_without_properties(_param, [
6720
6752
  "className",
6721
6753
  "inset",
6722
6754
  "children"
6723
6755
  ]);
6724
- return /* @__PURE__ */ jsxs17(ContextMenuPrimitive.SubTrigger, _object_spread_props(_object_spread({
6756
+ return /* @__PURE__ */ jsxs18(ContextMenuPrimitive.SubTrigger, _object_spread_props(_object_spread({
6725
6757
  ref: ref,
6726
6758
  className: cn("flex cursor-default select-none items-center rounded-sm py-1 px-1.5 text-sm outline-none hover:bg-Colors-Background-Normal-Primary-Hover dark:focus:text-slate-50", inset && "pl-8", className)
6727
6759
  }, props), {
6728
6760
  children: [
6729
6761
  children,
6730
- /* @__PURE__ */ jsx28(ChevronRight2, {
6762
+ /* @__PURE__ */ jsx29(ChevronRight2, {
6731
6763
  className: "ml-auto h-4 w-4"
6732
6764
  })
6733
6765
  ]
6734
6766
  }));
6735
6767
  });
6736
6768
  ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;
6737
- var ContextMenuSubContent = React22.forwardRef(function(_param, ref) {
6769
+ var ContextMenuSubContent = React23.forwardRef(function(_param, ref) {
6738
6770
  var className = _param.className, props = _object_without_properties(_param, [
6739
6771
  "className"
6740
6772
  ]);
6741
- return /* @__PURE__ */ jsx28(ContextMenuPrimitive.SubContent, _object_spread({
6773
+ return /* @__PURE__ */ jsx29(ContextMenuPrimitive.SubContent, _object_spread({
6742
6774
  ref: ref,
6743
6775
  className: cn("flex flex-col gap-y-1 z-50 overflow-hidden rounded-xl border border-Colors-Border-Default bg-Colors-Background-Utilities-Modal p-2 text-Colors-Text-Default shadow-modal-default", className)
6744
6776
  }, props));
6745
6777
  });
6746
6778
  ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;
6747
- var ContextMenuContent = React22.forwardRef(function(_param, ref) {
6779
+ var ContextMenuContent = React23.forwardRef(function(_param, ref) {
6748
6780
  var className = _param.className, props = _object_without_properties(_param, [
6749
6781
  "className"
6750
6782
  ]);
6751
- return /* @__PURE__ */ jsx28(ContextMenuPrimitive.Portal, {
6752
- children: /* @__PURE__ */ jsx28(ContextMenuPrimitive.Content, _object_spread({
6783
+ return /* @__PURE__ */ jsx29(ContextMenuPrimitive.Portal, {
6784
+ children: /* @__PURE__ */ jsx29(ContextMenuPrimitive.Content, _object_spread({
6753
6785
  ref: ref,
6754
6786
  className: cn("z-50 min-w-[8rem] overflow-hidden rounded-xl border-none bg-Colors-Background-Utilities-Modal p-1 text-Colors-Text-Default shadow-modal-default border border-Colors-Border-Opaque", className)
6755
6787
  }, props))
6756
6788
  });
6757
6789
  });
6758
6790
  ContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;
6759
- var ContextMenuItem = React22.forwardRef(function(_param, ref) {
6791
+ var ContextMenuItem = React23.forwardRef(function(_param, ref) {
6760
6792
  var className = _param.className, inset = _param.inset, props = _object_without_properties(_param, [
6761
6793
  "className",
6762
6794
  "inset"
6763
6795
  ]);
6764
- return /* @__PURE__ */ jsx28(ContextMenuPrimitive.Item, _object_spread({
6796
+ return /* @__PURE__ */ jsx29(ContextMenuPrimitive.Item, _object_spread({
6765
6797
  ref: ref,
6766
6798
  className: cn("relative flex cursor-default select-none items-center rounded-sm py-1 px-1.5 text-base outline-none data-[disabled]:pointer-events-none data-[disabled]:text-Colors-Text-Disabled focus:bg-Colors-Background-Neutral-Primary-Default text-Colors-Text-Default", inset && "pl-8", className)
6767
6799
  }, props));
6768
6800
  });
6769
6801
  ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;
6770
- var ContextMenuCheckboxItem = React22.forwardRef(function(_param, ref) {
6802
+ var ContextMenuCheckboxItem = React23.forwardRef(function(_param, ref) {
6771
6803
  var className = _param.className, children = _param.children, checked = _param.checked, props = _object_without_properties(_param, [
6772
6804
  "className",
6773
6805
  "children",
6774
6806
  "checked"
6775
6807
  ]);
6776
- return /* @__PURE__ */ jsxs17(ContextMenuPrimitive.CheckboxItem, _object_spread_props(_object_spread({
6808
+ return /* @__PURE__ */ jsxs18(ContextMenuPrimitive.CheckboxItem, _object_spread_props(_object_spread({
6777
6809
  ref: ref,
6778
6810
  className: cn("relative flex cursor-default select-none items-center rounded-sm py-1 px-1.5 text-sm outline-none hover:bg-Colors-Background-Normal-Primary-Hover data-[disabled]:pointer-events-none data-[disabled]:bg-Colors-Background-Normal-Secondary-Alt data-[disabled]:text-Colors-Text-Disabled space-x-1.5 pr-8", className),
6779
6811
  checked: checked
6780
6812
  }, props), {
6781
6813
  children: [
6782
6814
  children,
6783
- /* @__PURE__ */ jsx28("span", {
6815
+ /* @__PURE__ */ jsx29("span", {
6784
6816
  className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center",
6785
- children: /* @__PURE__ */ jsx28(ContextMenuPrimitive.ItemIndicator, {
6786
- children: /* @__PURE__ */ jsx28(Check3, {
6817
+ children: /* @__PURE__ */ jsx29(ContextMenuPrimitive.ItemIndicator, {
6818
+ children: /* @__PURE__ */ jsx29(Check3, {
6787
6819
  className: "h-4 w-4"
6788
6820
  })
6789
6821
  })
@@ -6792,20 +6824,20 @@ var ContextMenuCheckboxItem = React22.forwardRef(function(_param, ref) {
6792
6824
  }));
6793
6825
  });
6794
6826
  ContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;
6795
- var ContextMenuRadioItem = React22.forwardRef(function(_param, ref) {
6827
+ var ContextMenuRadioItem = React23.forwardRef(function(_param, ref) {
6796
6828
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
6797
6829
  "className",
6798
6830
  "children"
6799
6831
  ]);
6800
- return /* @__PURE__ */ jsxs17(ContextMenuPrimitive.RadioItem, _object_spread_props(_object_spread({
6832
+ return /* @__PURE__ */ jsxs18(ContextMenuPrimitive.RadioItem, _object_spread_props(_object_spread({
6801
6833
  ref: ref,
6802
6834
  className: cn("relative flex cursor-default select-none items-center rounded-sm py-1 px-1.5 text-sm outline-none hover:bg-Colors-Background-Normal-Primary-Hover data-[disabled]:pointer-events-none data-[disabled]:text-Colors-Text-Disabled data-[disabled]:bg-Colors-Background-Normal-Secondary-Alt space-x-1.5 pl-8", className)
6803
6835
  }, props), {
6804
6836
  children: [
6805
- /* @__PURE__ */ jsx28("span", {
6837
+ /* @__PURE__ */ jsx29("span", {
6806
6838
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
6807
- children: /* @__PURE__ */ jsx28(ContextMenuPrimitive.ItemIndicator, {
6808
- children: /* @__PURE__ */ jsx28(Circle2, {
6839
+ children: /* @__PURE__ */ jsx29(ContextMenuPrimitive.ItemIndicator, {
6840
+ children: /* @__PURE__ */ jsx29(Circle2, {
6809
6841
  className: "h-2 w-2 fill-current"
6810
6842
  })
6811
6843
  })
@@ -6815,22 +6847,22 @@ var ContextMenuRadioItem = React22.forwardRef(function(_param, ref) {
6815
6847
  }));
6816
6848
  });
6817
6849
  ContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;
6818
- var ContextMenuLabel = React22.forwardRef(function(_param, ref) {
6850
+ var ContextMenuLabel = React23.forwardRef(function(_param, ref) {
6819
6851
  var className = _param.className, inset = _param.inset, props = _object_without_properties(_param, [
6820
6852
  "className",
6821
6853
  "inset"
6822
6854
  ]);
6823
- return /* @__PURE__ */ jsx28(ContextMenuPrimitive.Label, _object_spread({
6855
+ return /* @__PURE__ */ jsx29(ContextMenuPrimitive.Label, _object_spread({
6824
6856
  ref: ref,
6825
6857
  className: cn("px-1.5 py-1 text-sm font-semibold text-Colors-Text-Default", inset && "pl-8", className)
6826
6858
  }, props));
6827
6859
  });
6828
6860
  ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;
6829
- var ContextMenuSeparator = React22.forwardRef(function(_param, ref) {
6861
+ var ContextMenuSeparator = React23.forwardRef(function(_param, ref) {
6830
6862
  var className = _param.className, props = _object_without_properties(_param, [
6831
6863
  "className"
6832
6864
  ]);
6833
- return /* @__PURE__ */ jsx28(ContextMenuPrimitive.Separator, _object_spread({
6865
+ return /* @__PURE__ */ jsx29(ContextMenuPrimitive.Separator, _object_spread({
6834
6866
  ref: ref,
6835
6867
  className: cn("my-1 h-px bg-[var(--Colors-Border-Default)]", className)
6836
6868
  }, props));
@@ -6840,7 +6872,7 @@ var ContextMenuShortcut = function(_param) {
6840
6872
  var className = _param.className, props = _object_without_properties(_param, [
6841
6873
  "className"
6842
6874
  ]);
6843
- return /* @__PURE__ */ jsx28("span", _object_spread({
6875
+ return /* @__PURE__ */ jsx29("span", _object_spread({
6844
6876
  className: cn("ml-auto text-xs tracking-wides", className)
6845
6877
  }, props));
6846
6878
  };
@@ -6850,18 +6882,18 @@ import dayjs from "dayjs";
6850
6882
  import duration from "dayjs/plugin/duration";
6851
6883
  import utc from "dayjs/plugin/utc";
6852
6884
  import { useMemo, useEffect as useEffect4, useState as useState4 } from "react";
6853
- import { jsx as jsx29, jsxs as jsxs18 } from "react/jsx-runtime";
6885
+ import { jsx as jsx30, jsxs as jsxs19 } from "react/jsx-runtime";
6854
6886
  dayjs.extend(duration);
6855
6887
  dayjs.extend(utc);
6856
6888
  // src/components/drawer.tsx
6857
- import * as React23 from "react";
6889
+ import * as React24 from "react";
6858
6890
  import { Drawer as DrawerPrimitive } from "vaul";
6859
- import { jsx as jsx30, jsxs as jsxs19 } from "react/jsx-runtime";
6891
+ import { jsx as jsx31, jsxs as jsxs20 } from "react/jsx-runtime";
6860
6892
  function Drawer(_param) {
6861
6893
  var _param_shouldScaleBackground = _param.shouldScaleBackground, shouldScaleBackground = _param_shouldScaleBackground === void 0 ? false : _param_shouldScaleBackground, props = _object_without_properties(_param, [
6862
6894
  "shouldScaleBackground"
6863
6895
  ]);
6864
- return /* @__PURE__ */ jsx30(DrawerPrimitive.Root, _object_spread({
6896
+ return /* @__PURE__ */ jsx31(DrawerPrimitive.Root, _object_spread({
6865
6897
  shouldScaleBackground: shouldScaleBackground
6866
6898
  }, props));
6867
6899
  }
@@ -6869,25 +6901,25 @@ Drawer.displayName = "Drawer";
6869
6901
  var DrawerTrigger = DrawerPrimitive.Trigger;
6870
6902
  var DrawerPortal = DrawerPrimitive.Portal;
6871
6903
  var DrawerClose = DrawerPrimitive.Close;
6872
- var DrawerOverlay = React23.forwardRef(function(_param, ref) {
6904
+ var DrawerOverlay = React24.forwardRef(function(_param, ref) {
6873
6905
  var className = _param.className, props = _object_without_properties(_param, [
6874
6906
  "className"
6875
6907
  ]);
6876
- return /* @__PURE__ */ jsx30(DrawerPrimitive.Overlay, _object_spread({
6908
+ return /* @__PURE__ */ jsx31(DrawerPrimitive.Overlay, _object_spread({
6877
6909
  ref: ref,
6878
6910
  className: cn("fixed inset-0 z-50 bg-Colors-Background-Utilities-Overlay", className)
6879
6911
  }, props));
6880
6912
  });
6881
6913
  DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName;
6882
- var DrawerContent = React23.forwardRef(function(_param, ref) {
6914
+ var DrawerContent = React24.forwardRef(function(_param, ref) {
6883
6915
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
6884
6916
  "className",
6885
6917
  "children"
6886
6918
  ]);
6887
- return /* @__PURE__ */ jsxs19(DrawerPortal, {
6919
+ return /* @__PURE__ */ jsxs20(DrawerPortal, {
6888
6920
  children: [
6889
- /* @__PURE__ */ jsx30(DrawerOverlay, {}),
6890
- /* @__PURE__ */ jsx30(DrawerPrimitive.Content, _object_spread_props(_object_spread({
6921
+ /* @__PURE__ */ jsx31(DrawerOverlay, {}),
6922
+ /* @__PURE__ */ jsx31(DrawerPrimitive.Content, _object_spread_props(_object_spread({
6891
6923
  ref: ref,
6892
6924
  className: cn("fixed inset-x-0 bottom-0 z-50 flex h-auto max-h-[70%] flex-col rounded-t-2xl bg-Colors-Background-Normal-Primary-Default shadow-modal-default", className)
6893
6925
  }, props), {
@@ -6901,7 +6933,7 @@ function DrawerHeader(_param) {
6901
6933
  var className = _param.className, props = _object_without_properties(_param, [
6902
6934
  "className"
6903
6935
  ]);
6904
- return /* @__PURE__ */ jsx30("div", _object_spread({
6936
+ return /* @__PURE__ */ jsx31("div", _object_spread({
6905
6937
  className: cn("p-4", className)
6906
6938
  }, props));
6907
6939
  }
@@ -6910,26 +6942,26 @@ function DrawerFooter(_param) {
6910
6942
  var className = _param.className, props = _object_without_properties(_param, [
6911
6943
  "className"
6912
6944
  ]);
6913
- return /* @__PURE__ */ jsx30("div", _object_spread({
6945
+ return /* @__PURE__ */ jsx31("div", _object_spread({
6914
6946
  className: cn("p-4", className)
6915
6947
  }, props));
6916
6948
  }
6917
6949
  DrawerFooter.displayName = "DrawerFooter";
6918
- var DrawerTitle = React23.forwardRef(function(_param, ref) {
6950
+ var DrawerTitle = React24.forwardRef(function(_param, ref) {
6919
6951
  var className = _param.className, props = _object_without_properties(_param, [
6920
6952
  "className"
6921
6953
  ]);
6922
- return /* @__PURE__ */ jsx30(DrawerPrimitive.Title, _object_spread({
6954
+ return /* @__PURE__ */ jsx31(DrawerPrimitive.Title, _object_spread({
6923
6955
  ref: ref,
6924
6956
  className: cn("text-xl font-normal text-Colors-Text-Default", className)
6925
6957
  }, props));
6926
6958
  });
6927
6959
  DrawerTitle.displayName = DrawerPrimitive.Title.displayName;
6928
- var DrawerDescription = React23.forwardRef(function(_param, ref) {
6960
+ var DrawerDescription = React24.forwardRef(function(_param, ref) {
6929
6961
  var className = _param.className, props = _object_without_properties(_param, [
6930
6962
  "className"
6931
6963
  ]);
6932
- return /* @__PURE__ */ jsx30(DrawerPrimitive.Description, _object_spread({
6964
+ return /* @__PURE__ */ jsx31(DrawerPrimitive.Description, _object_spread({
6933
6965
  ref: ref,
6934
6966
  className: cn("text-sm text-Colors-Text-Subtle", className)
6935
6967
  }, props));
@@ -6938,40 +6970,40 @@ DrawerDescription.displayName = DrawerPrimitive.Description.displayName;
6938
6970
  // src/components/form.tsx
6939
6971
  import { Slot as Slot5 } from "@radix-ui/react-slot";
6940
6972
  import { cva as cva10 } from "class-variance-authority";
6941
- import * as React25 from "react";
6973
+ import * as React26 from "react";
6942
6974
  import { Controller, FormProvider, useFormContext } from "react-hook-form";
6943
6975
  // src/components/label.tsx
6944
6976
  import * as LabelPrimitive from "@radix-ui/react-label";
6945
6977
  import { cva as cva9 } from "class-variance-authority";
6946
- import * as React24 from "react";
6947
- import { jsx as jsx31 } from "react/jsx-runtime";
6978
+ import * as React25 from "react";
6979
+ import { jsx as jsx32 } from "react/jsx-runtime";
6948
6980
  var labelVariants = cva9("text-sm font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-30");
6949
- var Label3 = React24.forwardRef(function(_param, ref) {
6981
+ var Label3 = React25.forwardRef(function(_param, ref) {
6950
6982
  var className = _param.className, props = _object_without_properties(_param, [
6951
6983
  "className"
6952
6984
  ]);
6953
- return /* @__PURE__ */ jsx31(LabelPrimitive.Root, _object_spread({
6985
+ return /* @__PURE__ */ jsx32(LabelPrimitive.Root, _object_spread({
6954
6986
  ref: ref,
6955
6987
  className: cn(labelVariants(), className)
6956
6988
  }, props));
6957
6989
  });
6958
6990
  Label3.displayName = LabelPrimitive.Root.displayName;
6959
6991
  // src/components/form.tsx
6960
- import { jsx as jsx32, jsxs as jsxs20 } from "react/jsx-runtime";
6992
+ import { jsx as jsx33, jsxs as jsxs21 } from "react/jsx-runtime";
6961
6993
  var Form = FormProvider;
6962
- var FormFieldContext = React25.createContext({});
6994
+ var FormFieldContext = React26.createContext({});
6963
6995
  function FormField(_param) {
6964
6996
  var props = _extends({}, _object_destructuring_empty(_param));
6965
- return /* @__PURE__ */ jsx32(FormFieldContext.Provider, {
6997
+ return /* @__PURE__ */ jsx33(FormFieldContext.Provider, {
6966
6998
  value: {
6967
6999
  name: props.name
6968
7000
  },
6969
- children: /* @__PURE__ */ jsx32(Controller, _object_spread({}, props))
7001
+ children: /* @__PURE__ */ jsx33(Controller, _object_spread({}, props))
6970
7002
  });
6971
7003
  }
6972
7004
  var useFormField = function() {
6973
- var fieldContext = React25.useContext(FormFieldContext);
6974
- var itemContext = React25.useContext(FormItemContext);
7005
+ var fieldContext = React26.useContext(FormFieldContext);
7006
+ var itemContext = React26.useContext(FormItemContext);
6975
7007
  var _useFormContext = useFormContext(), getFieldState = _useFormContext.getFieldState, formState = _useFormContext.formState;
6976
7008
  var fieldState = getFieldState(fieldContext.name, formState);
6977
7009
  if (!fieldContext) {
@@ -6986,7 +7018,7 @@ var useFormField = function() {
6986
7018
  formMessageId: "".concat(id, "-form-item-message")
6987
7019
  }, fieldState);
6988
7020
  };
6989
- var FormItemContext = React25.createContext({});
7021
+ var FormItemContext = React26.createContext({});
6990
7022
  var formLayoutVariants = cva10("", {
6991
7023
  variants: {
6992
7024
  layout: {
@@ -6998,40 +7030,40 @@ var formLayoutVariants = cva10("", {
6998
7030
  layout: "Vertical"
6999
7031
  }
7000
7032
  });
7001
- var FormItem = React25.forwardRef(function(_param, ref) {
7033
+ var FormItem = React26.forwardRef(function(_param, ref) {
7002
7034
  var className = _param.className, layout = _param.layout, props = _object_without_properties(_param, [
7003
7035
  "className",
7004
7036
  "layout"
7005
7037
  ]);
7006
- var id = React25.useId();
7038
+ var id = React26.useId();
7007
7039
  var cls = cn(className, formLayoutVariants({
7008
7040
  layout: layout
7009
7041
  }));
7010
- return /* @__PURE__ */ jsx32(FormItemContext.Provider, {
7042
+ return /* @__PURE__ */ jsx33(FormItemContext.Provider, {
7011
7043
  value: {
7012
7044
  id: id
7013
7045
  },
7014
- children: /* @__PURE__ */ jsx32("div", _object_spread({
7046
+ children: /* @__PURE__ */ jsx33("div", _object_spread({
7015
7047
  ref: ref,
7016
7048
  className: cls
7017
7049
  }, props))
7018
7050
  });
7019
7051
  });
7020
7052
  FormItem.displayName = "FormItem";
7021
- var FormLabel = React25.forwardRef(function(_param, ref) {
7053
+ var FormLabel = React26.forwardRef(function(_param, ref) {
7022
7054
  var className = _param.className, required = _param.required, children = _param.children, props = _object_without_properties(_param, [
7023
7055
  "className",
7024
7056
  "required",
7025
7057
  "children"
7026
7058
  ]);
7027
7059
  var formItemId = useFormField().formItemId;
7028
- return /* @__PURE__ */ jsxs20(Label3, _object_spread_props(_object_spread({
7060
+ return /* @__PURE__ */ jsxs21(Label3, _object_spread_props(_object_spread({
7029
7061
  ref: ref,
7030
7062
  className: className,
7031
7063
  htmlFor: formItemId
7032
7064
  }, props), {
7033
7065
  children: [
7034
- required ? /* @__PURE__ */ jsx32("span", {
7066
+ required ? /* @__PURE__ */ jsx33("span", {
7035
7067
  className: "text-Colors-Text-Critical-Default mr-1",
7036
7068
  children: "*"
7037
7069
  }) : null,
@@ -7040,10 +7072,10 @@ var FormLabel = React25.forwardRef(function(_param, ref) {
7040
7072
  }));
7041
7073
  });
7042
7074
  FormLabel.displayName = "FormLabel";
7043
- var FormControl = React25.forwardRef(function(_param, ref) {
7075
+ var FormControl = React26.forwardRef(function(_param, ref) {
7044
7076
  var props = _extends({}, _object_destructuring_empty(_param));
7045
7077
  var _useFormField = useFormField(), error = _useFormField.error, formItemId = _useFormField.formItemId, formDescriptionId = _useFormField.formDescriptionId, formMessageId = _useFormField.formMessageId;
7046
- return /* @__PURE__ */ jsx32(Slot5, _object_spread({
7078
+ return /* @__PURE__ */ jsx33(Slot5, _object_spread({
7047
7079
  ref: ref,
7048
7080
  id: formItemId,
7049
7081
  "aria-describedby": !error ? "".concat(formDescriptionId) : "".concat(formDescriptionId, " ").concat(formMessageId),
@@ -7051,19 +7083,19 @@ var FormControl = React25.forwardRef(function(_param, ref) {
7051
7083
  }, props));
7052
7084
  });
7053
7085
  FormControl.displayName = "FormControl";
7054
- var FormDescription = React25.forwardRef(function(_param, ref) {
7086
+ var FormDescription = React26.forwardRef(function(_param, ref) {
7055
7087
  var className = _param.className, props = _object_without_properties(_param, [
7056
7088
  "className"
7057
7089
  ]);
7058
7090
  var formDescriptionId = useFormField().formDescriptionId;
7059
- return /* @__PURE__ */ jsx32("p", _object_spread({
7091
+ return /* @__PURE__ */ jsx33("p", _object_spread({
7060
7092
  ref: ref,
7061
7093
  id: formDescriptionId,
7062
7094
  className: cn("text-sm text-Colors-Text-Subtler", className)
7063
7095
  }, props));
7064
7096
  });
7065
7097
  FormDescription.displayName = "FormDescription";
7066
- var FormMessage = React25.forwardRef(function(_param, ref) {
7098
+ var FormMessage = React26.forwardRef(function(_param, ref) {
7067
7099
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
7068
7100
  "className",
7069
7101
  "children"
@@ -7073,7 +7105,7 @@ var FormMessage = React25.forwardRef(function(_param, ref) {
7073
7105
  if (!body) {
7074
7106
  return null;
7075
7107
  }
7076
- return /* @__PURE__ */ jsx32("p", _object_spread_props(_object_spread({
7108
+ return /* @__PURE__ */ jsx33("p", _object_spread_props(_object_spread({
7077
7109
  ref: ref,
7078
7110
  id: formMessageId,
7079
7111
  className: cn("text-sm font-medium text-Colors-Text-Critical-Default", className)
@@ -7083,7 +7115,7 @@ var FormMessage = React25.forwardRef(function(_param, ref) {
7083
7115
  });
7084
7116
  FormMessage.displayName = "FormMessage";
7085
7117
  // src/components/group.tsx
7086
- import { jsx as jsx33 } from "react/jsx-runtime";
7118
+ import { jsx as jsx34 } from "react/jsx-runtime";
7087
7119
  // src/components/guide.tsx
7088
7120
  import { driver } from "driver.js";
7089
7121
  import { useEffect as useEffect5, useMemo as useMemo2, useRef as useRef3 } from "react";
@@ -7202,9 +7234,9 @@ var Guide = function(param) {
7202
7234
  };
7203
7235
  // src/components/input.tsx
7204
7236
  import { cva as cva11 } from "class-variance-authority";
7205
- import * as React26 from "react";
7206
- import { jsx as jsx34, jsxs as jsxs21 } from "react/jsx-runtime";
7207
- var Input = React26.forwardRef(function(_param, ref) {
7237
+ import * as React27 from "react";
7238
+ import { jsx as jsx35, jsxs as jsxs22 } from "react/jsx-runtime";
7239
+ var Input = React27.forwardRef(function(_param, ref) {
7208
7240
  var className = _param.className, type = _param.type, _param_autoComplete = _param.autoComplete, autoComplete = _param_autoComplete === void 0 ? "off" : _param_autoComplete, _param_isFull = _param.isFull, isFull = _param_isFull === void 0 ? true : _param_isFull, _param_rounded = _param.rounded, rounded = _param_rounded === void 0 ? "sm" : _param_rounded, _param_size = _param.size, size = _param_size === void 0 ? "sm" : _param_size, _param_border = _param.border, border = _param_border === void 0 ? "default" : _param_border, _param_outline = _param.outline, outline = _param_outline === void 0 ? "default" : _param_outline, _param_background = _param.background, background = _param_background === void 0 ? "default" : _param_background, _param_shadow = _param.shadow, shadow = _param_shadow === void 0 ? "default" : _param_shadow, maxLength = _param.maxLength, value1 = _param.value, showLength = _param.showLength, rootClassName = _param.rootClassName, props = _object_without_properties(_param, [
7209
7241
  "className",
7210
7242
  "type",
@@ -7270,10 +7302,10 @@ var Input = React26.forwardRef(function(_param, ref) {
7270
7302
  background: "default"
7271
7303
  }
7272
7304
  });
7273
- return /* @__PURE__ */ jsxs21("div", {
7305
+ return /* @__PURE__ */ jsxs22("div", {
7274
7306
  className: cn("relative w-full", rootClassName),
7275
7307
  children: [
7276
- /* @__PURE__ */ jsx34("input", _object_spread({
7308
+ /* @__PURE__ */ jsx35("input", _object_spread({
7277
7309
  type: type,
7278
7310
  className: cn("flex space-x-2 p-3 text-base text-Colors-Text-Default placeholder:text-Colors-Text-Subtlest", "aria-[invalid=true]:border-Colors-Border-Critical aria-[invalid=true]:hover:bg-Colors-Background-Critical-Subtle", "file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:cursor-not-allowed disabled:opacity-30", inputVariants({
7279
7311
  rounded: rounded,
@@ -7288,9 +7320,9 @@ var Input = React26.forwardRef(function(_param, ref) {
7288
7320
  value: value1,
7289
7321
  maxLength: maxLength
7290
7322
  }, props)),
7291
- showLength && maxLength ? /* @__PURE__ */ jsx34("div", {
7323
+ showLength && maxLength ? /* @__PURE__ */ jsx35("div", {
7292
7324
  className: "absolute bottom-2 right-0 rounded-[20px] px-2",
7293
- children: /* @__PURE__ */ jsx34("span", {
7325
+ children: /* @__PURE__ */ jsx35("span", {
7294
7326
  className: "px-2 py-1 text-sm text-[#B9B9B9]",
7295
7327
  children: "".concat((value1 === null || value1 === void 0 ? void 0 : (_value_toString = value1.toString()) === null || _value_toString === void 0 ? void 0 : _value_toString.length) || 0, "/").concat(maxLength)
7296
7328
  })
@@ -7336,7 +7368,7 @@ function useNativeBridge() {
7336
7368
  }
7337
7369
  // src/components/link.tsx
7338
7370
  import { useMedia as useMedia3 } from "react-use";
7339
- import { jsx as jsx35 } from "react/jsx-runtime";
7371
+ import { jsx as jsx36 } from "react/jsx-runtime";
7340
7372
  function Link(_param) {
7341
7373
  var className = _param.className, href = _param.href, _param_scroll = _param.scroll, scroll = _param_scroll === void 0 ? false : _param_scroll, _param_replace = _param.replace, replace = _param_replace === void 0 ? false : _param_replace, _param_prefetch = _param.prefetch, prefetch = _param_prefetch === void 0 ? true : _param_prefetch, _param_back = _param.back, back = _param_back === void 0 ? false : _param_back, children = _param.children, isMobile2 = _param.isMobile, onClick = _param.onClick, props = _object_without_properties(_param, [
7342
7374
  "className",
@@ -7369,7 +7401,7 @@ function Link(_param) {
7369
7401
  path
7370
7402
  ]);
7371
7403
  var Com = isIos ? "a" : LinkComponent;
7372
- return /* @__PURE__ */ jsx35(Com, _object_spread_props(_object_spread({
7404
+ return /* @__PURE__ */ jsx36(Com, _object_spread_props(_object_spread({
7373
7405
  href: pathname,
7374
7406
  scroll: scroll,
7375
7407
  replace: replace,
@@ -7394,7 +7426,7 @@ var link_default = Link;
7394
7426
  // src/components/masonry.tsx
7395
7427
  import { indexOf, min } from "lodash-es";
7396
7428
  import { Children, useEffect as useEffect6, useState as useState5 } from "react";
7397
- import { jsx as jsx36 } from "react/jsx-runtime";
7429
+ import { jsx as jsx37 } from "react/jsx-runtime";
7398
7430
  import { createElement } from "react";
7399
7431
  var Masonry = function(param) {
7400
7432
  var _param_breakpointCols = param.breakpointCols, breakpointCols = _param_breakpointCols === void 0 ? {
@@ -7475,79 +7507,79 @@ var Masonry = function(param) {
7475
7507
  }), items);
7476
7508
  });
7477
7509
  };
7478
- return /* @__PURE__ */ jsx36("div", _object_spread_props(_object_spread({}, columnAttrs), {
7510
+ return /* @__PURE__ */ jsx37("div", _object_spread_props(_object_spread({}, columnAttrs), {
7479
7511
  className: cn("mr-4 flex w-auto md:mr-6", className || "my-masonry-grid"),
7480
7512
  children: columnCount > 0 && renderColumns()
7481
7513
  }));
7482
7514
  };
7483
7515
  // src/components/menubar.tsx
7484
- import * as React28 from "react";
7516
+ import * as React29 from "react";
7485
7517
  import * as MenubarPrimitive from "@radix-ui/react-menubar";
7486
7518
  import { Check as Check4, ChevronRight as ChevronRight3, Circle as Circle3 } from "lucide-react";
7487
- import { jsx as jsx37, jsxs as jsxs22 } from "react/jsx-runtime";
7519
+ import { jsx as jsx38, jsxs as jsxs23 } from "react/jsx-runtime";
7488
7520
  var MenubarMenu = MenubarPrimitive.Menu;
7489
7521
  var MenubarGroup = MenubarPrimitive.Group;
7490
7522
  var MenubarPortal = MenubarPrimitive.Portal;
7491
7523
  var MenubarSub = MenubarPrimitive.Sub;
7492
7524
  var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
7493
- var Menubar = React28.forwardRef(function(_param, ref) {
7525
+ var Menubar = React29.forwardRef(function(_param, ref) {
7494
7526
  var className = _param.className, props = _object_without_properties(_param, [
7495
7527
  "className"
7496
7528
  ]);
7497
- return /* @__PURE__ */ jsx37(MenubarPrimitive.Root, _object_spread({
7529
+ return /* @__PURE__ */ jsx38(MenubarPrimitive.Root, _object_spread({
7498
7530
  ref: ref,
7499
7531
  className: cn("flex h-10 items-center space-x-1 rounded-sm border border-slate-200 bg-white p-1 dark:border-slate-800 dark:bg-slate-950", className)
7500
7532
  }, props));
7501
7533
  });
7502
7534
  Menubar.displayName = MenubarPrimitive.Root.displayName;
7503
- var MenubarTrigger = React28.forwardRef(function(_param, ref) {
7535
+ var MenubarTrigger = React29.forwardRef(function(_param, ref) {
7504
7536
  var className = _param.className, props = _object_without_properties(_param, [
7505
7537
  "className"
7506
7538
  ]);
7507
- return /* @__PURE__ */ jsx37(MenubarPrimitive.Trigger, _object_spread({
7539
+ return /* @__PURE__ */ jsx38(MenubarPrimitive.Trigger, _object_spread({
7508
7540
  ref: ref,
7509
7541
  className: cn("flex cursor-default select-none items-center rounded-xxs px-3 py-1.5 text-sm font-medium outline-none focus:bg-slate-100 focus:text-slate-900 data-[state=open]:bg-slate-100 data-[state=open]:text-slate-900 dark:focus:bg-slate-800 dark:focus:text-slate-50 dark:data-[state=open]:bg-slate-800 dark:data-[state=open]:text-slate-50", className)
7510
7542
  }, props));
7511
7543
  });
7512
7544
  MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
7513
- var MenubarSubTrigger = React28.forwardRef(function(_param, ref) {
7545
+ var MenubarSubTrigger = React29.forwardRef(function(_param, ref) {
7514
7546
  var className = _param.className, inset = _param.inset, children = _param.children, props = _object_without_properties(_param, [
7515
7547
  "className",
7516
7548
  "inset",
7517
7549
  "children"
7518
7550
  ]);
7519
- return /* @__PURE__ */ jsxs22(MenubarPrimitive.SubTrigger, _object_spread_props(_object_spread({
7551
+ return /* @__PURE__ */ jsxs23(MenubarPrimitive.SubTrigger, _object_spread_props(_object_spread({
7520
7552
  ref: ref,
7521
7553
  className: cn("flex cursor-default select-none items-center rounded-xxs px-2 py-1.5 text-sm outline-none focus:bg-slate-100 focus:text-slate-900 data-[state=open]:bg-slate-100 data-[state=open]:text-slate-900 dark:focus:bg-slate-800 dark:focus:text-slate-50 dark:data-[state=open]:bg-slate-800 dark:data-[state=open]:text-slate-50", inset && "pl-8", className)
7522
7554
  }, props), {
7523
7555
  children: [
7524
7556
  children,
7525
- /* @__PURE__ */ jsx37(ChevronRight3, {
7557
+ /* @__PURE__ */ jsx38(ChevronRight3, {
7526
7558
  className: "ml-auto h-4 w-4"
7527
7559
  })
7528
7560
  ]
7529
7561
  }));
7530
7562
  });
7531
7563
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
7532
- var MenubarSubContent = React28.forwardRef(function(_param, ref) {
7564
+ var MenubarSubContent = React29.forwardRef(function(_param, ref) {
7533
7565
  var className = _param.className, props = _object_without_properties(_param, [
7534
7566
  "className"
7535
7567
  ]);
7536
- return /* @__PURE__ */ jsx37(MenubarPrimitive.SubContent, _object_spread({
7568
+ return /* @__PURE__ */ jsx38(MenubarPrimitive.SubContent, _object_spread({
7537
7569
  ref: ref,
7538
7570
  className: cn("z-50 min-w-[8rem] overflow-hidden rounded-sm border border-slate-200 bg-white p-1 text-slate-950 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 dark:border-slate-800 dark:bg-slate-950 dark:text-slate-50", className)
7539
7571
  }, props));
7540
7572
  });
7541
7573
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
7542
- var MenubarContent = React28.forwardRef(function(_param, ref) {
7574
+ var MenubarContent = React29.forwardRef(function(_param, ref) {
7543
7575
  var className = _param.className, _param_align = _param.align, align = _param_align === void 0 ? "start" : _param_align, _param_alignOffset = _param.alignOffset, alignOffset = _param_alignOffset === void 0 ? -4 : _param_alignOffset, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 8 : _param_sideOffset, props = _object_without_properties(_param, [
7544
7576
  "className",
7545
7577
  "align",
7546
7578
  "alignOffset",
7547
7579
  "sideOffset"
7548
7580
  ]);
7549
- return /* @__PURE__ */ jsx37(MenubarPrimitive.Portal, {
7550
- children: /* @__PURE__ */ jsx37(MenubarPrimitive.Content, _object_spread({
7581
+ return /* @__PURE__ */ jsx38(MenubarPrimitive.Portal, {
7582
+ children: /* @__PURE__ */ jsx38(MenubarPrimitive.Content, _object_spread({
7551
7583
  ref: ref,
7552
7584
  align: align,
7553
7585
  alignOffset: alignOffset,
@@ -7557,33 +7589,33 @@ var MenubarContent = React28.forwardRef(function(_param, ref) {
7557
7589
  });
7558
7590
  });
7559
7591
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
7560
- var MenubarItem = React28.forwardRef(function(_param, ref) {
7592
+ var MenubarItem = React29.forwardRef(function(_param, ref) {
7561
7593
  var className = _param.className, inset = _param.inset, props = _object_without_properties(_param, [
7562
7594
  "className",
7563
7595
  "inset"
7564
7596
  ]);
7565
- return /* @__PURE__ */ jsx37(MenubarPrimitive.Item, _object_spread({
7597
+ return /* @__PURE__ */ jsx38(MenubarPrimitive.Item, _object_spread({
7566
7598
  ref: ref,
7567
7599
  className: cn("relative flex cursor-default select-none items-center rounded-xxs px-2 py-1.5 text-sm outline-none focus:bg-slate-100 focus:text-slate-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-slate-800 dark:focus:text-slate-50", inset && "pl-8", className)
7568
7600
  }, props));
7569
7601
  });
7570
7602
  MenubarItem.displayName = MenubarPrimitive.Item.displayName;
7571
- var MenubarCheckboxItem = React28.forwardRef(function(_param, ref) {
7603
+ var MenubarCheckboxItem = React29.forwardRef(function(_param, ref) {
7572
7604
  var className = _param.className, children = _param.children, checked = _param.checked, props = _object_without_properties(_param, [
7573
7605
  "className",
7574
7606
  "children",
7575
7607
  "checked"
7576
7608
  ]);
7577
- return /* @__PURE__ */ jsxs22(MenubarPrimitive.CheckboxItem, _object_spread_props(_object_spread({
7609
+ return /* @__PURE__ */ jsxs23(MenubarPrimitive.CheckboxItem, _object_spread_props(_object_spread({
7578
7610
  ref: ref,
7579
7611
  className: cn("relative flex cursor-default select-none items-center rounded-xxs py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-slate-100 focus:text-slate-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-slate-800 dark:focus:text-slate-50", className),
7580
7612
  checked: checked
7581
7613
  }, props), {
7582
7614
  children: [
7583
- /* @__PURE__ */ jsx37("span", {
7615
+ /* @__PURE__ */ jsx38("span", {
7584
7616
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
7585
- children: /* @__PURE__ */ jsx37(MenubarPrimitive.ItemIndicator, {
7586
- children: /* @__PURE__ */ jsx37(Check4, {
7617
+ children: /* @__PURE__ */ jsx38(MenubarPrimitive.ItemIndicator, {
7618
+ children: /* @__PURE__ */ jsx38(Check4, {
7587
7619
  className: "h-4 w-4"
7588
7620
  })
7589
7621
  })
@@ -7593,20 +7625,20 @@ var MenubarCheckboxItem = React28.forwardRef(function(_param, ref) {
7593
7625
  }));
7594
7626
  });
7595
7627
  MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
7596
- var MenubarRadioItem = React28.forwardRef(function(_param, ref) {
7628
+ var MenubarRadioItem = React29.forwardRef(function(_param, ref) {
7597
7629
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
7598
7630
  "className",
7599
7631
  "children"
7600
7632
  ]);
7601
- return /* @__PURE__ */ jsxs22(MenubarPrimitive.RadioItem, _object_spread_props(_object_spread({
7633
+ return /* @__PURE__ */ jsxs23(MenubarPrimitive.RadioItem, _object_spread_props(_object_spread({
7602
7634
  ref: ref,
7603
7635
  className: cn("relative flex cursor-default select-none items-center rounded-xxs py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-slate-100 focus:text-slate-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-slate-800 dark:focus:text-slate-50", className)
7604
7636
  }, props), {
7605
7637
  children: [
7606
- /* @__PURE__ */ jsx37("span", {
7638
+ /* @__PURE__ */ jsx38("span", {
7607
7639
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
7608
- children: /* @__PURE__ */ jsx37(MenubarPrimitive.ItemIndicator, {
7609
- children: /* @__PURE__ */ jsx37(Circle3, {
7640
+ children: /* @__PURE__ */ jsx38(MenubarPrimitive.ItemIndicator, {
7641
+ children: /* @__PURE__ */ jsx38(Circle3, {
7610
7642
  className: "h-2 w-2 fill-current"
7611
7643
  })
7612
7644
  })
@@ -7616,22 +7648,22 @@ var MenubarRadioItem = React28.forwardRef(function(_param, ref) {
7616
7648
  }));
7617
7649
  });
7618
7650
  MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
7619
- var MenubarLabel = React28.forwardRef(function(_param, ref) {
7651
+ var MenubarLabel = React29.forwardRef(function(_param, ref) {
7620
7652
  var className = _param.className, inset = _param.inset, props = _object_without_properties(_param, [
7621
7653
  "className",
7622
7654
  "inset"
7623
7655
  ]);
7624
- return /* @__PURE__ */ jsx37(MenubarPrimitive.Label, _object_spread({
7656
+ return /* @__PURE__ */ jsx38(MenubarPrimitive.Label, _object_spread({
7625
7657
  ref: ref,
7626
7658
  className: cn("px-2 py-1.5 text-sm font-semibold", inset && "pl-8", className)
7627
7659
  }, props));
7628
7660
  });
7629
7661
  MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
7630
- var MenubarSeparator = React28.forwardRef(function(_param, ref) {
7662
+ var MenubarSeparator = React29.forwardRef(function(_param, ref) {
7631
7663
  var className = _param.className, props = _object_without_properties(_param, [
7632
7664
  "className"
7633
7665
  ]);
7634
- return /* @__PURE__ */ jsx37(MenubarPrimitive.Separator, _object_spread({
7666
+ return /* @__PURE__ */ jsx38(MenubarPrimitive.Separator, _object_spread({
7635
7667
  ref: ref,
7636
7668
  className: cn("-mx-1 my-1 h-px bg-slate-100 dark:bg-slate-800", className)
7637
7669
  }, props));
@@ -7641,7 +7673,7 @@ var MenubarShortcut = function(_param) {
7641
7673
  var className = _param.className, props = _object_without_properties(_param, [
7642
7674
  "className"
7643
7675
  ]);
7644
- return /* @__PURE__ */ jsx37("span", _object_spread({
7676
+ return /* @__PURE__ */ jsx38("span", _object_spread({
7645
7677
  className: cn("ml-auto text-xs tracking-widest text-slate-500 dark:text-slate-400", className)
7646
7678
  }, props));
7647
7679
  };
@@ -7650,9 +7682,9 @@ MenubarShortcut.displayname = "MenubarShortcut";
7650
7682
  import { CircleCheckIcon, CircleXIcon, InfoIcon, XIcon, TriangleAlertIcon } from "lucide-react";
7651
7683
  import * as DialogPrimitive2 from "@radix-ui/react-dialog";
7652
7684
  // node_modules/@radix-ui/react-focus-scope/dist/index.mjs
7653
- import * as React31 from "react";
7685
+ import * as React32 from "react";
7654
7686
  // node_modules/@radix-ui/react-compose-refs/dist/index.mjs
7655
- import * as React29 from "react";
7687
+ import * as React30 from "react";
7656
7688
  function setRef(ref, value1) {
7657
7689
  if (typeof ref === "function") {
7658
7690
  return ref(value1);
@@ -7691,16 +7723,16 @@ function useComposedRefs() {
7691
7723
  for(var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++){
7692
7724
  refs[_key] = arguments[_key];
7693
7725
  }
7694
- return React29.useCallback(composeRefs.apply(void 0, _to_consumable_array(refs)), refs);
7726
+ return React30.useCallback(composeRefs.apply(void 0, _to_consumable_array(refs)), refs);
7695
7727
  }
7696
7728
  // node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
7697
- import * as React30 from "react";
7729
+ import * as React31 from "react";
7698
7730
  function useCallbackRef(callback) {
7699
- var callbackRef = React30.useRef(callback);
7700
- React30.useEffect(function() {
7731
+ var callbackRef = React31.useRef(callback);
7732
+ React31.useEffect(function() {
7701
7733
  callbackRef.current = callback;
7702
7734
  });
7703
- return React30.useMemo(function() {
7735
+ return React31.useMemo(function() {
7704
7736
  return function() {
7705
7737
  for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
7706
7738
  args[_key] = arguments[_key];
@@ -7714,7 +7746,7 @@ function useCallbackRef(callback) {
7714
7746
  }, []);
7715
7747
  }
7716
7748
  // node_modules/@radix-ui/react-focus-scope/dist/index.mjs
7717
- import { jsx as jsx38 } from "react/jsx-runtime";
7749
+ import { jsx as jsx39 } from "react/jsx-runtime";
7718
7750
  var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
7719
7751
  var AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount";
7720
7752
  var EVENT_OPTIONS = {
@@ -7722,21 +7754,21 @@ var EVENT_OPTIONS = {
7722
7754
  cancelable: true
7723
7755
  };
7724
7756
  var FOCUS_SCOPE_NAME = "FocusScope";
7725
- var FocusScope = React31.forwardRef(function(props, forwardedRef) {
7757
+ var FocusScope = React32.forwardRef(function(props, forwardedRef) {
7726
7758
  var _props_loop = props.loop, loop = _props_loop === void 0 ? false : _props_loop, _props_trapped = props.trapped, trapped = _props_trapped === void 0 ? false : _props_trapped, onMountAutoFocusProp = props.onMountAutoFocus, onUnmountAutoFocusProp = props.onUnmountAutoFocus, scopeProps = _object_without_properties(props, [
7727
7759
  "loop",
7728
7760
  "trapped",
7729
7761
  "onMountAutoFocus",
7730
7762
  "onUnmountAutoFocus"
7731
7763
  ]);
7732
- var _React31_useState = _sliced_to_array(React31.useState(null), 2), container = _React31_useState[0], setContainer = _React31_useState[1];
7764
+ var _React32_useState = _sliced_to_array(React32.useState(null), 2), container = _React32_useState[0], setContainer = _React32_useState[1];
7733
7765
  var onMountAutoFocus = useCallbackRef(onMountAutoFocusProp);
7734
7766
  var onUnmountAutoFocus = useCallbackRef(onUnmountAutoFocusProp);
7735
- var lastFocusedElementRef = React31.useRef(null);
7767
+ var lastFocusedElementRef = React32.useRef(null);
7736
7768
  var composedRefs = useComposedRefs(forwardedRef, function(node) {
7737
7769
  return setContainer(node);
7738
7770
  });
7739
- var focusScope = React31.useRef({
7771
+ var focusScope = React32.useRef({
7740
7772
  paused: false,
7741
7773
  pause: function pause() {
7742
7774
  this.paused = true;
@@ -7745,7 +7777,7 @@ var FocusScope = React31.forwardRef(function(props, forwardedRef) {
7745
7777
  this.paused = false;
7746
7778
  }
7747
7779
  }).current;
7748
- React31.useEffect(function() {
7780
+ React32.useEffect(function() {
7749
7781
  if (trapped) {
7750
7782
  var handleFocusIn2 = function handleFocusIn2(event) {
7751
7783
  if (focusScope.paused || !container) return;
@@ -7809,7 +7841,7 @@ var FocusScope = React31.forwardRef(function(props, forwardedRef) {
7809
7841
  container,
7810
7842
  focusScope.paused
7811
7843
  ]);
7812
- React31.useEffect(function() {
7844
+ React32.useEffect(function() {
7813
7845
  if (container) {
7814
7846
  focusScopesStack.add(focusScope);
7815
7847
  var previouslyFocusedElement = document.activeElement;
@@ -7849,7 +7881,7 @@ var FocusScope = React31.forwardRef(function(props, forwardedRef) {
7849
7881
  onUnmountAutoFocus,
7850
7882
  focusScope
7851
7883
  ]);
7852
- var handleKeyDown = React31.useCallback(function(event) {
7884
+ var handleKeyDown = React32.useCallback(function(event) {
7853
7885
  if (!loop && !trapped) return;
7854
7886
  if (focusScope.paused) return;
7855
7887
  var isTabKey = event.key === "Tab" && !event.altKey && !event.ctrlKey && !event.metaKey;
@@ -7879,7 +7911,7 @@ var FocusScope = React31.forwardRef(function(props, forwardedRef) {
7879
7911
  trapped,
7880
7912
  focusScope.paused
7881
7913
  ]);
7882
- return /* @__PURE__ */ jsx38(Primitive.div, _object_spread_props(_object_spread({
7914
+ return /* @__PURE__ */ jsx39(Primitive.div, _object_spread_props(_object_spread({
7883
7915
  tabIndex: -1
7884
7916
  }, scopeProps), {
7885
7917
  ref: composedRefs,
@@ -8016,16 +8048,16 @@ function removeLinks(items) {
8016
8048
  }
8017
8049
  // src/components/modal.tsx
8018
8050
  import { cva as cva12 } from "class-variance-authority";
8019
- import * as React32 from "react";
8051
+ import * as React33 from "react";
8020
8052
  import { Drawer as DrawerPrimitive2 } from "vaul";
8021
8053
  import { useMedia as useMedia4 } from "react-use";
8022
- import { Fragment as Fragment7, jsx as jsx39, jsxs as jsxs23 } from "react/jsx-runtime";
8023
- var ModalOverlay = React32.forwardRef(function(_param, ref) {
8054
+ import { Fragment as Fragment7, jsx as jsx40, jsxs as jsxs24 } from "react/jsx-runtime";
8055
+ var ModalOverlay = React33.forwardRef(function(_param, ref) {
8024
8056
  var className = _param.className, onClick = _param.onClick, props = _object_without_properties(_param, [
8025
8057
  "className",
8026
8058
  "onClick"
8027
8059
  ]);
8028
- return /* @__PURE__ */ jsx39(DialogPrimitive2.Overlay, _object_spread({
8060
+ return /* @__PURE__ */ jsx40(DialogPrimitive2.Overlay, _object_spread({
8029
8061
  ref: ref,
8030
8062
  className: cn("fixed inset-0 z-50 bg-Colors-Background-Utilities-Overlay data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className),
8031
8063
  onClick: function(e) {
@@ -8034,22 +8066,22 @@ var ModalOverlay = React32.forwardRef(function(_param, ref) {
8034
8066
  }, props));
8035
8067
  });
8036
8068
  ModalOverlay.displayName = DialogPrimitive2.Overlay.displayName;
8037
- var DrawerOverlay2 = React32.forwardRef(function(_param, ref) {
8069
+ var DrawerOverlay2 = React33.forwardRef(function(_param, ref) {
8038
8070
  var className = _param.className, props = _object_without_properties(_param, [
8039
8071
  "className"
8040
8072
  ]);
8041
- return /* @__PURE__ */ jsx39(DrawerPrimitive2.Overlay, _object_spread({
8073
+ return /* @__PURE__ */ jsx40(DrawerPrimitive2.Overlay, _object_spread({
8042
8074
  ref: ref,
8043
8075
  className: cn("fixed inset-0 z-50 bg-Colors-Background-Utilities-Overlay", className)
8044
8076
  }, props));
8045
8077
  });
8046
8078
  DrawerOverlay2.displayName = DrawerPrimitive2.Overlay.displayName;
8047
- var ModalContent = React32.forwardRef(function(_param, ref) {
8079
+ var ModalContent = React33.forwardRef(function(_param, ref) {
8048
8080
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
8049
8081
  "className",
8050
8082
  "children"
8051
8083
  ]);
8052
- return /* @__PURE__ */ jsx39(DialogPrimitive2.Content, _object_spread_props(_object_spread({
8084
+ return /* @__PURE__ */ jsx40(DialogPrimitive2.Content, _object_spread_props(_object_spread({
8053
8085
  className: cn("absolute left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2 !touch-auto !select-text", "duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] outline-none focus-visible:!outline-none ", className)
8054
8086
  }, props), {
8055
8087
  children: children
@@ -8059,13 +8091,13 @@ var ModalRoot = function(_param) {
8059
8091
  var children = _param.children, props = _object_without_properties(_param, [
8060
8092
  "children"
8061
8093
  ]);
8062
- return /* @__PURE__ */ jsx39(DialogPrimitive2.Dialog, _object_spread_props(_object_spread({}, props), {
8063
- children: /* @__PURE__ */ jsx39(DialogPrimitive2.Portal, {
8094
+ return /* @__PURE__ */ jsx40(DialogPrimitive2.Dialog, _object_spread_props(_object_spread({}, props), {
8095
+ children: /* @__PURE__ */ jsx40(DialogPrimitive2.Portal, {
8064
8096
  children: children
8065
8097
  })
8066
8098
  }));
8067
8099
  };
8068
- var ModalTitle = React32.forwardRef(function(_param, ref) {
8100
+ var ModalTitle = React33.forwardRef(function(_param, ref) {
8069
8101
  var className = _param.className, isMobile2 = _param.isMobile, props = _object_without_properties(_param, [
8070
8102
  "className",
8071
8103
  "isMobile"
@@ -8073,13 +8105,13 @@ var ModalTitle = React32.forwardRef(function(_param, ref) {
8073
8105
  var componentIsMobile = useMedia4("(max-width: 768px)");
8074
8106
  var isMob = isMobile2 !== null && isMobile2 !== void 0 ? isMobile2 : componentIsMobile;
8075
8107
  if (isMob) {
8076
- return /* @__PURE__ */ jsx39(DrawerPrimitive2.Title, _object_spread_props(_object_spread({
8108
+ return /* @__PURE__ */ jsx40(DrawerPrimitive2.Title, _object_spread_props(_object_spread({
8077
8109
  ref: ref
8078
8110
  }, props), {
8079
8111
  className: cn("text-xl text-Colors-Text-Default font-medium line-clamp-1", className)
8080
8112
  }));
8081
8113
  }
8082
- return /* @__PURE__ */ jsx39(DialogPrimitive2.Title, _object_spread_props(_object_spread({
8114
+ return /* @__PURE__ */ jsx40(DialogPrimitive2.Title, _object_spread_props(_object_spread({
8083
8115
  ref: ref
8084
8116
  }, props), {
8085
8117
  className: cn("text-xl text-Colors-Text-Default font-medium line-clamp-1", className)
@@ -8135,39 +8167,39 @@ var Modal = function(_param) {
8135
8167
  ]);
8136
8168
  var isMobile2 = useMedia4("(max-width: 768px)");
8137
8169
  if (isMobile2 && !modalOnly && !isNotification) {
8138
- var drawerContent = /* @__PURE__ */ jsxs23(DrawerPrimitive2.Content, {
8170
+ var drawerContent = /* @__PURE__ */ jsxs24(DrawerPrimitive2.Content, {
8139
8171
  className: cn("fixed inset-x-0 bottom-0 z-50 h-auto overflow-hidden no-scrollbar border-Colors-Border-Opaque bg-Colors-Background-Utilities-Modal shadow-modal-default focus:outline-none", fullScreen ? "rounded-t-none max-h-full" : "rounded-t-md max-h-[85vh]", contentClassName),
8140
8172
  onOpenAutoFocus: function(e) {
8141
8173
  !autoFocus && e.preventDefault();
8142
8174
  },
8143
8175
  children: [
8144
- title ? /* @__PURE__ */ jsx39(ModalHeader, {
8145
- children: /* @__PURE__ */ jsx39(ModalTitle, {
8176
+ title ? /* @__PURE__ */ jsx40(ModalHeader, {
8177
+ children: /* @__PURE__ */ jsx40(ModalTitle, {
8146
8178
  children: title
8147
8179
  })
8148
- }) : /* @__PURE__ */ jsx39(ModalTitle, {
8180
+ }) : /* @__PURE__ */ jsx40(ModalTitle, {
8149
8181
  className: "hidden"
8150
8182
  }),
8151
- /* @__PURE__ */ jsx39("div", {
8183
+ /* @__PURE__ */ jsx40("div", {
8152
8184
  className: cn(isLogin ? "overflow-y-scroll" : "overflow-y-auto", fullScreen ? title ? "max-h-[calc(100vh-60px)]" : "max-h-[100vh]" : title ? "max-h-[calc(85vh-60px)]" : "max-h-[85vh]"),
8153
8185
  children: children
8154
8186
  }),
8155
- !hideClose && /* @__PURE__ */ jsx39(DrawerPrimitive2.Close, {
8187
+ !hideClose && /* @__PURE__ */ jsx40(DrawerPrimitive2.Close, {
8156
8188
  asChild: true,
8157
- children: /* @__PURE__ */ jsxs23("div", {
8189
+ children: /* @__PURE__ */ jsxs24("div", {
8158
8190
  className: cn("absolute right-4 top-3", closeClassName),
8159
8191
  onClick: function() {
8160
8192
  onClose && onClose();
8161
8193
  },
8162
8194
  children: [
8163
- /* @__PURE__ */ jsx39(IconButton, {
8195
+ /* @__PURE__ */ jsx40(IconButton, {
8164
8196
  icon: XIcon,
8165
8197
  size: "md",
8166
8198
  variant: "plain",
8167
8199
  color: "default",
8168
8200
  className: iconClassName
8169
8201
  }),
8170
- /* @__PURE__ */ jsx39("span", {
8202
+ /* @__PURE__ */ jsx40("span", {
8171
8203
  className: "sr-only",
8172
8204
  children: "Close"
8173
8205
  })
@@ -8176,22 +8208,22 @@ var Modal = function(_param) {
8176
8208
  })
8177
8209
  ]
8178
8210
  });
8179
- return /* @__PURE__ */ jsx39(DrawerPrimitive2.Root, _object_spread_props(_object_spread({}, props), {
8211
+ return /* @__PURE__ */ jsx40(DrawerPrimitive2.Root, _object_spread_props(_object_spread({}, props), {
8180
8212
  repositionInputs: false,
8181
8213
  onOpenChange: function(open) {
8182
8214
  if (!open) {
8183
8215
  onClose && onClose();
8184
8216
  }
8185
8217
  },
8186
- children: /* @__PURE__ */ jsxs23(DrawerPrimitive2.Portal, {
8218
+ children: /* @__PURE__ */ jsxs24(DrawerPrimitive2.Portal, {
8187
8219
  children: [
8188
- /* @__PURE__ */ jsx39(DrawerOverlay2, {
8220
+ /* @__PURE__ */ jsx40(DrawerOverlay2, {
8189
8221
  onClick: function() {
8190
8222
  overlayClose && onClose && onClose();
8191
8223
  },
8192
8224
  className: overlayClassName
8193
8225
  }),
8194
- focusScopeOptions ? /* @__PURE__ */ jsx39(FocusScope, _object_spread_props(_object_spread({}, focusScopeOptions), {
8226
+ focusScopeOptions ? /* @__PURE__ */ jsx40(FocusScope, _object_spread_props(_object_spread({}, focusScopeOptions), {
8195
8227
  children: drawerContent
8196
8228
  })) : drawerContent
8197
8229
  ]
@@ -8201,19 +8233,19 @@ var Modal = function(_param) {
8201
8233
  var renderIcon3 = function(state2) {
8202
8234
  switch(state2){
8203
8235
  case "info":
8204
- return /* @__PURE__ */ jsx39(InfoIcon, {
8236
+ return /* @__PURE__ */ jsx40(InfoIcon, {
8205
8237
  className: "text-cc-Icon-Featured-icon-fg-Info w-6 h-6"
8206
8238
  });
8207
8239
  case "success":
8208
- return /* @__PURE__ */ jsx39(CircleCheckIcon, {
8240
+ return /* @__PURE__ */ jsx40(CircleCheckIcon, {
8209
8241
  className: "text-cc-Icon-Featured-icon-fg-Success w-6 h-6"
8210
8242
  });
8211
8243
  case "warning":
8212
- return /* @__PURE__ */ jsx39(TriangleAlertIcon, {
8244
+ return /* @__PURE__ */ jsx40(TriangleAlertIcon, {
8213
8245
  className: "text-cc-Icon-Featured-icon-fg-Warning w-6 h-6"
8214
8246
  });
8215
8247
  case "error":
8216
- return /* @__PURE__ */ jsx39(CircleXIcon, {
8248
+ return /* @__PURE__ */ jsx40(CircleXIcon, {
8217
8249
  className: "text-cc-Icon-Featured-icon-fg-Error w-6 h-6"
8218
8250
  });
8219
8251
  }
@@ -8230,7 +8262,7 @@ var Modal = function(_param) {
8230
8262
  return "bg-Colors-Background-Critical-Default";
8231
8263
  }
8232
8264
  };
8233
- var dialogContent = /* @__PURE__ */ jsxs23(ModalContent, {
8265
+ var dialogContent = /* @__PURE__ */ jsxs24(ModalContent, {
8234
8266
  className: cn("rounded-md border-Colors-Border-Opaque bg-Colors-Background-Utilities-Modal shadow-modal-default overflow-hidden", !isMobile2 ? modalVariants({
8235
8267
  size: size,
8236
8268
  zIndex: zIndex
@@ -8239,28 +8271,28 @@ var Modal = function(_param) {
8239
8271
  !autoFocus && e.preventDefault();
8240
8272
  },
8241
8273
  children: [
8242
- isNotification ? /* @__PURE__ */ jsxs23(Fragment7, {
8274
+ isNotification ? /* @__PURE__ */ jsxs24(Fragment7, {
8243
8275
  children: [
8244
- /* @__PURE__ */ jsx39(ModalHeader, {
8276
+ /* @__PURE__ */ jsx40(ModalHeader, {
8245
8277
  className: cn(isNotification && "border-none !pb-3"),
8246
- children: state && /* @__PURE__ */ jsx39("div", {
8278
+ children: state && /* @__PURE__ */ jsx40("div", {
8247
8279
  className: cn("flex items-center justify-center w-10 h-10 rounded-full flex-shrink-0 flex-grow-0", getBackgroundColor(state)),
8248
8280
  children: renderIcon3(state)
8249
8281
  })
8250
8282
  }),
8251
- /* @__PURE__ */ jsxs23("div", {
8283
+ /* @__PURE__ */ jsxs24("div", {
8252
8284
  className: "space-y-1.5",
8253
8285
  children: [
8254
- title ? /* @__PURE__ */ jsx39("div", {
8286
+ title ? /* @__PURE__ */ jsx40("div", {
8255
8287
  className: "px-5",
8256
- children: /* @__PURE__ */ jsx39(Display, {
8288
+ children: /* @__PURE__ */ jsx40(Display, {
8257
8289
  size: "sm",
8258
8290
  children: title
8259
8291
  })
8260
8292
  }) : null,
8261
- children || (description ? /* @__PURE__ */ jsx39("div", {
8293
+ children || (description ? /* @__PURE__ */ jsx40("div", {
8262
8294
  className: "px-5",
8263
- children: /* @__PURE__ */ jsx39(Text, {
8295
+ children: /* @__PURE__ */ jsx40(Text, {
8264
8296
  size: "sm",
8265
8297
  weight: "regular",
8266
8298
  children: description
@@ -8268,16 +8300,16 @@ var Modal = function(_param) {
8268
8300
  }) : null)
8269
8301
  ]
8270
8302
  }),
8271
- /* @__PURE__ */ jsxs23(ModalFooter, {
8303
+ /* @__PURE__ */ jsxs24(ModalFooter, {
8272
8304
  className: cn("gap-x-5 min-h-[76px] p-5 border-none justify-center w-full"),
8273
8305
  children: [
8274
- showCancel && /* @__PURE__ */ jsx39(Button, {
8306
+ showCancel && /* @__PURE__ */ jsx40(Button, {
8275
8307
  variant: "tertiary",
8276
8308
  onClick: onClose,
8277
8309
  className: "flex-1",
8278
8310
  children: cancelText || "Cancel"
8279
8311
  }),
8280
- /* @__PURE__ */ jsx39(Button, {
8312
+ /* @__PURE__ */ jsx40(Button, {
8281
8313
  variant: "primary",
8282
8314
  onClick: onConfirm,
8283
8315
  loading: confirmLoading,
@@ -8288,34 +8320,34 @@ var Modal = function(_param) {
8288
8320
  ]
8289
8321
  })
8290
8322
  ]
8291
- }) : /* @__PURE__ */ jsxs23(Fragment7, {
8323
+ }) : /* @__PURE__ */ jsxs24(Fragment7, {
8292
8324
  children: [
8293
- title ? /* @__PURE__ */ jsx39(ModalHeader, {
8294
- children: /* @__PURE__ */ jsx39(ModalTitle, {
8325
+ title ? /* @__PURE__ */ jsx40(ModalHeader, {
8326
+ children: /* @__PURE__ */ jsx40(ModalTitle, {
8295
8327
  children: title
8296
8328
  })
8297
- }) : /* @__PURE__ */ jsx39(ModalTitle, {
8329
+ }) : /* @__PURE__ */ jsx40(ModalTitle, {
8298
8330
  className: "hidden"
8299
8331
  }),
8300
8332
  children
8301
8333
  ]
8302
8334
  }),
8303
- !hideClose && /* @__PURE__ */ jsx39(DialogPrimitive2.Close, {
8335
+ !hideClose && /* @__PURE__ */ jsx40(DialogPrimitive2.Close, {
8304
8336
  asChild: true,
8305
- children: /* @__PURE__ */ jsxs23("div", {
8337
+ children: /* @__PURE__ */ jsxs24("div", {
8306
8338
  onClick: function() {
8307
8339
  onClose && onClose();
8308
8340
  },
8309
8341
  className: cn("absolute right-4 top-4", isNotification && "top-5", closeClassName),
8310
8342
  children: [
8311
- /* @__PURE__ */ jsx39(IconButton, {
8343
+ /* @__PURE__ */ jsx40(IconButton, {
8312
8344
  icon: XIcon,
8313
8345
  size: "md",
8314
8346
  variant: "plain",
8315
8347
  color: "gray",
8316
8348
  className: iconClassName
8317
8349
  }),
8318
- /* @__PURE__ */ jsx39("span", {
8350
+ /* @__PURE__ */ jsx40("span", {
8319
8351
  className: "sr-only",
8320
8352
  children: "Close"
8321
8353
  })
@@ -8324,15 +8356,15 @@ var Modal = function(_param) {
8324
8356
  })
8325
8357
  ]
8326
8358
  });
8327
- return /* @__PURE__ */ jsxs23(ModalRoot, _object_spread_props(_object_spread({}, props), {
8359
+ return /* @__PURE__ */ jsxs24(ModalRoot, _object_spread_props(_object_spread({}, props), {
8328
8360
  children: [
8329
- /* @__PURE__ */ jsx39(ModalOverlay, {
8361
+ /* @__PURE__ */ jsx40(ModalOverlay, {
8330
8362
  onClick: function() {
8331
8363
  overlayClose && onClose && onClose();
8332
8364
  },
8333
8365
  className: overlayClassName
8334
8366
  }),
8335
- focusScopeOptions ? /* @__PURE__ */ jsx39(FocusScope, _object_spread_props(_object_spread({}, focusScopeOptions), {
8367
+ focusScopeOptions ? /* @__PURE__ */ jsx40(FocusScope, _object_spread_props(_object_spread({}, focusScopeOptions), {
8336
8368
  children: dialogContent
8337
8369
  })) : dialogContent
8338
8370
  ]
@@ -8343,7 +8375,7 @@ function ModalHeader(_param) {
8343
8375
  "className",
8344
8376
  "children"
8345
8377
  ]);
8346
- return /* @__PURE__ */ jsx39("div", _object_spread_props(_object_spread({
8378
+ return /* @__PURE__ */ jsx40("div", _object_spread_props(_object_spread({
8347
8379
  className: cn("border-b border-Colors-Border-Default flex flex-col py-4 md:py-5 px-4 justify-center", className)
8348
8380
  }, props), {
8349
8381
  children: children
@@ -8355,7 +8387,7 @@ function ModalFooter(_param) {
8355
8387
  "className",
8356
8388
  "children"
8357
8389
  ]);
8358
- return /* @__PURE__ */ jsx39("div", _object_spread_props(_object_spread({
8390
+ return /* @__PURE__ */ jsx40("div", _object_spread_props(_object_spread({
8359
8391
  className: cn("border-t border-Colors-Border-Default flex justify-end px-4 pt-3 pb-1.5", className)
8360
8392
  }, props), {
8361
8393
  children: children
@@ -8367,7 +8399,7 @@ function ModalBody(_param) {
8367
8399
  "className",
8368
8400
  "children"
8369
8401
  ]);
8370
- return /* @__PURE__ */ jsx39("div", _object_spread_props(_object_spread({
8402
+ return /* @__PURE__ */ jsx40("div", _object_spread_props(_object_spread({
8371
8403
  className: cn("py-3", className)
8372
8404
  }, props), {
8373
8405
  children: children
@@ -8377,9 +8409,9 @@ ModalBody.displayName = "ModalBody";
8377
8409
  // src/components/search-bar.tsx
8378
8410
  import { XIcon as XIcon2, SearchIcon } from "lucide-react";
8379
8411
  import { cva as cva13 } from "class-variance-authority";
8380
- import * as React33 from "react";
8412
+ import * as React34 from "react";
8381
8413
  import { useEffect as useEffect9 } from "react";
8382
- import { jsx as jsx40, jsxs as jsxs24 } from "react/jsx-runtime";
8414
+ import { jsx as jsx41, jsxs as jsxs25 } from "react/jsx-runtime";
8383
8415
  var searchBarVariants = cva13("rounded-sm", {
8384
8416
  variants: {
8385
8417
  size: {
@@ -8405,18 +8437,18 @@ function SearchBar(_param) {
8405
8437
  "onSearchChange",
8406
8438
  "onValueChange"
8407
8439
  ]);
8408
- var _React33_useState = _sliced_to_array(React33.useState(""), 2), value1 = _React33_useState[0], setValue = _React33_useState[1];
8440
+ var _React34_useState = _sliced_to_array(React34.useState(""), 2), value1 = _React34_useState[0], setValue = _React34_useState[1];
8409
8441
  useEffect9(function() {
8410
8442
  setValue(searchValue || "");
8411
8443
  }, [
8412
8444
  searchValue
8413
8445
  ]);
8414
- return /* @__PURE__ */ jsxs24("div", {
8446
+ return /* @__PURE__ */ jsxs25("div", {
8415
8447
  className: cn("relative w-full", searchBarVariants({
8416
8448
  size: size
8417
8449
  }), className),
8418
8450
  children: [
8419
- /* @__PURE__ */ jsx40(Icon, {
8451
+ /* @__PURE__ */ jsx41(Icon, {
8420
8452
  component: SearchIcon,
8421
8453
  size: "lg",
8422
8454
  className: "absolute top-1/2 -translate-y-1/2 left-3 z-10 text-Colors-Foreground-Subtlest cursor-pointer",
@@ -8424,7 +8456,7 @@ function SearchBar(_param) {
8424
8456
  onSearchChange(value1);
8425
8457
  }
8426
8458
  }),
8427
- /* @__PURE__ */ jsx40(Input, _object_spread({
8459
+ /* @__PURE__ */ jsx41(Input, _object_spread({
8428
8460
  type: type,
8429
8461
  placeholder: placeholder,
8430
8462
  rounded: roundedFill ? "full" : "sm",
@@ -8444,7 +8476,7 @@ function SearchBar(_param) {
8444
8476
  }
8445
8477
  }
8446
8478
  }, props)),
8447
- value1 && /* @__PURE__ */ jsx40(IconButton, {
8479
+ value1 && /* @__PURE__ */ jsx41(IconButton, {
8448
8480
  className: "absolute top-1/2 -translate-y-1/2 right-1.5 z-10 rounded-full text-Colors-Foreground-Subtle",
8449
8481
  onClick: function() {
8450
8482
  onSearchChange("");
@@ -8463,13 +8495,13 @@ SearchBar.displayName = "SearchBar";
8463
8495
  import Image3 from "next/image";
8464
8496
  // src/components/progress.tsx
8465
8497
  import * as ProgressPrimitive from "@radix-ui/react-progress";
8466
- import { jsx as jsx41, jsxs as jsxs25 } from "react/jsx-runtime";
8498
+ import { jsx as jsx42, jsxs as jsxs26 } from "react/jsx-runtime";
8467
8499
  var ProgressRoot = ProgressPrimitive.Root;
8468
8500
  var ProgressIndicator = ProgressPrimitive.Indicator;
8469
8501
  var Progress = function(param) {
8470
8502
  var value1 = param.value, max2 = param.max, className = param.className, indicatorClassName = param.indicatorClassName, label = param.label, _param_height = param.height, height = _param_height === void 0 ? 20 : _param_height, _param_width = param.width, width = _param_width === void 0 ? 75 : _param_width, _param_minWidth = param.minWidth, minWidth = _param_minWidth === void 0 ? 60 : _param_minWidth, _param_maxWidth = param.maxWidth, maxWidth = _param_maxWidth === void 0 ? 220 : _param_maxWidth;
8471
8503
  var widthValue = "".concat(clamp(width + (Math.max(max2, value1).toString().length - 3) * 12, minWidth, maxWidth), "px");
8472
- return /* @__PURE__ */ jsxs25(ProgressPrimitive.Root, {
8504
+ return /* @__PURE__ */ jsxs26(ProgressPrimitive.Root, {
8473
8505
  value: value1,
8474
8506
  max: Math.max(value1, max2),
8475
8507
  className: cn("relative overflow-hidden", className),
@@ -8478,13 +8510,13 @@ var Progress = function(param) {
8478
8510
  width: widthValue
8479
8511
  },
8480
8512
  children: [
8481
- /* @__PURE__ */ jsx41(ProgressPrimitive.Indicator, {
8513
+ /* @__PURE__ */ jsx42(ProgressPrimitive.Indicator, {
8482
8514
  className: cn("h-full transition-all", indicatorClassName),
8483
8515
  style: {
8484
8516
  width: "".concat(value1 / max2 * 100, "%")
8485
8517
  }
8486
8518
  }),
8487
- label && /* @__PURE__ */ jsx41("div", {
8519
+ label && /* @__PURE__ */ jsx42("div", {
8488
8520
  className: "absolute inset-0 flex items-center justify-center px-1",
8489
8521
  children: label
8490
8522
  })
@@ -8492,34 +8524,34 @@ var Progress = function(param) {
8492
8524
  });
8493
8525
  };
8494
8526
  // src/components/energy-progress.tsx
8495
- import { jsx as jsx42, jsxs as jsxs26 } from "react/jsx-runtime";
8527
+ import { jsx as jsx43, jsxs as jsxs27 } from "react/jsx-runtime";
8496
8528
  function EnergyProgress(props) {
8497
8529
  var energy = props.energy, dailyEnergy = props.dailyEnergy, hoverText = props.hoverText, className = props.className;
8498
- return /* @__PURE__ */ jsxs26("div", {
8530
+ return /* @__PURE__ */ jsxs27("div", {
8499
8531
  className: cn("flex items-center relative", className),
8500
8532
  children: [
8501
- /* @__PURE__ */ jsx42("div", {
8533
+ /* @__PURE__ */ jsx43("div", {
8502
8534
  className: "absolute left-[-20px] justify-center items-center w-6 h-6 border border-solid border-[#F3D42D] dark:border-[#A48F07] bg-white dark:bg-[#24210B] rounded-[6px] z-10",
8503
- children: /* @__PURE__ */ jsx42(Image3, {
8535
+ children: /* @__PURE__ */ jsx43(Image3, {
8504
8536
  src: getAssetsUrl("image/bot/tag/20231214/1719340128612116720.png"),
8505
8537
  alt: "energy",
8506
8538
  width: 22,
8507
8539
  height: 22
8508
8540
  })
8509
8541
  }),
8510
- /* @__PURE__ */ jsx42(Tooltip, {
8542
+ /* @__PURE__ */ jsx43(Tooltip, {
8511
8543
  description: hoverText !== null && hoverText !== void 0 ? hoverText : "Utilize battery to chat with bots or set up your own bot. Recharge ⚡️".concat(Math.floor(dailyEnergy / 24), " per hour when battery is below ").concat(dailyEnergy),
8512
8544
  side: "bottom",
8513
8545
  align: "end",
8514
8546
  sideOffset: 16,
8515
8547
  alignOffset: -16,
8516
8548
  showArrow: false,
8517
- children: /* @__PURE__ */ jsx42(Progress, {
8549
+ children: /* @__PURE__ */ jsx43(Progress, {
8518
8550
  value: energy,
8519
8551
  max: dailyEnergy,
8520
8552
  className: "rounded-[6px] rounded-l-none border border-solid border-cc-Energy-border-default bg-cc-Energy-bg-alt flex items-center justify-start",
8521
8553
  indicatorClassName: "bg-cc-Energy-bg-on",
8522
- label: /* @__PURE__ */ jsx42("span", {
8554
+ label: /* @__PURE__ */ jsx43("span", {
8523
8555
  className: "text-cc-Energy-fg-default font-medium text-xs ml-[2px]",
8524
8556
  children: "".concat(energy, "/").concat(dailyEnergy)
8525
8557
  })
@@ -8530,27 +8562,27 @@ function EnergyProgress(props) {
8530
8562
  }
8531
8563
  var energy_progress_default = EnergyProgress;
8532
8564
  // src/components/middle-bar.tsx
8533
- import { Fragment as Fragment8, jsx as jsx43, jsxs as jsxs27 } from "react/jsx-runtime";
8565
+ import { Fragment as Fragment8, jsx as jsx44, jsxs as jsxs28 } from "react/jsx-runtime";
8534
8566
  function MiddleBar(param) {
8535
8567
  var _param_showSearchBar = param.showSearchBar, showSearchBar = _param_showSearchBar === void 0 ? true : _param_showSearchBar, searchValue = param.searchValue, searchPlaceholder = param.searchPlaceholder, title = param.title, children = param.children, _param_energy = param.energy, energy = _param_energy === void 0 ? 0 : _param_energy, dailyEnergy = param.dailyEnergy, onSearchChange = param.onSearchChange;
8536
- return /* @__PURE__ */ jsxs27("div", {
8568
+ return /* @__PURE__ */ jsxs28("div", {
8537
8569
  className: cn("relative w-full flex flex-col justify-between items-center px-4 md:px-6"),
8538
8570
  children: [
8539
- /* @__PURE__ */ jsxs27("div", {
8571
+ /* @__PURE__ */ jsxs28("div", {
8540
8572
  className: "w-full pt-5 md:pt-6 pb-1 md:pb-3 flex justify-between items-center",
8541
8573
  children: [
8542
- /* @__PURE__ */ jsx43("div", {
8574
+ /* @__PURE__ */ jsx44("div", {
8543
8575
  className: "flex-1 text-start",
8544
- children: /* @__PURE__ */ jsx43(Display, {
8576
+ children: /* @__PURE__ */ jsx44(Display, {
8545
8577
  size: "md",
8546
8578
  children: title
8547
8579
  })
8548
8580
  }),
8549
- children ? /* @__PURE__ */ jsx43("div", {
8581
+ children ? /* @__PURE__ */ jsx44("div", {
8550
8582
  className: "w-fit",
8551
8583
  children: children
8552
- }) : /* @__PURE__ */ jsx43(Fragment8, {
8553
- children: dailyEnergy ? /* @__PURE__ */ jsx43(energy_progress_default, {
8584
+ }) : /* @__PURE__ */ jsx44(Fragment8, {
8585
+ children: dailyEnergy ? /* @__PURE__ */ jsx44(energy_progress_default, {
8554
8586
  dailyEnergy: dailyEnergy,
8555
8587
  energy: energy,
8556
8588
  className: "flex relative items-center flex-shrink-0"
@@ -8558,9 +8590,9 @@ function MiddleBar(param) {
8558
8590
  })
8559
8591
  ]
8560
8592
  }),
8561
- showSearchBar && /* @__PURE__ */ jsx43("div", {
8593
+ showSearchBar && /* @__PURE__ */ jsx44("div", {
8562
8594
  className: "w-full py-2 md:py-0",
8563
- children: /* @__PURE__ */ jsx43(SearchBar, {
8595
+ children: /* @__PURE__ */ jsx44(SearchBar, {
8564
8596
  placeholder: searchPlaceholder,
8565
8597
  searchValue: searchValue,
8566
8598
  onSearchChange: function(value1) {
@@ -10783,15 +10815,15 @@ var Decimal = P.constructor = clone(DEFAULTS);
10783
10815
  LN10 = new Decimal(LN10);
10784
10816
  PI = new Decimal(PI);
10785
10817
  // src/components/number-input.tsx
10786
- import React34 from "react";
10787
- import { jsx as jsx44, jsxs as jsxs28 } from "react/jsx-runtime";
10788
- var NumberInput = React34.forwardRef(function(_param, ref) {
10818
+ import React35 from "react";
10819
+ import { jsx as jsx45, jsxs as jsxs29 } from "react/jsx-runtime";
10820
+ var NumberInput = React35.forwardRef(function(_param, ref) {
10789
10821
  var className = _param.className, type = _param.type, controls = _param.controls, props = _object_without_properties(_param, [
10790
10822
  "className",
10791
10823
  "type",
10792
10824
  "controls"
10793
10825
  ]);
10794
- var inputRef = React34.useRef(null);
10826
+ var inputRef = React35.useRef(null);
10795
10827
  var min3 = props.min, max2 = props.max, _props_step = props.step, step = _props_step === void 0 ? 1 : _props_step, onChange = props.onChange;
10796
10828
  var hideControls = controls === false;
10797
10829
  var updateValue = function(event, operation) {
@@ -10840,10 +10872,10 @@ var NumberInput = React34.forwardRef(function(_param, ref) {
10840
10872
  var handleDecrement = function(e) {
10841
10873
  return updateValue(e, "minus" /* minus */ );
10842
10874
  };
10843
- return /* @__PURE__ */ jsxs28("div", {
10875
+ return /* @__PURE__ */ jsxs29("div", {
10844
10876
  className: cn("relative w-full", className),
10845
10877
  children: [
10846
- /* @__PURE__ */ jsx44(Input, _object_spread_props(_object_spread({
10878
+ /* @__PURE__ */ jsx45(Input, _object_spread_props(_object_spread({
10847
10879
  type: "number",
10848
10880
  ref: inputRef
10849
10881
  }, props), {
@@ -10852,34 +10884,34 @@ var NumberInput = React34.forwardRef(function(_param, ref) {
10852
10884
  className: "".concat(hideControls ? "text-center" : "pr-10"),
10853
10885
  onBlur: onBlur
10854
10886
  })),
10855
- hideControls ? null : /* @__PURE__ */ jsxs28("div", {
10887
+ hideControls ? null : /* @__PURE__ */ jsxs29("div", {
10856
10888
  className: "absolute top-0 right-3 py-2.5 h-full flex flex-col items-center justify-center space-y-0.5",
10857
10889
  children: [
10858
- /* @__PURE__ */ jsx44("div", {
10890
+ /* @__PURE__ */ jsx45("div", {
10859
10891
  className: "text-Colors-Text-Default bg-Colors-Utility-Gray-10 rounded-full w-[22px] h-[14px] cursor-pointer flex justify-center items-center",
10860
10892
  onClick: handleIncrement,
10861
- children: /* @__PURE__ */ jsx44("svg", {
10893
+ children: /* @__PURE__ */ jsx45("svg", {
10862
10894
  xmlns: "http://www.w3.org/2000/svg",
10863
10895
  width: "20",
10864
10896
  height: "14",
10865
10897
  viewBox: "0 0 20 14",
10866
10898
  fill: "none",
10867
- children: /* @__PURE__ */ jsx44("path", {
10899
+ children: /* @__PURE__ */ jsx45("path", {
10868
10900
  d: "M6.90169 9H13.0983C13.8493 9 14.27 8.24649 13.806 7.7324L10.7077 4.29945C10.3474 3.90018 9.65265 3.90018 9.29231 4.29945L6.19399 7.7324C5.73001 8.24649 6.15069 9 6.90169 9Z",
10869
10901
  fill: "#414345"
10870
10902
  })
10871
10903
  })
10872
10904
  }),
10873
- /* @__PURE__ */ jsx44("div", {
10905
+ /* @__PURE__ */ jsx45("div", {
10874
10906
  className: "text-Colors-Text-Default bg-Colors-Utility-Gray-10 rounded-full w-[22px] h-[14px] cursor-pointer flex justify-center items-center",
10875
10907
  onClick: handleDecrement,
10876
- children: /* @__PURE__ */ jsx44("svg", {
10908
+ children: /* @__PURE__ */ jsx45("svg", {
10877
10909
  xmlns: "http://www.w3.org/2000/svg",
10878
10910
  width: "20",
10879
10911
  height: "14",
10880
10912
  viewBox: "0 0 20 14",
10881
10913
  fill: "none",
10882
- children: /* @__PURE__ */ jsx44("path", {
10914
+ children: /* @__PURE__ */ jsx45("path", {
10883
10915
  d: "M13.0983 5L6.90169 5C6.15069 5 5.73001 5.75351 6.19399 6.2676L9.29231 9.70055C9.65265 10.0998 10.3474 10.0998 10.7077 9.70055L13.806 6.2676C14.27 5.75351 13.8493 5 13.0983 5Z",
10884
10916
  fill: "#414345"
10885
10917
  })
@@ -10892,49 +10924,49 @@ var NumberInput = React34.forwardRef(function(_param, ref) {
10892
10924
  });
10893
10925
  NumberInput.displayName = "NumberInput";
10894
10926
  // src/components/page-content.tsx
10895
- import { jsx as jsx45 } from "react/jsx-runtime";
10927
+ import { jsx as jsx46 } from "react/jsx-runtime";
10896
10928
  // src/components/radio-group.tsx
10897
10929
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
10898
- import * as React35 from "react";
10899
- import { jsx as jsx46, jsxs as jsxs29 } from "react/jsx-runtime";
10900
- var RadioGroupItem = React35.forwardRef(function(_param, ref) {
10930
+ import * as React36 from "react";
10931
+ import { jsx as jsx47, jsxs as jsxs30 } from "react/jsx-runtime";
10932
+ var RadioGroupItem = React36.forwardRef(function(_param, ref) {
10901
10933
  var className = _param.className, props = _object_without_properties(_param, [
10902
10934
  "className"
10903
10935
  ]);
10904
- return /* @__PURE__ */ jsx46(RadioGroupPrimitive.Item, _object_spread_props(_object_spread({
10936
+ return /* @__PURE__ */ jsx47(RadioGroupPrimitive.Item, _object_spread_props(_object_spread({
10905
10937
  ref: ref,
10906
10938
  className: cn("aspect-square h-5 w-5 shrink-0 border-[1.5px] rounded-full border-cc-Check-Box-border-default hover:border-cc-Check-Box-border-hover hover:disabled:border-cc-Check-Box-border-disabled disabled:bg-cc-Check-Box-bg-disabled disabled:data-[state=checked]:border-cc-Check-Box-border-disabled hover:data-[state=checked]:bg-cc-Check-Box-border-hovered data-[state=checked]:border-none data-[state=checked]:bg-cc-Check-Box-bg-default disabled:data-[state=checked]:bg-cc-Check-Box-border-disabled disabled:cursor-not-allowed disabled:opacity-40", className)
10907
10939
  }, props), {
10908
- children: /* @__PURE__ */ jsx46(RadioGroupPrimitive.Indicator, {
10940
+ children: /* @__PURE__ */ jsx47(RadioGroupPrimitive.Indicator, {
10909
10941
  className: "flex items-center justify-center",
10910
- children: /* @__PURE__ */ jsx46("div", {
10942
+ children: /* @__PURE__ */ jsx47("div", {
10911
10943
  className: cn("w-2 h-2 rounded-full bg-cc-Check-Box-fg-default", props.disabled && "bg-cc-Check-Box-fg-alt")
10912
10944
  })
10913
10945
  })
10914
10946
  }));
10915
10947
  });
10916
10948
  RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
10917
- var RadioGroup4 = React35.forwardRef(function(_param, ref) {
10949
+ var RadioGroup4 = React36.forwardRef(function(_param, ref) {
10918
10950
  var className = _param.className, options = _param.options, props = _object_without_properties(_param, [
10919
10951
  "className",
10920
10952
  "options"
10921
10953
  ]);
10922
- return /* @__PURE__ */ jsx46(RadioGroupPrimitive.Root, _object_spread_props(_object_spread({
10954
+ return /* @__PURE__ */ jsx47(RadioGroupPrimitive.Root, _object_spread_props(_object_spread({
10923
10955
  className: cn("grid gap-2", className, {
10924
10956
  "grid-flow-col space-x-4": props.orientation === "horizontal"
10925
10957
  })
10926
10958
  }, props), {
10927
10959
  ref: ref,
10928
10960
  children: options === null || options === void 0 ? void 0 : options.map(function(option) {
10929
- return /* @__PURE__ */ jsxs29("div", {
10961
+ return /* @__PURE__ */ jsxs30("div", {
10930
10962
  className: "flex items-center space-x-2",
10931
10963
  children: [
10932
- /* @__PURE__ */ jsx46(RadioGroupItem, {
10964
+ /* @__PURE__ */ jsx47(RadioGroupItem, {
10933
10965
  value: option.value,
10934
10966
  id: option.value,
10935
10967
  disabled: option.disabled
10936
10968
  }),
10937
- /* @__PURE__ */ jsx46(Label3, {
10969
+ /* @__PURE__ */ jsx47(Label3, {
10938
10970
  htmlFor: option.value,
10939
10971
  className: cn("font-normal", {
10940
10972
  "cursor-not-allowed opacity-40": option.disabled
@@ -10952,40 +10984,40 @@ RadioGroup4.defaultProps = {
10952
10984
  };
10953
10985
  // src/components/scroll-area.tsx
10954
10986
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
10955
- import * as React36 from "react";
10956
- import { jsx as jsx47, jsxs as jsxs30 } from "react/jsx-runtime";
10957
- var ScrollArea = React36.forwardRef(function(_param, ref) {
10987
+ import * as React37 from "react";
10988
+ import { jsx as jsx48, jsxs as jsxs31 } from "react/jsx-runtime";
10989
+ var ScrollArea = React37.forwardRef(function(_param, ref) {
10958
10990
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
10959
10991
  "className",
10960
10992
  "children"
10961
10993
  ]);
10962
- return /* @__PURE__ */ jsxs30(ScrollAreaPrimitive.Root, _object_spread_props(_object_spread({
10994
+ return /* @__PURE__ */ jsxs31(ScrollAreaPrimitive.Root, _object_spread_props(_object_spread({
10963
10995
  ref: ref,
10964
10996
  className: cn("relative overflow-hidden", className),
10965
10997
  type: "always"
10966
10998
  }, props), {
10967
10999
  children: [
10968
- /* @__PURE__ */ jsx47(ScrollAreaPrimitive.Viewport, {
11000
+ /* @__PURE__ */ jsx48(ScrollAreaPrimitive.Viewport, {
10969
11001
  className: "h-full w-full rounded-[inherit]",
10970
11002
  children: children
10971
11003
  }),
10972
- /* @__PURE__ */ jsx47(ScrollBar, {}),
10973
- /* @__PURE__ */ jsx47(ScrollAreaPrimitive.Corner, {})
11004
+ /* @__PURE__ */ jsx48(ScrollBar, {}),
11005
+ /* @__PURE__ */ jsx48(ScrollAreaPrimitive.Corner, {})
10974
11006
  ]
10975
11007
  }));
10976
11008
  });
10977
11009
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
10978
- var ScrollBar = React36.forwardRef(function(_param, ref) {
11010
+ var ScrollBar = React37.forwardRef(function(_param, ref) {
10979
11011
  var className = _param.className, _param_orientation = _param.orientation, orientation = _param_orientation === void 0 ? "vertical" : _param_orientation, props = _object_without_properties(_param, [
10980
11012
  "className",
10981
11013
  "orientation"
10982
11014
  ]);
10983
- return /* @__PURE__ */ jsx47(ScrollAreaPrimitive.ScrollAreaScrollbar, _object_spread_props(_object_spread({
11015
+ return /* @__PURE__ */ jsx48(ScrollAreaPrimitive.ScrollAreaScrollbar, _object_spread_props(_object_spread({
10984
11016
  ref: ref,
10985
11017
  orientation: orientation,
10986
11018
  className: cn("flex touch-none select-none transition-colors", orientation === "vertical" && "h-full w-2 border-l border-l-transparent p-[1px]", orientation === "horizontal" && "h-2 flex-col border-t border-t-transparent p-[1px]", className)
10987
11019
  }, props), {
10988
- children: /* @__PURE__ */ jsx47(ScrollAreaPrimitive.ScrollAreaThumb, {
11020
+ children: /* @__PURE__ */ jsx48(ScrollAreaPrimitive.ScrollAreaThumb, {
10989
11021
  className: "relative flex-1 rounded-full bg-[var(--Colors-Border-Alt)] hover:bg-[var(--Colors-Border-Active)]"
10990
11022
  })
10991
11023
  }));
@@ -10995,7 +11027,7 @@ ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
10995
11027
  import { useEffect as useEffect10, useRef as useRef6, useState as useState8 } from "react";
10996
11028
  import { useMedia as useMedia5 } from "react-use";
10997
11029
  import { ArrowLeftIcon } from "lucide-react";
10998
- import { jsx as jsx48, jsxs as jsxs31 } from "react/jsx-runtime";
11030
+ import { jsx as jsx49, jsxs as jsxs32 } from "react/jsx-runtime";
10999
11031
  function TopNavigationBar(param) {
11000
11032
  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, isMobile2 = param.isMobile;
11001
11033
  var componentIsMobile = useMedia5("(max-width: 768px)");
@@ -11020,66 +11052,66 @@ function TopNavigationBar(param) {
11020
11052
  }, [
11021
11053
  hasBackground
11022
11054
  ]);
11023
- return /* @__PURE__ */ jsxs31("div", {
11055
+ return /* @__PURE__ */ jsxs32("div", {
11024
11056
  ref: navbarRef,
11025
11057
  className: cn("w-full flex flex-col md:flex-row justify-center items-center px-4 md:px-6", !isMob && border && "border-b border-Colors-Border-Default", showBackground ? "bg-Colors-Background-Normal-Primary-Default" : "bg-cc-Button-Plain-bg-default md:bg-Colors-Background-Normal-Primary-Default", className),
11026
11058
  children: [
11027
- /* @__PURE__ */ jsxs31("div", {
11059
+ /* @__PURE__ */ jsxs32("div", {
11028
11060
  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"),
11029
11061
  children: [
11030
- /* @__PURE__ */ jsxs31("div", {
11062
+ /* @__PURE__ */ jsxs32("div", {
11031
11063
  className: "flex items-center justify-start",
11032
11064
  children: [
11033
- (backUrl || onBack) && /* @__PURE__ */ jsxs31("div", {
11065
+ (backUrl || onBack) && /* @__PURE__ */ jsxs32("div", {
11034
11066
  className: "flex justify-start items-center",
11035
11067
  children: [
11036
- backUrl ? /* @__PURE__ */ jsx48(Link, {
11068
+ backUrl ? /* @__PURE__ */ jsx49(Link, {
11037
11069
  href: backUrl,
11038
11070
  className: "flex justify-center items-center",
11039
- children: /* @__PURE__ */ jsx48(IconButton, {
11071
+ children: /* @__PURE__ */ jsx49(IconButton, {
11040
11072
  variant: "plain",
11041
11073
  color: "default",
11042
11074
  size: "md",
11043
11075
  icon: ArrowLeftIcon
11044
11076
  })
11045
- }) : /* @__PURE__ */ jsx48(IconButton, {
11077
+ }) : /* @__PURE__ */ jsx49(IconButton, {
11046
11078
  variant: "plain",
11047
11079
  color: "default",
11048
11080
  size: "md",
11049
11081
  icon: ArrowLeftIcon,
11050
11082
  onClick: onBack
11051
11083
  }),
11052
- !isMob && title && /* @__PURE__ */ jsx48(Separator, {
11084
+ !isMob && title && /* @__PURE__ */ jsx49(Separator, {
11053
11085
  orientation: "vertical",
11054
11086
  className: "h-5 ml-1.5 mr-3"
11055
11087
  })
11056
11088
  ]
11057
11089
  }),
11058
- title && (!(avatar === null || avatar === void 0 ? void 0 : avatar.logo) || !isMob) && (pageType === 1 || !isMob) && /* @__PURE__ */ jsx48(Display, {
11090
+ title && (!(avatar === null || avatar === void 0 ? void 0 : avatar.logo) || !isMob) && (pageType === 1 || !isMob) && /* @__PURE__ */ jsx49(Display, {
11059
11091
  size: "sm",
11060
11092
  className: "line-clamp-1 text-xl",
11061
11093
  children: title
11062
11094
  })
11063
11095
  ]
11064
11096
  }),
11065
- pageType === 2 && isMob && !(avatar === null || avatar === void 0 ? void 0 : avatar.logo) && !searchElement && /* @__PURE__ */ jsx48("div", {
11097
+ pageType === 2 && isMob && !(avatar === null || avatar === void 0 ? void 0 : avatar.logo) && !searchElement && /* @__PURE__ */ jsx49("div", {
11066
11098
  className: "absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 z-10",
11067
- children: /* @__PURE__ */ jsx48(Display, {
11099
+ children: /* @__PURE__ */ jsx49(Display, {
11068
11100
  size: "xs",
11069
11101
  className: "line-clamp-1 text-lg",
11070
11102
  children: title
11071
11103
  })
11072
11104
  }),
11073
- (avatar === null || avatar === void 0 ? void 0 : avatar.logo) ? /* @__PURE__ */ jsx48("div", {
11105
+ (avatar === null || avatar === void 0 ? void 0 : avatar.logo) ? /* @__PURE__ */ jsx49("div", {
11074
11106
  className: "flex-1 flex-shrink-0 flex justify-center items-center",
11075
- children: /* @__PURE__ */ jsxs31("div", {
11107
+ children: /* @__PURE__ */ jsxs32("div", {
11076
11108
  className: "flex items-center space-x-1.5",
11077
11109
  children: [
11078
- /* @__PURE__ */ jsx48(Avatar, {
11110
+ /* @__PURE__ */ jsx49(Avatar, {
11079
11111
  size: "sm",
11080
11112
  src: avatar.logo
11081
11113
  }),
11082
- avatar.name && !isMob && /* @__PURE__ */ jsx48(Text, {
11114
+ avatar.name && !isMob && /* @__PURE__ */ jsx49(Text, {
11083
11115
  size: "lg",
11084
11116
  weight: "medium",
11085
11117
  children: avatar.name
@@ -11087,9 +11119,9 @@ function TopNavigationBar(param) {
11087
11119
  ]
11088
11120
  })
11089
11121
  }) : null,
11090
- /* @__PURE__ */ jsx48("div", {
11122
+ /* @__PURE__ */ jsx49("div", {
11091
11123
  className: cn("flex justify-end items-center", pageType === 2 && isMob && searchElement && "w-full"),
11092
- children: /* @__PURE__ */ jsxs31("div", {
11124
+ children: /* @__PURE__ */ jsxs32("div", {
11093
11125
  className: "w-full md:w-auto flex items-center space-x-3",
11094
11126
  children: [
11095
11127
  searchElement && (!isMob && pageType === 1 || pageType === 2) && searchElement,
@@ -11099,7 +11131,7 @@ function TopNavigationBar(param) {
11099
11131
  })
11100
11132
  ]
11101
11133
  }),
11102
- searchElement && pageType === 1 && isMob && /* @__PURE__ */ jsx48("div", {
11134
+ searchElement && pageType === 1 && isMob && /* @__PURE__ */ jsx49("div", {
11103
11135
  className: "relative w-full h-13 py-2",
11104
11136
  children: searchElement
11105
11137
  })
@@ -11109,9 +11141,9 @@ function TopNavigationBar(param) {
11109
11141
  // src/components/select.tsx
11110
11142
  import * as SelectPrimitive from "@radix-ui/react-select";
11111
11143
  import { ChevronDown as ChevronDown2, ChevronUp, CheckIcon as CheckIcon2 } from "lucide-react";
11112
- import * as React37 from "react";
11113
- import { Fragment as Fragment9, jsx as jsx49, jsxs as jsxs32 } from "react/jsx-runtime";
11114
- var Select = React37.forwardRef(function(_param, ref) {
11144
+ import * as React38 from "react";
11145
+ import { Fragment as Fragment9, jsx as jsx50, jsxs as jsxs33 } from "react/jsx-runtime";
11146
+ var Select = React38.forwardRef(function(_param, ref) {
11115
11147
  var children = _param.children, placeholder = _param.placeholder, options = _param.options, triggerClassName = _param.triggerClassName, contentClassName = _param.contentClassName, side = _param.side, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, _param_variant = _param.variant, variant = _param_variant === void 0 ? "input" : _param_variant, props = _object_without_properties(_param, [
11116
11148
  "children",
11117
11149
  "placeholder",
@@ -11126,36 +11158,36 @@ var Select = React37.forwardRef(function(_param, ref) {
11126
11158
  var icon = options === null || options === void 0 ? void 0 : (_options_find = options.find(function(item) {
11127
11159
  return item.value === props.value;
11128
11160
  })) === null || _options_find === void 0 ? void 0 : _options_find.icon;
11129
- return /* @__PURE__ */ jsx49(SelectPrimitive.Root, _object_spread_props(_object_spread({}, props), {
11130
- children: Array.isArray(options) && options.length ? /* @__PURE__ */ jsxs32(Fragment9, {
11161
+ return /* @__PURE__ */ jsx50(SelectPrimitive.Root, _object_spread_props(_object_spread({}, props), {
11162
+ children: Array.isArray(options) && options.length ? /* @__PURE__ */ jsxs33(Fragment9, {
11131
11163
  children: [
11132
- /* @__PURE__ */ jsx49(SelectTrigger, {
11164
+ /* @__PURE__ */ jsx50(SelectTrigger, {
11133
11165
  className: triggerClassName,
11134
11166
  isButtonVariant: variant === "button",
11135
11167
  size: size,
11136
- children: /* @__PURE__ */ jsxs32("div", {
11168
+ children: /* @__PURE__ */ jsxs33("div", {
11137
11169
  className: "flex items-center space-x-2",
11138
11170
  children: [
11139
- /* @__PURE__ */ jsx49(SelectIcon, {
11171
+ /* @__PURE__ */ jsx50(SelectIcon, {
11140
11172
  icon: icon
11141
11173
  }),
11142
- /* @__PURE__ */ jsx49(SelectValue, {
11174
+ /* @__PURE__ */ jsx50(SelectValue, {
11143
11175
  placeholder: placeholder
11144
11176
  })
11145
11177
  ]
11146
11178
  })
11147
11179
  }),
11148
- /* @__PURE__ */ jsx49(SelectContent, {
11180
+ /* @__PURE__ */ jsx50(SelectContent, {
11149
11181
  side: side,
11150
11182
  sideOffset: variant === "button" ? 4 : 0,
11151
11183
  align: "center",
11152
11184
  noPortal: true,
11153
11185
  className: contentClassName,
11154
11186
  children: options.map(function(item, i) {
11155
- return /* @__PURE__ */ jsx49(Fragment9, {
11156
- children: item.label ? /* @__PURE__ */ jsx49(SelectItem, _object_spread_props(_object_spread({}, item), {
11187
+ return /* @__PURE__ */ jsx50(Fragment9, {
11188
+ children: item.label ? /* @__PURE__ */ jsx50(SelectItem, _object_spread_props(_object_spread({}, item), {
11157
11189
  children: item.label
11158
- }), "".concat(item.value, "_").concat(i)) : /* @__PURE__ */ jsx49(SelectSeparator, {}, "".concat(item.value, "_").concat(i))
11190
+ }), "".concat(item.value, "_").concat(i)) : /* @__PURE__ */ jsx50(SelectSeparator, {}, "".concat(item.value, "_").concat(i))
11159
11191
  });
11160
11192
  })
11161
11193
  })
@@ -11165,14 +11197,14 @@ var Select = React37.forwardRef(function(_param, ref) {
11165
11197
  });
11166
11198
  var SelectGroup = SelectPrimitive.Group;
11167
11199
  var SelectValue = SelectPrimitive.Value;
11168
- var SelectTrigger = React37.forwardRef(function(_param, ref) {
11200
+ var SelectTrigger = React38.forwardRef(function(_param, ref) {
11169
11201
  var className = _param.className, children = _param.children, isButtonVariant = _param.isButtonVariant, size = _param.size, props = _object_without_properties(_param, [
11170
11202
  "className",
11171
11203
  "children",
11172
11204
  "isButtonVariant",
11173
11205
  "size"
11174
11206
  ]);
11175
- return /* @__PURE__ */ jsxs32(SelectPrimitive.Trigger, _object_spread_props(_object_spread({
11207
+ return /* @__PURE__ */ jsxs33(SelectPrimitive.Trigger, _object_spread_props(_object_spread({
11176
11208
  ref: ref,
11177
11209
  className: cn("flex w-full items-center justify-between rounded-sm border border-transparent hover:border-cc-Input-border-default bg-cc-Input-bg-default text-Colors-Text-Default text-sm p-3 focus:shadow-cc-Focus-Rings-Brand-default placeholder:text-Colors-Text-Subtlest focus:outline-none focus:ring-0 focus:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-30 [&>span]:line-clamp-1 [&>.select-chevron]:aria-expanded:rotate-180 space-x-1.5", isButtonVariant && buttonVariants({
11178
11210
  variant: "ghost",
@@ -11181,9 +11213,9 @@ var SelectTrigger = React37.forwardRef(function(_param, ref) {
11181
11213
  }, props), {
11182
11214
  children: [
11183
11215
  children,
11184
- /* @__PURE__ */ jsx49(SelectPrimitive.Icon, {
11216
+ /* @__PURE__ */ jsx50(SelectPrimitive.Icon, {
11185
11217
  asChild: true,
11186
- children: /* @__PURE__ */ jsx49(ChevronDown2, {
11218
+ children: /* @__PURE__ */ jsx50(ChevronDown2, {
11187
11219
  className: "select-chevron h-5 w-5 text-Colors-Foreground-Subtle duration-200"
11188
11220
  })
11189
11221
  })
@@ -11191,47 +11223,47 @@ var SelectTrigger = React37.forwardRef(function(_param, ref) {
11191
11223
  }));
11192
11224
  });
11193
11225
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
11194
- var SelectScrollUpButton = React37.forwardRef(function(_param, ref) {
11226
+ var SelectScrollUpButton = React38.forwardRef(function(_param, ref) {
11195
11227
  var className = _param.className, props = _object_without_properties(_param, [
11196
11228
  "className"
11197
11229
  ]);
11198
- return /* @__PURE__ */ jsx49(SelectPrimitive.ScrollUpButton, _object_spread_props(_object_spread({
11230
+ return /* @__PURE__ */ jsx50(SelectPrimitive.ScrollUpButton, _object_spread_props(_object_spread({
11199
11231
  ref: ref,
11200
11232
  className: cn("flex cursor-default items-center justify-center py-1", className)
11201
11233
  }, props), {
11202
- children: /* @__PURE__ */ jsx49(ChevronUp, {
11234
+ children: /* @__PURE__ */ jsx50(ChevronUp, {
11203
11235
  className: "h-4 w-4"
11204
11236
  })
11205
11237
  }));
11206
11238
  });
11207
11239
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
11208
- var SelectScrollDownButton = React37.forwardRef(function(_param, ref) {
11240
+ var SelectScrollDownButton = React38.forwardRef(function(_param, ref) {
11209
11241
  var className = _param.className, props = _object_without_properties(_param, [
11210
11242
  "className"
11211
11243
  ]);
11212
- return /* @__PURE__ */ jsx49(SelectPrimitive.ScrollDownButton, _object_spread_props(_object_spread({
11244
+ return /* @__PURE__ */ jsx50(SelectPrimitive.ScrollDownButton, _object_spread_props(_object_spread({
11213
11245
  ref: ref,
11214
11246
  className: cn("flex cursor-default items-center justify-center py-1", className)
11215
11247
  }, props), {
11216
- children: /* @__PURE__ */ jsx49(ChevronDown2, {
11248
+ children: /* @__PURE__ */ jsx50(ChevronDown2, {
11217
11249
  className: "h-4 w-4"
11218
11250
  })
11219
11251
  }));
11220
11252
  });
11221
11253
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
11222
- var SelectContent = React37.forwardRef(function(_param, ref) {
11254
+ var SelectContent = React38.forwardRef(function(_param, ref) {
11223
11255
  var className = _param.className, children = _param.children, _param_position = _param.position, position = _param_position === void 0 ? "popper" : _param_position, noPortal = _param.noPortal, props = _object_without_properties(_param, [
11224
11256
  "className",
11225
11257
  "children",
11226
11258
  "position",
11227
11259
  "noPortal"
11228
11260
  ]);
11229
- var Content13 = /* @__PURE__ */ jsx49(SelectPrimitive.Content, _object_spread_props(_object_spread({
11261
+ var Content13 = /* @__PURE__ */ jsx50(SelectPrimitive.Content, _object_spread_props(_object_spread({
11230
11262
  ref: ref,
11231
11263
  className: cn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-sm bg-Colors-Background-Utilities-Modal 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),
11232
11264
  position: position
11233
11265
  }, props), {
11234
- children: /* @__PURE__ */ jsx49(SelectPrimitive.Viewport, {
11266
+ children: /* @__PURE__ */ jsx50(SelectPrimitive.Viewport, {
11235
11267
  className: cn("p-1.5 space-y-1", position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
11236
11268
  children: children
11237
11269
  })
@@ -11239,16 +11271,16 @@ var SelectContent = React37.forwardRef(function(_param, ref) {
11239
11271
  if (noPortal) {
11240
11272
  return Content13;
11241
11273
  }
11242
- return /* @__PURE__ */ jsx49(SelectPrimitive.Portal, {
11274
+ return /* @__PURE__ */ jsx50(SelectPrimitive.Portal, {
11243
11275
  children: Content13
11244
11276
  });
11245
11277
  });
11246
11278
  SelectContent.displayName = SelectPrimitive.Content.displayName;
11247
- var SelectLabel = React37.forwardRef(function(_param, ref) {
11279
+ var SelectLabel = React38.forwardRef(function(_param, ref) {
11248
11280
  var className = _param.className, props = _object_without_properties(_param, [
11249
11281
  "className"
11250
11282
  ]);
11251
- return /* @__PURE__ */ jsx49(SelectPrimitive.Label, _object_spread({
11283
+ return /* @__PURE__ */ jsx50(SelectPrimitive.Label, _object_spread({
11252
11284
  ref: ref,
11253
11285
  className: cn("py-1 px-3 text-sm font-medium text-Colors-Text-Subtler", className)
11254
11286
  }, props));
@@ -11259,55 +11291,55 @@ function SelectIcon(props) {
11259
11291
  if (!icon) {
11260
11292
  return null;
11261
11293
  }
11262
- return /* @__PURE__ */ jsx49(SelectPrimitive.Icon, {
11294
+ return /* @__PURE__ */ jsx50(SelectPrimitive.Icon, {
11263
11295
  children: typeof icon === "string" ? // 如果是字符串URL,作为背景图片显示
11264
- /* @__PURE__ */ jsx49("div", {
11296
+ /* @__PURE__ */ jsx50("div", {
11265
11297
  className: cn("aspect-[20/20] w-5 h-5 relative bg-cover bg-no-repeat rounded-sm overflow-hidden", critical && "text-Colors-Text-Critical-Default"),
11266
11298
  style: {
11267
11299
  backgroundImage: "url('".concat(icon, "')")
11268
11300
  }
11269
- }) : React37.isValidElement(icon) ? // 如果是React元素,直接渲染
11270
- /* @__PURE__ */ jsx49("div", {
11301
+ }) : React38.isValidElement(icon) ? // 如果是React元素,直接渲染
11302
+ /* @__PURE__ */ jsx50("div", {
11271
11303
  className: cn("w-5 h-5 text-Colors-Foreground-Default flex items-center justify-center", critical && "text-Colors-Foreground-Critical-Default"),
11272
11304
  children: icon
11273
11305
  }) : // 如果是组件类型,创建元素
11274
- /* @__PURE__ */ jsx49("div", {
11306
+ /* @__PURE__ */ jsx50("div", {
11275
11307
  className: cn("w-5 h-5 text-Colors-Foreground-Default flex items-center justify-center", critical && "text-Colors-Foreground-Critical-Default"),
11276
- children: React37.createElement(icon, {
11308
+ children: React38.createElement(icon, {
11277
11309
  className: cn("w-5 h-5 text-Colors-Foreground-Default", critical && "text-Colors-Foreground-Critical-Default")
11278
11310
  })
11279
11311
  })
11280
11312
  });
11281
11313
  }
11282
11314
  SelectIcon.displayName = SelectPrimitive.Icon.displayName;
11283
- var SelectItem = React37.forwardRef(function(_param, ref) {
11315
+ var SelectItem = React38.forwardRef(function(_param, ref) {
11284
11316
  var className = _param.className, children = _param.children, icon = _param.icon, critical = _param.critical, props = _object_without_properties(_param, [
11285
11317
  "className",
11286
11318
  "children",
11287
11319
  "icon",
11288
11320
  "critical"
11289
11321
  ]);
11290
- return /* @__PURE__ */ jsxs32(SelectPrimitive.Item, _object_spread_props(_object_spread({
11322
+ return /* @__PURE__ */ jsxs33(SelectPrimitive.Item, _object_spread_props(_object_spread({
11291
11323
  ref: ref,
11292
11324
  className: cn("relative flex justify-between w-full cursor-pointer select-none items-center rounded-sm py-1 px-1.5 outline-none text-base", "hover:bg-Colors-Background-Normal-Primary-Hover focus:bg-Colors-Background-Normal-Primary-Hover data-[disabled]:opacity-30 data-[disabled]:cursor-not-allowed space-x-1.5", critical ? "text-Colors-Text-Critical-Default" : "focus:text-Colors-Text-Default", className)
11293
11325
  }, props), {
11294
11326
  children: [
11295
- /* @__PURE__ */ jsxs32("span", {
11327
+ /* @__PURE__ */ jsxs33("span", {
11296
11328
  className: "flex items-center grow space-x-1.5",
11297
11329
  children: [
11298
- /* @__PURE__ */ jsx49(SelectIcon, {
11330
+ /* @__PURE__ */ jsx50(SelectIcon, {
11299
11331
  icon: icon,
11300
11332
  critical: critical
11301
11333
  }),
11302
- /* @__PURE__ */ jsx49(SelectPrimitive.ItemText, {
11334
+ /* @__PURE__ */ jsx50(SelectPrimitive.ItemText, {
11303
11335
  children: children
11304
11336
  })
11305
11337
  ]
11306
11338
  }),
11307
- /* @__PURE__ */ jsx49("span", {
11339
+ /* @__PURE__ */ jsx50("span", {
11308
11340
  className: "flex h-4 w-4 items-center justify-center",
11309
- children: /* @__PURE__ */ jsx49(SelectPrimitive.ItemIndicator, {
11310
- children: /* @__PURE__ */ jsx49(CheckIcon2, {
11341
+ children: /* @__PURE__ */ jsx50(SelectPrimitive.ItemIndicator, {
11342
+ children: /* @__PURE__ */ jsx50(CheckIcon2, {
11311
11343
  className: "h-4 w-4 text-Colors-Foreground-Subtle stroke-[2px]"
11312
11344
  })
11313
11345
  })
@@ -11316,11 +11348,11 @@ var SelectItem = React37.forwardRef(function(_param, ref) {
11316
11348
  }));
11317
11349
  });
11318
11350
  SelectItem.displayName = SelectPrimitive.Item.displayName;
11319
- var SelectSeparator = React37.forwardRef(function(_param, ref) {
11351
+ var SelectSeparator = React38.forwardRef(function(_param, ref) {
11320
11352
  var className = _param.className, props = _object_without_properties(_param, [
11321
11353
  "className"
11322
11354
  ]);
11323
- return /* @__PURE__ */ jsx49(SelectPrimitive.Separator, _object_spread({
11355
+ return /* @__PURE__ */ jsx50(SelectPrimitive.Separator, _object_spread({
11324
11356
  ref: ref,
11325
11357
  className: cn("mx-1.5 my-1 h-px bg-[var(--Colors-Border-Default)]", className)
11326
11358
  }, props));
@@ -11329,11 +11361,11 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
11329
11361
  // src/components/multiple-selector.tsx
11330
11362
  import { Command as CommandPrimitive2, useCommandState } from "cmdk";
11331
11363
  import { ChevronDown as ChevronDown3, X as X2 } from "lucide-react";
11332
- import * as React38 from "react";
11333
- import { forwardRef as forwardRef35, useEffect as useEffect11 } from "react";
11334
- import { Fragment as Fragment10, jsx as jsx50, jsxs as jsxs33 } from "react/jsx-runtime";
11364
+ import * as React39 from "react";
11365
+ import { forwardRef as forwardRef36, useEffect as useEffect11 } from "react";
11366
+ import { Fragment as Fragment10, jsx as jsx51, jsxs as jsxs34 } from "react/jsx-runtime";
11335
11367
  function useDebounce(value1, delay) {
11336
- var _React38_useState = _sliced_to_array(React38.useState(value1), 2), debouncedValue = _React38_useState[0], setDebouncedValue = _React38_useState[1];
11368
+ var _React39_useState = _sliced_to_array(React39.useState(value1), 2), debouncedValue = _React39_useState[0], setDebouncedValue = _React39_useState[1];
11337
11369
  useEffect11(function() {
11338
11370
  var timer = setTimeout(function() {
11339
11371
  return setDebouncedValue(value1);
@@ -11423,7 +11455,7 @@ function isOptionsExist(groupOption, targetOption) {
11423
11455
  }
11424
11456
  return false;
11425
11457
  }
11426
- var CommandEmpty2 = forwardRef35(function(_param, forwardedRef) {
11458
+ var CommandEmpty2 = forwardRef36(function(_param, forwardedRef) {
11427
11459
  var className = _param.className, props = _object_without_properties(_param, [
11428
11460
  "className"
11429
11461
  ]);
@@ -11431,7 +11463,7 @@ var CommandEmpty2 = forwardRef35(function(_param, forwardedRef) {
11431
11463
  return state.filtered.count === 0;
11432
11464
  });
11433
11465
  if (!render) return null;
11434
- return /* @__PURE__ */ jsx50("div", _object_spread({
11466
+ return /* @__PURE__ */ jsx51("div", _object_spread({
11435
11467
  ref: forwardedRef,
11436
11468
  className: cn("py-6 text-center text-sm", className),
11437
11469
  "cmdk-empty": "",
@@ -11439,21 +11471,21 @@ var CommandEmpty2 = forwardRef35(function(_param, forwardedRef) {
11439
11471
  }, props));
11440
11472
  });
11441
11473
  CommandEmpty2.displayName = "CommandEmpty";
11442
- var MultipleSelector = React38.forwardRef(function(param, ref) {
11474
+ var MultipleSelector = React39.forwardRef(function(param, ref) {
11443
11475
  var value1 = param.value, onChange = param.onChange, placeholder = param.placeholder, tmp = param.// defaultOptions: arrayDefaultOptions = [],
11444
11476
  options, arrayOptions = tmp === void 0 ? [] : tmp, delay = param.delay, onSearch = param.onSearch, onSearchSync = param.onSearchSync, loadingIndicator = param.loadingIndicator, emptyIndicator = param.emptyIndicator, _param_maxSelected = param.maxSelected, maxSelected = _param_maxSelected === void 0 ? Number.MAX_SAFE_INTEGER : _param_maxSelected, onMaxSelected = param.onMaxSelected, _param_hidePlaceholderWhenSelected = param.hidePlaceholderWhenSelected, hidePlaceholderWhenSelected = _param_hidePlaceholderWhenSelected === void 0 ? true : _param_hidePlaceholderWhenSelected, disabled = param.disabled, groupBy = param.groupBy, className = param.className, badgeClassName = param.badgeClassName, _param_selectFirstItem = param.selectFirstItem, selectFirstItem = _param_selectFirstItem === void 0 ? true : _param_selectFirstItem, _param_creatable = param.creatable, creatable = _param_creatable === void 0 ? false : _param_creatable, _param_triggerSearchOnFocus = param.triggerSearchOnFocus, triggerSearchOnFocus = _param_triggerSearchOnFocus === void 0 ? false : _param_triggerSearchOnFocus, commandProps = param.commandProps, inputProps = param.inputProps, _param_hideClearAllButton = param.hideClearAllButton, hideClearAllButton = _param_hideClearAllButton === void 0 ? false : _param_hideClearAllButton;
11445
- var inputRef = React38.useRef(null);
11446
- var _React38_useState = _sliced_to_array(React38.useState(false), 2), open = _React38_useState[0], setOpen = _React38_useState[1];
11447
- var _React38_useState1 = _sliced_to_array(React38.useState(false), 2), onScrollbar = _React38_useState1[0], setOnScrollbar = _React38_useState1[1];
11448
- var _React38_useState2 = _sliced_to_array(React38.useState(false), 2), isLoading = _React38_useState2[0], setIsLoading = _React38_useState2[1];
11449
- var dropdownRef = React38.useRef(null);
11450
- var _React38_useState3 = _sliced_to_array(React38.useState((arrayOptions === null || arrayOptions === void 0 ? void 0 : arrayOptions.filter(function(item) {
11477
+ var inputRef = React39.useRef(null);
11478
+ var _React39_useState = _sliced_to_array(React39.useState(false), 2), open = _React39_useState[0], setOpen = _React39_useState[1];
11479
+ var _React39_useState1 = _sliced_to_array(React39.useState(false), 2), onScrollbar = _React39_useState1[0], setOnScrollbar = _React39_useState1[1];
11480
+ var _React39_useState2 = _sliced_to_array(React39.useState(false), 2), isLoading = _React39_useState2[0], setIsLoading = _React39_useState2[1];
11481
+ var dropdownRef = React39.useRef(null);
11482
+ var _React39_useState3 = _sliced_to_array(React39.useState((arrayOptions === null || arrayOptions === void 0 ? void 0 : arrayOptions.filter(function(item) {
11451
11483
  return value1 === null || value1 === void 0 ? void 0 : value1.includes(item.value);
11452
- })) || []), 2), selected = _React38_useState3[0], setSelected = _React38_useState3[1];
11453
- var _React38_useState4 = _sliced_to_array(React38.useState(transToGroupOption(arrayOptions, groupBy)), 2), options = _React38_useState4[0], setOptions = _React38_useState4[1];
11454
- var _React38_useState5 = _sliced_to_array(React38.useState(""), 2), inputValue = _React38_useState5[0], setInputValue = _React38_useState5[1];
11484
+ })) || []), 2), selected = _React39_useState3[0], setSelected = _React39_useState3[1];
11485
+ var _React39_useState4 = _sliced_to_array(React39.useState(transToGroupOption(arrayOptions, groupBy)), 2), options = _React39_useState4[0], setOptions = _React39_useState4[1];
11486
+ var _React39_useState5 = _sliced_to_array(React39.useState(""), 2), inputValue = _React39_useState5[0], setInputValue = _React39_useState5[1];
11455
11487
  var debouncedSearchTerm = useDebounce(inputValue, delay || 500);
11456
- React38.useImperativeHandle(ref, function() {
11488
+ React39.useImperativeHandle(ref, function() {
11457
11489
  return {
11458
11490
  selectedValue: _to_consumable_array(selected),
11459
11491
  input: inputRef.current,
@@ -11474,7 +11506,7 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
11474
11506
  inputRef.current.blur();
11475
11507
  }
11476
11508
  };
11477
- var handleUnselect = React38.useCallback(function(option) {
11509
+ var handleUnselect = React39.useCallback(function(option) {
11478
11510
  var newOptions = selected.filter(function(s) {
11479
11511
  return s.value !== option.value;
11480
11512
  });
@@ -11486,7 +11518,7 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
11486
11518
  onChange,
11487
11519
  selected
11488
11520
  ]);
11489
- var handleKeyDown = React38.useCallback(function(e) {
11521
+ var handleKeyDown = React39.useCallback(function(e) {
11490
11522
  var input = inputRef.current;
11491
11523
  if (input) {
11492
11524
  if (e.key === "Delete" || e.key === "Backspace") {
@@ -11663,7 +11695,7 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
11663
11695
  })) {
11664
11696
  return void 0;
11665
11697
  }
11666
- var Item8 = /* @__PURE__ */ jsx50(CommandItem, {
11698
+ var Item8 = /* @__PURE__ */ jsx51(CommandItem, {
11667
11699
  value: inputValue,
11668
11700
  className: "cursor-pointer",
11669
11701
  onMouseDown: function(e) {
@@ -11697,16 +11729,16 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
11697
11729
  }
11698
11730
  return void 0;
11699
11731
  };
11700
- var EmptyItem = React38.useCallback(function() {
11732
+ var EmptyItem = React39.useCallback(function() {
11701
11733
  if (!emptyIndicator) return void 0;
11702
11734
  if (onSearch && !creatable && Object.keys(options).length === 0) {
11703
- return /* @__PURE__ */ jsx50(CommandItem, {
11735
+ return /* @__PURE__ */ jsx51(CommandItem, {
11704
11736
  value: "-",
11705
11737
  disabled: true,
11706
11738
  children: emptyIndicator
11707
11739
  });
11708
11740
  }
11709
- return /* @__PURE__ */ jsx50(CommandEmpty2, {
11741
+ return /* @__PURE__ */ jsx51(CommandEmpty2, {
11710
11742
  children: emptyIndicator
11711
11743
  });
11712
11744
  }, [
@@ -11715,13 +11747,13 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
11715
11747
  onSearch,
11716
11748
  options
11717
11749
  ]);
11718
- var selectables = React38.useMemo(function() {
11750
+ var selectables = React39.useMemo(function() {
11719
11751
  return removePickedOption(options, selected);
11720
11752
  }, [
11721
11753
  options,
11722
11754
  selected
11723
11755
  ]);
11724
- var commandFilter = React38.useCallback(function() {
11756
+ var commandFilter = React39.useCallback(function() {
11725
11757
  if (commandProps === null || commandProps === void 0 ? void 0 : commandProps.filter) {
11726
11758
  return commandProps.filter;
11727
11759
  }
@@ -11735,7 +11767,7 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
11735
11767
  creatable,
11736
11768
  commandProps === null || commandProps === void 0 ? void 0 : commandProps.filter
11737
11769
  ]);
11738
- return /* @__PURE__ */ jsxs33(Command, _object_spread_props(_object_spread({
11770
+ return /* @__PURE__ */ jsxs34(Command, _object_spread_props(_object_spread({
11739
11771
  ref: dropdownRef
11740
11772
  }, commandProps), {
11741
11773
  onKeyDown: function(e) {
@@ -11747,7 +11779,7 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
11747
11779
  shouldFilter: (commandProps === null || commandProps === void 0 ? void 0 : commandProps.shouldFilter) !== void 0 ? commandProps.shouldFilter : !onSearch,
11748
11780
  filter: commandFilter(),
11749
11781
  children: [
11750
- /* @__PURE__ */ jsx50("div", {
11782
+ /* @__PURE__ */ jsx51("div", {
11751
11783
  className: cn("aria-[invalid=true]:focus-visible:ring-error min-h-10 rounded-sm border border-Colors-Border-Default text-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-0 md:text-sm bg-cc-Input-bg-default text-Colors-Text-Default focus:shadow-cc-Focus-Rings-Brand-default placeholder:text-Colors-Text-Subtlest focus:outline-none focus:ring-0 focus:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-30 [&>span]:line-clamp-1 [&>.select-chevron]:aria-expanded:rotate-180", {
11752
11784
  "px-3 py-[5px]": selected.length !== 0,
11753
11785
  "cursor-text": !disabled && selected.length !== 0
@@ -11766,20 +11798,20 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
11766
11798
  onMouseDownCapture: function(e) {
11767
11799
  return e.stopPropagation();
11768
11800
  },
11769
- children: /* @__PURE__ */ jsxs33("div", {
11801
+ children: /* @__PURE__ */ jsxs34("div", {
11770
11802
  className: "flex items-center justify-between",
11771
11803
  children: [
11772
- /* @__PURE__ */ jsxs33("div", {
11804
+ /* @__PURE__ */ jsxs34("div", {
11773
11805
  className: "flex flex-wrap items-center gap-1 pr-6",
11774
11806
  children: [
11775
11807
  selected.map(function(option) {
11776
- return /* @__PURE__ */ jsxs33("div", {
11808
+ return /* @__PURE__ */ jsxs34("div", {
11777
11809
  className: cn("flex h-7 items-center justify-center rounded-sm bg-Colors-Background-Neutral-On-Surface-Hover px-2 data-[disabled]:opacity-30 data-[fixed]:opacity-30", badgeClassName),
11778
11810
  "data-fixed": option.fixed,
11779
11811
  "data-disabled": disabled || void 0,
11780
11812
  children: [
11781
11813
  option.label,
11782
- /* @__PURE__ */ jsx50("button", {
11814
+ /* @__PURE__ */ jsx51("button", {
11783
11815
  className: cn("ring-offset-background focus:ring-brand ml-1 rounded-full outline-none focus:ring-2 focus:ring-offset-2", (disabled || option.fixed) && "hidden"),
11784
11816
  onKeyDown: function(e) {
11785
11817
  if (e.key === "Enter") {
@@ -11793,14 +11825,14 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
11793
11825
  onClick: function() {
11794
11826
  return handleUnselect(option);
11795
11827
  },
11796
- children: /* @__PURE__ */ jsx50(X2, {
11828
+ children: /* @__PURE__ */ jsx51(X2, {
11797
11829
  className: "hover:text-foreground text-subtler h-3 w-3"
11798
11830
  })
11799
11831
  })
11800
11832
  ]
11801
11833
  }, option.value);
11802
11834
  }),
11803
- /* @__PURE__ */ jsx50(CommandPrimitive2.Input, _object_spread_props(_object_spread({}, inputProps), {
11835
+ /* @__PURE__ */ jsx51(CommandPrimitive2.Input, _object_spread_props(_object_spread({}, inputProps), {
11804
11836
  ref: inputRef,
11805
11837
  value: inputValue,
11806
11838
  disabled: disabled,
@@ -11830,7 +11862,7 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
11830
11862
  }))
11831
11863
  ]
11832
11864
  }),
11833
- /* @__PURE__ */ jsx50(IconButton, {
11865
+ /* @__PURE__ */ jsx51(IconButton, {
11834
11866
  type: "button",
11835
11867
  onClick: function() {
11836
11868
  setSelected(selected.filter(function(s) {
@@ -11849,7 +11881,7 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
11849
11881
  return s.fixed;
11850
11882
  }).length === selected.length) && "hidden")
11851
11883
  }),
11852
- selected.length === 0 ? /* @__PURE__ */ jsx50(IconButton, {
11884
+ selected.length === 0 ? /* @__PURE__ */ jsx51(IconButton, {
11853
11885
  variant: "plain",
11854
11886
  size: "sm",
11855
11887
  icon: ChevronDown3,
@@ -11861,7 +11893,7 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
11861
11893
  ]
11862
11894
  })
11863
11895
  }),
11864
- /* @__PURE__ */ jsx50("div", {
11896
+ /* @__PURE__ */ jsx51("div", {
11865
11897
  className: "relative",
11866
11898
  onWheel: function(e) {
11867
11899
  return e.stopPropagation();
@@ -11872,7 +11904,7 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
11872
11904
  onMouseDownCapture: function(e) {
11873
11905
  return e.stopPropagation();
11874
11906
  },
11875
- children: open && /* @__PURE__ */ jsx50(CommandList, {
11907
+ children: open && /* @__PURE__ */ jsx51(CommandList, {
11876
11908
  className: "no-scrollbar text-Colors-Text-Default absolute top-1 z-10 max-h-60 w-full min-w-[8rem] rounded-sm border border-cc-Input-bg-default bg-Colors-Background-Normal-Primary-Default shadow-modal-default",
11877
11909
  onMouseLeave: function() {
11878
11910
  setOnScrollbar(false);
@@ -11893,22 +11925,22 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
11893
11925
  onMouseDownCapture: function(e) {
11894
11926
  return e.stopPropagation();
11895
11927
  },
11896
- children: isLoading ? /* @__PURE__ */ jsx50(Fragment10, {
11928
+ children: isLoading ? /* @__PURE__ */ jsx51(Fragment10, {
11897
11929
  children: loadingIndicator
11898
- }) : /* @__PURE__ */ jsxs33(Fragment10, {
11930
+ }) : /* @__PURE__ */ jsxs34(Fragment10, {
11899
11931
  children: [
11900
11932
  EmptyItem(),
11901
11933
  CreatableItem(),
11902
- !selectFirstItem && /* @__PURE__ */ jsx50(CommandItem, {
11934
+ !selectFirstItem && /* @__PURE__ */ jsx51(CommandItem, {
11903
11935
  value: "-",
11904
11936
  className: "hidden"
11905
11937
  }),
11906
11938
  Object.entries(selectables).map(function(param) {
11907
11939
  var _param = _sliced_to_array(param, 2), key = _param[0], dropdowns = _param[1];
11908
- return /* @__PURE__ */ jsx50(CommandGroup, {
11940
+ return /* @__PURE__ */ jsx51(CommandGroup, {
11909
11941
  heading: key,
11910
11942
  className: "h-full overflow-auto",
11911
- children: /* @__PURE__ */ jsx50("div", {
11943
+ children: /* @__PURE__ */ jsx51("div", {
11912
11944
  className: "flex flex-col space-y-1",
11913
11945
  onWheel: function(e) {
11914
11946
  return e.stopPropagation();
@@ -11920,7 +11952,7 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
11920
11952
  return e.stopPropagation();
11921
11953
  },
11922
11954
  children: dropdowns.map(function(option) {
11923
- return /* @__PURE__ */ jsx50(CommandItem, {
11955
+ return /* @__PURE__ */ jsx51(CommandItem, {
11924
11956
  value: option.label,
11925
11957
  disabled: option.disable,
11926
11958
  onMouseDown: function(e) {
@@ -11960,17 +11992,17 @@ MultipleSelector.displayName = "MultipleSelector";
11960
11992
  import * as SheetPrimitive from "@radix-ui/react-dialog";
11961
11993
  import { cva as cva14 } from "class-variance-authority";
11962
11994
  import { X as X3 } from "lucide-react";
11963
- import * as React39 from "react";
11964
- import { jsx as jsx51, jsxs as jsxs34 } from "react/jsx-runtime";
11995
+ import * as React40 from "react";
11996
+ import { jsx as jsx52, jsxs as jsxs35 } from "react/jsx-runtime";
11965
11997
  var Sheet = SheetPrimitive.Root;
11966
11998
  var SheetTrigger = SheetPrimitive.Trigger;
11967
11999
  var SheetClose = SheetPrimitive.Close;
11968
12000
  var SheetPortal = SheetPrimitive.Portal;
11969
- var SheetOverlay = React39.forwardRef(function(_param, ref) {
12001
+ var SheetOverlay = React40.forwardRef(function(_param, ref) {
11970
12002
  var className = _param.className, props = _object_without_properties(_param, [
11971
12003
  "className"
11972
12004
  ]);
11973
- return /* @__PURE__ */ jsx51(SheetPrimitive.Overlay, _object_spread_props(_object_spread({
12005
+ return /* @__PURE__ */ jsx52(SheetPrimitive.Overlay, _object_spread_props(_object_spread({
11974
12006
  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)
11975
12007
  }, props), {
11976
12008
  ref: ref
@@ -11990,16 +12022,16 @@ var sheetVariants = cva14("fixed z-50 gap-4 bg-white p-6 shadow-lg transition ea
11990
12022
  side: "right"
11991
12023
  }
11992
12024
  });
11993
- var SheetContent = React39.forwardRef(function(_param, ref) {
12025
+ var SheetContent = React40.forwardRef(function(_param, ref) {
11994
12026
  var _param_side = _param.side, side = _param_side === void 0 ? "right" : _param_side, className = _param.className, children = _param.children, props = _object_without_properties(_param, [
11995
12027
  "side",
11996
12028
  "className",
11997
12029
  "children"
11998
12030
  ]);
11999
- return /* @__PURE__ */ jsxs34(SheetPortal, {
12031
+ return /* @__PURE__ */ jsxs35(SheetPortal, {
12000
12032
  children: [
12001
- /* @__PURE__ */ jsx51(SheetOverlay, {}),
12002
- /* @__PURE__ */ jsxs34(SheetPrimitive.Content, _object_spread_props(_object_spread({
12033
+ /* @__PURE__ */ jsx52(SheetOverlay, {}),
12034
+ /* @__PURE__ */ jsxs35(SheetPrimitive.Content, _object_spread_props(_object_spread({
12003
12035
  ref: ref,
12004
12036
  className: cn(sheetVariants({
12005
12037
  side: side
@@ -12007,13 +12039,13 @@ var SheetContent = React39.forwardRef(function(_param, ref) {
12007
12039
  }, props), {
12008
12040
  children: [
12009
12041
  children,
12010
- /* @__PURE__ */ jsxs34(SheetPrimitive.Close, {
12042
+ /* @__PURE__ */ jsxs35(SheetPrimitive.Close, {
12011
12043
  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",
12012
12044
  children: [
12013
- /* @__PURE__ */ jsx51(X3, {
12045
+ /* @__PURE__ */ jsx52(X3, {
12014
12046
  className: "h-4 w-4"
12015
12047
  }),
12016
- /* @__PURE__ */ jsx51("span", {
12048
+ /* @__PURE__ */ jsx52("span", {
12017
12049
  className: "sr-only",
12018
12050
  children: "Close"
12019
12051
  })
@@ -12029,7 +12061,7 @@ var SheetHeader = function(_param) {
12029
12061
  var className = _param.className, props = _object_without_properties(_param, [
12030
12062
  "className"
12031
12063
  ]);
12032
- return /* @__PURE__ */ jsx51("div", _object_spread({
12064
+ return /* @__PURE__ */ jsx52("div", _object_spread({
12033
12065
  className: cn("flex flex-col space-y-2 text-center sm:text-left", className)
12034
12066
  }, props));
12035
12067
  };
@@ -12038,65 +12070,65 @@ var SheetFooter = function(_param) {
12038
12070
  var className = _param.className, props = _object_without_properties(_param, [
12039
12071
  "className"
12040
12072
  ]);
12041
- return /* @__PURE__ */ jsx51("div", _object_spread({
12073
+ return /* @__PURE__ */ jsx52("div", _object_spread({
12042
12074
  className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className)
12043
12075
  }, props));
12044
12076
  };
12045
12077
  SheetFooter.displayName = "SheetFooter";
12046
- var SheetTitle = React39.forwardRef(function(_param, ref) {
12078
+ var SheetTitle = React40.forwardRef(function(_param, ref) {
12047
12079
  var className = _param.className, props = _object_without_properties(_param, [
12048
12080
  "className"
12049
12081
  ]);
12050
- return /* @__PURE__ */ jsx51(SheetPrimitive.Title, _object_spread({
12082
+ return /* @__PURE__ */ jsx52(SheetPrimitive.Title, _object_spread({
12051
12083
  ref: ref,
12052
12084
  className: cn("text-lg font-semibold text-slate-950 dark:text-slate-50", className)
12053
12085
  }, props));
12054
12086
  });
12055
12087
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
12056
- var SheetDescription = React39.forwardRef(function(_param, ref) {
12088
+ var SheetDescription = React40.forwardRef(function(_param, ref) {
12057
12089
  var className = _param.className, props = _object_without_properties(_param, [
12058
12090
  "className"
12059
12091
  ]);
12060
- return /* @__PURE__ */ jsx51(SheetPrimitive.Description, _object_spread({
12092
+ return /* @__PURE__ */ jsx52(SheetPrimitive.Description, _object_spread({
12061
12093
  ref: ref,
12062
12094
  className: cn("text-sm text-slate-500 dark:text-slate-400", className)
12063
12095
  }, props));
12064
12096
  });
12065
12097
  SheetDescription.displayName = SheetPrimitive.Description.displayName;
12066
12098
  // src/components/skeleton.tsx
12067
- import { jsx as jsx52 } from "react/jsx-runtime";
12099
+ import { jsx as jsx53 } from "react/jsx-runtime";
12068
12100
  function Skeleton(_param) {
12069
12101
  var className = _param.className, _param_animate = _param.animate, animate = _param_animate === void 0 ? true : _param_animate, props = _object_without_properties(_param, [
12070
12102
  "className",
12071
12103
  "animate"
12072
12104
  ]);
12073
- return /* @__PURE__ */ jsx52("div", _object_spread({
12105
+ return /* @__PURE__ */ jsx53("div", _object_spread({
12074
12106
  className: cn("rounded-sm bg-Colors-Background-Normal-Secondary-Hover", className, animate && "animate-pulse")
12075
12107
  }, props));
12076
12108
  }
12077
12109
  // src/components/slider.tsx
12078
12110
  import * as SliderPrimitive from "@radix-ui/react-slider";
12079
- import * as React40 from "react";
12080
- import { jsx as jsx53, jsxs as jsxs35 } from "react/jsx-runtime";
12081
- var Slider = React40.forwardRef(function(_param, ref) {
12111
+ import * as React41 from "react";
12112
+ import { jsx as jsx54, jsxs as jsxs36 } from "react/jsx-runtime";
12113
+ var Slider = React41.forwardRef(function(_param, ref) {
12082
12114
  var className = _param.className, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, props = _object_without_properties(_param, [
12083
12115
  "className",
12084
12116
  "size"
12085
12117
  ]);
12086
- return /* @__PURE__ */ jsx53("div", {
12118
+ return /* @__PURE__ */ jsx54("div", {
12087
12119
  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 focus-visible-style file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-Colors-Text-Subtler focus-visible-style disabled:cursor-not-allowed disabled:opacity-30",
12088
- children: /* @__PURE__ */ jsxs35(SliderPrimitive.Root, _object_spread_props(_object_spread({
12120
+ children: /* @__PURE__ */ jsxs36(SliderPrimitive.Root, _object_spread_props(_object_spread({
12089
12121
  ref: ref,
12090
12122
  className: cn("relative flex w-full touch-none select-none items-center", className)
12091
12123
  }, props), {
12092
12124
  children: [
12093
- /* @__PURE__ */ jsx53(SliderPrimitive.Track, {
12125
+ /* @__PURE__ */ jsx54(SliderPrimitive.Track, {
12094
12126
  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"),
12095
- children: /* @__PURE__ */ jsx53(SliderPrimitive.Range, {
12127
+ children: /* @__PURE__ */ jsx54(SliderPrimitive.Range, {
12096
12128
  className: "absolute h-full bg-Colors-Background-Brand-Default data-[disabled]:opacity-30"
12097
12129
  })
12098
12130
  }),
12099
- /* @__PURE__ */ jsx53(SliderPrimitive.Thumb, {
12131
+ /* @__PURE__ */ jsx54(SliderPrimitive.Thumb, {
12100
12132
  className: cn("block rounded-full border-Colors-Utility-Lake-Blue-40 bg-Colors-Background-Normal-Primary-Default transition-colors focus-visible-style data-[disabled]:pointer-events-none data-[disabled]:opacity-30", size === "sm" ? "w-2 h-2 border-[1.5px]" : "w-5 h-5 border-[3px]")
12101
12133
  })
12102
12134
  ]
@@ -12104,7 +12136,7 @@ var Slider = React40.forwardRef(function(_param, ref) {
12104
12136
  });
12105
12137
  });
12106
12138
  Slider.displayName = SliderPrimitive.Root.displayName;
12107
- var SliderSingle = React40.forwardRef(function(_param, ref) {
12139
+ var SliderSingle = React41.forwardRef(function(_param, ref) {
12108
12140
  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, [
12109
12141
  "className",
12110
12142
  "containerClassName",
@@ -12118,12 +12150,12 @@ var SliderSingle = React40.forwardRef(function(_param, ref) {
12118
12150
  "onValueCommit",
12119
12151
  "settable"
12120
12152
  ]);
12121
- return /* @__PURE__ */ jsxs35("div", {
12153
+ return /* @__PURE__ */ jsxs36("div", {
12122
12154
  className: "flex w-full items-center space-x-1.5",
12123
12155
  children: [
12124
- /* @__PURE__ */ jsx53("div", {
12156
+ /* @__PURE__ */ jsx54("div", {
12125
12157
  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 focus-visible-style file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-Colors-Text-Subtler focus-visible-style disabled:cursor-not-allowed disabled:opacity-30", containerClassName),
12126
- children: /* @__PURE__ */ jsxs35(SliderPrimitive.Root, _object_spread_props(_object_spread({
12158
+ children: /* @__PURE__ */ jsxs36(SliderPrimitive.Root, _object_spread_props(_object_spread({
12127
12159
  ref: ref,
12128
12160
  className: cn("relative flex w-full touch-none select-none items-center", className),
12129
12161
  value: typeof value1 === "number" ? [
@@ -12140,21 +12172,21 @@ var SliderSingle = React40.forwardRef(function(_param, ref) {
12140
12172
  }
12141
12173
  }, props), {
12142
12174
  children: [
12143
- /* @__PURE__ */ jsx53(SliderPrimitive.Track, {
12175
+ /* @__PURE__ */ jsx54(SliderPrimitive.Track, {
12144
12176
  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),
12145
- children: /* @__PURE__ */ jsx53(SliderPrimitive.Range, {
12177
+ children: /* @__PURE__ */ jsx54(SliderPrimitive.Range, {
12146
12178
  className: cn("absolute h-full bg-Colors-Background-Brand-Default data-[disabled]:opacity-30", rangeClassName)
12147
12179
  })
12148
12180
  }),
12149
- /* @__PURE__ */ jsx53(SliderPrimitive.Thumb, {
12181
+ /* @__PURE__ */ jsx54(SliderPrimitive.Thumb, {
12150
12182
  className: cn("cursor-pointer block rounded-full border-Colors-Utility-Lake-Blue-40 bg-Colors-Background-Normal-Primary-Default transition-colors focus-visible-style 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)
12151
12183
  })
12152
12184
  ]
12153
12185
  }))
12154
12186
  }),
12155
- settable && /* @__PURE__ */ jsx53("div", {
12187
+ settable && /* @__PURE__ */ jsx54("div", {
12156
12188
  className: "flex-shrink-0 w-14 h-9 flex justify-center items-center rounded-md",
12157
- children: /* @__PURE__ */ jsx53(NumberInput, {
12189
+ children: /* @__PURE__ */ jsx54(NumberInput, {
12158
12190
  value: value1,
12159
12191
  min: props === null || props === void 0 ? void 0 : props.min,
12160
12192
  max: props === null || props === void 0 ? void 0 : props.max,
@@ -12173,7 +12205,7 @@ SliderSingle.displayName = "SliderSingle";
12173
12205
  // src/components/spinner.tsx
12174
12206
  import { cva as cva15 } from "class-variance-authority";
12175
12207
  import { LoaderCircleIcon } from "lucide-react";
12176
- import { jsx as jsx54 } from "react/jsx-runtime";
12208
+ import { jsx as jsx55 } from "react/jsx-runtime";
12177
12209
  var spinnerVariants = cva15("animate-spin", {
12178
12210
  variants: {
12179
12211
  size: {
@@ -12205,7 +12237,7 @@ var spinnerVariants = cva15("animate-spin", {
12205
12237
  });
12206
12238
  function Spinner(props) {
12207
12239
  var size = props.size, speed = props.speed, color = props.color, className = props.className;
12208
- return /* @__PURE__ */ jsx54(LoaderCircleIcon, {
12240
+ return /* @__PURE__ */ jsx55(LoaderCircleIcon, {
12209
12241
  className: cn(spinnerVariants({
12210
12242
  size: size,
12211
12243
  speed: speed,
@@ -12216,8 +12248,8 @@ function Spinner(props) {
12216
12248
  // src/components/switch.tsx
12217
12249
  import * as SwitchPrimitives from "@radix-ui/react-switch";
12218
12250
  import { cva as cva16 } from "class-variance-authority";
12219
- import * as React41 from "react";
12220
- import { jsx as jsx55, jsxs as jsxs36 } from "react/jsx-runtime";
12251
+ import * as React42 from "react";
12252
+ import { jsx as jsx56, jsxs as jsxs37 } from "react/jsx-runtime";
12221
12253
  var switchSize = {
12222
12254
  sm: "w-7 h-4",
12223
12255
  md: "w-[34px] h-5",
@@ -12313,7 +12345,7 @@ var switchThumbIconVariants = cva16("flex items-center justify-center", {
12313
12345
  }
12314
12346
  }
12315
12347
  });
12316
- var Switch = React41.forwardRef(function(_param, ref) {
12348
+ var Switch = React42.forwardRef(function(_param, ref) {
12317
12349
  var className = _param.className, size = _param.size, label = _param.label, labelClassName = _param.labelClassName, iconClassName = _param.iconClassName, vertical = _param.vertical, icon = _param.icon, props = _object_without_properties(_param, [
12318
12350
  "className",
12319
12351
  "size",
@@ -12323,25 +12355,25 @@ var Switch = React41.forwardRef(function(_param, ref) {
12323
12355
  "vertical",
12324
12356
  "icon"
12325
12357
  ]);
12326
- var Component = label ? "div" : React41.Fragment;
12358
+ var Component = label ? "div" : React42.Fragment;
12327
12359
  var componentProps = label ? {
12328
12360
  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")
12329
12361
  } : {};
12330
- return /* @__PURE__ */ jsxs36(Component, _object_spread_props(_object_spread({}, componentProps), {
12362
+ return /* @__PURE__ */ jsxs37(Component, _object_spread_props(_object_spread({}, componentProps), {
12331
12363
  children: [
12332
- /* @__PURE__ */ jsx55(SwitchPrimitives.Root, _object_spread_props(_object_spread({
12364
+ /* @__PURE__ */ jsx56(SwitchPrimitives.Root, _object_spread_props(_object_spread({
12333
12365
  className: cn(switchRootVariants({
12334
12366
  size: size,
12335
12367
  vertical: vertical
12336
12368
  }), className, vertical && "flex-col")
12337
12369
  }, props), {
12338
12370
  ref: ref,
12339
- children: /* @__PURE__ */ jsx55(SwitchPrimitives.Thumb, {
12371
+ children: /* @__PURE__ */ jsx56(SwitchPrimitives.Thumb, {
12340
12372
  className: cn(switchThumbVariants({
12341
12373
  size: size,
12342
12374
  vertical: vertical
12343
12375
  }), "flex items-center justify-center"),
12344
- children: icon && /* @__PURE__ */ jsx55(Icon, {
12376
+ children: icon && /* @__PURE__ */ jsx56(Icon, {
12345
12377
  component: icon,
12346
12378
  className: cn("text-Colors-Foreground-Static-Black", switchThumbIconVariants({
12347
12379
  size: size
@@ -12349,7 +12381,7 @@ var Switch = React41.forwardRef(function(_param, ref) {
12349
12381
  })
12350
12382
  })
12351
12383
  })),
12352
- label && /* @__PURE__ */ jsx55("span", {
12384
+ label && /* @__PURE__ */ jsx56("span", {
12353
12385
  className: cn("text-sm", labelClassName),
12354
12386
  children: label
12355
12387
  })
@@ -12360,8 +12392,8 @@ Switch.displayName = SwitchPrimitives.Root.displayName;
12360
12392
  // src/components/tabs.tsx
12361
12393
  import * as TabsPrimitive from "@radix-ui/react-tabs";
12362
12394
  import { cva as cva17 } from "class-variance-authority";
12363
- import * as React42 from "react";
12364
- import { jsx as jsx56, jsxs as jsxs37 } from "react/jsx-runtime";
12395
+ import * as React43 from "react";
12396
+ import { jsx as jsx57, jsxs as jsxs38 } from "react/jsx-runtime";
12365
12397
  var TabsRoot = TabsPrimitive.Tabs;
12366
12398
  var TabsList = TabsPrimitive.List;
12367
12399
  var TabsTrigger = TabsPrimitive.Trigger;
@@ -12510,7 +12542,7 @@ var tabVariants = cva17("relative inline-flex h-full items-center whitespace-now
12510
12542
  rounded: "default"
12511
12543
  }
12512
12544
  });
12513
- var Tabs2 = React42.forwardRef(function(_param, ref) {
12545
+ var Tabs2 = React43.forwardRef(function(_param, ref) {
12514
12546
  var className = _param.className, listClassName = _param.listClassName, listBoxClassName = _param.listBoxClassName, contentClassName = _param.contentClassName, contentBoxClassName = _param.contentBoxClassName, _param_variant = _param.variant, variant = _param_variant === void 0 ? "button" : _param_variant, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _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, [
12515
12547
  "className",
12516
12548
  "listClassName",
@@ -12523,14 +12555,14 @@ var Tabs2 = React42.forwardRef(function(_param, ref) {
12523
12555
  "rounded",
12524
12556
  "items"
12525
12557
  ]);
12526
- return /* @__PURE__ */ jsxs37(TabsPrimitive.Root, _object_spread_props(_object_spread({
12558
+ return /* @__PURE__ */ jsxs38(TabsPrimitive.Root, _object_spread_props(_object_spread({
12527
12559
  ref: ref,
12528
12560
  className: cn(className)
12529
12561
  }, props), {
12530
12562
  children: [
12531
- /* @__PURE__ */ jsx56("div", {
12563
+ /* @__PURE__ */ jsx57("div", {
12532
12564
  className: cn("w-full flex justify-start items-center", listBoxClassName),
12533
- children: /* @__PURE__ */ jsx56(TabsPrimitive.List, _object_spread_props(_object_spread({
12565
+ children: /* @__PURE__ */ jsx57(TabsPrimitive.List, _object_spread_props(_object_spread({
12534
12566
  ref: ref,
12535
12567
  className: cn(tabListVariants({
12536
12568
  variant: variant,
@@ -12539,7 +12571,7 @@ var Tabs2 = React42.forwardRef(function(_param, ref) {
12539
12571
  }), listClassName)
12540
12572
  }, props), {
12541
12573
  children: items === null || items === void 0 ? void 0 : items.map(function(item) {
12542
- return /* @__PURE__ */ jsx56(Tab, _object_spread({
12574
+ return /* @__PURE__ */ jsx57(Tab, _object_spread({
12543
12575
  isLink: isLink,
12544
12576
  variant: variant,
12545
12577
  size: size,
@@ -12548,10 +12580,10 @@ var Tabs2 = React42.forwardRef(function(_param, ref) {
12548
12580
  })
12549
12581
  }))
12550
12582
  }),
12551
- !isLink && /* @__PURE__ */ jsx56("div", {
12583
+ !isLink && /* @__PURE__ */ jsx57("div", {
12552
12584
  className: cn("w-full", contentBoxClassName),
12553
12585
  children: items === null || items === void 0 ? void 0 : items.map(function(item) {
12554
- return /* @__PURE__ */ jsx56(TabsContent, {
12586
+ return /* @__PURE__ */ jsx57(TabsContent, {
12555
12587
  value: item.value,
12556
12588
  className: contentClassName,
12557
12589
  children: item.children
@@ -12562,7 +12594,7 @@ var Tabs2 = React42.forwardRef(function(_param, ref) {
12562
12594
  }));
12563
12595
  });
12564
12596
  Tabs2.displayName = TabsPrimitive.Root.displayName;
12565
- var Tab = React42.forwardRef(function(_param, ref) {
12597
+ var Tab = React43.forwardRef(function(_param, ref) {
12566
12598
  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, [
12567
12599
  "className",
12568
12600
  "variant",
@@ -12577,10 +12609,10 @@ var Tab = React42.forwardRef(function(_param, ref) {
12577
12609
  "rounded",
12578
12610
  "onClickCallback"
12579
12611
  ]);
12580
- return /* @__PURE__ */ jsx56(Tooltip, _object_spread_props(_object_spread({
12612
+ return /* @__PURE__ */ jsx57(Tooltip, _object_spread_props(_object_spread({
12581
12613
  triggerClassName: cn("h-full flex justify-center items-center", variant === "underline" ? "w-fit justify-start items-end" : "w-full flex-1")
12582
12614
  }, tooltip), {
12583
- children: /* @__PURE__ */ jsx56(TabsPrimitive.Trigger, _object_spread_props(_object_spread({
12615
+ children: /* @__PURE__ */ jsx57(TabsPrimitive.Trigger, _object_spread_props(_object_spread({
12584
12616
  ref: ref,
12585
12617
  className: cn("tabtrigger min-w-fit outline-none focus:!outline-none focus-visible:!outline-none", tabVariants({
12586
12618
  variant: variant,
@@ -12592,7 +12624,7 @@ var Tab = React42.forwardRef(function(_param, ref) {
12592
12624
  e.stopPropagation();
12593
12625
  onClickCallback === null || onClickCallback === void 0 ? void 0 : onClickCallback(props.value);
12594
12626
  },
12595
- children: isLink && link ? /* @__PURE__ */ jsxs37(link_default, {
12627
+ children: isLink && link ? /* @__PURE__ */ jsxs38(link_default, {
12596
12628
  prefetch: true,
12597
12629
  href: link,
12598
12630
  className: cn("relative h-full w-full flex justify-center items-center"),
@@ -12603,28 +12635,28 @@ var Tab = React42.forwardRef(function(_param, ref) {
12603
12635
  },
12604
12636
  children: [
12605
12637
  label,
12606
- hasUnRead && /* @__PURE__ */ jsx56(Badge, {
12638
+ hasUnRead && /* @__PURE__ */ jsx57(Badge, {
12607
12639
  className: "-mt-2.5"
12608
12640
  })
12609
12641
  ]
12610
- }) : /* @__PURE__ */ jsxs37("div", {
12642
+ }) : /* @__PURE__ */ jsxs38("div", {
12611
12643
  className: cn("relative flex justify-center items-center", variant === "underline" && "pb-2"),
12612
12644
  children: [
12613
- label && /* @__PURE__ */ jsx56("span", {
12645
+ label && /* @__PURE__ */ jsx57("span", {
12614
12646
  className: cn("text-inherit"),
12615
12647
  children: label
12616
12648
  }),
12617
- icon && /* @__PURE__ */ jsx56(Icon, {
12649
+ icon && /* @__PURE__ */ jsx57(Icon, {
12618
12650
  component: icon,
12619
12651
  size: "md",
12620
12652
  className: "text-inherit"
12621
12653
  }),
12622
- count2 ? /* @__PURE__ */ jsx56(Text, {
12654
+ count2 ? /* @__PURE__ */ jsx57(Text, {
12623
12655
  size: "sm",
12624
12656
  className: "ml-1 text-Colors-Text-Subtlest",
12625
12657
  children: count2
12626
12658
  }) : null,
12627
- hasUnRead && /* @__PURE__ */ jsx56(Badge, {
12659
+ hasUnRead && /* @__PURE__ */ jsx57(Badge, {
12628
12660
  className: "-mt-2.5"
12629
12661
  })
12630
12662
  ]
@@ -12633,20 +12665,20 @@ var Tab = React42.forwardRef(function(_param, ref) {
12633
12665
  }));
12634
12666
  });
12635
12667
  Tab.displayName = TabsPrimitive.Trigger.displayName;
12636
- var TabsContent = React42.forwardRef(function(_param, ref) {
12668
+ var TabsContent = React43.forwardRef(function(_param, ref) {
12637
12669
  var className = _param.className, props = _object_without_properties(_param, [
12638
12670
  "className"
12639
12671
  ]);
12640
- return /* @__PURE__ */ jsx56(TabsPrimitive.Content, _object_spread({
12672
+ return /* @__PURE__ */ jsx57(TabsPrimitive.Content, _object_spread({
12641
12673
  ref: ref,
12642
12674
  className: cn("mt-2 ring-offset-background focus-visible:!outline-none focus-visible:ring-offset-0", className)
12643
12675
  }, props));
12644
12676
  });
12645
12677
  TabsContent.displayName = TabsPrimitive.Content.displayName;
12646
12678
  // src/components/textarea.tsx
12647
- import * as React43 from "react";
12648
- import { jsx as jsx57, jsxs as jsxs38 } from "react/jsx-runtime";
12649
- var Textarea = React43.forwardRef(function(_param, ref) {
12679
+ import * as React44 from "react";
12680
+ import { jsx as jsx58, jsxs as jsxs39 } from "react/jsx-runtime";
12681
+ var Textarea = React44.forwardRef(function(_param, ref) {
12650
12682
  var className = _param.className, maxLength = _param.maxLength, value1 = _param.value, error = _param.error, maxLengthClassName = _param.maxLengthClassName, props = _object_without_properties(_param, [
12651
12683
  "className",
12652
12684
  "maxLength",
@@ -12655,21 +12687,21 @@ var Textarea = React43.forwardRef(function(_param, ref) {
12655
12687
  "maxLengthClassName"
12656
12688
  ]);
12657
12689
  var _value_toString, _value_toString1;
12658
- return /* @__PURE__ */ jsxs38("div", {
12690
+ return /* @__PURE__ */ jsxs39("div", {
12659
12691
  children: [
12660
- /* @__PURE__ */ jsxs38("div", {
12692
+ /* @__PURE__ */ jsxs39("div", {
12661
12693
  className: "relative",
12662
12694
  children: [
12663
- /* @__PURE__ */ jsx57("textarea", _object_spread({
12695
+ /* @__PURE__ */ jsx58("textarea", _object_spread({
12664
12696
  className: cn("w-full min-h-[123px] p-3 rounded-sm border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Active ", "text-sm text-Colors-Text-Default placeholder:text-Colors-Text-Subtlest", "border border-transparent hover:border-cc-Input-border-default bg-cc-Input-bg-default aria-[invalid=true]:border-Colors-Border-Critical aria-[invalid=true]:hover:bg-Colors-Background-Critical-Subtle", "focus-visible-style file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-Colors-Text-Subtler", "disabled:cursor-not-allowed disabled:opacity-30", className),
12665
12697
  ref: ref,
12666
12698
  maxLength: maxLength,
12667
12699
  value: value1,
12668
12700
  "aria-invalid": 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 ? "true" : "false"
12669
12701
  }, props)),
12670
- maxLength ? /* @__PURE__ */ jsx57("div", {
12702
+ maxLength ? /* @__PURE__ */ jsx58("div", {
12671
12703
  className: cn("absolute text-right bottom-5 right-4 border-Colors-Border-Default", maxLengthClassName),
12672
- children: /* @__PURE__ */ jsx57(Text, {
12704
+ children: /* @__PURE__ */ jsx58(Text, {
12673
12705
  size: "sm",
12674
12706
  color: "subtlest",
12675
12707
  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)
@@ -12677,9 +12709,9 @@ var Textarea = React43.forwardRef(function(_param, ref) {
12677
12709
  }) : null
12678
12710
  ]
12679
12711
  }),
12680
- error && /* @__PURE__ */ jsx57("div", {
12712
+ error && /* @__PURE__ */ jsx58("div", {
12681
12713
  className: "w-full",
12682
- children: /* @__PURE__ */ jsx57(Text, {
12714
+ children: /* @__PURE__ */ jsx58(Text, {
12683
12715
  className: "text-wrap",
12684
12716
  size: "sm",
12685
12717
  weight: "regular",
@@ -12694,8 +12726,8 @@ Textarea.displayName = "Textarea";
12694
12726
  // src/components/toggle.tsx
12695
12727
  import * as TogglePrimitive from "@radix-ui/react-toggle";
12696
12728
  import { cva as cva18 } from "class-variance-authority";
12697
- import * as React44 from "react";
12698
- import { jsx as jsx58 } from "react/jsx-runtime";
12729
+ import * as React45 from "react";
12730
+ import { jsx as jsx59 } from "react/jsx-runtime";
12699
12731
  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-cc-Focus-Rings-Brand-default focus-visible:outline-none 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", {
12700
12732
  variants: {
12701
12733
  variant: {
@@ -12714,13 +12746,13 @@ var toggleVariants = cva18("inline-flex items-center justify-center rounded-sm t
12714
12746
  size: "default"
12715
12747
  }
12716
12748
  });
12717
- var Toggle = React44.forwardRef(function(_param, ref) {
12749
+ var Toggle = React45.forwardRef(function(_param, ref) {
12718
12750
  var className = _param.className, variant = _param.variant, size = _param.size, props = _object_without_properties(_param, [
12719
12751
  "className",
12720
12752
  "variant",
12721
12753
  "size"
12722
12754
  ]);
12723
- return /* @__PURE__ */ jsx58(TogglePrimitive.Root, _object_spread({
12755
+ return /* @__PURE__ */ jsx59(TogglePrimitive.Root, _object_spread({
12724
12756
  ref: ref,
12725
12757
  className: cn(toggleVariants({
12726
12758
  variant: variant,
@@ -12732,24 +12764,24 @@ var Toggle = React44.forwardRef(function(_param, ref) {
12732
12764
  Toggle.displayName = TogglePrimitive.Root.displayName;
12733
12765
  // src/components/toggle-group.tsx
12734
12766
  import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
12735
- import * as React45 from "react";
12736
- import { jsx as jsx59 } from "react/jsx-runtime";
12737
- var ToggleGroupContext = React45.createContext({
12767
+ import * as React46 from "react";
12768
+ import { jsx as jsx60 } from "react/jsx-runtime";
12769
+ var ToggleGroupContext = React46.createContext({
12738
12770
  size: "default",
12739
12771
  variant: "default"
12740
12772
  });
12741
- var ToggleGroup = React45.forwardRef(function(_param, ref) {
12773
+ var ToggleGroup = React46.forwardRef(function(_param, ref) {
12742
12774
  var className = _param.className, variant = _param.variant, size = _param.size, children = _param.children, props = _object_without_properties(_param, [
12743
12775
  "className",
12744
12776
  "variant",
12745
12777
  "size",
12746
12778
  "children"
12747
12779
  ]);
12748
- return /* @__PURE__ */ jsx59(ToggleGroupPrimitive.Root, _object_spread_props(_object_spread({
12780
+ return /* @__PURE__ */ jsx60(ToggleGroupPrimitive.Root, _object_spread_props(_object_spread({
12749
12781
  ref: ref,
12750
12782
  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)
12751
12783
  }, props), {
12752
- children: /* @__PURE__ */ jsx59(ToggleGroupContext.Provider, {
12784
+ children: /* @__PURE__ */ jsx60(ToggleGroupContext.Provider, {
12753
12785
  value: {
12754
12786
  variant: variant,
12755
12787
  size: size
@@ -12759,15 +12791,15 @@ var ToggleGroup = React45.forwardRef(function(_param, ref) {
12759
12791
  }));
12760
12792
  });
12761
12793
  ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
12762
- var ToggleGroupItem = React45.forwardRef(function(_param, ref) {
12794
+ var ToggleGroupItem = React46.forwardRef(function(_param, ref) {
12763
12795
  var className = _param.className, children = _param.children, variant = _param.variant, size = _param.size, props = _object_without_properties(_param, [
12764
12796
  "className",
12765
12797
  "children",
12766
12798
  "variant",
12767
12799
  "size"
12768
12800
  ]);
12769
- var context = React45.useContext(ToggleGroupContext);
12770
- return /* @__PURE__ */ jsx59(ToggleGroupPrimitive.Item, _object_spread_props(_object_spread({
12801
+ var context = React46.useContext(ToggleGroupContext);
12802
+ return /* @__PURE__ */ jsx60(ToggleGroupPrimitive.Item, _object_spread_props(_object_spread({
12771
12803
  ref: ref,
12772
12804
  className: cn(toggleVariants({
12773
12805
  variant: context.variant || variant,
@@ -12780,7 +12812,7 @@ var ToggleGroupItem = React45.forwardRef(function(_param, ref) {
12780
12812
  ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
12781
12813
  // src/components/chips.tsx
12782
12814
  import { cva as cva19 } from "class-variance-authority";
12783
- import { jsx as jsx60, jsxs as jsxs39 } from "react/jsx-runtime";
12815
+ import { jsx as jsx61, jsxs as jsxs40 } from "react/jsx-runtime";
12784
12816
  var chipsVariants = cva19('flex items-center justify-center text-Colors-Text-Subtle rounded-sm px-1.5 text-sm cursor-pointer focus-visible-style data-[disabled="true"]:cursor-not-allowed font-medium data-[selected="true"]:text-Colors-Text-Bolder data-[disabled="true"]:data-[selected="true"]:text-Colors-Text-Bolder data-[selected="true"]:bg-cc-Chips-Primary-bg-select data-[disabled="true"]:data-[selected="true"]:bg-cc-Chips-Primary-bg-select-disabled', {
12785
12817
  variants: {
12786
12818
  variant: {
@@ -12799,7 +12831,7 @@ var chipsVariants = cva19('flex items-center justify-center text-Colors-Text-Sub
12799
12831
  });
12800
12832
  function Chips(props) {
12801
12833
  var variant = props.variant, size = props.size, count2 = props.count, className = props.className, label = props.label, disabled = props.disabled, selected = props.selected;
12802
- return /* @__PURE__ */ jsxs39("div", {
12834
+ return /* @__PURE__ */ jsxs40("div", {
12803
12835
  "data-disabled": disabled,
12804
12836
  "data-selected": selected,
12805
12837
  className: cn(chipsVariants({
@@ -12808,7 +12840,7 @@ function Chips(props) {
12808
12840
  }), className),
12809
12841
  children: [
12810
12842
  label,
12811
- count2 && count2 > 0 ? /* @__PURE__ */ jsx60("span", {
12843
+ count2 && count2 > 0 ? /* @__PURE__ */ jsx61("span", {
12812
12844
  className: "h-full pt-0.5 ml-1 font-medium text-xs leading-[1.3]",
12813
12845
  children: count2
12814
12846
  }) : null
@@ -12817,7 +12849,7 @@ function Chips(props) {
12817
12849
  }
12818
12850
  // src/components/state.tsx
12819
12851
  import { useRouter } from "next/navigation";
12820
- import { jsx as jsx61, jsxs as jsxs40 } from "react/jsx-runtime";
12852
+ import { jsx as jsx62, jsxs as jsxs41 } from "react/jsx-runtime";
12821
12853
  var stateIconUrls = {
12822
12854
  "wallet-empty": "".concat(getAssetsUrl("image/website/20250603/wallet-empty.png")),
12823
12855
  "data-empty": "".concat(getAssetsUrl("image/website/20250603/data-list-empty.png")),
@@ -12838,37 +12870,37 @@ var State2 = function(param) {
12838
12870
  }
12839
12871
  };
12840
12872
  var IconComponent2 = icon ? function() {
12841
- return /* @__PURE__ */ jsx61(Icon, {
12873
+ return /* @__PURE__ */ jsx62(Icon, {
12842
12874
  component: icon,
12843
12875
  size: "4xl",
12844
12876
  className: cn("text-Colors-Text-Subtlest", iconClassName)
12845
12877
  });
12846
12878
  } : function() {
12847
- return /* @__PURE__ */ jsx61("div", {
12879
+ return /* @__PURE__ */ jsx62("div", {
12848
12880
  className: cn(" rounded-full object-cover", variant === "error" || variant === "no-page" || variant === "network-error" ? "w-[146px] md:w-[220px] h-[146px] md:h-[220px]" : "w-[96px] md:w-[56px] h-[96px] md:h-[56px]"),
12849
- children: /* @__PURE__ */ jsx61(Image2, {
12881
+ children: /* @__PURE__ */ jsx62(Image2, {
12850
12882
  src: logo || stateIconUrls[variant],
12851
12883
  alt: "state icon",
12852
12884
  className: cn("w-full h-full rounded-full object-cover", logoClassName)
12853
12885
  })
12854
12886
  });
12855
12887
  };
12856
- return /* @__PURE__ */ jsxs40("div", {
12888
+ return /* @__PURE__ */ jsxs41("div", {
12857
12889
  className: cn("flex flex-col items-center space-y-3", className),
12858
12890
  children: [
12859
- !hideLogo && /* @__PURE__ */ jsx61(IconComponent2, {}),
12860
- /* @__PURE__ */ jsxs40("div", {
12891
+ !hideLogo && /* @__PURE__ */ jsx62(IconComponent2, {}),
12892
+ /* @__PURE__ */ jsxs41("div", {
12861
12893
  className: "flex flex-col items-center space-y-4",
12862
12894
  children: [
12863
- /* @__PURE__ */ jsxs40("div", {
12895
+ /* @__PURE__ */ jsxs41("div", {
12864
12896
  className: "flex flex-col items-center space-y-1",
12865
12897
  children: [
12866
- title && /* @__PURE__ */ jsx61(Display, {
12898
+ title && /* @__PURE__ */ jsx62(Display, {
12867
12899
  size: "sm",
12868
12900
  className: titleClassName,
12869
12901
  children: title
12870
12902
  }),
12871
- /* @__PURE__ */ jsx61(Text, {
12903
+ /* @__PURE__ */ jsx62(Text, {
12872
12904
  size: "sm",
12873
12905
  color: backBtnText ? "subtle" : "subtlest",
12874
12906
  className: descriptionClassName,
@@ -12876,7 +12908,7 @@ var State2 = function(param) {
12876
12908
  })
12877
12909
  ]
12878
12910
  }),
12879
- backBtnText && /* @__PURE__ */ jsx61(Button, {
12911
+ backBtnText && /* @__PURE__ */ jsx62(Button, {
12880
12912
  size: "lg",
12881
12913
  onClick: handleBack,
12882
12914
  children: backBtnText
@@ -12887,46 +12919,46 @@ var State2 = function(param) {
12887
12919
  });
12888
12920
  };
12889
12921
  var ErrorState = function(args) {
12890
- return /* @__PURE__ */ jsx61(State2, _object_spread_props(_object_spread({}, args), {
12922
+ return /* @__PURE__ */ jsx62(State2, _object_spread_props(_object_spread({}, args), {
12891
12923
  variant: "error"
12892
12924
  }));
12893
12925
  };
12894
12926
  var NetworkErrorState = function(args) {
12895
- return /* @__PURE__ */ jsx61(State2, _object_spread_props(_object_spread({}, args), {
12927
+ return /* @__PURE__ */ jsx62(State2, _object_spread_props(_object_spread({}, args), {
12896
12928
  variant: "network-error"
12897
12929
  }));
12898
12930
  };
12899
12931
  var WalletEmptyState = function(args) {
12900
- return /* @__PURE__ */ jsx61(State2, _object_spread_props(_object_spread({}, args), {
12932
+ return /* @__PURE__ */ jsx62(State2, _object_spread_props(_object_spread({}, args), {
12901
12933
  variant: "wallet-empty"
12902
12934
  }));
12903
12935
  };
12904
12936
  var DataEmptyState = function(args) {
12905
- return /* @__PURE__ */ jsx61(State2, _object_spread_props(_object_spread({}, args), {
12937
+ return /* @__PURE__ */ jsx62(State2, _object_spread_props(_object_spread({}, args), {
12906
12938
  variant: "data-empty"
12907
12939
  }));
12908
12940
  };
12909
12941
  var ImgEmptyState = function(args) {
12910
- return /* @__PURE__ */ jsx61(State2, _object_spread_props(_object_spread({}, args), {
12942
+ return /* @__PURE__ */ jsx62(State2, _object_spread_props(_object_spread({}, args), {
12911
12943
  variant: "img-empty"
12912
12944
  }));
12913
12945
  };
12914
12946
  var SearchEmptyState = function(args) {
12915
- return /* @__PURE__ */ jsx61(State2, _object_spread_props(_object_spread({}, args), {
12947
+ return /* @__PURE__ */ jsx62(State2, _object_spread_props(_object_spread({}, args), {
12916
12948
  variant: "search-empty"
12917
12949
  }));
12918
12950
  };
12919
12951
  var NoPageState = function(args) {
12920
- return /* @__PURE__ */ jsx61(State2, _object_spread_props(_object_spread({}, args), {
12952
+ return /* @__PURE__ */ jsx62(State2, _object_spread_props(_object_spread({}, args), {
12921
12953
  variant: "no-page"
12922
12954
  }));
12923
12955
  };
12924
12956
  // src/components/toast/toast.tsx
12925
12957
  import * as ToastPrimitives from "@radix-ui/react-toast";
12926
12958
  import { cva as cva20 } from "class-variance-authority";
12927
- import * as React46 from "react";
12959
+ import * as React47 from "react";
12928
12960
  import { XIcon as XIcon3 } from "lucide-react";
12929
- import { jsx as jsx62 } from "react/jsx-runtime";
12961
+ import { jsx as jsx63 } from "react/jsx-runtime";
12930
12962
  var ToastProvider = ToastPrimitives.Provider;
12931
12963
  var viewportPositionVariants = cva20("fixed z-[1000001] flex max-h-screen w-max-content p-0 gap-2", {
12932
12964
  variants: {
@@ -12945,12 +12977,12 @@ var viewportPositionVariants = cva20("fixed z-[1000001] flex max-h-screen w-max-
12945
12977
  position: "top-right"
12946
12978
  }
12947
12979
  });
12948
- var ToastViewport = React46.forwardRef(function(_param, ref) {
12980
+ var ToastViewport = React47.forwardRef(function(_param, ref) {
12949
12981
  var className = _param.className, position = _param.position, props = _object_without_properties(_param, [
12950
12982
  "className",
12951
12983
  "position"
12952
12984
  ]);
12953
- return /* @__PURE__ */ jsx62(ToastPrimitives.Viewport, _object_spread({
12985
+ return /* @__PURE__ */ jsx63(ToastPrimitives.Viewport, _object_spread({
12954
12986
  ref: ref,
12955
12987
  className: cn(viewportPositionVariants({
12956
12988
  position: position
@@ -12982,13 +13014,13 @@ var toastVariants = cva20("group pointer-events-auto relative flex w-full items-
12982
13014
  position: "top-right"
12983
13015
  }
12984
13016
  });
12985
- var Toast = React46.forwardRef(function(_param, ref) {
13017
+ var Toast = React47.forwardRef(function(_param, ref) {
12986
13018
  var className = _param.className, variant = _param.variant, position = _param.position, props = _object_without_properties(_param, [
12987
13019
  "className",
12988
13020
  "variant",
12989
13021
  "position"
12990
13022
  ]);
12991
- return /* @__PURE__ */ jsx62(ToastPrimitives.Root, _object_spread({
13023
+ return /* @__PURE__ */ jsx63(ToastPrimitives.Root, _object_spread({
12992
13024
  ref: ref,
12993
13025
  className: cn(toastVariants({
12994
13026
  variant: variant,
@@ -12998,54 +13030,54 @@ var Toast = React46.forwardRef(function(_param, ref) {
12998
13030
  }, props));
12999
13031
  });
13000
13032
  Toast.displayName = ToastPrimitives.Root.displayName;
13001
- var ToastAction = React46.forwardRef(function(_param, ref) {
13033
+ var ToastAction = React47.forwardRef(function(_param, ref) {
13002
13034
  var className = _param.className, props = _object_without_properties(_param, [
13003
13035
  "className"
13004
13036
  ]);
13005
- return /* @__PURE__ */ jsx62(ToastPrimitives.Action, _object_spread({
13037
+ return /* @__PURE__ */ jsx63(ToastPrimitives.Action, _object_spread({
13006
13038
  ref: ref,
13007
13039
  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)
13008
13040
  }, props));
13009
13041
  });
13010
13042
  ToastAction.displayName = ToastPrimitives.Action.displayName;
13011
- var ToastClose = React46.forwardRef(function(_param, ref) {
13043
+ var ToastClose = React47.forwardRef(function(_param, ref) {
13012
13044
  var className = _param.className, props = _object_without_properties(_param, [
13013
13045
  "className"
13014
13046
  ]);
13015
- return /* @__PURE__ */ jsx62(ToastPrimitives.Close, _object_spread_props(_object_spread({
13047
+ return /* @__PURE__ */ jsx63(ToastPrimitives.Close, _object_spread_props(_object_spread({
13016
13048
  ref: ref,
13017
13049
  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),
13018
13050
  "toast-close": ""
13019
13051
  }, props), {
13020
- children: /* @__PURE__ */ jsx62(XIcon3, {
13052
+ children: /* @__PURE__ */ jsx63(XIcon3, {
13021
13053
  className: "h-5 w-5"
13022
13054
  })
13023
13055
  }));
13024
13056
  });
13025
13057
  ToastClose.displayName = ToastPrimitives.Close.displayName;
13026
- var ToastTitle = React46.forwardRef(function(_param, ref) {
13058
+ var ToastTitle = React47.forwardRef(function(_param, ref) {
13027
13059
  var className = _param.className, props = _object_without_properties(_param, [
13028
13060
  "className"
13029
13061
  ]);
13030
- return /* @__PURE__ */ jsx62(ToastPrimitives.Title, _object_spread({
13062
+ return /* @__PURE__ */ jsx63(ToastPrimitives.Title, _object_spread({
13031
13063
  ref: ref,
13032
13064
  className: cn("text-sm font-semibold", className)
13033
13065
  }, props));
13034
13066
  });
13035
13067
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
13036
- var ToastDescription = React46.forwardRef(function(_param, ref) {
13068
+ var ToastDescription = React47.forwardRef(function(_param, ref) {
13037
13069
  var className = _param.className, props = _object_without_properties(_param, [
13038
13070
  "className"
13039
13071
  ]);
13040
- return /* @__PURE__ */ jsx62(ToastPrimitives.Description, _object_spread({
13072
+ return /* @__PURE__ */ jsx63(ToastPrimitives.Description, _object_spread({
13041
13073
  ref: ref,
13042
13074
  className: cn("text-sm opacity-90", className)
13043
13075
  }, props));
13044
13076
  });
13045
13077
  ToastDescription.displayName = ToastPrimitives.Description.displayName;
13046
13078
  // src/components/toast/use-toast.tsx
13047
- import * as React47 from "react";
13048
- import { jsx as jsx63, jsxs as jsxs41 } from "react/jsx-runtime";
13079
+ import * as React48 from "react";
13080
+ import { jsx as jsx64, jsxs as jsxs42 } from "react/jsx-runtime";
13049
13081
  var TOAST_LIMIT = 8;
13050
13082
  var TOAST_REMOVE_DELAY = 1e3;
13051
13083
  var count = 0;
@@ -13148,10 +13180,10 @@ function toast(_param) {
13148
13180
  toast: _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, props), {
13149
13181
  position: position
13150
13182
  }), actions && {
13151
- action: /* @__PURE__ */ jsxs41("div", {
13183
+ action: /* @__PURE__ */ jsxs42("div", {
13152
13184
  className: "flex justify-start items-center gap-2",
13153
13185
  children: [
13154
- (actions === null || actions === void 0 ? void 0 : actions.dismissText) && /* @__PURE__ */ jsx63(Text, {
13186
+ (actions === null || actions === void 0 ? void 0 : actions.dismissText) && /* @__PURE__ */ jsx64(Text, {
13155
13187
  size: "sm",
13156
13188
  weight: "medium",
13157
13189
  color: "brand",
@@ -13161,13 +13193,13 @@ function toast(_param) {
13161
13193
  },
13162
13194
  children: actions === null || actions === void 0 ? void 0 : actions.dismissText
13163
13195
  }),
13164
- (actions === null || actions === void 0 ? void 0 : actions.view) && actions.viewUrl && /* @__PURE__ */ jsx63(link_default, {
13196
+ (actions === null || actions === void 0 ? void 0 : actions.view) && actions.viewUrl && /* @__PURE__ */ jsx64(link_default, {
13165
13197
  href: actions.viewUrl,
13166
13198
  target: "_blank",
13167
13199
  rel: "noreferrer noopener",
13168
- children: /* @__PURE__ */ jsx63("div", {
13200
+ children: /* @__PURE__ */ jsx64("div", {
13169
13201
  className: "flex items-center gap-1.5",
13170
- children: /* @__PURE__ */ jsx63(Text, {
13202
+ children: /* @__PURE__ */ jsx64(Text, {
13171
13203
  size: "sm",
13172
13204
  weight: "medium",
13173
13205
  color: "default",
@@ -13193,8 +13225,8 @@ function toast(_param) {
13193
13225
  };
13194
13226
  }
13195
13227
  function useToast() {
13196
- var _React47_useState = _sliced_to_array(React47.useState(memoryState), 2), state = _React47_useState[0], setState = _React47_useState[1];
13197
- React47.useEffect(function() {
13228
+ var _React48_useState = _sliced_to_array(React48.useState(memoryState), 2), state = _React48_useState[0], setState = _React48_useState[1];
13229
+ React48.useEffect(function() {
13198
13230
  listeners.push(setState);
13199
13231
  return function() {
13200
13232
  var index = listeners.indexOf(setState);
@@ -13216,13 +13248,13 @@ function useToast() {
13216
13248
  });
13217
13249
  }
13218
13250
  // src/components/toast/toaster.tsx
13219
- import React48 from "react";
13251
+ import React49 from "react";
13220
13252
  import { CircleCheckIcon as CircleCheckIcon2, CircleXIcon as CircleXIcon2, InfoIcon as InfoIcon2, TriangleAlertIcon as TriangleAlertIcon2 } from "lucide-react";
13221
- import { jsx as jsx64, jsxs as jsxs42 } from "react/jsx-runtime";
13253
+ import { jsx as jsx65, jsxs as jsxs43 } from "react/jsx-runtime";
13222
13254
  function Toaster() {
13223
13255
  var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_position = _ref.position, position = _ref_position === void 0 ? "top-right" : _ref_position;
13224
13256
  var toasts = useToast().toasts;
13225
- var positionGroups = React48.useMemo(function() {
13257
+ var positionGroups = React49.useMemo(function() {
13226
13258
  var groups = {};
13227
13259
  var allPositions = [
13228
13260
  "top-left",
@@ -13255,19 +13287,19 @@ function Toaster() {
13255
13287
  var renderIcon3 = function(variant2) {
13256
13288
  switch(variant2){
13257
13289
  case "info":
13258
- return /* @__PURE__ */ jsx64(InfoIcon2, {
13290
+ return /* @__PURE__ */ jsx65(InfoIcon2, {
13259
13291
  className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Info"
13260
13292
  });
13261
13293
  case "success":
13262
- return /* @__PURE__ */ jsx64(CircleCheckIcon2, {
13294
+ return /* @__PURE__ */ jsx65(CircleCheckIcon2, {
13263
13295
  className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Success"
13264
13296
  });
13265
13297
  case "warning":
13266
- return /* @__PURE__ */ jsx64(TriangleAlertIcon2, {
13298
+ return /* @__PURE__ */ jsx65(TriangleAlertIcon2, {
13267
13299
  className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Warning"
13268
13300
  });
13269
13301
  case "error":
13270
- return /* @__PURE__ */ jsx64(CircleXIcon2, {
13302
+ return /* @__PURE__ */ jsx65(CircleXIcon2, {
13271
13303
  className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Error"
13272
13304
  });
13273
13305
  }
@@ -13284,26 +13316,26 @@ function Toaster() {
13284
13316
  return "bg-Colors-Background-Critical-Default";
13285
13317
  }
13286
13318
  };
13287
- return /* @__PURE__ */ jsxs42(Toast, _object_spread_props(_object_spread({}, toast4), {
13319
+ return /* @__PURE__ */ jsxs43(Toast, _object_spread_props(_object_spread({}, toast4), {
13288
13320
  position: toastPosition,
13289
13321
  children: [
13290
- /* @__PURE__ */ jsx64("div", {
13322
+ /* @__PURE__ */ jsx65("div", {
13291
13323
  className: "flex flex-col gap-3",
13292
- children: /* @__PURE__ */ jsxs42("div", {
13324
+ children: /* @__PURE__ */ jsxs43("div", {
13293
13325
  className: "flex items-start gap-3",
13294
13326
  children: [
13295
- /* @__PURE__ */ jsx64("div", {
13327
+ /* @__PURE__ */ jsx65("div", {
13296
13328
  className: cn("flex h-10 w-10 flex-shrink-0 flex-grow-0 items-center justify-center rounded-full", getBackgroundColor(variant)),
13297
13329
  children: renderIcon3(variant)
13298
13330
  }),
13299
- /* @__PURE__ */ jsxs42("div", {
13331
+ /* @__PURE__ */ jsxs43("div", {
13300
13332
  className: "grid gap-1",
13301
13333
  children: [
13302
- title && /* @__PURE__ */ jsx64(ToastTitle, {
13334
+ title && /* @__PURE__ */ jsx65(ToastTitle, {
13303
13335
  className: "text-base text-Colors-Text-Default",
13304
13336
  children: title
13305
13337
  }),
13306
- description && /* @__PURE__ */ jsx64(ToastDescription, {
13338
+ description && /* @__PURE__ */ jsx65(ToastDescription, {
13307
13339
  className: "text-sm text-Colors-Text-Subtle",
13308
13340
  children: description
13309
13341
  }),
@@ -13313,17 +13345,17 @@ function Toaster() {
13313
13345
  ]
13314
13346
  })
13315
13347
  }),
13316
- /* @__PURE__ */ jsx64(ToastClose, {})
13348
+ /* @__PURE__ */ jsx65(ToastClose, {})
13317
13349
  ]
13318
13350
  }), id);
13319
13351
  };
13320
- return /* @__PURE__ */ jsx64(ToastProvider, {
13352
+ return /* @__PURE__ */ jsx65(ToastProvider, {
13321
13353
  children: Object.entries(positionGroups).map(function(param) {
13322
13354
  var _param = _sliced_to_array(param, 2), pos = _param[0], toastsForPosition = _param[1];
13323
- return /* @__PURE__ */ jsxs42(React48.Fragment, {
13355
+ return /* @__PURE__ */ jsxs43(React49.Fragment, {
13324
13356
  children: [
13325
13357
  toastsForPosition.map(renderToast),
13326
- toastsForPosition.length > 0 && /* @__PURE__ */ jsx64(ToastViewport, {
13358
+ toastsForPosition.length > 0 && /* @__PURE__ */ jsx65(ToastViewport, {
13327
13359
  position: pos
13328
13360
  })
13329
13361
  ]
@@ -13345,7 +13377,7 @@ import "swiper/css/pagination";
13345
13377
  // src/components/swiper/index.module.scss
13346
13378
  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== */';
13347
13379
  // src/components/swiper/index.tsx
13348
- import { jsx as jsx65 } from "react/jsx-runtime";
13380
+ import { jsx as jsx66 } from "react/jsx-runtime";
13349
13381
  var swiperVariants = cva21("", {
13350
13382
  variants: {
13351
13383
  rounded: {
@@ -13481,9 +13513,9 @@ function Swiper(props) {
13481
13513
  }
13482
13514
  }
13483
13515
  };
13484
- return /* @__PURE__ */ jsx65("div", {
13516
+ return /* @__PURE__ */ jsx66("div", {
13485
13517
  className: index_module_default.swiperBox,
13486
- children: /* @__PURE__ */ jsx65(SwiperComponent, _object_spread_props(_object_spread({
13518
+ children: /* @__PURE__ */ jsx66(SwiperComponent, _object_spread_props(_object_spread({
13487
13519
  observer: true,
13488
13520
  observeParents: true
13489
13521
  }, swiperConfigs), {
@@ -13493,9 +13525,9 @@ function Swiper(props) {
13493
13525
  swiperRef.current = swiper;
13494
13526
  },
13495
13527
  children: swiperList.map(function(item, index) {
13496
- return /* @__PURE__ */ jsx65(SwiperSlide, {
13528
+ return /* @__PURE__ */ jsx66(SwiperSlide, {
13497
13529
  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),
13498
- children: /* @__PURE__ */ jsx65(Com, {
13530
+ children: /* @__PURE__ */ jsx66(Com, {
13499
13531
  item: item,
13500
13532
  index: index,
13501
13533
  onClick: handleSlideItemClick,
@@ -13512,48 +13544,48 @@ function Swiper(props) {
13512
13544
  // src/components/custom-notification.tsx
13513
13545
  import { toast as toast2 } from "react-hot-toast";
13514
13546
  import { XIcon as XIcon4 } from "lucide-react";
13515
- import { Fragment as Fragment12, jsx as jsx66, jsxs as jsxs43 } from "react/jsx-runtime";
13547
+ import { Fragment as Fragment12, jsx as jsx67, jsxs as jsxs44 } from "react/jsx-runtime";
13516
13548
  function CustomNotification(param) {
13517
13549
  var tProps = param.tProps, customProps = param.customProps;
13518
13550
  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;
13519
13551
  var id = tProps.id;
13520
13552
  var displayedContent = !isString(content) ? JSON.stringify(content) : content;
13521
- return /* @__PURE__ */ jsx66("div", {
13522
- children: /* @__PURE__ */ jsx66("div", {
13553
+ return /* @__PURE__ */ jsx67("div", {
13554
+ children: /* @__PURE__ */ jsx67("div", {
13523
13555
  id: id,
13524
13556
  className: "z-[10000000] min-h-10 w-fit max-w-[90vw] rounded-full border border-Colors-Border-Opaque bg-Colors-Background-Utilities-Modal px-3 py-2 shadow-modal-default md:max-w-[560px]",
13525
- children: /* @__PURE__ */ jsxs43("div", {
13557
+ children: /* @__PURE__ */ jsxs44("div", {
13526
13558
  className: "flex w-full items-center justify-center gap-2",
13527
13559
  children: [
13528
- loading && /* @__PURE__ */ jsx66(Spinner, {}),
13529
- !loading && type && /* @__PURE__ */ jsxs43("div", {
13560
+ loading && /* @__PURE__ */ jsx67(Spinner, {}),
13561
+ !loading && type && /* @__PURE__ */ jsxs44("div", {
13530
13562
  className: "flex flex-shrink-0 items-center",
13531
13563
  children: [
13532
- type === "info" && /* @__PURE__ */ jsx66(CircleInfoIcon, {
13564
+ type === "info" && /* @__PURE__ */ jsx67(CircleInfoIcon, {
13533
13565
  className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Info"
13534
13566
  }),
13535
- type === "success" && /* @__PURE__ */ jsx66(CircleSuccessIcon, {
13567
+ type === "success" && /* @__PURE__ */ jsx67(CircleSuccessIcon, {
13536
13568
  className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Success"
13537
13569
  }),
13538
- type === "warning" && /* @__PURE__ */ jsx66(CircleWarningIcon, {
13570
+ type === "warning" && /* @__PURE__ */ jsx67(CircleWarningIcon, {
13539
13571
  className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Warning"
13540
13572
  }),
13541
- type === "error" && /* @__PURE__ */ jsx66(CircleErrorIcon, {
13573
+ type === "error" && /* @__PURE__ */ jsx67(CircleErrorIcon, {
13542
13574
  className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Error"
13543
13575
  })
13544
13576
  ]
13545
13577
  }),
13546
- /* @__PURE__ */ jsxs43("div", {
13578
+ /* @__PURE__ */ jsxs44("div", {
13547
13579
  className: "flex flex-grow flex-col space-y-1 overflow-hidden",
13548
13580
  children: [
13549
- title && /* @__PURE__ */ jsx66(Text, {
13581
+ title && /* @__PURE__ */ jsx67(Text, {
13550
13582
  size: "sm",
13551
13583
  weight: "regular",
13552
13584
  color: "default",
13553
13585
  children: title
13554
13586
  }),
13555
- /* @__PURE__ */ jsx66("div", {
13556
- children: /* @__PURE__ */ jsx66(Text, {
13587
+ /* @__PURE__ */ jsx67("div", {
13588
+ children: /* @__PURE__ */ jsx67(Text, {
13557
13589
  size: "sm",
13558
13590
  weight: "regular",
13559
13591
  color: "default",
@@ -13562,16 +13594,16 @@ function CustomNotification(param) {
13562
13594
  })
13563
13595
  ]
13564
13596
  }),
13565
- action && /* @__PURE__ */ jsxs43(Fragment12, {
13597
+ action && /* @__PURE__ */ jsxs44(Fragment12, {
13566
13598
  children: [
13567
- /* @__PURE__ */ jsx66(Separator, {
13599
+ /* @__PURE__ */ jsx67(Separator, {
13568
13600
  orientation: "vertical",
13569
13601
  className: "h-3"
13570
13602
  }),
13571
13603
  action
13572
13604
  ]
13573
13605
  }),
13574
- isClosable && /* @__PURE__ */ jsx66(IconButton, {
13606
+ isClosable && /* @__PURE__ */ jsx67(IconButton, {
13575
13607
  size: "sm",
13576
13608
  variant: "plain",
13577
13609
  icon: XIcon4,
@@ -13588,14 +13620,14 @@ function CustomNotification(param) {
13588
13620
  // src/common/hooks/useNotification.tsx
13589
13621
  import { useCallback as useCallback6 } from "react";
13590
13622
  import { toast as toast3 } from "react-hot-toast";
13591
- import { jsx as jsx67 } from "react/jsx-runtime";
13623
+ import { jsx as jsx68 } from "react/jsx-runtime";
13592
13624
  function useNotification() {
13593
13625
  var addToast = useCallback6(function(config2, duration2) {
13594
13626
  if (config2.id) {
13595
13627
  toast3.remove(config2.id);
13596
13628
  }
13597
13629
  toast3.custom(function(t) {
13598
- return /* @__PURE__ */ jsx67(CustomNotification, {
13630
+ return /* @__PURE__ */ jsx68(CustomNotification, {
13599
13631
  tProps: _object_spread_props(_object_spread({}, t), {
13600
13632
  duration: duration2
13601
13633
  }),
@@ -13656,7 +13688,7 @@ var Message = /*#__PURE__*/ function() {
13656
13688
  }
13657
13689
  var addToast = function() {
13658
13690
  toast3.custom(function(t) {
13659
- return /* @__PURE__ */ jsx67(CustomNotification, {
13691
+ return /* @__PURE__ */ jsx68(CustomNotification, {
13660
13692
  tProps: _object_spread_props(_object_spread({}, t), {
13661
13693
  duration: duration2
13662
13694
  }),
@@ -13711,7 +13743,7 @@ var Message = /*#__PURE__*/ function() {
13711
13743
  ]);
13712
13744
  return Message;
13713
13745
  }();
13714
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, CaretDownIcon, Checkbox, Chips, CircleErrorIcon, CircleInfoIcon, CircleSuccessIcon, CircleWarningIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataEmptyState, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, 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, ImgEmptyState, Input, Label3 as Label, Link, LinkButton, 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, MultipleSelector, NetworkErrorState, NoPageState, NumberInput, Paragraph, Popover, PopoverAnchor, PopoverContent, PopoverRoot, Progress, ProgressIndicator, ProgressRoot, RadioGroup4 as RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, SearchEmptyState, 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, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth }; /*! Bundled license information:
13746
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, CaretDownIcon, Checkbox, Chips, CircleErrorIcon, CircleInfoIcon, CircleSuccessIcon, CircleWarningIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataEmptyState, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, 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, ImgEmptyState, Input, Label3 as Label, Link, LinkButton, LogoIcon, 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, MultipleSelector, NetworkErrorState, NoPageState, NumberInput, Paragraph, Popover, PopoverAnchor, PopoverContent, PopoverRoot, Progress, ProgressIndicator, ProgressRoot, RadioGroup4 as RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, SearchEmptyState, 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, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth }; /*! Bundled license information:
13715
13747
 
13716
13748
  decimal.js/decimal.mjs:
13717
13749
  (*!