@windrun-huaiin/third-ui 5.4.0 → 5.5.0
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/clerk/index.js +279 -270
- package/dist/clerk/index.js.map +1 -1
- package/dist/clerk/index.mjs +279 -270
- package/dist/clerk/index.mjs.map +1 -1
- package/dist/fuma/mdx/index.js +279 -270
- package/dist/fuma/mdx/index.js.map +1 -1
- package/dist/fuma/mdx/index.mjs +279 -270
- package/dist/fuma/mdx/index.mjs.map +1 -1
- package/dist/fuma/server.js +279 -270
- package/dist/fuma/server.js.map +1 -1
- package/dist/fuma/server.mjs +279 -270
- package/dist/fuma/server.mjs.map +1 -1
- package/dist/main/index.d.mts +16 -1
- package/dist/main/index.d.ts +16 -1
- package/dist/main/index.js +2651 -277
- package/dist/main/index.js.map +1 -1
- package/dist/main/index.mjs +2650 -277
- package/dist/main/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/main/index.ts +2 -1
package/dist/main/index.js
CHANGED
|
@@ -80,6 +80,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
80
80
|
// src/main/index.ts
|
|
81
81
|
var main_exports = {};
|
|
82
82
|
__export(main_exports, {
|
|
83
|
+
AdsAlertDialog: () => AdsAlertDialog,
|
|
83
84
|
CTA: () => CTA,
|
|
84
85
|
FAQ: () => FAQ,
|
|
85
86
|
Features: () => Features,
|
|
@@ -1277,6 +1278,7 @@ __export(limited_lucide_icons_exports, {
|
|
|
1277
1278
|
Circle: () => Circle,
|
|
1278
1279
|
CircleAlert: () => CircleAlert,
|
|
1279
1280
|
CircleSmall: () => CircleSmall,
|
|
1281
|
+
CircleStop: () => CircleStop,
|
|
1280
1282
|
ComponentIcon: () => Component,
|
|
1281
1283
|
Copy: () => Copy,
|
|
1282
1284
|
Cpu: () => Cpu,
|
|
@@ -1357,10 +1359,10 @@ __export(limited_lucide_icons_exports, {
|
|
|
1357
1359
|
Zap: () => Zap
|
|
1358
1360
|
});
|
|
1359
1361
|
|
|
1360
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1362
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
1361
1363
|
var import_react33 = require("react");
|
|
1362
1364
|
|
|
1363
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1365
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
1364
1366
|
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
1365
1367
|
var toCamelCase = (string) => string.replace(
|
|
1366
1368
|
/^([A-Z])|[\s-_]+(\w)/g,
|
|
@@ -1381,10 +1383,10 @@ var hasA11yProp = (props) => {
|
|
|
1381
1383
|
}
|
|
1382
1384
|
};
|
|
1383
1385
|
|
|
1384
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1386
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/Icon.js
|
|
1385
1387
|
var import_react32 = require("react");
|
|
1386
1388
|
|
|
1387
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1389
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
|
1388
1390
|
var defaultAttributes = {
|
|
1389
1391
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1390
1392
|
width: 24,
|
|
@@ -1397,7 +1399,7 @@ var defaultAttributes = {
|
|
|
1397
1399
|
strokeLinejoin: "round"
|
|
1398
1400
|
};
|
|
1399
1401
|
|
|
1400
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1402
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/Icon.js
|
|
1401
1403
|
var Icon = (0, import_react32.forwardRef)(
|
|
1402
1404
|
(_a, ref) => {
|
|
1403
1405
|
var _b = _a, {
|
|
@@ -1436,7 +1438,7 @@ var Icon = (0, import_react32.forwardRef)(
|
|
|
1436
1438
|
}
|
|
1437
1439
|
);
|
|
1438
1440
|
|
|
1439
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1441
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
1440
1442
|
var createLucideIcon = (iconName, iconNode) => {
|
|
1441
1443
|
const Component2 = (0, import_react33.forwardRef)(
|
|
1442
1444
|
(_a, ref) => {
|
|
@@ -1456,14 +1458,14 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
|
1456
1458
|
return Component2;
|
|
1457
1459
|
};
|
|
1458
1460
|
|
|
1459
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1461
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/album.js
|
|
1460
1462
|
var __iconNode = [
|
|
1461
1463
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
|
1462
1464
|
["polyline", { points: "11 3 11 11 14 8 17 11 17 3", key: "1wcwz3" }]
|
|
1463
1465
|
];
|
|
1464
1466
|
var Album = createLucideIcon("album", __iconNode);
|
|
1465
1467
|
|
|
1466
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1468
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/align-horizontal-justify-end.js
|
|
1467
1469
|
var __iconNode2 = [
|
|
1468
1470
|
["rect", { width: "6", height: "14", x: "2", y: "5", rx: "2", key: "dy24zr" }],
|
|
1469
1471
|
["rect", { width: "6", height: "10", x: "12", y: "7", rx: "2", key: "1ht384" }],
|
|
@@ -1471,28 +1473,28 @@ var __iconNode2 = [
|
|
|
1471
1473
|
];
|
|
1472
1474
|
var AlignHorizontalJustifyEnd = createLucideIcon("align-horizontal-justify-end", __iconNode2);
|
|
1473
1475
|
|
|
1474
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1476
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/arrow-left.js
|
|
1475
1477
|
var __iconNode3 = [
|
|
1476
1478
|
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
1477
1479
|
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
1478
1480
|
];
|
|
1479
1481
|
var ArrowLeft = createLucideIcon("arrow-left", __iconNode3);
|
|
1480
1482
|
|
|
1481
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1483
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/arrow-right.js
|
|
1482
1484
|
var __iconNode4 = [
|
|
1483
1485
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
1484
1486
|
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
1485
1487
|
];
|
|
1486
1488
|
var ArrowRight = createLucideIcon("arrow-right", __iconNode4);
|
|
1487
1489
|
|
|
1488
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1490
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/arrow-up.js
|
|
1489
1491
|
var __iconNode5 = [
|
|
1490
1492
|
["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
|
|
1491
1493
|
["path", { d: "M12 19V5", key: "x0mq9r" }]
|
|
1492
1494
|
];
|
|
1493
1495
|
var ArrowUp = createLucideIcon("arrow-up", __iconNode5);
|
|
1494
1496
|
|
|
1495
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1497
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/binary.js
|
|
1496
1498
|
var __iconNode6 = [
|
|
1497
1499
|
["rect", { x: "14", y: "14", width: "4", height: "6", rx: "2", key: "p02svl" }],
|
|
1498
1500
|
["rect", { x: "6", y: "4", width: "4", height: "6", rx: "2", key: "xm4xkj" }],
|
|
@@ -1503,20 +1505,20 @@ var __iconNode6 = [
|
|
|
1503
1505
|
];
|
|
1504
1506
|
var Binary = createLucideIcon("binary", __iconNode6);
|
|
1505
1507
|
|
|
1506
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1508
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/blocks.js
|
|
1507
1509
|
var __iconNode7 = [
|
|
1508
|
-
["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
|
|
1509
1510
|
[
|
|
1510
1511
|
"path",
|
|
1511
1512
|
{
|
|
1512
|
-
d: "M10
|
|
1513
|
-
key: "
|
|
1513
|
+
d: "M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2",
|
|
1514
|
+
key: "1ah6g2"
|
|
1514
1515
|
}
|
|
1515
|
-
]
|
|
1516
|
+
],
|
|
1517
|
+
["rect", { x: "14", y: "2", width: "8", height: "8", rx: "1", key: "88lufb" }]
|
|
1516
1518
|
];
|
|
1517
1519
|
var Blocks = createLucideIcon("blocks", __iconNode7);
|
|
1518
1520
|
|
|
1519
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1521
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/book-x.js
|
|
1520
1522
|
var __iconNode8 = [
|
|
1521
1523
|
["path", { d: "m14.5 7-5 5", key: "dy991v" }],
|
|
1522
1524
|
[
|
|
@@ -1530,7 +1532,7 @@ var __iconNode8 = [
|
|
|
1530
1532
|
];
|
|
1531
1533
|
var BookX = createLucideIcon("book-x", __iconNode8);
|
|
1532
1534
|
|
|
1533
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1535
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/bring-to-front.js
|
|
1534
1536
|
var __iconNode9 = [
|
|
1535
1537
|
["rect", { x: "8", y: "8", width: "8", height: "8", rx: "2", key: "yj20xf" }],
|
|
1536
1538
|
["path", { d: "M4 10a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2", key: "1ltk23" }],
|
|
@@ -1538,7 +1540,7 @@ var __iconNode9 = [
|
|
|
1538
1540
|
];
|
|
1539
1541
|
var BringToFront = createLucideIcon("bring-to-front", __iconNode9);
|
|
1540
1542
|
|
|
1541
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1543
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/bug.js
|
|
1542
1544
|
var __iconNode10 = [
|
|
1543
1545
|
["path", { d: "m8 2 1.88 1.88", key: "fmnt4t" }],
|
|
1544
1546
|
["path", { d: "M14.12 3.88 16 2", key: "qol33r" }],
|
|
@@ -1560,7 +1562,7 @@ var __iconNode10 = [
|
|
|
1560
1562
|
];
|
|
1561
1563
|
var Bug = createLucideIcon("bug", __iconNode10);
|
|
1562
1564
|
|
|
1563
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1565
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/building-2.js
|
|
1564
1566
|
var __iconNode11 = [
|
|
1565
1567
|
["path", { d: "M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z", key: "1b4qmf" }],
|
|
1566
1568
|
["path", { d: "M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2", key: "i71pzd" }],
|
|
@@ -1572,7 +1574,7 @@ var __iconNode11 = [
|
|
|
1572
1574
|
];
|
|
1573
1575
|
var Building2 = createLucideIcon("building-2", __iconNode11);
|
|
1574
1576
|
|
|
1575
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1577
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/car.js
|
|
1576
1578
|
var __iconNode12 = [
|
|
1577
1579
|
[
|
|
1578
1580
|
"path",
|
|
@@ -1587,34 +1589,34 @@ var __iconNode12 = [
|
|
|
1587
1589
|
];
|
|
1588
1590
|
var Car = createLucideIcon("car", __iconNode12);
|
|
1589
1591
|
|
|
1590
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1592
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/check-check.js
|
|
1591
1593
|
var __iconNode13 = [
|
|
1592
1594
|
["path", { d: "M18 6 7 17l-5-5", key: "116fxf" }],
|
|
1593
1595
|
["path", { d: "m22 10-7.5 7.5L13 16", key: "ke71qq" }]
|
|
1594
1596
|
];
|
|
1595
1597
|
var CheckCheck = createLucideIcon("check-check", __iconNode13);
|
|
1596
1598
|
|
|
1597
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1599
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/check.js
|
|
1598
1600
|
var __iconNode14 = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
1599
1601
|
var Check = createLucideIcon("check", __iconNode14);
|
|
1600
1602
|
|
|
1601
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1603
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js
|
|
1602
1604
|
var __iconNode15 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
1603
1605
|
var ChevronDown = createLucideIcon("chevron-down", __iconNode15);
|
|
1604
1606
|
|
|
1605
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1607
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/chevron-left.js
|
|
1606
1608
|
var __iconNode16 = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
|
|
1607
1609
|
var ChevronLeft = createLucideIcon("chevron-left", __iconNode16);
|
|
1608
1610
|
|
|
1609
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1611
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/chevron-right.js
|
|
1610
1612
|
var __iconNode17 = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
1611
1613
|
var ChevronRight = createLucideIcon("chevron-right", __iconNode17);
|
|
1612
1614
|
|
|
1613
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1615
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/chevron-up.js
|
|
1614
1616
|
var __iconNode18 = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
1615
1617
|
var ChevronUp = createLucideIcon("chevron-up", __iconNode18);
|
|
1616
1618
|
|
|
1617
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1619
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/circle-alert.js
|
|
1618
1620
|
var __iconNode19 = [
|
|
1619
1621
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1620
1622
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
@@ -1622,16 +1624,23 @@ var __iconNode19 = [
|
|
|
1622
1624
|
];
|
|
1623
1625
|
var CircleAlert = createLucideIcon("circle-alert", __iconNode19);
|
|
1624
1626
|
|
|
1625
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1627
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/circle-small.js
|
|
1626
1628
|
var __iconNode20 = [["circle", { cx: "12", cy: "12", r: "6", key: "1vlfrh" }]];
|
|
1627
1629
|
var CircleSmall = createLucideIcon("circle-small", __iconNode20);
|
|
1628
1630
|
|
|
1629
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1630
|
-
var __iconNode21 = [
|
|
1631
|
-
|
|
1631
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/circle-stop.js
|
|
1632
|
+
var __iconNode21 = [
|
|
1633
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1634
|
+
["rect", { x: "9", y: "9", width: "6", height: "6", rx: "1", key: "1ssd4o" }]
|
|
1635
|
+
];
|
|
1636
|
+
var CircleStop = createLucideIcon("circle-stop", __iconNode21);
|
|
1637
|
+
|
|
1638
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/circle.js
|
|
1639
|
+
var __iconNode22 = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
|
|
1640
|
+
var Circle = createLucideIcon("circle", __iconNode22);
|
|
1632
1641
|
|
|
1633
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1634
|
-
var
|
|
1642
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/component.js
|
|
1643
|
+
var __iconNode23 = [
|
|
1635
1644
|
[
|
|
1636
1645
|
"path",
|
|
1637
1646
|
{
|
|
@@ -1661,17 +1670,17 @@ var __iconNode22 = [
|
|
|
1661
1670
|
}
|
|
1662
1671
|
]
|
|
1663
1672
|
];
|
|
1664
|
-
var Component = createLucideIcon("component",
|
|
1673
|
+
var Component = createLucideIcon("component", __iconNode23);
|
|
1665
1674
|
|
|
1666
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1667
|
-
var
|
|
1675
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/copy.js
|
|
1676
|
+
var __iconNode24 = [
|
|
1668
1677
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
1669
1678
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
1670
1679
|
];
|
|
1671
|
-
var Copy = createLucideIcon("copy",
|
|
1680
|
+
var Copy = createLucideIcon("copy", __iconNode24);
|
|
1672
1681
|
|
|
1673
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1674
|
-
var
|
|
1682
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/cpu.js
|
|
1683
|
+
var __iconNode25 = [
|
|
1675
1684
|
["path", { d: "M12 20v2", key: "1lh1kg" }],
|
|
1676
1685
|
["path", { d: "M12 2v2", key: "tus03m" }],
|
|
1677
1686
|
["path", { d: "M17 20v2", key: "1rnc9c" }],
|
|
@@ -1687,48 +1696,48 @@ var __iconNode24 = [
|
|
|
1687
1696
|
["rect", { x: "4", y: "4", width: "16", height: "16", rx: "2", key: "1vbyd7" }],
|
|
1688
1697
|
["rect", { x: "8", y: "8", width: "8", height: "8", rx: "1", key: "z9xiuo" }]
|
|
1689
1698
|
];
|
|
1690
|
-
var Cpu = createLucideIcon("cpu",
|
|
1699
|
+
var Cpu = createLucideIcon("cpu", __iconNode25);
|
|
1691
1700
|
|
|
1692
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1693
|
-
var
|
|
1701
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/database-zap.js
|
|
1702
|
+
var __iconNode26 = [
|
|
1694
1703
|
["ellipse", { cx: "12", cy: "5", rx: "9", ry: "3", key: "msslwz" }],
|
|
1695
1704
|
["path", { d: "M3 5V19A9 3 0 0 0 15 21.84", key: "14ibmq" }],
|
|
1696
1705
|
["path", { d: "M21 5V8", key: "1marbg" }],
|
|
1697
1706
|
["path", { d: "M21 12L18 17H22L19 22", key: "zafso" }],
|
|
1698
1707
|
["path", { d: "M3 12A9 3 0 0 0 14.59 14.87", key: "1y4wr8" }]
|
|
1699
1708
|
];
|
|
1700
|
-
var DatabaseZap = createLucideIcon("database-zap",
|
|
1709
|
+
var DatabaseZap = createLucideIcon("database-zap", __iconNode26);
|
|
1701
1710
|
|
|
1702
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1703
|
-
var
|
|
1704
|
-
var Dot = createLucideIcon("dot",
|
|
1711
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/dot.js
|
|
1712
|
+
var __iconNode27 = [["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]];
|
|
1713
|
+
var Dot = createLucideIcon("dot", __iconNode27);
|
|
1705
1714
|
|
|
1706
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1707
|
-
var
|
|
1715
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/download.js
|
|
1716
|
+
var __iconNode28 = [
|
|
1708
1717
|
["path", { d: "M12 15V3", key: "m9g1x1" }],
|
|
1709
1718
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
1710
1719
|
["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
|
|
1711
1720
|
];
|
|
1712
|
-
var Download = createLucideIcon("download",
|
|
1721
|
+
var Download = createLucideIcon("download", __iconNode28);
|
|
1713
1722
|
|
|
1714
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1715
|
-
var
|
|
1723
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/ellipsis.js
|
|
1724
|
+
var __iconNode29 = [
|
|
1716
1725
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
1717
1726
|
["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
|
|
1718
1727
|
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
|
|
1719
1728
|
];
|
|
1720
|
-
var Ellipsis = createLucideIcon("ellipsis",
|
|
1729
|
+
var Ellipsis = createLucideIcon("ellipsis", __iconNode29);
|
|
1721
1730
|
|
|
1722
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1723
|
-
var
|
|
1731
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/external-link.js
|
|
1732
|
+
var __iconNode30 = [
|
|
1724
1733
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
1725
1734
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
1726
1735
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
1727
1736
|
];
|
|
1728
|
-
var ExternalLink = createLucideIcon("external-link",
|
|
1737
|
+
var ExternalLink = createLucideIcon("external-link", __iconNode30);
|
|
1729
1738
|
|
|
1730
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1731
|
-
var
|
|
1739
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/eye.js
|
|
1740
|
+
var __iconNode31 = [
|
|
1732
1741
|
[
|
|
1733
1742
|
"path",
|
|
1734
1743
|
{
|
|
@@ -1738,62 +1747,62 @@ var __iconNode30 = [
|
|
|
1738
1747
|
],
|
|
1739
1748
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
1740
1749
|
];
|
|
1741
|
-
var Eye = createLucideIcon("eye",
|
|
1750
|
+
var Eye = createLucideIcon("eye", __iconNode31);
|
|
1742
1751
|
|
|
1743
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1744
|
-
var
|
|
1752
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/facebook.js
|
|
1753
|
+
var __iconNode32 = [
|
|
1745
1754
|
[
|
|
1746
1755
|
"path",
|
|
1747
1756
|
{ d: "M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z", key: "1jg4f8" }
|
|
1748
1757
|
]
|
|
1749
1758
|
];
|
|
1750
|
-
var Facebook = createLucideIcon("facebook",
|
|
1759
|
+
var Facebook = createLucideIcon("facebook", __iconNode32);
|
|
1751
1760
|
|
|
1752
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1753
|
-
var
|
|
1761
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/file-down.js
|
|
1762
|
+
var __iconNode33 = [
|
|
1754
1763
|
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
|
|
1755
1764
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
|
|
1756
1765
|
["path", { d: "M12 18v-6", key: "17g6i2" }],
|
|
1757
1766
|
["path", { d: "m9 15 3 3 3-3", key: "1npd3o" }]
|
|
1758
1767
|
];
|
|
1759
|
-
var FileDown = createLucideIcon("file-down",
|
|
1768
|
+
var FileDown = createLucideIcon("file-down", __iconNode33);
|
|
1760
1769
|
|
|
1761
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1762
|
-
var
|
|
1770
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/file-input.js
|
|
1771
|
+
var __iconNode34 = [
|
|
1763
1772
|
["path", { d: "M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4", key: "1pf5j1" }],
|
|
1764
1773
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
|
|
1765
1774
|
["path", { d: "M2 15h10", key: "jfw4w8" }],
|
|
1766
1775
|
["path", { d: "m9 18 3-3-3-3", key: "112psh" }]
|
|
1767
1776
|
];
|
|
1768
|
-
var FileInput = createLucideIcon("file-input",
|
|
1777
|
+
var FileInput = createLucideIcon("file-input", __iconNode34);
|
|
1769
1778
|
|
|
1770
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1771
|
-
var
|
|
1779
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/file-lock-2.js
|
|
1780
|
+
var __iconNode35 = [
|
|
1772
1781
|
["path", { d: "M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v1", key: "jmtmu2" }],
|
|
1773
1782
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
|
|
1774
1783
|
["rect", { width: "8", height: "5", x: "2", y: "13", rx: "1", key: "10y5wo" }],
|
|
1775
1784
|
["path", { d: "M8 13v-2a2 2 0 1 0-4 0v2", key: "1pdxzg" }]
|
|
1776
1785
|
];
|
|
1777
|
-
var FileLock2 = createLucideIcon("file-lock-2",
|
|
1786
|
+
var FileLock2 = createLucideIcon("file-lock-2", __iconNode35);
|
|
1778
1787
|
|
|
1779
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1780
|
-
var
|
|
1788
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/file-up.js
|
|
1789
|
+
var __iconNode36 = [
|
|
1781
1790
|
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
|
|
1782
1791
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
|
|
1783
1792
|
["path", { d: "M12 12v6", key: "3ahymv" }],
|
|
1784
1793
|
["path", { d: "m15 15-3-3-3 3", key: "15xj92" }]
|
|
1785
1794
|
];
|
|
1786
|
-
var FileUp = createLucideIcon("file-up",
|
|
1795
|
+
var FileUp = createLucideIcon("file-up", __iconNode36);
|
|
1787
1796
|
|
|
1788
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1789
|
-
var
|
|
1797
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/file.js
|
|
1798
|
+
var __iconNode37 = [
|
|
1790
1799
|
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
|
|
1791
1800
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }]
|
|
1792
1801
|
];
|
|
1793
|
-
var File = createLucideIcon("file",
|
|
1802
|
+
var File = createLucideIcon("file", __iconNode37);
|
|
1794
1803
|
|
|
1795
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1796
|
-
var
|
|
1804
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/fingerprint.js
|
|
1805
|
+
var __iconNode38 = [
|
|
1797
1806
|
["path", { d: "M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4", key: "1nerag" }],
|
|
1798
1807
|
["path", { d: "M14 13.12c0 2.38 0 6.38-1 8.88", key: "o46ks0" }],
|
|
1799
1808
|
["path", { d: "M17.29 21.02c.12-.6.43-2.3.5-3.02", key: "ptglia" }],
|
|
@@ -1804,10 +1813,10 @@ var __iconNode37 = [
|
|
|
1804
1813
|
["path", { d: "M8.65 22c.21-.66.45-1.32.57-2", key: "13wd9y" }],
|
|
1805
1814
|
["path", { d: "M9 6.8a6 6 0 0 1 9 5.2v2", key: "1fr1j5" }]
|
|
1806
1815
|
];
|
|
1807
|
-
var Fingerprint = createLucideIcon("fingerprint",
|
|
1816
|
+
var Fingerprint = createLucideIcon("fingerprint", __iconNode38);
|
|
1808
1817
|
|
|
1809
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1810
|
-
var
|
|
1818
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/folder-open.js
|
|
1819
|
+
var __iconNode39 = [
|
|
1811
1820
|
[
|
|
1812
1821
|
"path",
|
|
1813
1822
|
{
|
|
@@ -1816,10 +1825,10 @@ var __iconNode38 = [
|
|
|
1816
1825
|
}
|
|
1817
1826
|
]
|
|
1818
1827
|
];
|
|
1819
|
-
var FolderOpen = createLucideIcon("folder-open",
|
|
1828
|
+
var FolderOpen = createLucideIcon("folder-open", __iconNode39);
|
|
1820
1829
|
|
|
1821
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1822
|
-
var
|
|
1830
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/folder.js
|
|
1831
|
+
var __iconNode40 = [
|
|
1823
1832
|
[
|
|
1824
1833
|
"path",
|
|
1825
1834
|
{
|
|
@@ -1828,10 +1837,10 @@ var __iconNode39 = [
|
|
|
1828
1837
|
}
|
|
1829
1838
|
]
|
|
1830
1839
|
];
|
|
1831
|
-
var Folder = createLucideIcon("folder",
|
|
1840
|
+
var Folder = createLucideIcon("folder", __iconNode40);
|
|
1832
1841
|
|
|
1833
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1834
|
-
var
|
|
1842
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/gift.js
|
|
1843
|
+
var __iconNode41 = [
|
|
1835
1844
|
["rect", { x: "3", y: "8", width: "18", height: "4", rx: "1", key: "bkv52" }],
|
|
1836
1845
|
["path", { d: "M12 8v13", key: "1c76mn" }],
|
|
1837
1846
|
["path", { d: "M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7", key: "6wjy6b" }],
|
|
@@ -1843,20 +1852,20 @@ var __iconNode40 = [
|
|
|
1843
1852
|
}
|
|
1844
1853
|
]
|
|
1845
1854
|
];
|
|
1846
|
-
var Gift = createLucideIcon("gift",
|
|
1855
|
+
var Gift = createLucideIcon("gift", __iconNode41);
|
|
1847
1856
|
|
|
1848
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1849
|
-
var
|
|
1857
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/git-pull-request-arrow.js
|
|
1858
|
+
var __iconNode42 = [
|
|
1850
1859
|
["circle", { cx: "5", cy: "6", r: "3", key: "1qnov2" }],
|
|
1851
1860
|
["path", { d: "M5 9v12", key: "ih889a" }],
|
|
1852
1861
|
["circle", { cx: "19", cy: "18", r: "3", key: "1qljk2" }],
|
|
1853
1862
|
["path", { d: "m15 9-3-3 3-3", key: "1lwv8l" }],
|
|
1854
1863
|
["path", { d: "M12 6h5a2 2 0 0 1 2 2v7", key: "1yj91y" }]
|
|
1855
1864
|
];
|
|
1856
|
-
var GitPullRequestArrow = createLucideIcon("git-pull-request-arrow",
|
|
1865
|
+
var GitPullRequestArrow = createLucideIcon("git-pull-request-arrow", __iconNode42);
|
|
1857
1866
|
|
|
1858
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1859
|
-
var
|
|
1867
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/globe-lock.js
|
|
1868
|
+
var __iconNode43 = [
|
|
1860
1869
|
[
|
|
1861
1870
|
"path",
|
|
1862
1871
|
{
|
|
@@ -1868,18 +1877,18 @@ var __iconNode42 = [
|
|
|
1868
1877
|
["path", { d: "M20 6V4a2 2 0 1 0-4 0v2", key: "1of5e8" }],
|
|
1869
1878
|
["rect", { width: "8", height: "5", x: "14", y: "6", rx: "1", key: "1fmf51" }]
|
|
1870
1879
|
];
|
|
1871
|
-
var GlobeLock = createLucideIcon("globe-lock",
|
|
1880
|
+
var GlobeLock = createLucideIcon("globe-lock", __iconNode43);
|
|
1872
1881
|
|
|
1873
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1874
|
-
var
|
|
1882
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/globe.js
|
|
1883
|
+
var __iconNode44 = [
|
|
1875
1884
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1876
1885
|
["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
|
|
1877
1886
|
["path", { d: "M2 12h20", key: "9i4pu4" }]
|
|
1878
1887
|
];
|
|
1879
|
-
var Globe = createLucideIcon("globe",
|
|
1888
|
+
var Globe = createLucideIcon("globe", __iconNode44);
|
|
1880
1889
|
|
|
1881
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1882
|
-
var
|
|
1890
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/grip-vertical.js
|
|
1891
|
+
var __iconNode45 = [
|
|
1883
1892
|
["circle", { cx: "9", cy: "12", r: "1", key: "1vctgf" }],
|
|
1884
1893
|
["circle", { cx: "9", cy: "5", r: "1", key: "hp0tcf" }],
|
|
1885
1894
|
["circle", { cx: "9", cy: "19", r: "1", key: "fkjjf6" }],
|
|
@@ -1887,10 +1896,10 @@ var __iconNode44 = [
|
|
|
1887
1896
|
["circle", { cx: "15", cy: "5", r: "1", key: "19l28e" }],
|
|
1888
1897
|
["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
|
|
1889
1898
|
];
|
|
1890
|
-
var GripVertical = createLucideIcon("grip-vertical",
|
|
1899
|
+
var GripVertical = createLucideIcon("grip-vertical", __iconNode45);
|
|
1891
1900
|
|
|
1892
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1893
|
-
var
|
|
1901
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/grip.js
|
|
1902
|
+
var __iconNode46 = [
|
|
1894
1903
|
["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
|
|
1895
1904
|
["circle", { cx: "19", cy: "5", r: "1", key: "w8mnmm" }],
|
|
1896
1905
|
["circle", { cx: "5", cy: "5", r: "1", key: "lttvr7" }],
|
|
@@ -1901,10 +1910,10 @@ var __iconNode45 = [
|
|
|
1901
1910
|
["circle", { cx: "19", cy: "19", r: "1", key: "shf9b7" }],
|
|
1902
1911
|
["circle", { cx: "5", cy: "19", r: "1", key: "bfqh0e" }]
|
|
1903
1912
|
];
|
|
1904
|
-
var Grip = createLucideIcon("grip",
|
|
1913
|
+
var Grip = createLucideIcon("grip", __iconNode46);
|
|
1905
1914
|
|
|
1906
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1907
|
-
var
|
|
1915
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/hand-heart.js
|
|
1916
|
+
var __iconNode47 = [
|
|
1908
1917
|
["path", { d: "M11 14h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16", key: "1ifwr1" }],
|
|
1909
1918
|
[
|
|
1910
1919
|
"path",
|
|
@@ -1922,10 +1931,10 @@ var __iconNode46 = [
|
|
|
1922
1931
|
}
|
|
1923
1932
|
]
|
|
1924
1933
|
];
|
|
1925
|
-
var HandHeart = createLucideIcon("hand-heart",
|
|
1934
|
+
var HandHeart = createLucideIcon("hand-heart", __iconNode47);
|
|
1926
1935
|
|
|
1927
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1928
|
-
var
|
|
1936
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/handshake.js
|
|
1937
|
+
var __iconNode48 = [
|
|
1929
1938
|
["path", { d: "m11 17 2 2a1 1 0 1 0 3-3", key: "efffak" }],
|
|
1930
1939
|
[
|
|
1931
1940
|
"path",
|
|
@@ -1938,32 +1947,32 @@ var __iconNode47 = [
|
|
|
1938
1947
|
["path", { d: "M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3", key: "1uvwmv" }],
|
|
1939
1948
|
["path", { d: "M3 4h8", key: "1ep09j" }]
|
|
1940
1949
|
];
|
|
1941
|
-
var Handshake = createLucideIcon("handshake",
|
|
1950
|
+
var Handshake = createLucideIcon("handshake", __iconNode48);
|
|
1942
1951
|
|
|
1943
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1944
|
-
var
|
|
1952
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/highlighter.js
|
|
1953
|
+
var __iconNode49 = [
|
|
1945
1954
|
["path", { d: "m9 11-6 6v3h9l3-3", key: "1a3l36" }],
|
|
1946
1955
|
["path", { d: "m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4", key: "14a9rk" }]
|
|
1947
1956
|
];
|
|
1948
|
-
var Highlighter = createLucideIcon("highlighter",
|
|
1957
|
+
var Highlighter = createLucideIcon("highlighter", __iconNode49);
|
|
1949
1958
|
|
|
1950
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1951
|
-
var
|
|
1959
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/house-plus.js
|
|
1960
|
+
var __iconNode50 = [
|
|
1952
1961
|
[
|
|
1953
1962
|
"path",
|
|
1954
1963
|
{
|
|
1955
|
-
d: "
|
|
1956
|
-
key: "
|
|
1964
|
+
d: "M12.662 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v2.475",
|
|
1965
|
+
key: "uubd2h"
|
|
1957
1966
|
}
|
|
1958
1967
|
],
|
|
1959
|
-
["path", { d: "
|
|
1960
|
-
["path", { d: "M15
|
|
1961
|
-
["path", { d: "M18
|
|
1968
|
+
["path", { d: "M14.959 12.717A1 1 0 0 0 14 12h-4a1 1 0 0 0-1 1v8", key: "p7f341" }],
|
|
1969
|
+
["path", { d: "M15 18h6", key: "3b3c90" }],
|
|
1970
|
+
["path", { d: "M18 15v6", key: "9wciyi" }]
|
|
1962
1971
|
];
|
|
1963
|
-
var HousePlus = createLucideIcon("house-plus",
|
|
1972
|
+
var HousePlus = createLucideIcon("house-plus", __iconNode50);
|
|
1964
1973
|
|
|
1965
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1966
|
-
var
|
|
1974
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/image-down.js
|
|
1975
|
+
var __iconNode51 = [
|
|
1967
1976
|
[
|
|
1968
1977
|
"path",
|
|
1969
1978
|
{
|
|
@@ -1975,10 +1984,10 @@ var __iconNode50 = [
|
|
|
1975
1984
|
["path", { d: "m17 22 3-3", key: "1nkfve" }],
|
|
1976
1985
|
["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }]
|
|
1977
1986
|
];
|
|
1978
|
-
var ImageDown = createLucideIcon("image-down",
|
|
1987
|
+
var ImageDown = createLucideIcon("image-down", __iconNode51);
|
|
1979
1988
|
|
|
1980
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1981
|
-
var
|
|
1989
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/image-off.js
|
|
1990
|
+
var __iconNode52 = [
|
|
1982
1991
|
["line", { x1: "2", x2: "22", y1: "2", y2: "22", key: "a6p6uj" }],
|
|
1983
1992
|
["path", { d: "M10.41 10.41a2 2 0 1 1-2.83-2.83", key: "1bzlo9" }],
|
|
1984
1993
|
["line", { x1: "13.5", x2: "6", y1: "13.5", y2: "21", key: "1q0aeu" }],
|
|
@@ -1992,10 +2001,10 @@ var __iconNode51 = [
|
|
|
1992
2001
|
],
|
|
1993
2002
|
["path", { d: "M21 15V5a2 2 0 0 0-2-2H9", key: "43el77" }]
|
|
1994
2003
|
];
|
|
1995
|
-
var ImageOff = createLucideIcon("image-off",
|
|
2004
|
+
var ImageOff = createLucideIcon("image-off", __iconNode52);
|
|
1996
2005
|
|
|
1997
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
1998
|
-
var
|
|
2006
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/image-up.js
|
|
2007
|
+
var __iconNode53 = [
|
|
1999
2008
|
[
|
|
2000
2009
|
"path",
|
|
2001
2010
|
{
|
|
@@ -2007,24 +2016,24 @@ var __iconNode52 = [
|
|
|
2007
2016
|
["path", { d: "M17 22v-5.5", key: "1aa6fl" }],
|
|
2008
2017
|
["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }]
|
|
2009
2018
|
];
|
|
2010
|
-
var ImageUp = createLucideIcon("image-up",
|
|
2019
|
+
var ImageUp = createLucideIcon("image-up", __iconNode53);
|
|
2011
2020
|
|
|
2012
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2013
|
-
var
|
|
2021
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/infinity.js
|
|
2022
|
+
var __iconNode54 = [
|
|
2014
2023
|
["path", { d: "M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8", key: "18ogeb" }]
|
|
2015
2024
|
];
|
|
2016
|
-
var Infinity = createLucideIcon("infinity",
|
|
2025
|
+
var Infinity = createLucideIcon("infinity", __iconNode54);
|
|
2017
2026
|
|
|
2018
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2019
|
-
var
|
|
2027
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/info.js
|
|
2028
|
+
var __iconNode55 = [
|
|
2020
2029
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
2021
2030
|
["path", { d: "M12 16v-4", key: "1dtifu" }],
|
|
2022
2031
|
["path", { d: "M12 8h.01", key: "e9boi3" }]
|
|
2023
2032
|
];
|
|
2024
|
-
var Info = createLucideIcon("info",
|
|
2033
|
+
var Info = createLucideIcon("info", __iconNode55);
|
|
2025
2034
|
|
|
2026
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2027
|
-
var
|
|
2035
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/keyboard.js
|
|
2036
|
+
var __iconNode56 = [
|
|
2028
2037
|
["path", { d: "M10 8h.01", key: "1r9ogq" }],
|
|
2029
2038
|
["path", { d: "M12 12h.01", key: "1mp3jc" }],
|
|
2030
2039
|
["path", { d: "M14 8h.01", key: "1primd" }],
|
|
@@ -2035,10 +2044,10 @@ var __iconNode55 = [
|
|
|
2035
2044
|
["path", { d: "M8 12h.01", key: "czm47f" }],
|
|
2036
2045
|
["rect", { width: "20", height: "16", x: "2", y: "4", rx: "2", key: "18n3k1" }]
|
|
2037
2046
|
];
|
|
2038
|
-
var Keyboard = createLucideIcon("keyboard",
|
|
2047
|
+
var Keyboard = createLucideIcon("keyboard", __iconNode56);
|
|
2039
2048
|
|
|
2040
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2041
|
-
var
|
|
2049
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/land-plot.js
|
|
2050
|
+
var __iconNode57 = [
|
|
2042
2051
|
["path", { d: "m12 8 6-3-6-3v10", key: "mvpnpy" }],
|
|
2043
2052
|
[
|
|
2044
2053
|
"path",
|
|
@@ -2050,71 +2059,71 @@ var __iconNode56 = [
|
|
|
2050
2059
|
["path", { d: "m6.49 12.85 11.02 6.3", key: "1kt42w" }],
|
|
2051
2060
|
["path", { d: "M17.51 12.85 6.5 19.15", key: "v55bdg" }]
|
|
2052
2061
|
];
|
|
2053
|
-
var LandPlot = createLucideIcon("land-plot",
|
|
2062
|
+
var LandPlot = createLucideIcon("land-plot", __iconNode57);
|
|
2054
2063
|
|
|
2055
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2056
|
-
var
|
|
2064
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/layout-template.js
|
|
2065
|
+
var __iconNode58 = [
|
|
2057
2066
|
["rect", { width: "18", height: "7", x: "3", y: "3", rx: "1", key: "f1a2em" }],
|
|
2058
2067
|
["rect", { width: "9", height: "7", x: "3", y: "14", rx: "1", key: "jqznyg" }],
|
|
2059
2068
|
["rect", { width: "5", height: "7", x: "16", y: "14", rx: "1", key: "q5h2i8" }]
|
|
2060
2069
|
];
|
|
2061
|
-
var LayoutTemplate = createLucideIcon("layout-template",
|
|
2070
|
+
var LayoutTemplate = createLucideIcon("layout-template", __iconNode58);
|
|
2062
2071
|
|
|
2063
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2064
|
-
var
|
|
2072
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/library.js
|
|
2073
|
+
var __iconNode59 = [
|
|
2065
2074
|
["path", { d: "m16 6 4 14", key: "ji33uf" }],
|
|
2066
2075
|
["path", { d: "M12 6v14", key: "1n7gus" }],
|
|
2067
2076
|
["path", { d: "M8 8v12", key: "1gg7y9" }],
|
|
2068
2077
|
["path", { d: "M4 4v16", key: "6qkkli" }]
|
|
2069
2078
|
];
|
|
2070
|
-
var Library = createLucideIcon("library",
|
|
2079
|
+
var Library = createLucideIcon("library", __iconNode59);
|
|
2071
2080
|
|
|
2072
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2073
|
-
var
|
|
2081
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/link.js
|
|
2082
|
+
var __iconNode60 = [
|
|
2074
2083
|
["path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71", key: "1cjeqo" }],
|
|
2075
2084
|
["path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71", key: "19qd67" }]
|
|
2076
2085
|
];
|
|
2077
|
-
var Link = createLucideIcon("link",
|
|
2086
|
+
var Link = createLucideIcon("link", __iconNode60);
|
|
2078
2087
|
|
|
2079
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2080
|
-
var
|
|
2088
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/list-todo.js
|
|
2089
|
+
var __iconNode61 = [
|
|
2081
2090
|
["rect", { x: "3", y: "5", width: "6", height: "6", rx: "1", key: "1defrl" }],
|
|
2082
2091
|
["path", { d: "m3 17 2 2 4-4", key: "1jhpwq" }],
|
|
2083
2092
|
["path", { d: "M13 6h8", key: "15sg57" }],
|
|
2084
2093
|
["path", { d: "M13 12h8", key: "h98zly" }],
|
|
2085
2094
|
["path", { d: "M13 18h8", key: "oe0vm4" }]
|
|
2086
2095
|
];
|
|
2087
|
-
var ListTodo = createLucideIcon("list-todo",
|
|
2096
|
+
var ListTodo = createLucideIcon("list-todo", __iconNode61);
|
|
2088
2097
|
|
|
2089
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2090
|
-
var
|
|
2091
|
-
var LoaderCircle = createLucideIcon("loader-circle",
|
|
2098
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/loader-circle.js
|
|
2099
|
+
var __iconNode62 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
|
|
2100
|
+
var LoaderCircle = createLucideIcon("loader-circle", __iconNode62);
|
|
2092
2101
|
|
|
2093
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2094
|
-
var
|
|
2102
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/log-in.js
|
|
2103
|
+
var __iconNode63 = [
|
|
2095
2104
|
["path", { d: "m10 17 5-5-5-5", key: "1bsop3" }],
|
|
2096
2105
|
["path", { d: "M15 12H3", key: "6jk70r" }],
|
|
2097
2106
|
["path", { d: "M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4", key: "u53s6r" }]
|
|
2098
2107
|
];
|
|
2099
|
-
var LogIn = createLucideIcon("log-in",
|
|
2108
|
+
var LogIn = createLucideIcon("log-in", __iconNode63);
|
|
2100
2109
|
|
|
2101
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2102
|
-
var
|
|
2110
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/log-out.js
|
|
2111
|
+
var __iconNode64 = [
|
|
2103
2112
|
["path", { d: "m16 17 5-5-5-5", key: "1bji2h" }],
|
|
2104
2113
|
["path", { d: "M21 12H9", key: "dn1m92" }],
|
|
2105
2114
|
["path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4", key: "1uf3rs" }]
|
|
2106
2115
|
];
|
|
2107
|
-
var LogOut = createLucideIcon("log-out",
|
|
2116
|
+
var LogOut = createLucideIcon("log-out", __iconNode64);
|
|
2108
2117
|
|
|
2109
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2110
|
-
var
|
|
2118
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/mail.js
|
|
2119
|
+
var __iconNode65 = [
|
|
2111
2120
|
["path", { d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7", key: "132q7q" }],
|
|
2112
2121
|
["rect", { x: "2", y: "4", width: "20", height: "16", rx: "2", key: "izxlao" }]
|
|
2113
2122
|
];
|
|
2114
|
-
var Mail = createLucideIcon("mail",
|
|
2123
|
+
var Mail = createLucideIcon("mail", __iconNode65);
|
|
2115
2124
|
|
|
2116
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2117
|
-
var
|
|
2125
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/mouse-pointer-click.js
|
|
2126
|
+
var __iconNode66 = [
|
|
2118
2127
|
["path", { d: "M14 4.1 12 6", key: "ita8i4" }],
|
|
2119
2128
|
["path", { d: "m5.1 8-2.9-.8", key: "1go3kf" }],
|
|
2120
2129
|
["path", { d: "m6 12-1.9 2", key: "mnht97" }],
|
|
@@ -2127,10 +2136,10 @@ var __iconNode65 = [
|
|
|
2127
2136
|
}
|
|
2128
2137
|
]
|
|
2129
2138
|
];
|
|
2130
|
-
var MousePointerClick = createLucideIcon("mouse-pointer-click",
|
|
2139
|
+
var MousePointerClick = createLucideIcon("mouse-pointer-click", __iconNode66);
|
|
2131
2140
|
|
|
2132
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2133
|
-
var
|
|
2141
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/palette.js
|
|
2142
|
+
var __iconNode67 = [
|
|
2134
2143
|
[
|
|
2135
2144
|
"path",
|
|
2136
2145
|
{
|
|
@@ -2143,25 +2152,25 @@ var __iconNode66 = [
|
|
|
2143
2152
|
["circle", { cx: "6.5", cy: "12.5", r: ".5", fill: "currentColor", key: "qy21gx" }],
|
|
2144
2153
|
["circle", { cx: "8.5", cy: "7.5", r: ".5", fill: "currentColor", key: "fotxhn" }]
|
|
2145
2154
|
];
|
|
2146
|
-
var Palette = createLucideIcon("palette",
|
|
2155
|
+
var Palette = createLucideIcon("palette", __iconNode67);
|
|
2147
2156
|
|
|
2148
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2149
|
-
var
|
|
2157
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/panel-left.js
|
|
2158
|
+
var __iconNode68 = [
|
|
2150
2159
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
2151
2160
|
["path", { d: "M9 3v18", key: "fh3hqa" }]
|
|
2152
2161
|
];
|
|
2153
|
-
var PanelLeft = createLucideIcon("panel-left",
|
|
2162
|
+
var PanelLeft = createLucideIcon("panel-left", __iconNode68);
|
|
2154
2163
|
|
|
2155
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2156
|
-
var
|
|
2164
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/panels-top-left.js
|
|
2165
|
+
var __iconNode69 = [
|
|
2157
2166
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
2158
2167
|
["path", { d: "M3 9h18", key: "1pudct" }],
|
|
2159
2168
|
["path", { d: "M9 21V9", key: "1oto5p" }]
|
|
2160
2169
|
];
|
|
2161
|
-
var PanelsTopLeft = createLucideIcon("panels-top-left",
|
|
2170
|
+
var PanelsTopLeft = createLucideIcon("panels-top-left", __iconNode69);
|
|
2162
2171
|
|
|
2163
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2164
|
-
var
|
|
2172
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/paw-print.js
|
|
2173
|
+
var __iconNode70 = [
|
|
2165
2174
|
["circle", { cx: "11", cy: "4", r: "2", key: "vol9p0" }],
|
|
2166
2175
|
["circle", { cx: "18", cy: "8", r: "2", key: "17gozi" }],
|
|
2167
2176
|
["circle", { cx: "20", cy: "16", r: "2", key: "1v9bxh" }],
|
|
@@ -2173,10 +2182,10 @@ var __iconNode69 = [
|
|
|
2173
2182
|
}
|
|
2174
2183
|
]
|
|
2175
2184
|
];
|
|
2176
|
-
var PawPrint = createLucideIcon("paw-print",
|
|
2185
|
+
var PawPrint = createLucideIcon("paw-print", __iconNode70);
|
|
2177
2186
|
|
|
2178
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2179
|
-
var
|
|
2187
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/pencil.js
|
|
2188
|
+
var __iconNode71 = [
|
|
2180
2189
|
[
|
|
2181
2190
|
"path",
|
|
2182
2191
|
{
|
|
@@ -2186,18 +2195,18 @@ var __iconNode70 = [
|
|
|
2186
2195
|
],
|
|
2187
2196
|
["path", { d: "m15 5 4 4", key: "1mk7zo" }]
|
|
2188
2197
|
];
|
|
2189
|
-
var Pencil = createLucideIcon("pencil",
|
|
2198
|
+
var Pencil = createLucideIcon("pencil", __iconNode71);
|
|
2190
2199
|
|
|
2191
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2192
|
-
var
|
|
2200
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/pi.js
|
|
2201
|
+
var __iconNode72 = [
|
|
2193
2202
|
["line", { x1: "9", x2: "9", y1: "4", y2: "20", key: "ovs5a5" }],
|
|
2194
2203
|
["path", { d: "M4 7c0-1.7 1.3-3 3-3h13", key: "10pag4" }],
|
|
2195
2204
|
["path", { d: "M18 20c-1.7 0-3-1.3-3-3V4", key: "1gaosr" }]
|
|
2196
2205
|
];
|
|
2197
|
-
var Pi = createLucideIcon("pi",
|
|
2206
|
+
var Pi = createLucideIcon("pi", __iconNode72);
|
|
2198
2207
|
|
|
2199
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2200
|
-
var
|
|
2208
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/qr-code.js
|
|
2209
|
+
var __iconNode73 = [
|
|
2201
2210
|
["rect", { width: "5", height: "5", x: "3", y: "3", rx: "1", key: "1tu5fj" }],
|
|
2202
2211
|
["rect", { width: "5", height: "5", x: "16", y: "3", rx: "1", key: "1v8r4q" }],
|
|
2203
2212
|
["rect", { width: "5", height: "5", x: "3", y: "16", rx: "1", key: "1x03jg" }],
|
|
@@ -2211,10 +2220,10 @@ var __iconNode72 = [
|
|
|
2211
2220
|
["path", { d: "M21 12v.01", key: "1lwtk9" }],
|
|
2212
2221
|
["path", { d: "M12 21v-1", key: "1880an" }]
|
|
2213
2222
|
];
|
|
2214
|
-
var QrCode = createLucideIcon("qr-code",
|
|
2223
|
+
var QrCode = createLucideIcon("qr-code", __iconNode73);
|
|
2215
2224
|
|
|
2216
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2217
|
-
var
|
|
2225
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/receipt-text.js
|
|
2226
|
+
var __iconNode74 = [
|
|
2218
2227
|
[
|
|
2219
2228
|
"path",
|
|
2220
2229
|
{ d: "M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z", key: "q3az6g" }
|
|
@@ -2223,19 +2232,19 @@ var __iconNode73 = [
|
|
|
2223
2232
|
["path", { d: "M16 12H8", key: "1fr5h0" }],
|
|
2224
2233
|
["path", { d: "M13 16H8", key: "wsln4y" }]
|
|
2225
2234
|
];
|
|
2226
|
-
var ReceiptText = createLucideIcon("receipt-text",
|
|
2235
|
+
var ReceiptText = createLucideIcon("receipt-text", __iconNode74);
|
|
2227
2236
|
|
|
2228
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2229
|
-
var
|
|
2237
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/refresh-ccw.js
|
|
2238
|
+
var __iconNode75 = [
|
|
2230
2239
|
["path", { d: "M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "14sxne" }],
|
|
2231
2240
|
["path", { d: "M3 3v5h5", key: "1xhq8a" }],
|
|
2232
2241
|
["path", { d: "M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16", key: "1hlbsb" }],
|
|
2233
2242
|
["path", { d: "M16 16h5v5", key: "ccwih5" }]
|
|
2234
2243
|
];
|
|
2235
|
-
var RefreshCcw = createLucideIcon("refresh-ccw",
|
|
2244
|
+
var RefreshCcw = createLucideIcon("refresh-ccw", __iconNode75);
|
|
2236
2245
|
|
|
2237
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2238
|
-
var
|
|
2246
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/regex.js
|
|
2247
|
+
var __iconNode76 = [
|
|
2239
2248
|
["path", { d: "M17 3v10", key: "15fgeh" }],
|
|
2240
2249
|
["path", { d: "m12.67 5.5 8.66 5", key: "1gpheq" }],
|
|
2241
2250
|
["path", { d: "m12.67 10.5 8.66-5", key: "1dkfa6" }],
|
|
@@ -2244,10 +2253,10 @@ var __iconNode75 = [
|
|
|
2244
2253
|
{ d: "M9 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2z", key: "swwfx4" }
|
|
2245
2254
|
]
|
|
2246
2255
|
];
|
|
2247
|
-
var Regex = createLucideIcon("regex",
|
|
2256
|
+
var Regex = createLucideIcon("regex", __iconNode76);
|
|
2248
2257
|
|
|
2249
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2250
|
-
var
|
|
2258
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/replace.js
|
|
2259
|
+
var __iconNode77 = [
|
|
2251
2260
|
["path", { d: "M14 4a2 2 0 0 1 2-2", key: "1w2hp7" }],
|
|
2252
2261
|
["path", { d: "M16 10a2 2 0 0 1-2-2", key: "shjach" }],
|
|
2253
2262
|
["path", { d: "M20 2a2 2 0 0 1 2 2", key: "188mtx" }],
|
|
@@ -2256,10 +2265,10 @@ var __iconNode76 = [
|
|
|
2256
2265
|
["path", { d: "M6 10V5a3 3 0 0 1 3-3h1", key: "3y3t5z" }],
|
|
2257
2266
|
["rect", { x: "2", y: "14", width: "8", height: "8", rx: "2", key: "4rksxw" }]
|
|
2258
2267
|
];
|
|
2259
|
-
var Replace = createLucideIcon("replace",
|
|
2268
|
+
var Replace = createLucideIcon("replace", __iconNode77);
|
|
2260
2269
|
|
|
2261
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2262
|
-
var
|
|
2270
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/rocket.js
|
|
2271
|
+
var __iconNode78 = [
|
|
2263
2272
|
[
|
|
2264
2273
|
"path",
|
|
2265
2274
|
{
|
|
@@ -2277,35 +2286,35 @@ var __iconNode77 = [
|
|
|
2277
2286
|
["path", { d: "M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0", key: "1f8sc4" }],
|
|
2278
2287
|
["path", { d: "M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5", key: "qeys4" }]
|
|
2279
2288
|
];
|
|
2280
|
-
var Rocket = createLucideIcon("rocket",
|
|
2289
|
+
var Rocket = createLucideIcon("rocket", __iconNode78);
|
|
2281
2290
|
|
|
2282
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2283
|
-
var
|
|
2291
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/rss.js
|
|
2292
|
+
var __iconNode79 = [
|
|
2284
2293
|
["path", { d: "M4 11a9 9 0 0 1 9 9", key: "pv89mb" }],
|
|
2285
2294
|
["path", { d: "M4 4a16 16 0 0 1 16 16", key: "k0647b" }],
|
|
2286
2295
|
["circle", { cx: "5", cy: "19", r: "1", key: "bfqh0e" }]
|
|
2287
2296
|
];
|
|
2288
|
-
var Rss = createLucideIcon("rss",
|
|
2297
|
+
var Rss = createLucideIcon("rss", __iconNode79);
|
|
2289
2298
|
|
|
2290
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2291
|
-
var
|
|
2299
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/scale.js
|
|
2300
|
+
var __iconNode80 = [
|
|
2292
2301
|
["path", { d: "m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z", key: "7g6ntu" }],
|
|
2293
2302
|
["path", { d: "m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z", key: "ijws7r" }],
|
|
2294
2303
|
["path", { d: "M7 21h10", key: "1b0cd5" }],
|
|
2295
2304
|
["path", { d: "M12 3v18", key: "108xh3" }],
|
|
2296
2305
|
["path", { d: "M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2", key: "3gwbw2" }]
|
|
2297
2306
|
];
|
|
2298
|
-
var Scale = createLucideIcon("scale",
|
|
2307
|
+
var Scale = createLucideIcon("scale", __iconNode80);
|
|
2299
2308
|
|
|
2300
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2301
|
-
var
|
|
2309
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/search.js
|
|
2310
|
+
var __iconNode81 = [
|
|
2302
2311
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
2303
2312
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
2304
2313
|
];
|
|
2305
|
-
var Search = createLucideIcon("search",
|
|
2314
|
+
var Search = createLucideIcon("search", __iconNode81);
|
|
2306
2315
|
|
|
2307
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2308
|
-
var
|
|
2316
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/send-horizontal.js
|
|
2317
|
+
var __iconNode82 = [
|
|
2309
2318
|
[
|
|
2310
2319
|
"path",
|
|
2311
2320
|
{
|
|
@@ -2315,27 +2324,27 @@ var __iconNode81 = [
|
|
|
2315
2324
|
],
|
|
2316
2325
|
["path", { d: "M6 12h16", key: "s4cdu5" }]
|
|
2317
2326
|
];
|
|
2318
|
-
var SendHorizontal = createLucideIcon("send-horizontal",
|
|
2327
|
+
var SendHorizontal = createLucideIcon("send-horizontal", __iconNode82);
|
|
2319
2328
|
|
|
2320
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2321
|
-
var
|
|
2329
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/server.js
|
|
2330
|
+
var __iconNode83 = [
|
|
2322
2331
|
["rect", { width: "20", height: "8", x: "2", y: "2", rx: "2", ry: "2", key: "ngkwjq" }],
|
|
2323
2332
|
["rect", { width: "20", height: "8", x: "2", y: "14", rx: "2", ry: "2", key: "iecqi9" }],
|
|
2324
2333
|
["line", { x1: "6", x2: "6.01", y1: "6", y2: "6", key: "16zg32" }],
|
|
2325
2334
|
["line", { x1: "6", x2: "6.01", y1: "18", y2: "18", key: "nzw8ys" }]
|
|
2326
2335
|
];
|
|
2327
|
-
var Server = createLucideIcon("server",
|
|
2336
|
+
var Server = createLucideIcon("server", __iconNode83);
|
|
2328
2337
|
|
|
2329
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2330
|
-
var
|
|
2338
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/share.js
|
|
2339
|
+
var __iconNode84 = [
|
|
2331
2340
|
["path", { d: "M12 2v13", key: "1km8f5" }],
|
|
2332
2341
|
["path", { d: "m16 6-4-4-4 4", key: "13yo43" }],
|
|
2333
2342
|
["path", { d: "M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8", key: "1b2hhj" }]
|
|
2334
2343
|
];
|
|
2335
|
-
var Share = createLucideIcon("share",
|
|
2344
|
+
var Share = createLucideIcon("share", __iconNode84);
|
|
2336
2345
|
|
|
2337
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2338
|
-
var
|
|
2346
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/shield-user.js
|
|
2347
|
+
var __iconNode85 = [
|
|
2339
2348
|
[
|
|
2340
2349
|
"path",
|
|
2341
2350
|
{
|
|
@@ -2346,10 +2355,10 @@ var __iconNode84 = [
|
|
|
2346
2355
|
["path", { d: "M6.376 18.91a6 6 0 0 1 11.249.003", key: "hnjrf2" }],
|
|
2347
2356
|
["circle", { cx: "12", cy: "11", r: "4", key: "1gt34v" }]
|
|
2348
2357
|
];
|
|
2349
|
-
var ShieldUser = createLucideIcon("shield-user",
|
|
2358
|
+
var ShieldUser = createLucideIcon("shield-user", __iconNode85);
|
|
2350
2359
|
|
|
2351
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2352
|
-
var
|
|
2360
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/shield.js
|
|
2361
|
+
var __iconNode86 = [
|
|
2353
2362
|
[
|
|
2354
2363
|
"path",
|
|
2355
2364
|
{
|
|
@@ -2358,10 +2367,10 @@ var __iconNode85 = [
|
|
|
2358
2367
|
}
|
|
2359
2368
|
]
|
|
2360
2369
|
];
|
|
2361
|
-
var Shield = createLucideIcon("shield",
|
|
2370
|
+
var Shield = createLucideIcon("shield", __iconNode86);
|
|
2362
2371
|
|
|
2363
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2364
|
-
var
|
|
2372
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/sigma.js
|
|
2373
|
+
var __iconNode87 = [
|
|
2365
2374
|
[
|
|
2366
2375
|
"path",
|
|
2367
2376
|
{
|
|
@@ -2370,10 +2379,10 @@ var __iconNode86 = [
|
|
|
2370
2379
|
}
|
|
2371
2380
|
]
|
|
2372
2381
|
];
|
|
2373
|
-
var Sigma = createLucideIcon("sigma",
|
|
2382
|
+
var Sigma = createLucideIcon("sigma", __iconNode87);
|
|
2374
2383
|
|
|
2375
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2376
|
-
var
|
|
2384
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/sparkles.js
|
|
2385
|
+
var __iconNode88 = [
|
|
2377
2386
|
[
|
|
2378
2387
|
"path",
|
|
2379
2388
|
{
|
|
@@ -2386,10 +2395,10 @@ var __iconNode87 = [
|
|
|
2386
2395
|
["path", { d: "M4 17v2", key: "vumght" }],
|
|
2387
2396
|
["path", { d: "M5 18H3", key: "zchphs" }]
|
|
2388
2397
|
];
|
|
2389
|
-
var Sparkles = createLucideIcon("sparkles",
|
|
2398
|
+
var Sparkles = createLucideIcon("sparkles", __iconNode88);
|
|
2390
2399
|
|
|
2391
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2392
|
-
var
|
|
2400
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/spline-pointer.js
|
|
2401
|
+
var __iconNode89 = [
|
|
2393
2402
|
[
|
|
2394
2403
|
"path",
|
|
2395
2404
|
{
|
|
@@ -2401,10 +2410,10 @@ var __iconNode88 = [
|
|
|
2401
2410
|
["circle", { cx: "19", cy: "5", r: "2", key: "mhkx31" }],
|
|
2402
2411
|
["circle", { cx: "5", cy: "19", r: "2", key: "v8kfzx" }]
|
|
2403
2412
|
];
|
|
2404
|
-
var SplinePointer = createLucideIcon("spline-pointer",
|
|
2413
|
+
var SplinePointer = createLucideIcon("spline-pointer", __iconNode89);
|
|
2405
2414
|
|
|
2406
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2407
|
-
var
|
|
2415
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/sprout.js
|
|
2416
|
+
var __iconNode90 = [
|
|
2408
2417
|
["path", { d: "M7 20h10", key: "e6iznv" }],
|
|
2409
2418
|
["path", { d: "M10 20c5.5-2.5.8-6.4 3-10", key: "161w41" }],
|
|
2410
2419
|
[
|
|
@@ -2422,10 +2431,10 @@ var __iconNode89 = [
|
|
|
2422
2431
|
}
|
|
2423
2432
|
]
|
|
2424
2433
|
];
|
|
2425
|
-
var Sprout = createLucideIcon("sprout",
|
|
2434
|
+
var Sprout = createLucideIcon("sprout", __iconNode90);
|
|
2426
2435
|
|
|
2427
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2428
|
-
var
|
|
2436
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/square-dashed-bottom-code.js
|
|
2437
|
+
var __iconNode91 = [
|
|
2429
2438
|
["path", { d: "M10 9.5 8 12l2 2.5", key: "3mjy60" }],
|
|
2430
2439
|
["path", { d: "M14 21h1", key: "v9vybs" }],
|
|
2431
2440
|
["path", { d: "m14 9.5 2 2.5-2 2.5", key: "1bir2l" }],
|
|
@@ -2435,18 +2444,18 @@ var __iconNode90 = [
|
|
|
2435
2444
|
],
|
|
2436
2445
|
["path", { d: "M9 21h1", key: "15o7lz" }]
|
|
2437
2446
|
];
|
|
2438
|
-
var SquareDashedBottomCode = createLucideIcon("square-dashed-bottom-code",
|
|
2447
|
+
var SquareDashedBottomCode = createLucideIcon("square-dashed-bottom-code", __iconNode91);
|
|
2439
2448
|
|
|
2440
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2441
|
-
var
|
|
2449
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/square-terminal.js
|
|
2450
|
+
var __iconNode92 = [
|
|
2442
2451
|
["path", { d: "m7 11 2-2-2-2", key: "1lz0vl" }],
|
|
2443
2452
|
["path", { d: "M11 13h4", key: "1p7l4v" }],
|
|
2444
2453
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }]
|
|
2445
2454
|
];
|
|
2446
|
-
var SquareTerminal = createLucideIcon("square-terminal",
|
|
2455
|
+
var SquareTerminal = createLucideIcon("square-terminal", __iconNode92);
|
|
2447
2456
|
|
|
2448
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2449
|
-
var
|
|
2457
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/star.js
|
|
2458
|
+
var __iconNode93 = [
|
|
2450
2459
|
[
|
|
2451
2460
|
"path",
|
|
2452
2461
|
{
|
|
@@ -2455,26 +2464,26 @@ var __iconNode92 = [
|
|
|
2455
2464
|
}
|
|
2456
2465
|
]
|
|
2457
2466
|
];
|
|
2458
|
-
var Star = createLucideIcon("star",
|
|
2467
|
+
var Star = createLucideIcon("star", __iconNode93);
|
|
2459
2468
|
|
|
2460
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2461
|
-
var
|
|
2469
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/tablets.js
|
|
2470
|
+
var __iconNode94 = [
|
|
2462
2471
|
["circle", { cx: "7", cy: "7", r: "5", key: "x29byf" }],
|
|
2463
2472
|
["circle", { cx: "17", cy: "17", r: "5", key: "1op1d2" }],
|
|
2464
2473
|
["path", { d: "M12 17h10", key: "ls21zv" }],
|
|
2465
2474
|
["path", { d: "m3.46 10.54 7.08-7.08", key: "1rehiu" }]
|
|
2466
2475
|
];
|
|
2467
|
-
var Tablets = createLucideIcon("tablets",
|
|
2476
|
+
var Tablets = createLucideIcon("tablets", __iconNode94);
|
|
2468
2477
|
|
|
2469
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2470
|
-
var
|
|
2478
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/terminal.js
|
|
2479
|
+
var __iconNode95 = [
|
|
2471
2480
|
["path", { d: "M12 19h8", key: "baeox8" }],
|
|
2472
2481
|
["path", { d: "m4 17 6-6-6-6", key: "1yngyt" }]
|
|
2473
2482
|
];
|
|
2474
|
-
var Terminal = createLucideIcon("terminal",
|
|
2483
|
+
var Terminal = createLucideIcon("terminal", __iconNode95);
|
|
2475
2484
|
|
|
2476
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2477
|
-
var
|
|
2485
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/twitter.js
|
|
2486
|
+
var __iconNode96 = [
|
|
2478
2487
|
[
|
|
2479
2488
|
"path",
|
|
2480
2489
|
{
|
|
@@ -2483,25 +2492,25 @@ var __iconNode95 = [
|
|
|
2483
2492
|
}
|
|
2484
2493
|
]
|
|
2485
2494
|
];
|
|
2486
|
-
var Twitter = createLucideIcon("twitter",
|
|
2495
|
+
var Twitter = createLucideIcon("twitter", __iconNode96);
|
|
2487
2496
|
|
|
2488
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2489
|
-
var
|
|
2497
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/workflow.js
|
|
2498
|
+
var __iconNode97 = [
|
|
2490
2499
|
["rect", { width: "8", height: "8", x: "3", y: "3", rx: "2", key: "by2w9f" }],
|
|
2491
2500
|
["path", { d: "M7 11v4a2 2 0 0 0 2 2h4", key: "xkn7yn" }],
|
|
2492
2501
|
["rect", { width: "8", height: "8", x: "13", y: "13", rx: "2", key: "1cgmvn" }]
|
|
2493
2502
|
];
|
|
2494
|
-
var Workflow = createLucideIcon("workflow",
|
|
2503
|
+
var Workflow = createLucideIcon("workflow", __iconNode97);
|
|
2495
2504
|
|
|
2496
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2497
|
-
var
|
|
2505
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/x.js
|
|
2506
|
+
var __iconNode98 = [
|
|
2498
2507
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
2499
2508
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
2500
2509
|
];
|
|
2501
|
-
var X = createLucideIcon("x",
|
|
2510
|
+
var X = createLucideIcon("x", __iconNode98);
|
|
2502
2511
|
|
|
2503
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
2504
|
-
var
|
|
2512
|
+
// ../../node_modules/.pnpm/lucide-react@0.525.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/zap.js
|
|
2513
|
+
var __iconNode99 = [
|
|
2505
2514
|
[
|
|
2506
2515
|
"path",
|
|
2507
2516
|
{
|
|
@@ -2510,7 +2519,7 @@ var __iconNode98 = [
|
|
|
2510
2519
|
}
|
|
2511
2520
|
]
|
|
2512
2521
|
];
|
|
2513
|
-
var Zap = createLucideIcon("zap",
|
|
2522
|
+
var Zap = createLucideIcon("zap", __iconNode99);
|
|
2514
2523
|
|
|
2515
2524
|
// ../base-ui/src/components/global-icon.tsx
|
|
2516
2525
|
var import_react34 = __toESM(require("react"), 1);
|
|
@@ -2566,10 +2575,10 @@ for (const [iconName, IconComponent] of Object.entries(BUILTIN_ICON_COMPONENTS))
|
|
|
2566
2575
|
var wrappedBuiltinIconsPart = tempWrappedBuiltinIcons;
|
|
2567
2576
|
var globalLucideIcons = __spreadValues(__spreadValues({}, styledLimitedIconsPart), wrappedBuiltinIconsPart);
|
|
2568
2577
|
var DEFAULT_FALLBACK_ICON = "BTC";
|
|
2569
|
-
function getGlobalIcon(iconKey,
|
|
2578
|
+
function getGlobalIcon(iconKey, createElement8) {
|
|
2570
2579
|
var _a;
|
|
2571
2580
|
if (!iconKey) {
|
|
2572
|
-
if (
|
|
2581
|
+
if (createElement8) {
|
|
2573
2582
|
return void 0;
|
|
2574
2583
|
}
|
|
2575
2584
|
return globalLucideIcons[DEFAULT_FALLBACK_ICON];
|
|
@@ -2582,12 +2591,12 @@ function getGlobalIcon(iconKey, createElement3) {
|
|
|
2582
2591
|
);
|
|
2583
2592
|
}
|
|
2584
2593
|
const FallbackIcon = globalLucideIcons[DEFAULT_FALLBACK_ICON];
|
|
2585
|
-
if (
|
|
2594
|
+
if (createElement8) {
|
|
2586
2595
|
return import_react34.default.createElement(FallbackIcon);
|
|
2587
2596
|
}
|
|
2588
2597
|
return FallbackIcon;
|
|
2589
2598
|
}
|
|
2590
|
-
if (
|
|
2599
|
+
if (createElement8) {
|
|
2591
2600
|
return import_react34.default.createElement(Icon2);
|
|
2592
2601
|
}
|
|
2593
2602
|
return Icon2;
|
|
@@ -2636,13 +2645,16 @@ function composeRefs(...refs) {
|
|
|
2636
2645
|
}
|
|
2637
2646
|
};
|
|
2638
2647
|
}
|
|
2648
|
+
function useComposedRefs(...refs) {
|
|
2649
|
+
return React33.useCallback(composeRefs(...refs), refs);
|
|
2650
|
+
}
|
|
2639
2651
|
|
|
2640
2652
|
// ../../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.1.2_react@19.1.0/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
2641
2653
|
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
2642
2654
|
// @__NO_SIDE_EFFECTS__
|
|
2643
2655
|
function createSlot(ownerName) {
|
|
2644
2656
|
const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
|
|
2645
|
-
const
|
|
2657
|
+
const Slot22 = React34.forwardRef((props, forwardedRef) => {
|
|
2646
2658
|
const _a = props, { children } = _a, slotProps = __objRest(_a, ["children"]);
|
|
2647
2659
|
const childrenArray = React34.Children.toArray(children);
|
|
2648
2660
|
const slottable = childrenArray.find(isSlottable);
|
|
@@ -2660,8 +2672,8 @@ function createSlot(ownerName) {
|
|
|
2660
2672
|
}
|
|
2661
2673
|
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SlotClone, __spreadProps(__spreadValues({}, slotProps), { ref: forwardedRef, children }));
|
|
2662
2674
|
});
|
|
2663
|
-
|
|
2664
|
-
return
|
|
2675
|
+
Slot22.displayName = `${ownerName}.Slot`;
|
|
2676
|
+
return Slot22;
|
|
2665
2677
|
}
|
|
2666
2678
|
var Slot = /* @__PURE__ */ createSlot("Slot");
|
|
2667
2679
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -2682,6 +2694,15 @@ function createSlotClone(ownerName) {
|
|
|
2682
2694
|
return SlotClone;
|
|
2683
2695
|
}
|
|
2684
2696
|
var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
|
|
2697
|
+
// @__NO_SIDE_EFFECTS__
|
|
2698
|
+
function createSlottable(ownerName) {
|
|
2699
|
+
const Slottable2 = ({ children }) => {
|
|
2700
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_jsx_runtime33.Fragment, { children });
|
|
2701
|
+
};
|
|
2702
|
+
Slottable2.displayName = `${ownerName}.Slottable`;
|
|
2703
|
+
Slottable2.__radixId = SLOTTABLE_IDENTIFIER;
|
|
2704
|
+
return Slottable2;
|
|
2705
|
+
}
|
|
2685
2706
|
function isSlottable(child) {
|
|
2686
2707
|
return React34.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
|
|
2687
2708
|
}
|
|
@@ -3503,8 +3524,2360 @@ function PricePlan({ currency = "$", pricePlanConfig }) {
|
|
|
3503
3524
|
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Tooltip, __spreadValues({}, tooltip))
|
|
3504
3525
|
] });
|
|
3505
3526
|
}
|
|
3527
|
+
|
|
3528
|
+
// src/main/ads-alert-dialog.tsx
|
|
3529
|
+
var import_react41 = require("react");
|
|
3530
|
+
var import_image2 = __toESM(require("next/image"));
|
|
3531
|
+
|
|
3532
|
+
// ../base-ui/src/ui/alert-dialog.tsx
|
|
3533
|
+
var React59 = __toESM(require("react"), 1);
|
|
3534
|
+
|
|
3535
|
+
// ../../node_modules/.pnpm/@radix-ui+react-alert-dialog@1.1.14_@types+react-dom@19.1.3_@types+react@19.1.2__@types_c6ff7006a888f63e36d2502e019661c3/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs
|
|
3536
|
+
var React58 = __toESM(require("react"), 1);
|
|
3537
|
+
|
|
3538
|
+
// ../../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@19.1.2_react@19.1.0/node_modules/@radix-ui/react-context/dist/index.mjs
|
|
3539
|
+
var React38 = __toESM(require("react"), 1);
|
|
3540
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
3541
|
+
function createContext2(rootComponentName, defaultContext) {
|
|
3542
|
+
const Context = React38.createContext(defaultContext);
|
|
3543
|
+
const Provider = (props) => {
|
|
3544
|
+
const _a = props, { children } = _a, context = __objRest(_a, ["children"]);
|
|
3545
|
+
const value = React38.useMemo(() => context, Object.values(context));
|
|
3546
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Context.Provider, { value, children });
|
|
3547
|
+
};
|
|
3548
|
+
Provider.displayName = rootComponentName + "Provider";
|
|
3549
|
+
function useContext22(consumerName) {
|
|
3550
|
+
const context = React38.useContext(Context);
|
|
3551
|
+
if (context) return context;
|
|
3552
|
+
if (defaultContext !== void 0) return defaultContext;
|
|
3553
|
+
throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
|
|
3554
|
+
}
|
|
3555
|
+
return [Provider, useContext22];
|
|
3556
|
+
}
|
|
3557
|
+
function createContextScope(scopeName, createContextScopeDeps = []) {
|
|
3558
|
+
let defaultContexts = [];
|
|
3559
|
+
function createContext32(rootComponentName, defaultContext) {
|
|
3560
|
+
const BaseContext = React38.createContext(defaultContext);
|
|
3561
|
+
const index = defaultContexts.length;
|
|
3562
|
+
defaultContexts = [...defaultContexts, defaultContext];
|
|
3563
|
+
const Provider = (props) => {
|
|
3564
|
+
var _b;
|
|
3565
|
+
const _a = props, { scope, children } = _a, context = __objRest(_a, ["scope", "children"]);
|
|
3566
|
+
const Context = ((_b = scope == null ? void 0 : scope[scopeName]) == null ? void 0 : _b[index]) || BaseContext;
|
|
3567
|
+
const value = React38.useMemo(() => context, Object.values(context));
|
|
3568
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Context.Provider, { value, children });
|
|
3569
|
+
};
|
|
3570
|
+
Provider.displayName = rootComponentName + "Provider";
|
|
3571
|
+
function useContext22(consumerName, scope) {
|
|
3572
|
+
var _a;
|
|
3573
|
+
const Context = ((_a = scope == null ? void 0 : scope[scopeName]) == null ? void 0 : _a[index]) || BaseContext;
|
|
3574
|
+
const context = React38.useContext(Context);
|
|
3575
|
+
if (context) return context;
|
|
3576
|
+
if (defaultContext !== void 0) return defaultContext;
|
|
3577
|
+
throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
|
|
3578
|
+
}
|
|
3579
|
+
return [Provider, useContext22];
|
|
3580
|
+
}
|
|
3581
|
+
const createScope = () => {
|
|
3582
|
+
const scopeContexts = defaultContexts.map((defaultContext) => {
|
|
3583
|
+
return React38.createContext(defaultContext);
|
|
3584
|
+
});
|
|
3585
|
+
return function useScope(scope) {
|
|
3586
|
+
const contexts = (scope == null ? void 0 : scope[scopeName]) || scopeContexts;
|
|
3587
|
+
return React38.useMemo(
|
|
3588
|
+
() => ({ [`__scope${scopeName}`]: __spreadProps(__spreadValues({}, scope), { [scopeName]: contexts }) }),
|
|
3589
|
+
[scope, contexts]
|
|
3590
|
+
);
|
|
3591
|
+
};
|
|
3592
|
+
};
|
|
3593
|
+
createScope.scopeName = scopeName;
|
|
3594
|
+
return [createContext32, composeContextScopes(createScope, ...createContextScopeDeps)];
|
|
3595
|
+
}
|
|
3596
|
+
function composeContextScopes(...scopes) {
|
|
3597
|
+
const baseScope = scopes[0];
|
|
3598
|
+
if (scopes.length === 1) return baseScope;
|
|
3599
|
+
const createScope = () => {
|
|
3600
|
+
const scopeHooks = scopes.map((createScope2) => ({
|
|
3601
|
+
useScope: createScope2(),
|
|
3602
|
+
scopeName: createScope2.scopeName
|
|
3603
|
+
}));
|
|
3604
|
+
return function useComposedScopes(overrideScopes) {
|
|
3605
|
+
const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {
|
|
3606
|
+
const scopeProps = useScope(overrideScopes);
|
|
3607
|
+
const currentScope = scopeProps[`__scope${scopeName}`];
|
|
3608
|
+
return __spreadValues(__spreadValues({}, nextScopes2), currentScope);
|
|
3609
|
+
}, {});
|
|
3610
|
+
return React38.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
|
|
3611
|
+
};
|
|
3612
|
+
};
|
|
3613
|
+
createScope.scopeName = baseScope.scopeName;
|
|
3614
|
+
return createScope;
|
|
3615
|
+
}
|
|
3616
|
+
|
|
3617
|
+
// ../../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.3_@types+react@19.1.2__@types+react_848f83211ce5e4d8275fe0d3e11a9387/node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
3618
|
+
var React57 = __toESM(require("react"), 1);
|
|
3619
|
+
|
|
3620
|
+
// ../../node_modules/.pnpm/@radix-ui+primitive@1.1.2/node_modules/@radix-ui/primitive/dist/index.mjs
|
|
3621
|
+
function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
3622
|
+
return function handleEvent(event) {
|
|
3623
|
+
originalEventHandler == null ? void 0 : originalEventHandler(event);
|
|
3624
|
+
if (checkForDefaultPrevented === false || !event.defaultPrevented) {
|
|
3625
|
+
return ourEventHandler == null ? void 0 : ourEventHandler(event);
|
|
3626
|
+
}
|
|
3627
|
+
};
|
|
3628
|
+
}
|
|
3629
|
+
|
|
3630
|
+
// ../../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.1.2_react@19.1.0/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
3631
|
+
var React40 = __toESM(require("react"), 1);
|
|
3632
|
+
|
|
3633
|
+
// ../../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.1.2_react@19.1.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
3634
|
+
var React39 = __toESM(require("react"), 1);
|
|
3635
|
+
var useLayoutEffect2 = (globalThis == null ? void 0 : globalThis.document) ? React39.useLayoutEffect : () => {
|
|
3636
|
+
};
|
|
3637
|
+
|
|
3638
|
+
// ../../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.1.2_react@19.1.0/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
3639
|
+
var useReactId = React40[" useId ".trim().toString()] || (() => void 0);
|
|
3640
|
+
var count = 0;
|
|
3641
|
+
function useId(deterministicId) {
|
|
3642
|
+
const [id, setId] = React40.useState(useReactId());
|
|
3643
|
+
useLayoutEffect2(() => {
|
|
3644
|
+
if (!deterministicId) setId((reactId) => reactId != null ? reactId : String(count++));
|
|
3645
|
+
}, [deterministicId]);
|
|
3646
|
+
return deterministicId || (id ? `radix-${id}` : "");
|
|
3647
|
+
}
|
|
3648
|
+
|
|
3649
|
+
// ../../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@19.1.2_react@19.1.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
3650
|
+
var React41 = __toESM(require("react"), 1);
|
|
3651
|
+
var React210 = __toESM(require("react"), 1);
|
|
3652
|
+
var useInsertionEffect = React41[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
|
|
3653
|
+
function useControllableState({
|
|
3654
|
+
prop,
|
|
3655
|
+
defaultProp,
|
|
3656
|
+
onChange = () => {
|
|
3657
|
+
},
|
|
3658
|
+
caller
|
|
3659
|
+
}) {
|
|
3660
|
+
const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({
|
|
3661
|
+
defaultProp,
|
|
3662
|
+
onChange
|
|
3663
|
+
});
|
|
3664
|
+
const isControlled = prop !== void 0;
|
|
3665
|
+
const value = isControlled ? prop : uncontrolledProp;
|
|
3666
|
+
if (true) {
|
|
3667
|
+
const isControlledRef = React41.useRef(prop !== void 0);
|
|
3668
|
+
React41.useEffect(() => {
|
|
3669
|
+
const wasControlled = isControlledRef.current;
|
|
3670
|
+
if (wasControlled !== isControlled) {
|
|
3671
|
+
const from = wasControlled ? "controlled" : "uncontrolled";
|
|
3672
|
+
const to = isControlled ? "controlled" : "uncontrolled";
|
|
3673
|
+
console.warn(
|
|
3674
|
+
`${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
|
|
3675
|
+
);
|
|
3676
|
+
}
|
|
3677
|
+
isControlledRef.current = isControlled;
|
|
3678
|
+
}, [isControlled, caller]);
|
|
3679
|
+
}
|
|
3680
|
+
const setValue = React41.useCallback(
|
|
3681
|
+
(nextValue) => {
|
|
3682
|
+
var _a;
|
|
3683
|
+
if (isControlled) {
|
|
3684
|
+
const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;
|
|
3685
|
+
if (value2 !== prop) {
|
|
3686
|
+
(_a = onChangeRef.current) == null ? void 0 : _a.call(onChangeRef, value2);
|
|
3687
|
+
}
|
|
3688
|
+
} else {
|
|
3689
|
+
setUncontrolledProp(nextValue);
|
|
3690
|
+
}
|
|
3691
|
+
},
|
|
3692
|
+
[isControlled, prop, setUncontrolledProp, onChangeRef]
|
|
3693
|
+
);
|
|
3694
|
+
return [value, setValue];
|
|
3695
|
+
}
|
|
3696
|
+
function useUncontrolledState({
|
|
3697
|
+
defaultProp,
|
|
3698
|
+
onChange
|
|
3699
|
+
}) {
|
|
3700
|
+
const [value, setValue] = React41.useState(defaultProp);
|
|
3701
|
+
const prevValueRef = React41.useRef(value);
|
|
3702
|
+
const onChangeRef = React41.useRef(onChange);
|
|
3703
|
+
useInsertionEffect(() => {
|
|
3704
|
+
onChangeRef.current = onChange;
|
|
3705
|
+
}, [onChange]);
|
|
3706
|
+
React41.useEffect(() => {
|
|
3707
|
+
var _a;
|
|
3708
|
+
if (prevValueRef.current !== value) {
|
|
3709
|
+
(_a = onChangeRef.current) == null ? void 0 : _a.call(onChangeRef, value);
|
|
3710
|
+
prevValueRef.current = value;
|
|
3711
|
+
}
|
|
3712
|
+
}, [value, prevValueRef]);
|
|
3713
|
+
return [value, setValue, onChangeRef];
|
|
3714
|
+
}
|
|
3715
|
+
function isFunction(value) {
|
|
3716
|
+
return typeof value === "function";
|
|
3717
|
+
}
|
|
3718
|
+
var SYNC_STATE = Symbol("RADIX:SYNC_STATE");
|
|
3719
|
+
|
|
3720
|
+
// ../../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.3_@types+react@19.1.2__@_048ea5800fbfacb7489e4b7d728b493c/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
3721
|
+
var React45 = __toESM(require("react"), 1);
|
|
3722
|
+
|
|
3723
|
+
// ../../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.1.3_@types+react@19.1.2__@types+rea_43250ccbc78c27b15284efcf829a65d5/node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
3724
|
+
var React42 = __toESM(require("react"), 1);
|
|
3725
|
+
var ReactDOM = __toESM(require("react-dom"), 1);
|
|
3726
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
3727
|
+
var NODES = [
|
|
3728
|
+
"a",
|
|
3729
|
+
"button",
|
|
3730
|
+
"div",
|
|
3731
|
+
"form",
|
|
3732
|
+
"h2",
|
|
3733
|
+
"h3",
|
|
3734
|
+
"img",
|
|
3735
|
+
"input",
|
|
3736
|
+
"label",
|
|
3737
|
+
"li",
|
|
3738
|
+
"nav",
|
|
3739
|
+
"ol",
|
|
3740
|
+
"p",
|
|
3741
|
+
"select",
|
|
3742
|
+
"span",
|
|
3743
|
+
"svg",
|
|
3744
|
+
"ul"
|
|
3745
|
+
];
|
|
3746
|
+
var Primitive = NODES.reduce((primitive, node) => {
|
|
3747
|
+
const Slot3 = createSlot(`Primitive.${node}`);
|
|
3748
|
+
const Node2 = React42.forwardRef((props, forwardedRef) => {
|
|
3749
|
+
const _a = props, { asChild } = _a, primitiveProps = __objRest(_a, ["asChild"]);
|
|
3750
|
+
const Comp = asChild ? Slot3 : node;
|
|
3751
|
+
if (typeof window !== "undefined") {
|
|
3752
|
+
window[Symbol.for("radix-ui")] = true;
|
|
3753
|
+
}
|
|
3754
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Comp, __spreadProps(__spreadValues({}, primitiveProps), { ref: forwardedRef }));
|
|
3755
|
+
});
|
|
3756
|
+
Node2.displayName = `Primitive.${node}`;
|
|
3757
|
+
return __spreadProps(__spreadValues({}, primitive), { [node]: Node2 });
|
|
3758
|
+
}, {});
|
|
3759
|
+
function dispatchDiscreteCustomEvent(target, event) {
|
|
3760
|
+
if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));
|
|
3761
|
+
}
|
|
3762
|
+
|
|
3763
|
+
// ../../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.1.2_react@19.1.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
3764
|
+
var React43 = __toESM(require("react"), 1);
|
|
3765
|
+
function useCallbackRef(callback) {
|
|
3766
|
+
const callbackRef = React43.useRef(callback);
|
|
3767
|
+
React43.useEffect(() => {
|
|
3768
|
+
callbackRef.current = callback;
|
|
3769
|
+
});
|
|
3770
|
+
return React43.useMemo(() => (...args) => {
|
|
3771
|
+
var _a;
|
|
3772
|
+
return (_a = callbackRef.current) == null ? void 0 : _a.call(callbackRef, ...args);
|
|
3773
|
+
}, []);
|
|
3774
|
+
}
|
|
3775
|
+
|
|
3776
|
+
// ../../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@19.1.2_react@19.1.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
3777
|
+
var React44 = __toESM(require("react"), 1);
|
|
3778
|
+
function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis == null ? void 0 : globalThis.document) {
|
|
3779
|
+
const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);
|
|
3780
|
+
React44.useEffect(() => {
|
|
3781
|
+
const handleKeyDown = (event) => {
|
|
3782
|
+
if (event.key === "Escape") {
|
|
3783
|
+
onEscapeKeyDown(event);
|
|
3784
|
+
}
|
|
3785
|
+
};
|
|
3786
|
+
ownerDocument.addEventListener("keydown", handleKeyDown, { capture: true });
|
|
3787
|
+
return () => ownerDocument.removeEventListener("keydown", handleKeyDown, { capture: true });
|
|
3788
|
+
}, [onEscapeKeyDown, ownerDocument]);
|
|
3789
|
+
}
|
|
3790
|
+
|
|
3791
|
+
// ../../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.3_@types+react@19.1.2__@_048ea5800fbfacb7489e4b7d728b493c/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
3792
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
3793
|
+
var DISMISSABLE_LAYER_NAME = "DismissableLayer";
|
|
3794
|
+
var CONTEXT_UPDATE = "dismissableLayer.update";
|
|
3795
|
+
var POINTER_DOWN_OUTSIDE = "dismissableLayer.pointerDownOutside";
|
|
3796
|
+
var FOCUS_OUTSIDE = "dismissableLayer.focusOutside";
|
|
3797
|
+
var originalBodyPointerEvents;
|
|
3798
|
+
var DismissableLayerContext = React45.createContext({
|
|
3799
|
+
layers: /* @__PURE__ */ new Set(),
|
|
3800
|
+
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
3801
|
+
branches: /* @__PURE__ */ new Set()
|
|
3802
|
+
});
|
|
3803
|
+
var DismissableLayer = React45.forwardRef(
|
|
3804
|
+
(props, forwardedRef) => {
|
|
3805
|
+
var _b;
|
|
3806
|
+
const _a = props, {
|
|
3807
|
+
disableOutsidePointerEvents = false,
|
|
3808
|
+
onEscapeKeyDown,
|
|
3809
|
+
onPointerDownOutside,
|
|
3810
|
+
onFocusOutside,
|
|
3811
|
+
onInteractOutside,
|
|
3812
|
+
onDismiss
|
|
3813
|
+
} = _a, layerProps = __objRest(_a, [
|
|
3814
|
+
"disableOutsidePointerEvents",
|
|
3815
|
+
"onEscapeKeyDown",
|
|
3816
|
+
"onPointerDownOutside",
|
|
3817
|
+
"onFocusOutside",
|
|
3818
|
+
"onInteractOutside",
|
|
3819
|
+
"onDismiss"
|
|
3820
|
+
]);
|
|
3821
|
+
const context = React45.useContext(DismissableLayerContext);
|
|
3822
|
+
const [node, setNode] = React45.useState(null);
|
|
3823
|
+
const ownerDocument = (_b = node == null ? void 0 : node.ownerDocument) != null ? _b : globalThis == null ? void 0 : globalThis.document;
|
|
3824
|
+
const [, force] = React45.useState({});
|
|
3825
|
+
const composedRefs = useComposedRefs(forwardedRef, (node2) => setNode(node2));
|
|
3826
|
+
const layers = Array.from(context.layers);
|
|
3827
|
+
const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1);
|
|
3828
|
+
const highestLayerWithOutsidePointerEventsDisabledIndex = layers.indexOf(highestLayerWithOutsidePointerEventsDisabled);
|
|
3829
|
+
const index = node ? layers.indexOf(node) : -1;
|
|
3830
|
+
const isBodyPointerEventsDisabled = context.layersWithOutsidePointerEventsDisabled.size > 0;
|
|
3831
|
+
const isPointerEventsEnabled = index >= highestLayerWithOutsidePointerEventsDisabledIndex;
|
|
3832
|
+
const pointerDownOutside = usePointerDownOutside((event) => {
|
|
3833
|
+
const target = event.target;
|
|
3834
|
+
const isPointerDownOnBranch = [...context.branches].some((branch) => branch.contains(target));
|
|
3835
|
+
if (!isPointerEventsEnabled || isPointerDownOnBranch) return;
|
|
3836
|
+
onPointerDownOutside == null ? void 0 : onPointerDownOutside(event);
|
|
3837
|
+
onInteractOutside == null ? void 0 : onInteractOutside(event);
|
|
3838
|
+
if (!event.defaultPrevented) onDismiss == null ? void 0 : onDismiss();
|
|
3839
|
+
}, ownerDocument);
|
|
3840
|
+
const focusOutside = useFocusOutside((event) => {
|
|
3841
|
+
const target = event.target;
|
|
3842
|
+
const isFocusInBranch = [...context.branches].some((branch) => branch.contains(target));
|
|
3843
|
+
if (isFocusInBranch) return;
|
|
3844
|
+
onFocusOutside == null ? void 0 : onFocusOutside(event);
|
|
3845
|
+
onInteractOutside == null ? void 0 : onInteractOutside(event);
|
|
3846
|
+
if (!event.defaultPrevented) onDismiss == null ? void 0 : onDismiss();
|
|
3847
|
+
}, ownerDocument);
|
|
3848
|
+
useEscapeKeydown((event) => {
|
|
3849
|
+
const isHighestLayer = index === context.layers.size - 1;
|
|
3850
|
+
if (!isHighestLayer) return;
|
|
3851
|
+
onEscapeKeyDown == null ? void 0 : onEscapeKeyDown(event);
|
|
3852
|
+
if (!event.defaultPrevented && onDismiss) {
|
|
3853
|
+
event.preventDefault();
|
|
3854
|
+
onDismiss();
|
|
3855
|
+
}
|
|
3856
|
+
}, ownerDocument);
|
|
3857
|
+
React45.useEffect(() => {
|
|
3858
|
+
if (!node) return;
|
|
3859
|
+
if (disableOutsidePointerEvents) {
|
|
3860
|
+
if (context.layersWithOutsidePointerEventsDisabled.size === 0) {
|
|
3861
|
+
originalBodyPointerEvents = ownerDocument.body.style.pointerEvents;
|
|
3862
|
+
ownerDocument.body.style.pointerEvents = "none";
|
|
3863
|
+
}
|
|
3864
|
+
context.layersWithOutsidePointerEventsDisabled.add(node);
|
|
3865
|
+
}
|
|
3866
|
+
context.layers.add(node);
|
|
3867
|
+
dispatchUpdate();
|
|
3868
|
+
return () => {
|
|
3869
|
+
if (disableOutsidePointerEvents && context.layersWithOutsidePointerEventsDisabled.size === 1) {
|
|
3870
|
+
ownerDocument.body.style.pointerEvents = originalBodyPointerEvents;
|
|
3871
|
+
}
|
|
3872
|
+
};
|
|
3873
|
+
}, [node, ownerDocument, disableOutsidePointerEvents, context]);
|
|
3874
|
+
React45.useEffect(() => {
|
|
3875
|
+
return () => {
|
|
3876
|
+
if (!node) return;
|
|
3877
|
+
context.layers.delete(node);
|
|
3878
|
+
context.layersWithOutsidePointerEventsDisabled.delete(node);
|
|
3879
|
+
dispatchUpdate();
|
|
3880
|
+
};
|
|
3881
|
+
}, [node, context]);
|
|
3882
|
+
React45.useEffect(() => {
|
|
3883
|
+
const handleUpdate = () => force({});
|
|
3884
|
+
document.addEventListener(CONTEXT_UPDATE, handleUpdate);
|
|
3885
|
+
return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);
|
|
3886
|
+
}, []);
|
|
3887
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
3888
|
+
Primitive.div,
|
|
3889
|
+
__spreadProps(__spreadValues({}, layerProps), {
|
|
3890
|
+
ref: composedRefs,
|
|
3891
|
+
style: __spreadValues({
|
|
3892
|
+
pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? "auto" : "none" : void 0
|
|
3893
|
+
}, props.style),
|
|
3894
|
+
onFocusCapture: composeEventHandlers(props.onFocusCapture, focusOutside.onFocusCapture),
|
|
3895
|
+
onBlurCapture: composeEventHandlers(props.onBlurCapture, focusOutside.onBlurCapture),
|
|
3896
|
+
onPointerDownCapture: composeEventHandlers(
|
|
3897
|
+
props.onPointerDownCapture,
|
|
3898
|
+
pointerDownOutside.onPointerDownCapture
|
|
3899
|
+
)
|
|
3900
|
+
})
|
|
3901
|
+
);
|
|
3902
|
+
}
|
|
3903
|
+
);
|
|
3904
|
+
DismissableLayer.displayName = DISMISSABLE_LAYER_NAME;
|
|
3905
|
+
var BRANCH_NAME = "DismissableLayerBranch";
|
|
3906
|
+
var DismissableLayerBranch = React45.forwardRef((props, forwardedRef) => {
|
|
3907
|
+
const context = React45.useContext(DismissableLayerContext);
|
|
3908
|
+
const ref = React45.useRef(null);
|
|
3909
|
+
const composedRefs = useComposedRefs(forwardedRef, ref);
|
|
3910
|
+
React45.useEffect(() => {
|
|
3911
|
+
const node = ref.current;
|
|
3912
|
+
if (node) {
|
|
3913
|
+
context.branches.add(node);
|
|
3914
|
+
return () => {
|
|
3915
|
+
context.branches.delete(node);
|
|
3916
|
+
};
|
|
3917
|
+
}
|
|
3918
|
+
}, [context.branches]);
|
|
3919
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Primitive.div, __spreadProps(__spreadValues({}, props), { ref: composedRefs }));
|
|
3920
|
+
});
|
|
3921
|
+
DismissableLayerBranch.displayName = BRANCH_NAME;
|
|
3922
|
+
function usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis == null ? void 0 : globalThis.document) {
|
|
3923
|
+
const handlePointerDownOutside = useCallbackRef(onPointerDownOutside);
|
|
3924
|
+
const isPointerInsideReactTreeRef = React45.useRef(false);
|
|
3925
|
+
const handleClickRef = React45.useRef(() => {
|
|
3926
|
+
});
|
|
3927
|
+
React45.useEffect(() => {
|
|
3928
|
+
const handlePointerDown = (event) => {
|
|
3929
|
+
if (event.target && !isPointerInsideReactTreeRef.current) {
|
|
3930
|
+
let handleAndDispatchPointerDownOutsideEvent2 = function() {
|
|
3931
|
+
handleAndDispatchCustomEvent(
|
|
3932
|
+
POINTER_DOWN_OUTSIDE,
|
|
3933
|
+
handlePointerDownOutside,
|
|
3934
|
+
eventDetail,
|
|
3935
|
+
{ discrete: true }
|
|
3936
|
+
);
|
|
3937
|
+
};
|
|
3938
|
+
var handleAndDispatchPointerDownOutsideEvent = handleAndDispatchPointerDownOutsideEvent2;
|
|
3939
|
+
const eventDetail = { originalEvent: event };
|
|
3940
|
+
if (event.pointerType === "touch") {
|
|
3941
|
+
ownerDocument.removeEventListener("click", handleClickRef.current);
|
|
3942
|
+
handleClickRef.current = handleAndDispatchPointerDownOutsideEvent2;
|
|
3943
|
+
ownerDocument.addEventListener("click", handleClickRef.current, { once: true });
|
|
3944
|
+
} else {
|
|
3945
|
+
handleAndDispatchPointerDownOutsideEvent2();
|
|
3946
|
+
}
|
|
3947
|
+
} else {
|
|
3948
|
+
ownerDocument.removeEventListener("click", handleClickRef.current);
|
|
3949
|
+
}
|
|
3950
|
+
isPointerInsideReactTreeRef.current = false;
|
|
3951
|
+
};
|
|
3952
|
+
const timerId = window.setTimeout(() => {
|
|
3953
|
+
ownerDocument.addEventListener("pointerdown", handlePointerDown);
|
|
3954
|
+
}, 0);
|
|
3955
|
+
return () => {
|
|
3956
|
+
window.clearTimeout(timerId);
|
|
3957
|
+
ownerDocument.removeEventListener("pointerdown", handlePointerDown);
|
|
3958
|
+
ownerDocument.removeEventListener("click", handleClickRef.current);
|
|
3959
|
+
};
|
|
3960
|
+
}, [ownerDocument, handlePointerDownOutside]);
|
|
3961
|
+
return {
|
|
3962
|
+
// ensures we check React component tree (not just DOM tree)
|
|
3963
|
+
onPointerDownCapture: () => isPointerInsideReactTreeRef.current = true
|
|
3964
|
+
};
|
|
3965
|
+
}
|
|
3966
|
+
function useFocusOutside(onFocusOutside, ownerDocument = globalThis == null ? void 0 : globalThis.document) {
|
|
3967
|
+
const handleFocusOutside = useCallbackRef(onFocusOutside);
|
|
3968
|
+
const isFocusInsideReactTreeRef = React45.useRef(false);
|
|
3969
|
+
React45.useEffect(() => {
|
|
3970
|
+
const handleFocus = (event) => {
|
|
3971
|
+
if (event.target && !isFocusInsideReactTreeRef.current) {
|
|
3972
|
+
const eventDetail = { originalEvent: event };
|
|
3973
|
+
handleAndDispatchCustomEvent(FOCUS_OUTSIDE, handleFocusOutside, eventDetail, {
|
|
3974
|
+
discrete: false
|
|
3975
|
+
});
|
|
3976
|
+
}
|
|
3977
|
+
};
|
|
3978
|
+
ownerDocument.addEventListener("focusin", handleFocus);
|
|
3979
|
+
return () => ownerDocument.removeEventListener("focusin", handleFocus);
|
|
3980
|
+
}, [ownerDocument, handleFocusOutside]);
|
|
3981
|
+
return {
|
|
3982
|
+
onFocusCapture: () => isFocusInsideReactTreeRef.current = true,
|
|
3983
|
+
onBlurCapture: () => isFocusInsideReactTreeRef.current = false
|
|
3984
|
+
};
|
|
3985
|
+
}
|
|
3986
|
+
function dispatchUpdate() {
|
|
3987
|
+
const event = new CustomEvent(CONTEXT_UPDATE);
|
|
3988
|
+
document.dispatchEvent(event);
|
|
3989
|
+
}
|
|
3990
|
+
function handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {
|
|
3991
|
+
const target = detail.originalEvent.target;
|
|
3992
|
+
const event = new CustomEvent(name, { bubbles: false, cancelable: true, detail });
|
|
3993
|
+
if (handler) target.addEventListener(name, handler, { once: true });
|
|
3994
|
+
if (discrete) {
|
|
3995
|
+
dispatchDiscreteCustomEvent(target, event);
|
|
3996
|
+
} else {
|
|
3997
|
+
target.dispatchEvent(event);
|
|
3998
|
+
}
|
|
3999
|
+
}
|
|
4000
|
+
|
|
4001
|
+
// ../../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.1.3_@types+react@19.1.2__@types+r_1ff7b04b7c975087a2da2b1568ac976e/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
4002
|
+
var React46 = __toESM(require("react"), 1);
|
|
4003
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
4004
|
+
var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
|
|
4005
|
+
var AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount";
|
|
4006
|
+
var EVENT_OPTIONS = { bubbles: false, cancelable: true };
|
|
4007
|
+
var FOCUS_SCOPE_NAME = "FocusScope";
|
|
4008
|
+
var FocusScope = React46.forwardRef((props, forwardedRef) => {
|
|
4009
|
+
const _a = props, {
|
|
4010
|
+
loop = false,
|
|
4011
|
+
trapped = false,
|
|
4012
|
+
onMountAutoFocus: onMountAutoFocusProp,
|
|
4013
|
+
onUnmountAutoFocus: onUnmountAutoFocusProp
|
|
4014
|
+
} = _a, scopeProps = __objRest(_a, [
|
|
4015
|
+
"loop",
|
|
4016
|
+
"trapped",
|
|
4017
|
+
"onMountAutoFocus",
|
|
4018
|
+
"onUnmountAutoFocus"
|
|
4019
|
+
]);
|
|
4020
|
+
const [container, setContainer] = React46.useState(null);
|
|
4021
|
+
const onMountAutoFocus = useCallbackRef(onMountAutoFocusProp);
|
|
4022
|
+
const onUnmountAutoFocus = useCallbackRef(onUnmountAutoFocusProp);
|
|
4023
|
+
const lastFocusedElementRef = React46.useRef(null);
|
|
4024
|
+
const composedRefs = useComposedRefs(forwardedRef, (node) => setContainer(node));
|
|
4025
|
+
const focusScope = React46.useRef({
|
|
4026
|
+
paused: false,
|
|
4027
|
+
pause() {
|
|
4028
|
+
this.paused = true;
|
|
4029
|
+
},
|
|
4030
|
+
resume() {
|
|
4031
|
+
this.paused = false;
|
|
4032
|
+
}
|
|
4033
|
+
}).current;
|
|
4034
|
+
React46.useEffect(() => {
|
|
4035
|
+
if (trapped) {
|
|
4036
|
+
let handleFocusIn2 = function(event) {
|
|
4037
|
+
if (focusScope.paused || !container) return;
|
|
4038
|
+
const target = event.target;
|
|
4039
|
+
if (container.contains(target)) {
|
|
4040
|
+
lastFocusedElementRef.current = target;
|
|
4041
|
+
} else {
|
|
4042
|
+
focus(lastFocusedElementRef.current, { select: true });
|
|
4043
|
+
}
|
|
4044
|
+
}, handleFocusOut2 = function(event) {
|
|
4045
|
+
if (focusScope.paused || !container) return;
|
|
4046
|
+
const relatedTarget = event.relatedTarget;
|
|
4047
|
+
if (relatedTarget === null) return;
|
|
4048
|
+
if (!container.contains(relatedTarget)) {
|
|
4049
|
+
focus(lastFocusedElementRef.current, { select: true });
|
|
4050
|
+
}
|
|
4051
|
+
}, handleMutations2 = function(mutations) {
|
|
4052
|
+
const focusedElement = document.activeElement;
|
|
4053
|
+
if (focusedElement !== document.body) return;
|
|
4054
|
+
for (const mutation of mutations) {
|
|
4055
|
+
if (mutation.removedNodes.length > 0) focus(container);
|
|
4056
|
+
}
|
|
4057
|
+
};
|
|
4058
|
+
var handleFocusIn = handleFocusIn2, handleFocusOut = handleFocusOut2, handleMutations = handleMutations2;
|
|
4059
|
+
document.addEventListener("focusin", handleFocusIn2);
|
|
4060
|
+
document.addEventListener("focusout", handleFocusOut2);
|
|
4061
|
+
const mutationObserver = new MutationObserver(handleMutations2);
|
|
4062
|
+
if (container) mutationObserver.observe(container, { childList: true, subtree: true });
|
|
4063
|
+
return () => {
|
|
4064
|
+
document.removeEventListener("focusin", handleFocusIn2);
|
|
4065
|
+
document.removeEventListener("focusout", handleFocusOut2);
|
|
4066
|
+
mutationObserver.disconnect();
|
|
4067
|
+
};
|
|
4068
|
+
}
|
|
4069
|
+
}, [trapped, container, focusScope.paused]);
|
|
4070
|
+
React46.useEffect(() => {
|
|
4071
|
+
if (container) {
|
|
4072
|
+
focusScopesStack.add(focusScope);
|
|
4073
|
+
const previouslyFocusedElement = document.activeElement;
|
|
4074
|
+
const hasFocusedCandidate = container.contains(previouslyFocusedElement);
|
|
4075
|
+
if (!hasFocusedCandidate) {
|
|
4076
|
+
const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);
|
|
4077
|
+
container.addEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);
|
|
4078
|
+
container.dispatchEvent(mountEvent);
|
|
4079
|
+
if (!mountEvent.defaultPrevented) {
|
|
4080
|
+
focusFirst(removeLinks(getTabbableCandidates(container)), { select: true });
|
|
4081
|
+
if (document.activeElement === previouslyFocusedElement) {
|
|
4082
|
+
focus(container);
|
|
4083
|
+
}
|
|
4084
|
+
}
|
|
4085
|
+
}
|
|
4086
|
+
return () => {
|
|
4087
|
+
container.removeEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);
|
|
4088
|
+
setTimeout(() => {
|
|
4089
|
+
const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);
|
|
4090
|
+
container.addEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);
|
|
4091
|
+
container.dispatchEvent(unmountEvent);
|
|
4092
|
+
if (!unmountEvent.defaultPrevented) {
|
|
4093
|
+
focus(previouslyFocusedElement != null ? previouslyFocusedElement : document.body, { select: true });
|
|
4094
|
+
}
|
|
4095
|
+
container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);
|
|
4096
|
+
focusScopesStack.remove(focusScope);
|
|
4097
|
+
}, 0);
|
|
4098
|
+
};
|
|
4099
|
+
}
|
|
4100
|
+
}, [container, onMountAutoFocus, onUnmountAutoFocus, focusScope]);
|
|
4101
|
+
const handleKeyDown = React46.useCallback(
|
|
4102
|
+
(event) => {
|
|
4103
|
+
if (!loop && !trapped) return;
|
|
4104
|
+
if (focusScope.paused) return;
|
|
4105
|
+
const isTabKey = event.key === "Tab" && !event.altKey && !event.ctrlKey && !event.metaKey;
|
|
4106
|
+
const focusedElement = document.activeElement;
|
|
4107
|
+
if (isTabKey && focusedElement) {
|
|
4108
|
+
const container2 = event.currentTarget;
|
|
4109
|
+
const [first, last] = getTabbableEdges(container2);
|
|
4110
|
+
const hasTabbableElementsInside = first && last;
|
|
4111
|
+
if (!hasTabbableElementsInside) {
|
|
4112
|
+
if (focusedElement === container2) event.preventDefault();
|
|
4113
|
+
} else {
|
|
4114
|
+
if (!event.shiftKey && focusedElement === last) {
|
|
4115
|
+
event.preventDefault();
|
|
4116
|
+
if (loop) focus(first, { select: true });
|
|
4117
|
+
} else if (event.shiftKey && focusedElement === first) {
|
|
4118
|
+
event.preventDefault();
|
|
4119
|
+
if (loop) focus(last, { select: true });
|
|
4120
|
+
}
|
|
4121
|
+
}
|
|
4122
|
+
}
|
|
4123
|
+
},
|
|
4124
|
+
[loop, trapped, focusScope.paused]
|
|
4125
|
+
);
|
|
4126
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Primitive.div, __spreadProps(__spreadValues({ tabIndex: -1 }, scopeProps), { ref: composedRefs, onKeyDown: handleKeyDown }));
|
|
4127
|
+
});
|
|
4128
|
+
FocusScope.displayName = FOCUS_SCOPE_NAME;
|
|
4129
|
+
function focusFirst(candidates, { select = false } = {}) {
|
|
4130
|
+
const previouslyFocusedElement = document.activeElement;
|
|
4131
|
+
for (const candidate of candidates) {
|
|
4132
|
+
focus(candidate, { select });
|
|
4133
|
+
if (document.activeElement !== previouslyFocusedElement) return;
|
|
4134
|
+
}
|
|
4135
|
+
}
|
|
4136
|
+
function getTabbableEdges(container) {
|
|
4137
|
+
const candidates = getTabbableCandidates(container);
|
|
4138
|
+
const first = findVisible(candidates, container);
|
|
4139
|
+
const last = findVisible(candidates.reverse(), container);
|
|
4140
|
+
return [first, last];
|
|
4141
|
+
}
|
|
4142
|
+
function getTabbableCandidates(container) {
|
|
4143
|
+
const nodes = [];
|
|
4144
|
+
const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {
|
|
4145
|
+
acceptNode: (node) => {
|
|
4146
|
+
const isHiddenInput = node.tagName === "INPUT" && node.type === "hidden";
|
|
4147
|
+
if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;
|
|
4148
|
+
return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
4149
|
+
}
|
|
4150
|
+
});
|
|
4151
|
+
while (walker.nextNode()) nodes.push(walker.currentNode);
|
|
4152
|
+
return nodes;
|
|
4153
|
+
}
|
|
4154
|
+
function findVisible(elements, container) {
|
|
4155
|
+
for (const element of elements) {
|
|
4156
|
+
if (!isHidden(element, { upTo: container })) return element;
|
|
4157
|
+
}
|
|
4158
|
+
}
|
|
4159
|
+
function isHidden(node, { upTo }) {
|
|
4160
|
+
if (getComputedStyle(node).visibility === "hidden") return true;
|
|
4161
|
+
while (node) {
|
|
4162
|
+
if (upTo !== void 0 && node === upTo) return false;
|
|
4163
|
+
if (getComputedStyle(node).display === "none") return true;
|
|
4164
|
+
node = node.parentElement;
|
|
4165
|
+
}
|
|
4166
|
+
return false;
|
|
4167
|
+
}
|
|
4168
|
+
function isSelectableInput(element) {
|
|
4169
|
+
return element instanceof HTMLInputElement && "select" in element;
|
|
4170
|
+
}
|
|
4171
|
+
function focus(element, { select = false } = {}) {
|
|
4172
|
+
if (element && element.focus) {
|
|
4173
|
+
const previouslyFocusedElement = document.activeElement;
|
|
4174
|
+
element.focus({ preventScroll: true });
|
|
4175
|
+
if (element !== previouslyFocusedElement && isSelectableInput(element) && select)
|
|
4176
|
+
element.select();
|
|
4177
|
+
}
|
|
4178
|
+
}
|
|
4179
|
+
var focusScopesStack = createFocusScopesStack();
|
|
4180
|
+
function createFocusScopesStack() {
|
|
4181
|
+
let stack = [];
|
|
4182
|
+
return {
|
|
4183
|
+
add(focusScope) {
|
|
4184
|
+
const activeFocusScope = stack[0];
|
|
4185
|
+
if (focusScope !== activeFocusScope) {
|
|
4186
|
+
activeFocusScope == null ? void 0 : activeFocusScope.pause();
|
|
4187
|
+
}
|
|
4188
|
+
stack = arrayRemove(stack, focusScope);
|
|
4189
|
+
stack.unshift(focusScope);
|
|
4190
|
+
},
|
|
4191
|
+
remove(focusScope) {
|
|
4192
|
+
var _a;
|
|
4193
|
+
stack = arrayRemove(stack, focusScope);
|
|
4194
|
+
(_a = stack[0]) == null ? void 0 : _a.resume();
|
|
4195
|
+
}
|
|
4196
|
+
};
|
|
4197
|
+
}
|
|
4198
|
+
function arrayRemove(array, item) {
|
|
4199
|
+
const updatedArray = [...array];
|
|
4200
|
+
const index = updatedArray.indexOf(item);
|
|
4201
|
+
if (index !== -1) {
|
|
4202
|
+
updatedArray.splice(index, 1);
|
|
4203
|
+
}
|
|
4204
|
+
return updatedArray;
|
|
4205
|
+
}
|
|
4206
|
+
function removeLinks(items) {
|
|
4207
|
+
return items.filter((item) => item.tagName !== "A");
|
|
4208
|
+
}
|
|
4209
|
+
|
|
4210
|
+
// ../../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.1.3_@types+react@19.1.2__@types+react@_a0745de0839b0b019298ec068509a840/node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
4211
|
+
var React47 = __toESM(require("react"), 1);
|
|
4212
|
+
var import_react_dom = __toESM(require("react-dom"), 1);
|
|
4213
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
4214
|
+
var PORTAL_NAME = "Portal";
|
|
4215
|
+
var Portal = React47.forwardRef((props, forwardedRef) => {
|
|
4216
|
+
var _b;
|
|
4217
|
+
const _a = props, { container: containerProp } = _a, portalProps = __objRest(_a, ["container"]);
|
|
4218
|
+
const [mounted, setMounted] = React47.useState(false);
|
|
4219
|
+
useLayoutEffect2(() => setMounted(true), []);
|
|
4220
|
+
const container = containerProp || mounted && ((_b = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : _b.body);
|
|
4221
|
+
return container ? import_react_dom.default.createPortal(/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Primitive.div, __spreadProps(__spreadValues({}, portalProps), { ref: forwardedRef })), container) : null;
|
|
4222
|
+
});
|
|
4223
|
+
Portal.displayName = PORTAL_NAME;
|
|
4224
|
+
|
|
4225
|
+
// ../../node_modules/.pnpm/@radix-ui+react-presence@1.1.4_@types+react-dom@19.1.3_@types+react@19.1.2__@types+reac_dbbe976722e7c3e02883ea31c3bbbf14/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
4226
|
+
var React211 = __toESM(require("react"), 1);
|
|
4227
|
+
var React48 = __toESM(require("react"), 1);
|
|
4228
|
+
function useStateMachine(initialState, machine) {
|
|
4229
|
+
return React48.useReducer((state, event) => {
|
|
4230
|
+
const nextState = machine[state][event];
|
|
4231
|
+
return nextState != null ? nextState : state;
|
|
4232
|
+
}, initialState);
|
|
4233
|
+
}
|
|
4234
|
+
var Presence = (props) => {
|
|
4235
|
+
const { present, children } = props;
|
|
4236
|
+
const presence = usePresence(present);
|
|
4237
|
+
const child = typeof children === "function" ? children({ present: presence.isPresent }) : React211.Children.only(children);
|
|
4238
|
+
const ref = useComposedRefs(presence.ref, getElementRef2(child));
|
|
4239
|
+
const forceMount = typeof children === "function";
|
|
4240
|
+
return forceMount || presence.isPresent ? React211.cloneElement(child, { ref }) : null;
|
|
4241
|
+
};
|
|
4242
|
+
Presence.displayName = "Presence";
|
|
4243
|
+
function usePresence(present) {
|
|
4244
|
+
const [node, setNode] = React211.useState();
|
|
4245
|
+
const stylesRef = React211.useRef(null);
|
|
4246
|
+
const prevPresentRef = React211.useRef(present);
|
|
4247
|
+
const prevAnimationNameRef = React211.useRef("none");
|
|
4248
|
+
const initialState = present ? "mounted" : "unmounted";
|
|
4249
|
+
const [state, send] = useStateMachine(initialState, {
|
|
4250
|
+
mounted: {
|
|
4251
|
+
UNMOUNT: "unmounted",
|
|
4252
|
+
ANIMATION_OUT: "unmountSuspended"
|
|
4253
|
+
},
|
|
4254
|
+
unmountSuspended: {
|
|
4255
|
+
MOUNT: "mounted",
|
|
4256
|
+
ANIMATION_END: "unmounted"
|
|
4257
|
+
},
|
|
4258
|
+
unmounted: {
|
|
4259
|
+
MOUNT: "mounted"
|
|
4260
|
+
}
|
|
4261
|
+
});
|
|
4262
|
+
React211.useEffect(() => {
|
|
4263
|
+
const currentAnimationName = getAnimationName(stylesRef.current);
|
|
4264
|
+
prevAnimationNameRef.current = state === "mounted" ? currentAnimationName : "none";
|
|
4265
|
+
}, [state]);
|
|
4266
|
+
useLayoutEffect2(() => {
|
|
4267
|
+
const styles = stylesRef.current;
|
|
4268
|
+
const wasPresent = prevPresentRef.current;
|
|
4269
|
+
const hasPresentChanged = wasPresent !== present;
|
|
4270
|
+
if (hasPresentChanged) {
|
|
4271
|
+
const prevAnimationName = prevAnimationNameRef.current;
|
|
4272
|
+
const currentAnimationName = getAnimationName(styles);
|
|
4273
|
+
if (present) {
|
|
4274
|
+
send("MOUNT");
|
|
4275
|
+
} else if (currentAnimationName === "none" || (styles == null ? void 0 : styles.display) === "none") {
|
|
4276
|
+
send("UNMOUNT");
|
|
4277
|
+
} else {
|
|
4278
|
+
const isAnimating = prevAnimationName !== currentAnimationName;
|
|
4279
|
+
if (wasPresent && isAnimating) {
|
|
4280
|
+
send("ANIMATION_OUT");
|
|
4281
|
+
} else {
|
|
4282
|
+
send("UNMOUNT");
|
|
4283
|
+
}
|
|
4284
|
+
}
|
|
4285
|
+
prevPresentRef.current = present;
|
|
4286
|
+
}
|
|
4287
|
+
}, [present, send]);
|
|
4288
|
+
useLayoutEffect2(() => {
|
|
4289
|
+
var _a;
|
|
4290
|
+
if (node) {
|
|
4291
|
+
let timeoutId;
|
|
4292
|
+
const ownerWindow = (_a = node.ownerDocument.defaultView) != null ? _a : window;
|
|
4293
|
+
const handleAnimationEnd = (event) => {
|
|
4294
|
+
const currentAnimationName = getAnimationName(stylesRef.current);
|
|
4295
|
+
const isCurrentAnimation = currentAnimationName.includes(event.animationName);
|
|
4296
|
+
if (event.target === node && isCurrentAnimation) {
|
|
4297
|
+
send("ANIMATION_END");
|
|
4298
|
+
if (!prevPresentRef.current) {
|
|
4299
|
+
const currentFillMode = node.style.animationFillMode;
|
|
4300
|
+
node.style.animationFillMode = "forwards";
|
|
4301
|
+
timeoutId = ownerWindow.setTimeout(() => {
|
|
4302
|
+
if (node.style.animationFillMode === "forwards") {
|
|
4303
|
+
node.style.animationFillMode = currentFillMode;
|
|
4304
|
+
}
|
|
4305
|
+
});
|
|
4306
|
+
}
|
|
4307
|
+
}
|
|
4308
|
+
};
|
|
4309
|
+
const handleAnimationStart = (event) => {
|
|
4310
|
+
if (event.target === node) {
|
|
4311
|
+
prevAnimationNameRef.current = getAnimationName(stylesRef.current);
|
|
4312
|
+
}
|
|
4313
|
+
};
|
|
4314
|
+
node.addEventListener("animationstart", handleAnimationStart);
|
|
4315
|
+
node.addEventListener("animationcancel", handleAnimationEnd);
|
|
4316
|
+
node.addEventListener("animationend", handleAnimationEnd);
|
|
4317
|
+
return () => {
|
|
4318
|
+
ownerWindow.clearTimeout(timeoutId);
|
|
4319
|
+
node.removeEventListener("animationstart", handleAnimationStart);
|
|
4320
|
+
node.removeEventListener("animationcancel", handleAnimationEnd);
|
|
4321
|
+
node.removeEventListener("animationend", handleAnimationEnd);
|
|
4322
|
+
};
|
|
4323
|
+
} else {
|
|
4324
|
+
send("ANIMATION_END");
|
|
4325
|
+
}
|
|
4326
|
+
}, [node, send]);
|
|
4327
|
+
return {
|
|
4328
|
+
isPresent: ["mounted", "unmountSuspended"].includes(state),
|
|
4329
|
+
ref: React211.useCallback((node2) => {
|
|
4330
|
+
stylesRef.current = node2 ? getComputedStyle(node2) : null;
|
|
4331
|
+
setNode(node2);
|
|
4332
|
+
}, [])
|
|
4333
|
+
};
|
|
4334
|
+
}
|
|
4335
|
+
function getAnimationName(styles) {
|
|
4336
|
+
return (styles == null ? void 0 : styles.animationName) || "none";
|
|
4337
|
+
}
|
|
4338
|
+
function getElementRef2(element) {
|
|
4339
|
+
var _a, _b;
|
|
4340
|
+
let getter = (_a = Object.getOwnPropertyDescriptor(element.props, "ref")) == null ? void 0 : _a.get;
|
|
4341
|
+
let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
4342
|
+
if (mayWarn) {
|
|
4343
|
+
return element.ref;
|
|
4344
|
+
}
|
|
4345
|
+
getter = (_b = Object.getOwnPropertyDescriptor(element, "ref")) == null ? void 0 : _b.get;
|
|
4346
|
+
mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
4347
|
+
if (mayWarn) {
|
|
4348
|
+
return element.props.ref;
|
|
4349
|
+
}
|
|
4350
|
+
return element.props.ref || element.ref;
|
|
4351
|
+
}
|
|
4352
|
+
|
|
4353
|
+
// ../../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.2_@types+react@19.1.2_react@19.1.0/node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
4354
|
+
var React49 = __toESM(require("react"), 1);
|
|
4355
|
+
var count2 = 0;
|
|
4356
|
+
function useFocusGuards() {
|
|
4357
|
+
React49.useEffect(() => {
|
|
4358
|
+
var _a, _b;
|
|
4359
|
+
const edgeGuards = document.querySelectorAll("[data-radix-focus-guard]");
|
|
4360
|
+
document.body.insertAdjacentElement("afterbegin", (_a = edgeGuards[0]) != null ? _a : createFocusGuard());
|
|
4361
|
+
document.body.insertAdjacentElement("beforeend", (_b = edgeGuards[1]) != null ? _b : createFocusGuard());
|
|
4362
|
+
count2++;
|
|
4363
|
+
return () => {
|
|
4364
|
+
if (count2 === 1) {
|
|
4365
|
+
document.querySelectorAll("[data-radix-focus-guard]").forEach((node) => node.remove());
|
|
4366
|
+
}
|
|
4367
|
+
count2--;
|
|
4368
|
+
};
|
|
4369
|
+
}, []);
|
|
4370
|
+
}
|
|
4371
|
+
function createFocusGuard() {
|
|
4372
|
+
const element = document.createElement("span");
|
|
4373
|
+
element.setAttribute("data-radix-focus-guard", "");
|
|
4374
|
+
element.tabIndex = 0;
|
|
4375
|
+
element.style.outline = "none";
|
|
4376
|
+
element.style.opacity = "0";
|
|
4377
|
+
element.style.position = "fixed";
|
|
4378
|
+
element.style.pointerEvents = "none";
|
|
4379
|
+
return element;
|
|
4380
|
+
}
|
|
4381
|
+
|
|
4382
|
+
// ../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
|
|
4383
|
+
var __assign = function() {
|
|
4384
|
+
__assign = Object.assign || function __assign2(t) {
|
|
4385
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4386
|
+
s = arguments[i];
|
|
4387
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
4388
|
+
}
|
|
4389
|
+
return t;
|
|
4390
|
+
};
|
|
4391
|
+
return __assign.apply(this, arguments);
|
|
4392
|
+
};
|
|
4393
|
+
function __rest(s, e) {
|
|
4394
|
+
var t = {};
|
|
4395
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4396
|
+
t[p] = s[p];
|
|
4397
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
4398
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
4399
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
4400
|
+
t[p[i]] = s[p[i]];
|
|
4401
|
+
}
|
|
4402
|
+
return t;
|
|
4403
|
+
}
|
|
4404
|
+
function __spreadArray(to, from, pack) {
|
|
4405
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
4406
|
+
if (ar || !(i in from)) {
|
|
4407
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
4408
|
+
ar[i] = from[i];
|
|
4409
|
+
}
|
|
4410
|
+
}
|
|
4411
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
4412
|
+
}
|
|
4413
|
+
|
|
4414
|
+
// ../../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.2_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/Combination.js
|
|
4415
|
+
var React56 = __toESM(require("react"));
|
|
4416
|
+
|
|
4417
|
+
// ../../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.2_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/UI.js
|
|
4418
|
+
var React52 = __toESM(require("react"));
|
|
4419
|
+
|
|
4420
|
+
// ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.2_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
4421
|
+
var zeroRightClassName = "right-scroll-bar-position";
|
|
4422
|
+
var fullWidthClassName = "width-before-scroll-bar";
|
|
4423
|
+
var noScrollbarsClassName = "with-scroll-bars-hidden";
|
|
4424
|
+
var removedBarSizeVariable = "--removed-body-scroll-bar-size";
|
|
4425
|
+
|
|
4426
|
+
// ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.2_react@19.1.0/node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
4427
|
+
function assignRef(ref, value) {
|
|
4428
|
+
if (typeof ref === "function") {
|
|
4429
|
+
ref(value);
|
|
4430
|
+
} else if (ref) {
|
|
4431
|
+
ref.current = value;
|
|
4432
|
+
}
|
|
4433
|
+
return ref;
|
|
4434
|
+
}
|
|
4435
|
+
|
|
4436
|
+
// ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.2_react@19.1.0/node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
4437
|
+
var import_react40 = require("react");
|
|
4438
|
+
function useCallbackRef2(initialValue, callback) {
|
|
4439
|
+
var ref = (0, import_react40.useState)(function() {
|
|
4440
|
+
return {
|
|
4441
|
+
// value
|
|
4442
|
+
value: initialValue,
|
|
4443
|
+
// last callback
|
|
4444
|
+
callback,
|
|
4445
|
+
// "memoized" public interface
|
|
4446
|
+
facade: {
|
|
4447
|
+
get current() {
|
|
4448
|
+
return ref.value;
|
|
4449
|
+
},
|
|
4450
|
+
set current(value) {
|
|
4451
|
+
var last = ref.value;
|
|
4452
|
+
if (last !== value) {
|
|
4453
|
+
ref.value = value;
|
|
4454
|
+
ref.callback(value, last);
|
|
4455
|
+
}
|
|
4456
|
+
}
|
|
4457
|
+
}
|
|
4458
|
+
};
|
|
4459
|
+
})[0];
|
|
4460
|
+
ref.callback = callback;
|
|
4461
|
+
return ref.facade;
|
|
4462
|
+
}
|
|
4463
|
+
|
|
4464
|
+
// ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.2_react@19.1.0/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
4465
|
+
var React50 = __toESM(require("react"));
|
|
4466
|
+
var useIsomorphicLayoutEffect = typeof window !== "undefined" ? React50.useLayoutEffect : React50.useEffect;
|
|
4467
|
+
var currentValues = /* @__PURE__ */ new WeakMap();
|
|
4468
|
+
function useMergeRefs(refs, defaultValue) {
|
|
4469
|
+
var callbackRef = useCallbackRef2(defaultValue || null, function(newValue) {
|
|
4470
|
+
return refs.forEach(function(ref) {
|
|
4471
|
+
return assignRef(ref, newValue);
|
|
4472
|
+
});
|
|
4473
|
+
});
|
|
4474
|
+
useIsomorphicLayoutEffect(function() {
|
|
4475
|
+
var oldValue = currentValues.get(callbackRef);
|
|
4476
|
+
if (oldValue) {
|
|
4477
|
+
var prevRefs_1 = new Set(oldValue);
|
|
4478
|
+
var nextRefs_1 = new Set(refs);
|
|
4479
|
+
var current_1 = callbackRef.current;
|
|
4480
|
+
prevRefs_1.forEach(function(ref) {
|
|
4481
|
+
if (!nextRefs_1.has(ref)) {
|
|
4482
|
+
assignRef(ref, null);
|
|
4483
|
+
}
|
|
4484
|
+
});
|
|
4485
|
+
nextRefs_1.forEach(function(ref) {
|
|
4486
|
+
if (!prevRefs_1.has(ref)) {
|
|
4487
|
+
assignRef(ref, current_1);
|
|
4488
|
+
}
|
|
4489
|
+
});
|
|
4490
|
+
}
|
|
4491
|
+
currentValues.set(callbackRef, refs);
|
|
4492
|
+
}, [refs]);
|
|
4493
|
+
return callbackRef;
|
|
4494
|
+
}
|
|
4495
|
+
|
|
4496
|
+
// ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.1.2_react@19.1.0/node_modules/use-sidecar/dist/es2015/medium.js
|
|
4497
|
+
function ItoI(a) {
|
|
4498
|
+
return a;
|
|
4499
|
+
}
|
|
4500
|
+
function innerCreateMedium(defaults, middleware) {
|
|
4501
|
+
if (middleware === void 0) {
|
|
4502
|
+
middleware = ItoI;
|
|
4503
|
+
}
|
|
4504
|
+
var buffer = [];
|
|
4505
|
+
var assigned = false;
|
|
4506
|
+
var medium = {
|
|
4507
|
+
read: function() {
|
|
4508
|
+
if (assigned) {
|
|
4509
|
+
throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
|
|
4510
|
+
}
|
|
4511
|
+
if (buffer.length) {
|
|
4512
|
+
return buffer[buffer.length - 1];
|
|
4513
|
+
}
|
|
4514
|
+
return defaults;
|
|
4515
|
+
},
|
|
4516
|
+
useMedium: function(data) {
|
|
4517
|
+
var item = middleware(data, assigned);
|
|
4518
|
+
buffer.push(item);
|
|
4519
|
+
return function() {
|
|
4520
|
+
buffer = buffer.filter(function(x) {
|
|
4521
|
+
return x !== item;
|
|
4522
|
+
});
|
|
4523
|
+
};
|
|
4524
|
+
},
|
|
4525
|
+
assignSyncMedium: function(cb) {
|
|
4526
|
+
assigned = true;
|
|
4527
|
+
while (buffer.length) {
|
|
4528
|
+
var cbs = buffer;
|
|
4529
|
+
buffer = [];
|
|
4530
|
+
cbs.forEach(cb);
|
|
4531
|
+
}
|
|
4532
|
+
buffer = {
|
|
4533
|
+
push: function(x) {
|
|
4534
|
+
return cb(x);
|
|
4535
|
+
},
|
|
4536
|
+
filter: function() {
|
|
4537
|
+
return buffer;
|
|
4538
|
+
}
|
|
4539
|
+
};
|
|
4540
|
+
},
|
|
4541
|
+
assignMedium: function(cb) {
|
|
4542
|
+
assigned = true;
|
|
4543
|
+
var pendingQueue = [];
|
|
4544
|
+
if (buffer.length) {
|
|
4545
|
+
var cbs = buffer;
|
|
4546
|
+
buffer = [];
|
|
4547
|
+
cbs.forEach(cb);
|
|
4548
|
+
pendingQueue = buffer;
|
|
4549
|
+
}
|
|
4550
|
+
var executeQueue = function() {
|
|
4551
|
+
var cbs2 = pendingQueue;
|
|
4552
|
+
pendingQueue = [];
|
|
4553
|
+
cbs2.forEach(cb);
|
|
4554
|
+
};
|
|
4555
|
+
var cycle = function() {
|
|
4556
|
+
return Promise.resolve().then(executeQueue);
|
|
4557
|
+
};
|
|
4558
|
+
cycle();
|
|
4559
|
+
buffer = {
|
|
4560
|
+
push: function(x) {
|
|
4561
|
+
pendingQueue.push(x);
|
|
4562
|
+
cycle();
|
|
4563
|
+
},
|
|
4564
|
+
filter: function(filter) {
|
|
4565
|
+
pendingQueue = pendingQueue.filter(filter);
|
|
4566
|
+
return buffer;
|
|
4567
|
+
}
|
|
4568
|
+
};
|
|
4569
|
+
}
|
|
4570
|
+
};
|
|
4571
|
+
return medium;
|
|
4572
|
+
}
|
|
4573
|
+
function createSidecarMedium(options) {
|
|
4574
|
+
if (options === void 0) {
|
|
4575
|
+
options = {};
|
|
4576
|
+
}
|
|
4577
|
+
var medium = innerCreateMedium(null);
|
|
4578
|
+
medium.options = __assign({ async: true, ssr: false }, options);
|
|
4579
|
+
return medium;
|
|
4580
|
+
}
|
|
4581
|
+
|
|
4582
|
+
// ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.1.2_react@19.1.0/node_modules/use-sidecar/dist/es2015/exports.js
|
|
4583
|
+
var React51 = __toESM(require("react"));
|
|
4584
|
+
var SideCar = function(_a) {
|
|
4585
|
+
var sideCar = _a.sideCar, rest = __rest(_a, ["sideCar"]);
|
|
4586
|
+
if (!sideCar) {
|
|
4587
|
+
throw new Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
4588
|
+
}
|
|
4589
|
+
var Target = sideCar.read();
|
|
4590
|
+
if (!Target) {
|
|
4591
|
+
throw new Error("Sidecar medium not found");
|
|
4592
|
+
}
|
|
4593
|
+
return React51.createElement(Target, __assign({}, rest));
|
|
4594
|
+
};
|
|
4595
|
+
SideCar.isSideCarExport = true;
|
|
4596
|
+
function exportSidecar(medium, exported) {
|
|
4597
|
+
medium.useMedium(exported);
|
|
4598
|
+
return SideCar;
|
|
4599
|
+
}
|
|
4600
|
+
|
|
4601
|
+
// ../../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.2_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
4602
|
+
var effectCar = createSidecarMedium();
|
|
4603
|
+
|
|
4604
|
+
// ../../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.2_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/UI.js
|
|
4605
|
+
var nothing = function() {
|
|
4606
|
+
return;
|
|
4607
|
+
};
|
|
4608
|
+
var RemoveScroll = React52.forwardRef(function(props, parentRef) {
|
|
4609
|
+
var ref = React52.useRef(null);
|
|
4610
|
+
var _a = React52.useState({
|
|
4611
|
+
onScrollCapture: nothing,
|
|
4612
|
+
onWheelCapture: nothing,
|
|
4613
|
+
onTouchMoveCapture: nothing
|
|
4614
|
+
}), callbacks = _a[0], setCallbacks = _a[1];
|
|
4615
|
+
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? "div" : _b, gapMode = props.gapMode, rest = __rest(props, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]);
|
|
4616
|
+
var SideCar2 = sideCar;
|
|
4617
|
+
var containerRef = useMergeRefs([ref, parentRef]);
|
|
4618
|
+
var containerProps = __assign(__assign({}, rest), callbacks);
|
|
4619
|
+
return React52.createElement(
|
|
4620
|
+
React52.Fragment,
|
|
4621
|
+
null,
|
|
4622
|
+
enabled && React52.createElement(SideCar2, { sideCar: effectCar, removeScrollBar, shards, noRelative, noIsolation, inert, setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode }),
|
|
4623
|
+
forwardProps ? React52.cloneElement(React52.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef })) : React52.createElement(Container, __assign({}, containerProps, { className, ref: containerRef }), children)
|
|
4624
|
+
);
|
|
4625
|
+
});
|
|
4626
|
+
RemoveScroll.defaultProps = {
|
|
4627
|
+
enabled: true,
|
|
4628
|
+
removeScrollBar: true,
|
|
4629
|
+
inert: false
|
|
4630
|
+
};
|
|
4631
|
+
RemoveScroll.classNames = {
|
|
4632
|
+
fullWidth: fullWidthClassName,
|
|
4633
|
+
zeroRight: zeroRightClassName
|
|
4634
|
+
};
|
|
4635
|
+
|
|
4636
|
+
// ../../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.2_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
|
|
4637
|
+
var React55 = __toESM(require("react"));
|
|
4638
|
+
|
|
4639
|
+
// ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.2_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/component.js
|
|
4640
|
+
var React54 = __toESM(require("react"));
|
|
4641
|
+
|
|
4642
|
+
// ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.2_react@19.1.0/node_modules/react-style-singleton/dist/es2015/hook.js
|
|
4643
|
+
var React53 = __toESM(require("react"));
|
|
4644
|
+
|
|
4645
|
+
// ../../node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js
|
|
4646
|
+
var currentNonce;
|
|
4647
|
+
var getNonce = function() {
|
|
4648
|
+
if (currentNonce) {
|
|
4649
|
+
return currentNonce;
|
|
4650
|
+
}
|
|
4651
|
+
if (typeof __webpack_nonce__ !== "undefined") {
|
|
4652
|
+
return __webpack_nonce__;
|
|
4653
|
+
}
|
|
4654
|
+
return void 0;
|
|
4655
|
+
};
|
|
4656
|
+
|
|
4657
|
+
// ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.2_react@19.1.0/node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
4658
|
+
function makeStyleTag() {
|
|
4659
|
+
if (!document)
|
|
4660
|
+
return null;
|
|
4661
|
+
var tag = document.createElement("style");
|
|
4662
|
+
tag.type = "text/css";
|
|
4663
|
+
var nonce = getNonce();
|
|
4664
|
+
if (nonce) {
|
|
4665
|
+
tag.setAttribute("nonce", nonce);
|
|
4666
|
+
}
|
|
4667
|
+
return tag;
|
|
4668
|
+
}
|
|
4669
|
+
function injectStyles(tag, css) {
|
|
4670
|
+
if (tag.styleSheet) {
|
|
4671
|
+
tag.styleSheet.cssText = css;
|
|
4672
|
+
} else {
|
|
4673
|
+
tag.appendChild(document.createTextNode(css));
|
|
4674
|
+
}
|
|
4675
|
+
}
|
|
4676
|
+
function insertStyleTag(tag) {
|
|
4677
|
+
var head = document.head || document.getElementsByTagName("head")[0];
|
|
4678
|
+
head.appendChild(tag);
|
|
4679
|
+
}
|
|
4680
|
+
var stylesheetSingleton = function() {
|
|
4681
|
+
var counter = 0;
|
|
4682
|
+
var stylesheet = null;
|
|
4683
|
+
return {
|
|
4684
|
+
add: function(style) {
|
|
4685
|
+
if (counter == 0) {
|
|
4686
|
+
if (stylesheet = makeStyleTag()) {
|
|
4687
|
+
injectStyles(stylesheet, style);
|
|
4688
|
+
insertStyleTag(stylesheet);
|
|
4689
|
+
}
|
|
4690
|
+
}
|
|
4691
|
+
counter++;
|
|
4692
|
+
},
|
|
4693
|
+
remove: function() {
|
|
4694
|
+
counter--;
|
|
4695
|
+
if (!counter && stylesheet) {
|
|
4696
|
+
stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);
|
|
4697
|
+
stylesheet = null;
|
|
4698
|
+
}
|
|
4699
|
+
}
|
|
4700
|
+
};
|
|
4701
|
+
};
|
|
4702
|
+
|
|
4703
|
+
// ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.2_react@19.1.0/node_modules/react-style-singleton/dist/es2015/hook.js
|
|
4704
|
+
var styleHookSingleton = function() {
|
|
4705
|
+
var sheet = stylesheetSingleton();
|
|
4706
|
+
return function(styles, isDynamic) {
|
|
4707
|
+
React53.useEffect(function() {
|
|
4708
|
+
sheet.add(styles);
|
|
4709
|
+
return function() {
|
|
4710
|
+
sheet.remove();
|
|
4711
|
+
};
|
|
4712
|
+
}, [styles && isDynamic]);
|
|
4713
|
+
};
|
|
4714
|
+
};
|
|
4715
|
+
|
|
4716
|
+
// ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.2_react@19.1.0/node_modules/react-style-singleton/dist/es2015/component.js
|
|
4717
|
+
var styleSingleton = function() {
|
|
4718
|
+
var useStyle = styleHookSingleton();
|
|
4719
|
+
var Sheet = function(_a) {
|
|
4720
|
+
var styles = _a.styles, dynamic = _a.dynamic;
|
|
4721
|
+
useStyle(styles, dynamic);
|
|
4722
|
+
return null;
|
|
4723
|
+
};
|
|
4724
|
+
return Sheet;
|
|
4725
|
+
};
|
|
4726
|
+
|
|
4727
|
+
// ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.2_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/utils.js
|
|
4728
|
+
var zeroGap = {
|
|
4729
|
+
left: 0,
|
|
4730
|
+
top: 0,
|
|
4731
|
+
right: 0,
|
|
4732
|
+
gap: 0
|
|
4733
|
+
};
|
|
4734
|
+
var parse = function(x) {
|
|
4735
|
+
return parseInt(x || "", 10) || 0;
|
|
4736
|
+
};
|
|
4737
|
+
var getOffset = function(gapMode) {
|
|
4738
|
+
var cs = window.getComputedStyle(document.body);
|
|
4739
|
+
var left = cs[gapMode === "padding" ? "paddingLeft" : "marginLeft"];
|
|
4740
|
+
var top = cs[gapMode === "padding" ? "paddingTop" : "marginTop"];
|
|
4741
|
+
var right = cs[gapMode === "padding" ? "paddingRight" : "marginRight"];
|
|
4742
|
+
return [parse(left), parse(top), parse(right)];
|
|
4743
|
+
};
|
|
4744
|
+
var getGapWidth = function(gapMode) {
|
|
4745
|
+
if (gapMode === void 0) {
|
|
4746
|
+
gapMode = "margin";
|
|
4747
|
+
}
|
|
4748
|
+
if (typeof window === "undefined") {
|
|
4749
|
+
return zeroGap;
|
|
4750
|
+
}
|
|
4751
|
+
var offsets = getOffset(gapMode);
|
|
4752
|
+
var documentWidth = document.documentElement.clientWidth;
|
|
4753
|
+
var windowWidth = window.innerWidth;
|
|
4754
|
+
return {
|
|
4755
|
+
left: offsets[0],
|
|
4756
|
+
top: offsets[1],
|
|
4757
|
+
right: offsets[2],
|
|
4758
|
+
gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0])
|
|
4759
|
+
};
|
|
4760
|
+
};
|
|
4761
|
+
|
|
4762
|
+
// ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.2_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/component.js
|
|
4763
|
+
var Style = styleSingleton();
|
|
4764
|
+
var lockAttribute = "data-scroll-locked";
|
|
4765
|
+
var getStyles = function(_a, allowRelative, gapMode, important) {
|
|
4766
|
+
var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;
|
|
4767
|
+
if (gapMode === void 0) {
|
|
4768
|
+
gapMode = "margin";
|
|
4769
|
+
}
|
|
4770
|
+
return "\n .".concat(noScrollbarsClassName, " {\n overflow: hidden ").concat(important, ";\n padding-right: ").concat(gap, "px ").concat(important, ";\n }\n body[").concat(lockAttribute, "] {\n overflow: hidden ").concat(important, ";\n overscroll-behavior: contain;\n ").concat([
|
|
4771
|
+
allowRelative && "position: relative ".concat(important, ";"),
|
|
4772
|
+
gapMode === "margin" && "\n padding-left: ".concat(left, "px;\n padding-top: ").concat(top, "px;\n padding-right: ").concat(right, "px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(gap, "px ").concat(important, ";\n "),
|
|
4773
|
+
gapMode === "padding" && "padding-right: ".concat(gap, "px ").concat(important, ";")
|
|
4774
|
+
].filter(Boolean).join(""), "\n }\n \n .").concat(zeroRightClassName, " {\n right: ").concat(gap, "px ").concat(important, ";\n }\n \n .").concat(fullWidthClassName, " {\n margin-right: ").concat(gap, "px ").concat(important, ";\n }\n \n .").concat(zeroRightClassName, " .").concat(zeroRightClassName, " {\n right: 0 ").concat(important, ";\n }\n \n .").concat(fullWidthClassName, " .").concat(fullWidthClassName, " {\n margin-right: 0 ").concat(important, ";\n }\n \n body[").concat(lockAttribute, "] {\n ").concat(removedBarSizeVariable, ": ").concat(gap, "px;\n }\n");
|
|
4775
|
+
};
|
|
4776
|
+
var getCurrentUseCounter = function() {
|
|
4777
|
+
var counter = parseInt(document.body.getAttribute(lockAttribute) || "0", 10);
|
|
4778
|
+
return isFinite(counter) ? counter : 0;
|
|
4779
|
+
};
|
|
4780
|
+
var useLockAttribute = function() {
|
|
4781
|
+
React54.useEffect(function() {
|
|
4782
|
+
document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());
|
|
4783
|
+
return function() {
|
|
4784
|
+
var newCounter = getCurrentUseCounter() - 1;
|
|
4785
|
+
if (newCounter <= 0) {
|
|
4786
|
+
document.body.removeAttribute(lockAttribute);
|
|
4787
|
+
} else {
|
|
4788
|
+
document.body.setAttribute(lockAttribute, newCounter.toString());
|
|
4789
|
+
}
|
|
4790
|
+
};
|
|
4791
|
+
}, []);
|
|
4792
|
+
};
|
|
4793
|
+
var RemoveScrollBar = function(_a) {
|
|
4794
|
+
var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? "margin" : _b;
|
|
4795
|
+
useLockAttribute();
|
|
4796
|
+
var gap = React54.useMemo(function() {
|
|
4797
|
+
return getGapWidth(gapMode);
|
|
4798
|
+
}, [gapMode]);
|
|
4799
|
+
return React54.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? "!important" : "") });
|
|
4800
|
+
};
|
|
4801
|
+
|
|
4802
|
+
// ../../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.2_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
|
|
4803
|
+
var passiveSupported = false;
|
|
4804
|
+
if (typeof window !== "undefined") {
|
|
4805
|
+
try {
|
|
4806
|
+
options = Object.defineProperty({}, "passive", {
|
|
4807
|
+
get: function() {
|
|
4808
|
+
passiveSupported = true;
|
|
4809
|
+
return true;
|
|
4810
|
+
}
|
|
4811
|
+
});
|
|
4812
|
+
window.addEventListener("test", options, options);
|
|
4813
|
+
window.removeEventListener("test", options, options);
|
|
4814
|
+
} catch (err) {
|
|
4815
|
+
passiveSupported = false;
|
|
4816
|
+
}
|
|
4817
|
+
}
|
|
4818
|
+
var options;
|
|
4819
|
+
var nonPassive = passiveSupported ? { passive: false } : false;
|
|
4820
|
+
|
|
4821
|
+
// ../../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.2_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.js
|
|
4822
|
+
var alwaysContainsScroll = function(node) {
|
|
4823
|
+
return node.tagName === "TEXTAREA";
|
|
4824
|
+
};
|
|
4825
|
+
var elementCanBeScrolled = function(node, overflow) {
|
|
4826
|
+
if (!(node instanceof Element)) {
|
|
4827
|
+
return false;
|
|
4828
|
+
}
|
|
4829
|
+
var styles = window.getComputedStyle(node);
|
|
4830
|
+
return (
|
|
4831
|
+
// not-not-scrollable
|
|
4832
|
+
styles[overflow] !== "hidden" && // contains scroll inside self
|
|
4833
|
+
!(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === "visible")
|
|
4834
|
+
);
|
|
4835
|
+
};
|
|
4836
|
+
var elementCouldBeVScrolled = function(node) {
|
|
4837
|
+
return elementCanBeScrolled(node, "overflowY");
|
|
4838
|
+
};
|
|
4839
|
+
var elementCouldBeHScrolled = function(node) {
|
|
4840
|
+
return elementCanBeScrolled(node, "overflowX");
|
|
4841
|
+
};
|
|
4842
|
+
var locationCouldBeScrolled = function(axis, node) {
|
|
4843
|
+
var ownerDocument = node.ownerDocument;
|
|
4844
|
+
var current = node;
|
|
4845
|
+
do {
|
|
4846
|
+
if (typeof ShadowRoot !== "undefined" && current instanceof ShadowRoot) {
|
|
4847
|
+
current = current.host;
|
|
4848
|
+
}
|
|
4849
|
+
var isScrollable = elementCouldBeScrolled(axis, current);
|
|
4850
|
+
if (isScrollable) {
|
|
4851
|
+
var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2];
|
|
4852
|
+
if (scrollHeight > clientHeight) {
|
|
4853
|
+
return true;
|
|
4854
|
+
}
|
|
4855
|
+
}
|
|
4856
|
+
current = current.parentNode;
|
|
4857
|
+
} while (current && current !== ownerDocument.body);
|
|
4858
|
+
return false;
|
|
4859
|
+
};
|
|
4860
|
+
var getVScrollVariables = function(_a) {
|
|
4861
|
+
var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;
|
|
4862
|
+
return [
|
|
4863
|
+
scrollTop,
|
|
4864
|
+
scrollHeight,
|
|
4865
|
+
clientHeight
|
|
4866
|
+
];
|
|
4867
|
+
};
|
|
4868
|
+
var getHScrollVariables = function(_a) {
|
|
4869
|
+
var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;
|
|
4870
|
+
return [
|
|
4871
|
+
scrollLeft,
|
|
4872
|
+
scrollWidth,
|
|
4873
|
+
clientWidth
|
|
4874
|
+
];
|
|
4875
|
+
};
|
|
4876
|
+
var elementCouldBeScrolled = function(axis, node) {
|
|
4877
|
+
return axis === "v" ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);
|
|
4878
|
+
};
|
|
4879
|
+
var getScrollVariables = function(axis, node) {
|
|
4880
|
+
return axis === "v" ? getVScrollVariables(node) : getHScrollVariables(node);
|
|
4881
|
+
};
|
|
4882
|
+
var getDirectionFactor = function(axis, direction) {
|
|
4883
|
+
return axis === "h" && direction === "rtl" ? -1 : 1;
|
|
4884
|
+
};
|
|
4885
|
+
var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
|
|
4886
|
+
var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);
|
|
4887
|
+
var delta = directionFactor * sourceDelta;
|
|
4888
|
+
var target = event.target;
|
|
4889
|
+
var targetInLock = endTarget.contains(target);
|
|
4890
|
+
var shouldCancelScroll = false;
|
|
4891
|
+
var isDeltaPositive = delta > 0;
|
|
4892
|
+
var availableScroll = 0;
|
|
4893
|
+
var availableScrollTop = 0;
|
|
4894
|
+
do {
|
|
4895
|
+
if (!target) {
|
|
4896
|
+
break;
|
|
4897
|
+
}
|
|
4898
|
+
var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];
|
|
4899
|
+
var elementScroll = scroll_1 - capacity - directionFactor * position;
|
|
4900
|
+
if (position || elementScroll) {
|
|
4901
|
+
if (elementCouldBeScrolled(axis, target)) {
|
|
4902
|
+
availableScroll += elementScroll;
|
|
4903
|
+
availableScrollTop += position;
|
|
4904
|
+
}
|
|
4905
|
+
}
|
|
4906
|
+
var parent_1 = target.parentNode;
|
|
4907
|
+
target = parent_1 && parent_1.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? parent_1.host : parent_1;
|
|
4908
|
+
} while (
|
|
4909
|
+
// portaled content
|
|
4910
|
+
!targetInLock && target !== document.body || // self content
|
|
4911
|
+
targetInLock && (endTarget.contains(target) || endTarget === target)
|
|
4912
|
+
);
|
|
4913
|
+
if (isDeltaPositive && (noOverscroll && Math.abs(availableScroll) < 1 || !noOverscroll && delta > availableScroll)) {
|
|
4914
|
+
shouldCancelScroll = true;
|
|
4915
|
+
} else if (!isDeltaPositive && (noOverscroll && Math.abs(availableScrollTop) < 1 || !noOverscroll && -delta > availableScrollTop)) {
|
|
4916
|
+
shouldCancelScroll = true;
|
|
4917
|
+
}
|
|
4918
|
+
return shouldCancelScroll;
|
|
4919
|
+
};
|
|
4920
|
+
|
|
4921
|
+
// ../../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.2_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
|
|
4922
|
+
var getTouchXY = function(event) {
|
|
4923
|
+
return "changedTouches" in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];
|
|
4924
|
+
};
|
|
4925
|
+
var getDeltaXY = function(event) {
|
|
4926
|
+
return [event.deltaX, event.deltaY];
|
|
4927
|
+
};
|
|
4928
|
+
var extractRef = function(ref) {
|
|
4929
|
+
return ref && "current" in ref ? ref.current : ref;
|
|
4930
|
+
};
|
|
4931
|
+
var deltaCompare = function(x, y) {
|
|
4932
|
+
return x[0] === y[0] && x[1] === y[1];
|
|
4933
|
+
};
|
|
4934
|
+
var generateStyle = function(id) {
|
|
4935
|
+
return "\n .block-interactivity-".concat(id, " {pointer-events: none;}\n .allow-interactivity-").concat(id, " {pointer-events: all;}\n");
|
|
4936
|
+
};
|
|
4937
|
+
var idCounter = 0;
|
|
4938
|
+
var lockStack = [];
|
|
4939
|
+
function RemoveScrollSideCar(props) {
|
|
4940
|
+
var shouldPreventQueue = React55.useRef([]);
|
|
4941
|
+
var touchStartRef = React55.useRef([0, 0]);
|
|
4942
|
+
var activeAxis = React55.useRef();
|
|
4943
|
+
var id = React55.useState(idCounter++)[0];
|
|
4944
|
+
var Style2 = React55.useState(styleSingleton)[0];
|
|
4945
|
+
var lastProps = React55.useRef(props);
|
|
4946
|
+
React55.useEffect(function() {
|
|
4947
|
+
lastProps.current = props;
|
|
4948
|
+
}, [props]);
|
|
4949
|
+
React55.useEffect(function() {
|
|
4950
|
+
if (props.inert) {
|
|
4951
|
+
document.body.classList.add("block-interactivity-".concat(id));
|
|
4952
|
+
var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);
|
|
4953
|
+
allow_1.forEach(function(el) {
|
|
4954
|
+
return el.classList.add("allow-interactivity-".concat(id));
|
|
4955
|
+
});
|
|
4956
|
+
return function() {
|
|
4957
|
+
document.body.classList.remove("block-interactivity-".concat(id));
|
|
4958
|
+
allow_1.forEach(function(el) {
|
|
4959
|
+
return el.classList.remove("allow-interactivity-".concat(id));
|
|
4960
|
+
});
|
|
4961
|
+
};
|
|
4962
|
+
}
|
|
4963
|
+
return;
|
|
4964
|
+
}, [props.inert, props.lockRef.current, props.shards]);
|
|
4965
|
+
var shouldCancelEvent = React55.useCallback(function(event, parent) {
|
|
4966
|
+
if ("touches" in event && event.touches.length === 2 || event.type === "wheel" && event.ctrlKey) {
|
|
4967
|
+
return !lastProps.current.allowPinchZoom;
|
|
4968
|
+
}
|
|
4969
|
+
var touch = getTouchXY(event);
|
|
4970
|
+
var touchStart = touchStartRef.current;
|
|
4971
|
+
var deltaX = "deltaX" in event ? event.deltaX : touchStart[0] - touch[0];
|
|
4972
|
+
var deltaY = "deltaY" in event ? event.deltaY : touchStart[1] - touch[1];
|
|
4973
|
+
var currentAxis;
|
|
4974
|
+
var target = event.target;
|
|
4975
|
+
var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? "h" : "v";
|
|
4976
|
+
if ("touches" in event && moveDirection === "h" && target.type === "range") {
|
|
4977
|
+
return false;
|
|
4978
|
+
}
|
|
4979
|
+
var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);
|
|
4980
|
+
if (!canBeScrolledInMainDirection) {
|
|
4981
|
+
return true;
|
|
4982
|
+
}
|
|
4983
|
+
if (canBeScrolledInMainDirection) {
|
|
4984
|
+
currentAxis = moveDirection;
|
|
4985
|
+
} else {
|
|
4986
|
+
currentAxis = moveDirection === "v" ? "h" : "v";
|
|
4987
|
+
canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);
|
|
4988
|
+
}
|
|
4989
|
+
if (!canBeScrolledInMainDirection) {
|
|
4990
|
+
return false;
|
|
4991
|
+
}
|
|
4992
|
+
if (!activeAxis.current && "changedTouches" in event && (deltaX || deltaY)) {
|
|
4993
|
+
activeAxis.current = currentAxis;
|
|
4994
|
+
}
|
|
4995
|
+
if (!currentAxis) {
|
|
4996
|
+
return true;
|
|
4997
|
+
}
|
|
4998
|
+
var cancelingAxis = activeAxis.current || currentAxis;
|
|
4999
|
+
return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY, true);
|
|
5000
|
+
}, []);
|
|
5001
|
+
var shouldPrevent = React55.useCallback(function(_event) {
|
|
5002
|
+
var event = _event;
|
|
5003
|
+
if (!lockStack.length || lockStack[lockStack.length - 1] !== Style2) {
|
|
5004
|
+
return;
|
|
5005
|
+
}
|
|
5006
|
+
var delta = "deltaY" in event ? getDeltaXY(event) : getTouchXY(event);
|
|
5007
|
+
var sourceEvent = shouldPreventQueue.current.filter(function(e) {
|
|
5008
|
+
return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta);
|
|
5009
|
+
})[0];
|
|
5010
|
+
if (sourceEvent && sourceEvent.should) {
|
|
5011
|
+
if (event.cancelable) {
|
|
5012
|
+
event.preventDefault();
|
|
5013
|
+
}
|
|
5014
|
+
return;
|
|
5015
|
+
}
|
|
5016
|
+
if (!sourceEvent) {
|
|
5017
|
+
var shardNodes = (lastProps.current.shards || []).map(extractRef).filter(Boolean).filter(function(node) {
|
|
5018
|
+
return node.contains(event.target);
|
|
5019
|
+
});
|
|
5020
|
+
var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;
|
|
5021
|
+
if (shouldStop) {
|
|
5022
|
+
if (event.cancelable) {
|
|
5023
|
+
event.preventDefault();
|
|
5024
|
+
}
|
|
5025
|
+
}
|
|
5026
|
+
}
|
|
5027
|
+
}, []);
|
|
5028
|
+
var shouldCancel = React55.useCallback(function(name, delta, target, should) {
|
|
5029
|
+
var event = { name, delta, target, should, shadowParent: getOutermostShadowParent(target) };
|
|
5030
|
+
shouldPreventQueue.current.push(event);
|
|
5031
|
+
setTimeout(function() {
|
|
5032
|
+
shouldPreventQueue.current = shouldPreventQueue.current.filter(function(e) {
|
|
5033
|
+
return e !== event;
|
|
5034
|
+
});
|
|
5035
|
+
}, 1);
|
|
5036
|
+
}, []);
|
|
5037
|
+
var scrollTouchStart = React55.useCallback(function(event) {
|
|
5038
|
+
touchStartRef.current = getTouchXY(event);
|
|
5039
|
+
activeAxis.current = void 0;
|
|
5040
|
+
}, []);
|
|
5041
|
+
var scrollWheel = React55.useCallback(function(event) {
|
|
5042
|
+
shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));
|
|
5043
|
+
}, []);
|
|
5044
|
+
var scrollTouchMove = React55.useCallback(function(event) {
|
|
5045
|
+
shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));
|
|
5046
|
+
}, []);
|
|
5047
|
+
React55.useEffect(function() {
|
|
5048
|
+
lockStack.push(Style2);
|
|
5049
|
+
props.setCallbacks({
|
|
5050
|
+
onScrollCapture: scrollWheel,
|
|
5051
|
+
onWheelCapture: scrollWheel,
|
|
5052
|
+
onTouchMoveCapture: scrollTouchMove
|
|
5053
|
+
});
|
|
5054
|
+
document.addEventListener("wheel", shouldPrevent, nonPassive);
|
|
5055
|
+
document.addEventListener("touchmove", shouldPrevent, nonPassive);
|
|
5056
|
+
document.addEventListener("touchstart", scrollTouchStart, nonPassive);
|
|
5057
|
+
return function() {
|
|
5058
|
+
lockStack = lockStack.filter(function(inst) {
|
|
5059
|
+
return inst !== Style2;
|
|
5060
|
+
});
|
|
5061
|
+
document.removeEventListener("wheel", shouldPrevent, nonPassive);
|
|
5062
|
+
document.removeEventListener("touchmove", shouldPrevent, nonPassive);
|
|
5063
|
+
document.removeEventListener("touchstart", scrollTouchStart, nonPassive);
|
|
5064
|
+
};
|
|
5065
|
+
}, []);
|
|
5066
|
+
var removeScrollBar = props.removeScrollBar, inert = props.inert;
|
|
5067
|
+
return React55.createElement(
|
|
5068
|
+
React55.Fragment,
|
|
5069
|
+
null,
|
|
5070
|
+
inert ? React55.createElement(Style2, { styles: generateStyle(id) }) : null,
|
|
5071
|
+
removeScrollBar ? React55.createElement(RemoveScrollBar, { noRelative: props.noRelative, gapMode: props.gapMode }) : null
|
|
5072
|
+
);
|
|
5073
|
+
}
|
|
5074
|
+
function getOutermostShadowParent(node) {
|
|
5075
|
+
var shadowParent = null;
|
|
5076
|
+
while (node !== null) {
|
|
5077
|
+
if (node instanceof ShadowRoot) {
|
|
5078
|
+
shadowParent = node.host;
|
|
5079
|
+
node = node.host;
|
|
5080
|
+
}
|
|
5081
|
+
node = node.parentNode;
|
|
5082
|
+
}
|
|
5083
|
+
return shadowParent;
|
|
5084
|
+
}
|
|
5085
|
+
|
|
5086
|
+
// ../../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.2_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
5087
|
+
var sidecar_default = exportSidecar(effectCar, RemoveScrollSideCar);
|
|
5088
|
+
|
|
5089
|
+
// ../../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.2_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/Combination.js
|
|
5090
|
+
var ReactRemoveScroll = React56.forwardRef(function(props, ref) {
|
|
5091
|
+
return React56.createElement(RemoveScroll, __assign({}, props, { ref, sideCar: sidecar_default }));
|
|
5092
|
+
});
|
|
5093
|
+
ReactRemoveScroll.classNames = RemoveScroll.classNames;
|
|
5094
|
+
var Combination_default = ReactRemoveScroll;
|
|
5095
|
+
|
|
5096
|
+
// ../../node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js
|
|
5097
|
+
var getDefaultParent = function(originalTarget) {
|
|
5098
|
+
if (typeof document === "undefined") {
|
|
5099
|
+
return null;
|
|
5100
|
+
}
|
|
5101
|
+
var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;
|
|
5102
|
+
return sampleTarget.ownerDocument.body;
|
|
5103
|
+
};
|
|
5104
|
+
var counterMap = /* @__PURE__ */ new WeakMap();
|
|
5105
|
+
var uncontrolledNodes = /* @__PURE__ */ new WeakMap();
|
|
5106
|
+
var markerMap = {};
|
|
5107
|
+
var lockCount = 0;
|
|
5108
|
+
var unwrapHost = function(node) {
|
|
5109
|
+
return node && (node.host || unwrapHost(node.parentNode));
|
|
5110
|
+
};
|
|
5111
|
+
var correctTargets = function(parent, targets) {
|
|
5112
|
+
return targets.map(function(target) {
|
|
5113
|
+
if (parent.contains(target)) {
|
|
5114
|
+
return target;
|
|
5115
|
+
}
|
|
5116
|
+
var correctedTarget = unwrapHost(target);
|
|
5117
|
+
if (correctedTarget && parent.contains(correctedTarget)) {
|
|
5118
|
+
return correctedTarget;
|
|
5119
|
+
}
|
|
5120
|
+
console.error("aria-hidden", target, "in not contained inside", parent, ". Doing nothing");
|
|
5121
|
+
return null;
|
|
5122
|
+
}).filter(function(x) {
|
|
5123
|
+
return Boolean(x);
|
|
5124
|
+
});
|
|
5125
|
+
};
|
|
5126
|
+
var applyAttributeToOthers = function(originalTarget, parentNode, markerName, controlAttribute) {
|
|
5127
|
+
var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
|
|
5128
|
+
if (!markerMap[markerName]) {
|
|
5129
|
+
markerMap[markerName] = /* @__PURE__ */ new WeakMap();
|
|
5130
|
+
}
|
|
5131
|
+
var markerCounter = markerMap[markerName];
|
|
5132
|
+
var hiddenNodes = [];
|
|
5133
|
+
var elementsToKeep = /* @__PURE__ */ new Set();
|
|
5134
|
+
var elementsToStop = new Set(targets);
|
|
5135
|
+
var keep = function(el) {
|
|
5136
|
+
if (!el || elementsToKeep.has(el)) {
|
|
5137
|
+
return;
|
|
5138
|
+
}
|
|
5139
|
+
elementsToKeep.add(el);
|
|
5140
|
+
keep(el.parentNode);
|
|
5141
|
+
};
|
|
5142
|
+
targets.forEach(keep);
|
|
5143
|
+
var deep = function(parent) {
|
|
5144
|
+
if (!parent || elementsToStop.has(parent)) {
|
|
5145
|
+
return;
|
|
5146
|
+
}
|
|
5147
|
+
Array.prototype.forEach.call(parent.children, function(node) {
|
|
5148
|
+
if (elementsToKeep.has(node)) {
|
|
5149
|
+
deep(node);
|
|
5150
|
+
} else {
|
|
5151
|
+
try {
|
|
5152
|
+
var attr = node.getAttribute(controlAttribute);
|
|
5153
|
+
var alreadyHidden = attr !== null && attr !== "false";
|
|
5154
|
+
var counterValue = (counterMap.get(node) || 0) + 1;
|
|
5155
|
+
var markerValue = (markerCounter.get(node) || 0) + 1;
|
|
5156
|
+
counterMap.set(node, counterValue);
|
|
5157
|
+
markerCounter.set(node, markerValue);
|
|
5158
|
+
hiddenNodes.push(node);
|
|
5159
|
+
if (counterValue === 1 && alreadyHidden) {
|
|
5160
|
+
uncontrolledNodes.set(node, true);
|
|
5161
|
+
}
|
|
5162
|
+
if (markerValue === 1) {
|
|
5163
|
+
node.setAttribute(markerName, "true");
|
|
5164
|
+
}
|
|
5165
|
+
if (!alreadyHidden) {
|
|
5166
|
+
node.setAttribute(controlAttribute, "true");
|
|
5167
|
+
}
|
|
5168
|
+
} catch (e) {
|
|
5169
|
+
console.error("aria-hidden: cannot operate on ", node, e);
|
|
5170
|
+
}
|
|
5171
|
+
}
|
|
5172
|
+
});
|
|
5173
|
+
};
|
|
5174
|
+
deep(parentNode);
|
|
5175
|
+
elementsToKeep.clear();
|
|
5176
|
+
lockCount++;
|
|
5177
|
+
return function() {
|
|
5178
|
+
hiddenNodes.forEach(function(node) {
|
|
5179
|
+
var counterValue = counterMap.get(node) - 1;
|
|
5180
|
+
var markerValue = markerCounter.get(node) - 1;
|
|
5181
|
+
counterMap.set(node, counterValue);
|
|
5182
|
+
markerCounter.set(node, markerValue);
|
|
5183
|
+
if (!counterValue) {
|
|
5184
|
+
if (!uncontrolledNodes.has(node)) {
|
|
5185
|
+
node.removeAttribute(controlAttribute);
|
|
5186
|
+
}
|
|
5187
|
+
uncontrolledNodes.delete(node);
|
|
5188
|
+
}
|
|
5189
|
+
if (!markerValue) {
|
|
5190
|
+
node.removeAttribute(markerName);
|
|
5191
|
+
}
|
|
5192
|
+
});
|
|
5193
|
+
lockCount--;
|
|
5194
|
+
if (!lockCount) {
|
|
5195
|
+
counterMap = /* @__PURE__ */ new WeakMap();
|
|
5196
|
+
counterMap = /* @__PURE__ */ new WeakMap();
|
|
5197
|
+
uncontrolledNodes = /* @__PURE__ */ new WeakMap();
|
|
5198
|
+
markerMap = {};
|
|
5199
|
+
}
|
|
5200
|
+
};
|
|
5201
|
+
};
|
|
5202
|
+
var hideOthers = function(originalTarget, parentNode, markerName) {
|
|
5203
|
+
if (markerName === void 0) {
|
|
5204
|
+
markerName = "data-aria-hidden";
|
|
5205
|
+
}
|
|
5206
|
+
var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
|
|
5207
|
+
var activeParentNode = parentNode || getDefaultParent(originalTarget);
|
|
5208
|
+
if (!activeParentNode) {
|
|
5209
|
+
return function() {
|
|
5210
|
+
return null;
|
|
5211
|
+
};
|
|
5212
|
+
}
|
|
5213
|
+
targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll("[aria-live], script")));
|
|
5214
|
+
return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
|
|
5215
|
+
};
|
|
5216
|
+
|
|
5217
|
+
// ../../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.3_@types+react@19.1.2__@types+react_848f83211ce5e4d8275fe0d3e11a9387/node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
5218
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
5219
|
+
var DIALOG_NAME = "Dialog";
|
|
5220
|
+
var [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);
|
|
5221
|
+
var [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);
|
|
5222
|
+
var Dialog = (props) => {
|
|
5223
|
+
const {
|
|
5224
|
+
__scopeDialog,
|
|
5225
|
+
children,
|
|
5226
|
+
open: openProp,
|
|
5227
|
+
defaultOpen,
|
|
5228
|
+
onOpenChange,
|
|
5229
|
+
modal = true
|
|
5230
|
+
} = props;
|
|
5231
|
+
const triggerRef = React57.useRef(null);
|
|
5232
|
+
const contentRef = React57.useRef(null);
|
|
5233
|
+
const [open, setOpen] = useControllableState({
|
|
5234
|
+
prop: openProp,
|
|
5235
|
+
defaultProp: defaultOpen != null ? defaultOpen : false,
|
|
5236
|
+
onChange: onOpenChange,
|
|
5237
|
+
caller: DIALOG_NAME
|
|
5238
|
+
});
|
|
5239
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
5240
|
+
DialogProvider,
|
|
5241
|
+
{
|
|
5242
|
+
scope: __scopeDialog,
|
|
5243
|
+
triggerRef,
|
|
5244
|
+
contentRef,
|
|
5245
|
+
contentId: useId(),
|
|
5246
|
+
titleId: useId(),
|
|
5247
|
+
descriptionId: useId(),
|
|
5248
|
+
open,
|
|
5249
|
+
onOpenChange: setOpen,
|
|
5250
|
+
onOpenToggle: React57.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
|
|
5251
|
+
modal,
|
|
5252
|
+
children
|
|
5253
|
+
}
|
|
5254
|
+
);
|
|
5255
|
+
};
|
|
5256
|
+
Dialog.displayName = DIALOG_NAME;
|
|
5257
|
+
var TRIGGER_NAME = "DialogTrigger";
|
|
5258
|
+
var DialogTrigger = React57.forwardRef(
|
|
5259
|
+
(props, forwardedRef) => {
|
|
5260
|
+
const _a = props, { __scopeDialog } = _a, triggerProps = __objRest(_a, ["__scopeDialog"]);
|
|
5261
|
+
const context = useDialogContext(TRIGGER_NAME, __scopeDialog);
|
|
5262
|
+
const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);
|
|
5263
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
5264
|
+
Primitive.button,
|
|
5265
|
+
__spreadProps(__spreadValues({
|
|
5266
|
+
type: "button",
|
|
5267
|
+
"aria-haspopup": "dialog",
|
|
5268
|
+
"aria-expanded": context.open,
|
|
5269
|
+
"aria-controls": context.contentId,
|
|
5270
|
+
"data-state": getState(context.open)
|
|
5271
|
+
}, triggerProps), {
|
|
5272
|
+
ref: composedTriggerRef,
|
|
5273
|
+
onClick: composeEventHandlers(props.onClick, context.onOpenToggle)
|
|
5274
|
+
})
|
|
5275
|
+
);
|
|
5276
|
+
}
|
|
5277
|
+
);
|
|
5278
|
+
DialogTrigger.displayName = TRIGGER_NAME;
|
|
5279
|
+
var PORTAL_NAME2 = "DialogPortal";
|
|
5280
|
+
var [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME2, {
|
|
5281
|
+
forceMount: void 0
|
|
5282
|
+
});
|
|
5283
|
+
var DialogPortal = (props) => {
|
|
5284
|
+
const { __scopeDialog, forceMount, children, container } = props;
|
|
5285
|
+
const context = useDialogContext(PORTAL_NAME2, __scopeDialog);
|
|
5286
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(PortalProvider, { scope: __scopeDialog, forceMount, children: React57.Children.map(children, (child) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Portal, { asChild: true, container, children: child }) })) });
|
|
5287
|
+
};
|
|
5288
|
+
DialogPortal.displayName = PORTAL_NAME2;
|
|
5289
|
+
var OVERLAY_NAME = "DialogOverlay";
|
|
5290
|
+
var DialogOverlay = React57.forwardRef(
|
|
5291
|
+
(props, forwardedRef) => {
|
|
5292
|
+
const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);
|
|
5293
|
+
const _a = props, { forceMount = portalContext.forceMount } = _a, overlayProps = __objRest(_a, ["forceMount"]);
|
|
5294
|
+
const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);
|
|
5295
|
+
return context.modal ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DialogOverlayImpl, __spreadProps(__spreadValues({}, overlayProps), { ref: forwardedRef })) }) : null;
|
|
5296
|
+
}
|
|
5297
|
+
);
|
|
5298
|
+
DialogOverlay.displayName = OVERLAY_NAME;
|
|
5299
|
+
var Slot2 = createSlot("DialogOverlay.RemoveScroll");
|
|
5300
|
+
var DialogOverlayImpl = React57.forwardRef(
|
|
5301
|
+
(props, forwardedRef) => {
|
|
5302
|
+
const _a = props, { __scopeDialog } = _a, overlayProps = __objRest(_a, ["__scopeDialog"]);
|
|
5303
|
+
const context = useDialogContext(OVERLAY_NAME, __scopeDialog);
|
|
5304
|
+
return (
|
|
5305
|
+
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
5306
|
+
// ie. when `Overlay` and `Content` are siblings
|
|
5307
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Combination_default, { as: Slot2, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
5308
|
+
Primitive.div,
|
|
5309
|
+
__spreadProps(__spreadValues({
|
|
5310
|
+
"data-state": getState(context.open)
|
|
5311
|
+
}, overlayProps), {
|
|
5312
|
+
ref: forwardedRef,
|
|
5313
|
+
style: __spreadValues({ pointerEvents: "auto" }, overlayProps.style)
|
|
5314
|
+
})
|
|
5315
|
+
) })
|
|
5316
|
+
);
|
|
5317
|
+
}
|
|
5318
|
+
);
|
|
5319
|
+
var CONTENT_NAME = "DialogContent";
|
|
5320
|
+
var DialogContent = React57.forwardRef(
|
|
5321
|
+
(props, forwardedRef) => {
|
|
5322
|
+
const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);
|
|
5323
|
+
const _a = props, { forceMount = portalContext.forceMount } = _a, contentProps = __objRest(_a, ["forceMount"]);
|
|
5324
|
+
const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
|
|
5325
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DialogContentModal, __spreadProps(__spreadValues({}, contentProps), { ref: forwardedRef })) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DialogContentNonModal, __spreadProps(__spreadValues({}, contentProps), { ref: forwardedRef })) });
|
|
5326
|
+
}
|
|
5327
|
+
);
|
|
5328
|
+
DialogContent.displayName = CONTENT_NAME;
|
|
5329
|
+
var DialogContentModal = React57.forwardRef(
|
|
5330
|
+
(props, forwardedRef) => {
|
|
5331
|
+
const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
|
|
5332
|
+
const contentRef = React57.useRef(null);
|
|
5333
|
+
const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);
|
|
5334
|
+
React57.useEffect(() => {
|
|
5335
|
+
const content = contentRef.current;
|
|
5336
|
+
if (content) return hideOthers(content);
|
|
5337
|
+
}, []);
|
|
5338
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
5339
|
+
DialogContentImpl,
|
|
5340
|
+
__spreadProps(__spreadValues({}, props), {
|
|
5341
|
+
ref: composedRefs,
|
|
5342
|
+
trapFocus: context.open,
|
|
5343
|
+
disableOutsidePointerEvents: true,
|
|
5344
|
+
onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {
|
|
5345
|
+
var _a;
|
|
5346
|
+
event.preventDefault();
|
|
5347
|
+
(_a = context.triggerRef.current) == null ? void 0 : _a.focus();
|
|
5348
|
+
}),
|
|
5349
|
+
onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {
|
|
5350
|
+
const originalEvent = event.detail.originalEvent;
|
|
5351
|
+
const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;
|
|
5352
|
+
const isRightClick = originalEvent.button === 2 || ctrlLeftClick;
|
|
5353
|
+
if (isRightClick) event.preventDefault();
|
|
5354
|
+
}),
|
|
5355
|
+
onFocusOutside: composeEventHandlers(
|
|
5356
|
+
props.onFocusOutside,
|
|
5357
|
+
(event) => event.preventDefault()
|
|
5358
|
+
)
|
|
5359
|
+
})
|
|
5360
|
+
);
|
|
5361
|
+
}
|
|
5362
|
+
);
|
|
5363
|
+
var DialogContentNonModal = React57.forwardRef(
|
|
5364
|
+
(props, forwardedRef) => {
|
|
5365
|
+
const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
|
|
5366
|
+
const hasInteractedOutsideRef = React57.useRef(false);
|
|
5367
|
+
const hasPointerDownOutsideRef = React57.useRef(false);
|
|
5368
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
5369
|
+
DialogContentImpl,
|
|
5370
|
+
__spreadProps(__spreadValues({}, props), {
|
|
5371
|
+
ref: forwardedRef,
|
|
5372
|
+
trapFocus: false,
|
|
5373
|
+
disableOutsidePointerEvents: false,
|
|
5374
|
+
onCloseAutoFocus: (event) => {
|
|
5375
|
+
var _a, _b;
|
|
5376
|
+
(_a = props.onCloseAutoFocus) == null ? void 0 : _a.call(props, event);
|
|
5377
|
+
if (!event.defaultPrevented) {
|
|
5378
|
+
if (!hasInteractedOutsideRef.current) (_b = context.triggerRef.current) == null ? void 0 : _b.focus();
|
|
5379
|
+
event.preventDefault();
|
|
5380
|
+
}
|
|
5381
|
+
hasInteractedOutsideRef.current = false;
|
|
5382
|
+
hasPointerDownOutsideRef.current = false;
|
|
5383
|
+
},
|
|
5384
|
+
onInteractOutside: (event) => {
|
|
5385
|
+
var _a, _b;
|
|
5386
|
+
(_a = props.onInteractOutside) == null ? void 0 : _a.call(props, event);
|
|
5387
|
+
if (!event.defaultPrevented) {
|
|
5388
|
+
hasInteractedOutsideRef.current = true;
|
|
5389
|
+
if (event.detail.originalEvent.type === "pointerdown") {
|
|
5390
|
+
hasPointerDownOutsideRef.current = true;
|
|
5391
|
+
}
|
|
5392
|
+
}
|
|
5393
|
+
const target = event.target;
|
|
5394
|
+
const targetIsTrigger = (_b = context.triggerRef.current) == null ? void 0 : _b.contains(target);
|
|
5395
|
+
if (targetIsTrigger) event.preventDefault();
|
|
5396
|
+
if (event.detail.originalEvent.type === "focusin" && hasPointerDownOutsideRef.current) {
|
|
5397
|
+
event.preventDefault();
|
|
5398
|
+
}
|
|
5399
|
+
}
|
|
5400
|
+
})
|
|
5401
|
+
);
|
|
5402
|
+
}
|
|
5403
|
+
);
|
|
5404
|
+
var DialogContentImpl = React57.forwardRef(
|
|
5405
|
+
(props, forwardedRef) => {
|
|
5406
|
+
const _a = props, { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus } = _a, contentProps = __objRest(_a, ["__scopeDialog", "trapFocus", "onOpenAutoFocus", "onCloseAutoFocus"]);
|
|
5407
|
+
const context = useDialogContext(CONTENT_NAME, __scopeDialog);
|
|
5408
|
+
const contentRef = React57.useRef(null);
|
|
5409
|
+
const composedRefs = useComposedRefs(forwardedRef, contentRef);
|
|
5410
|
+
useFocusGuards();
|
|
5411
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, { children: [
|
|
5412
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
5413
|
+
FocusScope,
|
|
5414
|
+
{
|
|
5415
|
+
asChild: true,
|
|
5416
|
+
loop: true,
|
|
5417
|
+
trapped: trapFocus,
|
|
5418
|
+
onMountAutoFocus: onOpenAutoFocus,
|
|
5419
|
+
onUnmountAutoFocus: onCloseAutoFocus,
|
|
5420
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
5421
|
+
DismissableLayer,
|
|
5422
|
+
__spreadProps(__spreadValues({
|
|
5423
|
+
role: "dialog",
|
|
5424
|
+
id: context.contentId,
|
|
5425
|
+
"aria-describedby": context.descriptionId,
|
|
5426
|
+
"aria-labelledby": context.titleId,
|
|
5427
|
+
"data-state": getState(context.open)
|
|
5428
|
+
}, contentProps), {
|
|
5429
|
+
ref: composedRefs,
|
|
5430
|
+
onDismiss: () => context.onOpenChange(false)
|
|
5431
|
+
})
|
|
5432
|
+
)
|
|
5433
|
+
}
|
|
5434
|
+
),
|
|
5435
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, { children: [
|
|
5436
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(TitleWarning, { titleId: context.titleId }),
|
|
5437
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })
|
|
5438
|
+
] })
|
|
5439
|
+
] });
|
|
5440
|
+
}
|
|
5441
|
+
);
|
|
5442
|
+
var TITLE_NAME = "DialogTitle";
|
|
5443
|
+
var DialogTitle = React57.forwardRef(
|
|
5444
|
+
(props, forwardedRef) => {
|
|
5445
|
+
const _a = props, { __scopeDialog } = _a, titleProps = __objRest(_a, ["__scopeDialog"]);
|
|
5446
|
+
const context = useDialogContext(TITLE_NAME, __scopeDialog);
|
|
5447
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Primitive.h2, __spreadProps(__spreadValues({ id: context.titleId }, titleProps), { ref: forwardedRef }));
|
|
5448
|
+
}
|
|
5449
|
+
);
|
|
5450
|
+
DialogTitle.displayName = TITLE_NAME;
|
|
5451
|
+
var DESCRIPTION_NAME = "DialogDescription";
|
|
5452
|
+
var DialogDescription = React57.forwardRef(
|
|
5453
|
+
(props, forwardedRef) => {
|
|
5454
|
+
const _a = props, { __scopeDialog } = _a, descriptionProps = __objRest(_a, ["__scopeDialog"]);
|
|
5455
|
+
const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);
|
|
5456
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Primitive.p, __spreadProps(__spreadValues({ id: context.descriptionId }, descriptionProps), { ref: forwardedRef }));
|
|
5457
|
+
}
|
|
5458
|
+
);
|
|
5459
|
+
DialogDescription.displayName = DESCRIPTION_NAME;
|
|
5460
|
+
var CLOSE_NAME = "DialogClose";
|
|
5461
|
+
var DialogClose = React57.forwardRef(
|
|
5462
|
+
(props, forwardedRef) => {
|
|
5463
|
+
const _a = props, { __scopeDialog } = _a, closeProps = __objRest(_a, ["__scopeDialog"]);
|
|
5464
|
+
const context = useDialogContext(CLOSE_NAME, __scopeDialog);
|
|
5465
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
5466
|
+
Primitive.button,
|
|
5467
|
+
__spreadProps(__spreadValues({
|
|
5468
|
+
type: "button"
|
|
5469
|
+
}, closeProps), {
|
|
5470
|
+
ref: forwardedRef,
|
|
5471
|
+
onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))
|
|
5472
|
+
})
|
|
5473
|
+
);
|
|
5474
|
+
}
|
|
5475
|
+
);
|
|
5476
|
+
DialogClose.displayName = CLOSE_NAME;
|
|
5477
|
+
function getState(open) {
|
|
5478
|
+
return open ? "open" : "closed";
|
|
5479
|
+
}
|
|
5480
|
+
var TITLE_WARNING_NAME = "DialogTitleWarning";
|
|
5481
|
+
var [WarningProvider, useWarningContext] = createContext2(TITLE_WARNING_NAME, {
|
|
5482
|
+
contentName: CONTENT_NAME,
|
|
5483
|
+
titleName: TITLE_NAME,
|
|
5484
|
+
docsSlug: "dialog"
|
|
5485
|
+
});
|
|
5486
|
+
var TitleWarning = ({ titleId }) => {
|
|
5487
|
+
const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);
|
|
5488
|
+
const MESSAGE = `\`${titleWarningContext.contentName}\` requires a \`${titleWarningContext.titleName}\` for the component to be accessible for screen reader users.
|
|
5489
|
+
|
|
5490
|
+
If you want to hide the \`${titleWarningContext.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
5491
|
+
|
|
5492
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;
|
|
5493
|
+
React57.useEffect(() => {
|
|
5494
|
+
if (titleId) {
|
|
5495
|
+
const hasTitle = document.getElementById(titleId);
|
|
5496
|
+
if (!hasTitle) console.error(MESSAGE);
|
|
5497
|
+
}
|
|
5498
|
+
}, [MESSAGE, titleId]);
|
|
5499
|
+
return null;
|
|
5500
|
+
};
|
|
5501
|
+
var DESCRIPTION_WARNING_NAME = "DialogDescriptionWarning";
|
|
5502
|
+
var DescriptionWarning = ({ contentRef, descriptionId }) => {
|
|
5503
|
+
const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);
|
|
5504
|
+
const MESSAGE = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${descriptionWarningContext.contentName}}.`;
|
|
5505
|
+
React57.useEffect(() => {
|
|
5506
|
+
var _a;
|
|
5507
|
+
const describedById = (_a = contentRef.current) == null ? void 0 : _a.getAttribute("aria-describedby");
|
|
5508
|
+
if (descriptionId && describedById) {
|
|
5509
|
+
const hasDescription = document.getElementById(descriptionId);
|
|
5510
|
+
if (!hasDescription) console.warn(MESSAGE);
|
|
5511
|
+
}
|
|
5512
|
+
}, [MESSAGE, contentRef, descriptionId]);
|
|
5513
|
+
return null;
|
|
5514
|
+
};
|
|
5515
|
+
var Root = Dialog;
|
|
5516
|
+
var Trigger = DialogTrigger;
|
|
5517
|
+
var Portal2 = DialogPortal;
|
|
5518
|
+
var Overlay = DialogOverlay;
|
|
5519
|
+
var Content = DialogContent;
|
|
5520
|
+
var Title = DialogTitle;
|
|
5521
|
+
var Description = DialogDescription;
|
|
5522
|
+
var Close = DialogClose;
|
|
5523
|
+
|
|
5524
|
+
// ../../node_modules/.pnpm/@radix-ui+react-alert-dialog@1.1.14_@types+react-dom@19.1.3_@types+react@19.1.2__@types_c6ff7006a888f63e36d2502e019661c3/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs
|
|
5525
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
5526
|
+
var ROOT_NAME = "AlertDialog";
|
|
5527
|
+
var [createAlertDialogContext, createAlertDialogScope] = createContextScope(ROOT_NAME, [
|
|
5528
|
+
createDialogScope
|
|
5529
|
+
]);
|
|
5530
|
+
var useDialogScope = createDialogScope();
|
|
5531
|
+
var AlertDialog = (props) => {
|
|
5532
|
+
const _a = props, { __scopeAlertDialog } = _a, alertDialogProps = __objRest(_a, ["__scopeAlertDialog"]);
|
|
5533
|
+
const dialogScope = useDialogScope(__scopeAlertDialog);
|
|
5534
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Root, __spreadProps(__spreadValues(__spreadValues({}, dialogScope), alertDialogProps), { modal: true }));
|
|
5535
|
+
};
|
|
5536
|
+
AlertDialog.displayName = ROOT_NAME;
|
|
5537
|
+
var TRIGGER_NAME2 = "AlertDialogTrigger";
|
|
5538
|
+
var AlertDialogTrigger = React58.forwardRef(
|
|
5539
|
+
(props, forwardedRef) => {
|
|
5540
|
+
const _a = props, { __scopeAlertDialog } = _a, triggerProps = __objRest(_a, ["__scopeAlertDialog"]);
|
|
5541
|
+
const dialogScope = useDialogScope(__scopeAlertDialog);
|
|
5542
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Trigger, __spreadProps(__spreadValues(__spreadValues({}, dialogScope), triggerProps), { ref: forwardedRef }));
|
|
5543
|
+
}
|
|
5544
|
+
);
|
|
5545
|
+
AlertDialogTrigger.displayName = TRIGGER_NAME2;
|
|
5546
|
+
var PORTAL_NAME3 = "AlertDialogPortal";
|
|
5547
|
+
var AlertDialogPortal = (props) => {
|
|
5548
|
+
const _a = props, { __scopeAlertDialog } = _a, portalProps = __objRest(_a, ["__scopeAlertDialog"]);
|
|
5549
|
+
const dialogScope = useDialogScope(__scopeAlertDialog);
|
|
5550
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Portal2, __spreadValues(__spreadValues({}, dialogScope), portalProps));
|
|
5551
|
+
};
|
|
5552
|
+
AlertDialogPortal.displayName = PORTAL_NAME3;
|
|
5553
|
+
var OVERLAY_NAME2 = "AlertDialogOverlay";
|
|
5554
|
+
var AlertDialogOverlay = React58.forwardRef(
|
|
5555
|
+
(props, forwardedRef) => {
|
|
5556
|
+
const _a = props, { __scopeAlertDialog } = _a, overlayProps = __objRest(_a, ["__scopeAlertDialog"]);
|
|
5557
|
+
const dialogScope = useDialogScope(__scopeAlertDialog);
|
|
5558
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Overlay, __spreadProps(__spreadValues(__spreadValues({}, dialogScope), overlayProps), { ref: forwardedRef }));
|
|
5559
|
+
}
|
|
5560
|
+
);
|
|
5561
|
+
AlertDialogOverlay.displayName = OVERLAY_NAME2;
|
|
5562
|
+
var CONTENT_NAME2 = "AlertDialogContent";
|
|
5563
|
+
var [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME2);
|
|
5564
|
+
var Slottable = createSlottable("AlertDialogContent");
|
|
5565
|
+
var AlertDialogContent = React58.forwardRef(
|
|
5566
|
+
(props, forwardedRef) => {
|
|
5567
|
+
const _a = props, { __scopeAlertDialog, children } = _a, contentProps = __objRest(_a, ["__scopeAlertDialog", "children"]);
|
|
5568
|
+
const dialogScope = useDialogScope(__scopeAlertDialog);
|
|
5569
|
+
const contentRef = React58.useRef(null);
|
|
5570
|
+
const composedRefs = useComposedRefs(forwardedRef, contentRef);
|
|
5571
|
+
const cancelRef = React58.useRef(null);
|
|
5572
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
5573
|
+
WarningProvider,
|
|
5574
|
+
{
|
|
5575
|
+
contentName: CONTENT_NAME2,
|
|
5576
|
+
titleName: TITLE_NAME2,
|
|
5577
|
+
docsSlug: "alert-dialog",
|
|
5578
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(AlertDialogContentProvider, { scope: __scopeAlertDialog, cancelRef, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
5579
|
+
Content,
|
|
5580
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
5581
|
+
role: "alertdialog"
|
|
5582
|
+
}, dialogScope), contentProps), {
|
|
5583
|
+
ref: composedRefs,
|
|
5584
|
+
onOpenAutoFocus: composeEventHandlers(contentProps.onOpenAutoFocus, (event) => {
|
|
5585
|
+
var _a2;
|
|
5586
|
+
event.preventDefault();
|
|
5587
|
+
(_a2 = cancelRef.current) == null ? void 0 : _a2.focus({ preventScroll: true });
|
|
5588
|
+
}),
|
|
5589
|
+
onPointerDownOutside: (event) => event.preventDefault(),
|
|
5590
|
+
onInteractOutside: (event) => event.preventDefault(),
|
|
5591
|
+
children: [
|
|
5592
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Slottable, { children }),
|
|
5593
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DescriptionWarning2, { contentRef })
|
|
5594
|
+
]
|
|
5595
|
+
})
|
|
5596
|
+
) })
|
|
5597
|
+
}
|
|
5598
|
+
);
|
|
5599
|
+
}
|
|
5600
|
+
);
|
|
5601
|
+
AlertDialogContent.displayName = CONTENT_NAME2;
|
|
5602
|
+
var TITLE_NAME2 = "AlertDialogTitle";
|
|
5603
|
+
var AlertDialogTitle = React58.forwardRef(
|
|
5604
|
+
(props, forwardedRef) => {
|
|
5605
|
+
const _a = props, { __scopeAlertDialog } = _a, titleProps = __objRest(_a, ["__scopeAlertDialog"]);
|
|
5606
|
+
const dialogScope = useDialogScope(__scopeAlertDialog);
|
|
5607
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Title, __spreadProps(__spreadValues(__spreadValues({}, dialogScope), titleProps), { ref: forwardedRef }));
|
|
5608
|
+
}
|
|
5609
|
+
);
|
|
5610
|
+
AlertDialogTitle.displayName = TITLE_NAME2;
|
|
5611
|
+
var DESCRIPTION_NAME2 = "AlertDialogDescription";
|
|
5612
|
+
var AlertDialogDescription = React58.forwardRef((props, forwardedRef) => {
|
|
5613
|
+
const _a = props, { __scopeAlertDialog } = _a, descriptionProps = __objRest(_a, ["__scopeAlertDialog"]);
|
|
5614
|
+
const dialogScope = useDialogScope(__scopeAlertDialog);
|
|
5615
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Description, __spreadProps(__spreadValues(__spreadValues({}, dialogScope), descriptionProps), { ref: forwardedRef }));
|
|
5616
|
+
});
|
|
5617
|
+
AlertDialogDescription.displayName = DESCRIPTION_NAME2;
|
|
5618
|
+
var ACTION_NAME = "AlertDialogAction";
|
|
5619
|
+
var AlertDialogAction = React58.forwardRef(
|
|
5620
|
+
(props, forwardedRef) => {
|
|
5621
|
+
const _a = props, { __scopeAlertDialog } = _a, actionProps = __objRest(_a, ["__scopeAlertDialog"]);
|
|
5622
|
+
const dialogScope = useDialogScope(__scopeAlertDialog);
|
|
5623
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Close, __spreadProps(__spreadValues(__spreadValues({}, dialogScope), actionProps), { ref: forwardedRef }));
|
|
5624
|
+
}
|
|
5625
|
+
);
|
|
5626
|
+
AlertDialogAction.displayName = ACTION_NAME;
|
|
5627
|
+
var CANCEL_NAME = "AlertDialogCancel";
|
|
5628
|
+
var AlertDialogCancel = React58.forwardRef(
|
|
5629
|
+
(props, forwardedRef) => {
|
|
5630
|
+
const _a = props, { __scopeAlertDialog } = _a, cancelProps = __objRest(_a, ["__scopeAlertDialog"]);
|
|
5631
|
+
const { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog);
|
|
5632
|
+
const dialogScope = useDialogScope(__scopeAlertDialog);
|
|
5633
|
+
const ref = useComposedRefs(forwardedRef, cancelRef);
|
|
5634
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Close, __spreadProps(__spreadValues(__spreadValues({}, dialogScope), cancelProps), { ref }));
|
|
5635
|
+
}
|
|
5636
|
+
);
|
|
5637
|
+
AlertDialogCancel.displayName = CANCEL_NAME;
|
|
5638
|
+
var DescriptionWarning2 = ({ contentRef }) => {
|
|
5639
|
+
const MESSAGE = `\`${CONTENT_NAME2}\` requires a description for the component to be accessible for screen reader users.
|
|
5640
|
+
|
|
5641
|
+
You can add a description to the \`${CONTENT_NAME2}\` by passing a \`${DESCRIPTION_NAME2}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
5642
|
+
|
|
5643
|
+
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${CONTENT_NAME2}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
|
5644
|
+
|
|
5645
|
+
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;
|
|
5646
|
+
React58.useEffect(() => {
|
|
5647
|
+
var _a;
|
|
5648
|
+
const hasDescription = document.getElementById(
|
|
5649
|
+
(_a = contentRef.current) == null ? void 0 : _a.getAttribute("aria-describedby")
|
|
5650
|
+
);
|
|
5651
|
+
if (!hasDescription) console.warn(MESSAGE);
|
|
5652
|
+
}, [MESSAGE, contentRef]);
|
|
5653
|
+
return null;
|
|
5654
|
+
};
|
|
5655
|
+
var Root2 = AlertDialog;
|
|
5656
|
+
var Portal22 = AlertDialogPortal;
|
|
5657
|
+
var Overlay2 = AlertDialogOverlay;
|
|
5658
|
+
var Content2 = AlertDialogContent;
|
|
5659
|
+
var Action = AlertDialogAction;
|
|
5660
|
+
var Cancel = AlertDialogCancel;
|
|
5661
|
+
var Title2 = AlertDialogTitle;
|
|
5662
|
+
var Description2 = AlertDialogDescription;
|
|
5663
|
+
|
|
5664
|
+
// ../base-ui/src/ui/alert-dialog.tsx
|
|
5665
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
5666
|
+
var AlertDialog2 = Root2;
|
|
5667
|
+
var AlertDialogPortal2 = Portal22;
|
|
5668
|
+
var AlertDialogOverlay2 = React59.forwardRef((_a, ref) => {
|
|
5669
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5670
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5671
|
+
Overlay2,
|
|
5672
|
+
__spreadProps(__spreadValues({
|
|
5673
|
+
className: cn(
|
|
5674
|
+
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
5675
|
+
className
|
|
5676
|
+
)
|
|
5677
|
+
}, props), {
|
|
5678
|
+
ref
|
|
5679
|
+
})
|
|
5680
|
+
);
|
|
5681
|
+
});
|
|
5682
|
+
AlertDialogOverlay2.displayName = Overlay2.displayName;
|
|
5683
|
+
var AlertDialogContent2 = React59.forwardRef((_a, ref) => {
|
|
5684
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5685
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(AlertDialogPortal2, { children: [
|
|
5686
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(AlertDialogOverlay2, {}),
|
|
5687
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5688
|
+
Content2,
|
|
5689
|
+
__spreadValues({
|
|
5690
|
+
ref,
|
|
5691
|
+
className: cn(
|
|
5692
|
+
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
|
|
5693
|
+
className
|
|
5694
|
+
)
|
|
5695
|
+
}, props)
|
|
5696
|
+
)
|
|
5697
|
+
] });
|
|
5698
|
+
});
|
|
5699
|
+
AlertDialogContent2.displayName = Content2.displayName;
|
|
5700
|
+
var AlertDialogHeader = (_a) => {
|
|
5701
|
+
var _b = _a, {
|
|
5702
|
+
className
|
|
5703
|
+
} = _b, props = __objRest(_b, [
|
|
5704
|
+
"className"
|
|
5705
|
+
]);
|
|
5706
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5707
|
+
"div",
|
|
5708
|
+
__spreadValues({
|
|
5709
|
+
className: cn(
|
|
5710
|
+
"flex flex-col space-y-2 text-center sm:text-left",
|
|
5711
|
+
className
|
|
5712
|
+
)
|
|
5713
|
+
}, props)
|
|
5714
|
+
);
|
|
5715
|
+
};
|
|
5716
|
+
AlertDialogHeader.displayName = "AlertDialogHeader";
|
|
5717
|
+
var AlertDialogFooter = (_a) => {
|
|
5718
|
+
var _b = _a, {
|
|
5719
|
+
className
|
|
5720
|
+
} = _b, props = __objRest(_b, [
|
|
5721
|
+
"className"
|
|
5722
|
+
]);
|
|
5723
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5724
|
+
"div",
|
|
5725
|
+
__spreadValues({
|
|
5726
|
+
className: cn(
|
|
5727
|
+
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
5728
|
+
className
|
|
5729
|
+
)
|
|
5730
|
+
}, props)
|
|
5731
|
+
);
|
|
5732
|
+
};
|
|
5733
|
+
AlertDialogFooter.displayName = "AlertDialogFooter";
|
|
5734
|
+
var AlertDialogTitle2 = React59.forwardRef((_a, ref) => {
|
|
5735
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5736
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5737
|
+
Title2,
|
|
5738
|
+
__spreadValues({
|
|
5739
|
+
ref,
|
|
5740
|
+
className: cn("text-lg font-semibold", className)
|
|
5741
|
+
}, props)
|
|
5742
|
+
);
|
|
5743
|
+
});
|
|
5744
|
+
AlertDialogTitle2.displayName = Title2.displayName;
|
|
5745
|
+
var AlertDialogDescription2 = React59.forwardRef((_a, ref) => {
|
|
5746
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5747
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5748
|
+
Description2,
|
|
5749
|
+
__spreadValues({
|
|
5750
|
+
ref,
|
|
5751
|
+
className: cn("text-sm text-muted-foreground", className)
|
|
5752
|
+
}, props)
|
|
5753
|
+
);
|
|
5754
|
+
});
|
|
5755
|
+
AlertDialogDescription2.displayName = Description2.displayName;
|
|
5756
|
+
var AlertDialogAction2 = React59.forwardRef((_a, ref) => {
|
|
5757
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5758
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5759
|
+
Action,
|
|
5760
|
+
__spreadValues({
|
|
5761
|
+
ref,
|
|
5762
|
+
className: cn(buttonVariants(), className)
|
|
5763
|
+
}, props)
|
|
5764
|
+
);
|
|
5765
|
+
});
|
|
5766
|
+
AlertDialogAction2.displayName = Action.displayName;
|
|
5767
|
+
var AlertDialogCancel2 = React59.forwardRef((_a, ref) => {
|
|
5768
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5769
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5770
|
+
Cancel,
|
|
5771
|
+
__spreadValues({
|
|
5772
|
+
ref,
|
|
5773
|
+
className: cn(
|
|
5774
|
+
buttonVariants({ variant: "outline" }),
|
|
5775
|
+
"mt-2 sm:mt-0",
|
|
5776
|
+
className
|
|
5777
|
+
)
|
|
5778
|
+
}, props)
|
|
5779
|
+
);
|
|
5780
|
+
});
|
|
5781
|
+
AlertDialogCancel2.displayName = Cancel.displayName;
|
|
5782
|
+
|
|
5783
|
+
// src/main/ads-alert-dialog.tsx
|
|
5784
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
5785
|
+
function AdsAlertDialog({
|
|
5786
|
+
open,
|
|
5787
|
+
onOpenChange,
|
|
5788
|
+
title,
|
|
5789
|
+
description,
|
|
5790
|
+
imgSrc,
|
|
5791
|
+
imgHref,
|
|
5792
|
+
cancelText,
|
|
5793
|
+
onCancel,
|
|
5794
|
+
confirmText,
|
|
5795
|
+
onConfirm
|
|
5796
|
+
}) {
|
|
5797
|
+
const [imgError, setImgError] = (0, import_react41.useState)(false);
|
|
5798
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(AlertDialog2, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
5799
|
+
AlertDialogContent2,
|
|
5800
|
+
{
|
|
5801
|
+
className: "fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 bg-white dark:bg-neutral-900 rounded-2xl shadow-2xl border border-neutral-200 dark:border-neutral-700 max-w-md w-full min-w-[320px] p-4 flex flex-col items-stretch",
|
|
5802
|
+
children: [
|
|
5803
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex flex-row items-center justify-between mb-2", children: [
|
|
5804
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(AlertDialogTitle2, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex flex-row items-center gap-1 min-w-0 text-xl font-semibold", children: [
|
|
5805
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(globalLucideIcons.Info, { className: "w-5 h-5" }),
|
|
5806
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "truncate", children: title })
|
|
5807
|
+
] }) }),
|
|
5808
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
5809
|
+
"button",
|
|
5810
|
+
{
|
|
5811
|
+
className: "text-neutral-400 hover:text-neutral-700 dark:hover:text-neutral-200 text-xl ml-4",
|
|
5812
|
+
onClick: () => onOpenChange(false),
|
|
5813
|
+
"aria-label": "Close",
|
|
5814
|
+
tabIndex: 0,
|
|
5815
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(globalLucideIcons.X, { className: "w-5 h-5" })
|
|
5816
|
+
}
|
|
5817
|
+
)
|
|
5818
|
+
] }),
|
|
5819
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(AlertDialogDescription2, { className: "text-base font-medium text-neutral-800 dark:text-neutral-100 mb-2", children: description }),
|
|
5820
|
+
imgSrc && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "w-full max-w-[400px] h-[220px] relative flex items-center justify-center mb-2", children: imgError ? /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "absolute inset-0 flex flex-col items-center justify-center bg-gray-100 dark:bg-neutral-800 border border-dashed border-neutral-300 dark:border-neutral-700 rounded-lg text-neutral-400 text-sm", children: [
|
|
5821
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(globalLucideIcons.ImageOff, { className: "w-12 h-12 mb-2" }),
|
|
5822
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { children: "Image loading failed" })
|
|
5823
|
+
] }) : imgHref ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("a", { href: imgHref, target: "_blank", rel: "noopener noreferrer", className: "block w-full h-full", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
5824
|
+
import_image2.default,
|
|
5825
|
+
{
|
|
5826
|
+
src: imgSrc,
|
|
5827
|
+
alt: "image",
|
|
5828
|
+
fill: true,
|
|
5829
|
+
className: "object-contain rounded-lg",
|
|
5830
|
+
priority: false,
|
|
5831
|
+
placeholder: "empty",
|
|
5832
|
+
unoptimized: true,
|
|
5833
|
+
onError: () => setImgError(true),
|
|
5834
|
+
sizes: "(max-width: 400px) 100vw, 400px"
|
|
5835
|
+
}
|
|
5836
|
+
) }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
5837
|
+
import_image2.default,
|
|
5838
|
+
{
|
|
5839
|
+
src: imgSrc,
|
|
5840
|
+
alt: "image",
|
|
5841
|
+
fill: true,
|
|
5842
|
+
className: "object-contain rounded-lg",
|
|
5843
|
+
priority: false,
|
|
5844
|
+
placeholder: "empty",
|
|
5845
|
+
unoptimized: true,
|
|
5846
|
+
onError: () => setImgError(true),
|
|
5847
|
+
sizes: "(max-width: 400px) 100vw, 400px"
|
|
5848
|
+
}
|
|
5849
|
+
) }),
|
|
5850
|
+
(cancelText || confirmText) && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex justify-end gap-2 mt-2", children: [
|
|
5851
|
+
cancelText && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
5852
|
+
"button",
|
|
5853
|
+
{
|
|
5854
|
+
onClick: () => {
|
|
5855
|
+
onOpenChange(false);
|
|
5856
|
+
onCancel == null ? void 0 : onCancel();
|
|
5857
|
+
},
|
|
5858
|
+
className: "px-6 py-2 rounded-lg border border-neutral-300 dark:border-neutral-600 bg-white dark:bg-neutral-800 text-neutral-700 dark:text-neutral-200 font-semibold hover:bg-neutral-100 dark:hover:bg-neutral-700 transition",
|
|
5859
|
+
children: cancelText
|
|
5860
|
+
}
|
|
5861
|
+
),
|
|
5862
|
+
confirmText && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
5863
|
+
AlertDialogAction2,
|
|
5864
|
+
{
|
|
5865
|
+
onClick: () => {
|
|
5866
|
+
onOpenChange(false);
|
|
5867
|
+
onConfirm == null ? void 0 : onConfirm();
|
|
5868
|
+
},
|
|
5869
|
+
className: "px-6 py-2 rounded-lg bg-purple-500 text-white font-semibold hover:bg-purple-600 transition",
|
|
5870
|
+
children: confirmText
|
|
5871
|
+
}
|
|
5872
|
+
)
|
|
5873
|
+
] })
|
|
5874
|
+
]
|
|
5875
|
+
}
|
|
5876
|
+
) });
|
|
5877
|
+
}
|
|
3506
5878
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3507
5879
|
0 && (module.exports = {
|
|
5880
|
+
AdsAlertDialog,
|
|
3508
5881
|
CTA,
|
|
3509
5882
|
FAQ,
|
|
3510
5883
|
Features,
|
|
@@ -3544,6 +5917,7 @@ lucide-react/dist/esm/icons/chevron-right.js:
|
|
|
3544
5917
|
lucide-react/dist/esm/icons/chevron-up.js:
|
|
3545
5918
|
lucide-react/dist/esm/icons/circle-alert.js:
|
|
3546
5919
|
lucide-react/dist/esm/icons/circle-small.js:
|
|
5920
|
+
lucide-react/dist/esm/icons/circle-stop.js:
|
|
3547
5921
|
lucide-react/dist/esm/icons/circle.js:
|
|
3548
5922
|
lucide-react/dist/esm/icons/component.js:
|
|
3549
5923
|
lucide-react/dist/esm/icons/copy.js:
|
|
@@ -3624,7 +5998,7 @@ lucide-react/dist/esm/icons/x.js:
|
|
|
3624
5998
|
lucide-react/dist/esm/icons/zap.js:
|
|
3625
5999
|
lucide-react/dist/esm/lucide-react.js:
|
|
3626
6000
|
(**
|
|
3627
|
-
* @license lucide-react v0.
|
|
6001
|
+
* @license lucide-react v0.525.0 - ISC
|
|
3628
6002
|
*
|
|
3629
6003
|
* This source code is licensed under the ISC license.
|
|
3630
6004
|
* See the LICENSE file in the root directory of this source tree.
|