@zerodev/react-ui 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -346,7 +346,7 @@ const vr = (e, t) => {
346
346
  repeat: ["", "x", "y", "space", "round"]
347
347
  }], Oe = () => ["auto", "cover", "contain", o3, Jr, {
348
348
  size: [M, k]
349
- }], fe = () => [c2, pt, Ie], ee = () => [
349
+ }], fe = () => [c2, pt, Ie], te = () => [
350
350
  // Deprecated since Tailwind CSS v4.0.0
351
351
  "",
352
352
  "none",
@@ -354,7 +354,7 @@ const vr = (e, t) => {
354
354
  d,
355
355
  M,
356
356
  k
357
- ], q = () => ["", B, pt, Ie], N = () => ["solid", "dashed", "dotted", "double"], K = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], I = () => [B, c2, u1, d1], Y = () => [
357
+ ], $ = () => ["", B, pt, Ie], N = () => ["solid", "dashed", "dotted", "double"], K = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], I = () => [B, c2, u1, d1], Y = () => [
358
358
  // Deprecated since Tailwind CSS v4.0.0
359
359
  "",
360
360
  "none",
@@ -1521,189 +1521,189 @@ const vr = (e, t) => {
1521
1521
  * @see https://tailwindcss.com/docs/border-radius
1522
1522
  */
1523
1523
  rounded: [{
1524
- rounded: ee()
1524
+ rounded: te()
1525
1525
  }],
1526
1526
  /**
1527
1527
  * Border Radius Start
1528
1528
  * @see https://tailwindcss.com/docs/border-radius
1529
1529
  */
1530
1530
  "rounded-s": [{
1531
- "rounded-s": ee()
1531
+ "rounded-s": te()
1532
1532
  }],
1533
1533
  /**
1534
1534
  * Border Radius End
1535
1535
  * @see https://tailwindcss.com/docs/border-radius
1536
1536
  */
1537
1537
  "rounded-e": [{
1538
- "rounded-e": ee()
1538
+ "rounded-e": te()
1539
1539
  }],
1540
1540
  /**
1541
1541
  * Border Radius Top
1542
1542
  * @see https://tailwindcss.com/docs/border-radius
1543
1543
  */
1544
1544
  "rounded-t": [{
1545
- "rounded-t": ee()
1545
+ "rounded-t": te()
1546
1546
  }],
1547
1547
  /**
1548
1548
  * Border Radius Right
1549
1549
  * @see https://tailwindcss.com/docs/border-radius
1550
1550
  */
1551
1551
  "rounded-r": [{
1552
- "rounded-r": ee()
1552
+ "rounded-r": te()
1553
1553
  }],
1554
1554
  /**
1555
1555
  * Border Radius Bottom
1556
1556
  * @see https://tailwindcss.com/docs/border-radius
1557
1557
  */
1558
1558
  "rounded-b": [{
1559
- "rounded-b": ee()
1559
+ "rounded-b": te()
1560
1560
  }],
1561
1561
  /**
1562
1562
  * Border Radius Left
1563
1563
  * @see https://tailwindcss.com/docs/border-radius
1564
1564
  */
1565
1565
  "rounded-l": [{
1566
- "rounded-l": ee()
1566
+ "rounded-l": te()
1567
1567
  }],
1568
1568
  /**
1569
1569
  * Border Radius Start Start
1570
1570
  * @see https://tailwindcss.com/docs/border-radius
1571
1571
  */
1572
1572
  "rounded-ss": [{
1573
- "rounded-ss": ee()
1573
+ "rounded-ss": te()
1574
1574
  }],
1575
1575
  /**
1576
1576
  * Border Radius Start End
1577
1577
  * @see https://tailwindcss.com/docs/border-radius
1578
1578
  */
1579
1579
  "rounded-se": [{
1580
- "rounded-se": ee()
1580
+ "rounded-se": te()
1581
1581
  }],
1582
1582
  /**
1583
1583
  * Border Radius End End
1584
1584
  * @see https://tailwindcss.com/docs/border-radius
1585
1585
  */
1586
1586
  "rounded-ee": [{
1587
- "rounded-ee": ee()
1587
+ "rounded-ee": te()
1588
1588
  }],
1589
1589
  /**
1590
1590
  * Border Radius End Start
1591
1591
  * @see https://tailwindcss.com/docs/border-radius
1592
1592
  */
1593
1593
  "rounded-es": [{
1594
- "rounded-es": ee()
1594
+ "rounded-es": te()
1595
1595
  }],
1596
1596
  /**
1597
1597
  * Border Radius Top Left
1598
1598
  * @see https://tailwindcss.com/docs/border-radius
1599
1599
  */
1600
1600
  "rounded-tl": [{
1601
- "rounded-tl": ee()
1601
+ "rounded-tl": te()
1602
1602
  }],
1603
1603
  /**
1604
1604
  * Border Radius Top Right
1605
1605
  * @see https://tailwindcss.com/docs/border-radius
1606
1606
  */
1607
1607
  "rounded-tr": [{
1608
- "rounded-tr": ee()
1608
+ "rounded-tr": te()
1609
1609
  }],
1610
1610
  /**
1611
1611
  * Border Radius Bottom Right
1612
1612
  * @see https://tailwindcss.com/docs/border-radius
1613
1613
  */
1614
1614
  "rounded-br": [{
1615
- "rounded-br": ee()
1615
+ "rounded-br": te()
1616
1616
  }],
1617
1617
  /**
1618
1618
  * Border Radius Bottom Left
1619
1619
  * @see https://tailwindcss.com/docs/border-radius
1620
1620
  */
1621
1621
  "rounded-bl": [{
1622
- "rounded-bl": ee()
1622
+ "rounded-bl": te()
1623
1623
  }],
1624
1624
  /**
1625
1625
  * Border Width
1626
1626
  * @see https://tailwindcss.com/docs/border-width
1627
1627
  */
1628
1628
  "border-w": [{
1629
- border: q()
1629
+ border: $()
1630
1630
  }],
1631
1631
  /**
1632
1632
  * Border Width Inline
1633
1633
  * @see https://tailwindcss.com/docs/border-width
1634
1634
  */
1635
1635
  "border-w-x": [{
1636
- "border-x": q()
1636
+ "border-x": $()
1637
1637
  }],
1638
1638
  /**
1639
1639
  * Border Width Block
1640
1640
  * @see https://tailwindcss.com/docs/border-width
1641
1641
  */
1642
1642
  "border-w-y": [{
1643
- "border-y": q()
1643
+ "border-y": $()
1644
1644
  }],
1645
1645
  /**
1646
1646
  * Border Width Inline Start
1647
1647
  * @see https://tailwindcss.com/docs/border-width
1648
1648
  */
1649
1649
  "border-w-s": [{
1650
- "border-s": q()
1650
+ "border-s": $()
1651
1651
  }],
1652
1652
  /**
1653
1653
  * Border Width Inline End
1654
1654
  * @see https://tailwindcss.com/docs/border-width
1655
1655
  */
1656
1656
  "border-w-e": [{
1657
- "border-e": q()
1657
+ "border-e": $()
1658
1658
  }],
1659
1659
  /**
1660
1660
  * Border Width Block Start
1661
1661
  * @see https://tailwindcss.com/docs/border-width
1662
1662
  */
1663
1663
  "border-w-bs": [{
1664
- "border-bs": q()
1664
+ "border-bs": $()
1665
1665
  }],
1666
1666
  /**
1667
1667
  * Border Width Block End
1668
1668
  * @see https://tailwindcss.com/docs/border-width
1669
1669
  */
1670
1670
  "border-w-be": [{
1671
- "border-be": q()
1671
+ "border-be": $()
1672
1672
  }],
1673
1673
  /**
1674
1674
  * Border Width Top
1675
1675
  * @see https://tailwindcss.com/docs/border-width
1676
1676
  */
1677
1677
  "border-w-t": [{
1678
- "border-t": q()
1678
+ "border-t": $()
1679
1679
  }],
1680
1680
  /**
1681
1681
  * Border Width Right
1682
1682
  * @see https://tailwindcss.com/docs/border-width
1683
1683
  */
1684
1684
  "border-w-r": [{
1685
- "border-r": q()
1685
+ "border-r": $()
1686
1686
  }],
1687
1687
  /**
1688
1688
  * Border Width Bottom
1689
1689
  * @see https://tailwindcss.com/docs/border-width
1690
1690
  */
1691
1691
  "border-w-b": [{
1692
- "border-b": q()
1692
+ "border-b": $()
1693
1693
  }],
1694
1694
  /**
1695
1695
  * Border Width Left
1696
1696
  * @see https://tailwindcss.com/docs/border-width
1697
1697
  */
1698
1698
  "border-w-l": [{
1699
- "border-l": q()
1699
+ "border-l": $()
1700
1700
  }],
1701
1701
  /**
1702
1702
  * Divide Width X
1703
1703
  * @see https://tailwindcss.com/docs/border-width#between-children
1704
1704
  */
1705
1705
  "divide-x": [{
1706
- "divide-x": q()
1706
+ "divide-x": $()
1707
1707
  }],
1708
1708
  /**
1709
1709
  * Divide Width X Reverse
@@ -1715,7 +1715,7 @@ const vr = (e, t) => {
1715
1715
  * @see https://tailwindcss.com/docs/border-width#between-children
1716
1716
  */
1717
1717
  "divide-y": [{
1718
- "divide-y": q()
1718
+ "divide-y": $()
1719
1719
  }],
1720
1720
  /**
1721
1721
  * Divide Width Y Reverse
@@ -1891,7 +1891,7 @@ const vr = (e, t) => {
1891
1891
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1892
1892
  */
1893
1893
  "ring-w": [{
1894
- ring: q()
1894
+ ring: $()
1895
1895
  }],
1896
1896
  /**
1897
1897
  * Ring Width Inset
@@ -1930,7 +1930,7 @@ const vr = (e, t) => {
1930
1930
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1931
1931
  */
1932
1932
  "inset-ring-w": [{
1933
- "inset-ring": q()
1933
+ "inset-ring": $()
1934
1934
  }],
1935
1935
  /**
1936
1936
  * Inset Ring Color
@@ -3172,7 +3172,7 @@ const d3 = (e) => /* @__PURE__ */ r.createElement("svg", { width: 32, height: 32
3172
3172
  }, Symbol.toStringTag, { value: "Module" })), Z6 = (e) => /* @__PURE__ */ r.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ r.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.66667 9.33333C6.66667 7.86057 7.86057 6.66667 9.33333 6.66667H22.6667C24.1394 6.66667 25.3333 7.86057 25.3333 9.33333V18.9028C26.8274 20.4762 28 22.6667 28 22.6667V9.33333C28 6.38781 25.6122 4 22.6667 4H9.33333C6.38781 4 4 6.38781 4 9.33333V22.6667C4.48971 21.3312 5.47405 19.0324 6.66667 17.0504V9.33333Z", fill: "currentColor", opacity: 0.4 }), /* @__PURE__ */ r.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M20.6667 13.3334C21.7712 13.3334 22.6667 12.4379 22.6667 11.3334C22.6667 10.2288 21.7712 9.33337 20.6667 9.33337C19.5621 9.33337 18.6667 10.2288 18.6667 11.3334C18.6667 12.4379 19.5621 13.3334 20.6667 13.3334ZM10.6667 13.3334C8 13.3334 4.98976 19.9675 4 22.6667C4 25.6122 6.38617 28 9.33169 28H22.6687C25.6142 28 28 25.6122 28 22.6667C28 22.6667 25.1449 17.3334 22.6687 17.3334C21.0976 17.3334 19.5819 18.9515 18.7606 20.206C18.708 20.2864 18.6587 20.368 18.61 20.4486C18.3335 20.9063 18.0754 21.3334 17.3334 21.3334C16.4608 21.3334 16.1996 20.7007 15.942 20.0289C14.6696 16.711 12.6667 13.3334 10.6667 13.3334Z", fill: "currentColor" })), F6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3173
