@epam/ai-dial-ui-kit 0.6.0-rc.62 → 0.6.0-rc.63
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/dial-ui-kit.es.js
CHANGED
|
@@ -2728,7 +2728,7 @@ const st = (e) => {
|
|
|
2728
2728
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2729
2729
|
};
|
|
2730
2730
|
}, f1 = /* @__PURE__ */ Yw(p1);
|
|
2731
|
-
function
|
|
2731
|
+
function ge(...e) {
|
|
2732
2732
|
return f1(ee(e));
|
|
2733
2733
|
}
|
|
2734
2734
|
const bi = ({
|
|
@@ -2739,7 +2739,7 @@ const bi = ({
|
|
|
2739
2739
|
"span",
|
|
2740
2740
|
{
|
|
2741
2741
|
...s,
|
|
2742
|
-
className:
|
|
2742
|
+
className: ge("text-error dial-tiny mt-1", t),
|
|
2743
2743
|
children: e
|
|
2744
2744
|
}
|
|
2745
2745
|
) : null, We = ({ icon: e, className: t }) => e ? /* @__PURE__ */ m("span", { className: ee("flex-shrink-0", t), children: e }) : null, m1 = 7, C1 = 2, Dp = Ea(null), Pp = () => {
|
|
@@ -2893,7 +2893,7 @@ const bi = ({
|
|
|
2893
2893
|
"label",
|
|
2894
2894
|
{
|
|
2895
2895
|
...n,
|
|
2896
|
-
className:
|
|
2896
|
+
className: ge(
|
|
2897
2897
|
"dial-tiny text-secondary flex gap-1",
|
|
2898
2898
|
i,
|
|
2899
2899
|
!i?.includes("mb") && "mb-2"
|
|
@@ -2987,7 +2987,7 @@ const b1 = (e) => ({
|
|
|
2987
2987
|
[qi.Success]: "bg-success border-success text-success",
|
|
2988
2988
|
[qi.Warning]: "bg-warning border-warning text-warning",
|
|
2989
2989
|
[qi.Error]: "bg-error border-error text-error"
|
|
2990
|
-
}, y1 = "items-center justify-between gap-2 p-3 border border-solid dial-small-150 rounded flex",
|
|
2990
|
+
}, y1 = "items-center justify-between gap-2 p-3 border border-solid dial-small-150 rounded flex", j7 = ({
|
|
2991
2991
|
variant: e = qi.Info,
|
|
2992
2992
|
message: t,
|
|
2993
2993
|
className: s,
|
|
@@ -3003,7 +3003,7 @@ const b1 = (e) => ({
|
|
|
3003
3003
|
{
|
|
3004
3004
|
...a,
|
|
3005
3005
|
role: "alert",
|
|
3006
|
-
className:
|
|
3006
|
+
className: ge(
|
|
3007
3007
|
y1,
|
|
3008
3008
|
S1[e],
|
|
3009
3009
|
s
|
|
@@ -3056,7 +3056,7 @@ const b1 = (e) => ({
|
|
|
3056
3056
|
}
|
|
3057
3057
|
)
|
|
3058
3058
|
}
|
|
3059
|
-
), Es = 18,
|
|
3059
|
+
), Es = 18, pe = {
|
|
3060
3060
|
size: Es,
|
|
3061
3061
|
stroke: 2
|
|
3062
3062
|
}, E1 = "text-primary", St = ({
|
|
@@ -3100,7 +3100,7 @@ const b1 = (e) => ({
|
|
|
3100
3100
|
"span",
|
|
3101
3101
|
{
|
|
3102
3102
|
id: o,
|
|
3103
|
-
className:
|
|
3103
|
+
className: ge(
|
|
3104
3104
|
"block truncate flex-1 min-w-0 max-w-full text-left",
|
|
3105
3105
|
t
|
|
3106
3106
|
),
|
|
@@ -3116,7 +3116,7 @@ const b1 = (e) => ({
|
|
|
3116
3116
|
/* @__PURE__ */ m(
|
|
3117
3117
|
Mp,
|
|
3118
3118
|
{
|
|
3119
|
-
className:
|
|
3119
|
+
className: ge(
|
|
3120
3120
|
E1,
|
|
3121
3121
|
s,
|
|
3122
3122
|
!f && "hidden"
|
|
@@ -3149,7 +3149,7 @@ const b1 = (e) => ({
|
|
|
3149
3149
|
), u = ee(
|
|
3150
3150
|
"border rounded",
|
|
3151
3151
|
o ? "bg-layer-4 border-icon-secondary" : ""
|
|
3152
|
-
), h = () => i ? /* @__PURE__ */ m(Kv, { className: u, ...
|
|
3152
|
+
), h = () => i ? /* @__PURE__ */ m(Kv, { className: u, ...pe }) : s ? /* @__PURE__ */ m(dp, { className: u, ...pe }) : null;
|
|
3153
3153
|
return /* @__PURE__ */ z(
|
|
3154
3154
|
"label",
|
|
3155
3155
|
{
|
|
@@ -3240,7 +3240,7 @@ const D1 = (e, t) => {
|
|
|
3240
3240
|
]
|
|
3241
3241
|
}
|
|
3242
3242
|
);
|
|
3243
|
-
},
|
|
3243
|
+
}, K7 = ({
|
|
3244
3244
|
steps: e,
|
|
3245
3245
|
currentStep: t,
|
|
3246
3246
|
onChangeStep: s
|
|
@@ -3358,7 +3358,7 @@ const I1 = "w-full flex", A1 = {
|
|
|
3358
3358
|
role: "group",
|
|
3359
3359
|
"aria-labelledby": t ? v : void 0,
|
|
3360
3360
|
"aria-describedby": y,
|
|
3361
|
-
className:
|
|
3361
|
+
className: ge(
|
|
3362
3362
|
I1,
|
|
3363
3363
|
A1[r],
|
|
3364
3364
|
l
|
|
@@ -3368,7 +3368,7 @@ const I1 = "w-full flex", A1 = {
|
|
|
3368
3368
|
"div",
|
|
3369
3369
|
{
|
|
3370
3370
|
id: v,
|
|
3371
|
-
className:
|
|
3371
|
+
className: ge(r === "horizontal" && "shrink-0"),
|
|
3372
3372
|
children: /* @__PURE__ */ m(
|
|
3373
3373
|
xo,
|
|
3374
3374
|
{
|
|
@@ -3376,7 +3376,7 @@ const I1 = "w-full flex", A1 = {
|
|
|
3376
3376
|
fieldTitle: t,
|
|
3377
3377
|
optional: s,
|
|
3378
3378
|
optionalText: i,
|
|
3379
|
-
className:
|
|
3379
|
+
className: ge(
|
|
3380
3380
|
a && "sr-only",
|
|
3381
3381
|
c
|
|
3382
3382
|
),
|
|
@@ -3385,13 +3385,13 @@ const I1 = "w-full flex", A1 = {
|
|
|
3385
3385
|
)
|
|
3386
3386
|
}
|
|
3387
3387
|
),
|
|
3388
|
-
/* @__PURE__ */ z("div", { className:
|
|
3388
|
+
/* @__PURE__ */ z("div", { className: ge("min-w-0 w-full", u), children: [
|
|
3389
3389
|
g ? /* @__PURE__ */ m("div", { className: "dial-input px-3 py-2", children: x() }) : C,
|
|
3390
3390
|
h && /* @__PURE__ */ m(
|
|
3391
3391
|
"div",
|
|
3392
3392
|
{
|
|
3393
3393
|
id: S,
|
|
3394
|
-
className:
|
|
3394
|
+
className: ge({
|
|
3395
3395
|
"dial-tiny text-secondary mt-1": !0,
|
|
3396
3396
|
"text-error": !!n
|
|
3397
3397
|
}),
|
|
@@ -3440,7 +3440,7 @@ const k1 = "flex", L1 = "pb-1 mt-2", O1 = {
|
|
|
3440
3440
|
role: "radiogroup",
|
|
3441
3441
|
"aria-label": e,
|
|
3442
3442
|
"aria-disabled": u || void 0,
|
|
3443
|
-
className:
|
|
3443
|
+
className: ge(
|
|
3444
3444
|
k1,
|
|
3445
3445
|
O1[f],
|
|
3446
3446
|
n
|
|
@@ -3448,7 +3448,7 @@ const k1 = "flex", L1 = "pb-1 mt-2", O1 = {
|
|
|
3448
3448
|
children: g.map((v) => /* @__PURE__ */ z(
|
|
3449
3449
|
"div",
|
|
3450
3450
|
{
|
|
3451
|
-
className:
|
|
3451
|
+
className: ge(
|
|
3452
3452
|
"flex flex-col",
|
|
3453
3453
|
r,
|
|
3454
3454
|
v.id === p && a
|
|
@@ -3462,7 +3462,7 @@ const k1 = "flex", L1 = "pb-1 mt-2", O1 = {
|
|
|
3462
3462
|
inputId: v.id,
|
|
3463
3463
|
disabled: u,
|
|
3464
3464
|
className: t,
|
|
3465
|
-
labelClassName:
|
|
3465
|
+
labelClassName: ge(
|
|
3466
3466
|
d,
|
|
3467
3467
|
v.id === p && o
|
|
3468
3468
|
),
|
|
@@ -3474,7 +3474,7 @@ const k1 = "flex", L1 = "pb-1 mt-2", O1 = {
|
|
|
3474
3474
|
v.id === p && v.content ? /* @__PURE__ */ m(
|
|
3475
3475
|
"div",
|
|
3476
3476
|
{
|
|
3477
|
-
className:
|
|
3477
|
+
className: ge(
|
|
3478
3478
|
L1,
|
|
3479
3479
|
i
|
|
3480
3480
|
),
|
|
@@ -3498,7 +3498,7 @@ const k1 = "flex", L1 = "pb-1 mt-2", O1 = {
|
|
|
3498
3498
|
}) => /* @__PURE__ */ z(
|
|
3499
3499
|
"div",
|
|
3500
3500
|
{
|
|
3501
|
-
className:
|
|
3501
|
+
className: ge(
|
|
3502
3502
|
"h-full w-full flex flex-col items-center justify-center text-secondary",
|
|
3503
3503
|
i
|
|
3504
3504
|
),
|
|
@@ -3508,7 +3508,7 @@ const k1 = "flex", L1 = "pb-1 mt-2", O1 = {
|
|
|
3508
3508
|
/* @__PURE__ */ m(
|
|
3509
3509
|
"span",
|
|
3510
3510
|
{
|
|
3511
|
-
className:
|
|
3511
|
+
className: ge("dial-small mt-2 text-primary", o),
|
|
3512
3512
|
"aria-label": "no-results-title",
|
|
3513
3513
|
children: t
|
|
3514
3514
|
}
|
|
@@ -3516,7 +3516,7 @@ const k1 = "flex", L1 = "pb-1 mt-2", O1 = {
|
|
|
3516
3516
|
s && /* @__PURE__ */ m(
|
|
3517
3517
|
"span",
|
|
3518
3518
|
{
|
|
3519
|
-
className:
|
|
3519
|
+
className: ge("mt-1 text-primary", n),
|
|
3520
3520
|
"aria-label": "no-results-description",
|
|
3521
3521
|
children: s
|
|
3522
3522
|
}
|
|
@@ -3578,7 +3578,7 @@ const k1 = "flex", L1 = "pb-1 mt-2", O1 = {
|
|
|
3578
3578
|
/* @__PURE__ */ z(
|
|
3579
3579
|
"div",
|
|
3580
3580
|
{
|
|
3581
|
-
className:
|
|
3581
|
+
className: ge("border-t border-tertiary h-12", v),
|
|
3582
3582
|
children: [
|
|
3583
3583
|
f && a,
|
|
3584
3584
|
/* @__PURE__ */ m(
|
|
@@ -3596,7 +3596,7 @@ const k1 = "flex", L1 = "pb-1 mt-2", O1 = {
|
|
|
3596
3596
|
]
|
|
3597
3597
|
}
|
|
3598
3598
|
);
|
|
3599
|
-
},
|
|
3599
|
+
}, q7 = ({
|
|
3600
3600
|
label: e,
|
|
3601
3601
|
text: t,
|
|
3602
3602
|
tooltip: s,
|
|
@@ -3639,7 +3639,7 @@ const H1 = {
|
|
|
3639
3639
|
iconBefore: o,
|
|
3640
3640
|
bordered: n = !0
|
|
3641
3641
|
}) => {
|
|
3642
|
-
const r = H1[i], a =
|
|
3642
|
+
const r = H1[i], a = ge(
|
|
3643
3643
|
"flex items-center gap-1 dial-tiny rounded p-1 h-[22px] text-primary",
|
|
3644
3644
|
r,
|
|
3645
3645
|
n ? "border" : "border-transparent",
|
|
@@ -5391,7 +5391,7 @@ function _p(e, t) {
|
|
|
5391
5391
|
I0(o)
|
|
5392
5392
|
];
|
|
5393
5393
|
}
|
|
5394
|
-
const lh = "column", G0 = "flex items-center", B0 = "mr-3 cursor-move text-secondary",
|
|
5394
|
+
const lh = "column", G0 = "flex items-center", B0 = "mr-3 cursor-move text-secondary", Y7 = ({
|
|
5395
5395
|
id: e,
|
|
5396
5396
|
children: t,
|
|
5397
5397
|
className: s,
|
|
@@ -5431,11 +5431,11 @@ const lh = "column", G0 = "flex items-center", B0 = "mr-3 cursor-move text-secon
|
|
|
5431
5431
|
"div",
|
|
5432
5432
|
{
|
|
5433
5433
|
ref: a,
|
|
5434
|
-
className:
|
|
5434
|
+
className: ge(G0, s),
|
|
5435
5435
|
style: { opacity: c ? 0 : 1 },
|
|
5436
5436
|
"aria-roledescription": "Draggable item",
|
|
5437
5437
|
children: [
|
|
5438
|
-
/* @__PURE__ */ m("div", { ref: r, className: B0, "aria-label": n, children: /* @__PURE__ */ m(Zv, { ...
|
|
5438
|
+
/* @__PURE__ */ m("div", { ref: r, className: B0, "aria-label": n, children: /* @__PURE__ */ m(Zv, { ...pe }) }),
|
|
5439
5439
|
t
|
|
5440
5440
|
]
|
|
5441
5441
|
}
|
|
@@ -5443,15 +5443,15 @@ const lh = "column", G0 = "flex items-center", B0 = "mr-3 cursor-move text-secon
|
|
|
5443
5443
|
}, V0 = (e) => /* @__PURE__ */ be.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ be.createElement("path", { d: "M3.68628 10.3945C3.91003 10.408 4.10927 10.4422 4.2832 10.4978L4.28394 10.4971C4.5167 10.5698 4.71621 10.6662 4.87939 10.7871C4.9994 10.876 5.10332 10.974 5.18994 11.0815L5.27051 11.1929L5.27197 11.1943L5.34009 11.3079C5.38301 11.3838 5.42067 11.4597 5.45288 11.5356L5.49683 11.6492L5.49756 11.6514L5.53198 11.7649C5.56274 11.877 5.5838 11.9867 5.59497 12.0938C5.61194 12.23 5.62059 12.3501 5.62061 12.4534C5.62061 12.6166 5.57231 12.7639 5.47559 12.8906C5.41544 12.9694 5.325 13.0198 5.21997 13.0503C5.11455 13.0809 4.98537 13.0942 4.83691 13.0942C4.73711 13.0942 4.62608 13.0838 4.50439 13.0635C4.37577 13.0415 4.26002 12.9966 4.16089 12.9272L4.15869 12.9258C4.04118 12.8396 3.98657 12.7121 3.98657 12.5625C3.98655 12.2721 3.94576 12.0552 3.87231 11.9033L3.87158 11.9011C3.81572 11.7798 3.69406 11.7026 3.45337 11.7026C3.33114 11.7027 3.25307 11.7292 3.20435 11.7671C3.14221 11.8149 3.10061 11.864 3.07617 11.9128C3.04149 11.985 3.02355 12.0599 3.02124 12.1384V14.7905L3.02637 14.8652C3.03466 14.9384 3.05266 15.0073 3.07983 15.0725L3.10254 15.1201C3.12874 15.1672 3.16488 15.2124 3.21167 15.2556C3.2602 15.2978 3.33572 15.3259 3.45337 15.3259C3.56813 15.3259 3.65533 15.3041 3.71997 15.2673C3.78314 15.2313 3.83208 15.1772 3.86646 15.0996C3.94535 14.9186 3.98655 14.7002 3.98657 14.4412C3.98657 14.3004 4.04381 14.1839 4.1499 14.0991L4.19824 14.0647C4.33673 13.9762 4.55866 13.9431 4.83691 13.9431C5.09384 13.9431 5.30559 13.9858 5.43604 14.1013C5.55182 14.204 5.62061 14.3293 5.62061 14.4749C5.62057 14.7549 5.57953 15.0125 5.49536 15.2461L5.45654 15.3442C5.36294 15.5677 5.23261 15.7627 5.06543 15.928L4.99146 15.9968C4.58057 16.3629 4.03856 16.541 3.37793 16.541L3.12671 16.5278C3.00679 16.5188 2.87303 16.495 2.72607 16.4575C2.61505 16.4287 2.50136 16.3894 2.38696 16.3396L2.27197 16.2861C2.1155 16.2094 1.9705 16.0983 1.83691 15.9558L1.83618 15.9551C1.70598 15.8128 1.59909 15.6391 1.51392 15.4365L1.51318 15.4351C1.42797 15.2251 1.38722 14.9736 1.38721 14.6843V12.345C1.38721 12.1069 1.41644 11.892 1.47656 11.7026C1.52068 11.5616 1.57629 11.4337 1.64355 11.3196L1.7146 11.2097C1.81013 11.07 1.92167 10.9524 2.04932 10.8582C2.17206 10.7676 2.29884 10.6909 2.42871 10.6289L2.54297 10.5798C2.81231 10.4716 3.11394 10.4081 3.44678 10.3879L3.45337 10.3872L3.68628 10.3945Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { d: "M8.10791 11.7371C8.33261 11.7371 8.5218 11.8023 8.61255 11.9758C8.68772 12.1131 8.72383 12.2741 8.72388 12.4534V12.7522H9.03003C9.21461 12.7522 9.37781 12.7845 9.5127 12.8562C9.68704 12.9456 9.7463 13.149 9.74634 13.3843C9.74634 13.612 9.68105 13.8034 9.50537 13.894L9.5061 13.8948C9.36923 13.9665 9.20861 14.0002 9.03003 14.0002H8.72388V14.3064C8.72388 14.4941 8.68994 14.6588 8.61768 14.7942L8.61841 14.7949C8.5293 14.9647 8.334 15.0226 8.10791 15.0227C7.87257 15.0227 7.66761 14.9685 7.5769 14.8L7.57617 14.7993C7.50612 14.6659 7.47583 14.4988 7.47583 14.3064V14.0002H7.18579C6.99507 14.0002 6.82804 13.9669 6.69214 13.894C6.52182 13.8026 6.46069 13.6102 6.46069 13.3843C6.46073 13.1491 6.51509 12.944 6.68335 12.8533L6.68481 12.8525L6.79102 12.8079C6.90305 12.7697 7.03293 12.7522 7.177 12.7522H7.47583V12.4534C7.47587 12.2683 7.50712 12.1056 7.57617 11.9707L7.5769 11.9685L7.61646 11.9092C7.72038 11.7825 7.90134 11.7371 8.10791 11.7371Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { d: "M12.728 11.7371C12.9527 11.7371 13.1419 11.8023 13.2327 11.9758C13.3078 12.1131 13.3439 12.2741 13.344 12.4534V12.7522H13.6501C13.8347 12.7522 13.9979 12.7845 14.1328 12.8562C14.3072 12.9456 14.3664 13.149 14.3665 13.3843C14.3665 13.612 14.3012 13.8034 14.1255 13.894L14.1262 13.8948C13.9894 13.9665 13.8287 14.0002 13.6501 14.0002H13.344V14.3064C13.344 14.4941 13.3101 14.6588 13.2378 14.7942L13.2385 14.7949C13.1494 14.9647 12.9541 15.0226 12.728 15.0227C12.4927 15.0227 12.2877 14.9685 12.197 14.8L12.1963 14.7993C12.1262 14.6659 12.0959 14.4988 12.0959 14.3064V14.0002H11.8059C11.6152 14.0002 11.4482 13.9669 11.3123 13.894C11.1419 13.8026 11.0808 13.6102 11.0808 13.3843C11.0808 13.1491 11.1352 12.944 11.3035 12.8533L11.3049 12.8525L11.4111 12.8079C11.5232 12.7697 11.653 12.7522 11.7971 12.7522H12.0959V12.4534C12.096 12.2683 12.1272 12.1056 12.1963 11.9707L12.197 11.9685L12.2366 11.9092C12.3405 11.7825 12.5215 11.7371 12.728 11.7371Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.574 1.50366C10.7457 1.52068 10.9072 1.59662 11.0303 1.71973L14.7803 5.46973C14.9209 5.61038 15 5.80109 15 6V9C15 9.41421 14.6642 9.75 14.25 9.75C13.8358 9.75 13.5 9.41421 13.5 9V6.75H11.25C10.8522 6.75 10.4708 6.59185 10.1895 6.31055C9.90815 6.02924 9.75 5.64783 9.75 5.25V3H5.25C5.05109 3 4.86038 3.07907 4.71973 3.21973C4.57907 3.36038 4.5 3.55109 4.5 3.75V9C4.5 9.41421 4.16421 9.75 3.75 9.75C3.33579 9.75 3 9.41421 3 9V3.75C3 3.15326 3.23722 2.58114 3.65918 2.15918C4.08114 1.73722 4.65326 1.5 5.25 1.5H10.5L10.574 1.50366ZM11.25 5.25H12.4395L11.25 4.06055V5.25Z", fill: "currentColor" })), z0 = (e) => /* @__PURE__ */ be.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ be.createElement("path", { d: "M4.29639 10.3945C4.50665 10.4083 4.69413 10.4433 4.85815 10.5L4.85889 10.4993C5.07789 10.5733 5.26574 10.6715 5.41919 10.7944C5.53204 10.8849 5.62958 10.9843 5.71069 11.0933L5.78613 11.2053L5.78687 11.2068L5.85059 11.3218C5.89058 11.3983 5.92606 11.4746 5.95605 11.551L5.99707 11.666L5.9978 11.6682L6.05566 11.8945C6.0708 11.9689 6.08168 12.0422 6.08862 12.1143C6.10449 12.252 6.11279 12.3734 6.11279 12.4775C6.11276 12.6403 6.06824 12.7876 5.97803 12.9155C5.92155 12.9956 5.83545 13.0472 5.73486 13.0789C5.63441 13.1104 5.51212 13.1243 5.37231 13.1243C5.32505 13.1243 5.27524 13.1215 5.2229 13.1162L5.05811 13.0928C4.93553 13.0701 4.82533 13.024 4.73145 12.9529L4.72998 12.9514C4.61882 12.8632 4.56958 12.7352 4.56958 12.5874C4.56955 12.2926 4.5312 12.0715 4.46191 11.9165L4.46045 11.9143C4.4319 11.8474 4.38931 11.8003 4.33154 11.7686C4.27185 11.7358 4.18944 11.7158 4.07812 11.7158C3.96626 11.7158 3.89622 11.7421 3.85254 11.7788C3.79519 11.8265 3.75637 11.8759 3.73315 11.926C3.70026 11.9999 3.68262 12.0771 3.68042 12.1582V14.8425L3.68555 14.9187C3.69337 14.9937 3.71038 15.0643 3.73608 15.1311L3.75732 15.1802C3.78176 15.2276 3.81496 15.2727 3.85767 15.3157L3.89575 15.3442C3.93843 15.3699 3.99697 15.386 4.07812 15.386C4.18296 15.386 4.26146 15.3647 4.31982 15.3289C4.37727 15.2935 4.4233 15.2389 4.45605 15.1589C4.53037 14.9746 4.56957 14.7522 4.56958 14.4888C4.56958 14.3307 4.63662 14.2007 4.7666 14.1116L4.82007 14.0801C4.95284 14.0119 5.14337 13.9856 5.37231 13.9856C5.61445 13.9856 5.81633 14.0298 5.94067 14.1489C6.04986 14.2536 6.11274 14.379 6.11279 14.5225C6.11279 14.8453 6.06245 15.1386 5.95972 15.3999C5.85998 15.6574 5.71501 15.8781 5.52466 16.0598L5.52393 16.0591C5.13817 16.4307 4.62871 16.6128 4.00708 16.6128C3.95774 16.6128 3.87811 16.6081 3.77124 16.5996C3.65793 16.5904 3.53127 16.5659 3.39331 16.5278C3.28866 16.4984 3.18149 16.4584 3.07397 16.4077L2.96631 16.3535C2.81858 16.2752 2.68196 16.1624 2.55688 16.0181L2.55615 16.0166C2.43435 15.8725 2.33453 15.6972 2.25513 15.4929L2.25439 15.4915C2.17508 15.28 2.13721 15.0267 2.13721 14.7349V12.3669C2.13721 12.1269 2.16476 11.9109 2.2207 11.7202L2.26538 11.5825C2.3136 11.4491 2.37234 11.3289 2.44263 11.2229C2.53187 11.0816 2.63607 10.9621 2.7561 10.8662C2.87117 10.7743 2.98996 10.6964 3.11206 10.6333L3.11353 10.6326L3.22046 10.5828C3.47384 10.4727 3.75793 10.4085 4.0708 10.3879L4.07812 10.3872L4.29639 10.3945Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.574 1.50366C10.7457 1.52068 10.9072 1.59662 11.0303 1.71973L14.7803 5.46973C14.9209 5.61038 15 5.80109 15 6V14.25C15 14.8467 14.7628 15.4189 14.3408 15.8408C13.9189 16.2628 13.3467 16.5 12.75 16.5H8.625C8.21079 16.5 7.875 16.1642 7.875 15.75C7.875 15.3358 8.21079 15 8.625 15H12.75C12.9489 15 13.1396 14.9209 13.2803 14.7803C13.4209 14.6396 13.5 14.4489 13.5 14.25V6.75H11.25C10.8522 6.75 10.4708 6.59185 10.1895 6.31055C9.90815 6.02924 9.75 5.64783 9.75 5.25V3H5.25C5.05109 3 4.86038 3.07907 4.71973 3.21973C4.57907 3.36038 4.5 3.55109 4.5 3.75V9C4.5 9.41421 4.16421 9.75 3.75 9.75C3.33579 9.75 3 9.41421 3 9V3.75C3 3.15326 3.23722 2.58114 3.65918 2.15918C4.08114 1.73722 4.65326 1.5 5.25 1.5H10.5L10.574 1.50366ZM11.25 5.25H12.4395L11.25 4.06055V5.25Z", fill: "currentColor" })), W0 = (e) => /* @__PURE__ */ be.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ be.createElement("path", { d: "M3.62109 10.571C3.83849 10.5842 4.03206 10.618 4.20117 10.6721L4.2019 10.6714C4.42776 10.742 4.62121 10.8352 4.77979 10.9526C4.89663 11.0392 4.99793 11.135 5.08228 11.2397L5.16064 11.3474L5.16211 11.3489L5.22803 11.4595C5.26973 11.5332 5.30659 11.6069 5.33789 11.6807L5.38037 11.7905L5.3811 11.7935L5.44116 12.0117C5.45675 12.0826 5.46834 12.1524 5.47559 12.2212L5.49463 12.4087C5.49888 12.4674 5.50049 12.5222 5.50049 12.5728C5.50045 12.7317 5.45415 12.8755 5.35986 12.999C5.30088 13.0762 5.2117 13.1246 5.10938 13.1543C5.0067 13.1841 4.88146 13.1975 4.7373 13.1975C4.64029 13.1975 4.53244 13.1872 4.41431 13.1675C4.28898 13.1461 4.17557 13.1026 4.07886 13.0349L4.07739 13.0334C3.96236 12.9491 3.90894 12.8243 3.90894 12.6782C3.90893 12.3968 3.86925 12.187 3.79834 12.0403L3.79761 12.0381C3.74418 11.922 3.62816 11.847 3.39551 11.8469C3.27715 11.8469 3.20179 11.873 3.15527 11.9092C3.09597 11.9548 3.05572 12.0012 3.03223 12.0476L3.03296 12.0483C2.99919 12.1182 2.98102 12.1906 2.97876 12.2666V14.8396L2.98389 14.9114C2.99188 14.9821 3.00888 15.049 3.03516 15.1121L3.05786 15.1582C3.08304 15.2033 3.11768 15.2464 3.1626 15.2878C3.2089 15.3285 3.28115 15.356 3.39551 15.356C3.50633 15.3559 3.58982 15.3349 3.65186 15.2996C3.71249 15.2651 3.75936 15.2131 3.79248 15.1384L3.84302 15.0007C3.88665 14.8554 3.90893 14.6891 3.90894 14.5005C3.90894 14.363 3.96502 14.2494 4.0686 14.1665L4.11621 14.1328C4.25147 14.0465 4.46739 14.0134 4.7373 14.0134C4.98658 14.0134 5.19278 14.0552 5.32031 14.168C5.43323 14.268 5.5004 14.3903 5.50049 14.5327C5.50049 14.8049 5.46077 15.0556 5.37891 15.2827L5.34155 15.3779C5.23762 15.6261 5.08621 15.8373 4.88892 16.0115L4.88965 16.0122C4.49029 16.3681 3.96383 16.541 3.32227 16.541C3.27168 16.541 3.18935 16.5367 3.07837 16.5286C3.02014 16.5242 2.95789 16.5158 2.89307 16.5044L2.68799 16.4597C2.5801 16.4317 2.47025 16.3938 2.35913 16.3455L2.2478 16.2935C2.09553 16.2188 1.95433 16.1112 1.82446 15.9727L1.82373 15.9712C1.69712 15.8328 1.593 15.6642 1.51025 15.4673L1.50952 15.4658C1.42669 15.2616 1.38721 15.0172 1.38721 14.7363V12.4666C1.38723 12.2355 1.41597 12.0273 1.47437 11.8433C1.53119 11.6615 1.60684 11.502 1.70361 11.3665L1.77686 11.2676C1.85263 11.1732 1.9374 11.0913 2.03101 11.0222C2.15024 10.9342 2.27322 10.8598 2.39941 10.7996L2.40015 10.7988L2.51074 10.7512C2.77229 10.6462 3.0652 10.5848 3.38818 10.5652L3.39551 10.5645L3.62109 10.571Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.574 1.50366C10.7457 1.52068 10.9072 1.59662 11.0303 1.71973L14.7803 5.46973C14.9209 5.61038 15 5.80109 15 6V14.25C15 14.8467 14.7628 15.4189 14.3408 15.8408C13.9189 16.2628 13.3467 16.5 12.75 16.5H12C11.5858 16.5 11.25 16.1642 11.25 15.75C11.25 15.3358 11.5858 15 12 15H12.75C12.9489 15 13.1396 14.9209 13.2803 14.7803C13.4209 14.6396 13.5 14.4489 13.5 14.25V6.75H11.25C10.8522 6.75 10.4708 6.59185 10.1895 6.31055C9.90815 6.02924 9.75 5.64783 9.75 5.25V3H5.25C5.05109 3 4.86038 3.07907 4.71973 3.21973C4.57907 3.36038 4.5 3.55109 4.5 3.75V9C4.5 9.41421 4.16421 9.75 3.75 9.75C3.33579 9.75 3 9.41421 3 9V3.75C3 3.15326 3.23722 2.58114 3.65918 2.15918C4.08114 1.73722 4.65326 1.5 5.25 1.5H10.5L10.574 1.50366ZM11.25 5.25H12.4395L11.25 4.06055V5.25Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.36914 11.28C9.50263 11.28 9.62352 11.3063 9.72583 11.3643L9.7251 11.365C9.85906 11.4379 9.90454 11.5838 9.90454 11.7429C9.9045 11.7567 9.90157 11.7778 9.89941 11.7935C9.89658 11.814 9.89242 11.8422 9.88696 11.8777C9.87611 11.9455 9.8639 12.0222 9.85034 12.1062C9.84553 12.136 9.84018 12.1643 9.83569 12.1912H10.0525C10.1919 12.1912 10.3171 12.2148 10.4216 12.2688L10.4209 12.2695C10.5686 12.3412 10.6128 12.5089 10.6128 12.6863C10.6128 12.8587 10.5617 13.0123 10.4194 13.0898L10.4187 13.0906C10.3122 13.1472 10.1885 13.1726 10.0525 13.1726H9.67529L9.55225 13.8589H9.75952C9.89706 13.8589 10.0206 13.8819 10.1243 13.9343C10.2748 14.005 10.3198 14.1752 10.3198 14.354C10.3198 14.5291 10.2702 14.6875 10.1243 14.7627L10.1235 14.7634C10.0176 14.8164 9.89461 14.8403 9.75952 14.8403H9.38452L9.33398 15.1677L9.33325 15.1714C9.30492 15.3271 9.26297 15.4669 9.20728 15.5903L9.20801 15.5911C9.17656 15.6626 9.13001 15.7228 9.06592 15.7646C9.00162 15.8065 8.92683 15.8247 8.84839 15.8247C8.72 15.8247 8.60307 15.8041 8.50122 15.7581L8.49976 15.7573C8.35755 15.6908 8.31299 15.5386 8.31299 15.3787C8.31299 15.3406 8.31787 15.2939 8.32617 15.241L8.35913 15.0242C8.36863 14.9624 8.37948 14.9012 8.38989 14.8403H7.92847L7.87793 15.1677L7.8772 15.1714C7.84887 15.3271 7.80691 15.4669 7.75122 15.5903L7.75195 15.5911C7.72046 15.6627 7.6734 15.7228 7.60913 15.7646C7.54487 15.8064 7.47071 15.8247 7.39233 15.8247C7.26394 15.8247 7.14702 15.8041 7.04517 15.7581L7.0437 15.7573C6.90149 15.6908 6.85693 15.5387 6.85693 15.3787C6.85694 15.3406 6.86181 15.2939 6.87012 15.241L6.90308 15.0242C6.91257 14.9624 6.92342 14.9012 6.93384 14.8403H6.6687C6.52906 14.8403 6.40313 14.8167 6.29663 14.7634L6.29297 14.762C6.15355 14.6853 6.10844 14.5261 6.1084 14.354C6.1084 14.1782 6.1487 14.0079 6.29297 13.9358C6.39784 13.882 6.52535 13.8589 6.6687 13.8589H7.09497L7.21802 13.1726H6.95361C6.81311 13.1726 6.68646 13.1475 6.57935 13.0906L6.57788 13.0898C6.43874 13.0135 6.39332 12.8568 6.39331 12.6863C6.39331 12.5105 6.43361 12.3402 6.57788 12.2681C6.68271 12.2144 6.81036 12.1912 6.95361 12.1912H7.38721L7.46045 11.7561C7.47174 11.6625 7.50842 11.5673 7.56372 11.4712C7.63824 11.3418 7.76255 11.2801 7.91309 11.28C8.04657 11.28 8.16746 11.3063 8.26978 11.3643L8.26904 11.365C8.403 11.4379 8.44849 11.5838 8.44849 11.7429C8.44844 11.7567 8.44552 11.7778 8.44336 11.7935C8.44053 11.814 8.43636 11.8422 8.43091 11.8777C8.42006 11.9455 8.40784 12.0222 8.39429 12.1062C8.38947 12.136 8.38413 12.1643 8.37964 12.1912H8.84326L8.9165 11.7561C8.92779 11.6625 8.96448 11.5673 9.01978 11.4712C9.0943 11.3418 9.21861 11.2801 9.36914 11.28ZM8.09619 13.8589H8.55103L8.67407 13.1726H8.21924L8.09619 13.8589Z", fill: "currentColor" })), _0 = (e) => /* @__PURE__ */ be.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ be.createElement("path", { d: "M4.43188 10.4409C4.65285 10.4409 4.85471 10.4869 4.99951 10.6152L4.99878 10.6159C5.13097 10.7305 5.21409 10.881 5.25146 11.0576C5.28474 11.2148 5.30052 11.3869 5.30054 11.5724V15.4323C5.30054 15.6193 5.28417 15.7927 5.25146 15.9516L5.2522 15.9523C5.21779 16.1313 5.13551 16.2842 4.99951 16.3976L4.99878 16.3969C4.85386 16.52 4.65269 16.5646 4.43188 16.5646C4.21337 16.5646 4.01411 16.5195 3.86792 16.3976L3.86353 16.394C3.73466 16.2798 3.65263 16.1299 3.6123 15.9553L3.61157 15.9516C3.57826 15.7941 3.5625 15.6205 3.5625 15.4323V11.5724C3.56252 11.3869 3.5783 11.2148 3.61157 11.0576C3.64882 10.8815 3.72996 10.7302 3.85986 10.6152L3.86133 10.6137C4.00804 10.4875 4.2103 10.4409 4.43188 10.4409Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { d: "M8.07129 10.4474C8.18434 10.4599 8.28945 10.4924 8.3811 10.55L8.38184 10.5493C8.45754 10.5942 8.52569 10.6451 8.58472 10.7016L8.64111 10.7602L8.64331 10.7631L8.69385 10.8298C8.72596 10.8768 8.75504 10.9284 8.78101 10.9836L8.81763 11.0685L8.81909 11.0729L9.85986 13.8928V11.2692C9.85986 11.0565 9.89522 10.8654 9.98291 10.7119L9.98364 10.7104L10.0349 10.6393C10.1656 10.4886 10.3781 10.4409 10.5974 10.4409C10.8635 10.4409 11.125 10.4947 11.2529 10.6965C11.3535 10.8508 11.3928 11.0487 11.3928 11.2692V15.4323C11.3928 15.6163 11.3809 15.7863 11.3577 15.9413L11.3584 15.9421C11.3349 16.1167 11.2678 16.2708 11.1467 16.3881C11.0102 16.5202 10.8106 16.5646 10.5974 16.5646H10.0554C9.86994 16.5646 9.69972 16.5199 9.56104 16.416C9.44129 16.3261 9.3452 16.215 9.27466 16.0842C9.21353 15.9706 9.16292 15.8593 9.12378 15.7509L8.14893 13.1091V15.7363C8.14893 15.9493 8.11322 16.1406 8.02661 16.2958L8.02588 16.2973C7.90706 16.5052 7.66112 16.5646 7.41138 16.5646C7.14233 16.5646 6.88122 16.5106 6.75 16.312C6.64812 16.1572 6.60791 15.9581 6.60791 15.7363V11.5724C6.60792 11.3882 6.61818 11.2193 6.63867 11.0671V11.0641L6.66724 10.9367C6.7042 10.8142 6.76699 10.706 6.85986 10.6188C6.9982 10.4862 7.19704 10.4409 7.41138 10.4409H7.95337L8.07129 10.4474Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { d: "M13.5688 10.4409C13.7898 10.4409 13.9917 10.4869 14.1365 10.6152L14.1357 10.6159C14.2679 10.7305 14.3511 10.881 14.3884 11.0576C14.4217 11.2148 14.4375 11.3869 14.4375 11.5724V15.4323C14.4375 15.6193 14.4211 15.7927 14.3884 15.9516L14.3892 15.9523C14.3548 16.1313 14.2725 16.2842 14.1365 16.3976L14.1357 16.3969C13.9908 16.52 13.7897 16.5646 13.5688 16.5646C13.3503 16.5646 13.1511 16.5195 13.0049 16.3976L13.0005 16.394C12.8716 16.2798 12.7896 16.1299 12.7493 15.9553L12.7485 15.9516C12.7152 15.7941 12.6995 15.6205 12.6995 15.4323V11.5724C12.6995 11.3869 12.7153 11.2148 12.7485 11.0576C12.7858 10.8815 12.8669 10.7302 12.9968 10.6152L12.9983 10.6137C13.145 10.4875 13.3473 10.4409 13.5688 10.4409Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.574 1.50385C10.7457 1.52087 10.9072 1.59681 11.0303 1.71991L14.7803 5.46991C14.9208 5.61054 15 5.80136 15 6.00018V9.00018C14.9998 9.41423 14.6641 9.75018 14.25 9.75018C13.8359 9.75018 13.5002 9.41423 13.5 9.00018V6.75018H11.25C10.8523 6.75018 10.4707 6.59192 10.1895 6.31073C9.90824 6.02951 9.7501 5.64788 9.75 5.25018V3.00018H5.25C5.05109 3.00018 4.86038 3.07926 4.71973 3.21991C4.57919 3.36054 4.5 3.55136 4.5 3.75018V9.00018C4.4998 9.41423 4.16409 9.75018 3.75 9.75018C3.33591 9.75018 3.0002 9.41423 3 9.00018V3.75018C3 3.15353 3.23734 2.5813 3.65918 2.15936C4.08114 1.73741 4.65326 1.50018 5.25 1.50018H10.5L10.574 1.50385ZM11.25 5.25018H12.4395L11.25 4.06073V5.25018Z", fill: "currentColor" })), U0 = (e) => /* @__PURE__ */ be.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ be.createElement("path", { d: "M6.76831 10.8267C6.93291 10.8267 7.08404 10.8408 7.22021 10.8691L7.35205 10.9021L7.35278 10.9028L7.46851 10.9431C7.57872 10.986 7.67614 11.038 7.75928 11.0991C7.84245 11.1591 7.91481 11.2265 7.97388 11.3005L8.02881 11.3767L8.02954 11.3774L8.11011 11.5254C8.13317 11.5747 8.15233 11.6249 8.16797 11.6755C8.19815 11.7711 8.21863 11.8631 8.22656 11.9502C8.23376 12.0294 8.23755 12.096 8.23755 12.1479C8.23753 12.318 8.17338 12.4626 8.04639 12.572C7.92503 12.676 7.77653 12.7265 7.60913 12.7266C7.4711 12.7266 7.34146 12.6749 7.22241 12.583C7.1027 12.4905 7.02328 12.3741 7.02319 12.2329C7.02319 12.0468 6.98759 11.9498 6.94775 11.907L6.94629 11.9055C6.90561 11.8606 6.83878 11.8294 6.72583 11.8293C6.58234 11.8293 6.48534 11.856 6.42334 11.896C6.4086 11.9056 6.38747 11.9281 6.37061 11.981C6.35372 12.0341 6.34351 12.1099 6.34351 12.2117C6.34581 12.2878 6.36799 12.3546 6.40869 12.4153C6.45761 12.4821 6.52298 12.549 6.60718 12.6138L6.73608 12.7053C6.78632 12.7386 6.84449 12.7751 6.9104 12.8145C7.04454 12.8945 7.16167 12.9644 7.2605 13.0232L7.44507 13.1426C7.50565 13.1844 7.56597 13.2284 7.62524 13.2744C7.74715 13.3666 7.8562 13.4715 7.95337 13.5886C8.05276 13.7085 8.13297 13.8432 8.1936 13.9922C8.25599 14.1456 8.28891 14.3172 8.29395 14.5049V14.5364C8.29395 14.7339 8.26896 14.9141 8.21777 15.0754V15.0776C8.11696 15.3776 7.94914 15.6082 7.7124 15.761L7.71313 15.7617C7.62701 15.8179 7.53944 15.8644 7.45166 15.9016L7.36304 15.936C7.30225 15.9571 7.24075 15.9753 7.1792 15.9902L6.99243 16.0261C6.87331 16.0431 6.75886 16.0529 6.65039 16.0554H6.61304C6.41017 16.0554 6.22414 16.0345 6.05786 15.9917C5.89914 15.9495 5.75823 15.8922 5.63892 15.8196L5.63745 15.8188C5.52025 15.7449 5.42093 15.6589 5.34155 15.561C5.26338 15.4674 5.20001 15.3681 5.15332 15.2644C5.10802 15.1659 5.07431 15.0659 5.05371 14.9656C5.03361 14.8676 5.02297 14.7738 5.02295 14.6851C5.02295 14.5014 5.0798 14.3447 5.20898 14.2375L5.20972 14.2368L5.30493 14.1731C5.40409 14.1186 5.51594 14.0918 5.63745 14.0918C5.79553 14.0919 5.94175 14.1407 6.07251 14.2354L6.12451 14.2764C6.2216 14.3622 6.27861 14.4745 6.2959 14.6067L6.30103 14.6741L6.31055 14.7847C6.32502 14.8796 6.35383 14.9312 6.38306 14.9568C6.43071 14.9963 6.50789 15.0238 6.63135 15.0242C6.76743 15.0198 6.85874 14.9863 6.91772 14.9355L6.91846 14.9341L6.95361 14.8938C6.98575 14.8434 7.00924 14.7604 7.00928 14.6287C7.00928 14.4903 6.96843 14.3706 6.8877 14.2661L6.88696 14.2646C6.80068 14.1504 6.68858 14.0439 6.55078 13.946L6.55005 13.9453C6.40626 13.841 6.25592 13.7396 6.10034 13.6421C5.93262 13.5343 5.77326 13.4207 5.62427 13.303L5.62354 13.3022C5.46846 13.1772 5.34021 13.0351 5.24121 12.8752C5.13746 12.7076 5.0852 12.514 5.08008 12.2988V12.2388L5.0874 12.0505C5.10126 11.869 5.13388 11.7086 5.18628 11.5708V11.5693L5.2478 11.4382C5.31532 11.3136 5.40255 11.2077 5.51074 11.1233L5.62207 11.0464C5.73813 10.9764 5.87099 10.9263 6.01831 10.894C6.21201 10.8494 6.43196 10.8267 6.67603 10.8267H6.76831Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { d: "M14.2266 10.8062C14.3565 10.8062 14.4736 10.8329 14.5693 10.8933L14.5701 10.8926L14.5715 10.894L14.5737 10.8948L14.573 10.8955C14.6342 10.9321 14.6895 10.9722 14.7363 11.0171L14.781 11.064L14.7825 11.0662L14.8235 11.1204C14.8363 11.1392 14.8492 11.159 14.8608 11.1797L14.9246 11.3159L14.9253 11.3181L15.9163 14.0024V11.4705C15.9163 11.2922 15.9461 11.1369 16.0159 11.0149L16.054 10.9607C16.1527 10.8467 16.3175 10.8062 16.5022 10.8062C16.7284 10.8062 16.9271 10.8532 17.0229 11.0017C17.1032 11.1237 17.1379 11.2847 17.1379 11.4705V15.0535C17.1379 15.21 17.1275 15.3541 17.1079 15.4849L17.1086 15.4856C17.0896 15.6273 17.0355 15.7491 16.9409 15.8408C16.837 15.9414 16.6806 15.9784 16.5022 15.9785H16.0356C15.8837 15.9785 15.7483 15.9422 15.6394 15.8606C15.5419 15.7874 15.4638 15.6974 15.4065 15.5911C15.3549 15.4953 15.3125 15.4018 15.2798 15.3113L14.3459 12.7815V15.3149C14.3459 15.4932 14.316 15.6489 14.2471 15.7727L14.2463 15.7734C14.158 15.9281 13.9711 15.9784 13.76 15.9785C13.53 15.9785 13.3292 15.9315 13.2312 15.783C13.151 15.6609 13.1169 15.5006 13.1169 15.3149V11.7319C13.117 11.575 13.126 11.4319 13.1433 11.3035V11.3013L13.166 11.1987C13.1955 11.1009 13.2454 11.0157 13.3176 10.9475L13.3594 10.9124C13.4627 10.8363 13.6027 10.8062 13.76 10.8062H14.2266Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { d: "M3.62183 10.73C3.8058 10.73 3.96571 10.7696 4.07959 10.8677C4.185 10.9586 4.25306 11.0796 4.28613 11.2229C4.31675 11.3557 4.33154 11.5018 4.33154 11.6602V14.3606C4.33154 14.617 4.29481 14.8413 4.21655 15.0293C4.15993 15.1652 4.09098 15.286 4.00928 15.3896L3.92285 15.4878C3.80762 15.6056 3.67869 15.6971 3.5376 15.7625L3.53833 15.7632C3.40115 15.8269 3.27011 15.872 3.14722 15.8979L3.14795 15.8987C3.09669 15.9112 3.04501 15.9213 2.99414 15.9294L2.8418 15.9478C2.74998 15.9548 2.68156 15.9587 2.64111 15.9587C2.3706 15.9587 2.13396 15.928 1.93506 15.8643C1.73937 15.8022 1.56914 15.7204 1.42749 15.6174C1.28776 15.5158 1.17335 15.3984 1.08691 15.2651L1.02686 15.1685C0.970789 15.0715 0.926873 14.9732 0.895752 14.874L0.896484 14.8733C0.852315 14.745 0.821564 14.6203 0.806396 14.499L0.805664 14.4968C0.793555 14.3806 0.786621 14.2779 0.786621 14.1899C0.786659 14.0481 0.829716 13.9196 0.914062 13.8091C0.968035 13.7386 1.04873 13.6949 1.13965 13.6685C1.231 13.642 1.34202 13.6297 1.46851 13.6296C1.55651 13.6297 1.65224 13.6393 1.75415 13.6567C1.8653 13.6758 1.96539 13.7157 2.05151 13.7783C2.15785 13.853 2.20677 13.9666 2.20679 14.0977C2.20679 14.3421 2.24112 14.5246 2.302 14.6528L2.32178 14.6865C2.37332 14.7613 2.46833 14.8095 2.64111 14.8096C2.74386 14.8095 2.80532 14.7883 2.8396 14.762L2.84106 14.7605L2.90552 14.7019C2.92253 14.6822 2.9356 14.6623 2.94507 14.6426L2.97803 14.5518C2.98565 14.5209 2.98953 14.4889 2.99048 14.4565V11.9641H2.17236C2.0293 11.9641 1.8922 11.9536 1.76221 11.9312L1.76001 11.9304C1.62252 11.9035 1.50268 11.8482 1.40698 11.7612L1.40625 11.7598C1.30008 11.6602 1.25688 11.5177 1.25684 11.3547C1.25684 11.1882 1.29936 11.0419 1.40625 10.9417C1.49986 10.8517 1.6187 10.7951 1.75635 10.7681L1.9585 10.7395C2.02775 10.7333 2.09935 10.73 2.17236 10.73H3.62183Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.0061 10.8398C11.1058 10.8474 11.2146 10.8676 11.3313 10.8984L11.332 10.8977C11.4562 10.9275 11.5817 10.9747 11.7078 11.0376L11.803 11.0896C11.8653 11.1277 11.926 11.1727 11.9839 11.2244L12.0688 11.3071L12.0696 11.3079L12.1472 11.4001C12.2197 11.4965 12.2807 11.608 12.3303 11.7327L12.3772 11.8674C12.417 12.0081 12.4358 12.1667 12.4358 12.3406V14.4111C12.4358 14.649 12.4035 14.8579 12.3347 15.0337L12.334 15.0352C12.2654 15.204 12.1782 15.349 12.071 15.4666C11.9653 15.5823 11.8439 15.6747 11.7085 15.7412L11.7078 15.7405C11.5864 15.8034 11.4622 15.8534 11.335 15.8877C11.2172 15.9189 11.1066 15.9387 11.0061 15.9463C10.9136 15.9532 10.8413 15.9573 10.793 15.9573H10.675L10.4626 15.9463C10.362 15.9387 10.2518 15.919 10.1338 15.8877C10.0122 15.8554 9.8873 15.8055 9.75952 15.7405C9.62706 15.6742 9.50578 15.5832 9.39624 15.4688L9.39551 15.468C9.28579 15.3506 9.19561 15.2056 9.12451 15.0366L9.12378 15.0352C9.05226 14.8589 9.01835 14.6495 9.01831 14.4111V12.3406C9.01831 12.105 9.05259 11.8998 9.12451 11.7297C9.19368 11.5618 9.28389 11.4184 9.39697 11.3027C9.50677 11.1905 9.62826 11.1014 9.76099 11.0376C9.82393 11.0062 9.88688 10.9792 9.94849 10.957L9.94922 10.9563L10.1323 10.8992L10.1345 10.8984L10.3066 10.8604C10.3612 10.8506 10.4136 10.8436 10.4626 10.8398L10.675 10.8289H10.793C10.8413 10.8289 10.9136 10.8329 11.0061 10.8398ZM10.738 11.9473C10.6399 11.9473 10.5796 11.9688 10.5439 11.9963L10.5432 11.9971C10.4934 12.0354 10.4596 12.0746 10.4385 12.1135L10.4377 12.1143C10.4103 12.1641 10.3949 12.222 10.3931 12.2886V14.5393L10.4062 14.6309L10.4385 14.7151L10.4392 14.7158L10.481 14.7766C10.4976 14.7958 10.5181 14.8147 10.5417 14.833L10.5732 14.8521C10.6101 14.8689 10.6637 14.8806 10.738 14.8806C10.8345 14.8805 10.8925 14.8598 10.9255 14.8345C10.9743 14.7969 11.0075 14.7565 11.0288 14.7158C11.054 14.6605 11.0699 14.5993 11.0757 14.5327V12.2944L11.0588 12.197C11.051 12.167 11.0406 12.138 11.0281 12.1106C11.0069 12.0728 10.9738 12.0343 10.9255 11.9971L10.9233 11.9949C10.8905 11.9684 10.8335 11.9474 10.738 11.9473Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.574 1.50366C10.7457 1.52068 10.9072 1.59662 11.0303 1.71973L14.7803 5.46973C14.9209 5.61038 15 5.80109 15 6V9C15 9.41421 14.6642 9.75 14.25 9.75C13.8358 9.75 13.5 9.41421 13.5 9V6.75H11.25C10.8522 6.75 10.4708 6.59185 10.1895 6.31055C9.90815 6.02924 9.75 5.64783 9.75 5.25V3H5.25C5.05109 3 4.86038 3.07907 4.71973 3.21973C4.57907 3.36038 4.5 3.55109 4.5 3.75V9C4.5 9.41421 4.16421 9.75 3.75 9.75C3.33579 9.75 3 9.41421 3 9V3.75C3 3.15326 3.23722 2.58114 3.65918 2.15918C4.08114 1.73722 4.65326 1.5 5.25 1.5H10.5L10.574 1.50366ZM11.25 5.25H12.4395L11.25 4.06055V5.25Z", fill: "currentColor" })), $0 = (e) => /* @__PURE__ */ be.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ be.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.574 1.50366C10.7457 1.52068 10.9072 1.59662 11.0303 1.71973L14.7803 5.46973C14.9209 5.61038 15 5.80109 15 6V14.25C15 14.8467 14.7628 15.4189 14.3408 15.8408C13.9189 16.2628 13.3467 16.5 12.75 16.5H12C11.5858 16.5 11.25 16.1642 11.25 15.75C11.25 15.3358 11.5858 15 12 15H12.75C12.9489 15 13.1396 14.9209 13.2803 14.7803C13.4209 14.6396 13.5 14.4489 13.5 14.25V6.75H11.25C10.8522 6.75 10.4708 6.59185 10.1895 6.31055C9.90815 6.02924 9.75 5.64783 9.75 5.25V3H5.25C5.05109 3 4.86038 3.07907 4.71973 3.21973C4.57907 3.36038 4.5 3.55109 4.5 3.75V9C4.5 9.41421 4.16421 9.75 3.75 9.75C3.33579 9.75 3 9.41421 3 9V3.75C3 3.15326 3.23722 2.58114 3.65918 2.15918C4.08114 1.73722 4.65326 1.5 5.25 1.5H10.5L10.574 1.50366ZM11.25 5.25H12.4395L11.25 4.06055V5.25Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { d: "M2.39355 10.5C2.53545 10.5 2.6592 10.5122 2.75757 10.5417C2.88987 10.5815 2.99161 10.6954 3.07251 10.8289L3.15747 10.9885L3.25195 11.2031L3.25269 11.2046L3.35229 11.4683C3.38786 11.5664 3.42601 11.6752 3.46655 11.7942L3.76318 12.6665L3.76392 12.6687L3.76904 12.6848L3.79907 12.5911L3.94849 12.1348C3.99515 11.9948 4.03674 11.8689 4.073 11.7576L4.07373 11.7561L4.1814 11.4434C4.21489 11.3495 4.24596 11.265 4.27515 11.1907L4.36084 10.9849C4.38855 10.9239 4.41584 10.8705 4.44214 10.8252C4.51581 10.6953 4.61188 10.5823 4.74243 10.5417H4.7439L4.82153 10.5227C4.90321 10.5069 4.99686 10.5 5.09985 10.5H5.67041C5.87137 10.5 6.05265 10.5425 6.17505 10.6619L6.17944 10.6655C6.29073 10.7714 6.35329 10.9108 6.375 11.072C6.39695 11.2133 6.40721 11.3701 6.40723 11.5415V15.5149C6.4072 15.7232 6.3696 15.9065 6.27686 16.0474C6.16065 16.2235 5.92578 16.2751 5.67041 16.2751C5.43573 16.2751 5.21924 16.2184 5.11157 16.0378L5.10938 16.0342C5.03005 15.8921 4.9966 15.7149 4.99658 15.5149V12.8335L4.4436 14.4456L4.44141 14.4521C4.39239 14.576 4.32667 14.6919 4.24658 14.8008L4.24731 14.8015C4.14341 14.9438 3.9882 15.008 3.80933 15.0081H3.73096C3.55351 15.008 3.40015 14.9437 3.29004 14.8081L3.28857 14.8066C3.20076 14.6954 3.13356 14.575 3.08862 14.4463L2.53564 12.8496V15.5149C2.53562 15.7149 2.50218 15.8921 2.42285 16.0342L2.42212 16.0356C2.31692 16.2193 2.09741 16.2751 1.86182 16.2751C1.60639 16.2751 1.37154 16.2236 1.25537 16.0474C1.16263 15.9065 1.12502 15.7232 1.125 15.5149V11.5415C1.12501 11.3697 1.13426 11.2129 1.15356 11.072L1.1543 11.0691L1.17993 10.9526C1.21308 10.8409 1.26884 10.7425 1.35059 10.6633L1.39966 10.6223C1.52082 10.5332 1.68333 10.5 1.86182 10.5H2.39355Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.1106 10.5C9.62746 10.5 10.0624 10.6251 10.4026 10.8875L10.5256 10.9944C10.6405 11.1071 10.7342 11.238 10.8062 11.3862C10.9039 11.5876 10.9497 11.8187 10.9497 12.074V14.4983C10.9497 14.7119 10.927 14.9051 10.8779 15.0754C10.8306 15.2398 10.7676 15.3875 10.689 15.5156L10.6875 15.5186C10.6079 15.6408 10.5165 15.7481 10.4143 15.8386C10.3155 15.9261 10.2132 15.9989 10.1074 16.0547L10.1067 16.054C9.86566 16.1854 9.58987 16.2585 9.28271 16.2751H7.97681C7.77408 16.2751 7.59145 16.2335 7.46704 16.1169C7.35471 16.0115 7.2898 15.8714 7.26489 15.7097C7.24266 15.5651 7.23194 15.4033 7.23193 15.2256V11.5415C7.23195 11.3663 7.2426 11.2069 7.26489 11.0647C7.28985 10.9032 7.35482 10.7635 7.46704 10.6582C7.59145 10.5416 7.77403 10.5 7.97681 10.5H9.1106ZM8.72095 15.0447H9.07544C9.15931 15.0426 9.23737 15.0225 9.31055 14.9839L9.31348 14.9817L9.35815 14.9553C9.40066 14.926 9.43743 14.8876 9.46802 14.8381L9.46875 14.8367L9.49438 14.7861C9.51748 14.7305 9.53172 14.6593 9.53174 14.5686V12.2615C9.53174 12.1256 9.50631 12.0248 9.46509 11.9517L9.46362 11.9495C9.42061 11.8696 9.36785 11.8162 9.30762 11.7825C9.25706 11.7542 9.19978 11.7342 9.1355 11.7231L9.06885 11.7151H8.72095V15.0447Z", fill: "currentColor" })), j0 = (e) => /* @__PURE__ */ be.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ be.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.6416 10.3784C3.95675 10.4068 4.24355 10.4808 4.49927 10.6033L4.68896 10.7058C4.75102 10.7437 4.81209 10.7853 4.87207 10.8303C4.99897 10.9227 5.10899 11.0375 5.20459 11.1724C5.30765 11.311 5.38613 11.4733 5.44116 11.6558L5.47998 11.8008C5.51306 11.9504 5.52903 12.1125 5.52905 12.2856C5.52905 12.6011 5.47828 12.8867 5.37305 13.1382L5.37378 13.1389C5.28434 13.3557 5.15787 13.5441 4.99512 13.7014L4.92334 13.7666C4.52343 14.1103 3.97203 14.269 3.2959 14.269H2.95166V15.4292C2.95165 15.614 2.93964 15.7845 2.91577 15.9397C2.8883 16.1182 2.81511 16.2739 2.68652 16.3909L2.68579 16.3901C2.54556 16.5202 2.34254 16.5645 2.12329 16.5645C1.90696 16.5644 1.70685 16.5194 1.56738 16.3887L1.56519 16.3865C1.44288 16.2679 1.37145 16.1152 1.34399 15.9404L1.34326 15.936C1.32257 15.7822 1.31251 15.613 1.3125 15.4292V11.5042C1.31251 11.3204 1.3225 11.1524 1.34326 11.001L1.34399 10.9973L1.37256 10.8691C1.40991 10.7455 1.47366 10.6362 1.56738 10.5483C1.70673 10.4148 1.90677 10.3689 2.12329 10.3689H3.50464L3.6416 10.3784ZM2.95166 12.9053H3.31787C3.43267 12.8984 3.53116 12.8714 3.61597 12.8269C3.69435 12.7857 3.75967 12.7244 3.81226 12.6387L3.84448 12.5728C3.8728 12.5 3.88989 12.4058 3.88989 12.2856C3.88984 12.1374 3.85971 12.0411 3.81812 11.9795L3.81519 11.9744C3.76419 11.8937 3.70357 11.8366 3.63428 11.7979C3.56584 11.7635 3.47692 11.7377 3.36328 11.7253H2.95166V12.9053Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { d: "M9.85181 10.3689C9.96017 10.369 10.0701 10.3945 10.1792 10.4392L10.2876 10.4897L10.2935 10.4927L10.2993 10.4963C10.4209 10.5712 10.5226 10.6619 10.5879 10.7725C10.6503 10.8716 10.6882 10.9809 10.6882 11.0969C10.6882 11.1892 10.6526 11.2993 10.6077 11.4089L10.6069 11.4082C10.5828 11.4685 10.5524 11.5379 10.5154 11.6147C10.4774 11.6937 10.4326 11.7792 10.3813 11.8704L9.1582 14.0391V15.4373C9.1582 15.6164 9.14303 15.7853 9.11279 15.9426C9.07918 16.1138 9.00547 16.2635 8.88647 16.3799L8.88721 16.3806C8.75142 16.5164 8.5562 16.5644 8.34668 16.5645C8.13595 16.5644 7.94219 16.5154 7.80249 16.3843L7.80103 16.3828C7.68055 16.2661 7.60635 16.1157 7.57251 15.9434C7.54226 15.786 7.52783 15.6164 7.52783 15.4373V14.0398L6.12085 11.5283L6.11938 11.5261C6.0459 11.3891 6.00587 11.2453 6.00586 11.0969C6.00589 10.986 6.03681 10.8798 6.09155 10.7812L6.09302 10.7791L6.15015 10.6963C6.21492 10.6176 6.30071 10.5509 6.39771 10.4941L6.4043 10.4905L6.5127 10.4392C6.6213 10.3943 6.73162 10.369 6.84155 10.3689C7.06446 10.369 7.25232 10.4649 7.39307 10.6399L7.48096 10.752C7.5635 10.8656 7.6337 10.9873 7.69263 11.116L8.34668 12.4878L9.00073 11.116C9.07902 10.945 9.177 10.7867 9.29443 10.6421L9.29517 10.6414L9.35083 10.5791C9.48615 10.443 9.65571 10.3689 9.85181 10.3689Z", fill: "currentColor" }), /* @__PURE__ */ be.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.574 1.50366C10.7457 1.52068 10.9072 1.59662 11.0303 1.71973L14.7803 5.46973C14.9209 5.61038 15 5.80109 15 6V14.25C15 14.8467 14.7628 15.4189 14.3408 15.8408C13.9189 16.2628 13.3467 16.5 12.75 16.5H12C11.5858 16.5 11.25 16.1642 11.25 15.75C11.25 15.3358 11.5858 15 12 15H12.75C12.9489 15 13.1396 14.9209 13.2803 14.7803C13.4209 14.6396 13.5 14.4489 13.5 14.25V6.75H11.25C10.8522 6.75 10.4708 6.59185 10.1895 6.31055C9.90815 6.02924 9.75 5.64783 9.75 5.25V3H5.25C5.05109 3 4.86038 3.07907 4.71973 3.21973C4.57907 3.36038 4.5 3.55109 4.5 3.75V9C4.5 9.41421 4.16421 9.75 3.75 9.75C3.33579 9.75 3 9.41421 3 9V3.75C3 3.15326 3.23722 2.58114 3.65918 2.15918C4.08114 1.73722 4.65326 1.5 5.25 1.5H10.5L10.574 1.50366ZM11.25 5.25H12.4395L11.25 4.06055V5.25Z", fill: "currentColor" })), _e = (e, t) => /* @__PURE__ */ m(
|
|
5444
5444
|
e,
|
|
5445
5445
|
{
|
|
5446
|
-
size: t.size ??
|
|
5447
|
-
stroke: t.stroke ??
|
|
5446
|
+
size: t.size ?? pe.size,
|
|
5447
|
+
stroke: t.stroke ?? pe.stroke,
|
|
5448
5448
|
className: t.className
|
|
5449
5449
|
}
|
|
5450
5450
|
), li = (e, t) => /* @__PURE__ */ m(
|
|
5451
5451
|
e,
|
|
5452
5452
|
{
|
|
5453
|
-
width: Number(t.size ??
|
|
5454
|
-
height: Number(t.size ??
|
|
5453
|
+
width: Number(t.size ?? pe.size),
|
|
5454
|
+
height: Number(t.size ?? pe.size),
|
|
5455
5455
|
className: t.className
|
|
5456
5456
|
}
|
|
5457
5457
|
), ch = {
|
|
@@ -5488,8 +5488,8 @@ const lh = "column", G0 = "flex items-center", B0 = "mr-3 cursor-move text-secon
|
|
|
5488
5488
|
default: (e) => _e(hp, e)
|
|
5489
5489
|
}, Up = ({
|
|
5490
5490
|
extension: e,
|
|
5491
|
-
size: t =
|
|
5492
|
-
stroke: s =
|
|
5491
|
+
size: t = pe.size,
|
|
5492
|
+
stroke: s = pe.stroke,
|
|
5493
5493
|
className: i,
|
|
5494
5494
|
decorative: o = !1,
|
|
5495
5495
|
label: n,
|
|
@@ -5522,7 +5522,7 @@ const lh = "column", G0 = "flex items-center", B0 = "mr-3 cursor-move text-secon
|
|
|
5522
5522
|
}) => /* @__PURE__ */ m(
|
|
5523
5523
|
We,
|
|
5524
5524
|
{
|
|
5525
|
-
className:
|
|
5525
|
+
className: ge(
|
|
5526
5526
|
"text-accent-primary flex bg-layer-3",
|
|
5527
5527
|
i
|
|
5528
5528
|
),
|
|
@@ -5546,7 +5546,7 @@ const lh = "column", G0 = "flex items-center", B0 = "mr-3 cursor-move text-secon
|
|
|
5546
5546
|
sharedIndicatorClassName: n
|
|
5547
5547
|
}) => {
|
|
5548
5548
|
const r = e.includes(".") ? e.split(".").pop() : null;
|
|
5549
|
-
return /* @__PURE__ */ z("div", { className:
|
|
5549
|
+
return /* @__PURE__ */ z("div", { className: ge("flex items-center gap-2 w-full", t), children: [
|
|
5550
5550
|
r && /* @__PURE__ */ m(
|
|
5551
5551
|
Up,
|
|
5552
5552
|
{
|
|
@@ -5589,11 +5589,11 @@ const lh = "column", G0 = "flex items-center", B0 = "mr-3 cursor-move text-secon
|
|
|
5589
5589
|
const r = () => i ? /* @__PURE__ */ m(Pa, { size: o }) : /* @__PURE__ */ m(
|
|
5590
5590
|
We,
|
|
5591
5591
|
{
|
|
5592
|
-
icon: /* @__PURE__ */ m(Ad, { ...
|
|
5592
|
+
icon: /* @__PURE__ */ m(Ad, { ...pe, size: o }),
|
|
5593
5593
|
className: "inline-block align-middle"
|
|
5594
5594
|
}
|
|
5595
5595
|
);
|
|
5596
|
-
return /* @__PURE__ */ z("div", { className:
|
|
5596
|
+
return /* @__PURE__ */ z("div", { className: ge("flex items-center gap-2 w-full", t), children: [
|
|
5597
5597
|
/* @__PURE__ */ z("span", { className: "inline-flex relative text-secondary", role: "img", children: [
|
|
5598
5598
|
r(),
|
|
5599
5599
|
s && /* @__PURE__ */ m("span", { className: "absolute z-50 -bottom-0.5 -left-0.5", children: /* @__PURE__ */ m(Qr, { className: n }) })
|
|
@@ -6077,7 +6077,7 @@ const sS = ({ side: e, className: t }) => {
|
|
|
6077
6077
|
customHandler: s,
|
|
6078
6078
|
handlerClassName: i
|
|
6079
6079
|
}) => {
|
|
6080
|
-
const o =
|
|
6080
|
+
const o = ge(
|
|
6081
6081
|
"invisible h-full w-0.5 group-hover:visible bg-accent-primary text-accent-primary cursor-col-resize transition-opacity",
|
|
6082
6082
|
t && "visible",
|
|
6083
6083
|
i
|
|
@@ -6181,13 +6181,13 @@ const rS = (e) => {
|
|
|
6181
6181
|
}) => {
|
|
6182
6182
|
if (!o && n)
|
|
6183
6183
|
return /* @__PURE__ */ m(ze, { children: n });
|
|
6184
|
-
const u =
|
|
6184
|
+
const u = ge(
|
|
6185
6185
|
"bg-layer-3",
|
|
6186
6186
|
e && "animate-pulse",
|
|
6187
6187
|
c
|
|
6188
6188
|
);
|
|
6189
6189
|
if (r !== Zt.Default) {
|
|
6190
|
-
const F =
|
|
6190
|
+
const F = ge(
|
|
6191
6191
|
u,
|
|
6192
6192
|
r === Zt.Circular && "rounded-full",
|
|
6193
6193
|
r === Zt.Rectangular && "rounded",
|
|
@@ -6196,11 +6196,11 @@ const rS = (e) => {
|
|
|
6196
6196
|
return a && (P.width = typeof a == "number" ? `${a}px` : a), l && (P.height = typeof l == "number" ? `${l}px` : l), /* @__PURE__ */ m("div", { className: F, style: P, ...d });
|
|
6197
6197
|
}
|
|
6198
6198
|
const h = !!s, g = !!i, p = !!t, f = typeof s == "object" ? s : {}, C = typeof i == "object" ? i : {}, v = typeof t == "object" ? t : {}, w = rS(f.size), b = f.shape ?? Ac.Circle, S = C.width ?? "38%", y = v.rows ?? 3, R = v.width, x = (F) => R ? Array.isArray(R) ? R[F] ?? "100%" : R : F === y - 1 ? "61%" : "100%";
|
|
6199
|
-
return /* @__PURE__ */ z("div", { ...d, className:
|
|
6199
|
+
return /* @__PURE__ */ z("div", { ...d, className: ge("flex gap-4", c), children: [
|
|
6200
6200
|
h && /* @__PURE__ */ m(
|
|
6201
6201
|
"div",
|
|
6202
6202
|
{
|
|
6203
|
-
className:
|
|
6203
|
+
className: ge(
|
|
6204
6204
|
u,
|
|
6205
6205
|
b === Ac.Circle ? "rounded-full" : "rounded",
|
|
6206
6206
|
"flex-shrink-0"
|
|
@@ -6212,14 +6212,14 @@ const rS = (e) => {
|
|
|
6212
6212
|
g && /* @__PURE__ */ m(
|
|
6213
6213
|
"div",
|
|
6214
6214
|
{
|
|
6215
|
-
className:
|
|
6215
|
+
className: ge(u, "h-4 rounded"),
|
|
6216
6216
|
style: { width: S }
|
|
6217
6217
|
}
|
|
6218
6218
|
),
|
|
6219
6219
|
p && /* @__PURE__ */ m("div", { className: "flex flex-col gap-3", children: Array.from({ length: y }).map((F, P) => /* @__PURE__ */ m(
|
|
6220
6220
|
"div",
|
|
6221
6221
|
{
|
|
6222
|
-
className:
|
|
6222
|
+
className: ge(u, "h-4 rounded"),
|
|
6223
6223
|
style: { width: x(P) }
|
|
6224
6224
|
},
|
|
6225
6225
|
P
|
|
@@ -6361,7 +6361,7 @@ function hs(e) {
|
|
|
6361
6361
|
function Ye(e) {
|
|
6362
6362
|
return hs(e).activeElement;
|
|
6363
6363
|
}
|
|
6364
|
-
function
|
|
6364
|
+
function at(e) {
|
|
6365
6365
|
const { gos: t, eRootDiv: s } = e;
|
|
6366
6366
|
let i = null;
|
|
6367
6367
|
const o = t.get("getDocument");
|
|
@@ -6369,15 +6369,15 @@ function rt(e) {
|
|
|
6369
6369
|
}
|
|
6370
6370
|
function $p(e) {
|
|
6371
6371
|
const t = Ye(e);
|
|
6372
|
-
return t === null || t ===
|
|
6372
|
+
return t === null || t === at(e).body;
|
|
6373
6373
|
}
|
|
6374
6374
|
function jp(e) {
|
|
6375
|
-
return
|
|
6375
|
+
return at(e).defaultView || window;
|
|
6376
6376
|
}
|
|
6377
6377
|
function qd(e) {
|
|
6378
6378
|
let t = null, s = null;
|
|
6379
6379
|
try {
|
|
6380
|
-
t =
|
|
6380
|
+
t = at(e).fullscreenElement;
|
|
6381
6381
|
} catch {
|
|
6382
6382
|
} finally {
|
|
6383
6383
|
t || (t = hs(e));
|
|
@@ -6727,7 +6727,7 @@ function HS(e, t, s) {
|
|
|
6727
6727
|
return;
|
|
6728
6728
|
const l = sf(e.offsetParent), { clientY: c, clientX: d } = t;
|
|
6729
6729
|
let u = c - l.top - o / 2, h = d - l.left - 10;
|
|
6730
|
-
const g =
|
|
6730
|
+
const g = at(s), p = g.defaultView || window, f = p.pageYOffset || g.documentElement.scrollTop, C = p.pageXOffset || g.documentElement.scrollLeft;
|
|
6731
6731
|
n > 0 && h + e.clientWidth > n + C && (h = n + C - e.clientWidth), h < 0 && (h = 0), r > 0 && u + e.clientHeight > r + f && (u = r + f - e.clientHeight), u < 0 && (u = 0), e.style.left = `${h}px`, e.style.top = `${u}px`;
|
|
6732
6732
|
}
|
|
6733
6733
|
var Lr = (e, ...t) => {
|
|
@@ -9767,7 +9767,7 @@ function ga(e) {
|
|
|
9767
9767
|
s && (e.ctrlKey || e.metaKey || e.altKey) || t !== s && (Kc = s);
|
|
9768
9768
|
}
|
|
9769
9769
|
function VR(e) {
|
|
9770
|
-
const t =
|
|
9770
|
+
const t = at(e);
|
|
9771
9771
|
return GR(t), ha++, () => {
|
|
9772
9772
|
ha--, BR(t);
|
|
9773
9773
|
};
|
|
@@ -11434,7 +11434,7 @@ ${n}}
|
|
|
11434
11434
|
this.interactionEnabled && ([this.tooltipMouseEnterListener, this.tooltipMouseLeaveListener] = this.addManagedElementListeners(i, {
|
|
11435
11435
|
mouseenter: this.onTooltipMouseEnter.bind(this),
|
|
11436
11436
|
mouseleave: this.onTooltipMouseLeave.bind(this)
|
|
11437
|
-
}), [this.onDocumentKeyDownCallback] = this.addManagedElementListeners(
|
|
11437
|
+
}), [this.onDocumentKeyDownCallback] = this.addManagedElementListeners(at(this.beans), {
|
|
11438
11438
|
keydown: (r) => {
|
|
11439
11439
|
i.contains(r?.target) || this.onKeyDown();
|
|
11440
11440
|
}
|
|
@@ -11641,12 +11641,12 @@ ${n}}
|
|
|
11641
11641
|
}
|
|
11642
11642
|
}
|
|
11643
11643
|
getParentRect() {
|
|
11644
|
-
const e =
|
|
11644
|
+
const e = at(this.beans);
|
|
11645
11645
|
let t = this.getPopupParent();
|
|
11646
11646
|
return t === e.body ? t = e.documentElement : getComputedStyle(t).position === "static" && (t = t.offsetParent), sf(t);
|
|
11647
11647
|
}
|
|
11648
11648
|
keepXYWithinBounds(e, t, s) {
|
|
11649
|
-
const i = s === 0, o = i ? "clientHeight" : "clientWidth", n = i ? "top" : "left", r = i ? "height" : "width", a = i ? "scrollTop" : "scrollLeft", l =
|
|
11649
|
+
const i = s === 0, o = i ? "clientHeight" : "clientWidth", n = i ? "top" : "left", r = i ? "height" : "width", a = i ? "scrollTop" : "scrollLeft", l = at(this.beans), c = l.documentElement, d = this.getPopupParent(), u = e.getBoundingClientRect(), h = d.getBoundingClientRect(), g = l.documentElement.getBoundingClientRect(), p = d === l.body, f = Math.ceil(u[r]);
|
|
11650
11650
|
let v = p ? (i ? tf : Jr)(c) + c[a] : d[o];
|
|
11651
11651
|
p && (v -= Math.abs(g[n] - h[n]));
|
|
11652
11652
|
const w = v - f;
|
|
@@ -11671,7 +11671,7 @@ ${n}}
|
|
|
11671
11671
|
return n.applyThemeClasses(a), a.classList.add("ag-popup"), e.classList.add(r.get("enableRtl") ? "ag-rtl" : "ag-ltr", "ag-popup-child"), e.hasAttribute("role") || Ri(e, "dialog"), s ? po(e, s) : i && (e.id || (e.id = `popup-component-${mr}`), fh(i, e.id)), a.appendChild(e), o.appendChild(a), t ? this.setAlwaysOnTop(e, !0) : this.bringPopupToFront(e), a;
|
|
11672
11672
|
}
|
|
11673
11673
|
addEventListenersToPopup(e) {
|
|
11674
|
-
const t = this.beans, s =
|
|
11674
|
+
const t = this.beans, s = at(t), { wrapperEl: i, eChild: o, closedCallback: n, afterGuiAttached: r, closeOnEsc: a, modal: l, ariaOwns: c } = e;
|
|
11675
11675
|
let d = !1;
|
|
11676
11676
|
const u = (f) => {
|
|
11677
11677
|
if (!i.contains(Ye(t)))
|
|
@@ -11783,7 +11783,7 @@ ${n}}
|
|
|
11783
11783
|
return this.isElementWithinCustomPopup(o.target);
|
|
11784
11784
|
}
|
|
11785
11785
|
isElementWithinCustomPopup(e) {
|
|
11786
|
-
const t =
|
|
11786
|
+
const t = at(this.beans);
|
|
11787
11787
|
for (; e && e !== t.body; ) {
|
|
11788
11788
|
if (e.classList.contains("ag-custom-component-popup") || e.parentElement === null)
|
|
11789
11789
|
return !0;
|
|
@@ -11940,7 +11940,7 @@ ${n}}
|
|
|
11940
11940
|
}
|
|
11941
11941
|
initDrag(e, ...t) {
|
|
11942
11942
|
this.drag = e;
|
|
11943
|
-
const s = this.beans, i = (a) => this.onScroll(a), o = (a) => this.onKeyDown(a), n = hs(s), r =
|
|
11943
|
+
const s = this.beans, i = (a) => this.onScroll(a), o = (a) => this.onKeyDown(a), n = hs(s), r = at(s);
|
|
11944
11944
|
Lr(
|
|
11945
11945
|
e.handlers,
|
|
11946
11946
|
[n, "contextmenu", Us],
|
|
@@ -12022,7 +12022,7 @@ ${n}}
|
|
|
12022
12022
|
}
|
|
12023
12023
|
/** only gets called after a mouse down - as this is only added after mouseDown and is removed when mouseUp happens */
|
|
12024
12024
|
onMouseOrPointerMove(e) {
|
|
12025
|
-
Rs(e) && (si() &&
|
|
12025
|
+
Rs(e) && (si() && at(this.beans).getSelection()?.removeAllRanges(), this.shouldPreventMouseEvent(e) && Us(e), this.onMove(e));
|
|
12026
12026
|
}
|
|
12027
12027
|
onTouchMove(e) {
|
|
12028
12028
|
const t = this.drag;
|
|
@@ -12897,7 +12897,7 @@ function Gh(e, t, s, i, o, n, r) {
|
|
|
12897
12897
|
}
|
|
12898
12898
|
o(a), l ? n(c) : mm(t, s, i);
|
|
12899
12899
|
}
|
|
12900
|
-
function
|
|
12900
|
+
function rt(e, t) {
|
|
12901
12901
|
return e[t] ?? null;
|
|
12902
12902
|
}
|
|
12903
12903
|
function xt(e) {
|
|
@@ -15611,7 +15611,7 @@ var rF = class extends L {
|
|
|
15611
15611
|
return;
|
|
15612
15612
|
const { paddingTop: h, paddingBottom: g, borderBottomWidth: p, borderTopWidth: f } = Mi(this.eGui), C = h + g + p + f, w = t.offsetHeight + C;
|
|
15613
15613
|
if (u < 5) {
|
|
15614
|
-
const S = !
|
|
15614
|
+
const S = !at(o)?.contains(t), y = w == 0;
|
|
15615
15615
|
if (S || y) {
|
|
15616
15616
|
Oc(() => n(u + 1), "raf", o);
|
|
15617
15617
|
return;
|
|
@@ -17758,7 +17758,7 @@ var OF = class extends L {
|
|
|
17758
17758
|
!(this.providedFocusInnerElement ? this.providedFocusInnerElement(t) : this.focusInnerElement(t)) && this.forceFocusOutWhenTabGuardsAreEmpty && this.findNextElementOutsideAndFocus(e.target === this.eBottomGuard);
|
|
17759
17759
|
}
|
|
17760
17760
|
findNextElementOutsideAndFocus(e) {
|
|
17761
|
-
const t =
|
|
17761
|
+
const t = at(this.beans), s = oo(t.body, null, !0), i = s.indexOf(e ? this.eTopGuard : this.eBottomGuard);
|
|
17762
17762
|
if (i === -1)
|
|
17763
17763
|
return;
|
|
17764
17764
|
let o, n;
|
|
@@ -17856,7 +17856,7 @@ var OF = class extends L {
|
|
|
17856
17856
|
return this.tabGuardCtrl;
|
|
17857
17857
|
}
|
|
17858
17858
|
createTabGuard(e) {
|
|
17859
|
-
const t =
|
|
17859
|
+
const t = at(this.beans).createElement("div"), s = e === "top" ? ro.TAB_GUARD_TOP : ro.TAB_GUARD_BOTTOM;
|
|
17860
17860
|
return t.classList.add(ro.TAB_GUARD, s), Ri(t, "presentation"), t;
|
|
17861
17861
|
}
|
|
17862
17862
|
addTabGuards(e, t) {
|
|
@@ -23523,7 +23523,7 @@ var iP = class extends L {
|
|
|
23523
23523
|
e.ctrlsSvc.whenReady(this, (s) => {
|
|
23524
23524
|
this.gridBodyCon = s.gridBodyCtrl;
|
|
23525
23525
|
});
|
|
23526
|
-
const t =
|
|
23526
|
+
const t = at(e);
|
|
23527
23527
|
this.addManagedElementListeners(t, {
|
|
23528
23528
|
mousedown: () => {
|
|
23529
23529
|
this.currentHeaderRowWithoutSpan = -1;
|
|
@@ -29316,7 +29316,7 @@ var x5 = {
|
|
|
29316
29316
|
super(), this.beanName = "ariaAnnounce", this.descriptionContainer = null, this.pendingAnnouncements = /* @__PURE__ */ new Map(), this.lastAnnouncement = "", this.updateAnnouncement = ut(this, this.updateAnnouncement.bind(this), 200);
|
|
29317
29317
|
}
|
|
29318
29318
|
postConstruct() {
|
|
29319
|
-
const e = this.beans, t =
|
|
29319
|
+
const e = this.beans, t = at(e), s = this.descriptionContainer = t.createElement("div");
|
|
29320
29320
|
s.classList.add("ag-aria-description-container"), Yp(s, "polite"), fS(s, "additions text"), pS(s, !0), e.eGridDiv.appendChild(s);
|
|
29321
29321
|
}
|
|
29322
29322
|
/**
|
|
@@ -32710,7 +32710,7 @@ var z4 = class extends L {
|
|
|
32710
32710
|
this.comp.getFloatingFilterComp()?.then((i) => {
|
|
32711
32711
|
typeof i?.refresh == "function" && (this.gos.get("enableFilterHandlers") && (s = {
|
|
32712
32712
|
...s,
|
|
32713
|
-
model:
|
|
32713
|
+
model: rt(this.beans.colFilter?.model ?? {}, this.column.getColId()),
|
|
32714
32714
|
source: t
|
|
32715
32715
|
}), i.refresh(s));
|
|
32716
32716
|
});
|
|
@@ -32975,7 +32975,7 @@ var nT = {
|
|
|
32975
32975
|
for (const i of Object.keys(t)) {
|
|
32976
32976
|
const o = t[i];
|
|
32977
32977
|
this.state.set(i, {
|
|
32978
|
-
model:
|
|
32978
|
+
model: rt(this.model, i),
|
|
32979
32979
|
state: o
|
|
32980
32980
|
});
|
|
32981
32981
|
}
|
|
@@ -32995,9 +32995,9 @@ var nT = {
|
|
|
32995
32995
|
getModelFromFilterWrapper(e) {
|
|
32996
32996
|
const s = e.column.getColId();
|
|
32997
32997
|
if (e.isHandler)
|
|
32998
|
-
return
|
|
32998
|
+
return rt(this.model, s);
|
|
32999
32999
|
const i = e.filter;
|
|
33000
|
-
return i ? typeof i.getModel != "function" ? (_(66), null) : i.getModel() :
|
|
33000
|
+
return i ? typeof i.getModel != "function" ? (_(66), null) : i.getModel() : rt(this.initialModel, s);
|
|
33001
33001
|
}
|
|
33002
33002
|
isFilterPresent() {
|
|
33003
33003
|
return this.activeColumnFilters.length > 0;
|
|
@@ -33090,7 +33090,7 @@ var nT = {
|
|
|
33090
33090
|
if (!h.doesFilterPass({
|
|
33091
33091
|
node: e,
|
|
33092
33092
|
data: r,
|
|
33093
|
-
model:
|
|
33093
|
+
model: rt(a, d),
|
|
33094
33094
|
handlerParams: g
|
|
33095
33095
|
}))
|
|
33096
33096
|
return !1;
|
|
@@ -33169,10 +33169,10 @@ var nT = {
|
|
|
33169
33169
|
if (t?.isHandler)
|
|
33170
33170
|
return this.isHandlerActive(e);
|
|
33171
33171
|
const s = t?.filter;
|
|
33172
|
-
return s ? s.isFilterActive() :
|
|
33172
|
+
return s ? s.isFilterActive() : rt(this.initialModel, e.getColId()) != null;
|
|
33173
33173
|
}
|
|
33174
33174
|
isHandlerActive(e) {
|
|
33175
|
-
const t = Q(
|
|
33175
|
+
const t = Q(rt(this.model, e.getColId()));
|
|
33176
33176
|
if (t)
|
|
33177
33177
|
return t;
|
|
33178
33178
|
const s = this.beans.groupFilter;
|
|
@@ -33269,7 +33269,7 @@ var nT = {
|
|
|
33269
33269
|
const o = this.filterChangedCallbackFactory(e), n = this.createBaseFilterParams(e, i);
|
|
33270
33270
|
if (n.filterChangedCallback = o, n.filterModifiedCallback = i ? () => {
|
|
33271
33271
|
} : (r) => this.filterModified(e, r), t) {
|
|
33272
|
-
const r = n, a = e.getColId(), l =
|
|
33272
|
+
const r = n, a = e.getColId(), l = rt(this.model, a);
|
|
33273
33273
|
r.model = l, r.state = this.state.get(a) ?? {
|
|
33274
33274
|
model: l
|
|
33275
33275
|
}, r.onModelChange = (c, d) => {
|
|
@@ -33318,7 +33318,7 @@ var nT = {
|
|
|
33318
33318
|
return delete this.initialModel[r], s.init?.({
|
|
33319
33319
|
...o,
|
|
33320
33320
|
source: "init",
|
|
33321
|
-
model:
|
|
33321
|
+
model: rt(this.model, r)
|
|
33322
33322
|
}), {
|
|
33323
33323
|
column: e,
|
|
33324
33324
|
isHandler: !0,
|
|
@@ -33437,7 +33437,7 @@ var nT = {
|
|
|
33437
33437
|
});
|
|
33438
33438
|
if (c) {
|
|
33439
33439
|
const h = u, g = e.getColId(), p = this.filterChangedCallbackFactory(e);
|
|
33440
|
-
h.onUiChange = (f) => this.floatingFilterUiChanged(e, f), h.model =
|
|
33440
|
+
h.onUiChange = (f) => this.floatingFilterUiChanged(e, f), h.model = rt(this.model, g), h.onModelChange = (f, C) => {
|
|
33441
33441
|
this.updateStoredModel(g, f), this.refreshHandlerAndUi(e, f, "floating", !0, C).then(() => {
|
|
33442
33442
|
p({ ...C, source: "columnFilter" });
|
|
33443
33443
|
});
|
|
@@ -33527,7 +33527,7 @@ var nT = {
|
|
|
33527
33527
|
this.createFilterCompParams(o, u, "colDef")
|
|
33528
33528
|
);
|
|
33529
33529
|
if (h) {
|
|
33530
|
-
const C = d?.handlerNameOrCallback ?? d?.filterHandler, v =
|
|
33530
|
+
const C = d?.handlerNameOrCallback ?? d?.filterHandler, v = rt(this.model, e);
|
|
33531
33531
|
if (s.handlerGenerator != C) {
|
|
33532
33532
|
const w = s.handler, { handler: b, handlerParams: S } = this.createHandlerFromFunc(
|
|
33533
33533
|
o,
|
|
@@ -33620,7 +33620,7 @@ var nT = {
|
|
|
33620
33620
|
getModelForColumn(e, t) {
|
|
33621
33621
|
if (t) {
|
|
33622
33622
|
const { state: i, model: o } = this, n = e.getColId(), r = i.get(n);
|
|
33623
|
-
return r ? r.model ?? null :
|
|
33623
|
+
return r ? r.model ?? null : rt(o, n);
|
|
33624
33624
|
}
|
|
33625
33625
|
const s = this.cachedFilter(e);
|
|
33626
33626
|
return s ? this.getModelFromFilterWrapper(s) : null;
|
|
@@ -33640,7 +33640,7 @@ var nT = {
|
|
|
33640
33640
|
}
|
|
33641
33641
|
getStateForColumn(e) {
|
|
33642
33642
|
return this.state.get(e) ?? {
|
|
33643
|
-
model:
|
|
33643
|
+
model: rt(this.model, e)
|
|
33644
33644
|
};
|
|
33645
33645
|
}
|
|
33646
33646
|
setModelForColumnLegacy(e, t) {
|
|
@@ -33735,7 +33735,7 @@ var nT = {
|
|
|
33735
33735
|
Gh(
|
|
33736
33736
|
t,
|
|
33737
33737
|
n,
|
|
33738
|
-
() =>
|
|
33738
|
+
() => rt(this.model, i),
|
|
33739
33739
|
() => this.state.get(i),
|
|
33740
33740
|
(r) => this.updateState(e, r),
|
|
33741
33741
|
(r) => n()?.filterParams?.onModelChange(r, s),
|
|
@@ -33749,7 +33749,7 @@ var nT = {
|
|
|
33749
33749
|
n && Gh(
|
|
33750
33750
|
e,
|
|
33751
33751
|
() => i.filterUi,
|
|
33752
|
-
() =>
|
|
33752
|
+
() => rt(this.model, o),
|
|
33753
33753
|
() => this.state.get(o),
|
|
33754
33754
|
(r) => this.updateState(n, r),
|
|
33755
33755
|
(r) => {
|
|
@@ -33773,7 +33773,7 @@ var nT = {
|
|
|
33773
33773
|
const t = e.getColId();
|
|
33774
33774
|
mm(
|
|
33775
33775
|
() => this.cachedFilter(e)?.filterUi,
|
|
33776
|
-
() =>
|
|
33776
|
+
() => rt(this.model, t),
|
|
33777
33777
|
() => this.state.get(t)
|
|
33778
33778
|
);
|
|
33779
33779
|
}
|
|
@@ -33795,13 +33795,13 @@ var nT = {
|
|
|
33795
33795
|
const n = e.get(o);
|
|
33796
33796
|
if (n.valid === !1)
|
|
33797
33797
|
return !1;
|
|
33798
|
-
(n.model ?? null) !==
|
|
33798
|
+
(n.model ?? null) !== rt(t, o) && (i = !0);
|
|
33799
33799
|
}
|
|
33800
33800
|
return i;
|
|
33801
33801
|
}
|
|
33802
33802
|
hasUnappliedModel(e) {
|
|
33803
33803
|
const { model: t, state: s } = this;
|
|
33804
|
-
return (s.get(e)?.model ?? null) !==
|
|
33804
|
+
return (s.get(e)?.model ?? null) !== rt(t, e);
|
|
33805
33805
|
}
|
|
33806
33806
|
setGlobalButtons(e) {
|
|
33807
33807
|
this.isGlobalButtons = e, this.dispatchLocalEvent({
|
|
@@ -42755,7 +42755,7 @@ var KA = {
|
|
|
42755
42755
|
return;
|
|
42756
42756
|
const { paddingTop: u, paddingBottom: h, borderBottomWidth: g, borderTopWidth: p } = Mi(i), f = u + h + g + p, v = t.offsetHeight + f;
|
|
42757
42757
|
if (d < 5) {
|
|
42758
|
-
const b = !
|
|
42758
|
+
const b = !at(r)?.contains(t), S = v == 0;
|
|
42759
42759
|
if (b || S) {
|
|
42760
42760
|
window.setTimeout(() => a(d + 1), 0);
|
|
42761
42761
|
return;
|
|
@@ -44799,7 +44799,7 @@ const l8 = ee(
|
|
|
44799
44799
|
Nt,
|
|
44800
44800
|
{
|
|
44801
44801
|
"aria-label": e,
|
|
44802
|
-
className:
|
|
44802
|
+
className: ge("text-secondary hover:enabled:text-accent-primary", t),
|
|
44803
44803
|
onClick: i,
|
|
44804
44804
|
iconBefore: /* @__PURE__ */ m(So, { size: s }),
|
|
44805
44805
|
...o
|
|
@@ -44933,7 +44933,7 @@ const l8 = ee(
|
|
|
44933
44933
|
) : W.type === pd.PlainText ? /* @__PURE__ */ m(
|
|
44934
44934
|
"div",
|
|
44935
44935
|
{
|
|
44936
|
-
className:
|
|
44936
|
+
className: ge(
|
|
44937
44937
|
"px-3 py-2 text-secondary dial-caption",
|
|
44938
44938
|
W.className
|
|
44939
44939
|
),
|
|
@@ -45449,10 +45449,10 @@ const Fr = ({
|
|
|
45449
45449
|
horizontal: o,
|
|
45450
45450
|
onClick: n
|
|
45451
45451
|
}) => {
|
|
45452
|
-
const r =
|
|
45452
|
+
const r = ge(
|
|
45453
45453
|
"rounded h-[38px] items-center flex flex-row border-transparent cursor-pointer dial-small leading-4 hover:text-accent-primary",
|
|
45454
45454
|
{ "border-b-2 px-4": o, "border-l-2 px-3": !o }
|
|
45455
|
-
), a =
|
|
45455
|
+
), a = ge(
|
|
45456
45456
|
r,
|
|
45457
45457
|
{
|
|
45458
45458
|
"bg-layer-4": o,
|
|
@@ -45480,7 +45480,7 @@ const Fr = ({
|
|
|
45480
45480
|
className: "max-w-[200px]"
|
|
45481
45481
|
}
|
|
45482
45482
|
),
|
|
45483
|
-
(s || e.invalid) && /* @__PURE__ */ m("div", { className: "text-error pl-1", children: /* @__PURE__ */ m(Id, { ...
|
|
45483
|
+
(s || e.invalid) && /* @__PURE__ */ m("div", { className: "text-error pl-1", children: /* @__PURE__ */ m(Id, { ...pe }) })
|
|
45484
45484
|
]
|
|
45485
45485
|
}
|
|
45486
45486
|
);
|
|
@@ -45537,7 +45537,7 @@ const _g = () => typeof window < "u" && window.innerWidth < 640, fc = () => {
|
|
|
45537
45537
|
"div",
|
|
45538
45538
|
{
|
|
45539
45539
|
role: "tablist",
|
|
45540
|
-
className:
|
|
45540
|
+
className: ge(
|
|
45541
45541
|
"h-11 flex items-center bg-layer-3 px-4",
|
|
45542
45542
|
n
|
|
45543
45543
|
),
|
|
@@ -45557,7 +45557,7 @@ const _g = () => typeof window < "u" && window.innerWidth < 640, fc = () => {
|
|
|
45557
45557
|
onClick: (P) => {
|
|
45558
45558
|
s(P), d(!1);
|
|
45559
45559
|
},
|
|
45560
|
-
className:
|
|
45560
|
+
className: ge(
|
|
45561
45561
|
"w-full rounded-none h-11 items-center px-6",
|
|
45562
45562
|
r
|
|
45563
45563
|
)
|
|
@@ -45604,7 +45604,7 @@ const _g = () => typeof window < "u" && window.innerWidth < 640, fc = () => {
|
|
|
45604
45604
|
active: t === F.id,
|
|
45605
45605
|
onClick: s,
|
|
45606
45606
|
horizontal: v,
|
|
45607
|
-
className:
|
|
45607
|
+
className: ge("w-full", l)
|
|
45608
45608
|
}
|
|
45609
45609
|
)
|
|
45610
45610
|
},
|
|
@@ -45633,7 +45633,7 @@ const _g = () => typeof window < "u" && window.innerWidth < 640, fc = () => {
|
|
|
45633
45633
|
Nt,
|
|
45634
45634
|
{
|
|
45635
45635
|
iconBefore: /* @__PURE__ */ m(Mn, { size: 18 }),
|
|
45636
|
-
className:
|
|
45636
|
+
className: ge(
|
|
45637
45637
|
"w-8 h-8 flex items-center justify-center rounded border",
|
|
45638
45638
|
u ? "bg-layer-4 border-transparent" : "border-primary",
|
|
45639
45639
|
a
|
|
@@ -45656,14 +45656,14 @@ const _g = () => typeof window < "u" && window.innerWidth < 640, fc = () => {
|
|
|
45656
45656
|
labelClassName: l,
|
|
45657
45657
|
...c
|
|
45658
45658
|
}) => {
|
|
45659
|
-
const d =
|
|
45659
|
+
const d = ge(
|
|
45660
45660
|
dv,
|
|
45661
45661
|
o ? y8 : S8,
|
|
45662
45662
|
r
|
|
45663
|
-
), u = (!!t || !!s) && !o && !i, h = u ?
|
|
45663
|
+
), u = (!!t || !!s) && !o && !i, h = u ? ge(
|
|
45664
45664
|
Ug,
|
|
45665
45665
|
R8
|
|
45666
|
-
) :
|
|
45666
|
+
) : ge(
|
|
45667
45667
|
Ug,
|
|
45668
45668
|
x8,
|
|
45669
45669
|
i ? "pointer-events-none opacity-75" : ""
|
|
@@ -45677,7 +45677,7 @@ const _g = () => typeof window < "u" && window.innerWidth < 640, fc = () => {
|
|
|
45677
45677
|
) : /* @__PURE__ */ m(
|
|
45678
45678
|
"span",
|
|
45679
45679
|
{
|
|
45680
|
-
className:
|
|
45680
|
+
className: ge(
|
|
45681
45681
|
"flex-1 min-w-0 max-w-full truncate",
|
|
45682
45682
|
l
|
|
45683
45683
|
),
|
|
@@ -45758,7 +45758,7 @@ const _g = () => typeof window < "u" && window.innerWidth < 640, fc = () => {
|
|
|
45758
45758
|
labelClassName: n
|
|
45759
45759
|
}
|
|
45760
45760
|
),
|
|
45761
|
-
/* @__PURE__ */ z("li", { className:
|
|
45761
|
+
/* @__PURE__ */ z("li", { className: ge(dv), children: [
|
|
45762
45762
|
/* @__PURE__ */ m(
|
|
45763
45763
|
Ot,
|
|
45764
45764
|
{
|
|
@@ -45806,7 +45806,7 @@ const _g = () => typeof window < "u" && window.innerWidth < 640, fc = () => {
|
|
|
45806
45806
|
"nav",
|
|
45807
45807
|
{
|
|
45808
45808
|
"aria-label": s,
|
|
45809
|
-
className:
|
|
45809
|
+
className: ge(w8, i),
|
|
45810
45810
|
children: /* @__PURE__ */ m("ol", { className: b8, children: l })
|
|
45811
45811
|
}
|
|
45812
45812
|
);
|
|
@@ -45833,10 +45833,10 @@ const _g = () => typeof window < "u" && window.innerWidth < 640, fc = () => {
|
|
|
45833
45833
|
), D8 = zu(
|
|
45834
45834
|
et.Error,
|
|
45835
45835
|
ke.Outlined
|
|
45836
|
-
),
|
|
45836
|
+
), X7 = gv(
|
|
45837
45837
|
ke.Link,
|
|
45838
45838
|
et.Primary
|
|
45839
|
-
),
|
|
45839
|
+
), J7 = gv(
|
|
45840
45840
|
ke.Ghost,
|
|
45841
45841
|
et.Primary
|
|
45842
45842
|
), P8 = ({
|
|
@@ -45847,7 +45847,7 @@ const _g = () => typeof window < "u" && window.innerWidth < 640, fc = () => {
|
|
|
45847
45847
|
{
|
|
45848
45848
|
...t,
|
|
45849
45849
|
appearance: ke.Ghost,
|
|
45850
|
-
iconBefore: /* @__PURE__ */ m(In, { ...
|
|
45850
|
+
iconBefore: /* @__PURE__ */ m(In, { ...pe, className: e || "" })
|
|
45851
45851
|
}
|
|
45852
45852
|
), T8 = ({
|
|
45853
45853
|
value: e,
|
|
@@ -45864,7 +45864,7 @@ const _g = () => typeof window < "u" && window.innerWidth < 640, fc = () => {
|
|
|
45864
45864
|
Ls,
|
|
45865
45865
|
{
|
|
45866
45866
|
tooltip: l ? null : e,
|
|
45867
|
-
triggerClassName:
|
|
45867
|
+
triggerClassName: ge("flex", o),
|
|
45868
45868
|
children: /* @__PURE__ */ m(
|
|
45869
45869
|
"textarea",
|
|
45870
45870
|
{
|
|
@@ -46100,7 +46100,7 @@ const _g = () => typeof window < "u" && window.innerWidth < 640, fc = () => {
|
|
|
46100
46100
|
}
|
|
46101
46101
|
)
|
|
46102
46102
|
}
|
|
46103
|
-
),
|
|
46103
|
+
), e9 = ({
|
|
46104
46104
|
onChange: e,
|
|
46105
46105
|
...t
|
|
46106
46106
|
}) => {
|
|
@@ -46113,7 +46113,7 @@ const _g = () => typeof window < "u" && window.innerWidth < 640, fc = () => {
|
|
|
46113
46113
|
...t
|
|
46114
46114
|
}
|
|
46115
46115
|
);
|
|
46116
|
-
},
|
|
46116
|
+
}, t9 = ({
|
|
46117
46117
|
onChange: e,
|
|
46118
46118
|
...t
|
|
46119
46119
|
}) => /* @__PURE__ */ m(
|
|
@@ -46123,7 +46123,7 @@ const _g = () => typeof window < "u" && window.innerWidth < 640, fc = () => {
|
|
|
46123
46123
|
onChange: (s) => e?.(s),
|
|
46124
46124
|
...t
|
|
46125
46125
|
}
|
|
46126
|
-
),
|
|
46126
|
+
), s9 = ({
|
|
46127
46127
|
fieldTitle: e,
|
|
46128
46128
|
optional: t,
|
|
46129
46129
|
elementId: s,
|
|
@@ -46132,7 +46132,7 @@ const _g = () => typeof window < "u" && window.innerWidth < 640, fc = () => {
|
|
|
46132
46132
|
elementContainerClassName: n,
|
|
46133
46133
|
errorText: r,
|
|
46134
46134
|
...a
|
|
46135
|
-
}) => /* @__PURE__ */ z("div", { className:
|
|
46135
|
+
}) => /* @__PURE__ */ z("div", { className: ge("flex flex-col", o), children: [
|
|
46136
46136
|
/* @__PURE__ */ m(
|
|
46137
46137
|
xo,
|
|
46138
46138
|
{
|
|
@@ -46264,7 +46264,7 @@ const L8 = "z-[52] flex items-center justify-center bg-blackout md:p-4", O8 = "d
|
|
|
46264
46264
|
/* @__PURE__ */ z(
|
|
46265
46265
|
"div",
|
|
46266
46266
|
{
|
|
46267
|
-
className:
|
|
46267
|
+
className: ge(N8, r),
|
|
46268
46268
|
children: [
|
|
46269
46269
|
S(t),
|
|
46270
46270
|
!h && /* @__PURE__ */ m(
|
|
@@ -46479,7 +46479,7 @@ const G8 = "flex justify-end gap-2 px-6 py-4", B8 = "text-secondary dial-small-1
|
|
|
46479
46479
|
] }),
|
|
46480
46480
|
t && Od(e, document.body)
|
|
46481
46481
|
] });
|
|
46482
|
-
},
|
|
46482
|
+
}, i9 = ({
|
|
46483
46483
|
fieldTitle: e,
|
|
46484
46484
|
htmlFor: t,
|
|
46485
46485
|
disabled: s,
|
|
@@ -46561,7 +46561,7 @@ const G8 = "flex justify-end gap-2 px-6 py-4", B8 = "text-secondary dial-small-1
|
|
|
46561
46561
|
}
|
|
46562
46562
|
)
|
|
46563
46563
|
] });
|
|
46564
|
-
}, U8 = "Create", $8 = "Cancel", j8 = "flex items-center justify-end gap-2 px-6 py-3",
|
|
46564
|
+
}, U8 = "Create", $8 = "Cancel", j8 = "flex items-center justify-end gap-2 px-6 py-3", o9 = ({
|
|
46565
46565
|
header: e,
|
|
46566
46566
|
open: t = !1,
|
|
46567
46567
|
submitLabel: s = U8,
|
|
@@ -46612,7 +46612,7 @@ const G8 = "flex justify-end gap-2 px-6 py-4", B8 = "text-secondary dial-small-1
|
|
|
46612
46612
|
}, K8 = ({ onClick: e }) => /* @__PURE__ */ m(
|
|
46613
46613
|
pp,
|
|
46614
46614
|
{
|
|
46615
|
-
...
|
|
46615
|
+
...pe,
|
|
46616
46616
|
className: "text-primary",
|
|
46617
46617
|
onClick: e,
|
|
46618
46618
|
role: "button",
|
|
@@ -46621,7 +46621,7 @@ const G8 = "flex justify-end gap-2 px-6 py-4", B8 = "text-secondary dial-small-1
|
|
|
46621
46621
|
), q8 = ({ onClick: e }) => /* @__PURE__ */ m(
|
|
46622
46622
|
fp,
|
|
46623
46623
|
{
|
|
46624
|
-
...
|
|
46624
|
+
...pe,
|
|
46625
46625
|
className: "text-primary",
|
|
46626
46626
|
onClick: e,
|
|
46627
46627
|
role: "button",
|
|
@@ -46640,7 +46640,7 @@ const G8 = "flex justify-end gap-2 px-6 py-4", B8 = "text-secondary dial-small-1
|
|
|
46640
46640
|
iconAfter: t ? /* @__PURE__ */ m(K8, { onClick: () => i(!1) }) : /* @__PURE__ */ m(q8, { onClick: () => i(!0) })
|
|
46641
46641
|
}
|
|
46642
46642
|
);
|
|
46643
|
-
},
|
|
46643
|
+
}, n9 = ({
|
|
46644
46644
|
fieldTitle: e,
|
|
46645
46645
|
optional: t,
|
|
46646
46646
|
elementClassName: s,
|
|
@@ -46710,7 +46710,7 @@ const Z8 = {
|
|
|
46710
46710
|
return /* @__PURE__ */ z(
|
|
46711
46711
|
"div",
|
|
46712
46712
|
{
|
|
46713
|
-
className:
|
|
46713
|
+
className: ge(
|
|
46714
46714
|
"dial-input flex flex-row items-center justify-between",
|
|
46715
46715
|
n && "dial-input-error",
|
|
46716
46716
|
i && "dial-input-disable",
|
|
@@ -46770,7 +46770,7 @@ const Z8 = {
|
|
|
46770
46770
|
]
|
|
46771
46771
|
}
|
|
46772
46772
|
);
|
|
46773
|
-
},
|
|
46773
|
+
}, r9 = ({
|
|
46774
46774
|
placeholder: e = "",
|
|
46775
46775
|
selectedItems: t = [],
|
|
46776
46776
|
listClassName: s,
|
|
@@ -46820,7 +46820,7 @@ const Z8 = {
|
|
|
46820
46820
|
]
|
|
46821
46821
|
}
|
|
46822
46822
|
);
|
|
46823
|
-
},
|
|
46823
|
+
}, a9 = ({
|
|
46824
46824
|
initialTags: e = [],
|
|
46825
46825
|
fieldTitle: t,
|
|
46826
46826
|
optional: s,
|
|
@@ -47232,7 +47232,7 @@ const iL = ({
|
|
|
47232
47232
|
"aria-haspopup": "listbox",
|
|
47233
47233
|
"aria-expanded": $,
|
|
47234
47234
|
"aria-controls": `list-${s || J}`,
|
|
47235
|
-
className:
|
|
47235
|
+
className: ge(
|
|
47236
47236
|
Q8,
|
|
47237
47237
|
w && "opacity-75 !cursor-not-allowed",
|
|
47238
47238
|
r === md.Sm ? "min-h-[25px] px-1.5 py-1" : "min-h-[38px] px-3 py-2",
|
|
@@ -47287,7 +47287,7 @@ const iL = ({
|
|
|
47287
47287
|
)
|
|
47288
47288
|
}
|
|
47289
47289
|
);
|
|
47290
|
-
},
|
|
47290
|
+
}, l9 = ({
|
|
47291
47291
|
fieldTitle: e,
|
|
47292
47292
|
optional: t,
|
|
47293
47293
|
captionDescription: s,
|
|
@@ -48021,7 +48021,7 @@ const CL = function(t, s, i) {
|
|
|
48021
48021
|
bo,
|
|
48022
48022
|
{
|
|
48023
48023
|
...i,
|
|
48024
|
-
iconBefore: /* @__PURE__ */ m("div", { className: "mr-2", children: o ? /* @__PURE__ */ m(Id, { ...
|
|
48024
|
+
iconBefore: /* @__PURE__ */ m("div", { className: "mr-2", children: o ? /* @__PURE__ */ m(Id, { ...pe, className: "text-error" }) : e }),
|
|
48025
48025
|
tooltipTriggerClassName: "flex-1 min-w-0",
|
|
48026
48026
|
className: ee(o ? "text-error" : "", t),
|
|
48027
48027
|
tooltipText: o && s ? s : void 0,
|
|
@@ -48060,7 +48060,7 @@ const CL = function(t, s, i) {
|
|
|
48060
48060
|
},
|
|
48061
48061
|
u.name + h
|
|
48062
48062
|
)) }) });
|
|
48063
|
-
},
|
|
48063
|
+
}, c9 = ({
|
|
48064
48064
|
onChange: e,
|
|
48065
48065
|
fieldTitle: t,
|
|
48066
48066
|
elementId: s,
|
|
@@ -48106,7 +48106,7 @@ const CL = function(t, s, i) {
|
|
|
48106
48106
|
{
|
|
48107
48107
|
appearance: ke.Ghost,
|
|
48108
48108
|
className: "!text-error",
|
|
48109
|
-
iconBefore: /* @__PURE__ */ m(In, { ...
|
|
48109
|
+
iconBefore: /* @__PURE__ */ m(In, { ...pe }),
|
|
48110
48110
|
label: c,
|
|
48111
48111
|
onClick: p
|
|
48112
48112
|
}
|
|
@@ -48115,7 +48115,7 @@ const CL = function(t, s, i) {
|
|
|
48115
48115
|
ws,
|
|
48116
48116
|
{
|
|
48117
48117
|
appearance: ke.Ghost,
|
|
48118
|
-
iconBefore: /* @__PURE__ */ m(Fw, { ...
|
|
48118
|
+
iconBefore: /* @__PURE__ */ m(Fw, { ...pe }),
|
|
48119
48119
|
label: d,
|
|
48120
48120
|
onClick: g
|
|
48121
48121
|
}
|
|
@@ -48174,8 +48174,8 @@ const CL = function(t, s, i) {
|
|
|
48174
48174
|
)
|
|
48175
48175
|
}
|
|
48176
48176
|
) });
|
|
48177
|
-
}, RL = "w-full h-full grid grid-rows-[auto_1fr] gap-5 p-6 overflow-hidden min-w-0 bg-layer-1", Qg = "w-full text-secondary flex items-center gap-2", xL = "flex min-h-0 min-w-0 h-full gap-4 overflow-hidden", FL = "flex flex-col flex-1 min-h-0 min-w-0 h-full gap-4", EL = "w-full h-full rounded bg-layer-3 text-secondary overflow-auto min-w-0", DL = "flex-1 w-full rounded text-secondary overflow-auto min-h-0 min-w-0", PL =
|
|
48178
|
-
var Le = /* @__PURE__ */ ((e) => (e.ITEM = "item", e.FOLDER = "folder", e))(Le || {}),
|
|
48177
|
+
}, RL = "w-full h-full grid grid-rows-[auto_1fr] gap-5 p-6 overflow-hidden min-w-0 bg-layer-1", Qg = "w-full text-secondary flex items-center gap-2", xL = "flex min-h-0 min-w-0 h-full gap-4 overflow-hidden", FL = "flex flex-col flex-1 min-h-0 min-w-0 h-full gap-4", EL = "w-full h-full rounded bg-layer-3 text-secondary overflow-auto min-w-0", DL = "flex-1 w-full rounded text-secondary overflow-auto min-h-0 min-w-0", PL = "opacity-0 pointer-events-none group-hover/grid-row:opacity-100 group-hover/grid-row:pointer-events-auto", TL = 280, ML = "Files", qs = 20, IL = "Files", bc = ".dial_folder", AL = 280, kL = 460, Sc = 44, LL = 56, OL = 800;
|
|
48178
|
+
var Le = /* @__PURE__ */ ((e) => (e.ITEM = "item", e.FOLDER = "folder", e))(Le || {}), NL = /* @__PURE__ */ ((e) => (e.FILE = "FILE", e.PROMPT = "PROMPT", e.CONVERSATION = "CONVERSATION", e.APPLICATION = "APPLICATION", e.TOOLSET = "TOOL_SET", e))(NL || {}), Ka = /* @__PURE__ */ ((e) => (e.READ = "READ", e.WRITE = "WRITE", e.SHARE = "SHARE", e))(Ka || {});
|
|
48179
48179
|
const Ti = (e, t) => {
|
|
48180
48180
|
if (!(!e || !e.length || !t))
|
|
48181
48181
|
for (const s of e) {
|
|
@@ -48192,7 +48192,7 @@ const Ti = (e, t) => {
|
|
|
48192
48192
|
if (i.length <= 1) return e[0];
|
|
48193
48193
|
const o = "/" + i.slice(0, i.length - 1).join("/");
|
|
48194
48194
|
return Ti(e, o) ?? e[0];
|
|
48195
|
-
}, uo = (e) => (e ?? "").toLowerCase(),
|
|
48195
|
+
}, uo = (e) => (e ?? "").toLowerCase(), HL = (e) => uo(e).replace(/^\./, ""), GL = (e) => {
|
|
48196
48196
|
if (!e) return [];
|
|
48197
48197
|
const t = [], s = (i) => {
|
|
48198
48198
|
const o = i.items ?? [];
|
|
@@ -48204,7 +48204,7 @@ const Ti = (e, t) => {
|
|
|
48204
48204
|
if (!e) return "0 bytes";
|
|
48205
48205
|
const t = 1024, s = t * 1024;
|
|
48206
48206
|
return e >= s ? `${(e / s).toFixed(1)} MB` : e >= t ? `${(e / t).toFixed(0)} KB` : `${e} bytes`;
|
|
48207
|
-
},
|
|
48207
|
+
}, BL = (e, t = "en-US", s = {
|
|
48208
48208
|
year: "numeric",
|
|
48209
48209
|
month: "short",
|
|
48210
48210
|
day: "2-digit"
|
|
@@ -48231,12 +48231,12 @@ function Fv(e, t, s) {
|
|
|
48231
48231
|
return i === r;
|
|
48232
48232
|
});
|
|
48233
48233
|
}
|
|
48234
|
-
const
|
|
48234
|
+
const VL = {
|
|
48235
48235
|
size: 10,
|
|
48236
48236
|
stroke: 2
|
|
48237
|
-
},
|
|
48237
|
+
}, zL = 26;
|
|
48238
48238
|
var Jt = /* @__PURE__ */ ((e) => (e.File = "file", e.Folder = "folder", e))(Jt || {});
|
|
48239
|
-
const
|
|
48239
|
+
const WL = ({
|
|
48240
48240
|
name: e,
|
|
48241
48241
|
type: t,
|
|
48242
48242
|
shared: s = !1,
|
|
@@ -48271,15 +48271,15 @@ const zL = ({
|
|
|
48271
48271
|
Ad,
|
|
48272
48272
|
{
|
|
48273
48273
|
className: n.className,
|
|
48274
|
-
size: n.size ??
|
|
48275
|
-
stroke: n.stroke ??
|
|
48274
|
+
size: n.size ?? pe.size,
|
|
48275
|
+
stroke: n.stroke ?? pe.stroke
|
|
48276
48276
|
}
|
|
48277
48277
|
),
|
|
48278
48278
|
className: "inline-block align-middle"
|
|
48279
48279
|
}
|
|
48280
48280
|
)
|
|
48281
48281
|
) : null;
|
|
48282
|
-
},
|
|
48282
|
+
}, _L = ({
|
|
48283
48283
|
name: e,
|
|
48284
48284
|
type: t,
|
|
48285
48285
|
elementId: s,
|
|
@@ -48301,14 +48301,14 @@ const zL = ({
|
|
|
48301
48301
|
const v = () => d ? /* @__PURE__ */ m(Ls, { tooltip: u, children: g || /* @__PURE__ */ m(
|
|
48302
48302
|
Dw,
|
|
48303
48303
|
{
|
|
48304
|
-
...
|
|
48304
|
+
...pe,
|
|
48305
48305
|
className: "text-error",
|
|
48306
48306
|
"aria-label": "alert"
|
|
48307
48307
|
}
|
|
48308
48308
|
) }) : null;
|
|
48309
48309
|
return /* @__PURE__ */ z("div", { className: "flex gap-2 items-center", children: [
|
|
48310
48310
|
/* @__PURE__ */ m(
|
|
48311
|
-
|
|
48311
|
+
WL,
|
|
48312
48312
|
{
|
|
48313
48313
|
name: e,
|
|
48314
48314
|
type: t,
|
|
@@ -48325,7 +48325,7 @@ const zL = ({
|
|
|
48325
48325
|
/* @__PURE__ */ m(
|
|
48326
48326
|
bo,
|
|
48327
48327
|
{
|
|
48328
|
-
containerClassName:
|
|
48328
|
+
containerClassName: ge(
|
|
48329
48329
|
"!h-6 py-[1px] pl-[7px] pr-[7px]",
|
|
48330
48330
|
h
|
|
48331
48331
|
),
|
|
@@ -48340,7 +48340,7 @@ const zL = ({
|
|
|
48340
48340
|
)
|
|
48341
48341
|
] });
|
|
48342
48342
|
};
|
|
48343
|
-
function
|
|
48343
|
+
function UL({
|
|
48344
48344
|
value: e,
|
|
48345
48345
|
isEditing: t,
|
|
48346
48346
|
restoreOnCancel: s = !0,
|
|
@@ -48408,7 +48408,7 @@ const Fa = ({
|
|
|
48408
48408
|
sharedIndicatorClassName: u,
|
|
48409
48409
|
...h
|
|
48410
48410
|
}) => {
|
|
48411
|
-
const { value: g, invalid: p, invalidMessage: f, onChange: C, inputRef: v } =
|
|
48411
|
+
const { value: g, invalid: p, invalidMessage: f, onChange: C, inputRef: v } = UL({
|
|
48412
48412
|
value: e,
|
|
48413
48413
|
isEditing: i,
|
|
48414
48414
|
onValidate: a,
|
|
@@ -48416,7 +48416,7 @@ const Fa = ({
|
|
|
48416
48416
|
onSave: l
|
|
48417
48417
|
});
|
|
48418
48418
|
return i ? /* @__PURE__ */ m(
|
|
48419
|
-
|
|
48419
|
+
_L,
|
|
48420
48420
|
{
|
|
48421
48421
|
type: t,
|
|
48422
48422
|
name: g,
|
|
@@ -48496,7 +48496,7 @@ const Fa = ({
|
|
|
48496
48496
|
collapsePath: c,
|
|
48497
48497
|
isControlled: i
|
|
48498
48498
|
};
|
|
48499
|
-
},
|
|
48499
|
+
}, $L = ({
|
|
48500
48500
|
items: e,
|
|
48501
48501
|
showFiles: t = !1,
|
|
48502
48502
|
expandedPaths: s,
|
|
@@ -48539,8 +48539,8 @@ const Fa = ({
|
|
|
48539
48539
|
children: /* @__PURE__ */ z(
|
|
48540
48540
|
"div",
|
|
48541
48541
|
{
|
|
48542
|
-
style: { paddingLeft: `${P *
|
|
48543
|
-
className:
|
|
48542
|
+
style: { paddingLeft: `${P * zL}px` },
|
|
48543
|
+
className: ge(
|
|
48544
48544
|
"py-1 gap-[2px] dial-small flex justify-between hover:bg-accent-primary-alpha rounded group/item w-full mb-[2px] relative",
|
|
48545
48545
|
se
|
|
48546
48546
|
),
|
|
@@ -48562,7 +48562,7 @@ const Fa = ({
|
|
|
48562
48562
|
N && /* @__PURE__ */ m(
|
|
48563
48563
|
Pw,
|
|
48564
48564
|
{
|
|
48565
|
-
...
|
|
48565
|
+
...VL,
|
|
48566
48566
|
className: ee(
|
|
48567
48567
|
"flex-shrink-0",
|
|
48568
48568
|
ne && "rotate-90 transition-all",
|
|
@@ -48578,7 +48578,7 @@ const Fa = ({
|
|
|
48578
48578
|
type: N ? Jt.Folder : Jt.File,
|
|
48579
48579
|
loading: le,
|
|
48580
48580
|
shared: X,
|
|
48581
|
-
sharedIndicatorClassName:
|
|
48581
|
+
sharedIndicatorClassName: ge(
|
|
48582
48582
|
"group-hover/item:bg-accent-primary-alpha",
|
|
48583
48583
|
O && "bg-accent-primary-alpha"
|
|
48584
48584
|
),
|
|
@@ -48605,7 +48605,7 @@ const Fa = ({
|
|
|
48605
48605
|
We,
|
|
48606
48606
|
{
|
|
48607
48607
|
className: "invisible group-hover/item:visible text-secondary mx-2 flex flex-row gap-2 hover:text-accent-primary",
|
|
48608
|
-
icon: /* @__PURE__ */ m(Mn, { ...
|
|
48608
|
+
icon: /* @__PURE__ */ m(Mn, { ...pe })
|
|
48609
48609
|
}
|
|
48610
48610
|
)
|
|
48611
48611
|
}
|
|
@@ -48633,7 +48633,7 @@ const Fa = ({
|
|
|
48633
48633
|
)
|
|
48634
48634
|
}
|
|
48635
48635
|
);
|
|
48636
|
-
}, Jg = (e) => e.split("/").map((t) => t.trim()).filter(Boolean),
|
|
48636
|
+
}, Jg = (e) => e.split("/").map((t) => t.trim()).filter(Boolean), jL = "w-full flex items-center justify-between gap-4", KL = "min-w-0 h-[38px] flex-1 overflow-hidden bg-layer-3 px-3 flex items-center rounded", qL = "w-[260px]", YL = ({
|
|
48637
48637
|
ariaLabel: e = "Breadcrumb",
|
|
48638
48638
|
labelClassName: t,
|
|
48639
48639
|
onItemClick: s,
|
|
@@ -48721,12 +48721,12 @@ const Fa = ({
|
|
|
48721
48721
|
ei,
|
|
48722
48722
|
{
|
|
48723
48723
|
className: "!p-[9px]",
|
|
48724
|
-
iconBefore: /* @__PURE__ */ m(Tw, { ...
|
|
48724
|
+
iconBefore: /* @__PURE__ */ m(Tw, { ...pe }),
|
|
48725
48725
|
onClick: () => {
|
|
48726
48726
|
R(!1), C?.("");
|
|
48727
48727
|
}
|
|
48728
48728
|
}
|
|
48729
|
-
) : /* @__PURE__ */ m("div", { className:
|
|
48729
|
+
) : /* @__PURE__ */ m("div", { className: KL, children: /* @__PURE__ */ m(
|
|
48730
48730
|
E8,
|
|
48731
48731
|
{
|
|
48732
48732
|
pathItems: S,
|
|
@@ -48746,8 +48746,8 @@ const Fa = ({
|
|
|
48746
48746
|
return /* @__PURE__ */ z(
|
|
48747
48747
|
"div",
|
|
48748
48748
|
{
|
|
48749
|
-
className:
|
|
48750
|
-
|
|
48749
|
+
className: ge(
|
|
48750
|
+
jL,
|
|
48751
48751
|
{
|
|
48752
48752
|
"gap-3": b
|
|
48753
48753
|
},
|
|
@@ -48759,7 +48759,7 @@ const Fa = ({
|
|
|
48759
48759
|
d && /* @__PURE__ */ m(
|
|
48760
48760
|
"div",
|
|
48761
48761
|
{
|
|
48762
|
-
className:
|
|
48762
|
+
className: ge(qL, {
|
|
48763
48763
|
"w-[38px]": b && !y,
|
|
48764
48764
|
"w-full": b && y
|
|
48765
48765
|
}),
|
|
@@ -48777,7 +48777,7 @@ const Fa = ({
|
|
|
48777
48777
|
onBlur: F,
|
|
48778
48778
|
invalid: f,
|
|
48779
48779
|
className: v,
|
|
48780
|
-
containerClassName:
|
|
48780
|
+
containerClassName: ge(w, {
|
|
48781
48781
|
"p-[10px]": b
|
|
48782
48782
|
})
|
|
48783
48783
|
}
|
|
@@ -48795,7 +48795,7 @@ const Dv = () => {
|
|
|
48795
48795
|
const s = () => t(_g());
|
|
48796
48796
|
return window.addEventListener("resize", s), () => window.removeEventListener("resize", s);
|
|
48797
48797
|
}, []), e;
|
|
48798
|
-
},
|
|
48798
|
+
}, ZL = ({
|
|
48799
48799
|
tabs: e,
|
|
48800
48800
|
activeTab: t,
|
|
48801
48801
|
onTabChange: s,
|
|
@@ -48814,7 +48814,7 @@ const Dv = () => {
|
|
|
48814
48814
|
{
|
|
48815
48815
|
key: "hidden-files-switch",
|
|
48816
48816
|
label: i ? h : u,
|
|
48817
|
-
icon: i ? /* @__PURE__ */ m(pp, { ...
|
|
48817
|
+
icon: i ? /* @__PURE__ */ m(pp, { ...pe, className: "text-secondary" }) : /* @__PURE__ */ m(fp, { ...pe, className: "text-secondary" }),
|
|
48818
48818
|
onClick: () => o?.(!i)
|
|
48819
48819
|
}
|
|
48820
48820
|
], [
|
|
@@ -48867,7 +48867,7 @@ const Dv = () => {
|
|
|
48867
48867
|
iconBefore: /* @__PURE__ */ m(
|
|
48868
48868
|
Mn,
|
|
48869
48869
|
{
|
|
48870
|
-
...
|
|
48870
|
+
...pe,
|
|
48871
48871
|
className: "text-secondary hover:text-accent-primary"
|
|
48872
48872
|
}
|
|
48873
48873
|
)
|
|
@@ -48889,9 +48889,9 @@ const Dv = () => {
|
|
|
48889
48889
|
/* @__PURE__ */ m("div", { className: "flex-1 min-w-0", children: f() }),
|
|
48890
48890
|
/* @__PURE__ */ m("div", { className: "flex gap-4 flex-shrink-0 items-center", children: g ? v() : C() })
|
|
48891
48891
|
] });
|
|
48892
|
-
},
|
|
48892
|
+
}, QL = 12, XL = 8;
|
|
48893
48893
|
var Xi = /* @__PURE__ */ ((e) => (e.Normal = "normal", e.Reverse = "reverse", e))(Xi || {});
|
|
48894
|
-
function
|
|
48894
|
+
function JL({
|
|
48895
48895
|
actions: e,
|
|
48896
48896
|
direction: t = Xi.Normal,
|
|
48897
48897
|
moreButtonWidth: s = Es,
|
|
@@ -48940,17 +48940,17 @@ function XL({
|
|
|
48940
48940
|
}
|
|
48941
48941
|
};
|
|
48942
48942
|
}
|
|
48943
|
-
const
|
|
48943
|
+
const e7 = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCount: i }) => {
|
|
48944
48944
|
const o = Dv(), {
|
|
48945
48945
|
refs: { containerRef: n, leftSectionRef: r, measureRef: a },
|
|
48946
48946
|
visibleActions: l,
|
|
48947
48947
|
hiddenActions: c
|
|
48948
|
-
} =
|
|
48948
|
+
} = JL({
|
|
48949
48949
|
actions: s,
|
|
48950
48950
|
direction: Xi.Reverse,
|
|
48951
48951
|
dependencies: [o],
|
|
48952
|
-
actionsGap:
|
|
48953
|
-
containerPadding:
|
|
48952
|
+
actionsGap: QL,
|
|
48953
|
+
containerPadding: XL
|
|
48954
48954
|
}), d = e(i);
|
|
48955
48955
|
return /* @__PURE__ */ z(ze, { children: [
|
|
48956
48956
|
/* @__PURE__ */ m(
|
|
@@ -48984,7 +48984,7 @@ const JL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
48984
48984
|
onClick: t,
|
|
48985
48985
|
textClassName: "text-accent-primary whitespace-nowrap",
|
|
48986
48986
|
appearance: ke.Ghost,
|
|
48987
|
-
iconBefore: /* @__PURE__ */ m(So, { ...
|
|
48987
|
+
iconBefore: /* @__PURE__ */ m(So, { ...pe, className: "text-accent-primary" })
|
|
48988
48988
|
}
|
|
48989
48989
|
) }),
|
|
48990
48990
|
/* @__PURE__ */ z("div", { className: "flex flex-1 w-full gap-3 items-center justify-end", children: [
|
|
@@ -49000,7 +49000,7 @@ const JL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49000
49000
|
iconBefore: /* @__PURE__ */ m(
|
|
49001
49001
|
Mn,
|
|
49002
49002
|
{
|
|
49003
|
-
...
|
|
49003
|
+
...pe,
|
|
49004
49004
|
className: "text-secondary hover:text-accent-primary"
|
|
49005
49005
|
}
|
|
49006
49006
|
)
|
|
@@ -49025,7 +49025,7 @@ const JL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49025
49025
|
}
|
|
49026
49026
|
)
|
|
49027
49027
|
] });
|
|
49028
|
-
}, _u = (e) => /* @__PURE__ */ be.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ be.createElement("path", { d: "M3.009 12.5527C2.77901 12.4216 2.5877 12.2321 2.45443 12.0034C2.32116 11.7746 2.25064 11.5147 2.25 11.25V3.75C2.25 2.925 2.925 2.25 3.75 2.25H11.25C11.8125 2.25 12.1185 2.53875 12.375 3M10.5 15.75H7.25025C6.98757 15.75 6.72747 15.6983 6.48479 15.5977C6.24211 15.4972 6.0216 15.3499 5.83586 15.1641C5.65012 14.9784 5.50278 14.7579 5.40226 14.5152C5.30174 14.2725 5.25 14.0124 5.25 13.7498V7.25025C5.25 6.71975 5.46074 6.21098 5.83586 5.83586C6.21098 5.46074 6.71975 5.25 7.25025 5.25H13.7498C14.0124 5.25 14.2725 5.30174 14.5152 5.40226C14.7579 5.50278 14.9784 5.65012 15.1641 5.83586C15.3499 6.0216 15.4972 6.24211 15.5977 6.48479C15.6983 6.72747 15.75 6.98757 15.75 7.25025V10.5M12.75 16.5L16.5 12.75M16.5 12.75V16.125M16.5 12.75H13.125", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Uu = (e) => /* @__PURE__ */ be.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ be.createElement("path", { d: "M9.75 14.25H3.75C3.35218 14.25 2.97064 14.092 2.68934 13.8107C2.40804 13.5294 2.25 13.1478 2.25 12.75V4.5C2.25 4.10218 2.40804 3.72064 2.68934 3.43934C2.97064 3.15804 3.35218 3 3.75 3H6.75L9 5.25H14.25C14.6478 5.25 15.0294 5.40804 15.3107 5.68934C15.592 5.97064 15.75 6.35218 15.75 6.75V9.75M12 16.5L15.75 12.75M15.75 12.75V16.125M15.75 12.75H12.375", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })),
|
|
49028
|
+
}, _u = (e) => /* @__PURE__ */ be.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ be.createElement("path", { d: "M3.009 12.5527C2.77901 12.4216 2.5877 12.2321 2.45443 12.0034C2.32116 11.7746 2.25064 11.5147 2.25 11.25V3.75C2.25 2.925 2.925 2.25 3.75 2.25H11.25C11.8125 2.25 12.1185 2.53875 12.375 3M10.5 15.75H7.25025C6.98757 15.75 6.72747 15.6983 6.48479 15.5977C6.24211 15.4972 6.0216 15.3499 5.83586 15.1641C5.65012 14.9784 5.50278 14.7579 5.40226 14.5152C5.30174 14.2725 5.25 14.0124 5.25 13.7498V7.25025C5.25 6.71975 5.46074 6.21098 5.83586 5.83586C6.21098 5.46074 6.71975 5.25 7.25025 5.25H13.7498C14.0124 5.25 14.2725 5.30174 14.5152 5.40226C14.7579 5.50278 14.9784 5.65012 15.1641 5.83586C15.3499 6.0216 15.4972 6.24211 15.5977 6.48479C15.6983 6.72747 15.75 6.98757 15.75 7.25025V10.5M12.75 16.5L16.5 12.75M16.5 12.75V16.125M16.5 12.75H13.125", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Uu = (e) => /* @__PURE__ */ be.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ be.createElement("path", { d: "M9.75 14.25H3.75C3.35218 14.25 2.97064 14.092 2.68934 13.8107C2.40804 13.5294 2.25 13.1478 2.25 12.75V4.5C2.25 4.10218 2.40804 3.72064 2.68934 3.43934C2.97064 3.15804 3.35218 3 3.75 3H6.75L9 5.25H14.25C14.6478 5.25 15.0294 5.40804 15.3107 5.68934C15.592 5.97064 15.75 6.35218 15.75 6.75V9.75M12 16.5L15.75 12.75M15.75 12.75V16.125M15.75 12.75H12.375", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), t7 = (e) => {
|
|
49029
49029
|
const [t, s] = A(e?.showHiddenFiles ?? !1), i = !!e?.onShowHiddenFilesChange, o = i ? e.showHiddenFiles ?? !1 : t, n = D(
|
|
49030
49030
|
(a) => {
|
|
49031
49031
|
i ? e?.onShowHiddenFilesChange?.(a) : s(a);
|
|
@@ -49040,7 +49040,7 @@ const JL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49040
49040
|
toggleHiddenFilesVisibility: r,
|
|
49041
49041
|
setAreHiddenFilesVisible: n
|
|
49042
49042
|
};
|
|
49043
|
-
},
|
|
49043
|
+
}, s7 = (e) => {
|
|
49044
49044
|
const [t, s] = A(
|
|
49045
49045
|
e?.collapsed ?? !1
|
|
49046
49046
|
), i = !!e?.onCollapseChange, o = i ? e.collapsed ?? !1 : t, n = D(
|
|
@@ -49185,7 +49185,7 @@ const JL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49185
49185
|
handleDuplicateAll: C,
|
|
49186
49186
|
handleDecideForEach: v
|
|
49187
49187
|
};
|
|
49188
|
-
},
|
|
49188
|
+
}, i7 = ({
|
|
49189
49189
|
getDestinationFiles: e,
|
|
49190
49190
|
onCopyFiles: t,
|
|
49191
49191
|
onMoveToFiles: s,
|
|
@@ -49323,7 +49323,7 @@ const JL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49323
49323
|
handleConflictDuplicate: J,
|
|
49324
49324
|
handleConflictDecideForEach: ne
|
|
49325
49325
|
};
|
|
49326
|
-
},
|
|
49326
|
+
}, o7 = ({
|
|
49327
49327
|
path: e,
|
|
49328
49328
|
defaultPath: t,
|
|
49329
49329
|
onPathChange: s,
|
|
@@ -49347,7 +49347,7 @@ const JL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49347
49347
|
setCurrentPath: l,
|
|
49348
49348
|
handlePathChange: c
|
|
49349
49349
|
};
|
|
49350
|
-
},
|
|
49350
|
+
}, n7 = ({
|
|
49351
49351
|
onDeleteFiles: e,
|
|
49352
49352
|
onDeleteSuccess: t
|
|
49353
49353
|
}) => {
|
|
@@ -49381,7 +49381,7 @@ const JL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49381
49381
|
closeDeleteConfirmation: c,
|
|
49382
49382
|
confirmDelete: d
|
|
49383
49383
|
};
|
|
49384
|
-
},
|
|
49384
|
+
}, r7 = ({
|
|
49385
49385
|
onDownloadFiles: e,
|
|
49386
49386
|
onDownloadSuccess: t
|
|
49387
49387
|
}) => ({
|
|
@@ -49391,7 +49391,7 @@ const JL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49391
49391
|
},
|
|
49392
49392
|
[e, t]
|
|
49393
49393
|
)
|
|
49394
|
-
}),
|
|
49394
|
+
}), a7 = (e) => "dataTransfer" in e && e.dataTransfer !== null, l7 = ({
|
|
49395
49395
|
onUploadFiles: e,
|
|
49396
49396
|
onValidateUpload: t,
|
|
49397
49397
|
maxFileSize: s,
|
|
@@ -49444,7 +49444,7 @@ const JL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49444
49444
|
if (!r) return;
|
|
49445
49445
|
let H = 0;
|
|
49446
49446
|
const G = (Ee) => {
|
|
49447
|
-
|
|
49447
|
+
a7(Ee) && Ee.dataTransfer.types.includes(IL) && (H++, d(!0));
|
|
49448
49448
|
}, re = () => {
|
|
49449
49449
|
H--, H === 0 && d(!1);
|
|
49450
49450
|
}, ae = () => {
|
|
@@ -49657,20 +49657,20 @@ const JL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49657
49657
|
handleUploadConflictDuplicate: le,
|
|
49658
49658
|
handleUploadConflictDecideForEach: $
|
|
49659
49659
|
};
|
|
49660
|
-
}, Tv = Ea(void 0),
|
|
49660
|
+
}, Tv = Ea(void 0), c7 = {
|
|
49661
49661
|
emptyName: "Name cannot be empty",
|
|
49662
49662
|
duplicateName: "An item with this name already exists"
|
|
49663
49663
|
};
|
|
49664
|
-
function
|
|
49664
|
+
function d7(e) {
|
|
49665
49665
|
let t = e.length;
|
|
49666
49666
|
for (; t > 0 && e[t - 1] === "/"; ) t--;
|
|
49667
49667
|
return e.slice(0, t);
|
|
49668
49668
|
}
|
|
49669
|
-
function
|
|
49670
|
-
const s =
|
|
49669
|
+
function u7(e, t) {
|
|
49670
|
+
const s = d7(e), i = s.lastIndexOf("/");
|
|
49671
49671
|
return i === -1 ? t : s.slice(0, i + 1) + t;
|
|
49672
49672
|
}
|
|
49673
|
-
function
|
|
49673
|
+
function h7(e) {
|
|
49674
49674
|
const t = e.lastIndexOf(".");
|
|
49675
49675
|
return t === -1 || t === 0 ? e : e.substring(0, t);
|
|
49676
49676
|
}
|
|
@@ -49678,7 +49678,7 @@ function tp(e) {
|
|
|
49678
49678
|
const t = e.lastIndexOf(".");
|
|
49679
49679
|
return t === -1 || t === 0 ? "" : e.substring(t);
|
|
49680
49680
|
}
|
|
49681
|
-
const
|
|
49681
|
+
const g7 = ({
|
|
49682
49682
|
items: e,
|
|
49683
49683
|
onRenameValidate: t,
|
|
49684
49684
|
validationMessages: s,
|
|
@@ -49686,7 +49686,7 @@ const h7 = ({
|
|
|
49686
49686
|
}) => {
|
|
49687
49687
|
const [o, n] = A(), r = B(
|
|
49688
49688
|
() => ({
|
|
49689
|
-
...
|
|
49689
|
+
...c7,
|
|
49690
49690
|
...s
|
|
49691
49691
|
}),
|
|
49692
49692
|
[s]
|
|
@@ -49714,7 +49714,7 @@ const h7 = ({
|
|
|
49714
49714
|
n(void 0);
|
|
49715
49715
|
return;
|
|
49716
49716
|
}
|
|
49717
|
-
const C =
|
|
49717
|
+
const C = u7(
|
|
49718
49718
|
o.path,
|
|
49719
49719
|
f
|
|
49720
49720
|
), v = o.parentPath;
|
|
@@ -49757,7 +49757,7 @@ const h7 = ({
|
|
|
49757
49757
|
return null;
|
|
49758
49758
|
},
|
|
49759
49759
|
[t, r, e]
|
|
49760
|
-
), h = D((g) => g.nodeType === Le.ITEM ?
|
|
49760
|
+
), h = D((g) => g.nodeType === Le.ITEM ? h7(g.name) : g.name, []);
|
|
49761
49761
|
return {
|
|
49762
49762
|
renamedPath: a,
|
|
49763
49763
|
renamedItem: o,
|
|
@@ -49767,7 +49767,7 @@ const h7 = ({
|
|
|
49767
49767
|
renameValidateHandler: u,
|
|
49768
49768
|
getDisplayName: h
|
|
49769
49769
|
};
|
|
49770
|
-
},
|
|
49770
|
+
}, p7 = ({
|
|
49771
49771
|
newActionLabels: e,
|
|
49772
49772
|
onUploadFiles: t,
|
|
49773
49773
|
onCreateFolder: s,
|
|
@@ -49778,31 +49778,31 @@ const h7 = ({
|
|
|
49778
49778
|
return e && (e.newFolder && r.push({
|
|
49779
49779
|
key: "new-folder",
|
|
49780
49780
|
label: e.newFolder,
|
|
49781
|
-
icon: /* @__PURE__ */ m(Ad, { ...
|
|
49781
|
+
icon: /* @__PURE__ */ m(Ad, { ...pe, className: "text-secondary" }),
|
|
49782
49782
|
onClick: () => {
|
|
49783
49783
|
s && s();
|
|
49784
49784
|
}
|
|
49785
49785
|
}), e.uploadFiles && r.push({
|
|
49786
49786
|
key: "upload-file",
|
|
49787
49787
|
label: e.uploadFiles,
|
|
49788
|
-
icon: /* @__PURE__ */ m(hp, { ...
|
|
49788
|
+
icon: /* @__PURE__ */ m(hp, { ...pe, className: "text-secondary" }),
|
|
49789
49789
|
onClick: () => {
|
|
49790
49790
|
t && t();
|
|
49791
49791
|
}
|
|
49792
49792
|
}), e.uploadArchive && r.push({
|
|
49793
49793
|
key: "upload-archive",
|
|
49794
49794
|
label: e.uploadArchive,
|
|
49795
|
-
icon: /* @__PURE__ */ m(Mw, { ...
|
|
49795
|
+
icon: /* @__PURE__ */ m(Mw, { ...pe, className: "text-secondary" }),
|
|
49796
49796
|
onClick: () => {
|
|
49797
49797
|
i && i();
|
|
49798
49798
|
}
|
|
49799
49799
|
})), r;
|
|
49800
49800
|
}, [e, t, s, i]), n = B(() => o.length > 0, [o]);
|
|
49801
49801
|
return { newActions: o, isNewButtonVisible: n };
|
|
49802
|
-
},
|
|
49802
|
+
}, f7 = {
|
|
49803
49803
|
emptyName: "Folder name cannot be empty",
|
|
49804
49804
|
duplicateName: "A folder with this name already exists"
|
|
49805
|
-
},
|
|
49805
|
+
}, m7 = ({
|
|
49806
49806
|
currentFolder: e,
|
|
49807
49807
|
onCreateFolder: t,
|
|
49808
49808
|
onValidateFolderName: s,
|
|
@@ -49810,7 +49810,7 @@ const h7 = ({
|
|
|
49810
49810
|
}) => {
|
|
49811
49811
|
const [o, n] = A(!1), [r, a] = A(null), l = k(e?.path), c = B(
|
|
49812
49812
|
() => ({
|
|
49813
|
-
...
|
|
49813
|
+
...f7,
|
|
49814
49814
|
...i
|
|
49815
49815
|
}),
|
|
49816
49816
|
[i]
|
|
@@ -49864,7 +49864,7 @@ const h7 = ({
|
|
|
49864
49864
|
saveFolderCreation: g,
|
|
49865
49865
|
validateFolderName: h
|
|
49866
49866
|
};
|
|
49867
|
-
},
|
|
49867
|
+
}, C7 = ({
|
|
49868
49868
|
additionalButtons: e,
|
|
49869
49869
|
expandedPathsLength: t,
|
|
49870
49870
|
collapseAll: s
|
|
@@ -49872,7 +49872,7 @@ const h7 = ({
|
|
|
49872
49872
|
const i = t === 0;
|
|
49873
49873
|
return {
|
|
49874
49874
|
additionalButtons: B(() => {
|
|
49875
|
-
const n =
|
|
49875
|
+
const n = ge([
|
|
49876
49876
|
"hover:text-accent-primary p-1",
|
|
49877
49877
|
i && "text-controls-disable hover:text-controls-disable disabled:hover:cursor-default"
|
|
49878
49878
|
]);
|
|
@@ -49891,7 +49891,7 @@ const h7 = ({
|
|
|
49891
49891
|
] });
|
|
49892
49892
|
}, [e, i, s])
|
|
49893
49893
|
};
|
|
49894
|
-
},
|
|
49894
|
+
}, v7 = ({ onGetInfo: e }) => {
|
|
49895
49895
|
const [t, s] = A(!1), [i, o] = A(void 0), n = D(
|
|
49896
49896
|
async (a) => {
|
|
49897
49897
|
o(a), s(!0), e && await e(a);
|
|
@@ -49907,7 +49907,7 @@ const h7 = ({
|
|
|
49907
49907
|
closeMetadataPopup: r
|
|
49908
49908
|
};
|
|
49909
49909
|
};
|
|
49910
|
-
function
|
|
49910
|
+
function w7(e) {
|
|
49911
49911
|
const t = [];
|
|
49912
49912
|
function s(i) {
|
|
49913
49913
|
for (const o of i)
|
|
@@ -49919,7 +49919,7 @@ function sp(e, t) {
|
|
|
49919
49919
|
const s = uo(t);
|
|
49920
49920
|
return e.filter((i) => uo(i.name).includes(s));
|
|
49921
49921
|
}
|
|
49922
|
-
function
|
|
49922
|
+
function b7({
|
|
49923
49923
|
onSearchFiles: e,
|
|
49924
49924
|
clearSearchResults: t,
|
|
49925
49925
|
currentPath: s,
|
|
@@ -49972,7 +49972,7 @@ function w7({
|
|
|
49972
49972
|
}
|
|
49973
49973
|
if (!C || !a.length)
|
|
49974
49974
|
return [];
|
|
49975
|
-
const R =
|
|
49975
|
+
const R = w7(a);
|
|
49976
49976
|
return sp(R, C);
|
|
49977
49977
|
}, [e, i, C, a]);
|
|
49978
49978
|
return {
|
|
@@ -49986,7 +49986,7 @@ function w7({
|
|
|
49986
49986
|
searchResultsRows: y
|
|
49987
49987
|
};
|
|
49988
49988
|
}
|
|
49989
|
-
function
|
|
49989
|
+
function S7({
|
|
49990
49990
|
selectedPaths: e,
|
|
49991
49991
|
defaultSelectedPaths: t,
|
|
49992
49992
|
onSelectedPathsChange: s
|
|
@@ -50010,7 +50010,7 @@ function b7({
|
|
|
50010
50010
|
isControlled: i
|
|
50011
50011
|
};
|
|
50012
50012
|
}
|
|
50013
|
-
const
|
|
50013
|
+
const y7 = ({
|
|
50014
50014
|
children: e,
|
|
50015
50015
|
className: t,
|
|
50016
50016
|
items: s = [],
|
|
@@ -50067,7 +50067,7 @@ const S7 = ({
|
|
|
50067
50067
|
selectedPaths: Ie,
|
|
50068
50068
|
clearSelection: ce,
|
|
50069
50069
|
setSelectedPaths: Pe
|
|
50070
|
-
} =
|
|
50070
|
+
} = S7({
|
|
50071
50071
|
selectedPaths: a,
|
|
50072
50072
|
defaultSelectedPaths: l,
|
|
50073
50073
|
onSelectedPathsChange: c
|
|
@@ -50077,7 +50077,7 @@ const S7 = ({
|
|
|
50077
50077
|
const ls = Ti(s, It);
|
|
50078
50078
|
ls && Ne.set(It, ls);
|
|
50079
50079
|
}), Ne;
|
|
50080
|
-
}, [Ie, s]), { currentPath: Ae, setCurrentPath: Se, handlePathChange: Re } =
|
|
50080
|
+
}, [Ie, s]), { currentPath: Ae, setCurrentPath: Se, handlePathChange: Re } = o7({
|
|
50081
50081
|
path: o,
|
|
50082
50082
|
defaultPath: n,
|
|
50083
50083
|
onPathChange: S,
|
|
@@ -50087,10 +50087,10 @@ const S7 = ({
|
|
|
50087
50087
|
w?.setDestinationFolderPath ? w.setDestinationFolderPath(Ne) : Ke(Ne);
|
|
50088
50088
|
},
|
|
50089
50089
|
[w]
|
|
50090
|
-
), { areHiddenFilesVisible: Ft, toggleHiddenFilesVisibility: is } =
|
|
50090
|
+
), { areHiddenFilesVisible: Ft, toggleHiddenFilesVisibility: is } = t7({
|
|
50091
50091
|
showHiddenFiles: d,
|
|
50092
50092
|
onShowHiddenFilesChange: u
|
|
50093
|
-
}), { isTreeCollapsed: V, toggleTreeCollapse: xe, setIsTreeCollapsed: Tt } =
|
|
50093
|
+
}), { isTreeCollapsed: V, toggleTreeCollapse: xe, setIsTreeCollapsed: Tt } = s7({
|
|
50094
50094
|
collapsed: h?.collapsed,
|
|
50095
50095
|
onCollapseChange: h?.onCollapseChange
|
|
50096
50096
|
}), {
|
|
@@ -50101,7 +50101,7 @@ const S7 = ({
|
|
|
50101
50101
|
renameCancelHandler: Za,
|
|
50102
50102
|
renameValidateHandler: Qa,
|
|
50103
50103
|
getDisplayName: Xa
|
|
50104
|
-
} =
|
|
50104
|
+
} = g7({
|
|
50105
50105
|
items: s,
|
|
50106
50106
|
onRenameValidate: T,
|
|
50107
50107
|
validationMessages: E,
|
|
@@ -50113,7 +50113,7 @@ const S7 = ({
|
|
|
50113
50113
|
setSearchValue: el,
|
|
50114
50114
|
handleSearchChange: tl,
|
|
50115
50115
|
searchResultsRows: zn
|
|
50116
|
-
} =
|
|
50116
|
+
} = b7({
|
|
50117
50117
|
onSearchFiles: ve,
|
|
50118
50118
|
clearSearchResults: H,
|
|
50119
50119
|
currentPath: Ae,
|
|
@@ -50143,7 +50143,7 @@ const S7 = ({
|
|
|
50143
50143
|
handleConflictReplace: $n,
|
|
50144
50144
|
handleConflictDuplicate: jn,
|
|
50145
50145
|
handleConflictDecideForEach: Kn
|
|
50146
|
-
} =
|
|
50146
|
+
} = i7({
|
|
50147
50147
|
getDestinationFiles: (Ne) => Xg(s, Ne)?.items ?? [],
|
|
50148
50148
|
onCopyFiles: R,
|
|
50149
50149
|
onMoveToFiles: x,
|
|
@@ -50170,10 +50170,10 @@ const S7 = ({
|
|
|
50170
50170
|
openDeleteConfirmation: Yn,
|
|
50171
50171
|
closeDeleteConfirmation: Oo,
|
|
50172
50172
|
confirmDelete: cl
|
|
50173
|
-
} =
|
|
50173
|
+
} = n7({
|
|
50174
50174
|
onDeleteFiles: F,
|
|
50175
50175
|
onDeleteSuccess: ce
|
|
50176
|
-
}), { handleDownloadFiles: Zn } =
|
|
50176
|
+
}), { handleDownloadFiles: Zn } = r7({
|
|
50177
50177
|
onDownloadFiles: P,
|
|
50178
50178
|
onDownloadSuccess: ce
|
|
50179
50179
|
}), {
|
|
@@ -50186,7 +50186,7 @@ const S7 = ({
|
|
|
50186
50186
|
handleDrop: Vo,
|
|
50187
50187
|
clearError: Xn,
|
|
50188
50188
|
openFileDialog: Jn,
|
|
50189
|
-
fileInputRef:
|
|
50189
|
+
fileInputRef: nt,
|
|
50190
50190
|
openArchiveDialog: zo,
|
|
50191
50191
|
uploadConflictingFiles: Wo,
|
|
50192
50192
|
uploadConflictResolutionOpen: ul,
|
|
@@ -50194,7 +50194,7 @@ const S7 = ({
|
|
|
50194
50194
|
handleUploadConflictReplace: hl,
|
|
50195
50195
|
handleUploadConflictDuplicate: gl,
|
|
50196
50196
|
handleUploadConflictDecideForEach: pl
|
|
50197
|
-
} =
|
|
50197
|
+
} = l7({
|
|
50198
50198
|
onUploadFiles: M,
|
|
50199
50199
|
onValidateUpload: U,
|
|
50200
50200
|
maxFileSize: J,
|
|
@@ -50221,12 +50221,12 @@ const S7 = ({
|
|
|
50221
50221
|
cancelFolderCreation: ir,
|
|
50222
50222
|
saveFolderCreation: or,
|
|
50223
50223
|
validateFolderName: ml
|
|
50224
|
-
} =
|
|
50224
|
+
} = m7({
|
|
50225
50225
|
currentFolder: Mt,
|
|
50226
50226
|
onCreateFolder: O,
|
|
50227
50227
|
onValidateFolderName: le,
|
|
50228
50228
|
validationMessages: $
|
|
50229
|
-
}), { newActions: Cl, isNewButtonVisible: j } =
|
|
50229
|
+
}), { newActions: Cl, isNewButtonVisible: j } = p7({
|
|
50230
50230
|
newActionLabels: C?.newActionLabels,
|
|
50231
50231
|
onUploadFiles: sr,
|
|
50232
50232
|
onUploadArchive: fl,
|
|
@@ -50260,7 +50260,7 @@ const S7 = ({
|
|
|
50260
50260
|
}));
|
|
50261
50261
|
}
|
|
50262
50262
|
const Ne = uo(ko).trim(), It = Mt?.items ?? [];
|
|
50263
|
-
let ls = Ne ?
|
|
50263
|
+
let ls = Ne ? GL(Mt) : It;
|
|
50264
50264
|
Ft || (ls = ls.filter((Ve) => !wd(Ve)));
|
|
50265
50265
|
const ar = ls.map((Ve) => ({
|
|
50266
50266
|
id: Ve.id ?? Ve.path,
|
|
@@ -50291,7 +50291,7 @@ const S7 = ({
|
|
|
50291
50291
|
const Rl = Ne.split(/\s+/).filter(Boolean);
|
|
50292
50292
|
return ar.filter((Ve) => {
|
|
50293
50293
|
if (Ve.isTemporary) return !0;
|
|
50294
|
-
const wt = uo(Ve.name), lt = uo(Ve.author), Av =
|
|
50294
|
+
const wt = uo(Ve.name), lt = uo(Ve.author), Av = HL(Ve.extension);
|
|
50295
50295
|
return Rl.every(
|
|
50296
50296
|
(xl) => wt.includes(xl) || lt.includes(xl) || Av.includes(xl)
|
|
50297
50297
|
);
|
|
@@ -50322,7 +50322,7 @@ const S7 = ({
|
|
|
50322
50322
|
), { expandedPaths: nr, setExpandedPaths: vl, collapseAll: wl } = Ev({
|
|
50323
50323
|
expandedPaths: h?.expandedPaths,
|
|
50324
50324
|
onExpandedPathsChange: h?.onExpandedPathsChange
|
|
50325
|
-
}), { additionalButtons: ni } =
|
|
50325
|
+
}), { additionalButtons: ni } = C7({
|
|
50326
50326
|
collapseAll: wl,
|
|
50327
50327
|
expandedPathsLength: nr.size,
|
|
50328
50328
|
additionalButtons: h?.additionalButtons
|
|
@@ -50331,7 +50331,7 @@ const S7 = ({
|
|
|
50331
50331
|
selectedFileForMetadata: ri,
|
|
50332
50332
|
openMetadataPopup: Sl,
|
|
50333
50333
|
closeMetadataPopup: rr
|
|
50334
|
-
} =
|
|
50334
|
+
} = v7({ onGetInfo: X }), _o = D(() => {
|
|
50335
50335
|
rr(), oe?.clearMetadata?.();
|
|
50336
50336
|
}, [rr, oe]), yl = {
|
|
50337
50337
|
className: t,
|
|
@@ -50416,7 +50416,7 @@ const S7 = ({
|
|
|
50416
50416
|
maxFileSize: J,
|
|
50417
50417
|
isDraggingOverWindow: dl,
|
|
50418
50418
|
openFileDialog: sr,
|
|
50419
|
-
fileInputRef:
|
|
50419
|
+
fileInputRef: nt,
|
|
50420
50420
|
newActions: Cl,
|
|
50421
50421
|
isNewButtonVisible: j,
|
|
50422
50422
|
isCreatingFolder: Ni,
|
|
@@ -50457,21 +50457,21 @@ const S7 = ({
|
|
|
50457
50457
|
emptyStateDescription: Ee
|
|
50458
50458
|
};
|
|
50459
50459
|
return /* @__PURE__ */ m(Tv.Provider, { value: yl, children: e });
|
|
50460
|
-
},
|
|
50460
|
+
}, R7 = () => {
|
|
50461
50461
|
const e = ot(Tv);
|
|
50462
50462
|
if (!e)
|
|
50463
50463
|
throw new Error(
|
|
50464
50464
|
"useFileManagerContext must be used within <FileManagerProvider>"
|
|
50465
50465
|
);
|
|
50466
50466
|
return e;
|
|
50467
|
-
},
|
|
50467
|
+
}, x7 = "en-US", F7 = {
|
|
50468
50468
|
year: "numeric",
|
|
50469
50469
|
month: "numeric",
|
|
50470
50470
|
day: "2-digit",
|
|
50471
50471
|
hour: "2-digit",
|
|
50472
50472
|
minute: "2-digit",
|
|
50473
50473
|
second: "2-digit"
|
|
50474
|
-
},
|
|
50474
|
+
}, E7 = "text-primary";
|
|
50475
50475
|
function Mv(e) {
|
|
50476
50476
|
if (!e) return null;
|
|
50477
50477
|
if (e instanceof Date)
|
|
@@ -50493,8 +50493,8 @@ function Mv(e) {
|
|
|
50493
50493
|
}
|
|
50494
50494
|
const Iv = ({
|
|
50495
50495
|
value: e,
|
|
50496
|
-
locale: t =
|
|
50497
|
-
options: s =
|
|
50496
|
+
locale: t = x7,
|
|
50497
|
+
options: s = F7,
|
|
50498
50498
|
emptyPlaceholder: i,
|
|
50499
50499
|
className: o
|
|
50500
50500
|
}) => {
|
|
@@ -50503,11 +50503,11 @@ const Iv = ({
|
|
|
50503
50503
|
St,
|
|
50504
50504
|
{
|
|
50505
50505
|
text: a ? /* @__PURE__ */ m("time", { dateTime: a, children: r }) : /* @__PURE__ */ m("span", { children: r }),
|
|
50506
|
-
className: ee(
|
|
50506
|
+
className: ee(E7, o),
|
|
50507
50507
|
hideTooltip: !1
|
|
50508
50508
|
}
|
|
50509
50509
|
);
|
|
50510
|
-
},
|
|
50510
|
+
}, D7 = ({
|
|
50511
50511
|
open: e,
|
|
50512
50512
|
itemsToDelete: t,
|
|
50513
50513
|
onClose: s,
|
|
@@ -50555,7 +50555,7 @@ const Iv = ({
|
|
|
50555
50555
|
children: h
|
|
50556
50556
|
}
|
|
50557
50557
|
);
|
|
50558
|
-
},
|
|
50558
|
+
}, P7 = ({
|
|
50559
50559
|
onClose: e,
|
|
50560
50560
|
onConfirm: t,
|
|
50561
50561
|
open: s,
|
|
@@ -50592,7 +50592,7 @@ const Iv = ({
|
|
|
50592
50592
|
{
|
|
50593
50593
|
label: n,
|
|
50594
50594
|
appearance: ke.Ghost,
|
|
50595
|
-
iconBefore: /* @__PURE__ */ m(Aw, { ...
|
|
50595
|
+
iconBefore: /* @__PURE__ */ m(Aw, { ...pe }),
|
|
50596
50596
|
onClick: () => {
|
|
50597
50597
|
w.current?.createFolder();
|
|
50598
50598
|
}
|
|
@@ -50639,7 +50639,7 @@ const Iv = ({
|
|
|
50639
50639
|
] }),
|
|
50640
50640
|
header: u ?? S,
|
|
50641
50641
|
children: /* @__PURE__ */ m(
|
|
50642
|
-
|
|
50642
|
+
G7,
|
|
50643
50643
|
{
|
|
50644
50644
|
...f,
|
|
50645
50645
|
actionsRef: w,
|
|
@@ -50666,7 +50666,7 @@ const Iv = ({
|
|
|
50666
50666
|
)
|
|
50667
50667
|
}
|
|
50668
50668
|
);
|
|
50669
|
-
}, $u = (e) => /* @__PURE__ */ be.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ be.createElement("path", { d: "M4.5 15.75V14.25C4.5 13.4544 4.81607 12.6913 5.37868 12.1287C5.94129 11.5661 6.70435 11.25 7.5 11.25H9.75M15.75 12.75L12 16.5M12 16.5V13.125M12 16.5H15.375M6 5.25C6 6.04565 6.31607 6.80871 6.87868 7.37132C7.44129 7.93393 8.20435 8.25 9 8.25C9.79565 8.25 10.5587 7.93393 11.1213 7.37132C11.6839 6.80871 12 6.04565 12 5.25C12 4.45435 11.6839 3.69129 11.1213 3.12868C10.5587 2.56607 9.79565 2.25 9 2.25C8.20435 2.25 7.44129 2.56607 6.87868 3.12868C6.31607 3.69129 6 4.45435 6 5.25Z", stroke: "#7F8792", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })),
|
|
50669
|
+
}, $u = (e) => /* @__PURE__ */ be.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ be.createElement("path", { d: "M4.5 15.75V14.25C4.5 13.4544 4.81607 12.6913 5.37868 12.1287C5.94129 11.5661 6.70435 11.25 7.5 11.25H9.75M15.75 12.75L12 16.5M12 16.5V13.125M12 16.5H15.375M6 5.25C6 6.04565 6.31607 6.80871 6.87868 7.37132C7.44129 7.93393 8.20435 8.25 9 8.25C9.79565 8.25 10.5587 7.93393 11.1213 7.37132C11.6839 6.80871 12 6.04565 12 5.25C12 4.45435 11.6839 3.69129 11.1213 3.12868C10.5587 2.56607 9.79565 2.25 9 2.25C8.20435 2.25 7.44129 2.56607 6.87868 3.12868C6.31607 3.69129 6 4.45435 6 5.25Z", stroke: "#7F8792", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), T7 = ({
|
|
50670
50670
|
selectedFiles: e,
|
|
50671
50671
|
actionLabels: t,
|
|
50672
50672
|
onDuplicate: s,
|
|
@@ -50687,8 +50687,8 @@ const Iv = ({
|
|
|
50687
50687
|
icon: /* @__PURE__ */ m(
|
|
50688
50688
|
Uu,
|
|
50689
50689
|
{
|
|
50690
|
-
width:
|
|
50691
|
-
height:
|
|
50690
|
+
width: pe.size,
|
|
50691
|
+
height: pe.size,
|
|
50692
50692
|
className: "text-secondary"
|
|
50693
50693
|
}
|
|
50694
50694
|
),
|
|
@@ -50700,8 +50700,8 @@ const Iv = ({
|
|
|
50700
50700
|
icon: /* @__PURE__ */ m(
|
|
50701
50701
|
_u,
|
|
50702
50702
|
{
|
|
50703
|
-
width:
|
|
50704
|
-
height:
|
|
50703
|
+
width: pe.size,
|
|
50704
|
+
height: pe.size,
|
|
50705
50705
|
className: "text-secondary"
|
|
50706
50706
|
}
|
|
50707
50707
|
),
|
|
@@ -50710,7 +50710,7 @@ const Iv = ({
|
|
|
50710
50710
|
key: he.Duplicate,
|
|
50711
50711
|
label: t[he.Duplicate],
|
|
50712
50712
|
title: t[he.Duplicate],
|
|
50713
|
-
icon: /* @__PURE__ */ m(kd, { ...
|
|
50713
|
+
icon: /* @__PURE__ */ m(kd, { ...pe, className: "text-secondary" }),
|
|
50714
50714
|
onClick: () => s(d)
|
|
50715
50715
|
}), t[he.Delete]) {
|
|
50716
50716
|
const u = d.some(
|
|
@@ -50720,7 +50720,7 @@ const Iv = ({
|
|
|
50720
50720
|
key: he.Delete,
|
|
50721
50721
|
label: t[he.Delete],
|
|
50722
50722
|
title: t[he.Delete],
|
|
50723
|
-
icon: /* @__PURE__ */ m(In, { ...
|
|
50723
|
+
icon: /* @__PURE__ */ m(In, { ...pe, className: "text-secondary" }),
|
|
50724
50724
|
disabled: u,
|
|
50725
50725
|
onClick: () => {
|
|
50726
50726
|
const h = l();
|
|
@@ -50732,7 +50732,7 @@ const Iv = ({
|
|
|
50732
50732
|
key: he.Download,
|
|
50733
50733
|
label: t[he.Download],
|
|
50734
50734
|
title: t[he.Download],
|
|
50735
|
-
icon: /* @__PURE__ */ m(Ld, { ...
|
|
50735
|
+
icon: /* @__PURE__ */ m(Ld, { ...pe, className: "text-secondary" }),
|
|
50736
50736
|
onClick: () => n(d)
|
|
50737
50737
|
}), t[he.Unshare] && r && c.push({
|
|
50738
50738
|
key: he.Unshare,
|
|
@@ -50741,8 +50741,8 @@ const Iv = ({
|
|
|
50741
50741
|
icon: /* @__PURE__ */ m(
|
|
50742
50742
|
$u,
|
|
50743
50743
|
{
|
|
50744
|
-
width:
|
|
50745
|
-
height:
|
|
50744
|
+
width: pe.size,
|
|
50745
|
+
height: pe.size,
|
|
50746
50746
|
className: "text-secondary"
|
|
50747
50747
|
}
|
|
50748
50748
|
),
|
|
@@ -50758,7 +50758,7 @@ const Iv = ({
|
|
|
50758
50758
|
a,
|
|
50759
50759
|
n,
|
|
50760
50760
|
r
|
|
50761
|
-
]),
|
|
50761
|
+
]), M7 = ({
|
|
50762
50762
|
actionLabels: e,
|
|
50763
50763
|
onDuplicate: t,
|
|
50764
50764
|
onCopy: s,
|
|
@@ -50775,7 +50775,7 @@ const Iv = ({
|
|
|
50775
50775
|
e[he.Duplicate] && d.push({
|
|
50776
50776
|
key: he.Duplicate,
|
|
50777
50777
|
label: e[he.Duplicate],
|
|
50778
|
-
icon: /* @__PURE__ */ m(kd, { ...
|
|
50778
|
+
icon: /* @__PURE__ */ m(kd, { ...pe, className: "text-secondary" }),
|
|
50779
50779
|
onClick: () => t(c)
|
|
50780
50780
|
}), e[he.Copy] && d.push({
|
|
50781
50781
|
key: he.Copy,
|
|
@@ -50783,8 +50783,8 @@ const Iv = ({
|
|
|
50783
50783
|
icon: /* @__PURE__ */ m(
|
|
50784
50784
|
_u,
|
|
50785
50785
|
{
|
|
50786
|
-
width:
|
|
50787
|
-
height:
|
|
50786
|
+
width: pe.size,
|
|
50787
|
+
height: pe.size,
|
|
50788
50788
|
className: "text-secondary"
|
|
50789
50789
|
}
|
|
50790
50790
|
),
|
|
@@ -50795,8 +50795,8 @@ const Iv = ({
|
|
|
50795
50795
|
icon: /* @__PURE__ */ m(
|
|
50796
50796
|
Uu,
|
|
50797
50797
|
{
|
|
50798
|
-
width:
|
|
50799
|
-
height:
|
|
50798
|
+
width: pe.size,
|
|
50799
|
+
height: pe.size,
|
|
50800
50800
|
className: "text-secondary"
|
|
50801
50801
|
}
|
|
50802
50802
|
),
|
|
@@ -50804,24 +50804,24 @@ const Iv = ({
|
|
|
50804
50804
|
}), e[he.Download] && d.push({
|
|
50805
50805
|
key: he.Download,
|
|
50806
50806
|
label: e[he.Download],
|
|
50807
|
-
icon: /* @__PURE__ */ m(Ld, { ...
|
|
50807
|
+
icon: /* @__PURE__ */ m(Ld, { ...pe, className: "text-secondary" }),
|
|
50808
50808
|
onClick: () => o(c)
|
|
50809
50809
|
});
|
|
50810
50810
|
const u = !c.permissions || c.permissions.includes(Ka.WRITE);
|
|
50811
50811
|
return e[he.Delete] && u && d.push({
|
|
50812
50812
|
key: he.Delete,
|
|
50813
50813
|
label: e[he.Delete],
|
|
50814
|
-
icon: /* @__PURE__ */ m(In, { ...
|
|
50814
|
+
icon: /* @__PURE__ */ m(In, { ...pe, className: "text-secondary" }),
|
|
50815
50815
|
onClick: () => r(c, c.parentPath ?? "")
|
|
50816
50816
|
}), e[he.Rename] && d.push({
|
|
50817
50817
|
key: he.Rename,
|
|
50818
50818
|
label: e[he.Rename],
|
|
50819
|
-
icon: /* @__PURE__ */ m(mp, { ...
|
|
50819
|
+
icon: /* @__PURE__ */ m(mp, { ...pe, className: "text-secondary" }),
|
|
50820
50820
|
onClick: () => n(c.path)
|
|
50821
50821
|
}), e[he.Info] && c.nodeType === Le.ITEM && d.push({
|
|
50822
50822
|
key: he.Info,
|
|
50823
50823
|
label: e[he.Info],
|
|
50824
|
-
icon: /* @__PURE__ */ m(Md, { ...
|
|
50824
|
+
icon: /* @__PURE__ */ m(Md, { ...pe, className: "text-secondary" }),
|
|
50825
50825
|
onClick: () => a(c)
|
|
50826
50826
|
}), e[he.Unshare] && d.push({
|
|
50827
50827
|
key: he.Unshare,
|
|
@@ -50829,8 +50829,8 @@ const Iv = ({
|
|
|
50829
50829
|
icon: /* @__PURE__ */ m(
|
|
50830
50830
|
$u,
|
|
50831
50831
|
{
|
|
50832
|
-
width:
|
|
50833
|
-
height:
|
|
50832
|
+
width: pe.size,
|
|
50833
|
+
height: pe.size,
|
|
50834
50834
|
className: "text-secondary"
|
|
50835
50835
|
}
|
|
50836
50836
|
),
|
|
@@ -51107,7 +51107,7 @@ const Iv = ({
|
|
|
51107
51107
|
] })
|
|
51108
51108
|
}
|
|
51109
51109
|
);
|
|
51110
|
-
},
|
|
51110
|
+
}, I7 = ({
|
|
51111
51111
|
id: e,
|
|
51112
51112
|
name: t,
|
|
51113
51113
|
nodeType: s,
|
|
@@ -51141,7 +51141,7 @@ const Iv = ({
|
|
|
51141
51141
|
] })
|
|
51142
51142
|
}
|
|
51143
51143
|
) }) });
|
|
51144
|
-
function
|
|
51144
|
+
function A7(e) {
|
|
51145
51145
|
const t = k(null), [s, i] = A(!1);
|
|
51146
51146
|
return we(() => {
|
|
51147
51147
|
if (!t.current) return;
|
|
@@ -51152,32 +51152,33 @@ function I7(e) {
|
|
|
51152
51152
|
return o.observe(t.current), () => o.disconnect();
|
|
51153
51153
|
}, [e]), { containerRef: t, isBelowBreakpoint: s };
|
|
51154
51154
|
}
|
|
51155
|
-
const
|
|
51155
|
+
const k7 = ({
|
|
51156
51156
|
getContextMenuItems: e,
|
|
51157
51157
|
isRowDisabled: t,
|
|
51158
51158
|
allowedFileTypes: s,
|
|
51159
|
-
maxSelectableFileSize: i
|
|
51159
|
+
maxSelectableFileSize: i,
|
|
51160
|
+
buttonClassName: o
|
|
51160
51161
|
}) => {
|
|
51161
|
-
const
|
|
51162
|
-
(
|
|
51163
|
-
if (!
|
|
51164
|
-
|
|
51162
|
+
const n = D(
|
|
51163
|
+
(a) => {
|
|
51164
|
+
if (!a.data || t(
|
|
51165
|
+
a.data,
|
|
51165
51166
|
s,
|
|
51166
51167
|
i
|
|
51167
51168
|
)) return null;
|
|
51168
|
-
const
|
|
51169
|
-
return
|
|
51169
|
+
const c = a.data ? e?.(a.data) ?? [] : [];
|
|
51170
|
+
return c.length ? /* @__PURE__ */ m(
|
|
51170
51171
|
Ot,
|
|
51171
51172
|
{
|
|
51172
51173
|
placement: "bottom-start",
|
|
51173
51174
|
allowedPlacements: ["top-start", "top-end", "bottom-start"],
|
|
51174
|
-
menu: { items:
|
|
51175
|
-
className: "sticky right-0",
|
|
51175
|
+
menu: { items: c },
|
|
51176
|
+
className: ge("sticky right-0", o),
|
|
51176
51177
|
children: /* @__PURE__ */ m(
|
|
51177
51178
|
We,
|
|
51178
51179
|
{
|
|
51179
51180
|
className: "text-secondary mx-2 flex flex-row gap-2 hover:text-accent-primary",
|
|
51180
|
-
icon: /* @__PURE__ */ m(Mn, { ...
|
|
51181
|
+
icon: /* @__PURE__ */ m(Mn, { ...pe })
|
|
51181
51182
|
}
|
|
51182
51183
|
)
|
|
51183
51184
|
}
|
|
@@ -51186,6 +51187,7 @@ const A7 = ({
|
|
|
51186
51187
|
[
|
|
51187
51188
|
s,
|
|
51188
51189
|
i,
|
|
51190
|
+
o,
|
|
51189
51191
|
e,
|
|
51190
51192
|
t
|
|
51191
51193
|
]
|
|
@@ -51201,11 +51203,11 @@ const A7 = ({
|
|
|
51201
51203
|
resizable: !1,
|
|
51202
51204
|
filter: !1,
|
|
51203
51205
|
floatingFilter: !1,
|
|
51204
|
-
cellRenderer:
|
|
51206
|
+
cellRenderer: n
|
|
51205
51207
|
}),
|
|
51206
|
-
[
|
|
51208
|
+
[n]
|
|
51207
51209
|
) };
|
|
51208
|
-
},
|
|
51210
|
+
}, L7 = ({
|
|
51209
51211
|
onRename: e
|
|
51210
51212
|
}) => {
|
|
51211
51213
|
const [t, s] = A(ho.Grid), i = D(
|
|
@@ -51224,7 +51226,7 @@ const A7 = ({
|
|
|
51224
51226
|
onGridRename: i,
|
|
51225
51227
|
onTreeRename: o
|
|
51226
51228
|
};
|
|
51227
|
-
},
|
|
51229
|
+
}, O7 = 100, Xo = 16, ds = "text-secondary", Pr = "text-primary min-w-0", N7 = "text-primary break-words min-w-0", Jo = "bg-layer-2", H7 = ({
|
|
51228
51230
|
open: e,
|
|
51229
51231
|
onClose: t,
|
|
51230
51232
|
fileMetadata: s,
|
|
@@ -51249,7 +51251,7 @@ const A7 = ({
|
|
|
51249
51251
|
"div",
|
|
51250
51252
|
{
|
|
51251
51253
|
className: "grid gap-x-4 gap-y-4 items-center dial-small",
|
|
51252
|
-
style: { gridTemplateColumns: `${
|
|
51254
|
+
style: { gridTemplateColumns: `${O7}px 1fr` },
|
|
51253
51255
|
children: i ? /* @__PURE__ */ z(ze, { children: [
|
|
51254
51256
|
/* @__PURE__ */ m("div", { className: ds, children: n }),
|
|
51255
51257
|
/* @__PURE__ */ m(
|
|
@@ -51308,7 +51310,7 @@ const A7 = ({
|
|
|
51308
51310
|
/* @__PURE__ */ m("div", { className: Pr, children: /* @__PURE__ */ m(
|
|
51309
51311
|
St,
|
|
51310
51312
|
{
|
|
51311
|
-
text:
|
|
51313
|
+
text: BL(
|
|
51312
51314
|
s.updatedAt,
|
|
51313
51315
|
d,
|
|
51314
51316
|
u
|
|
@@ -51325,12 +51327,12 @@ const A7 = ({
|
|
|
51325
51327
|
/* @__PURE__ */ m("div", { className: ds, children: c }),
|
|
51326
51328
|
/* @__PURE__ */ m("div", { className: Pr, children: /* @__PURE__ */ m(St, { text: s.author || "—" }) }),
|
|
51327
51329
|
/* @__PURE__ */ m("div", { className: ds, children: r }),
|
|
51328
|
-
/* @__PURE__ */ m("div", { className:
|
|
51330
|
+
/* @__PURE__ */ m("div", { className: N7, children: decodeURIComponent(s.path) })
|
|
51329
51331
|
] }) : null
|
|
51330
51332
|
}
|
|
51331
51333
|
) })
|
|
51332
51334
|
}
|
|
51333
|
-
),
|
|
51335
|
+
), G7 = (e) => /* @__PURE__ */ m(y7, { ...e, children: /* @__PURE__ */ m(B7, {}) }), B7 = () => {
|
|
51334
51336
|
const {
|
|
51335
51337
|
className: e,
|
|
51336
51338
|
items: t,
|
|
@@ -51344,7 +51346,7 @@ const A7 = ({
|
|
|
51344
51346
|
deleteConfirmationOptions: c,
|
|
51345
51347
|
destinationFolderPopupOptions: d,
|
|
51346
51348
|
conflictResolutionPopupOptions: u,
|
|
51347
|
-
compactViewWidthBreakpoint: h =
|
|
51349
|
+
compactViewWidthBreakpoint: h = OL,
|
|
51348
51350
|
sharedByMePaths: g,
|
|
51349
51351
|
allowedFileTypes: p,
|
|
51350
51352
|
maxSelectableFileSize: f,
|
|
@@ -51425,13 +51427,13 @@ const A7 = ({
|
|
|
51425
51427
|
emptyStateIcon: Wn,
|
|
51426
51428
|
emptyStateTitle: _n = "You don't have any files",
|
|
51427
51429
|
emptyStateDescription: Un = "Upload or drag and drop files"
|
|
51428
|
-
} =
|
|
51429
|
-
width: ll =
|
|
51430
|
-
header: $n =
|
|
51430
|
+
} = R7(), {
|
|
51431
|
+
width: ll = TL,
|
|
51432
|
+
header: $n = ML,
|
|
51431
51433
|
containerClassName: jn = EL,
|
|
51432
51434
|
additionalButtons: Kn,
|
|
51433
51435
|
...qn
|
|
51434
|
-
} = o ?? {}, [Oi, Yn] = A(ll), { renameTriggerView: Oo, onGridRename: cl, onTreeRename: Zn } =
|
|
51436
|
+
} = o ?? {}, [Oi, Yn] = A(ll), { renameTriggerView: Oo, onGridRename: cl, onTreeRename: Zn } = L7({ onRename: ae }), No = k(null), dl = (j) => {
|
|
51435
51437
|
No.current === null && (No.current = requestAnimationFrame(() => {
|
|
51436
51438
|
Yn(j), No.current = null;
|
|
51437
51439
|
}));
|
|
@@ -51448,7 +51450,7 @@ const A7 = ({
|
|
|
51448
51450
|
ct.Actions
|
|
51449
51451
|
],
|
|
51450
51452
|
...Xn
|
|
51451
|
-
} = r ?? {}, { containerRef: Jn, isBelowBreakpoint:
|
|
51453
|
+
} = r ?? {}, { containerRef: Jn, isBelowBreakpoint: nt } = A7(
|
|
51452
51454
|
h
|
|
51453
51455
|
), zo = B(() => Lo ? [
|
|
51454
51456
|
ct.Name,
|
|
@@ -51475,7 +51477,7 @@ const A7 = ({
|
|
|
51475
51477
|
newFolderTempId: nr,
|
|
51476
51478
|
sharedByMePaths: vl,
|
|
51477
51479
|
selectedPaths: wl
|
|
51478
|
-
} = j.context, ni = vl?.has(j.data.path), bl = wl?.has(j.data.path), ri =
|
|
51480
|
+
} = j.context, ni = vl?.has(j.data.path), bl = wl?.has(j.data.path), ri = ge([
|
|
51479
51481
|
"group-hover/grid-row:bg-accent-primary-alpha",
|
|
51480
51482
|
bl && "bg-accent-primary-alpha"
|
|
51481
51483
|
]);
|
|
@@ -51493,9 +51495,9 @@ const A7 = ({
|
|
|
51493
51495
|
validate: as,
|
|
51494
51496
|
onSave: rs,
|
|
51495
51497
|
onCancel: Gi,
|
|
51496
|
-
inputContainerClassName:
|
|
51498
|
+
inputContainerClassName: ge([
|
|
51497
51499
|
"!h-9",
|
|
51498
|
-
|
|
51500
|
+
nt && Te === Le.ITEM && "!h-10"
|
|
51499
51501
|
])
|
|
51500
51502
|
}
|
|
51501
51503
|
);
|
|
@@ -51523,15 +51525,15 @@ const A7 = ({
|
|
|
51523
51525
|
validate: (Ve) => Ne(Ve, _o),
|
|
51524
51526
|
onSave: It,
|
|
51525
51527
|
onCancel: ls,
|
|
51526
|
-
inputContainerClassName:
|
|
51528
|
+
inputContainerClassName: ge([
|
|
51527
51529
|
"!h-9",
|
|
51528
|
-
|
|
51530
|
+
nt && Te === Le.ITEM && "!h-10"
|
|
51529
51531
|
])
|
|
51530
51532
|
}
|
|
51531
51533
|
);
|
|
51532
51534
|
}
|
|
51533
|
-
return
|
|
51534
|
-
|
|
51535
|
+
return nt ? /* @__PURE__ */ m(
|
|
51536
|
+
I7,
|
|
51535
51537
|
{
|
|
51536
51538
|
id: j.data.id,
|
|
51537
51539
|
name: j.data.name,
|
|
@@ -51605,13 +51607,13 @@ const A7 = ({
|
|
|
51605
51607
|
suppressSizeToFit: !0,
|
|
51606
51608
|
cellRenderer: (j) => j.data.owner
|
|
51607
51609
|
}
|
|
51608
|
-
], [Go, Bo,
|
|
51610
|
+
], [Go, Bo, nt]), er = D(
|
|
51609
51611
|
(j) => {
|
|
51610
51612
|
const Te = [];
|
|
51611
51613
|
return o?.actionLabels && (o.actionLabels[he.Duplicate] && Te.push({
|
|
51612
51614
|
key: "duplicate",
|
|
51613
51615
|
label: o.actionLabels[he.Duplicate],
|
|
51614
|
-
icon: /* @__PURE__ */ m(kd, { ...
|
|
51616
|
+
icon: /* @__PURE__ */ m(kd, { ...pe, className: "text-secondary" }),
|
|
51615
51617
|
onClick: () => oe([j])
|
|
51616
51618
|
}), o.actionLabels[he.Copy] && Te.push({
|
|
51617
51619
|
key: it.Copy,
|
|
@@ -51619,8 +51621,8 @@ const A7 = ({
|
|
|
51619
51621
|
icon: /* @__PURE__ */ m(
|
|
51620
51622
|
_u,
|
|
51621
51623
|
{
|
|
51622
|
-
width:
|
|
51623
|
-
height:
|
|
51624
|
+
width: pe.size,
|
|
51625
|
+
height: pe.size,
|
|
51624
51626
|
className: "text-secondary"
|
|
51625
51627
|
}
|
|
51626
51628
|
),
|
|
@@ -51633,8 +51635,8 @@ const A7 = ({
|
|
|
51633
51635
|
icon: /* @__PURE__ */ m(
|
|
51634
51636
|
Uu,
|
|
51635
51637
|
{
|
|
51636
|
-
width:
|
|
51637
|
-
height:
|
|
51638
|
+
width: pe.size,
|
|
51639
|
+
height: pe.size,
|
|
51638
51640
|
className: "text-secondary"
|
|
51639
51641
|
}
|
|
51640
51642
|
),
|
|
@@ -51644,7 +51646,7 @@ const A7 = ({
|
|
|
51644
51646
|
}), o.actionLabels[he.Download] && Te.push({
|
|
51645
51647
|
key: "download",
|
|
51646
51648
|
label: o.actionLabels[he.Download],
|
|
51647
|
-
icon: /* @__PURE__ */ m(Ld, { ...
|
|
51649
|
+
icon: /* @__PURE__ */ m(Ld, { ...pe, className: "text-secondary" }),
|
|
51648
51650
|
onClick: () => Z([j])
|
|
51649
51651
|
}), o.actionLabels[he.Rename] && Te.push({
|
|
51650
51652
|
key: "rename",
|
|
@@ -51652,7 +51654,7 @@ const A7 = ({
|
|
|
51652
51654
|
icon: /* @__PURE__ */ m(
|
|
51653
51655
|
mp,
|
|
51654
51656
|
{
|
|
51655
|
-
...
|
|
51657
|
+
...pe,
|
|
51656
51658
|
className: "text-secondary"
|
|
51657
51659
|
}
|
|
51658
51660
|
),
|
|
@@ -51663,8 +51665,8 @@ const A7 = ({
|
|
|
51663
51665
|
icon: /* @__PURE__ */ m(
|
|
51664
51666
|
$u,
|
|
51665
51667
|
{
|
|
51666
|
-
width:
|
|
51667
|
-
height:
|
|
51668
|
+
width: pe.size,
|
|
51669
|
+
height: pe.size,
|
|
51668
51670
|
className: "text-secondary"
|
|
51669
51671
|
}
|
|
51670
51672
|
),
|
|
@@ -51672,7 +51674,7 @@ const A7 = ({
|
|
|
51672
51674
|
}), o.actionLabels[he.Delete] && j.permissions?.includes(Ka.WRITE) && Te.push({
|
|
51673
51675
|
key: "delete",
|
|
51674
51676
|
label: o.actionLabels[he.Delete],
|
|
51675
|
-
icon: /* @__PURE__ */ m(In, { ...
|
|
51677
|
+
icon: /* @__PURE__ */ m(In, { ...pe, className: "text-secondary" }),
|
|
51676
51678
|
onClick: () => se([j], j.parentPath ?? "")
|
|
51677
51679
|
})), Te;
|
|
51678
51680
|
},
|
|
@@ -51704,7 +51706,7 @@ const A7 = ({
|
|
|
51704
51706
|
j.forEach((rs, as) => Te.add(as)), P(Te);
|
|
51705
51707
|
},
|
|
51706
51708
|
[P]
|
|
51707
|
-
), tr =
|
|
51709
|
+
), tr = T7({
|
|
51708
51710
|
selectedFiles: x,
|
|
51709
51711
|
actionLabels: l?.actionLabels,
|
|
51710
51712
|
onDuplicate: oe,
|
|
@@ -51725,7 +51727,7 @@ const A7 = ({
|
|
|
51725
51727
|
role: "toolbar",
|
|
51726
51728
|
"aria-label": "File Manager Toolbar",
|
|
51727
51729
|
children: /* @__PURE__ */ m(
|
|
51728
|
-
|
|
51730
|
+
ZL,
|
|
51729
51731
|
{
|
|
51730
51732
|
...a,
|
|
51731
51733
|
areHiddenFilesVisible: C,
|
|
@@ -51742,7 +51744,7 @@ const A7 = ({
|
|
|
51742
51744
|
role: "toolbar",
|
|
51743
51745
|
"aria-label": "File Manager Toolbar",
|
|
51744
51746
|
children: /* @__PURE__ */ m(
|
|
51745
|
-
|
|
51747
|
+
e7,
|
|
51746
51748
|
{
|
|
51747
51749
|
...l,
|
|
51748
51750
|
selectedCount: R.size,
|
|
@@ -51769,7 +51771,7 @@ const A7 = ({
|
|
|
51769
51771
|
}),
|
|
51770
51772
|
[Vn]
|
|
51771
51773
|
);
|
|
51772
|
-
const fl = D(() =>
|
|
51774
|
+
const fl = D(() => nt ? null : /* @__PURE__ */ m(
|
|
51773
51775
|
"aside",
|
|
51774
51776
|
{
|
|
51775
51777
|
role: "region",
|
|
@@ -51782,8 +51784,8 @@ const A7 = ({
|
|
|
51782
51784
|
width: Oi,
|
|
51783
51785
|
onResizeStop: Yn,
|
|
51784
51786
|
onResize: dl,
|
|
51785
|
-
minWidth:
|
|
51786
|
-
maxWidth:
|
|
51787
|
+
minWidth: AL,
|
|
51788
|
+
maxWidth: kL,
|
|
51787
51789
|
enabled: !w,
|
|
51788
51790
|
children: /* @__PURE__ */ m(
|
|
51789
51791
|
N1,
|
|
@@ -51795,7 +51797,7 @@ const A7 = ({
|
|
|
51795
51797
|
isOpened: !w,
|
|
51796
51798
|
onToggle: b,
|
|
51797
51799
|
children: /* @__PURE__ */ m(
|
|
51798
|
-
|
|
51800
|
+
$L,
|
|
51799
51801
|
{
|
|
51800
51802
|
...qn,
|
|
51801
51803
|
items: t,
|
|
@@ -51825,7 +51827,7 @@ const A7 = ({
|
|
|
51825
51827
|
qn,
|
|
51826
51828
|
er,
|
|
51827
51829
|
U,
|
|
51828
|
-
|
|
51830
|
+
nt,
|
|
51829
51831
|
w,
|
|
51830
51832
|
t,
|
|
51831
51833
|
s,
|
|
@@ -51838,7 +51840,7 @@ const A7 = ({
|
|
|
51838
51840
|
$n,
|
|
51839
51841
|
g,
|
|
51840
51842
|
b
|
|
51841
|
-
]), Ni =
|
|
51843
|
+
]), Ni = M7({
|
|
51842
51844
|
actionLabels: r?.actionLabels,
|
|
51843
51845
|
onDuplicate: (j) => oe([j]),
|
|
51844
51846
|
onCopy: (j) => {
|
|
@@ -51858,15 +51860,16 @@ const A7 = ({
|
|
|
51858
51860
|
return Te ? Ni(Te) : [];
|
|
51859
51861
|
},
|
|
51860
51862
|
[t, Ni]
|
|
51861
|
-
), { actionsColumnDef: Hi } =
|
|
51863
|
+
), { actionsColumnDef: Hi } = k7({
|
|
51862
51864
|
getContextMenuItems: Bs,
|
|
51863
51865
|
isRowDisabled: Wo,
|
|
51864
|
-
allowedFileTypes: p
|
|
51866
|
+
allowedFileTypes: p,
|
|
51867
|
+
buttonClassName: nt ? "" : PL
|
|
51865
51868
|
}), ir = Ho ?? ul, or = B(() => {
|
|
51866
51869
|
let j = ir;
|
|
51867
51870
|
return Ho || (j = j.filter(
|
|
51868
51871
|
(Te) => Te.colId && zo.includes(Te.colId)
|
|
51869
|
-
)), r?.actionLabels && (
|
|
51872
|
+
)), r?.actionLabels && (nt && (j = j.slice(0, 1)), j.push(Hi)), Qn ? j : j.map((Te) => ({
|
|
51870
51873
|
...Te,
|
|
51871
51874
|
filter: !1,
|
|
51872
51875
|
floatingFilter: !1
|
|
@@ -51874,7 +51877,7 @@ const A7 = ({
|
|
|
51874
51877
|
}, [
|
|
51875
51878
|
ir,
|
|
51876
51879
|
Qn,
|
|
51877
|
-
|
|
51880
|
+
nt,
|
|
51878
51881
|
Hi,
|
|
51879
51882
|
Ho,
|
|
51880
51883
|
zo,
|
|
@@ -51909,12 +51912,12 @@ const A7 = ({
|
|
|
51909
51912
|
"section",
|
|
51910
51913
|
{
|
|
51911
51914
|
ref: Jn,
|
|
51912
|
-
className:
|
|
51915
|
+
className: ge(
|
|
51913
51916
|
RL,
|
|
51914
51917
|
{
|
|
51915
51918
|
"gap-3 pt-4": l && R.size > 0,
|
|
51916
|
-
"gap-4 p-3 pt-4":
|
|
51917
|
-
"gap-2 pt-2":
|
|
51919
|
+
"gap-4 p-3 pt-4": nt,
|
|
51920
|
+
"gap-2 pt-2": nt && l && R.size > 0
|
|
51918
51921
|
},
|
|
51919
51922
|
e
|
|
51920
51923
|
),
|
|
@@ -51925,12 +51928,12 @@ const A7 = ({
|
|
|
51925
51928
|
/* @__PURE__ */ z(
|
|
51926
51929
|
"div",
|
|
51927
51930
|
{
|
|
51928
|
-
className:
|
|
51929
|
-
"gap-3":
|
|
51931
|
+
className: ge(FL, {
|
|
51932
|
+
"gap-3": nt
|
|
51930
51933
|
}),
|
|
51931
51934
|
children: [
|
|
51932
51935
|
/* @__PURE__ */ m(
|
|
51933
|
-
|
|
51936
|
+
YL,
|
|
51934
51937
|
{
|
|
51935
51938
|
...n ?? {},
|
|
51936
51939
|
makeHref: (j) => j.join("/"),
|
|
@@ -51940,7 +51943,7 @@ const A7 = ({
|
|
|
51940
51943
|
rootItemLabel: s?.label,
|
|
51941
51944
|
value: T,
|
|
51942
51945
|
onSearchChange: M,
|
|
51943
|
-
isCompactView:
|
|
51946
|
+
isCompactView: nt
|
|
51944
51947
|
}
|
|
51945
51948
|
),
|
|
51946
51949
|
/* @__PURE__ */ m(
|
|
@@ -51948,7 +51951,7 @@ const A7 = ({
|
|
|
51948
51951
|
{
|
|
51949
51952
|
role: "region",
|
|
51950
51953
|
"aria-label": "File Manager Grid View",
|
|
51951
|
-
className:
|
|
51954
|
+
className: ge(DL),
|
|
51952
51955
|
onDragEnter: Ae,
|
|
51953
51956
|
onDragLeave: Se,
|
|
51954
51957
|
onDragOver: Re,
|
|
@@ -51961,8 +51964,8 @@ const A7 = ({
|
|
|
51961
51964
|
getRowId: (j) => j.path,
|
|
51962
51965
|
loading: i || al,
|
|
51963
51966
|
getContextMenuItems: Bs,
|
|
51964
|
-
withoutHeaderBorders:
|
|
51965
|
-
selectionOnHover: !
|
|
51967
|
+
withoutHeaderBorders: nt,
|
|
51968
|
+
selectionOnHover: !nt,
|
|
51966
51969
|
className: ee(
|
|
51967
51970
|
Pe ? "border border-dashed border-accent-primary" : "",
|
|
51968
51971
|
Ge && !Pe ? "border border-dashed border-primary" : ""
|
|
@@ -51974,8 +51977,8 @@ const A7 = ({
|
|
|
51974
51977
|
headerHeight: Sc,
|
|
51975
51978
|
rowHeight: Sc,
|
|
51976
51979
|
rowClass: "group/grid-row",
|
|
51977
|
-
...
|
|
51978
|
-
getRowHeight: (j) => j.data?.nodeType === Le.FOLDER ? Sc :
|
|
51980
|
+
...nt ? {
|
|
51981
|
+
getRowHeight: (j) => j.data?.nodeType === Le.FOLDER ? Sc : LL
|
|
51979
51982
|
} : {},
|
|
51980
51983
|
context: {
|
|
51981
51984
|
cancelFolderCreation: xe,
|
|
@@ -52006,7 +52009,7 @@ const A7 = ({
|
|
|
52006
52009
|
)
|
|
52007
52010
|
] }),
|
|
52008
52011
|
/* @__PURE__ */ m(
|
|
52009
|
-
|
|
52012
|
+
D7,
|
|
52010
52013
|
{
|
|
52011
52014
|
...c,
|
|
52012
52015
|
open: ie,
|
|
@@ -52016,7 +52019,7 @@ const A7 = ({
|
|
|
52016
52019
|
}
|
|
52017
52020
|
),
|
|
52018
52021
|
/* @__PURE__ */ m(
|
|
52019
|
-
|
|
52022
|
+
P7,
|
|
52020
52023
|
{
|
|
52021
52024
|
...d,
|
|
52022
52025
|
open: ne,
|
|
@@ -52069,7 +52072,7 @@ const A7 = ({
|
|
|
52069
52072
|
}
|
|
52070
52073
|
),
|
|
52071
52074
|
/* @__PURE__ */ m(
|
|
52072
|
-
|
|
52075
|
+
H7,
|
|
52073
52076
|
{
|
|
52074
52077
|
open: il,
|
|
52075
52078
|
onClose: nl,
|
|
@@ -52088,7 +52091,7 @@ const A7 = ({
|
|
|
52088
52091
|
]
|
|
52089
52092
|
}
|
|
52090
52093
|
);
|
|
52091
|
-
},
|
|
52094
|
+
}, d9 = (e) => {
|
|
52092
52095
|
const [t, s] = A(
|
|
52093
52096
|
bd.MyFiles
|
|
52094
52097
|
), i = (n) => {
|
|
@@ -52112,8 +52115,8 @@ export {
|
|
|
52112
52115
|
Mr as ButtonSize,
|
|
52113
52116
|
et as ButtonVariant,
|
|
52114
52117
|
Pn as ConfirmationPopupVariant,
|
|
52115
|
-
|
|
52116
|
-
|
|
52118
|
+
j7 as DialAlert,
|
|
52119
|
+
r9 as DialAutocompleteInput,
|
|
52117
52120
|
mv as DialAutocompleteInputValue,
|
|
52118
52121
|
E8 as DialBreadcrumb,
|
|
52119
52122
|
Er as DialBreadcrumbItem,
|
|
@@ -52124,67 +52127,67 @@ export {
|
|
|
52124
52127
|
N1 as DialCollapsibleSidebar,
|
|
52125
52128
|
nS as DialConditionalResizableContainer,
|
|
52126
52129
|
W8 as DialConfirmationPopup,
|
|
52127
|
-
|
|
52130
|
+
Y7 as DialDraggableItem,
|
|
52128
52131
|
Ot as DialDropdown,
|
|
52129
52132
|
St as DialEllipsisTooltip,
|
|
52130
52133
|
D8 as DialErrorButton,
|
|
52131
52134
|
bi as DialErrorText,
|
|
52132
52135
|
xo as DialFieldLabel,
|
|
52133
52136
|
Up as DialFileIcon,
|
|
52134
|
-
|
|
52137
|
+
G7 as DialFileManager,
|
|
52135
52138
|
he as DialFileManagerActions,
|
|
52136
52139
|
bd as DialFileManagerTabs,
|
|
52137
52140
|
jd as DialFileName,
|
|
52138
52141
|
Le as DialFileNodeType,
|
|
52139
52142
|
Ka as DialFilePermission,
|
|
52140
|
-
|
|
52143
|
+
NL as DialFileResourceType,
|
|
52141
52144
|
Kd as DialFolderName,
|
|
52142
52145
|
Hd as DialFormItem,
|
|
52143
|
-
|
|
52144
|
-
|
|
52146
|
+
o9 as DialFormPopup,
|
|
52147
|
+
J7 as DialGhostButton,
|
|
52145
52148
|
cv as DialGrid,
|
|
52146
52149
|
We as DialIcon,
|
|
52147
52150
|
bo as DialInput,
|
|
52148
52151
|
_8 as DialInputPopup,
|
|
52149
52152
|
Jt as DialItemType,
|
|
52150
|
-
|
|
52151
|
-
|
|
52152
|
-
|
|
52153
|
+
q7 as DialLabelledText,
|
|
52154
|
+
X7 as DialLinkButton,
|
|
52155
|
+
c9 as DialLoadFileAreaField,
|
|
52153
52156
|
Pa as DialLoader,
|
|
52154
52157
|
ei as DialNeutralButton,
|
|
52155
52158
|
Ta as DialNoDataContent,
|
|
52156
|
-
|
|
52159
|
+
e9 as DialNumberInputField,
|
|
52157
52160
|
Y8 as DialPasswordInput,
|
|
52158
|
-
|
|
52161
|
+
n9 as DialPasswordInputField,
|
|
52159
52162
|
Mo as DialPopup,
|
|
52160
52163
|
ws as DialPrimaryButton,
|
|
52161
52164
|
M1 as DialRadioButton,
|
|
52162
52165
|
Dc as DialRadioGroup,
|
|
52163
|
-
|
|
52166
|
+
i9 as DialRadioGroupPopupField,
|
|
52164
52167
|
P8 as DialRemoveButton,
|
|
52165
52168
|
oS as DialResizableContainer,
|
|
52166
52169
|
Cv as DialSearch,
|
|
52167
52170
|
iL as DialSelect,
|
|
52168
|
-
|
|
52171
|
+
l9 as DialSelectField,
|
|
52169
52172
|
Qr as DialSharedEntityIndicator,
|
|
52170
52173
|
$o as DialSkeleton,
|
|
52171
52174
|
Ac as DialSkeletonAvatarShape,
|
|
52172
52175
|
Ar as DialSkeletonAvatarSize,
|
|
52173
52176
|
Zt as DialSkeletonVariant,
|
|
52174
|
-
|
|
52177
|
+
K7 as DialSteps,
|
|
52175
52178
|
fv as DialSwitch,
|
|
52176
52179
|
v8 as DialTabs,
|
|
52177
52180
|
Bd as DialTag,
|
|
52178
|
-
|
|
52179
|
-
|
|
52180
|
-
|
|
52181
|
+
a9 as DialTagInput,
|
|
52182
|
+
s9 as DialTextAreaField,
|
|
52183
|
+
t9 as DialTextInputField,
|
|
52181
52184
|
T8 as DialTextarea,
|
|
52182
52185
|
Ls as DialTooltip,
|
|
52183
52186
|
pd as DropdownItemType,
|
|
52184
52187
|
Ut as DropdownTrigger,
|
|
52185
52188
|
a8 as DropdownType,
|
|
52186
52189
|
ct as FileManagerColumnKey,
|
|
52187
|
-
|
|
52190
|
+
y7 as FileManagerProvider,
|
|
52188
52191
|
Xi as FlexibleActionsDirection,
|
|
52189
52192
|
Zr as FormItemOrientation,
|
|
52190
52193
|
qt as PopupSize,
|
|
@@ -52196,8 +52199,8 @@ export {
|
|
|
52196
52199
|
$t as StepStatus,
|
|
52197
52200
|
fd as TabOrientation,
|
|
52198
52201
|
Gd as TagVariant,
|
|
52199
|
-
|
|
52200
|
-
|
|
52201
|
-
|
|
52202
|
-
|
|
52202
|
+
ge as mergeClasses,
|
|
52203
|
+
d9 as useDialFileManagerTabs,
|
|
52204
|
+
UL as useEditableItem,
|
|
52205
|
+
R7 as useFileManagerContext
|
|
52203
52206
|
};
|