opsfuse-ui 0.1.16 → 0.1.17

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.
@@ -4511,68 +4511,75 @@ function Yo(e, t) {
4511
4511
  }
4512
4512
  //#endregion
4513
4513
  //#region src/lib/portaled-layer.ts
4514
- var Xo = { zIndex: "var(--z-popover)" }, Zo = ["[data-slot=\"combobox-content\"]", "[data-slot=\"combobox-positioner\"]"].join(", ");
4515
- function Qo(e) {
4516
- return e instanceof Element && !!e.closest(Zo);
4517
- }
4514
+ var Xo = { zIndex: "var(--z-popover)" }, Zo = {
4515
+ onWheel: (e) => {
4516
+ e.stopPropagation();
4517
+ },
4518
+ onTouchMove: (e) => {
4519
+ e.stopPropagation();
4520
+ }
4521
+ }, Qo = ["[data-slot=\"combobox-content\"]", "[data-slot=\"combobox-positioner\"]"].join(", ");
4518
4522
  function $o(e) {
4519
- return Qo(e.detail.originalEvent.target);
4523
+ return e instanceof Element && !!e.closest(Qo);
4520
4524
  }
4521
- function es() {
4522
- for (let e of document.querySelectorAll(Zo)) for (let t = e; t && t !== document.body; t = t.parentElement) t.getAttribute("aria-hidden") === "true" && t.removeAttribute("aria-hidden");
4525
+ function es(e) {
4526
+ return $o(e.detail.originalEvent.target);
4527
+ }
4528
+ function ts() {
4529
+ for (let e of document.querySelectorAll(Qo)) for (let t = e; t && t !== document.body; t = t.parentElement) t.getAttribute("aria-hidden") === "true" && t.removeAttribute("aria-hidden");
4523
4530
  }
4524
4531
  //#endregion
4525
4532
  //#region src/components/ui/dialog.tsx
4526
- function ts({ ...e }) {
4533
+ function ns({ ...e }) {
4527
4534
  return /* @__PURE__ */ h(mi, {
4528
4535
  "data-slot": "dialog",
4529
4536
  ...e
4530
4537
  });
4531
4538
  }
4532
- function ns({ ...e }) {
4539
+ function rs({ ...e }) {
4533
4540
  return /* @__PURE__ */ h(hi, {
4534
4541
  "data-slot": "dialog-trigger",
4535
4542
  ...e
4536
4543
  });
4537
4544
  }
4538
- function rs({ ...e }) {
4545
+ function is({ ...e }) {
4539
4546
  return /* @__PURE__ */ h(gi, {
4540
4547
  "data-slot": "dialog-portal",
4541
4548
  ...e
4542
4549
  });
4543
4550
  }
4544
- function is({ ...e }) {
4551
+ function as({ ...e }) {
4545
4552
  return /* @__PURE__ */ h(xi, {
4546
4553
  "data-slot": "dialog-close",
4547
4554
  ...e
4548
4555
  });
4549
4556
  }
4550
- function as({ className: e, ...t }) {
4557
+ function os({ className: e, ...t }) {
4551
4558
  return /* @__PURE__ */ h(_i, {
4552
4559
  "data-slot": "dialog-overlay",
4553
4560
  className: q("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0", e),
4554
4561
  ...t
4555
4562
  });
4556
4563
  }
4557
- function os({ className: e, children: t, showCloseButton: n = !0, style: i, onPointerDownOutside: a, onFocusOutside: o, onInteractOutside: c, ...l }) {
4564
+ function ss({ className: e, children: t, showCloseButton: n = !0, style: i, onPointerDownOutside: a, onFocusOutside: o, onInteractOutside: c, ...l }) {
4558
4565
  let u = Yo(), d = s.useCallback((e, t) => {
4559
- if ($o(e)) {
4566
+ if (es(e)) {
4560
4567
  e.preventDefault();
4561
4568
  return;
4562
4569
  }
4563
4570
  t?.(e);
4564
4571
  }, []);
4565
4572
  return s.useLayoutEffect(() => {
4566
- es();
4573
+ ts();
4567
4574
  let e = new MutationObserver(() => {
4568
- es();
4575
+ ts();
4569
4576
  });
4570
4577
  return e.observe(document.body, {
4571
4578
  subtree: !0,
4572
4579
  attributes: !0,
4573
4580
  attributeFilter: ["aria-hidden"]
4574
4581
  }), () => e.disconnect();
4575
- }, []), /* @__PURE__ */ g(rs, { children: [/* @__PURE__ */ h(as, {}), /* @__PURE__ */ g(vi, {
4582
+ }, []), /* @__PURE__ */ g(is, { children: [/* @__PURE__ */ h(os, {}), /* @__PURE__ */ g(vi, {
4576
4583
  "data-slot": "dialog-content",
4577
4584
  style: {
4578
4585
  ...u.style,
@@ -4598,14 +4605,14 @@ function os({ className: e, children: t, showCloseButton: n = !0, style: i, onPo
4598
4605
  })]
4599
4606
  })] });
4600
4607
  }
4601
- function ss({ className: e, ...t }) {
4608
+ function cs({ className: e, ...t }) {
4602
4609
  return /* @__PURE__ */ h("div", {
4603
4610
  "data-slot": "dialog-header",
4604
4611
  className: q("flex flex-col gap-2", e),
4605
4612
  ...t
4606
4613
  });
4607
4614
  }
4608
- function cs({ className: e, showCloseButton: t = !1, children: n, ...r }) {
4615
+ function ls({ className: e, showCloseButton: t = !1, children: n, ...r }) {
4609
4616
  return /* @__PURE__ */ g("div", {
4610
4617
  "data-slot": "dialog-footer",
4611
4618
  className: q("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
@@ -4619,38 +4626,38 @@ function cs({ className: e, showCloseButton: t = !1, children: n, ...r }) {
4619
4626
  })]
4620
4627
  });
4621
4628
  }
4622
- function ls({ className: e, ...t }) {
4629
+ function us({ className: e, ...t }) {
4623
4630
  return /* @__PURE__ */ h(yi, {
4624
4631
  "data-slot": "dialog-title",
4625
4632
  className: q("font-heading text-base leading-none font-semibold", e),
4626
4633
  ...t
4627
4634
  });
4628
4635
  }
4629
- function us({ className: e, ...t }) {
4636
+ function ds({ className: e, ...t }) {
4630
4637
  return /* @__PURE__ */ h(bi, {
4631
4638
  "data-slot": "dialog-description",
4632
4639
  className: q("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", e),
4633
4640
  ...t
4634
4641
  });
4635
4642
  }
4636
- var ds = null;
4637
- function fs(e) {
4638
- ds?.(e);
4643
+ var fs = null;
4644
+ function ps(e) {
4645
+ fs?.(e);
4639
4646
  }
4640
- function ps({ children: e }) {
4647
+ function ms({ children: e }) {
4641
4648
  let [t, n] = s.useState(null);
4642
- s.useLayoutEffect(() => (ds = (e) => n(e), () => {
4643
- ds = null;
4649
+ s.useLayoutEffect(() => (fs = (e) => n(e), () => {
4650
+ fs = null;
4644
4651
  }), []);
4645
4652
  let r = s.useCallback((e) => {
4646
4653
  e || n((e) => (e && e.onClose?.(), null));
4647
4654
  }, []);
4648
- return /* @__PURE__ */ g(m, { children: [e, t ? /* @__PURE__ */ h(ts, {
4655
+ return /* @__PURE__ */ g(m, { children: [e, t ? /* @__PURE__ */ h(ns, {
4649
4656
  open: !0,
4650
4657
  onOpenChange: r,
4651
- children: /* @__PURE__ */ g(os, {
4658
+ children: /* @__PURE__ */ g(ss, {
4652
4659
  showCloseButton: t.showCloseButton ?? !0,
4653
- children: [/* @__PURE__ */ g(ss, { children: [/* @__PURE__ */ h(ls, { children: t.title }), /* @__PURE__ */ h(us, {
4660
+ children: [/* @__PURE__ */ g(cs, { children: [/* @__PURE__ */ h(us, { children: t.title }), /* @__PURE__ */ h(ds, {
4654
4661
  className: t.description ? void 0 : "sr-only",
4655
4662
  children: t.description ?? t.title
4656
4663
  })] }), t.children]
@@ -4659,26 +4666,26 @@ function ps({ children: e }) {
4659
4666
  }
4660
4667
  //#endregion
4661
4668
  //#region node_modules/sonner/dist/index.mjs
4662
- function ms(e) {
4669
+ function hs(e) {
4663
4670
  if (!e || typeof document > "u") return;
4664
4671
  let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
4665
4672
  n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
4666
4673
  }
4667
- var hs = (e) => {
4674
+ var gs = (e) => {
4668
4675
  switch (e) {
4669
- case "success": return vs;
4670
- case "info": return bs;
4671
- case "warning": return ys;
4672
- case "error": return xs;
4676
+ case "success": return ys;
4677
+ case "info": return xs;
4678
+ case "warning": return bs;
4679
+ case "error": return Ss;
4673
4680
  default: return null;
4674
4681
  }
4675
- }, gs = Array(12).fill(0), _s = ({ visible: e, className: t }) => /*#__PURE__*/ c.createElement("div", {
4682
+ }, _s = Array(12).fill(0), vs = ({ visible: e, className: t }) => /*#__PURE__*/ c.createElement("div", {
4676
4683
  className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
4677
4684
  "data-visible": e
4678
- }, /*#__PURE__*/ c.createElement("div", { className: "sonner-spinner" }, gs.map((e, t) => /*#__PURE__*/ c.createElement("div", {
4685
+ }, /*#__PURE__*/ c.createElement("div", { className: "sonner-spinner" }, _s.map((e, t) => /*#__PURE__*/ c.createElement("div", {
4679
4686
  className: "sonner-loading-bar",
4680
4687
  key: `spinner-bar-${t}`
4681
- })))), vs = /*#__PURE__*/ c.createElement("svg", {
4688
+ })))), ys = /*#__PURE__*/ c.createElement("svg", {
4682
4689
  xmlns: "http://www.w3.org/2000/svg",
4683
4690
  viewBox: "0 0 20 20",
4684
4691
  fill: "currentColor",
@@ -4688,7 +4695,7 @@ var hs = (e) => {
4688
4695
  fillRule: "evenodd",
4689
4696
  d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
4690
4697
  clipRule: "evenodd"
4691
- })), ys = /*#__PURE__*/ c.createElement("svg", {
4698
+ })), bs = /*#__PURE__*/ c.createElement("svg", {
4692
4699
  xmlns: "http://www.w3.org/2000/svg",
4693
4700
  viewBox: "0 0 24 24",
4694
4701
  fill: "currentColor",
@@ -4698,7 +4705,7 @@ var hs = (e) => {
4698
4705
  fillRule: "evenodd",
4699
4706
  d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
4700
4707
  clipRule: "evenodd"
4701
- })), bs = /*#__PURE__*/ c.createElement("svg", {
4708
+ })), xs = /*#__PURE__*/ c.createElement("svg", {
4702
4709
  xmlns: "http://www.w3.org/2000/svg",
4703
4710
  viewBox: "0 0 20 20",
4704
4711
  fill: "currentColor",
@@ -4708,7 +4715,7 @@ var hs = (e) => {
4708
4715
  fillRule: "evenodd",
4709
4716
  d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
4710
4717
  clipRule: "evenodd"
4711
- })), xs = /*#__PURE__*/ c.createElement("svg", {
4718
+ })), Ss = /*#__PURE__*/ c.createElement("svg", {
4712
4719
  xmlns: "http://www.w3.org/2000/svg",
4713
4720
  viewBox: "0 0 20 20",
4714
4721
  fill: "currentColor",
@@ -4718,7 +4725,7 @@ var hs = (e) => {
4718
4725
  fillRule: "evenodd",
4719
4726
  d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
4720
4727
  clipRule: "evenodd"
4721
- })), Ss = /*#__PURE__*/ c.createElement("svg", {
4728
+ })), Cs = /*#__PURE__*/ c.createElement("svg", {
4722
4729
  xmlns: "http://www.w3.org/2000/svg",
4723
4730
  width: "12",
4724
4731
  height: "12",
@@ -4738,7 +4745,7 @@ var hs = (e) => {
4738
4745
  y1: "6",
4739
4746
  x2: "18",
4740
4747
  y2: "18"
4741
- })), Cs = () => {
4748
+ })), ws = () => {
4742
4749
  let [e, t] = c.useState(document.hidden);
4743
4750
  return c.useEffect(() => {
4744
4751
  let e = () => {
@@ -4746,7 +4753,7 @@ var hs = (e) => {
4746
4753
  };
4747
4754
  return document.addEventListener("visibilitychange", e), () => window.removeEventListener("visibilitychange", e);
4748
4755
  }, []), e;
4749
- }, ws = 1, $ = new class {
4756
+ }, Ts = 1, $ = new class {
4750
4757
  constructor() {
4751
4758
  this.subscribe = (e) => (this.subscribers.push(e), () => {
4752
4759
  let t = this.subscribers.indexOf(e);
@@ -4756,7 +4763,7 @@ var hs = (e) => {
4756
4763
  }, this.addToast = (e) => {
4757
4764
  this.publish(e), this.toasts = [...this.toasts, e];
4758
4765
  }, this.create = (e) => {
4759
- let { message: t, ...n } = e, r = typeof e?.id == "number" || e.id?.length > 0 ? e.id : ws++, i = this.toasts.find((e) => e.id === r), a = e.dismissible === void 0 ? !0 : e.dismissible;
4766
+ let { message: t, ...n } = e, r = typeof e?.id == "number" || e.id?.length > 0 ? e.id : Ts++, i = this.toasts.find((e) => e.id === r), a = e.dismissible === void 0 ? !0 : e.dismissible;
4760
4767
  return this.dismissedToasts.has(r) && this.dismissedToasts.delete(r), i ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({
4761
4768
  ...n,
4762
4769
  ...e,
@@ -4821,7 +4828,7 @@ var hs = (e) => {
4821
4828
  type: "default",
4822
4829
  message: e
4823
4830
  });
4824
- else if (Es(e) && !e.ok) {
4831
+ else if (Ds(e) && !e.ok) {
4825
4832
  i = !1;
4826
4833
  let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !c.isValidElement(r) ? r : { message: r };
4827
4834
  this.create({
@@ -4865,7 +4872,7 @@ var hs = (e) => {
4865
4872
  }), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));
4866
4873
  return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });
4867
4874
  }, this.custom = (e, t) => {
4868
- let n = t?.id || ws++;
4875
+ let n = t?.id || Ts++;
4869
4876
  return this.create({
4870
4877
  jsx: e(n),
4871
4878
  id: n,
@@ -4873,14 +4880,14 @@ var hs = (e) => {
4873
4880
  }), n;
4874
4881
  }, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set();
4875
4882
  }
4876
- }(), Ts = (e, t) => {
4877
- let n = t?.id || ws++;
4883
+ }(), Es = (e, t) => {
4884
+ let n = t?.id || Ts++;
4878
4885
  return $.addToast({
4879
4886
  title: e,
4880
4887
  ...t,
4881
4888
  id: n
4882
4889
  }), n;
4883
- }, Es = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", Ds = Object.assign(Ts, {
4890
+ }, Ds = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", Os = Object.assign(Es, {
4884
4891
  success: $.success,
4885
4892
  info: $.info,
4886
4893
  warning: $.warning,
@@ -4894,20 +4901,20 @@ var hs = (e) => {
4894
4901
  getHistory: () => $.toasts,
4895
4902
  getToasts: () => $.getActiveToasts()
4896
4903
  });
4897
- ms("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
4898
- function Os(e) {
4904
+ hs("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
4905
+ function ks(e) {
4899
4906
  return e.label !== void 0;
4900
4907
  }
4901
- var ks = 3, As = "24px", js = "16px", Ms = 4e3, Ns = 356, Ps = 14, Fs = 45, Is = 200;
4902
- function Ls(...e) {
4908
+ var As = 3, js = "24px", Ms = "16px", Ns = 4e3, Ps = 356, Fs = 14, Is = 45, Ls = 200;
4909
+ function Rs(...e) {
4903
4910
  return e.filter(Boolean).join(" ");
4904
4911
  }
4905
- function Rs(e) {
4912
+ function zs(e) {
4906
4913
  let [t, n] = e.split("-"), r = [];
4907
4914
  return t && r.push(t), n && r.push(n), r;
4908
4915
  }
4909
- var zs = (e) => {
4910
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: l, toasts: u, expanded: d, removeToast: f, defaultRichColors: p, closeButton: m, style: h, cancelButtonStyle: g, actionButtonStyle: _, className: v = "", descriptionClassName: y = "", duration: b, position: x, gap: S, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: ee = "Close toast" } = e, [E, D] = c.useState(null), [te, O] = c.useState(null), [k, A] = c.useState(!1), [j, M] = c.useState(!1), [N, P] = c.useState(!1), [F, ne] = c.useState(!1), [re, ie] = c.useState(!1), [I, L] = c.useState(0), [ae, oe] = c.useState(0), R = c.useRef(n.duration || b || Ms), se = c.useRef(null), z = c.useRef(null), ce = l === 0, le = l + 1 <= o, B = n.type, V = n.dismissible !== !1, ue = n.className || "", de = n.descriptionClassName || "", fe = c.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), pe = c.useMemo(() => n.closeButton ?? m, [n.closeButton, m]), me = c.useMemo(() => n.duration || b || Ms, [n.duration, b]), he = c.useRef(0), ge = c.useRef(0), _e = c.useRef(0), H = c.useRef(null), [U, ve] = x.split("-"), W = c.useMemo(() => s.reduce((e, t, n) => n >= fe ? e : e + t.height, 0), [s, fe]), ye = Cs(), be = n.invert || t, xe = B === "loading";
4916
+ var Bs = (e) => {
4917
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: l, toasts: u, expanded: d, removeToast: f, defaultRichColors: p, closeButton: m, style: h, cancelButtonStyle: g, actionButtonStyle: _, className: v = "", descriptionClassName: y = "", duration: b, position: x, gap: S, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: ee = "Close toast" } = e, [E, D] = c.useState(null), [te, O] = c.useState(null), [k, A] = c.useState(!1), [j, M] = c.useState(!1), [N, P] = c.useState(!1), [F, ne] = c.useState(!1), [re, ie] = c.useState(!1), [I, L] = c.useState(0), [ae, oe] = c.useState(0), R = c.useRef(n.duration || b || Ns), se = c.useRef(null), z = c.useRef(null), ce = l === 0, le = l + 1 <= o, B = n.type, V = n.dismissible !== !1, ue = n.className || "", de = n.descriptionClassName || "", fe = c.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), pe = c.useMemo(() => n.closeButton ?? m, [n.closeButton, m]), me = c.useMemo(() => n.duration || b || Ns, [n.duration, b]), he = c.useRef(0), ge = c.useRef(0), _e = c.useRef(0), H = c.useRef(null), [U, ve] = x.split("-"), W = c.useMemo(() => s.reduce((e, t, n) => n >= fe ? e : e + t.height, 0), [s, fe]), ye = ws(), be = n.invert || t, xe = B === "loading";
4911
4918
  ge.current = c.useMemo(() => fe * S + W, [fe, W]), c.useEffect(() => {
4912
4919
  R.current = me;
4913
4920
  }, [me]), c.useEffect(() => {
@@ -4948,7 +4955,7 @@ var zs = (e) => {
4948
4955
  let Se = c.useCallback(() => {
4949
4956
  M(!0), L(ge.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
4950
4957
  f(n);
4951
- }, Is);
4958
+ }, Ls);
4952
4959
  }, [
4953
4960
  n,
4954
4961
  f,
@@ -4979,18 +4986,18 @@ var zs = (e) => {
4979
4986
  }, [Se, n.delete]);
4980
4987
  function Ce() {
4981
4988
  return T?.loading ? /*#__PURE__*/ c.createElement("div", {
4982
- className: Ls(w?.loader, n?.classNames?.loader, "sonner-loader"),
4989
+ className: Rs(w?.loader, n?.classNames?.loader, "sonner-loader"),
4983
4990
  "data-visible": B === "loading"
4984
- }, T.loading) : /*#__PURE__*/ c.createElement(_s, {
4985
- className: Ls(w?.loader, n?.classNames?.loader),
4991
+ }, T.loading) : /*#__PURE__*/ c.createElement(vs, {
4992
+ className: Rs(w?.loader, n?.classNames?.loader),
4986
4993
  visible: B === "loading"
4987
4994
  });
4988
4995
  }
4989
- let we = n.icon || T?.[B] || hs(B);
4996
+ let we = n.icon || T?.[B] || gs(B);
4990
4997
  return /*#__PURE__*/ c.createElement("li", {
4991
4998
  tabIndex: 0,
4992
4999
  ref: z,
4993
- className: Ls(v, ue, w?.toast, n?.classNames?.toast, w?.default, w?.[B], n?.classNames?.[B]),
5000
+ className: Rs(v, ue, w?.toast, n?.classNames?.toast, w?.default, w?.[B], n?.classNames?.[B]),
4994
5001
  "data-sonner-toast": "",
4995
5002
  "data-rich-colors": n.richColors ?? p,
4996
5003
  "data-styled": !(n.jsx || n.unstyled || r),
@@ -5033,7 +5040,7 @@ var zs = (e) => {
5033
5040
  if (F || !V) return;
5034
5041
  H.current = null;
5035
5042
  let e = Number(z.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(z.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - se.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
5036
- if (Math.abs(i) >= Fs || a > .11) {
5043
+ if (Math.abs(i) >= Is || a > .11) {
5037
5044
  L(ge.current), n.onDismiss == null || n.onDismiss.call(n, n), O(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Se(), ne(!0);
5038
5045
  return;
5039
5046
  } else {
@@ -5045,7 +5052,7 @@ var zs = (e) => {
5045
5052
  onPointerMove: (t) => {
5046
5053
  var n, r;
5047
5054
  if (!H.current || !V || window.getSelection()?.toString().length > 0) return;
5048
- let i = t.clientY - H.current.y, a = t.clientX - H.current.x, o = e.swipeDirections ?? Rs(x);
5055
+ let i = t.clientY - H.current.y, a = t.clientX - H.current.x, o = e.swipeDirections ?? zs(x);
5049
5056
  !E && (Math.abs(a) > 1 || Math.abs(i) > 1) && D(Math.abs(a) > Math.abs(i) ? "x" : "y");
5050
5057
  let s = {
5051
5058
  x: 0,
@@ -5071,46 +5078,46 @@ var zs = (e) => {
5071
5078
  onClick: xe || !V ? () => {} : () => {
5072
5079
  Se(), n.onDismiss == null || n.onDismiss.call(n, n);
5073
5080
  },
5074
- className: Ls(w?.closeButton, n?.classNames?.closeButton)
5075
- }, T?.close ?? Ss) : null, (B || n.icon || n.promise) && n.icon !== null && (T?.[B] !== null || n.icon) ? /*#__PURE__*/ c.createElement("div", {
5081
+ className: Rs(w?.closeButton, n?.classNames?.closeButton)
5082
+ }, T?.close ?? Cs) : null, (B || n.icon || n.promise) && n.icon !== null && (T?.[B] !== null || n.icon) ? /*#__PURE__*/ c.createElement("div", {
5076
5083
  "data-icon": "",
5077
- className: Ls(w?.icon, n?.classNames?.icon)
5084
+ className: Rs(w?.icon, n?.classNames?.icon)
5078
5085
  }, n.promise || n.type === "loading" && !n.icon ? n.icon || Ce() : null, n.type === "loading" ? null : we) : null, /*#__PURE__*/ c.createElement("div", {
5079
5086
  "data-content": "",
5080
- className: Ls(w?.content, n?.classNames?.content)
5087
+ className: Rs(w?.content, n?.classNames?.content)
5081
5088
  }, /*#__PURE__*/ c.createElement("div", {
5082
5089
  "data-title": "",
5083
- className: Ls(w?.title, n?.classNames?.title)
5090
+ className: Rs(w?.title, n?.classNames?.title)
5084
5091
  }, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ c.createElement("div", {
5085
5092
  "data-description": "",
5086
- className: Ls(y, de, w?.description, n?.classNames?.description)
5087
- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ c.isValidElement(n.cancel) ? n.cancel : n.cancel && Os(n.cancel) ? /*#__PURE__*/ c.createElement("button", {
5093
+ className: Rs(y, de, w?.description, n?.classNames?.description)
5094
+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ c.isValidElement(n.cancel) ? n.cancel : n.cancel && ks(n.cancel) ? /*#__PURE__*/ c.createElement("button", {
5088
5095
  "data-button": !0,
5089
5096
  "data-cancel": !0,
5090
5097
  style: n.cancelButtonStyle || g,
5091
5098
  onClick: (e) => {
5092
- Os(n.cancel) && V && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Se());
5099
+ ks(n.cancel) && V && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Se());
5093
5100
  },
5094
- className: Ls(w?.cancelButton, n?.classNames?.cancelButton)
5095
- }, n.cancel.label) : null, /*#__PURE__*/ c.isValidElement(n.action) ? n.action : n.action && Os(n.action) ? /*#__PURE__*/ c.createElement("button", {
5101
+ className: Rs(w?.cancelButton, n?.classNames?.cancelButton)
5102
+ }, n.cancel.label) : null, /*#__PURE__*/ c.isValidElement(n.action) ? n.action : n.action && ks(n.action) ? /*#__PURE__*/ c.createElement("button", {
5096
5103
  "data-button": !0,
5097
5104
  "data-action": !0,
5098
5105
  style: n.actionButtonStyle || _,
5099
5106
  onClick: (e) => {
5100
- Os(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Se());
5107
+ ks(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Se());
5101
5108
  },
5102
- className: Ls(w?.actionButton, n?.classNames?.actionButton)
5109
+ className: Rs(w?.actionButton, n?.classNames?.actionButton)
5103
5110
  }, n.action.label) : null);
5104
5111
  };
5105
- function Bs() {
5112
+ function Vs() {
5106
5113
  if (typeof window > "u" || typeof document > "u") return "ltr";
5107
5114
  let e = document.documentElement.getAttribute("dir");
5108
5115
  return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
5109
5116
  }
5110
- function Vs(e, t) {
5117
+ function Hs(e, t) {
5111
5118
  let n = {};
5112
5119
  return [e, t].forEach((e, t) => {
5113
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? js : As;
5120
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Ms : js;
5114
5121
  function o(e) {
5115
5122
  [
5116
5123
  "top",
@@ -5131,8 +5138,8 @@ function Vs(e, t) {
5131
5138
  }) : o(a);
5132
5139
  }), n;
5133
5140
  }
5134
- var Hs = /*#__PURE__*/ c.forwardRef(function(e, t) {
5135
- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: l, offset: u, mobileOffset: d, theme: f = "light", richColors: m, duration: h, style: g, visibleToasts: _ = ks, toastOptions: v, dir: y = Bs(), gap: b = Ps, icons: x, containerAriaLabel: S = "Notifications" } = e, [C, w] = c.useState([]), T = c.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), ee = c.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [E, D] = c.useState([]), [te, O] = c.useState(!1), [k, A] = c.useState(!1), [j, M] = c.useState(f === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : f), N = c.useRef(null), P = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), F = c.useRef(null), ne = c.useRef(!1), re = c.useCallback((e) => {
5141
+ var Us = /*#__PURE__*/ c.forwardRef(function(e, t) {
5142
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: l, offset: u, mobileOffset: d, theme: f = "light", richColors: m, duration: h, style: g, visibleToasts: _ = As, toastOptions: v, dir: y = Vs(), gap: b = Fs, icons: x, containerAriaLabel: S = "Notifications" } = e, [C, w] = c.useState([]), T = c.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), ee = c.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [E, D] = c.useState([]), [te, O] = c.useState(!1), [k, A] = c.useState(!1), [j, M] = c.useState(f === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : f), N = c.useRef(null), P = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), F = c.useRef(null), ne = c.useRef(!1), re = c.useCallback((e) => {
5136
5143
  w((t) => (t.find((t) => t.id === e.id)?.delete || $.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
5137
5144
  }, []);
5138
5145
  return c.useEffect(() => $.subscribe((e) => {
@@ -5207,7 +5214,7 @@ var Hs = /*#__PURE__*/ c.forwardRef(function(e, t) {
5207
5214
  let [i, a] = t.split("-");
5208
5215
  return T.length ? /*#__PURE__*/ c.createElement("ol", {
5209
5216
  key: t,
5210
- dir: y === "auto" ? Bs() : y,
5217
+ dir: y === "auto" ? Vs() : y,
5211
5218
  tabIndex: -1,
5212
5219
  ref: N,
5213
5220
  className: l,
@@ -5217,10 +5224,10 @@ var Hs = /*#__PURE__*/ c.forwardRef(function(e, t) {
5217
5224
  "data-x-position": a,
5218
5225
  style: {
5219
5226
  "--front-toast-height": `${E[0]?.height || 0}px`,
5220
- "--width": `${Ns}px`,
5227
+ "--width": `${Ps}px`,
5221
5228
  "--gap": `${b}px`,
5222
5229
  ...g,
5223
- ...Vs(u, d)
5230
+ ...Hs(u, d)
5224
5231
  },
5225
5232
  onBlur: (e) => {
5226
5233
  ne.current && !e.currentTarget.contains(e.relatedTarget) && (ne.current = !1, F.current &&= (F.current.focus({ preventScroll: !0 }), null));
@@ -5238,7 +5245,7 @@ var Hs = /*#__PURE__*/ c.forwardRef(function(e, t) {
5238
5245
  e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || A(!0);
5239
5246
  },
5240
5247
  onPointerUp: () => A(!1)
5241
- }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ c.createElement(zs, {
5248
+ }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ c.createElement(Bs, {
5242
5249
  key: n.id,
5243
5250
  icons: x,
5244
5251
  index: i,
@@ -5268,9 +5275,9 @@ var Hs = /*#__PURE__*/ c.forwardRef(function(e, t) {
5268
5275
  swipeDirections: e.swipeDirections
5269
5276
  }))) : null;
5270
5277
  }));
5271
- }), Us = ({ style: r, className: o, ...s }) => {
5278
+ }), Ws = ({ style: r, className: o, ...s }) => {
5272
5279
  let c = Ko(), l = Vo(), u = Jo(c, l);
5273
- return /* @__PURE__ */ h(Hs, {
5280
+ return /* @__PURE__ */ h(Us, {
5274
5281
  theme: l ? "dark" : "light",
5275
5282
  className: q("toaster group", u.className, o),
5276
5283
  icons: {
@@ -5294,7 +5301,7 @@ var Hs = /*#__PURE__*/ c.forwardRef(function(e, t) {
5294
5301
  };
5295
5302
  //#endregion
5296
5303
  //#region src/components/ui/label.tsx
5297
- function Ws({ className: e, ...t }) {
5304
+ function Gs({ className: e, ...t }) {
5298
5305
  return /* @__PURE__ */ h(Po, {
5299
5306
  "data-slot": "label",
5300
5307
  className: q("flex items-center text-foreground gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
@@ -5303,12 +5310,12 @@ function Ws({ className: e, ...t }) {
5303
5310
  }
5304
5311
  //#endregion
5305
5312
  //#region src/components/ui/input.tsx
5306
- function Gs({ className: e, type: t, error: n = !1, label: r, helperText: i, startIcon: a, endIcon: o, appearance: s = "default", ...c }) {
5313
+ function Ks({ className: e, type: t, error: n = !1, label: r, helperText: i, startIcon: a, endIcon: o, appearance: s = "default", ...c }) {
5307
5314
  let u = a ? l(a, { className: q("stroke-text-input-placeholder") }) : null, d = o ? l(o, { className: q("stroke-text-input-placeholder") }) : null;
5308
5315
  return /* @__PURE__ */ g("div", {
5309
5316
  className: "w-full flex flex-col gap-2 h-fit ",
5310
5317
  children: [
5311
- !!r && /* @__PURE__ */ h(Ws, { children: r }),
5318
+ !!r && /* @__PURE__ */ h(Gs, { children: r }),
5312
5319
  /* @__PURE__ */ g("div", {
5313
5320
  className: "w-full relative",
5314
5321
  children: [
@@ -5339,11 +5346,11 @@ function Gs({ className: e, type: t, error: n = !1, label: r, helperText: i, sta
5339
5346
  }
5340
5347
  //#endregion
5341
5348
  //#region src/components/ui/textarea.tsx
5342
- function Ks({ className: e, error: t = !1, label: n, helperText: r, ...i }) {
5349
+ function qs({ className: e, error: t = !1, label: n, helperText: r, ...i }) {
5343
5350
  return /* @__PURE__ */ g("div", {
5344
5351
  className: "w-full flex flex-col gap-2",
5345
5352
  children: [
5346
- n && /* @__PURE__ */ h(Ws, { children: n }),
5353
+ n && /* @__PURE__ */ h(Gs, { children: n }),
5347
5354
  /* @__PURE__ */ h("textarea", {
5348
5355
  "data-slot": "textarea",
5349
5356
  className: q("flex-1 border-input placeholder:text-text-disabled focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", e),
@@ -5358,7 +5365,7 @@ function Ks({ className: e, error: t = !1, label: n, helperText: r, ...i }) {
5358
5365
  }
5359
5366
  //#endregion
5360
5367
  //#region src/components/ui/input-group.tsx
5361
- function qs({ className: e, ...t }) {
5368
+ function Js({ className: e, ...t }) {
5362
5369
  return /* @__PURE__ */ h("div", {
5363
5370
  "data-slot": "input-group",
5364
5371
  role: "group",
@@ -5366,7 +5373,7 @@ function qs({ className: e, ...t }) {
5366
5373
  ...t
5367
5374
  });
5368
5375
  }
5369
- var Js = et("flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4", {
5376
+ var Ys = et("flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4", {
5370
5377
  variants: { align: {
5371
5378
  "inline-start": "order-first pl-2 has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem]",
5372
5379
  "inline-end": "order-last pr-2 has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem]",
@@ -5375,19 +5382,19 @@ var Js = et("flex h-auto cursor-text items-center justify-center gap-2 py-1.5 te
5375
5382
  } },
5376
5383
  defaultVariants: { align: "inline-start" }
5377
5384
  });
5378
- function Ys({ className: e, align: t = "inline-start", ...n }) {
5385
+ function Xs({ className: e, align: t = "inline-start", ...n }) {
5379
5386
  return /* @__PURE__ */ h("div", {
5380
5387
  role: "group",
5381
5388
  "data-slot": "input-group-addon",
5382
5389
  "data-align": t,
5383
- className: q(Js({ align: t }), e),
5390
+ className: q(Ys({ align: t }), e),
5384
5391
  onClick: (e) => {
5385
5392
  e.target.closest("button") || e.currentTarget.parentElement?.querySelector("input")?.focus();
5386
5393
  },
5387
5394
  ...n
5388
5395
  });
5389
5396
  }
5390
- var Xs = et("flex items-center gap-2 text-sm shadow-none", {
5397
+ var Zs = et("flex items-center gap-2 text-sm shadow-none", {
5391
5398
  variants: { size: {
5392
5399
  xs: "h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",
5393
5400
  sm: "",
@@ -5396,34 +5403,34 @@ var Xs = et("flex items-center gap-2 text-sm shadow-none", {
5396
5403
  } },
5397
5404
  defaultVariants: { size: "xs" }
5398
5405
  });
5399
- function Zs({ className: e, type: t = "button", variant: n = "ghost", size: r = "xs", ...i }) {
5406
+ function Qs({ className: e, type: t = "button", variant: n = "ghost", size: r = "xs", ...i }) {
5400
5407
  return /* @__PURE__ */ h(Lo, {
5401
5408
  type: t,
5402
5409
  "data-size": r,
5403
5410
  variant: n,
5404
- className: q(Xs({ size: r }), e),
5411
+ className: q(Zs({ size: r }), e),
5405
5412
  ...i
5406
5413
  });
5407
5414
  }
5408
- function Qs({ className: e, ...t }) {
5415
+ function $s({ className: e, ...t }) {
5409
5416
  return /* @__PURE__ */ h("span", {
5410
5417
  className: q("flex items-center gap-2 text-sm text-muted-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4", e),
5411
5418
  ...t
5412
5419
  });
5413
5420
  }
5414
- function $s({ className: e, ...t }) {
5415
- return /* @__PURE__ */ h(Gs, {
5421
+ function ec({ className: e, ...t }) {
5422
+ return /* @__PURE__ */ h(Ks, {
5416
5423
  "data-slot": "input-group-control",
5417
5424
  className: q("flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent", e),
5418
5425
  ...t
5419
5426
  });
5420
5427
  }
5421
- function ec({ className: e, ...t }) {
5422
- return /* @__PURE__ */ h(Ks, {
5428
+ function tc({ className: e, ...t }) {
5429
+ return /* @__PURE__ */ h(qs, {
5423
5430
  "data-slot": "input-group-control",
5424
5431
  className: q("flex-1 resize-none rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent", e),
5425
5432
  ...t
5426
5433
  });
5427
5434
  }
5428
5435
  //#endregion
5429
- export { Ea as $, Yo as A, jt as At, ko as B, nt as Bt, fs as C, Pr as Ct, Jo as D, Zt as Dt, Go as E, fn as Et, Lo as F, ht as Ft, So as G, wo as H, et as Ht, Io as I, pt as It, da as J, so as K, Fo as L, at as Lt, Bo as M, St as Mt, zo as N, vt as Nt, qo as O, zt as Ot, Ro as P, gt as Pt, ma as Q, Ao as R, it as Rt, ns as S, Lr as St, Uo as T, hn as Tt, To as U, q as Ut, Eo as V, rt as Vt, Oo as W, X, Oa as Y, Z, ss as _, gi as _t, Qs as a, ki as at, ps as b, hi as bt, Gs as c, Fi as ct, Ds as d, Ai as dt, pa as et, ts as f, Pi as ft, cs as g, _i as gt, us as h, bi as ht, $s as i, Oi as it, Ho as j, Ot as jt, Ko as k, Vt as kt, Ws as l, Ni as lt, os as m, vi as mt, Ys as n, ha as nt, ec as o, Ti as ot, is as p, xi as pt, Q as q, Zs as r, Ta as rt, Ks as s, ji as st, qs as t, ga as tt, Us as u, qi as ut, as as v, mi as vt, Xo as w, Tr as wt, ls as x, li as xt, rs as y, yi as yt, Do as z, ct as zt };
5436
+ export { ma as $, Ko as A, Vt as At, Do as B, ct as Bt, ps as C, Lr as Ct, Go as D, fn as Dt, Uo as E, hn as Et, Ro as F, gt as Ft, Oo as G, Eo as H, rt as Ht, Lo as I, ht as It, Q as J, So as K, Io as L, pt as Lt, Ho as M, Ot as Mt, Bo as N, St as Nt, Jo as O, Zt as Ot, zo as P, vt as Pt, Z as Q, Fo as R, at as Rt, rs as S, li as St, Xo as T, Tr as Tt, wo as U, et as Ut, ko as V, nt as Vt, To as W, q as Wt, Oa as X, da as Y, X as Z, cs as _, _i as _t, $s as a, Oi as at, ms as b, yi as bt, Ks as c, ji as ct, Os as d, qi as dt, Ea as et, ns as f, Ai as ft, ls as g, bi as gt, ds as h, vi as ht, ec as i, Ta as it, Yo as j, jt, qo as k, zt as kt, Gs as l, Fi as lt, ss as m, xi as mt, Xs as n, ga as nt, tc as o, ki as ot, as as p, Pi as pt, so as q, Qs as r, ha as rt, qs as s, Ti as st, Js as t, pa as tt, Ws as u, Ni as ut, os as v, gi as vt, Zo as w, Pr as wt, us as x, hi as xt, is as y, mi as yt, Ao as z, it as zt };