3173
  __proto__: null,
3174
3174
  default: Z6
3175
- }, Symbol.toStringTag, { value: "Module" })), W6 = (e) => /* @__PURE__ */ r.createElement("svg", { width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ r.createElement("g", { id: "Info" }, /* @__PURE__ */ r.createElement("g", { id: "Vector" }), /* @__PURE__ */ r.createElement("path", { id: "Vector_2", d: "M7 12.25C9.89949 12.25 12.25 9.89949 12.25 7C12.25 4.1005 9.89949 1.75 7 1.75C4.1005 1.75 1.75 4.1005 1.75 7C1.75 9.89949 4.1005 12.25 7 12.25Z", stroke: "currentColor", strokeWidth: 0.703125, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ r.createElement("path", { id: "Vector_3", d: "M6.5625 6.5625H7.00005L7 9.625H7.4375", stroke: "currentColor", strokeWidth: 0.703125, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ r.createElement("path", { id: "Vector_4", d: "M7 5.14062C7.30203 5.14062 7.54687 4.89578 7.54687 4.59375C7.54687 4.29172 7.30203 4.04687 7 4.04687C6.69797 4.04687 6.45312 4.29172 6.45312 4.59375C6.45312 4.89578 6.69797 5.14062 7 5.14062Z", fill: "currentColor" }))), G6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3175
+ }, Symbol.toStringTag, { value: "Module" })), W6 = (e) => /* @__PURE__ */ r.createElement("svg", { width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ r.createElement("g", { id: "Info", transform: "rotate(180 7 7)" }, /* @__PURE__ */ r.createElement("g", { id: "Vector" }), /* @__PURE__ */ r.createElement("path", { id: "Vector_2", d: "M7 12.25C9.89949 12.25 12.25 9.89949 12.25 7C12.25 4.1005 9.89949 1.75 7 1.75C4.1005 1.75 1.75 4.1005 1.75 7C1.75 9.89949 4.1005 12.25 7 12.25Z", stroke: "currentColor", strokeWidth: 0.703125, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ r.createElement("path", { id: "Vector_3", d: "M6.5625 6.5625H7.00005L7 9.625H7.4375", stroke: "currentColor", strokeWidth: 0.703125, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ r.createElement("path", { id: "Vector_4", d: "M7 5.14062C7.30203 5.14062 7.54687 4.89578 7.54687 4.59375C7.54687 4.29172 7.30203 4.04687 7 4.04687C6.69797 4.04687 6.45312 4.29172 6.45312 4.59375C6.45312 4.89578 6.69797 5.14062 7 5.14062Z", fill: "currentColor" }))), G6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3176
3176
  __proto__: null,
3177
3177
  default: W6
3178
3178
  }, Symbol.toStringTag, { value: "Module" })), U6 = (e) => /* @__PURE__ */ r.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ r.createElement("path", { d: "M16.0003 3C13.4291 3 10.9157 3.76244 8.77784 5.1909C6.64 6.61935 4.97376 8.64968 3.98982 11.0251C3.00588 13.4006 2.74843 16.0144 3.25004 18.5362C3.75165 21.0579 4.98978 23.3743 6.80786 25.1924C8.62594 27.0105 10.9423 28.2486 13.4641 28.7502C15.9858 29.2518 18.5997 28.9944 20.9751 28.0104C23.3506 27.0265 25.3809 25.3603 26.8094 23.2224C28.2378 21.0846 29.0002 18.5712 29.0002 16C28.9963 12.5534 27.6253 9.24912 25.1882 6.81201C22.7511 4.3749 19.4468 3.00398 16.0003 3ZM16.0001 9C16.2968 9 16.5868 9.08797 16.8335 9.2528C17.0802 9.41762 17.2724 9.65189 17.3859 9.92597C17.4995 10.2001 17.5292 10.5017 17.4713 10.7926C17.4134 11.0836 17.2706 11.3509 17.0608 11.5607C16.851 11.7704 16.5837 11.9133 16.2928 11.9712C16.0018 12.0291 15.7002 11.9994 15.4261 11.8858C15.152 11.7723 14.9177 11.58 14.7529 11.3334C14.5881 11.0867 14.5001 10.7967 14.5001 10.5C14.5001 10.303 14.5389 10.108 14.6143 9.92597C14.6897 9.74399 14.8002 9.57863 14.9395 9.43934C15.0788 9.30005 15.2441 9.18956 15.4261 9.11418C15.6081 9.0388 15.8031 9 16.0001 9H16.0001ZM17.0003 23H16.0003C15.8689 23.0001 15.7388 22.9743 15.6175 22.924C15.4961 22.8738 15.3858 22.8001 15.293 22.7073C15.2001 22.6144 15.1264 22.5041 15.0762 22.3828C15.026 22.2614 15.0002 22.1313 15.0002 22V16C14.735 16 14.4807 15.8946 14.2931 15.7071C14.1056 15.5196 14.0002 15.2652 14.0002 15C14.0002 14.7348 14.1056 14.4804 14.2931 14.2929C14.4807 14.1054 14.735 14 15.0002 14H16.0003C16.1316 13.9999 16.2617 14.0257 16.383 14.076C16.5044 14.1262 16.6147 14.1999 16.7075 14.2927C16.8004 14.3856 16.8741 14.4959 16.9243 14.6172C16.9745 14.7386 17.0003 14.8687 17.0003 15V21C17.2655 21 17.5198 21.1054 17.7074 21.2929C17.8949 21.4804 18.0003 21.7348 18.0003 22C18.0003 22.2652 17.8949 22.5196 17.7074 22.7071C17.5198 22.8946 17.2655 23 17.0003 23Z", fill: "currentColor" })), X6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -3418,7 +3418,7 @@ function Ss(e) {
3418
3418
  return 0.8;
3419
3419
  }
3420
3420
  }
3421
- function de({
3421
+ function ce({
3422
3422
  className: e,
3423
3423
  children: t,
3424
3424
  variant: o = "soft",
@@ -3507,7 +3507,7 @@ function p1({
3507
3507
  );
3508
3508
  }
3509
3509
  function fo({ className: e }) {
3510
- return /* @__PURE__ */ u("div", { className: O("zd:p-1 zd:rounded-2xl", e), children: /* @__PURE__ */ u(de, { className: "zd:w-11 zd:h-11 zd:flex zd:items-center zd:justify-center zd:rounded-xl", children: /* @__PURE__ */ u(oe, { name: "chevronDown", className: "zd:w-4 zd:h-4" }) }) });
3510
+ return /* @__PURE__ */ u("div", { className: O("zd:p-1 zd:rounded-2xl", e), children: /* @__PURE__ */ u(ce, { className: "zd:w-11 zd:h-11 zd:flex zd:items-center zd:justify-center zd:rounded-xl", children: /* @__PURE__ */ u(oe, { name: "chevronDown", className: "zd:w-4 zd:h-4" }) }) });
3511
3511
  }
3512
3512
  function D4({ className: e }) {
3513
3513
  return /* @__PURE__ */ u(fo, { ...e !== void 0 && { className: e } });
@@ -3538,7 +3538,7 @@ function I4({ topCard: e, bottomCard: t }) {
3538
3538
  /* @__PURE__ */ u(p1, { position: "bottom", children: t })
3539
3539
  ] });
3540
3540
  }
3541
- function te({ as: e = "p", className: t, ...o }) {
3541
+ function q({ as: e = "p", className: t, ...o }) {
3542
3542
  return /* @__PURE__ */ u(
3543
3543
  e,
3544
3544
  {
@@ -3577,7 +3577,7 @@ function V4({
3577
3577
  className: "zd:w-3 zd:h-3 zd:text-solarOrange"
3578
3578
  }
3579
3579
  ),
3580
- /* @__PURE__ */ u(te, { className: "zd:text-body3", children: e }),
3580
+ /* @__PURE__ */ u(q, { className: "zd:text-body3", children: e }),
3581
3581
  n && /* @__PURE__ */ u(oe, { name: n, className: "zd:w-2.5 zd:h-2.5" })
3582
3582
  ]
3583
3583
  }
@@ -3604,7 +3604,7 @@ function ho(...e) {
3604
3604
  };
3605
3605
  };
3606
3606
  }
3607
- function $(...e) {
3607
+ function ee(...e) {
3608
3608
  return r.useCallback(ho(...e), e);
3609
3609
  }
3610
3610
  // @__NO_SIDE_EFFECTS__
@@ -3785,14 +3785,14 @@ function Fs(e) {
3785
3785
  i.displayName = t;
3786
3786
  const c = e + "CollectionSlot", a = /* @__PURE__ */ nt(c), d = De.forwardRef(
3787
3787
  (h, C) => {
3788
- const { scope: A, children: w } = h, b = s(c, A), y = $(C, b.collectionRef);
3788
+ const { scope: A, children: w } = h, b = s(c, A), y = ee(C, b.collectionRef);
3789
3789
  return /* @__PURE__ */ u(a, { ref: y, children: w });
3790
3790
  }
3791
3791
  );
3792
3792
  d.displayName = c;
3793
3793
  const f = e + "CollectionItemSlot", p = "data-radix-collection-item", m = /* @__PURE__ */ nt(f), g = De.forwardRef(
3794
3794
  (h, C) => {
3795
- const { scope: A, children: w, ...b } = h, y = De.useRef(null), E = $(C, y), S = s(f, A);
3795
+ const { scope: A, children: w, ...b } = h, y = De.useRef(null), E = ee(C, y), S = s(f, A);
3796
3796
  return De.useEffect(() => (S.itemMap.set(y, { ref: y, ...b }), () => void S.itemMap.delete(y))), /* @__PURE__ */ u(m, { [p]: "", ref: E, children: w });
3797
3797
  }
3798
3798
  );
@@ -3874,7 +3874,7 @@ function Xs(e, t) {
3874
3874
  return r.useReducer((o, n) => t[o][n] ?? o, e);
3875
3875
  }
3876
3876
  var st = (e) => {
3877
- const { present: t, children: o } = e, n = Qs(t), l = typeof o == "function" ? o({ present: n.isPresent }) : r.Children.only(o), s = $(n.ref, Ys(l));
3877
+ const { present: t, children: o } = e, n = Qs(t), l = typeof o == "function" ? o({ present: n.isPresent }) : r.Children.only(o), s = ee(n.ref, Ys(l));
3878
3878
  return typeof o == "function" || n.isPresent ? r.cloneElement(l, { ref: s }) : null;
3879
3879
  };
3880
3880
  st.displayName = "Presence";
@@ -3980,7 +3980,7 @@ var ti = "DismissableLayer", z2 = "dismissableLayer.update", oi = "dismissableLa
3980
3980
  onInteractOutside: i,
3981
3981
  onDismiss: c,
3982
3982
  ...a
3983
- } = e, d = r.useContext(vo), [f, p] = r.useState(null), m = (f == null ? void 0 : f.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = r.useState({}), v = $(t, (z) => p(z)), h = Array.from(d.layers), [C] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), A = h.indexOf(C), w = f ? h.indexOf(f) : -1, b = d.layersWithOutsidePointerEventsDisabled.size > 0, y = w >= A, E = si((z) => {
3983
+ } = e, d = r.useContext(vo), [f, p] = r.useState(null), m = (f == null ? void 0 : f.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = r.useState({}), v = ee(t, (z) => p(z)), h = Array.from(d.layers), [C] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), A = h.indexOf(C), w = f ? h.indexOf(f) : -1, b = d.layersWithOutsidePointerEventsDisabled.size > 0, y = w >= A, E = si((z) => {
3984
3984
  const x = z.target, T = [...d.branches].some((j) => j.contains(x));
3985
3985
  !y || T || (l == null || l(z), i == null || i(z), z.defaultPrevented || c == null || c());
3986
3986
  }, m), S = ii((z) => {
@@ -4020,7 +4020,7 @@ var ti = "DismissableLayer", z2 = "dismissableLayer.update", oi = "dismissableLa
4020
4020
  );
4021
4021
  Qt.displayName = ti;
4022
4022
  var ri = "DismissableLayerBranch", li = r.forwardRef((e, t) => {
4023
- const o = r.useContext(vo), n = r.useRef(null), l = $(t, n);
4023
+ const o = r.useContext(vo), n = r.useRef(null), l = ee(t, n);
4024
4024
  return r.useEffect(() => {
4025
4025
  const s = n.current;
4026
4026
  if (s)
@@ -4089,7 +4089,7 @@ var a2 = "focusScope.autoFocusOnMount", d2 = "focusScope.autoFocusOnUnmount", v1
4089
4089
  onMountAutoFocus: l,
4090
4090
  onUnmountAutoFocus: s,
4091
4091
  ...i
4092
- } = e, [c, a] = r.useState(null), d = We(l), f = We(s), p = r.useRef(null), m = $(t, (h) => a(h)), g = r.useRef({
4092
+ } = e, [c, a] = r.useState(null), d = We(l), f = We(s), p = r.useRef(null), m = ee(t, (h) => a(h)), g = r.useRef({
4093
4093
  paused: !1,
4094
4094
  pause() {
4095
4095
  this.paused = !0;
@@ -4789,7 +4789,7 @@ var qi = function(e) {
4789
4789
  No.displayName = Jt;
4790
4790
  var Ro = "DialogTrigger", oc = r.forwardRef(
4791
4791
  (e, t) => {
4792
- const { __scopeDialog: o, ...n } = e, l = Ce(Ro, o), s = $(t, l.triggerRef);
4792
+ const { __scopeDialog: o, ...n } = e, l = Ce(Ro, o), s = ee(t, l.triggerRef);
4793
4793
  return /* @__PURE__ */ u(
4794
4794
  J.button,
4795
4795
  {
@@ -4846,7 +4846,7 @@ var rc = /* @__PURE__ */ nt("DialogOverlay.RemoveScroll"), lc = r.forwardRef(
4846
4846
  Ho.displayName = Ge;
4847
4847
  var sc = r.forwardRef(
4848
4848
  (e, t) => {
4849
- const o = Ce(Ge, e.__scopeDialog), n = r.useRef(null), l = $(t, o.contentRef, n);
4849
+ const o = Ce(Ge, e.__scopeDialog), n = r.useRef(null), l = ee(t, o.contentRef, n);
4850
4850
  return r.useEffect(() => {
4851
4851
  const s = n.current;
4852
4852
  if (s) return _o(s);
@@ -4897,7 +4897,7 @@ var sc = r.forwardRef(
4897
4897
  }
4898
4898
  ), jo = r.forwardRef(
4899
4899
  (e, t) => {
4900
- const { __scopeDialog: o, trapFocus: n, onOpenAutoFocus: l, onCloseAutoFocus: s, ...i } = e, c = Ce(Ge, o), a = r.useRef(null), d = $(t, a);
4900
+ const { __scopeDialog: o, trapFocus: n, onOpenAutoFocus: l, onCloseAutoFocus: s, ...i } = e, c = Ce(Ge, o), a = r.useRef(null), d = ee(t, a);
4901
4901
  return bo(), /* @__PURE__ */ _(Se, { children: [
4902
4902
  /* @__PURE__ */ u(
4903
4903
  I2,
@@ -5007,7 +5007,7 @@ function wc(e) {
5007
5007
  o(void 0);
5008
5008
  }, [e]), t;
5009
5009
  }
5010
- const Ac = ["top", "right", "bottom", "left"], Pe = Math.min, ce = Math.max, Zt = Math.round, Nt = Math.floor, be = (e) => ({
5010
+ const Ac = ["top", "right", "bottom", "left"], Pe = Math.min, ae = Math.max, Zt = Math.round, Nt = Math.floor, be = (e) => ({
5011
5011
  x: e,
5012
5012
  y: e
5013
5013
  }), bc = {
@@ -5017,7 +5017,7 @@ const Ac = ["top", "right", "bottom", "left"], Pe = Math.min, ce = Math.max, Zt
5017
5017
  top: "bottom"
5018
5018
  };
5019
5019
  function S2(e, t, o) {
5020
- return ce(e, Pe(t, o));
5020
+ return ae(e, Pe(t, o));
5021
5021
  }
5022
5022
  function ke(e, t) {
5023
5023
  return typeof e == "function" ? e(t) : e;
@@ -5613,8 +5613,8 @@ const Bc = function(e) {
5613
5613
  const w = h - f.top - f.bottom, b = v - f.left - f.right, y = Pe(h - f[C], w), E = Pe(v - f[A], b), S = !t.middlewareData.shift;
5614
5614
  let z = y, x = E;
5615
5615
  if ((o = t.middlewareData.shift) != null && o.enabled.x && (x = b), (n = t.middlewareData.shift) != null && n.enabled.y && (z = w), S && !m) {
5616
- const j = ce(f.left, 0), V = ce(f.right, 0), Z = ce(f.top, 0), G = ce(f.bottom, 0);
5617
- g ? x = v - 2 * (j !== 0 || V !== 0 ? j + V : ce(f.left, f.right)) : z = h - 2 * (Z !== 0 || G !== 0 ? Z + G : ce(f.top, f.bottom));
5616
+ const j = ae(f.left, 0), V = ae(f.right, 0), Z = ae(f.top, 0), G = ae(f.bottom, 0);
5617
+ g ? x = v - 2 * (j !== 0 || V !== 0 ? j + V : ae(f.left, f.right)) : z = h - 2 * (Z !== 0 || G !== 0 ? Z + G : ae(f.top, f.bottom));
5618
5618
  }
5619
5619
  await a({
5620
5620
  ...t,
@@ -5636,7 +5636,7 @@ function qt() {
5636
5636
  function ct(e) {
5637
5637
  return Xo(e) ? (e.nodeName || "").toLowerCase() : "#document";
5638
5638
  }
5639
- function ae(e) {
5639
+ function de(e) {
5640
5640
  var t;
5641
5641
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
5642
5642
  }
@@ -5645,16 +5645,16 @@ function ye(e) {
5645
5645
  return (t = (Xo(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
5646
5646
  }
5647
5647
  function Xo(e) {
5648
- return qt() ? e instanceof Node || e instanceof ae(e).Node : !1;
5648
+ return qt() ? e instanceof Node || e instanceof de(e).Node : !1;
5649
5649
  }
5650
5650
  function me(e) {
5651
- return qt() ? e instanceof Element || e instanceof ae(e).Element : !1;
5651
+ return qt() ? e instanceof Element || e instanceof de(e).Element : !1;
5652
5652
  }
5653
5653
  function Me(e) {
5654
- return qt() ? e instanceof HTMLElement || e instanceof ae(e).HTMLElement : !1;
5654
+ return qt() ? e instanceof HTMLElement || e instanceof de(e).HTMLElement : !1;
5655
5655
  }
5656
5656
  function R1(e) {
5657
- return !qt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof ae(e).ShadowRoot;
5657
+ return !qt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof de(e).ShadowRoot;
5658
5658
  }
5659
5659
  function At(e) {
5660
5660
  const {
@@ -5704,7 +5704,7 @@ function rt(e) {
5704
5704
  return /^(html|body|#document)$/.test(ct(e));
5705
5705
  }
5706
5706
  function ge(e) {
5707
- return ae(e).getComputedStyle(e);
5707
+ return de(e).getComputedStyle(e);
5708
5708
  }
5709
5709
  function e2(e) {
5710
5710
  return me(e) ? {
@@ -5734,7 +5734,7 @@ function Qo(e) {
5734
5734
  function Ct(e, t, o) {
5735
5735
  var n;
5736
5736
  t === void 0 && (t = []), o === void 0 && (o = !0);
5737
- const l = Qo(e), s = l === ((n = e.ownerDocument) == null ? void 0 : n.body), i = ae(l);
5737
+ const l = Qo(e), s = l === ((n = e.ownerDocument) == null ? void 0 : n.body), i = de(l);
5738
5738
  if (s) {
5739
5739
  const c = L2(i);
5740
5740
  return t.concat(i, i.visualViewport || [], At(l) ? l : [], c && o ? Ct(c) : []);
@@ -5774,14 +5774,14 @@ function ot(e) {
5774
5774
  }
5775
5775
  const Wc = /* @__PURE__ */ be(0);
5776
5776
  function Ko(e) {
5777
- const t = ae(e);
5777
+ const t = de(e);
5778
5778
  return !Y2() || !t.visualViewport ? Wc : {
5779
5779
  x: t.visualViewport.offsetLeft,
5780
5780
  y: t.visualViewport.offsetTop
5781
5781
  };
5782
5782
  }
5783
5783
  function Gc(e, t, o) {
5784
- return t === void 0 && (t = !1), !o || t && o !== ae(e) ? !1 : t;
5784
+ return t === void 0 && (t = !1), !o || t && o !== de(e) ? !1 : t;
5785
5785
  }
5786
5786
  function Ue(e, t, o, n) {
5787
5787
  t === void 0 && (t = !1), o === void 0 && (o = !1);
@@ -5791,11 +5791,11 @@ function Ue(e, t, o, n) {
5791
5791
  const c = Gc(s, o, n) ? Ko(s) : be(0);
5792
5792
  let a = (l.left + c.x) / i.x, d = (l.top + c.y) / i.y, f = l.width / i.x, p = l.height / i.y;
5793
5793
  if (s) {
5794
- const m = ae(s), g = n && me(n) ? ae(n) : n;
5794
+ const m = de(s), g = n && me(n) ? de(n) : n;
5795
5795
  let v = m, h = L2(v);
5796
5796
  for (; h && n && g !== v; ) {
5797
5797
  const C = ot(h), A = h.getBoundingClientRect(), w = ge(h), b = A.left + (h.clientLeft + parseFloat(w.paddingLeft)) * C.x, y = A.top + (h.clientTop + parseFloat(w.paddingTop)) * C.y;
5798
- a *= C.x, d *= C.y, f *= C.x, p *= C.y, a += b, d += y, v = ae(h), h = L2(v);
5798
+ a *= C.x, d *= C.y, f *= C.x, p *= C.y, a += b, d += y, v = de(h), h = L2(v);
5799
5799
  }
5800
5800
  }
5801
5801
  return Wt({
@@ -5847,10 +5847,10 @@ function Xc(e) {
5847
5847
  return Array.from(e.getClientRects());
5848
5848
  }
5849
5849
  function Qc(e) {
5850
- const t = ye(e), o = e2(e), n = e.ownerDocument.body, l = ce(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), s = ce(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
5850
+ const t = ye(e), o = e2(e), n = e.ownerDocument.body, l = ae(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), s = ae(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
5851
5851
  let i = -o.scrollLeft + t2(e);
5852
5852
  const c = -o.scrollTop;
5853
- return ge(n).direction === "rtl" && (i += ce(t.clientWidth, n.clientWidth) - l), {
5853
+ return ge(n).direction === "rtl" && (i += ae(t.clientWidth, n.clientWidth) - l), {
5854
5854
  width: l,
5855
5855
  height: s,
5856
5856
  x: i,
@@ -5859,7 +5859,7 @@ function Qc(e) {
5859
5859
  }
5860
5860
  const P1 = 25;
5861
5861
  function Yc(e, t) {
5862
- const o = ae(e), n = ye(e), l = o.visualViewport;
5862
+ const o = de(e), n = ye(e), l = o.visualViewport;
5863
5863
  let s = n.clientWidth, i = n.clientHeight, c = 0, a = 0;
5864
5864
  if (l) {
5865
5865
  s = l.width, i = l.height;
@@ -5934,7 +5934,7 @@ function qc(e) {
5934
5934
  let a = c.top, d = c.right, f = c.bottom, p = c.left;
5935
5935
  for (let m = 1; m < i.length; m++) {
5936
5936
  const g = T1(t, i[m], l);
5937
- a = ce(g.top, a), d = Pe(g.right, d), f = Pe(g.bottom, f), p = ce(g.left, p);
5937
+ a = ae(g.top, a), d = Pe(g.right, d), f = Pe(g.bottom, f), p = ae(g.left, p);
5938
5938
  }
5939
5939
  return {
5940
5940
  width: d - p,
@@ -5989,7 +5989,7 @@ function B1(e, t) {
5989
5989
  return ye(e) === o && (o = o.ownerDocument.body), o;
5990
5990
  }
5991
5991
  function $o(e, t) {
5992
- const o = ae(e);
5992
+ const o = de(e);
5993
5993
  if ($t(e))
5994
5994
  return o;
5995
5995
  if (!Me(e)) {
@@ -6055,7 +6055,7 @@ function ra(e, t) {
6055
6055
  return;
6056
6056
  const v = Nt(p), h = Nt(l.clientWidth - (f + m)), C = Nt(l.clientHeight - (p + g)), A = Nt(f), b = {
6057
6057
  rootMargin: -v + "px " + -h + "px " + -C + "px " + -A + "px",
6058
- threshold: ce(0, Pe(1, a)) || 1
6058
+ threshold: ae(0, Pe(1, a)) || 1
6059
6059
  };
6060
6060
  let y = !0;
6061
6061
  function E(S) {
@@ -6368,7 +6368,7 @@ var Ea = on, J2 = "Popper", [nn, o2] = wt(J2), [Sa, rn] = nn(J2), ln = (e) => {
6368
6368
  ln.displayName = J2;
6369
6369
  var sn = "PopperAnchor", cn = r.forwardRef(
6370
6370
  (e, t) => {
6371
- const { __scopePopper: o, virtualRef: n, ...l } = e, s = rn(sn, o), i = r.useRef(null), c = $(t, i), a = r.useRef(null);
6371
+ const { __scopePopper: o, virtualRef: n, ...l } = e, s = rn(sn, o), i = r.useRef(null), c = ee(t, i), a = r.useRef(null);
6372
6372
  return r.useEffect(() => {
6373
6373
  const d = a.current;
6374
6374
  a.current = (n == null ? void 0 : n.current) || i.current, d !== a.current && s.onAnchorChange(a.current);
@@ -6394,7 +6394,7 @@ var q2 = "PopperContent", [ka, La] = nn(q2), an = r.forwardRef(
6394
6394
  updatePositionStrategy: g = "optimized",
6395
6395
  onPlaced: v,
6396
6396
  ...h
6397
- } = e, C = rn(q2, o), [A, w] = r.useState(null), b = $(t, (re) => w(re)), [y, E] = r.useState(null), S = wc(y), z = (S == null ? void 0 : S.width) ?? 0, x = (S == null ? void 0 : S.height) ?? 0, T = n + (s !== "center" ? "-" + s : ""), j = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, V = Array.isArray(d) ? d : [d], Z = V.length > 0, G = {
6397
+ } = e, C = rn(q2, o), [A, w] = r.useState(null), b = ee(t, (re) => w(re)), [y, E] = r.useState(null), S = wc(y), z = (S == null ? void 0 : S.width) ?? 0, x = (S == null ? void 0 : S.height) ?? 0, T = n + (s !== "center" ? "-" + s : ""), j = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, V = Array.isArray(d) ? d : [d], Z = V.length > 0, G = {
6398
6398
  padding: j,
6399
6399
  boundary: V.filter(_a),
6400
6400
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
@@ -6433,9 +6433,9 @@ var q2 = "PopperContent", [ka, La] = nn(q2), an = r.forwardRef(
6433
6433
  se(() => {
6434
6434
  H && (ue == null || ue());
6435
6435
  }, [H, ue]);
6436
- const _e = (N = R.arrow) == null ? void 0 : N.x, Oe = (K = R.arrow) == null ? void 0 : K.y, fe = ((I = R.arrow) == null ? void 0 : I.centerOffset) !== 0, [ee, q] = r.useState();
6436
+ const _e = (N = R.arrow) == null ? void 0 : N.x, Oe = (K = R.arrow) == null ? void 0 : K.y, fe = ((I = R.arrow) == null ? void 0 : I.centerOffset) !== 0, [te, $] = r.useState();
6437
6437
  return se(() => {
6438
- A && q(window.getComputedStyle(A).zIndex);
6438
+ A && $(window.getComputedStyle(A).zIndex);
6439
6439
  }, [A]), /* @__PURE__ */ u(
6440
6440
  "div",
6441
6441
  {
@@ -6446,7 +6446,7 @@ var q2 = "PopperContent", [ka, La] = nn(q2), an = r.forwardRef(
6446
6446
  transform: H ? X.transform : "translate(0, -200%)",
6447
6447
  // keep off the page when measuring
6448
6448
  minWidth: "max-content",
6449
- zIndex: ee,
6449
+ zIndex: te,
6450
6450
  "--radix-popper-transform-origin": [
6451
6451
  (Y = R.transformOrigin) == null ? void 0 : Y.x,
6452
6452
  (F = R.transformOrigin) == null ? void 0 : F.y
@@ -6655,7 +6655,7 @@ var Na = [" ", "Enter", "ArrowUp", "ArrowDown"], Ra = [" ", "Enter"], Xe = "Sele
6655
6655
  Cn.displayName = Xe;
6656
6656
  var vn = "SelectTrigger", wn = r.forwardRef(
6657
6657
  (e, t) => {
6658
- const { __scopeSelect: o, disabled: n = !1, ...l } = e, s = l2(o), i = He(vn, o), c = i.disabled || n, a = $(t, i.onTriggerChange), d = r2(o), f = r.useRef("touch"), [p, m, g] = In((h) => {
6658
+ const { __scopeSelect: o, disabled: n = !1, ...l } = e, s = l2(o), i = He(vn, o), c = i.disabled || n, a = ee(t, i.onTriggerChange), d = r2(o), f = r.useRef("touch"), [p, m, g] = In((h) => {
6659
6659
  const C = d().filter((b) => !b.disabled), A = C.find((b) => b.value === i.value), w = Vn(C, h, A);
6660
6660
  w !== void 0 && i.onValueChange(w.value);
6661
6661
  }), v = (h) => {
@@ -6699,7 +6699,7 @@ var vn = "SelectTrigger", wn = r.forwardRef(
6699
6699
  wn.displayName = vn;
6700
6700
  var An = "SelectValue", bn = r.forwardRef(
6701
6701
  (e, t) => {
6702
- const { __scopeSelect: o, className: n, style: l, children: s, placeholder: i = "", ...c } = e, a = He(An, o), { onValueNodeHasChildrenChange: d } = a, f = s !== void 0, p = $(t, a.onValueNodeChange);
6702
+ const { __scopeSelect: o, className: n, style: l, children: s, placeholder: i = "", ...c } = e, a = He(An, o), { onValueNodeHasChildrenChange: d } = a, f = s !== void 0, p = ee(t, a.onValueNodeChange);
6703
6703
  return se(() => {
6704
6704
  d(f);
6705
6705
  }, [d, f]), /* @__PURE__ */ u(
@@ -6761,7 +6761,7 @@ var pe = 10, [En, je] = at(Qe), Ia = "SelectContentImpl", Va = /* @__PURE__ */ n
6761
6761
  avoidCollisions: C,
6762
6762
  //
6763
6763
  ...A
6764
- } = e, w = He(Qe, o), [b, y] = r.useState(null), [E, S] = r.useState(null), z = $(t, (N) => y(N)), [x, T] = r.useState(null), [j, V] = r.useState(
6764
+ } = e, w = He(Qe, o), [b, y] = r.useState(null), [E, S] = r.useState(null), z = ee(t, (N) => y(N)), [x, T] = r.useState(null), [j, V] = r.useState(
6765
6765
  null
6766
6766
  ), Z = r2(o), [G, D] = r.useState(!1), X = r.useRef(!1);
6767
6767
  r.useEffect(() => {
@@ -6819,7 +6819,7 @@ var pe = 10, [En, je] = at(Qe), Ia = "SelectContentImpl", Va = /* @__PURE__ */ n
6819
6819
  (w.value !== void 0 && w.value === K || Y) && V(N);
6820
6820
  },
6821
6821
  [w.value]
6822
- ), ee = n === "popper" ? M2 : kn, q = ee === M2 ? {
6822
+ ), te = n === "popper" ? M2 : kn, $ = te === M2 ? {
6823
6823
  side: c,
6824
6824
  sideOffset: a,
6825
6825
  align: d,
@@ -6869,7 +6869,7 @@ var pe = 10, [En, je] = at(Qe), Ia = "SelectContentImpl", Va = /* @__PURE__ */ n
6869
6869
  onFocusOutside: (N) => N.preventDefault(),
6870
6870
  onDismiss: () => w.onOpenChange(!1),
6871
6871
  children: /* @__PURE__ */ u(
6872
- ee,
6872
+ te,
6873
6873
  {
6874
6874
  role: "listbox",
6875
6875
  id: w.contentId,
@@ -6877,7 +6877,7 @@ var pe = 10, [En, je] = at(Qe), Ia = "SelectContentImpl", Va = /* @__PURE__ */ n
6877
6877
  dir: w.dir,
6878
6878
  onContextMenu: (N) => N.preventDefault(),
6879
6879
  ...A,
6880
- ...q,
6880
+ ...$,
6881
6881
  onPlaced: () => D(!0),
6882
6882
  ref: z,
6883
6883
  style: {
@@ -6911,7 +6911,7 @@ var pe = 10, [En, je] = at(Qe), Ia = "SelectContentImpl", Va = /* @__PURE__ */ n
6911
6911
  );
6912
6912
  Sn.displayName = Ia;
6913
6913
  var Za = "SelectItemAlignedPosition", kn = r.forwardRef((e, t) => {
6914
- const { __scopeSelect: o, onPlaced: n, ...l } = e, s = He(Qe, o), i = je(Qe, o), [c, a] = r.useState(null), [d, f] = r.useState(null), p = $(t, (z) => f(z)), m = r2(o), g = r.useRef(!1), v = r.useRef(!0), { viewport: h, selectedItem: C, selectedItemText: A, focusSelectedItem: w } = i, b = r.useCallback(() => {
6914
+ const { __scopeSelect: o, onPlaced: n, ...l } = e, s = He(Qe, o), i = je(Qe, o), [c, a] = r.useState(null), [d, f] = r.useState(null), p = ee(t, (z) => f(z)), m = r2(o), g = r.useRef(!1), v = r.useRef(!0), { viewport: h, selectedItem: C, selectedItemText: A, focusSelectedItem: w } = i, b = r.useCallback(() => {
6915
6915
  if (s.trigger && s.valueNode && c && d && h && C && A) {
6916
6916
  const z = s.trigger.getBoundingClientRect(), x = d.getBoundingClientRect(), T = s.valueNode.getBoundingClientRect(), j = A.getBoundingClientRect();
6917
6917
  if (s.dir !== "rtl") {
@@ -6932,13 +6932,13 @@ var Za = "SelectItemAlignedPosition", kn = r.forwardRef((e, t) => {
6932
6932
  ]);
6933
6933
  c.style.minWidth = ie + "px", c.style.right = ft + "px";
6934
6934
  }
6935
- const V = m(), Z = window.innerHeight - pe * 2, G = h.scrollHeight, D = window.getComputedStyle(d), X = parseInt(D.borderTopWidth, 10), P = parseInt(D.paddingTop, 10), H = parseInt(D.borderBottomWidth, 10), R = parseInt(D.paddingBottom, 10), Q = X + P + G + R + H, L = Math.min(C.offsetHeight * 5, Q), ue = window.getComputedStyle(h), _e = parseInt(ue.paddingTop, 10), Oe = parseInt(ue.paddingBottom, 10), fe = z.top + z.height / 2 - pe, ee = Z - fe, q = C.offsetHeight / 2, N = C.offsetTop + q, K = X + P + N, I = Q - K;
6935
+ const V = m(), Z = window.innerHeight - pe * 2, G = h.scrollHeight, D = window.getComputedStyle(d), X = parseInt(D.borderTopWidth, 10), P = parseInt(D.paddingTop, 10), H = parseInt(D.borderBottomWidth, 10), R = parseInt(D.paddingBottom, 10), Q = X + P + G + R + H, L = Math.min(C.offsetHeight * 5, Q), ue = window.getComputedStyle(h), _e = parseInt(ue.paddingTop, 10), Oe = parseInt(ue.paddingBottom, 10), fe = z.top + z.height / 2 - pe, te = Z - fe, $ = C.offsetHeight / 2, N = C.offsetTop + $, K = X + P + N, I = Q - K;
6936
6936
  if (K <= fe) {
6937
6937
  const F = V.length > 0 && C === V[V.length - 1].ref.current;
6938
6938
  c.style.bottom = "0px";
6939
6939
  const W = d.clientHeight - h.offsetTop - h.offsetHeight, re = Math.max(
6940
- ee,
6941
- q + // viewport might have padding bottom, include it to avoid a scrollable viewport
6940
+ te,
6941
+ $ + // viewport might have padding bottom, include it to avoid a scrollable viewport
6942
6942
  (F ? Oe : 0) + W + H
6943
6943
  ), ie = K + re;
6944
6944
  c.style.height = ie + "px";
@@ -6948,7 +6948,7 @@ var Za = "SelectItemAlignedPosition", kn = r.forwardRef((e, t) => {
6948
6948
  const re = Math.max(
6949
6949
  fe,
6950
6950
  X + h.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
6951
- (F ? _e : 0) + q
6951
+ (F ? _e : 0) + $
6952
6952
  ) + I;
6953
6953
  c.style.height = re + "px", h.scrollTop = K - fe + h.offsetTop;
6954
6954
  }
@@ -7046,7 +7046,7 @@ var Fa = "SelectPopperPosition", M2 = r.forwardRef((e, t) => {
7046
7046
  M2.displayName = Fa;
7047
7047
  var [Wa, $2] = at(Qe, {}), _2 = "SelectViewport", Ln = r.forwardRef(
7048
7048
  (e, t) => {
7049
- const { __scopeSelect: o, nonce: n, ...l } = e, s = je(_2, o), i = $2(_2, o), c = $(t, s.onViewportChange), a = r.useRef(0);
7049
+ const { __scopeSelect: o, nonce: n, ...l } = e, s = je(_2, o), i = $2(_2, o), c = ee(t, s.onViewportChange), a = r.useRef(0);
7050
7050
  return /* @__PURE__ */ _(Se, { children: [
7051
7051
  /* @__PURE__ */ u(
7052
7052
  "style",
@@ -7119,7 +7119,7 @@ var Ut = "SelectItem", [Qa, Nn] = at(Ut), Rn = r.forwardRef(
7119
7119
  disabled: l = !1,
7120
7120
  textValue: s,
7121
7121
  ...i
7122
- } = e, c = He(Ut, o), a = je(Ut, o), d = c.value === n, [f, p] = r.useState(s ?? ""), [m, g] = r.useState(!1), v = $(
7122
+ } = e, c = He(Ut, o), a = je(Ut, o), d = c.value === n, [f, p] = r.useState(s ?? ""), [m, g] = r.useState(!1), v = ee(
7123
7123
  t,
7124
7124
  (w) => {
7125
7125
  var b;
@@ -7197,7 +7197,7 @@ var Ut = "SelectItem", [Qa, Nn] = at(Ut), Rn = r.forwardRef(
7197
7197
  Rn.displayName = Ut;
7198
7198
  var gt = "SelectItemText", Pn = r.forwardRef(
7199
7199
  (e, t) => {
7200
- const { __scopeSelect: o, className: n, style: l, ...s } = e, i = He(gt, o), c = je(gt, o), a = Nn(gt, o), d = Ha(gt, o), [f, p] = r.useState(null), m = $(
7200
+ const { __scopeSelect: o, className: n, style: l, ...s } = e, i = He(gt, o), c = je(gt, o), a = Nn(gt, o), d = Ha(gt, o), [f, p] = r.useState(null), m = ee(
7201
7201
  t,
7202
7202
  (A) => p(A),
7203
7203
  a.onItemTextChange,
@@ -7224,7 +7224,7 @@ var Tn = "SelectItemIndicator", Ya = r.forwardRef(
7224
7224
  );
7225
7225
  Ya.displayName = Tn;
7226
7226
  var O2 = "SelectScrollUpButton", Ka = r.forwardRef((e, t) => {
7227
- const o = je(O2, e.__scopeSelect), n = $2(O2, e.__scopeSelect), [l, s] = r.useState(!1), i = $(t, n.onScrollButtonChange);
7227
+ const o = je(O2, e.__scopeSelect), n = $2(O2, e.__scopeSelect), [l, s] = r.useState(!1), i = ee(t, n.onScrollButtonChange);
7228
7228
  return se(() => {
7229
7229
  if (o.viewport && o.isPositioned) {
7230
7230
  let c = function() {
@@ -7248,7 +7248,7 @@ var O2 = "SelectScrollUpButton", Ka = r.forwardRef((e, t) => {
7248
7248
  });
7249
7249
  Ka.displayName = O2;
7250
7250
  var N2 = "SelectScrollDownButton", Ja = r.forwardRef((e, t) => {
7251
- const o = je(N2, e.__scopeSelect), n = $2(N2, e.__scopeSelect), [l, s] = r.useState(!1), i = $(t, n.onScrollButtonChange);
7251
+ const o = je(N2, e.__scopeSelect), n = $2(N2, e.__scopeSelect), [l, s] = r.useState(!1), i = ee(t, n.onScrollButtonChange);
7252
7252
  return se(() => {
7253
7253
  if (o.viewport && o.isPositioned) {
7254
7254
  let c = function() {
@@ -7314,7 +7314,7 @@ var R2 = "SelectArrow", $a = r.forwardRef(
7314
7314
  $a.displayName = R2;
7315
7315
  var e0 = "SelectBubbleInput", jn = r.forwardRef(
7316
7316
  ({ __scopeSelect: e, value: t, ...o }, n) => {
7317
- const l = r.useRef(null), s = $(n, l), i = vc(t);
7317
+ const l = r.useRef(null), s = ee(n, l), i = vc(t);
7318
7318
  return r.useEffect(() => {
7319
7319
  const c = l.current;
7320
7320
  if (!c) return;
@@ -7457,7 +7457,7 @@ var vt = "Tooltip", [m0, bt] = s2(vt), Wn = (e) => {
7457
7457
  Wn.displayName = vt;
7458
7458
  var T2 = "TooltipTrigger", Gn = r.forwardRef(
7459
7459
  (e, t) => {
7460
- const { __scopeTooltip: o, ...n } = e, l = bt(T2, o), s = e1(T2, o), i = i2(o), c = r.useRef(null), a = $(t, c, l.onTriggerChange), d = r.useRef(!1), f = r.useRef(!1), p = r.useCallback(() => d.current = !1, []);
7460
+ const { __scopeTooltip: o, ...n } = e, l = bt(T2, o), s = e1(T2, o), i = i2(o), c = r.useRef(null), a = ee(t, c, l.onTriggerChange), d = r.useRef(!1), f = r.useRef(!1), p = r.useCallback(() => d.current = !1, []);
7461
7461
  return r.useEffect(() => () => document.removeEventListener("pointerup", p), [p]), /* @__PURE__ */ u(pn, { asChild: !0, ...i, children: /* @__PURE__ */ u(
7462
7462
  J.button,
7463
7463
  {
@@ -7497,7 +7497,7 @@ var lt = "TooltipContent", Xn = r.forwardRef(
7497
7497
  return /* @__PURE__ */ u(st, { present: n || i.open, children: i.disableHoverableContent ? /* @__PURE__ */ u(Qn, { side: l, ...s, ref: t }) : /* @__PURE__ */ u(v0, { side: l, ...s, ref: t }) });
7498
7498
  }
7499
7499
  ), v0 = r.forwardRef((e, t) => {
7500
- const o = bt(lt, e.__scopeTooltip), n = e1(lt, e.__scopeTooltip), l = r.useRef(null), s = $(t, l), [i, c] = r.useState(null), { trigger: a, onClose: d } = o, f = l.current, { onPointerInTransitChange: p } = n, m = r.useCallback(() => {
7500
+ const o = bt(lt, e.__scopeTooltip), n = e1(lt, e.__scopeTooltip), l = r.useRef(null), s = ee(t, l), [i, c] = r.useState(null), { trigger: a, onClose: d } = o, f = l.current, { onPointerInTransitChange: p } = n, m = r.useCallback(() => {
7501
7501
  c(null), p(!1);
7502
7502
  }, [p]), g = r.useCallback(
7503
7503
  (v, h) => {
@@ -7679,7 +7679,7 @@ function L0(e) {
7679
7679
  }
7680
7680
  var M0 = Fn, _0 = Wn, O0 = Gn, N0 = Un, R0 = Xn;
7681
7681
  function I1({ iconName: e, className: t, ...o }) {
7682
- return /* @__PURE__ */ u(de, { className: O("zd:h-13 zd:w-13 zd:rounded-2xl", t), children: /* @__PURE__ */ u(
7682
+ return /* @__PURE__ */ u(ce, { className: O("zd:h-13 zd:w-13 zd:rounded-2xl", t), children: /* @__PURE__ */ u(
7683
7683
  "button",
7684
7684
  {
7685
7685
  type: "button",
@@ -7716,7 +7716,7 @@ function F4({
7716
7716
  children: [
7717
7717
  e ? /* @__PURE__ */ u(I1, { iconName: o, onClick: e }) : /* @__PURE__ */ u("div", { className: "zd:h-13 zd:w-13" }),
7718
7718
  s && /* @__PURE__ */ u("div", { className: "zd:absolute zd:left-0 zd:right-0 zd:flex zd:items-center zd:justify-center zd:pointer-events-none", children: s }),
7719
- l && /* @__PURE__ */ u("div", { className: "zd:absolute zd:left-0 zd:right-0 zd:flex zd:items-center zd:justify-center zd:pointer-events-none", children: /* @__PURE__ */ u(te, { className: "zd:text-body1", children: l }) }),
7719
+ l && /* @__PURE__ */ u("div", { className: "zd:absolute zd:left-0 zd:right-0 zd:flex zd:items-center zd:justify-center zd:pointer-events-none", children: /* @__PURE__ */ u(q, { className: "zd:text-body1", children: l }) }),
7720
7720
  t ? /* @__PURE__ */ u(I1, { iconName: n, onClick: t }) : /* @__PURE__ */ u("div", { className: "zd:h-13 zd:w-13" })
7721
7721
  ]
7722
7722
  }
@@ -8197,7 +8197,7 @@ function Y4({
8197
8197
  ...i
8198
8198
  }) {
8199
8199
  return /* @__PURE__ */ u(
8200
- de,
8200
+ ce,
8201
8201
  {
8202
8202
  className: O(Z0, { "zd:opacity-50": l }, t),
8203
8203
  ...s === "primary" && { style: G0 },
@@ -8218,7 +8218,7 @@ function Y4({
8218
8218
  className: O("zd:w-6 zd:h-6", w2[s])
8219
8219
  }
8220
8220
  ),
8221
- e && /* @__PURE__ */ u(te, { className: w2[s], children: e }),
8221
+ e && /* @__PURE__ */ u(q, { className: w2[s], children: e }),
8222
8222
  o && n && /* @__PURE__ */ u(
8223
8223
  oe,
8224
8224
  {
@@ -8234,16 +8234,16 @@ function Y4({
8234
8234
  }
8235
8235
  function K4({ title: e, description: t }) {
8236
8236
  return /* @__PURE__ */ _(
8237
- de,
8237
+ ce,
8238
8238
  {
8239
8239
  className: "zd:w-full zd:py-5 zd:px-4 zd:flex zd:flex-col zd:gap-4 zd:rounded-xl",
8240
8240
  variant: "solid",
8241
8241
  children: [
8242
8242
  /* @__PURE__ */ _("div", { className: "zd:flex zd:flex-row zd:items-center zd:gap-2", children: [
8243
8243
  /* @__PURE__ */ u(oe, { name: "info", className: "zd:h-3.5 zd:w-3.5 zd:text-solarOrange" }),
8244
- /* @__PURE__ */ u(te, { className: "zd:text-body1", children: e })
8244
+ /* @__PURE__ */ u(q, { className: "zd:text-body1", children: e })
8245
8245
  ] }),
8246
- /* @__PURE__ */ u(te, { className: "zd:text-body3 zd:break-all", children: t })
8246
+ /* @__PURE__ */ u(q, { className: "zd:text-body3 zd:break-all", children: t })
8247
8247
  ]
8248
8248
  }
8249
8249
  );
@@ -8343,7 +8343,7 @@ function q0({
8343
8343
  ),
8344
8344
  style: d ? { backgroundColor: "rgba(242, 123, 62, 0.1)" } : void 0,
8345
8345
  children: [
8346
- /* @__PURE__ */ u(te, { className: "zd:whitespace-nowrap", children: e }),
8346
+ /* @__PURE__ */ u(q, { className: "zd:whitespace-nowrap", children: e }),
8347
8347
  o && /* @__PURE__ */ u($n, { content: l, children: n ? /* @__PURE__ */ u(
8348
8348
  "button",
8349
8349
  {
@@ -8355,11 +8355,9 @@ function q0({
8355
8355
  children: /* @__PURE__ */ u(
8356
8356
  oe,
8357
8357
  {
8358
- name: d ? "infoOutline" : "info",
8358
+ name: "infoOutline",
8359
8359
  className: O(
8360
8360
  "zd:w-3.5 zd:h-3.5",
8361
- // Warning rows use the thin outline glyph at half opacity
8362
- // (Figma 20002:36053) instead of the filled disc.
8363
8361
  d ? "zd:text-solarOrange zd:opacity-50" : "zd:text-greyScale/50"
8364
8362
  ),
8365
8363
  "aria-hidden": !0
@@ -8384,11 +8382,9 @@ function q0({
8384
8382
  children: /* @__PURE__ */ u(
8385
8383
  oe,
8386
8384
  {
8387
- name: d ? "infoOutline" : "info",
8385
+ name: "infoOutline",
8388
8386
  className: O(
8389
8387
  "zd:w-3.5 zd:h-3.5",
8390
- // Warning rows use the thin outline glyph at half opacity
8391
- // (Figma 20002:36053) instead of the filled disc.
8392
8388
  d ? "zd:text-solarOrange zd:opacity-50" : "zd:text-greyScale/50"
8393
8389
  ),
8394
8390
  "aria-hidden": !0
@@ -8405,7 +8401,7 @@ function q0({
8405
8401
  "data-testid": "data-row-value",
8406
8402
  children: [
8407
8403
  s,
8408
- typeof t == "string" ? /* @__PURE__ */ u(te, { className: "zd:whitespace-nowrap", children: t }) : t,
8404
+ typeof t == "string" ? /* @__PURE__ */ u(q, { className: "zd:whitespace-nowrap", children: t }) : t,
8409
8405
  i
8410
8406
  ]
8411
8407
  }
@@ -8423,7 +8419,7 @@ function J4({ label: e, className: t }) {
8423
8419
  t
8424
8420
  ),
8425
8421
  children: [
8426
- e ? /* @__PURE__ */ u(te, { children: e }) : /* @__PURE__ */ u("div", { className: "zd:w-24 zd:h-3 zd:rounded-lg zd:bg-greyScale/15 zd:animate-skel-pulse" }),
8422
+ e ? /* @__PURE__ */ u(q, { children: e }) : /* @__PURE__ */ u("div", { className: "zd:w-24 zd:h-3 zd:rounded-lg zd:bg-greyScale/15 zd:animate-skel-pulse" }),
8427
8423
  /* @__PURE__ */ u("div", { className: "zd:w-24 zd:h-3 zd:rounded-lg zd:bg-greyScale/15 zd:animate-skel-pulse" })
8428
8424
  ]
8429
8425
  }
@@ -8439,7 +8435,7 @@ function q4({
8439
8435
  className: i
8440
8436
  }) {
8441
8437
  return /* @__PURE__ */ _(
8442
- de,
8438
+ ce,
8443
8439
  {
8444
8440
  className: O(
8445
8441
  "zd:h-[84px] zd:px-3 zd:rounded-2xl zd:flex zd:flex-row zd:items-center zd:gap-2 zd:w-full zd:justify-between",
@@ -8456,8 +8452,8 @@ function q4({
8456
8452
  }
8457
8453
  ) : null,
8458
8454
  /* @__PURE__ */ _("div", { className: "zd:flex zd:flex-col", children: [
8459
- /* @__PURE__ */ u(te, { className: "zd:text-body1", children: e }),
8460
- t && /* @__PURE__ */ u(te, { className: "zd:text-greyScale/50", children: t })
8455
+ /* @__PURE__ */ u(q, { className: "zd:text-body1", children: e }),
8456
+ t && /* @__PURE__ */ u(q, { className: "zd:text-greyScale/50", children: t })
8461
8457
  ] })
8462
8458
  ] }),
8463
8459
  s
@@ -8577,7 +8573,7 @@ function $4({
8577
8573
  );
8578
8574
  const v = e4(t, e);
8579
8575
  return /* @__PURE__ */ _(
8580
- de,
8576
+ ce,
8581
8577
  {
8582
8578
  "data-testid": "input-wrapper",
8583
8579
  className: O(
@@ -8631,7 +8627,7 @@ function t5({
8631
8627
  ...c
8632
8628
  }) {
8633
8629
  const a = l ? Os : "button";
8634
- return /* @__PURE__ */ u(de, { className: O("zd:w-full zd:h-17 zd:rounded-2xl", i), children: /* @__PURE__ */ _(
8630
+ return /* @__PURE__ */ u(ce, { className: O("zd:w-full zd:h-17 zd:rounded-2xl", i), children: /* @__PURE__ */ _(
8635
8631
  a,
8636
8632
  {
8637
8633
  ...!l && { type: "button" },
@@ -8645,8 +8641,8 @@ function t5({
8645
8641
  /* @__PURE__ */ _("div", { className: "zd:flex zd:flex-row zd:items-center zd:gap-3", children: [
8646
8642
  /* @__PURE__ */ u("div", { className: "zd:w-13 zd:h-13 zd:rounded-2xl zd:bg-white zd:flex zd:items-center zd:justify-center zd:shrink-0", children: e }),
8647
8643
  /* @__PURE__ */ _("div", { className: "zd:flex zd:flex-col zd:justify-center zd:text-left zd:gap-1", children: [
8648
- /* @__PURE__ */ u(te, { className: "zd:text-body1", children: t }),
8649
- typeof o == "string" ? /* @__PURE__ */ u(te, { className: "zd:text-body3 zd:text-greyScale/50", children: o }) : o
8644
+ /* @__PURE__ */ u(q, { className: "zd:text-body1", children: t }),
8645
+ typeof o == "string" ? /* @__PURE__ */ u(q, { className: "zd:text-body3 zd:text-greyScale/50", children: o }) : o
8650
8646
  ] })
8651
8647
  ] }),
8652
8648
  n
@@ -8682,7 +8678,7 @@ function r5({
8682
8678
  f && (m.key === "Enter" || m.key === " ") && (m.preventDefault(), o == null || o());
8683
8679
  };
8684
8680
  return /* @__PURE__ */ _(
8685
- de,
8681
+ ce,
8686
8682
  {
8687
8683
  ref: c,
8688
8684
  variant: "solid",
@@ -8737,7 +8733,7 @@ function r5({
8737
8733
  )
8738
8734
  }
8739
8735
  ),
8740
- /* @__PURE__ */ u(te, { className: "zd:min-w-0 zd:truncate zd:text-body1", title: e, children: e })
8736
+ /* @__PURE__ */ u(q, { className: "zd:min-w-0 zd:truncate zd:text-body1", title: e, children: e })
8741
8737
  ] }),
8742
8738
  s && /* @__PURE__ */ u(
8743
8739
  "div",
@@ -8756,7 +8752,7 @@ function o4({
8756
8752
  disabled: t
8757
8753
  }) {
8758
8754
  return /* @__PURE__ */ u(
8759
- de,
8755
+ ce,
8760
8756
  {
8761
8757
  variant: "solid",
8762
8758
  role: "status",
@@ -8893,7 +8889,7 @@ function l5({
8893
8889
  e
8894
8890
  ),
8895
8891
  children: [
8896
- /* @__PURE__ */ u(te, { children: "Powered by" }),
8892
+ /* @__PURE__ */ u(q, { children: "Powered by" }),
8897
8893
  /* @__PURE__ */ u(
8898
8894
  a4,
8899
8895
  {
@@ -8931,14 +8927,14 @@ function s5({
8931
8927
  {
8932
8928
  className: O(
8933
8929
  "zd:mt-1 zd:h-4 zd:w-px",
8934
- i ? "zd:bg-solarOrange/60" : "zd:bg-greyScale/20"
8930
+ i ? "zd:bg-solarOrange" : "zd:bg-greyScale/20"
8935
8931
  )
8936
8932
  }
8937
8933
  )
8938
8934
  ] }),
8939
8935
  /* @__PURE__ */ _("div", { className: "zd:flex zd:min-w-0 zd:flex-1 zd:items-center zd:gap-1", children: [
8940
8936
  /* @__PURE__ */ u(
8941
- te,
8937
+ q,
8942
8938
  {
8943
8939
  className: O(
8944
8940
  "zd:whitespace-nowrap",
@@ -8961,8 +8957,8 @@ function s5({
8961
8957
  children: /* @__PURE__ */ u(
8962
8958
  oe,
8963
8959
  {
8964
- name: "info",
8965
- className: "zd:w-3 zd:h-3 zd:text-greyScale/50",
8960
+ name: "infoOutline",
8961
+ className: "zd:w-3.5 zd:h-3.5 zd:text-greyScale/50",
8966
8962
  "aria-hidden": !0
8967
8963
  }
8968
8964
  )
@@ -8981,24 +8977,35 @@ function d4({ status: e }) {
8981
8977
  oe,
8982
8978
  {
8983
8979
  name: "warning",
8984
- className: "zd:size-4 zd:text-negative",
8980
+ className: "zd:size-4.5 zd:text-negative",
8985
8981
  "aria-hidden": !0
8986
8982
  }
8987
8983
  );
8988
8984
  case "done":
8989
- return /* @__PURE__ */ u("span", { className: "zd:inline-flex zd:size-4 zd:items-center zd:justify-center zd:rounded-full zd:bg-solarOrange", children: /* @__PURE__ */ u(oe, { name: "check", className: "zd:size-3 zd:text-white", "aria-hidden": !0 }) });
8985
+ return (
8986
+ // The `done` glyph IS the Figma "Done" mark (20002:38086): a
8987
+ // 30%-opacity disc + solid check, both tinted via currentColor.
8988
+ /* @__PURE__ */ u(
8989
+ oe,
8990
+ {
8991
+ name: "done",
8992
+ className: "zd:size-4.5 zd:text-solarOrange",
8993
+ "aria-hidden": !0
8994
+ }
8995
+ )
8996
+ );
8990
8997
  case "active":
8991
8998
  return /* @__PURE__ */ u(
8992
8999
  oe,
8993
9000
  {
8994
9001
  name: "loading",
8995
- className: "zd:size-4 zd:animate-spin zd:text-solarOrange",
9002
+ className: "zd:size-4.5 zd:animate-spin zd:text-solarOrange",
8996
9003
  "aria-hidden": !0,
8997
9004
  "data-testid": "progress-step-spinner"
8998
9005
  }
8999
9006
  );
9000
9007
  default:
9001
- return /* @__PURE__ */ u("span", { className: "zd:inline-block zd:size-4 zd:rounded-full zd:border zd:border-greyScale/30" });
9008
+ return /* @__PURE__ */ u("span", { className: "zd:inline-block zd:size-4.5 zd:rounded-full zd:border zd:border-greyScale/30" });
9002
9009
  }
9003
9010
  }
9004
9011
  var Ze = /* @__PURE__ */ ((e) => (e[e.Border = -1] = "Border", e[e.Data = 0] = "Data", e[e.Function = 1] = "Function", e[e.Position = 2] = "Position", e[e.Timing = 3] = "Timing", e[e.Alignment = 4] = "Alignment", e))(Ze || {});
@@ -9593,7 +9600,7 @@ function N4({
9593
9600
  children: n
9594
9601
  }) {
9595
9602
  const [l, s] = Ye(o === !0);
9596
- return /* @__PURE__ */ _(de, { className: "zd:p-4 zd:flex zd:flex-col zd:gap-3 zd:rounded-xl zd:w-full", children: [
9603
+ return /* @__PURE__ */ _(ce, { className: "zd:p-4 zd:flex zd:flex-col zd:gap-3 zd:rounded-xl zd:w-full", children: [
9597
9604
  /* @__PURE__ */ _("div", { className: "zd:flex zd:flex-row zd:justify-between zd:items-center", children: [
9598
9605
  /* @__PURE__ */ _("div", { className: "zd:flex zd:flex-row zd:items-center zd:gap-2", children: [
9599
9606
  t && /* @__PURE__ */ u(
@@ -9603,7 +9610,7 @@ function N4({
9603
9610
  className: "zd:h-4 zd:w-4 zd:text-solarOrange"
9604
9611
  }
9605
9612
  ),
9606
- /* @__PURE__ */ u(te, { className: "zd:text-h3", children: e })
9613
+ /* @__PURE__ */ u(q, { className: "zd:text-h3", children: e })
9607
9614
  ] }),
9608
9615
  o !== void 0 && /* @__PURE__ */ u(
9609
9616
  "button",
@@ -9643,6 +9650,8 @@ function p5({
9643
9650
  {
9644
9651
  ref: e,
9645
9652
  className: O(
9653
+ // Named group so `SelectIcon` can read THIS trigger's open state.
9654
+ "zd:group/select",
9646
9655
  "zd:inline-flex zd:items-center zd:justify-between zd:gap-2",
9647
9656
  "zd:outline-none zd:cursor-pointer",
9648
9657
  // Counters Radix's `pointer-events: none` on the trigger while the
@@ -9667,7 +9676,11 @@ function m5({
9667
9676
  l0,
9668
9677
  {
9669
9678
  ref: e,
9670
- className: O("zd:shrink-0", t),
9679
+ className: O(
9680
+ "zd:shrink-0 zd:transition-transform zd:duration-200",
9681
+ "zd:group-data-[state=open]/select:rotate-180",
9682
+ t
9683
+ ),
9671
9684
  ...n,
9672
9685
  children: o ?? /* @__PURE__ */ u(oe, { name: "chevronDown", className: "zd:size-4 zd:text-greyScale" })
9673
9686
  }
@@ -9701,7 +9714,7 @@ function g5({
9701
9714
  ...s
9702
9715
  },
9703
9716
  children: /* @__PURE__ */ u(
9704
- de,
9717
+ ce,
9705
9718
  {
9706
9719
  variant: "solid",
9707
9720
  style: { backgroundColor: "#fff" },
@@ -9750,7 +9763,7 @@ function v5({
9750
9763
  );
9751
9764
  }
9752
9765
  function w5({ value: e, onValueChange: t }) {
9753
- return /* @__PURE__ */ u(de, { variant: "ghost", className: "zd:w-14 zd:h-7 zd:rounded-xl zd:p-1", children: /* @__PURE__ */ _(
9766
+ return /* @__PURE__ */ u(ce, { variant: "ghost", className: "zd:w-14 zd:h-7 zd:rounded-xl zd:p-1", children: /* @__PURE__ */ _(
9754
9767
  "button",
9755
9768
  {
9756
9769
  type: "button",
@@ -9759,7 +9772,7 @@ function w5({ value: e, onValueChange: t }) {
9759
9772
  onClick: t,
9760
9773
  className: "zd:flex zd:items-center zd:justify-center zd:flex-row zd:gap-1.5 zd:w-full zd:h-full zd:rounded-lg zd:bg-white/70 zd:cursor-pointer",
9761
9774
  children: [
9762
- e && /* @__PURE__ */ u(te, { className: "zd:text-body3 zd:text-greyScale/90", children: "On" }),
9775
+ e && /* @__PURE__ */ u(q, { className: "zd:text-body3 zd:text-greyScale/90", children: "On" }),
9763
9776
  /* @__PURE__ */ u(
9764
9777
  "div",
9765
9778
  {
@@ -9769,7 +9782,7 @@ function w5({ value: e, onValueChange: t }) {
9769
9782
  )
9770
9783
  }
9771
9784
  ),
9772
- !e && /* @__PURE__ */ u(te, { className: "zd:text-body3 zd:text-greyScale/50", children: "Off" })
9785
+ !e && /* @__PURE__ */ u(q, { className: "zd:text-body3 zd:text-greyScale/50", children: "Off" })
9773
9786
  ]
9774
9787
  }
9775
9788
  ) });
@@ -9849,16 +9862,16 @@ function A5({
9849
9862
  }
9850
9863
  ),
9851
9864
  /* @__PURE__ */ _("div", { className: "zd:flex zd:flex-col zd:items-start zd:gap-2 zd:min-w-0", children: [
9852
- /* @__PURE__ */ u(te, { className: "zd:text-body1 zd:truncate", children: e }),
9865
+ /* @__PURE__ */ u(q, { className: "zd:text-body1 zd:truncate", children: e }),
9853
9866
  t && /* @__PURE__ */ _("div", { className: "zd:flex zd:flex-row zd:items-center zd:gap-1 zd:min-w-0", children: [
9854
9867
  l && /* @__PURE__ */ u("span", { className: "zd:inline-flex zd:w-3 zd:h-3 zd:rounded-full zd:bg-offWhite/50 zd:overflow-hidden zd:shrink-0 zd:items-center zd:justify-center", children: /* @__PURE__ */ u(oe, { name: l, className: "zd:w-full zd:h-full" }) }),
9855
- /* @__PURE__ */ u(te, { className: "zd:text-body3 zd:text-greyScale/50 zd:truncate", children: t })
9868
+ /* @__PURE__ */ u(q, { className: "zd:text-body3 zd:text-greyScale/50 zd:truncate", children: t })
9856
9869
  ] })
9857
9870
  ] })
9858
9871
  ] }),
9859
9872
  (s || i) && /* @__PURE__ */ _("div", { className: "zd:flex zd:flex-col zd:items-end zd:gap-2 zd:shrink-0", children: [
9860
- s && /* @__PURE__ */ u(te, { className: "zd:text-body1 zd:truncate", children: s }),
9861
- i && /* @__PURE__ */ u(te, { className: O("zd:text-body3 zd:truncate", m), children: i })
9873
+ s && /* @__PURE__ */ u(q, { className: "zd:text-body1 zd:truncate", children: s }),
9874
+ i && /* @__PURE__ */ u(q, { className: O("zd:text-body3 zd:truncate", m), children: i })
9862
9875
  ] })
9863
9876
  ] }), v = O(
9864
9877
  "zd:w-full zd:p-2 zd:flex zd:flex-row zd:items-center zd:justify-between zd:gap-2 zd:text-left",
@@ -9887,6 +9900,47 @@ function A5({
9887
9900
  );
9888
9901
  }
9889
9902
  function b5({
9903
+ tokenLogoUrl: e,
9904
+ badgeLogoUrl: t,
9905
+ primaryValue: o,
9906
+ secondaryValue: n,
9907
+ className: l
9908
+ }) {
9909
+ return /* @__PURE__ */ _("div", { className: O("zd:relative zd:w-full zd:pt-7", l), children: [
9910
+ /* @__PURE__ */ _(
9911
+ ce,
9912
+ {
9913
+ variant: "ghost",
9914
+ className: "zd:flex zd:w-full zd:flex-col zd:items-center zd:gap-2 zd:rounded-2xl zd:px-2 zd:pt-16 zd:pb-2",
9915
+ children: [
9916
+ /* @__PURE__ */ u(q, { className: "zd:whitespace-nowrap zd:text-h1", children: o }),
9917
+ n && /* @__PURE__ */ u(q, { className: "zd:whitespace-nowrap zd:text-center zd:text-h3", children: n })
9918
+ ]
9919
+ }
9920
+ ),
9921
+ /* @__PURE__ */ _("div", { className: "zd:absolute zd:top-0 zd:left-1/2 zd:size-18.5 zd:-translate-x-1/2 zd:rounded-3xl zd:border zd:border-white/20 zd:bg-offWhite/80 zd:backdrop-blur-[15px]", children: [
9922
+ e && /* @__PURE__ */ u(
9923
+ "img",
9924
+ {
9925
+ src: e,
9926
+ alt: "",
9927
+ "aria-hidden": !0,
9928
+ className: "zd:absolute zd:top-1/2 zd:left-1/2 zd:size-10.5 zd:-translate-x-1/2 zd:-translate-y-1/2 zd:rounded-full zd:object-contain"
9929
+ }
9930
+ ),
9931
+ t && /* @__PURE__ */ u(
9932
+ "img",
9933
+ {
9934
+ src: t,
9935
+ alt: "",
9936
+ "aria-hidden": !0,
9937
+ className: "zd:absolute zd:right-1.5 zd:bottom-1.5 zd:size-5 zd:rounded-full zd:object-cover"
9938
+ }
9939
+ )
9940
+ ] })
9941
+ ] });
9942
+ }
9943
+ function y5({
9890
9944
  className: e,
9891
9945
  children: t,
9892
9946
  onMouseEnter: o,
@@ -9895,7 +9949,7 @@ function b5({
9895
9949
  }) {
9896
9950
  const [s, i] = Ye(!1);
9897
9951
  return /* @__PURE__ */ u(
9898
- de,
9952
+ ce,
9899
9953
  {
9900
9954
  className: O(
9901
9955
  "zd:rounded-xl zd:flex zd:items-center zd:justify-center",
@@ -9958,8 +10012,9 @@ export {
9958
10012
  p5 as SelectTrigger,
9959
10013
  f5 as SelectValue,
9960
10014
  w5 as Switch,
9961
- te as Text,
10015
+ q as Text,
9962
10016
  A5 as TokenListItem,
10017
+ b5 as TokenSummary,
9963
10018
  $n as Tooltip,
9964
10019
  J0 as TooltipContent,
9965
10020
  K0 as TooltipPortal,
@@ -9967,8 +10022,8 @@ export {
9967
10022
  Q0 as TooltipRoot,
9968
10023
  Y0 as TooltipTrigger,
9969
10024
  F4 as TopNav,
9970
- b5 as WrappedPressable,
9971
- de as Wrapper,
10025
+ y5 as WrappedPressable,
10026
+ ce as Wrapper,
9972
10027
  a4 as ZeroDevLogo,
9973
10028
  a3 as camelCaseToTitle,
9974
10029
  O as cn,