sestek-component 0.0.21 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +5 -5
- package/dist/index.es.d.ts +5 -2
- package/dist/index.es.js +266 -254
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -383,7 +383,7 @@ const dA = (A) => {
|
|
|
383
383
|
c,
|
|
384
384
|
Y,
|
|
385
385
|
W
|
|
386
|
-
], N = () => ["", tA, Ot, fe],
|
|
386
|
+
], N = () => ["", tA, Ot, fe], J = () => ["solid", "dashed", "dotted", "double"], nA = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], aA = () => [
|
|
387
387
|
// Deprecated since Tailwind CSS v4.0.0
|
|
388
388
|
"",
|
|
389
389
|
"none",
|
|
@@ -1219,7 +1219,7 @@ const dA = (A) => {
|
|
|
1219
1219
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1220
1220
|
*/
|
|
1221
1221
|
"text-decoration-style": [{
|
|
1222
|
-
decoration: [...
|
|
1222
|
+
decoration: [...J(), "wavy"]
|
|
1223
1223
|
}],
|
|
1224
1224
|
/**
|
|
1225
1225
|
* Text Decoration Thickness
|
|
@@ -1610,14 +1610,14 @@ const dA = (A) => {
|
|
|
1610
1610
|
* @see https://tailwindcss.com/docs/border-style
|
|
1611
1611
|
*/
|
|
1612
1612
|
"border-style": [{
|
|
1613
|
-
border: [...
|
|
1613
|
+
border: [...J(), "hidden", "none"]
|
|
1614
1614
|
}],
|
|
1615
1615
|
/**
|
|
1616
1616
|
* Divide Style
|
|
1617
1617
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1618
1618
|
*/
|
|
1619
1619
|
"divide-style": [{
|
|
1620
|
-
divide: [...
|
|
1620
|
+
divide: [...J(), "hidden", "none"]
|
|
1621
1621
|
}],
|
|
1622
1622
|
/**
|
|
1623
1623
|
* Border Color
|
|
@@ -1694,7 +1694,7 @@ const dA = (A) => {
|
|
|
1694
1694
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1695
1695
|
*/
|
|
1696
1696
|
"outline-style": [{
|
|
1697
|
-
outline: [...
|
|
1697
|
+
outline: [...J(), "none", "hidden"]
|
|
1698
1698
|
}],
|
|
1699
1699
|
/**
|
|
1700
1700
|
* Outline Offset
|
|
@@ -2592,7 +2592,7 @@ const dA = (A) => {
|
|
|
2592
2592
|
orderSensitiveModifiers: ["before", "after", "placeholder", "file", "marker", "selection", "first-line", "first-letter", "backdrop", "*", "**"]
|
|
2593
2593
|
};
|
|
2594
2594
|
}, NC = /* @__PURE__ */ nC(PC);
|
|
2595
|
-
function
|
|
2595
|
+
function $(...A) {
|
|
2596
2596
|
return NC(Zs(A));
|
|
2597
2597
|
}
|
|
2598
2598
|
const MC = jl(
|
|
@@ -2623,7 +2623,7 @@ const MC = jl(
|
|
|
2623
2623
|
({ className: A, variant: e, size: t, asChild: n = !1, ...r }, o) => /* @__PURE__ */ l(
|
|
2624
2624
|
n ? Sl : "button",
|
|
2625
2625
|
{
|
|
2626
|
-
className:
|
|
2626
|
+
className: $(MC({ variant: e, size: t, className: A })),
|
|
2627
2627
|
ref: o,
|
|
2628
2628
|
...r
|
|
2629
2629
|
}
|
|
@@ -2636,7 +2636,7 @@ function OC({ className: A, type: e, ...t }) {
|
|
|
2636
2636
|
{
|
|
2637
2637
|
type: e,
|
|
2638
2638
|
"data-slot": "input",
|
|
2639
|
-
className:
|
|
2639
|
+
className: $(
|
|
2640
2640
|
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
2641
2641
|
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
2642
2642
|
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
@@ -2850,7 +2850,7 @@ var TC = [
|
|
|
2850
2850
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ l(i, { ...s, ref: r });
|
|
2851
2851
|
});
|
|
2852
2852
|
return t.displayName = `Primitive.${e}`, { ...A, [e]: t };
|
|
2853
|
-
}, {}), Sr = "Switch", [kC,
|
|
2853
|
+
}, {}), Sr = "Switch", [kC, L1] = Ie(Sr), [WC, YC] = kC(Sr), ng = g.forwardRef(
|
|
2854
2854
|
(A, e) => {
|
|
2855
2855
|
const {
|
|
2856
2856
|
__scopeSwitch: t,
|
|
@@ -2960,7 +2960,7 @@ function XC({
|
|
|
2960
2960
|
GC,
|
|
2961
2961
|
{
|
|
2962
2962
|
"data-slot": "switch",
|
|
2963
|
-
className:
|
|
2963
|
+
className: $(
|
|
2964
2964
|
"peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
|
|
2965
2965
|
A
|
|
2966
2966
|
),
|
|
@@ -2969,7 +2969,7 @@ function XC({
|
|
|
2969
2969
|
ZC,
|
|
2970
2970
|
{
|
|
2971
2971
|
"data-slot": "switch-thumb",
|
|
2972
|
-
className:
|
|
2972
|
+
className: $(
|
|
2973
2973
|
"bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0"
|
|
2974
2974
|
)
|
|
2975
2975
|
}
|
|
@@ -3389,7 +3389,7 @@ var QB = (A) => {
|
|
|
3389
3389
|
function dg(A) {
|
|
3390
3390
|
return A ? "checked" : "unchecked";
|
|
3391
3391
|
}
|
|
3392
|
-
var dB = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], Wr = "RadioGroup", [fB,
|
|
3392
|
+
var dB = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], Wr = "RadioGroup", [fB, S1] = Ie(Wr, [
|
|
3393
3393
|
Cn,
|
|
3394
3394
|
ug
|
|
3395
3395
|
]), fg = Cn(), mg = ug(), [mB, pB] = fB(Wr), pg = g.forwardRef(
|
|
@@ -3505,7 +3505,7 @@ function yB({
|
|
|
3505
3505
|
hB,
|
|
3506
3506
|
{
|
|
3507
3507
|
"data-slot": "radio-group",
|
|
3508
|
-
className:
|
|
3508
|
+
className: $("grid gap-3", A),
|
|
3509
3509
|
...e
|
|
3510
3510
|
}
|
|
3511
3511
|
);
|
|
@@ -3518,7 +3518,7 @@ function xB({
|
|
|
3518
3518
|
wB,
|
|
3519
3519
|
{
|
|
3520
3520
|
"data-slot": "radio-group-item",
|
|
3521
|
-
className:
|
|
3521
|
+
className: $(
|
|
3522
3522
|
"border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
|
|
3523
3523
|
A
|
|
3524
3524
|
),
|
|
@@ -3555,7 +3555,7 @@ function NB({
|
|
|
3555
3555
|
PB,
|
|
3556
3556
|
{
|
|
3557
3557
|
"data-slot": "label",
|
|
3558
|
-
className:
|
|
3558
|
+
className: $(
|
|
3559
3559
|
"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
|
|
3560
3560
|
A
|
|
3561
3561
|
),
|
|
@@ -3611,7 +3611,7 @@ function du({ name: A, ...e }) {
|
|
|
3611
3611
|
const t = Qu[A];
|
|
3612
3612
|
return t ? /* @__PURE__ */ l(t, { ...e }) : (console.error(`Icon "${A}" not found.`), null);
|
|
3613
3613
|
}
|
|
3614
|
-
const
|
|
3614
|
+
const K = zl(du), H1 = ({
|
|
3615
3615
|
header: A,
|
|
3616
3616
|
sections: e = [],
|
|
3617
3617
|
onSave: t,
|
|
@@ -3627,7 +3627,7 @@ const $ = zl(du), S1 = ({
|
|
|
3627
3627
|
className: "text-foreground transition-colors",
|
|
3628
3628
|
"aria-label": "Close",
|
|
3629
3629
|
children: /* @__PURE__ */ l(
|
|
3630
|
-
|
|
3630
|
+
K,
|
|
3631
3631
|
{
|
|
3632
3632
|
name: "Close",
|
|
3633
3633
|
className: "w-[14px] h-[14px] text-foreground"
|
|
@@ -3718,7 +3718,7 @@ const $ = zl(du), S1 = ({
|
|
|
3718
3718
|
)),
|
|
3719
3719
|
t && /* @__PURE__ */ l(je, { onClick: t, className: "self-start", children: r })
|
|
3720
3720
|
] }) });
|
|
3721
|
-
var Yr = "Tabs", [fu,
|
|
3721
|
+
var Yr = "Tabs", [fu, T1] = Ie(Yr, [
|
|
3722
3722
|
Cn
|
|
3723
3723
|
]), yg = Cn(), [mu, jr] = fu(Yr), xg = g.forwardRef(
|
|
3724
3724
|
(A, e) => {
|
|
@@ -3868,7 +3868,7 @@ function bu({
|
|
|
3868
3868
|
pu,
|
|
3869
3869
|
{
|
|
3870
3870
|
"data-slot": "tabs",
|
|
3871
|
-
className:
|
|
3871
|
+
className: $("flex flex-col gap-2", A),
|
|
3872
3872
|
...e
|
|
3873
3873
|
}
|
|
3874
3874
|
);
|
|
@@ -3881,7 +3881,7 @@ function yu({
|
|
|
3881
3881
|
vu,
|
|
3882
3882
|
{
|
|
3883
3883
|
"data-slot": "tabs-list",
|
|
3884
|
-
className:
|
|
3884
|
+
className: $(
|
|
3885
3885
|
"bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-1",
|
|
3886
3886
|
A
|
|
3887
3887
|
),
|
|
@@ -3897,7 +3897,7 @@ function xu({
|
|
|
3897
3897
|
hu,
|
|
3898
3898
|
{
|
|
3899
3899
|
"data-slot": "tabs-trigger",
|
|
3900
|
-
className:
|
|
3900
|
+
className: $(
|
|
3901
3901
|
"data-[state=active]:bg-background data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring inline-flex flex-1 items-center justify-center gap-1.5 rounded-md px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
3902
3902
|
A
|
|
3903
3903
|
),
|
|
@@ -3913,7 +3913,7 @@ function Du({
|
|
|
3913
3913
|
wu,
|
|
3914
3914
|
{
|
|
3915
3915
|
"data-slot": "tabs-content",
|
|
3916
|
-
className:
|
|
3916
|
+
className: $("flex-1 outline-none", A),
|
|
3917
3917
|
...e
|
|
3918
3918
|
}
|
|
3919
3919
|
);
|
|
@@ -3946,7 +3946,7 @@ const Pu = ({ items: A, defaultActiveTab: e, onTabChange: t }) => /* @__PURE__ *
|
|
|
3946
3946
|
]
|
|
3947
3947
|
}
|
|
3948
3948
|
), pA = (A) => /* @__PURE__ */ l(je, { ...A, children: A.children });
|
|
3949
|
-
var Gr = "Avatar", [Nu,
|
|
3949
|
+
var Gr = "Avatar", [Nu, k1] = Ie(Gr), [Mu, Lg] = Nu(Gr), Sg = g.forwardRef(
|
|
3950
3950
|
(A, e) => {
|
|
3951
3951
|
const { __scopeAvatar: t, ...n } = A, [r, o] = g.useState("idle");
|
|
3952
3952
|
return /* @__PURE__ */ l(
|
|
@@ -4010,7 +4010,7 @@ function Lu({
|
|
|
4010
4010
|
zu,
|
|
4011
4011
|
{
|
|
4012
4012
|
"data-slot": "avatar",
|
|
4013
|
-
className:
|
|
4013
|
+
className: $(
|
|
4014
4014
|
"relative flex size-10 shrink-0 overflow-hidden rounded-full",
|
|
4015
4015
|
A
|
|
4016
4016
|
),
|
|
@@ -4026,7 +4026,7 @@ function Su({
|
|
|
4026
4026
|
Ru,
|
|
4027
4027
|
{
|
|
4028
4028
|
"data-slot": "avatar-image",
|
|
4029
|
-
className:
|
|
4029
|
+
className: $("aspect-square size-full", A),
|
|
4030
4030
|
...e
|
|
4031
4031
|
}
|
|
4032
4032
|
);
|
|
@@ -4039,7 +4039,7 @@ function Hu({
|
|
|
4039
4039
|
Fu,
|
|
4040
4040
|
{
|
|
4041
4041
|
"data-slot": "avatar-fallback",
|
|
4042
|
-
className:
|
|
4042
|
+
className: $(
|
|
4043
4043
|
"bg-muted flex size-full items-center justify-center rounded-full",
|
|
4044
4044
|
A
|
|
4045
4045
|
),
|
|
@@ -4064,17 +4064,17 @@ const Te = ({
|
|
|
4064
4064
|
/* @__PURE__ */ l(
|
|
4065
4065
|
Hu,
|
|
4066
4066
|
{
|
|
4067
|
-
className:
|
|
4067
|
+
className: $(
|
|
4068
4068
|
"text-base font-normal",
|
|
4069
4069
|
t === "primary" ? "bg-client-chat-background text-client-chat-foreground" : t === "primary-light" ? "bg-primary-brew-3 text-card" : "bg-foreground-08 text-secondary-foreground"
|
|
4070
4070
|
),
|
|
4071
|
-
children: e ? r() : /* @__PURE__ */ l(
|
|
4071
|
+
children: e ? r() : /* @__PURE__ */ l(K, { name: "Unknown", className: $("w-4 h-5", o()) })
|
|
4072
4072
|
}
|
|
4073
4073
|
)
|
|
4074
4074
|
] }),
|
|
4075
4075
|
n && /* @__PURE__ */ l("div", { className: "w-2.5 h-2.5 bg-success rounded-full absolute bottom-0 right-0" })
|
|
4076
4076
|
] });
|
|
4077
|
-
},
|
|
4077
|
+
}, W1 = ({
|
|
4078
4078
|
fullname: A,
|
|
4079
4079
|
telNo: e,
|
|
4080
4080
|
id: t,
|
|
@@ -4101,7 +4101,7 @@ const Te = ({
|
|
|
4101
4101
|
] }),
|
|
4102
4102
|
!o && /* @__PURE__ */ l("button", { onClick: (C) => {
|
|
4103
4103
|
C.stopPropagation(), i(!1);
|
|
4104
|
-
}, className: "bg-foreground-04 border-none cursor-pointer h-10 w-10 rounded-full flex items-center justify-center transition-opacity duration-300 ease-in-out hover:opacity-80", children: /* @__PURE__ */ l(
|
|
4104
|
+
}, className: "bg-foreground-04 border-none cursor-pointer h-10 w-10 rounded-full flex items-center justify-center transition-opacity duration-300 ease-in-out hover:opacity-80", children: /* @__PURE__ */ l(K, { name: "Close", width: 13, height: 13, className: "text-foreground" }) })
|
|
4105
4105
|
] })
|
|
4106
4106
|
] });
|
|
4107
4107
|
}, De = Bt(
|
|
@@ -4122,7 +4122,7 @@ const Te = ({
|
|
|
4122
4122
|
"div",
|
|
4123
4123
|
{
|
|
4124
4124
|
ref: u,
|
|
4125
|
-
className:
|
|
4125
|
+
className: $(
|
|
4126
4126
|
"flex flex-col w-full h-fit rounded-xl md:rounded-3xl bg-primary-foreground md:bg-background gap-2 p-4",
|
|
4127
4127
|
C ? "shadow-[0_4px_6px_1px_rgba(0,0,0,0.25)] " : null,
|
|
4128
4128
|
B
|
|
@@ -4146,7 +4146,7 @@ const Te = ({
|
|
|
4146
4146
|
className: "bg-primary gap-2",
|
|
4147
4147
|
children: /* @__PURE__ */ x("div", { className: "text-sm flex items-center justify-center gap-3 font-medium text-primary-foreground", children: [
|
|
4148
4148
|
/* @__PURE__ */ l(
|
|
4149
|
-
|
|
4149
|
+
K,
|
|
4150
4150
|
{
|
|
4151
4151
|
name: "Sparkles",
|
|
4152
4152
|
width: 16,
|
|
@@ -4166,7 +4166,7 @@ const Te = ({
|
|
|
4166
4166
|
className: "bg-primary gap-2",
|
|
4167
4167
|
children: /* @__PURE__ */ x("div", { className: "text-sm flex items-center justify-center gap-3 font-medium text-primary-foreground", children: [
|
|
4168
4168
|
/* @__PURE__ */ l(
|
|
4169
|
-
|
|
4169
|
+
K,
|
|
4170
4170
|
{
|
|
4171
4171
|
name: "HandRaised",
|
|
4172
4172
|
width: 16,
|
|
@@ -4218,7 +4218,7 @@ const rt = ({
|
|
|
4218
4218
|
onClick: o,
|
|
4219
4219
|
className: "bg-foreground-08 p-0 w-8 h-8 rounded-full",
|
|
4220
4220
|
children: /* @__PURE__ */ l(
|
|
4221
|
-
|
|
4221
|
+
K,
|
|
4222
4222
|
{
|
|
4223
4223
|
name: "Sparkles",
|
|
4224
4224
|
width: 24,
|
|
@@ -4236,7 +4236,7 @@ const rt = ({
|
|
|
4236
4236
|
onClick: s,
|
|
4237
4237
|
className: "bg-foreground-08 p-0 w-8 h-8 rounded-full",
|
|
4238
4238
|
children: /* @__PURE__ */ l(
|
|
4239
|
-
|
|
4239
|
+
K,
|
|
4240
4240
|
{
|
|
4241
4241
|
name: "ChatBubble",
|
|
4242
4242
|
width: 24,
|
|
@@ -4267,7 +4267,7 @@ const rt = ({
|
|
|
4267
4267
|
/* @__PURE__ */ l(Te, { type: "secondary", fullName: A })
|
|
4268
4268
|
] }), I = () => /* @__PURE__ */ x("div", { className: "flex flex-row gap-2 items-start w-full", children: [
|
|
4269
4269
|
/* @__PURE__ */ l("div", { className: "w-10 h-10 flex rounded-full items-center justify-center bg-warning-background", children: /* @__PURE__ */ l(
|
|
4270
|
-
|
|
4270
|
+
K,
|
|
4271
4271
|
{
|
|
4272
4272
|
name: "Sparkles",
|
|
4273
4273
|
width: 24,
|
|
@@ -4279,22 +4279,22 @@ const rt = ({
|
|
|
4279
4279
|
/* @__PURE__ */ l("div", { className: "text-sm font-medium text-secondary-brew-2", children: e }),
|
|
4280
4280
|
/* @__PURE__ */ x("div", { className: "flex flex-row items-center justify-between w-full", children: [
|
|
4281
4281
|
/* @__PURE__ */ x("div", { className: "flex flex-row items-start justify-center gap-1", children: [
|
|
4282
|
-
/* @__PURE__ */ l(pA, { className: "w-8 h-8 bg-transparent p-0 ", children: /* @__PURE__ */ l(
|
|
4283
|
-
|
|
4282
|
+
/* @__PURE__ */ l(pA, { className: "w-8 h-8 bg-transparent p-0 group", children: /* @__PURE__ */ l(
|
|
4283
|
+
K,
|
|
4284
4284
|
{
|
|
4285
4285
|
name: "ArrowPathRoundedSquare",
|
|
4286
4286
|
width: 24,
|
|
4287
4287
|
height: 24,
|
|
4288
|
-
className: "text-secondary-brew"
|
|
4288
|
+
className: "text-secondary-brew group-hover:text-primary-brew"
|
|
4289
4289
|
}
|
|
4290
4290
|
) }),
|
|
4291
|
-
/* @__PURE__ */ l(pA, { className: "w-8 h-8 bg-transparent p-0", children: /* @__PURE__ */ l(
|
|
4292
|
-
|
|
4291
|
+
/* @__PURE__ */ l(pA, { className: "w-8 h-8 bg-transparent p-0 group", children: /* @__PURE__ */ l(
|
|
4292
|
+
K,
|
|
4293
4293
|
{
|
|
4294
4294
|
name: "Square2Stack",
|
|
4295
4295
|
width: 24,
|
|
4296
4296
|
height: 24,
|
|
4297
|
-
className: "text-secondary-brew"
|
|
4297
|
+
className: "text-secondary-brew group-hover:text-primary-brew"
|
|
4298
4298
|
}
|
|
4299
4299
|
) })
|
|
4300
4300
|
] }),
|
|
@@ -4329,7 +4329,7 @@ const rt = ({
|
|
|
4329
4329
|
/* @__PURE__ */ l("div", { className: "font-medium text-base text-secondary-brew-2", children: e })
|
|
4330
4330
|
] }),
|
|
4331
4331
|
/* @__PURE__ */ l("div", { className: "text-sm font-normal text-secondary-brew-2", children: t })
|
|
4332
|
-
] }),
|
|
4332
|
+
] }), Y1 = ({
|
|
4333
4333
|
isStandalone: A,
|
|
4334
4334
|
messages: e,
|
|
4335
4335
|
onClickTranslation: t,
|
|
@@ -4361,7 +4361,7 @@ const rt = ({
|
|
|
4361
4361
|
className: "bg-background gap-2 px-6 py-4 h-12",
|
|
4362
4362
|
children: [
|
|
4363
4363
|
/* @__PURE__ */ l(
|
|
4364
|
-
|
|
4364
|
+
K,
|
|
4365
4365
|
{
|
|
4366
4366
|
name: "Language",
|
|
4367
4367
|
width: 16,
|
|
@@ -4398,7 +4398,7 @@ const rt = ({
|
|
|
4398
4398
|
className: "bg-background gap-2 px-6",
|
|
4399
4399
|
children: [
|
|
4400
4400
|
/* @__PURE__ */ l(
|
|
4401
|
-
|
|
4401
|
+
K,
|
|
4402
4402
|
{
|
|
4403
4403
|
name: "Language",
|
|
4404
4404
|
width: 16,
|
|
@@ -4437,7 +4437,7 @@ const rt = ({
|
|
|
4437
4437
|
className: "bg-background gap-2 px-6 py-4 h-12",
|
|
4438
4438
|
children: [
|
|
4439
4439
|
/* @__PURE__ */ l(
|
|
4440
|
-
|
|
4440
|
+
K,
|
|
4441
4441
|
{
|
|
4442
4442
|
name: "Language",
|
|
4443
4443
|
width: 16,
|
|
@@ -4474,7 +4474,7 @@ const rt = ({
|
|
|
4474
4474
|
className: "bg-background gap-2 px-6",
|
|
4475
4475
|
children: [
|
|
4476
4476
|
/* @__PURE__ */ l(
|
|
4477
|
-
|
|
4477
|
+
K,
|
|
4478
4478
|
{
|
|
4479
4479
|
name: "Language",
|
|
4480
4480
|
width: 16,
|
|
@@ -4515,18 +4515,18 @@ const rt = ({
|
|
|
4515
4515
|
}
|
|
4516
4516
|
)
|
|
4517
4517
|
] });
|
|
4518
|
-
},
|
|
4518
|
+
}, j1 = ({ rate: A }) => {
|
|
4519
4519
|
const e = he(() => {
|
|
4520
4520
|
if (A <= 20)
|
|
4521
|
-
return /* @__PURE__ */ l(
|
|
4521
|
+
return /* @__PURE__ */ l(K, { name: "AngryFace", width: 32, height: 32 });
|
|
4522
4522
|
if (A > 20 && A <= 40)
|
|
4523
|
-
return /* @__PURE__ */ l(
|
|
4523
|
+
return /* @__PURE__ */ l(K, { name: "ConfusedFace", width: 32, height: 32 });
|
|
4524
4524
|
if (A > 40 && A <= 60)
|
|
4525
|
-
return /* @__PURE__ */ l(
|
|
4525
|
+
return /* @__PURE__ */ l(K, { name: "NeutralFace", width: 32, height: 32 });
|
|
4526
4526
|
if (A > 60 && A <= 80)
|
|
4527
|
-
return /* @__PURE__ */ l(
|
|
4527
|
+
return /* @__PURE__ */ l(K, { name: "Smiling", width: 32, height: 32 });
|
|
4528
4528
|
if (A > 80 && A <= 100)
|
|
4529
|
-
return /* @__PURE__ */ l(
|
|
4529
|
+
return /* @__PURE__ */ l(K, { name: "SmilingWithHearts", width: 32, height: 32 });
|
|
4530
4530
|
}, [A]), t = he(() => `${Math.max(0, Math.min(100, A))}%`, [A]);
|
|
4531
4531
|
return /* @__PURE__ */ x("div", { className: "w-full relative h-3 rounded-full", children: [
|
|
4532
4532
|
/* @__PURE__ */ l(
|
|
@@ -4554,7 +4554,7 @@ const rt = ({
|
|
|
4554
4554
|
dark: {
|
|
4555
4555
|
"primary-hover": "#7473C8"
|
|
4556
4556
|
}
|
|
4557
|
-
},
|
|
4557
|
+
}, G1 = ({
|
|
4558
4558
|
label: A,
|
|
4559
4559
|
checked: e,
|
|
4560
4560
|
onClick: t,
|
|
@@ -4568,12 +4568,12 @@ const rt = ({
|
|
|
4568
4568
|
/* @__PURE__ */ l(
|
|
4569
4569
|
"div",
|
|
4570
4570
|
{
|
|
4571
|
-
className:
|
|
4571
|
+
className: $(
|
|
4572
4572
|
"flex items-center justify-center rounded-full w-5 h-5",
|
|
4573
4573
|
e ? "bg-success-hover" : "bg-background border-[7px] border-border"
|
|
4574
4574
|
),
|
|
4575
4575
|
children: e && /* @__PURE__ */ l(
|
|
4576
|
-
|
|
4576
|
+
K,
|
|
4577
4577
|
{
|
|
4578
4578
|
name: "Check",
|
|
4579
4579
|
width: 16,
|
|
@@ -4587,7 +4587,7 @@ const rt = ({
|
|
|
4587
4587
|
/* @__PURE__ */ l(
|
|
4588
4588
|
"span",
|
|
4589
4589
|
{
|
|
4590
|
-
className:
|
|
4590
|
+
className: $(
|
|
4591
4591
|
"text-sm font-normal",
|
|
4592
4592
|
e ? "line-through text-muted-foreground" : "text-foreground"
|
|
4593
4593
|
),
|
|
@@ -4597,7 +4597,7 @@ const rt = ({
|
|
|
4597
4597
|
]
|
|
4598
4598
|
}
|
|
4599
4599
|
);
|
|
4600
|
-
var Zr = "Collapsible", [ku,
|
|
4600
|
+
var Zr = "Collapsible", [ku, Z1] = Ie(Zr), [Wu, Xr] = ku(Zr), jg = g.forwardRef(
|
|
4601
4601
|
(A, e) => {
|
|
4602
4602
|
const {
|
|
4603
4603
|
__scopeCollapsible: t,
|
|
@@ -4735,7 +4735,7 @@ const Gu = ({
|
|
|
4735
4735
|
De,
|
|
4736
4736
|
{
|
|
4737
4737
|
title: e,
|
|
4738
|
-
icon: /* @__PURE__ */ l(
|
|
4738
|
+
icon: /* @__PURE__ */ l(K, { name: "Sparkles", width: 24, height: 24, className: "text-foreground" }),
|
|
4739
4739
|
id: A,
|
|
4740
4740
|
message: t,
|
|
4741
4741
|
timestamp: n,
|
|
@@ -4753,7 +4753,7 @@ const Gu = ({
|
|
|
4753
4753
|
De,
|
|
4754
4754
|
{
|
|
4755
4755
|
title: e,
|
|
4756
|
-
icon: /* @__PURE__ */ l(
|
|
4756
|
+
icon: /* @__PURE__ */ l(K, { name: "ClappingHands", width: 24, height: 24 }),
|
|
4757
4757
|
id: A,
|
|
4758
4758
|
message: t,
|
|
4759
4759
|
timestamp: n,
|
|
@@ -4774,7 +4774,7 @@ const Gu = ({
|
|
|
4774
4774
|
De,
|
|
4775
4775
|
{
|
|
4776
4776
|
title: e,
|
|
4777
|
-
icon: /* @__PURE__ */ l(
|
|
4777
|
+
icon: /* @__PURE__ */ l(K, { name: "SkullAndCrossbones", width: 24, height: 24 }),
|
|
4778
4778
|
id: A,
|
|
4779
4779
|
message: t,
|
|
4780
4780
|
timestamp: n,
|
|
@@ -4799,7 +4799,7 @@ const Gu = ({
|
|
|
4799
4799
|
De,
|
|
4800
4800
|
{
|
|
4801
4801
|
id: n,
|
|
4802
|
-
icon: /* @__PURE__ */ l(
|
|
4802
|
+
icon: /* @__PURE__ */ l(K, { name: "Done", width: 24, height: 24 }),
|
|
4803
4803
|
title: A,
|
|
4804
4804
|
message: e,
|
|
4805
4805
|
timestamp: t,
|
|
@@ -4819,7 +4819,7 @@ const Gu = ({
|
|
|
4819
4819
|
De,
|
|
4820
4820
|
{
|
|
4821
4821
|
title: e,
|
|
4822
|
-
icon: /* @__PURE__ */ l(
|
|
4822
|
+
icon: /* @__PURE__ */ l(K, { name: "PoutingFace", width: 24, height: 24 }),
|
|
4823
4823
|
id: A,
|
|
4824
4824
|
message: t,
|
|
4825
4825
|
timestamp: n,
|
|
@@ -5964,12 +5964,12 @@ function Ci({
|
|
|
5964
5964
|
if (L.constraints.collapsible) {
|
|
5965
5965
|
const R = j.map((cA) => cA.constraints), {
|
|
5966
5966
|
collapsedSize: U = 0,
|
|
5967
|
-
panelSize:
|
|
5967
|
+
panelSize: q,
|
|
5968
5968
|
pivotIndices: rA
|
|
5969
5969
|
} = me(j, L, X);
|
|
5970
|
-
if (AA(
|
|
5971
|
-
h.current.set(L.id,
|
|
5972
|
-
const IA = Se(j, L) === j.length - 1 ?
|
|
5970
|
+
if (AA(q != null, `Panel size not found for panel "${L.id}"`), !_A(q, U)) {
|
|
5971
|
+
h.current.set(L.id, q);
|
|
5972
|
+
const IA = Se(j, L) === j.length - 1 ? q - U : U - q, eA = At({
|
|
5973
5973
|
delta: IA,
|
|
5974
5974
|
initialLayout: X,
|
|
5975
5975
|
panelConstraints: R,
|
|
@@ -5989,12 +5989,12 @@ function Ci({
|
|
|
5989
5989
|
} = m.current;
|
|
5990
5990
|
if (L.constraints.collapsible) {
|
|
5991
5991
|
const U = R.map((Z) => Z.constraints), {
|
|
5992
|
-
collapsedSize:
|
|
5992
|
+
collapsedSize: q = 0,
|
|
5993
5993
|
panelSize: rA = 0,
|
|
5994
5994
|
minSize: cA = 0,
|
|
5995
5995
|
pivotIndices: IA
|
|
5996
5996
|
} = me(R, L, j), eA = G ?? cA;
|
|
5997
|
-
if (_A(rA,
|
|
5997
|
+
if (_A(rA, q)) {
|
|
5998
5998
|
const Z = h.current.get(L.id), FA = Z != null && Z >= eA ? Z : eA, HA = Se(R, L) === R.length - 1 ? rA - FA : FA - rA, BA = At({
|
|
5999
5999
|
delta: HA,
|
|
6000
6000
|
initialLayout: j,
|
|
@@ -6073,11 +6073,11 @@ function Ci({
|
|
|
6073
6073
|
U == null && (U = vI({
|
|
6074
6074
|
panelDataArray: R
|
|
6075
6075
|
}));
|
|
6076
|
-
const
|
|
6076
|
+
const q = qo({
|
|
6077
6077
|
layout: U,
|
|
6078
6078
|
panelConstraints: R.map((rA) => rA.constraints)
|
|
6079
6079
|
});
|
|
6080
|
-
Ko(j,
|
|
6080
|
+
Ko(j, q) || (f(q), m.current.layout = q, G && G(q), ze(R, q, w.current));
|
|
6081
6081
|
}
|
|
6082
6082
|
}), ve(() => {
|
|
6083
6083
|
const L = m.current;
|
|
@@ -6094,7 +6094,7 @@ function Ci({
|
|
|
6094
6094
|
if (!U)
|
|
6095
6095
|
return () => null;
|
|
6096
6096
|
const {
|
|
6097
|
-
direction:
|
|
6097
|
+
direction: q,
|
|
6098
6098
|
dragState: rA,
|
|
6099
6099
|
id: cA,
|
|
6100
6100
|
keyboardResizeBy: IA,
|
|
@@ -6105,8 +6105,8 @@ function Ci({
|
|
|
6105
6105
|
} = m.current, {
|
|
6106
6106
|
initialLayout: SA
|
|
6107
6107
|
} = rA ?? {}, HA = si(cA, L, U);
|
|
6108
|
-
let BA = pI(R, L,
|
|
6109
|
-
const yA =
|
|
6108
|
+
let BA = pI(R, L, q, rA, IA, U);
|
|
6109
|
+
const yA = q === "horizontal";
|
|
6110
6110
|
yA && G && (BA = -BA);
|
|
6111
6111
|
const te = FA.map((Ee) => Ee.constraints), ne = At({
|
|
6112
6112
|
delta: BA,
|
|
@@ -6125,11 +6125,11 @@ function Ci({
|
|
|
6125
6125
|
layout: j,
|
|
6126
6126
|
panelDataArray: R
|
|
6127
6127
|
} = m.current, U = R.map((Z) => Z.constraints), {
|
|
6128
|
-
panelSize:
|
|
6128
|
+
panelSize: q,
|
|
6129
6129
|
pivotIndices: rA
|
|
6130
6130
|
} = me(R, L, j);
|
|
6131
|
-
AA(
|
|
6132
|
-
const IA = Se(R, L) === R.length - 1 ?
|
|
6131
|
+
AA(q != null, `Panel size not found for panel "${L.id}"`);
|
|
6132
|
+
const IA = Se(R, L) === R.length - 1 ? q - G : G - q, eA = At({
|
|
6133
6133
|
delta: IA,
|
|
6134
6134
|
initialLayout: j,
|
|
6135
6135
|
panelConstraints: U,
|
|
@@ -6146,14 +6146,14 @@ function Ci({
|
|
|
6146
6146
|
collapsedSize: R = 0,
|
|
6147
6147
|
collapsible: U
|
|
6148
6148
|
} = G, {
|
|
6149
|
-
collapsedSize:
|
|
6149
|
+
collapsedSize: q = 0,
|
|
6150
6150
|
collapsible: rA,
|
|
6151
6151
|
maxSize: cA = 100,
|
|
6152
6152
|
minSize: IA = 0
|
|
6153
6153
|
} = L.constraints, {
|
|
6154
6154
|
panelSize: eA
|
|
6155
6155
|
} = me(j, L, X);
|
|
6156
|
-
eA != null && (U && rA && _A(eA, R) ? _A(R,
|
|
6156
|
+
eA != null && (U && rA && _A(eA, R) ? _A(R, q) || D(L, q) : eA < IA ? D(L, IA) : eA > cA && D(L, cA));
|
|
6157
6157
|
}, [D]), F = DA((L, G) => {
|
|
6158
6158
|
const {
|
|
6159
6159
|
direction: X
|
|
@@ -6173,7 +6173,7 @@ function Ci({
|
|
|
6173
6173
|
});
|
|
6174
6174
|
}, []), N = DA(() => {
|
|
6175
6175
|
I(null);
|
|
6176
|
-
}, []),
|
|
6176
|
+
}, []), J = DA((L) => {
|
|
6177
6177
|
const {
|
|
6178
6178
|
panelDataArray: G
|
|
6179
6179
|
} = m.current, X = Se(G, L);
|
|
@@ -6194,9 +6194,9 @@ function Ci({
|
|
|
6194
6194
|
resizePanel: D,
|
|
6195
6195
|
startDragging: F,
|
|
6196
6196
|
stopDragging: N,
|
|
6197
|
-
unregisterPanel:
|
|
6197
|
+
unregisterPanel: J,
|
|
6198
6198
|
panelGroupElement: E.current
|
|
6199
|
-
}), [b, Q, n, O, z, S, u, T, P, V, k, H, D, F, N,
|
|
6199
|
+
}), [b, Q, n, O, z, S, u, T, P, V, k, H, D, F, N, J]), aA = {
|
|
6200
6200
|
display: "flex",
|
|
6201
6201
|
flexDirection: n === "horizontal" ? "row" : "column",
|
|
6202
6202
|
height: "100%",
|
|
@@ -6363,9 +6363,9 @@ function ui({
|
|
|
6363
6363
|
const {
|
|
6364
6364
|
onClick: R,
|
|
6365
6365
|
onDragging: U,
|
|
6366
|
-
onPointerUp:
|
|
6366
|
+
onPointerUp: q
|
|
6367
6367
|
} = v.current;
|
|
6368
|
-
U == null || U(!1),
|
|
6368
|
+
U == null || U(!1), q == null || q(), aA || R == null || R();
|
|
6369
6369
|
break;
|
|
6370
6370
|
}
|
|
6371
6371
|
}
|
|
@@ -6417,7 +6417,7 @@ function Ii({
|
|
|
6417
6417
|
Bi,
|
|
6418
6418
|
{
|
|
6419
6419
|
"data-slot": "resizable-panel-group",
|
|
6420
|
-
className:
|
|
6420
|
+
className: $(
|
|
6421
6421
|
"flex h-full w-full data-[panel-group-direction=vertical]:flex-col",
|
|
6422
6422
|
A
|
|
6423
6423
|
),
|
|
@@ -6439,7 +6439,7 @@ function Ei({
|
|
|
6439
6439
|
ui,
|
|
6440
6440
|
{
|
|
6441
6441
|
"data-slot": "resizable-handle",
|
|
6442
|
-
className:
|
|
6442
|
+
className: $(
|
|
6443
6443
|
"bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",
|
|
6444
6444
|
e
|
|
6445
6445
|
),
|
|
@@ -6458,7 +6458,7 @@ const Et = () => {
|
|
|
6458
6458
|
window.removeEventListener("resize", t);
|
|
6459
6459
|
};
|
|
6460
6460
|
}, []), A;
|
|
6461
|
-
},
|
|
6461
|
+
}, X1 = ({
|
|
6462
6462
|
items: A,
|
|
6463
6463
|
isDefaultOpen: e = !1,
|
|
6464
6464
|
isStandalone: t = !1,
|
|
@@ -6595,7 +6595,7 @@ const Et = () => {
|
|
|
6595
6595
|
"div",
|
|
6596
6596
|
{
|
|
6597
6597
|
ref: i,
|
|
6598
|
-
className:
|
|
6598
|
+
className: $(
|
|
6599
6599
|
"relative",
|
|
6600
6600
|
!t && !n ? "max-h-[500px]" : "h-full"
|
|
6601
6601
|
),
|
|
@@ -6631,7 +6631,7 @@ const Et = () => {
|
|
|
6631
6631
|
/* @__PURE__ */ l("div", { className: "w-6 h-6 flex items-center justify-center bg-foreground-08 text-secondary-foreground rounded-full", children: A.length })
|
|
6632
6632
|
] }),
|
|
6633
6633
|
/* @__PURE__ */ l("div", { className: "h-10 w-10 p-2 flex items-center justify-center", children: /* @__PURE__ */ l(
|
|
6634
|
-
|
|
6634
|
+
K,
|
|
6635
6635
|
{
|
|
6636
6636
|
name: "ChevronDown",
|
|
6637
6637
|
width: 16,
|
|
@@ -6711,7 +6711,7 @@ const Et = () => {
|
|
|
6711
6711
|
/* @__PURE__ */ l("div", { className: "w-6 h-6 flex items-center justify-center bg-foreground-08 text-secondary-foreground rounded-full", children: A.length })
|
|
6712
6712
|
] }),
|
|
6713
6713
|
/* @__PURE__ */ l("div", { className: "h-10 w-10 p-2 flex items-center justify-center", children: /* @__PURE__ */ l(
|
|
6714
|
-
|
|
6714
|
+
K,
|
|
6715
6715
|
{
|
|
6716
6716
|
name: "ChevronDown",
|
|
6717
6717
|
width: 24,
|
|
@@ -6766,7 +6766,7 @@ function PI({ className: A, ...e }) {
|
|
|
6766
6766
|
"textarea",
|
|
6767
6767
|
{
|
|
6768
6768
|
"data-slot": "textarea",
|
|
6769
|
-
className:
|
|
6769
|
+
className: $(
|
|
6770
6770
|
"border-input text-sm placeholder:text-muted-foreground focus-visible:border-primary focus-visible:border-2 aria-invalid:border-destructive flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 outline-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
6771
6771
|
A
|
|
6772
6772
|
),
|
|
@@ -6809,11 +6809,11 @@ const Qi = ({
|
|
|
6809
6809
|
size: "sm",
|
|
6810
6810
|
className: "bg-primary absolute top-2 right-2 px-[15.5px] rounded-full",
|
|
6811
6811
|
onClick: t,
|
|
6812
|
-
children: /* @__PURE__ */ l(
|
|
6812
|
+
children: /* @__PURE__ */ l(K, { name: "Send", width: 16, height: 16, className: "text-background" })
|
|
6813
6813
|
}
|
|
6814
6814
|
)
|
|
6815
6815
|
] });
|
|
6816
|
-
},
|
|
6816
|
+
}, U1 = ({ isShown: A, personList: e, onClick: t }) => A ? /* @__PURE__ */ l("div", { className: "flex flex-col items-center justify-center gap-3", children: e.map((n) => /* @__PURE__ */ x(
|
|
6817
6817
|
"div",
|
|
6818
6818
|
{
|
|
6819
6819
|
className: `w-fit cursor-pointer h-fit relative${n.isDisable ? " opacity-50" : ""}`,
|
|
@@ -6824,7 +6824,7 @@ const Qi = ({
|
|
|
6824
6824
|
]
|
|
6825
6825
|
},
|
|
6826
6826
|
n.id
|
|
6827
|
-
)) }) : null,
|
|
6827
|
+
)) }) : null, V1 = ({
|
|
6828
6828
|
suggestion: A = { items: [], messages: [] },
|
|
6829
6829
|
messages: e,
|
|
6830
6830
|
input: t,
|
|
@@ -6888,7 +6888,7 @@ const Qi = ({
|
|
|
6888
6888
|
)
|
|
6889
6889
|
] })
|
|
6890
6890
|
] });
|
|
6891
|
-
},
|
|
6891
|
+
}, K1 = ({
|
|
6892
6892
|
suggestion: A = { items: [], messages: [] },
|
|
6893
6893
|
messages: e,
|
|
6894
6894
|
input: t,
|
|
@@ -6927,7 +6927,7 @@ const Qi = ({
|
|
|
6927
6927
|
}
|
|
6928
6928
|
) })
|
|
6929
6929
|
] });
|
|
6930
|
-
},
|
|
6930
|
+
}, J1 = ({
|
|
6931
6931
|
title: A,
|
|
6932
6932
|
steps: e,
|
|
6933
6933
|
isStandalone: t = !1,
|
|
@@ -6952,7 +6952,7 @@ const Qi = ({
|
|
|
6952
6952
|
{
|
|
6953
6953
|
className: "text-foreground transition",
|
|
6954
6954
|
"aria-label": "Toggle content",
|
|
6955
|
-
children: n ? /* @__PURE__ */ l(
|
|
6955
|
+
children: n ? /* @__PURE__ */ l(K, { name: "ChevronUp", width: 16, height: 9, className: "text-foreground" }) : /* @__PURE__ */ l(K, { name: "ChevronDown", width: 16, height: 9, className: "text-foreground" })
|
|
6956
6956
|
}
|
|
6957
6957
|
) })
|
|
6958
6958
|
] }),
|
|
@@ -6965,18 +6965,18 @@ const Qi = ({
|
|
|
6965
6965
|
"button",
|
|
6966
6966
|
{
|
|
6967
6967
|
onClick: () => o == null ? void 0 : o(0),
|
|
6968
|
-
className:
|
|
6968
|
+
className: $(
|
|
6969
6969
|
"w-5 h-5 rounded-full flex items-center justify-center z-10 relative shrink-0",
|
|
6970
6970
|
e[0].isCompleted ? "bg-success-hover border-success-hover" : "bg-background border-border border-7"
|
|
6971
6971
|
),
|
|
6972
6972
|
"aria-label": "Toggle step",
|
|
6973
|
-
children: e[0].isCompleted ? /* @__PURE__ */ l(
|
|
6973
|
+
children: e[0].isCompleted ? /* @__PURE__ */ l(K, { name: "Check", className: "text-background" }) : /* @__PURE__ */ l("div", { className: "w-1 h-1 bg-background rounded-full" })
|
|
6974
6974
|
}
|
|
6975
6975
|
),
|
|
6976
6976
|
/* @__PURE__ */ l(
|
|
6977
6977
|
"span",
|
|
6978
6978
|
{
|
|
6979
|
-
className:
|
|
6979
|
+
className: $(
|
|
6980
6980
|
"text-sm font-normal",
|
|
6981
6981
|
e[0].isCompleted ? "line-through text-muted-foreground" : "text-foreground"
|
|
6982
6982
|
),
|
|
@@ -6990,7 +6990,7 @@ const Qi = ({
|
|
|
6990
6990
|
/* @__PURE__ */ l(cr, { className: "mt-4 flex-1", children: /* @__PURE__ */ l("div", { className: "bg-secondary md:bg-background p-4 rounded-2xl flex flex-col gap-6 h-full", children: /* @__PURE__ */ l(
|
|
6991
6991
|
"div",
|
|
6992
6992
|
{
|
|
6993
|
-
className:
|
|
6993
|
+
className: $(
|
|
6994
6994
|
"flex flex-col gap-4 ",
|
|
6995
6995
|
t ? "h-full" : "overflow-y-auto max-h-[400px]"
|
|
6996
6996
|
),
|
|
@@ -6999,7 +6999,7 @@ const Qi = ({
|
|
|
6999
6999
|
return /* @__PURE__ */ x(
|
|
7000
7000
|
"div",
|
|
7001
7001
|
{
|
|
7002
|
-
className:
|
|
7002
|
+
className: $(
|
|
7003
7003
|
"relative flex gap-3 items-start",
|
|
7004
7004
|
"after:absolute after:top-4 after:left-[10px] after:w-px after:h-full after:bg-border ",
|
|
7005
7005
|
C === e.length - 1 && "after:hidden"
|
|
@@ -7009,18 +7009,18 @@ const Qi = ({
|
|
|
7009
7009
|
"button",
|
|
7010
7010
|
{
|
|
7011
7011
|
onClick: () => o == null ? void 0 : o(C),
|
|
7012
|
-
className:
|
|
7012
|
+
className: $(
|
|
7013
7013
|
"w-5 h-5 rounded-full flex items-center justify-center z-10 relative shrink-0 ",
|
|
7014
7014
|
B ? "bg-success-hover border-success-hover" : "bg-background border-border border-7"
|
|
7015
7015
|
),
|
|
7016
7016
|
"aria-label": "Toggle step",
|
|
7017
|
-
children: B ? /* @__PURE__ */ l(
|
|
7017
|
+
children: B ? /* @__PURE__ */ l(K, { name: "Check", className: "text-background" }) : /* @__PURE__ */ l("div", { className: "w-1 h-1bg-background rounded-full" })
|
|
7018
7018
|
}
|
|
7019
7019
|
),
|
|
7020
7020
|
/* @__PURE__ */ l(
|
|
7021
7021
|
"span",
|
|
7022
7022
|
{
|
|
7023
|
-
className:
|
|
7023
|
+
className: $(
|
|
7024
7024
|
"text-sm font-normal",
|
|
7025
7025
|
B ? "line-through text-muted-foreground" : "text-foreground"
|
|
7026
7026
|
),
|
|
@@ -8403,7 +8403,7 @@ var QQ = function(A) {
|
|
|
8403
8403
|
return r ? (n.push.apply(n, Array.from(r.querySelectorAll("[aria-live]"))), fQ(n, r, t, "aria-hidden")) : function() {
|
|
8404
8404
|
return null;
|
|
8405
8405
|
};
|
|
8406
|
-
}, eo = "Dialog", [Yi,
|
|
8406
|
+
}, eo = "Dialog", [Yi, q1] = MI(eo), [mQ, ZA] = Yi(eo), ji = (A) => {
|
|
8407
8407
|
const {
|
|
8408
8408
|
__scopeDialog: e,
|
|
8409
8409
|
children: t,
|
|
@@ -8607,7 +8607,7 @@ $i.displayName = _i;
|
|
|
8607
8607
|
function ro(A) {
|
|
8608
8608
|
return A ? "open" : "closed";
|
|
8609
8609
|
}
|
|
8610
|
-
var Aa = "DialogTitleWarning", [
|
|
8610
|
+
var Aa = "DialogTitleWarning", [_1, ea] = NI(Aa, {
|
|
8611
8611
|
contentName: ye,
|
|
8612
8612
|
titleName: no,
|
|
8613
8613
|
docsSlug: "dialog"
|
|
@@ -8693,7 +8693,7 @@ function TQ({
|
|
|
8693
8693
|
ra,
|
|
8694
8694
|
{
|
|
8695
8695
|
"data-slot": "dialog-overlay",
|
|
8696
|
-
className:
|
|
8696
|
+
className: $(
|
|
8697
8697
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
|
|
8698
8698
|
A
|
|
8699
8699
|
),
|
|
@@ -8708,7 +8708,7 @@ const sa = g.forwardRef(({ className: A, children: e, hideCloseButton: t = !1, .
|
|
|
8708
8708
|
{
|
|
8709
8709
|
ref: r,
|
|
8710
8710
|
"data-slot": "dialog-content",
|
|
8711
|
-
className:
|
|
8711
|
+
className: $(
|
|
8712
8712
|
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
|
|
8713
8713
|
A
|
|
8714
8714
|
),
|
|
@@ -8720,7 +8720,7 @@ const sa = g.forwardRef(({ className: A, children: e, hideCloseButton: t = !1, .
|
|
|
8720
8720
|
] }),
|
|
8721
8721
|
e,
|
|
8722
8722
|
!t && /* @__PURE__ */ x(MQ, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", children: [
|
|
8723
|
-
/* @__PURE__ */ l(
|
|
8723
|
+
/* @__PURE__ */ l(K, { name: "Close", width: 16, height: 16, color: "inherit" }),
|
|
8724
8724
|
/* @__PURE__ */ l("span", { className: "sr-only", children: "Close" })
|
|
8725
8725
|
] })
|
|
8726
8726
|
]
|
|
@@ -8736,12 +8736,12 @@ function kQ({
|
|
|
8736
8736
|
oa,
|
|
8737
8737
|
{
|
|
8738
8738
|
"data-slot": "dialog-title",
|
|
8739
|
-
className:
|
|
8739
|
+
className: $("text-lg leading-none font-semibold hidden", A),
|
|
8740
8740
|
...e
|
|
8741
8741
|
}
|
|
8742
8742
|
);
|
|
8743
8743
|
}
|
|
8744
|
-
const
|
|
8744
|
+
const $1 = ({ content: A, isOpen: e, onOpenChange: t }) => /* @__PURE__ */ l(SQ, { open: e, onOpenChange: t, children: /* @__PURE__ */ l(sa, { hideCloseButton: !0, className: "p-0 border-none", children: A }) });
|
|
8745
8745
|
function so(A, e = []) {
|
|
8746
8746
|
let t = [];
|
|
8747
8747
|
function n(o, s) {
|
|
@@ -9735,13 +9735,13 @@ const Nd = (A) => ({
|
|
|
9735
9735
|
var k;
|
|
9736
9736
|
const F = (k = z.filter((N) => {
|
|
9737
9737
|
if (p) {
|
|
9738
|
-
const
|
|
9739
|
-
return
|
|
9738
|
+
const J = $A(N.placement);
|
|
9739
|
+
return J === v || // Create a bias to the `y` side axis due to horizontal
|
|
9740
9740
|
// reading directions favoring greater width.
|
|
9741
|
-
|
|
9741
|
+
J === "y";
|
|
9742
9742
|
}
|
|
9743
9743
|
return !0;
|
|
9744
|
-
}).map((N) => [N.placement, N.overflows.filter((
|
|
9744
|
+
}).map((N) => [N.placement, N.overflows.filter((J) => J > 0).reduce((J, nA) => J + nA, 0)]).sort((N, J) => N[1] - J[1])[0]) == null ? void 0 : k[0];
|
|
9745
9745
|
F && (V = F);
|
|
9746
9746
|
break;
|
|
9747
9747
|
}
|
|
@@ -10573,7 +10573,7 @@ function Na(A) {
|
|
|
10573
10573
|
middleware: u
|
|
10574
10574
|
};
|
|
10575
10575
|
S.current && (F.platform = S.current), gf(p.current, m.current, F).then((N) => {
|
|
10576
|
-
const
|
|
10576
|
+
const J = {
|
|
10577
10577
|
...N,
|
|
10578
10578
|
// The floating element's position may be recomputed while it's closed
|
|
10579
10579
|
// but still mounted (such as when transitioning out). To ensure
|
|
@@ -10581,8 +10581,8 @@ function Na(A) {
|
|
|
10581
10581
|
// setting it to `true` when `open === false` (must be specified).
|
|
10582
10582
|
isPositioned: T.current !== !1
|
|
10583
10583
|
};
|
|
10584
|
-
k.current && !on(b.current,
|
|
10585
|
-
B(
|
|
10584
|
+
k.current && !on(b.current, J) && (b.current = J, an.flushSync(() => {
|
|
10585
|
+
B(J);
|
|
10586
10586
|
}));
|
|
10587
10587
|
});
|
|
10588
10588
|
}, [u, e, t, S, T]);
|
|
@@ -10618,17 +10618,17 @@ function Na(A) {
|
|
|
10618
10618
|
};
|
|
10619
10619
|
if (!D.floating)
|
|
10620
10620
|
return F;
|
|
10621
|
-
const N = Ms(D.floating, C.x),
|
|
10621
|
+
const N = Ms(D.floating, C.x), J = Ms(D.floating, C.y);
|
|
10622
10622
|
return i ? {
|
|
10623
10623
|
...F,
|
|
10624
|
-
transform: "translate(" + N + "px, " +
|
|
10624
|
+
transform: "translate(" + N + "px, " + J + "px)",
|
|
10625
10625
|
...Pa(D.floating) >= 1.5 && {
|
|
10626
10626
|
willChange: "transform"
|
|
10627
10627
|
}
|
|
10628
10628
|
} : {
|
|
10629
10629
|
position: t,
|
|
10630
10630
|
left: N,
|
|
10631
|
-
top:
|
|
10631
|
+
top: J
|
|
10632
10632
|
};
|
|
10633
10633
|
}, [t, i, D.floating, C.x, C.y]);
|
|
10634
10634
|
return g.useMemo(() => ({
|
|
@@ -10737,7 +10737,7 @@ var ja = "PopperAnchor", Ga = g.forwardRef(
|
|
|
10737
10737
|
Ga.displayName = ja;
|
|
10738
10738
|
var Eo = "PopperContent", [uf, If] = Ta(Eo), Za = g.forwardRef(
|
|
10739
10739
|
(A, e) => {
|
|
10740
|
-
var R, U,
|
|
10740
|
+
var R, U, q, rA, cA, IA;
|
|
10741
10741
|
const {
|
|
10742
10742
|
__scopePopper: t,
|
|
10743
10743
|
side: n = "bottom",
|
|
@@ -10788,11 +10788,11 @@ var Eo = "PopperContent", [uf, If] = Ta(Eo), Za = g.forwardRef(
|
|
|
10788
10788
|
df({ arrowWidth: m, arrowHeight: b }),
|
|
10789
10789
|
u && La({ strategy: "referenceHidden", ...P })
|
|
10790
10790
|
]
|
|
10791
|
-
}), [N,
|
|
10791
|
+
}), [N, J] = Va(D), nA = le(Q);
|
|
10792
10792
|
Ce(() => {
|
|
10793
10793
|
V && (nA == null || nA());
|
|
10794
10794
|
}, [V, nA]);
|
|
10795
|
-
const aA = (R = F.arrow) == null ? void 0 : R.x, L = (U = F.arrow) == null ? void 0 : U.y, G = ((
|
|
10795
|
+
const aA = (R = F.arrow) == null ? void 0 : R.x, L = (U = F.arrow) == null ? void 0 : U.y, G = ((q = F.arrow) == null ? void 0 : q.centerOffset) !== 0, [X, j] = g.useState();
|
|
10796
10796
|
return Ce(() => {
|
|
10797
10797
|
f && j(window.getComputedStyle(f).zIndex);
|
|
10798
10798
|
}, [f]), /* @__PURE__ */ l(
|
|
@@ -10832,7 +10832,7 @@ var Eo = "PopperContent", [uf, If] = Ta(Eo), Za = g.forwardRef(
|
|
|
10832
10832
|
MA.div,
|
|
10833
10833
|
{
|
|
10834
10834
|
"data-side": N,
|
|
10835
|
-
"data-align":
|
|
10835
|
+
"data-align": J,
|
|
10836
10836
|
...I,
|
|
10837
10837
|
ref: w,
|
|
10838
10838
|
style: {
|
|
@@ -11320,10 +11320,10 @@ var LA = "MenuContent", [Am, mo] = Pe(LA), gc = g.forwardRef(
|
|
|
11320
11320
|
...I
|
|
11321
11321
|
} = A, d = Ne(LA, t), f = vt(LA, t), v = yn(t), w = nc(t), h = Uf(t), [y, p] = g.useState(null), m = g.useRef(null), b = NA(e, m, d.onContentChange), O = g.useRef(0), z = g.useRef(""), S = g.useRef(0), T = g.useRef(null), P = g.useRef("right"), k = g.useRef(0), H = Q ? Ao : g.Fragment, D = Q ? { as: nm, allowPinchZoom: !0 } : void 0, V = (N) => {
|
|
11322
11322
|
var R, U;
|
|
11323
|
-
const
|
|
11324
|
-
(function
|
|
11325
|
-
z.current = rA, window.clearTimeout(O.current), rA !== "" && (O.current = window.setTimeout(() =>
|
|
11326
|
-
})(
|
|
11323
|
+
const J = z.current + N, nA = h().filter((q) => !q.disabled), aA = document.activeElement, L = (R = nA.find((q) => q.ref.current === aA)) == null ? void 0 : R.textValue, G = nA.map((q) => q.textValue), X = Im(G, J, L), j = (U = nA.find((q) => q.textValue === X)) == null ? void 0 : U.ref.current;
|
|
11324
|
+
(function q(rA) {
|
|
11325
|
+
z.current = rA, window.clearTimeout(O.current), rA !== "" && (O.current = window.setTimeout(() => q(""), 1e3));
|
|
11326
|
+
})(J), j && setTimeout(() => j.focus());
|
|
11327
11327
|
};
|
|
11328
11328
|
g.useEffect(() => () => window.clearTimeout(O.current), []), Oi();
|
|
11329
11329
|
const F = g.useCallback((N) => {
|
|
@@ -11343,8 +11343,8 @@ var LA = "MenuContent", [Am, mo] = Pe(LA), gc = g.forwardRef(
|
|
|
11343
11343
|
),
|
|
11344
11344
|
onItemLeave: g.useCallback(
|
|
11345
11345
|
(N) => {
|
|
11346
|
-
var
|
|
11347
|
-
F(N) || ((
|
|
11346
|
+
var J;
|
|
11347
|
+
F(N) || ((J = m.current) == null || J.focus(), p(null));
|
|
11348
11348
|
},
|
|
11349
11349
|
[F]
|
|
11350
11350
|
),
|
|
@@ -11364,8 +11364,8 @@ var LA = "MenuContent", [Am, mo] = Pe(LA), gc = g.forwardRef(
|
|
|
11364
11364
|
asChild: !0,
|
|
11365
11365
|
trapped: r,
|
|
11366
11366
|
onMountAutoFocus: sA(o, (N) => {
|
|
11367
|
-
var
|
|
11368
|
-
N.preventDefault(), (
|
|
11367
|
+
var J;
|
|
11368
|
+
N.preventDefault(), (J = m.current) == null || J.focus({ preventScroll: !0 });
|
|
11369
11369
|
}),
|
|
11370
11370
|
onUnmountAutoFocus: s,
|
|
11371
11371
|
children: /* @__PURE__ */ l(
|
|
@@ -11419,8 +11419,8 @@ var LA = "MenuContent", [Am, mo] = Pe(LA), gc = g.forwardRef(
|
|
|
11419
11419
|
onPointerMove: sA(
|
|
11420
11420
|
A.onPointerMove,
|
|
11421
11421
|
ct((N) => {
|
|
11422
|
-
const
|
|
11423
|
-
if (N.currentTarget.contains(
|
|
11422
|
+
const J = N.target, nA = k.current !== N.clientX;
|
|
11423
|
+
if (N.currentTarget.contains(J) && nA) {
|
|
11424
11424
|
const aA = N.clientX > k.current ? "right" : "left";
|
|
11425
11425
|
P.current = aA, k.current = N.clientX;
|
|
11426
11426
|
}
|
|
@@ -11625,7 +11625,7 @@ var lm = "MenuArrow", dc = g.forwardRef(
|
|
|
11625
11625
|
}
|
|
11626
11626
|
);
|
|
11627
11627
|
dc.displayName = lm;
|
|
11628
|
-
var Cm = "MenuSub", [
|
|
11628
|
+
var Cm = "MenuSub", [Ah, fc] = Pe(Cm), tt = "MenuSubTrigger", mc = g.forwardRef(
|
|
11629
11629
|
(A, e) => {
|
|
11630
11630
|
const t = Ne(tt, A.__scopeMenu), n = vt(tt, A.__scopeMenu), r = fc(tt, A.__scopeMenu), o = mo(tt, A.__scopeMenu), s = g.useRef(null), { pointerGraceTimerRef: i, onPointerGraceIntentChange: a } = o, c = { __scopeMenu: A.__scopeMenu }, C = g.useCallback(() => {
|
|
11631
11631
|
s.current && window.clearTimeout(s.current), s.current = null;
|
|
@@ -12022,7 +12022,7 @@ function Nc(A, e = !1) {
|
|
|
12022
12022
|
function Um(A, e) {
|
|
12023
12023
|
return A.map((t, n) => A[(e + n) % A.length]);
|
|
12024
12024
|
}
|
|
12025
|
-
var Vm = xc, Km = Pc, wt = "Menubar", [hr, Jm, qm] = ia(wt), [Mc,
|
|
12025
|
+
var Vm = xc, Km = Pc, wt = "Menubar", [hr, Jm, qm] = ia(wt), [Mc, eh] = so(wt, [
|
|
12026
12026
|
qm,
|
|
12027
12027
|
yc
|
|
12028
12028
|
]), bA = Kf(), Oc = yc(), [_m, bo] = Mc(wt), zc = g.forwardRef(
|
|
@@ -12328,7 +12328,7 @@ function Pp({
|
|
|
12328
12328
|
hp,
|
|
12329
12329
|
{
|
|
12330
12330
|
"data-slot": "menubar",
|
|
12331
|
-
className:
|
|
12331
|
+
className: $(
|
|
12332
12332
|
"bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs",
|
|
12333
12333
|
A
|
|
12334
12334
|
),
|
|
@@ -12354,7 +12354,7 @@ function Op({
|
|
|
12354
12354
|
bp,
|
|
12355
12355
|
{
|
|
12356
12356
|
"data-slot": "menubar-trigger",
|
|
12357
|
-
className:
|
|
12357
|
+
className: $(
|
|
12358
12358
|
"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none",
|
|
12359
12359
|
A
|
|
12360
12360
|
),
|
|
@@ -12376,7 +12376,7 @@ function zp({
|
|
|
12376
12376
|
align: e,
|
|
12377
12377
|
alignOffset: t,
|
|
12378
12378
|
sideOffset: n,
|
|
12379
|
-
className:
|
|
12379
|
+
className: $(
|
|
12380
12380
|
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md",
|
|
12381
12381
|
A
|
|
12382
12382
|
),
|
|
@@ -12396,7 +12396,7 @@ function Rp({
|
|
|
12396
12396
|
"data-slot": "menubar-item",
|
|
12397
12397
|
"data-inset": e,
|
|
12398
12398
|
"data-variant": t,
|
|
12399
|
-
className:
|
|
12399
|
+
className: $(
|
|
12400
12400
|
"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
12401
12401
|
A
|
|
12402
12402
|
),
|
|
@@ -12414,13 +12414,13 @@ const Fp = ({ fullName: A, onLogout: e, type: t = "primary", logoutText: n = "Lo
|
|
|
12414
12414
|
children: [
|
|
12415
12415
|
/* @__PURE__ */ l("div", { className: "text-sm font-semibold text-popover-foreground py-1 px-2", children: A }),
|
|
12416
12416
|
/* @__PURE__ */ x(Rp, { onClick: e, "data-testid": "logout-button", className: "cursor-pointer", children: [
|
|
12417
|
-
/* @__PURE__ */ l(
|
|
12417
|
+
/* @__PURE__ */ l(K, { name: "Logout", className: "w-4 h-4 text-foreground" }),
|
|
12418
12418
|
/* @__PURE__ */ l("span", { className: "text-sm font-medium text-secondary-foreground", children: n })
|
|
12419
12419
|
] })
|
|
12420
12420
|
]
|
|
12421
12421
|
}
|
|
12422
12422
|
)
|
|
12423
|
-
] }) }),
|
|
12423
|
+
] }) }), th = ({ fullName: A, logo: e, action: t, avatarType: n = "primary", logoutText: r = "Logout", onLogout: o }) => /* @__PURE__ */ x(
|
|
12424
12424
|
"div",
|
|
12425
12425
|
{
|
|
12426
12426
|
className: "w-full h-[56px] px-6 py-2 flex items-center justify-between bg-background",
|
|
@@ -12433,7 +12433,7 @@ const Fp = ({ fullName: A, onLogout: e, type: t = "primary", logoutText: n = "Lo
|
|
|
12433
12433
|
] })
|
|
12434
12434
|
]
|
|
12435
12435
|
}
|
|
12436
|
-
),
|
|
12436
|
+
), nh = ({ items: A, activeItem: e, onClickItem: t }) => {
|
|
12437
12437
|
var r, o;
|
|
12438
12438
|
const n = (r = A.find(
|
|
12439
12439
|
(s) => s.id === e
|
|
@@ -12443,12 +12443,12 @@ const Fp = ({ fullName: A, onLogout: e, type: t = "primary", logoutText: n = "Lo
|
|
|
12443
12443
|
"div",
|
|
12444
12444
|
{
|
|
12445
12445
|
onClick: () => t(s.id),
|
|
12446
|
-
className:
|
|
12446
|
+
className: $(
|
|
12447
12447
|
"w-10 h-10 hover:bg-secondary flex items-center justify-center cursor-pointer rounded-2xl ",
|
|
12448
12448
|
s.id === e && " border-2 border-primary"
|
|
12449
12449
|
),
|
|
12450
12450
|
children: /* @__PURE__ */ l(
|
|
12451
|
-
|
|
12451
|
+
K,
|
|
12452
12452
|
{
|
|
12453
12453
|
name: s.icon,
|
|
12454
12454
|
width: 24,
|
|
@@ -12462,7 +12462,7 @@ const Fp = ({ fullName: A, onLogout: e, type: t = "primary", logoutText: n = "Lo
|
|
|
12462
12462
|
/* @__PURE__ */ l(
|
|
12463
12463
|
"div",
|
|
12464
12464
|
{
|
|
12465
|
-
className:
|
|
12465
|
+
className: $(
|
|
12466
12466
|
"w-full flex-1 rounded-2xl h-full min-h-full overflow-y-auto no-scrollbar",
|
|
12467
12467
|
n ? "bg-secondary" : "bg-background"
|
|
12468
12468
|
),
|
|
@@ -12479,7 +12479,7 @@ const Fp = ({ fullName: A, onLogout: e, type: t = "primary", logoutText: n = "Lo
|
|
|
12479
12479
|
}) => /* @__PURE__ */ x(
|
|
12480
12480
|
"div",
|
|
12481
12481
|
{
|
|
12482
|
-
className:
|
|
12482
|
+
className: $(
|
|
12483
12483
|
"bg-background sm:bg-secondary rounded-2xl p-2 w-full h-full flex flex-col gap-2",
|
|
12484
12484
|
e
|
|
12485
12485
|
),
|
|
@@ -12487,13 +12487,13 @@ const Fp = ({ fullName: A, onLogout: e, type: t = "primary", logoutText: n = "Lo
|
|
|
12487
12487
|
/* @__PURE__ */ x(
|
|
12488
12488
|
"div",
|
|
12489
12489
|
{
|
|
12490
|
-
className:
|
|
12490
|
+
className: $(
|
|
12491
12491
|
"text-xl font-medium text-foreground py-2 px-4 flex items-center justify-between",
|
|
12492
12492
|
!A && "sm:hidden"
|
|
12493
12493
|
),
|
|
12494
12494
|
children: [
|
|
12495
12495
|
A && /* @__PURE__ */ l("span", { children: A }),
|
|
12496
|
-
/* @__PURE__ */ l(pA, { variant: "ghost", className: "sm:hidden", onClick: n, children: /* @__PURE__ */ l(
|
|
12496
|
+
/* @__PURE__ */ l(pA, { variant: "ghost", className: "sm:hidden", onClick: n, children: /* @__PURE__ */ l(K, { name: "Close", width: 16, height: 16, className: "text-foreground" }) })
|
|
12497
12497
|
]
|
|
12498
12498
|
}
|
|
12499
12499
|
),
|
|
@@ -13066,15 +13066,15 @@ function sv({ open: A, onOpenChange: e, children: t, onDrag: n, onRelease: r, sn
|
|
|
13066
13066
|
const [H = !1, D] = Vc({
|
|
13067
13067
|
defaultProp: y,
|
|
13068
13068
|
prop: A,
|
|
13069
|
-
onChange: (
|
|
13070
|
-
e == null || e(
|
|
13071
|
-
z == null || z(
|
|
13072
|
-
}, lA.DURATION * 1e3),
|
|
13069
|
+
onChange: (_) => {
|
|
13070
|
+
e == null || e(_), !_ && !v && bl(), setTimeout(() => {
|
|
13071
|
+
z == null || z(_);
|
|
13072
|
+
}, lA.DURATION * 1e3), _ && !d && typeof window < "u" && window.requestAnimationFrame(() => {
|
|
13073
13073
|
document.body.style.pointerEvents = "auto";
|
|
13074
|
-
}),
|
|
13074
|
+
}), _ || (document.body.style.pointerEvents = "auto");
|
|
13075
13075
|
}
|
|
13076
|
-
}), [V, F] = M.useState(!1), [N,
|
|
13077
|
-
o &&
|
|
13076
|
+
}), [V, F] = M.useState(!1), [N, J] = M.useState(!1), [nA, aA] = M.useState(!1), L = M.useRef(null), G = M.useRef(null), X = M.useRef(null), j = M.useRef(null), R = M.useRef(null), U = M.useRef(!1), q = M.useRef(null), rA = M.useRef(0), cA = M.useRef(!1), IA = M.useRef(!y), eA = M.useRef(0), Z = M.useRef(null), FA = M.useRef(((P = Z.current) == null ? void 0 : P.getBoundingClientRect().height) || 0), SA = M.useRef(((k = Z.current) == null ? void 0 : k.getBoundingClientRect().width) || 0), HA = M.useRef(0), BA = M.useCallback((_) => {
|
|
13077
|
+
o && _ === Ee.length - 1 && (G.current = /* @__PURE__ */ new Date());
|
|
13078
13078
|
}, []), { activeSnapPoint: yA, activeSnapPointIndex: te, setActiveSnapPoint: ne, onRelease: Pt, snapPointsOffset: Ee, onDrag: hl, shouldFade: zo, getPercentageDragged: wl } = tv({
|
|
13079
13079
|
snapPoints: o,
|
|
13080
13080
|
activeSnapPointProp: E,
|
|
@@ -13101,15 +13101,15 @@ function sv({ open: A, onOpenChange: e, children: t, onDrag: n, onRelease: r, sn
|
|
|
13101
13101
|
function Nt() {
|
|
13102
13102
|
return (window.innerWidth - xr) / window.innerWidth;
|
|
13103
13103
|
}
|
|
13104
|
-
function yl(
|
|
13104
|
+
function yl(_) {
|
|
13105
13105
|
var gA, iA;
|
|
13106
|
-
!C && !o || Z.current && !Z.current.contains(
|
|
13106
|
+
!C && !o || Z.current && !Z.current.contains(_.target) || (FA.current = ((gA = Z.current) == null ? void 0 : gA.getBoundingClientRect().height) || 0, SA.current = ((iA = Z.current) == null ? void 0 : iA.getBoundingClientRect().width) || 0, J(!0), X.current = /* @__PURE__ */ new Date(), Wc() && window.addEventListener("touchend", () => U.current = !1, {
|
|
13107
13107
|
once: !0
|
|
13108
|
-
}),
|
|
13108
|
+
}), _.target.setPointerCapture(_.pointerId), rA.current = uA(h) ? _.pageY : _.pageX);
|
|
13109
13109
|
}
|
|
13110
|
-
function Ro(
|
|
13110
|
+
function Ro(_, gA) {
|
|
13111
13111
|
var iA;
|
|
13112
|
-
let oA =
|
|
13112
|
+
let oA = _;
|
|
13113
13113
|
const CA = (iA = window.getSelection()) == null ? void 0 : iA.toString(), xA = Z.current ? jt(Z.current, h) : null, vA = /* @__PURE__ */ new Date();
|
|
13114
13114
|
if (oA.tagName === "SELECT" || oA.hasAttribute("data-vaul-no-drag") || oA.closest("[data-vaul-no-drag]"))
|
|
13115
13115
|
return !1;
|
|
@@ -13134,14 +13134,14 @@ function sv({ open: A, onOpenChange: e, children: t, onDrag: n, onRelease: r, sn
|
|
|
13134
13134
|
}
|
|
13135
13135
|
return !0;
|
|
13136
13136
|
}
|
|
13137
|
-
function xl(
|
|
13137
|
+
function xl(_) {
|
|
13138
13138
|
if (Z.current && N) {
|
|
13139
|
-
const gA = h === "bottom" || h === "right" ? 1 : -1, iA = (rA.current - (uA(h) ?
|
|
13139
|
+
const gA = h === "bottom" || h === "right" ? 1 : -1, iA = (rA.current - (uA(h) ? _.pageY : _.pageX)) * gA, oA = iA > 0, CA = o && !C && !oA;
|
|
13140
13140
|
if (CA && te === 0) return;
|
|
13141
13141
|
const xA = Math.abs(iA), vA = document.querySelector("[data-vaul-drawer-wrapper]"), re = h === "bottom" || h === "top" ? FA.current : SA.current;
|
|
13142
13142
|
let TA = xA / re;
|
|
13143
13143
|
const Qe = wl(xA, oA);
|
|
13144
|
-
if (Qe !== null && (TA = Qe), CA && TA >= 1 || !U.current && !Ro(
|
|
13144
|
+
if (Qe !== null && (TA = Qe), CA && TA >= 1 || !U.current && !Ro(_.target, oA)) return;
|
|
13145
13145
|
if (Z.current.classList.add(Ar), U.current = !0, EA(Z.current, {
|
|
13146
13146
|
transition: "none"
|
|
13147
13147
|
}), EA(L.current, {
|
|
@@ -13156,7 +13156,7 @@ function sv({ open: A, onOpenChange: e, children: t, onDrag: n, onRelease: r, sn
|
|
|
13156
13156
|
return;
|
|
13157
13157
|
}
|
|
13158
13158
|
const oe = 1 - TA;
|
|
13159
|
-
if ((zo || u && te === u - 1) && (n == null || n(
|
|
13159
|
+
if ((zo || u && te === u - 1) && (n == null || n(_, TA), EA(L.current, {
|
|
13160
13160
|
opacity: `${oe}`,
|
|
13161
13161
|
transition: "none"
|
|
13162
13162
|
}, !0)), vA && L.current && s) {
|
|
@@ -13180,7 +13180,7 @@ function sv({ open: A, onOpenChange: e, children: t, onDrag: n, onRelease: r, sn
|
|
|
13180
13180
|
IA.current = !0;
|
|
13181
13181
|
});
|
|
13182
13182
|
}, []), M.useEffect(() => {
|
|
13183
|
-
var
|
|
13183
|
+
var _;
|
|
13184
13184
|
function gA() {
|
|
13185
13185
|
if (!Z.current || !O) return;
|
|
13186
13186
|
const iA = document.activeElement;
|
|
@@ -13203,7 +13203,7 @@ function sv({ open: A, onOpenChange: e, children: t, onDrag: n, onRelease: r, sn
|
|
|
13203
13203
|
o && o.length > 0 && !cA.current ? Z.current.style.bottom = "0px" : Z.current.style.bottom = `${Math.max(vA, 0)}px`;
|
|
13204
13204
|
}
|
|
13205
13205
|
}
|
|
13206
|
-
return (
|
|
13206
|
+
return (_ = window.visualViewport) == null || _.addEventListener("resize", gA), () => {
|
|
13207
13207
|
var iA;
|
|
13208
13208
|
return (iA = window.visualViewport) == null ? void 0 : iA.removeEventListener("resize", gA);
|
|
13209
13209
|
};
|
|
@@ -13212,21 +13212,21 @@ function sv({ open: A, onOpenChange: e, children: t, onDrag: n, onRelease: r, sn
|
|
|
13212
13212
|
o,
|
|
13213
13213
|
Ee
|
|
13214
13214
|
]);
|
|
13215
|
-
function Je(
|
|
13216
|
-
Dl(), f == null || f(),
|
|
13215
|
+
function Je(_) {
|
|
13216
|
+
Dl(), f == null || f(), _ || D(!1), setTimeout(() => {
|
|
13217
13217
|
o && ne(o[0]);
|
|
13218
13218
|
}, lA.DURATION * 1e3);
|
|
13219
13219
|
}
|
|
13220
13220
|
function Fo() {
|
|
13221
13221
|
if (!Z.current) return;
|
|
13222
|
-
const
|
|
13222
|
+
const _ = document.querySelector("[data-vaul-drawer-wrapper]"), gA = jt(Z.current, h);
|
|
13223
13223
|
EA(Z.current, {
|
|
13224
13224
|
transform: "translate3d(0, 0, 0)",
|
|
13225
13225
|
transition: `transform ${lA.DURATION}s cubic-bezier(${lA.EASE.join(",")})`
|
|
13226
13226
|
}), EA(L.current, {
|
|
13227
13227
|
transition: `opacity ${lA.DURATION}s cubic-bezier(${lA.EASE.join(",")})`,
|
|
13228
13228
|
opacity: "1"
|
|
13229
|
-
}), s && gA && gA > 0 && H && EA(
|
|
13229
|
+
}), s && gA && gA > 0 && H && EA(_, {
|
|
13230
13230
|
borderRadius: `${Xc}px`,
|
|
13231
13231
|
overflow: "hidden",
|
|
13232
13232
|
...uA(h) ? {
|
|
@@ -13242,14 +13242,14 @@ function sv({ open: A, onOpenChange: e, children: t, onDrag: n, onRelease: r, sn
|
|
|
13242
13242
|
}, !0);
|
|
13243
13243
|
}
|
|
13244
13244
|
function Dl() {
|
|
13245
|
-
!N || !Z.current || (Z.current.classList.remove(Ar), U.current = !1,
|
|
13245
|
+
!N || !Z.current || (Z.current.classList.remove(Ar), U.current = !1, J(!1), j.current = /* @__PURE__ */ new Date());
|
|
13246
13246
|
}
|
|
13247
|
-
function Pl(
|
|
13247
|
+
function Pl(_) {
|
|
13248
13248
|
if (!N || !Z.current) return;
|
|
13249
|
-
Z.current.classList.remove(Ar), U.current = !1,
|
|
13249
|
+
Z.current.classList.remove(Ar), U.current = !1, J(!1), j.current = /* @__PURE__ */ new Date();
|
|
13250
13250
|
const gA = jt(Z.current, h);
|
|
13251
|
-
if (!
|
|
13252
|
-
const iA = j.current.getTime() - X.current.getTime(), oA = rA.current - (uA(h) ?
|
|
13251
|
+
if (!_ || !Ro(_.target, !1) || !gA || Number.isNaN(gA) || X.current === null) return;
|
|
13252
|
+
const iA = j.current.getTime() - X.current.getTime(), oA = rA.current - (uA(h) ? _.pageY : _.pageX), CA = Math.abs(oA) / iA;
|
|
13253
13253
|
if (CA > 0.05 && (aA(!0), setTimeout(() => {
|
|
13254
13254
|
aA(!1);
|
|
13255
13255
|
}, 200)), o) {
|
|
@@ -13258,15 +13258,15 @@ function sv({ open: A, onOpenChange: e, children: t, onDrag: n, onRelease: r, sn
|
|
|
13258
13258
|
closeDrawer: Je,
|
|
13259
13259
|
velocity: CA,
|
|
13260
13260
|
dismissible: C
|
|
13261
|
-
}), r == null || r(
|
|
13261
|
+
}), r == null || r(_, !0);
|
|
13262
13262
|
return;
|
|
13263
13263
|
}
|
|
13264
13264
|
if (h === "bottom" || h === "right" ? oA > 0 : oA < 0) {
|
|
13265
|
-
Fo(), r == null || r(
|
|
13265
|
+
Fo(), r == null || r(_, !0);
|
|
13266
13266
|
return;
|
|
13267
13267
|
}
|
|
13268
13268
|
if (CA > Zc) {
|
|
13269
|
-
Je(), r == null || r(
|
|
13269
|
+
Je(), r == null || r(_, !1);
|
|
13270
13270
|
return;
|
|
13271
13271
|
}
|
|
13272
13272
|
var xA;
|
|
@@ -13274,10 +13274,10 @@ function sv({ open: A, onOpenChange: e, children: t, onDrag: n, onRelease: r, sn
|
|
|
13274
13274
|
var re;
|
|
13275
13275
|
const TA = Math.min((re = Z.current.getBoundingClientRect().width) != null ? re : 0, window.innerWidth), Qe = h === "left" || h === "right";
|
|
13276
13276
|
if (Math.abs(gA) >= (Qe ? TA : vA) * a) {
|
|
13277
|
-
Je(), r == null || r(
|
|
13277
|
+
Je(), r == null || r(_, !1);
|
|
13278
13278
|
return;
|
|
13279
13279
|
}
|
|
13280
|
-
r == null || r(
|
|
13280
|
+
r == null || r(_, !0), Fo();
|
|
13281
13281
|
}
|
|
13282
13282
|
M.useEffect(() => (H && (EA(document.documentElement, {
|
|
13283
13283
|
scrollBehavior: "auto"
|
|
@@ -13286,12 +13286,12 @@ function sv({ open: A, onOpenChange: e, children: t, onDrag: n, onRelease: r, sn
|
|
|
13286
13286
|
}), [
|
|
13287
13287
|
H
|
|
13288
13288
|
]);
|
|
13289
|
-
function Nl(
|
|
13290
|
-
const gA =
|
|
13291
|
-
|
|
13289
|
+
function Nl(_) {
|
|
13290
|
+
const gA = _ ? (window.innerWidth - Gt) / window.innerWidth : 1, iA = _ ? -16 : 0;
|
|
13291
|
+
q.current && window.clearTimeout(q.current), EA(Z.current, {
|
|
13292
13292
|
transition: `transform ${lA.DURATION}s cubic-bezier(${lA.EASE.join(",")})`,
|
|
13293
13293
|
transform: uA(h) ? `scale(${gA}) translate3d(0, ${iA}px, 0)` : `scale(${gA}) translate3d(${iA}px, 0, 0)`
|
|
13294
|
-
}), !
|
|
13294
|
+
}), !_ && Z.current && (q.current = setTimeout(() => {
|
|
13295
13295
|
const oA = jt(Z.current, h);
|
|
13296
13296
|
EA(Z.current, {
|
|
13297
13297
|
transition: "none",
|
|
@@ -13299,7 +13299,7 @@ function sv({ open: A, onOpenChange: e, children: t, onDrag: n, onRelease: r, sn
|
|
|
13299
13299
|
});
|
|
13300
13300
|
}, 500));
|
|
13301
13301
|
}
|
|
13302
|
-
function Ml(
|
|
13302
|
+
function Ml(_, gA) {
|
|
13303
13303
|
if (gA < 0) return;
|
|
13304
13304
|
const iA = (window.innerWidth - Gt) / window.innerWidth, oA = iA + gA * (1 - iA), CA = -16 + gA * Gt;
|
|
13305
13305
|
EA(Z.current, {
|
|
@@ -13307,7 +13307,7 @@ function sv({ open: A, onOpenChange: e, children: t, onDrag: n, onRelease: r, sn
|
|
|
13307
13307
|
transition: "none"
|
|
13308
13308
|
});
|
|
13309
13309
|
}
|
|
13310
|
-
function Ol(
|
|
13310
|
+
function Ol(_, gA) {
|
|
13311
13311
|
const iA = uA(h) ? window.innerHeight : window.innerWidth, oA = gA ? (iA - Gt) / iA : 1, CA = gA ? -16 : 0;
|
|
13312
13312
|
gA && EA(Z.current, {
|
|
13313
13313
|
transition: `transform ${lA.DURATION}s cubic-bezier(${lA.EASE.join(",")})`,
|
|
@@ -13322,8 +13322,8 @@ function sv({ open: A, onOpenChange: e, children: t, onDrag: n, onRelease: r, sn
|
|
|
13322
13322
|
d
|
|
13323
13323
|
]), /* @__PURE__ */ M.createElement(ta, {
|
|
13324
13324
|
defaultOpen: y,
|
|
13325
|
-
onOpenChange: (
|
|
13326
|
-
!C && !
|
|
13325
|
+
onOpenChange: (_) => {
|
|
13326
|
+
!C && !_ || (_ ? F(!0) : Je(!0), D(_));
|
|
13327
13327
|
},
|
|
13328
13328
|
open: H
|
|
13329
13329
|
}, /* @__PURE__ */ M.createElement(kc.Provider, {
|
|
@@ -13547,7 +13547,7 @@ function Bv({
|
|
|
13547
13547
|
yt.Overlay,
|
|
13548
13548
|
{
|
|
13549
13549
|
"data-slot": "drawer-overlay",
|
|
13550
|
-
className:
|
|
13550
|
+
className: $(
|
|
13551
13551
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-[#181C2AA3]",
|
|
13552
13552
|
A
|
|
13553
13553
|
),
|
|
@@ -13566,7 +13566,7 @@ function uv({
|
|
|
13566
13566
|
yt.Content,
|
|
13567
13567
|
{
|
|
13568
13568
|
"data-slot": "drawer-content",
|
|
13569
|
-
className:
|
|
13569
|
+
className: $(
|
|
13570
13570
|
"group/drawer-content bg-background fixed z-50 flex h-auto flex-col",
|
|
13571
13571
|
"data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b",
|
|
13572
13572
|
"data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[95vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t",
|
|
@@ -13594,7 +13594,7 @@ function Iv({
|
|
|
13594
13594
|
yt.Title,
|
|
13595
13595
|
{
|
|
13596
13596
|
"data-slot": "drawer-title",
|
|
13597
|
-
className:
|
|
13597
|
+
className: $("text-foreground font-semibold", A),
|
|
13598
13598
|
...e
|
|
13599
13599
|
}
|
|
13600
13600
|
);
|
|
@@ -13611,11 +13611,11 @@ const Ev = ({ content: A, isOpen: e, onOpenChange: t }) => /* @__PURE__ */ l(lv,
|
|
|
13611
13611
|
name: "mobile-chat",
|
|
13612
13612
|
role: "button",
|
|
13613
13613
|
onClick: () => e(!0),
|
|
13614
|
-
className:
|
|
13614
|
+
className: $(
|
|
13615
13615
|
"group fixed bottom-6 right-6 z-50 w-16 h-16 rounded-full bg-popover transition-colors shadow-lg flex items-center justify-center sm:hidden hover:bg-popover",
|
|
13616
13616
|
n
|
|
13617
13617
|
),
|
|
13618
|
-
children: /* @__PURE__ */ l(
|
|
13618
|
+
children: /* @__PURE__ */ l(K, { name: "Chat", width: 28, height: 26, className: "text-primary" })
|
|
13619
13619
|
}
|
|
13620
13620
|
),
|
|
13621
13621
|
/* @__PURE__ */ l(
|
|
@@ -13633,7 +13633,7 @@ const Ev = ({ content: A, isOpen: e, onOpenChange: t }) => /* @__PURE__ */ l(lv,
|
|
|
13633
13633
|
)
|
|
13634
13634
|
}
|
|
13635
13635
|
)
|
|
13636
|
-
] }),
|
|
13636
|
+
] }), rh = ({
|
|
13637
13637
|
leftPanel: A,
|
|
13638
13638
|
rightPanel: e,
|
|
13639
13639
|
isOpen: t,
|
|
@@ -14114,7 +14114,7 @@ var il = "PopperAnchor", al = g.forwardRef(
|
|
|
14114
14114
|
al.displayName = il;
|
|
14115
14115
|
var Po = "PopperContent", [Gv, Zv] = rl(Po), cl = g.forwardRef(
|
|
14116
14116
|
(A, e) => {
|
|
14117
|
-
var R, U,
|
|
14117
|
+
var R, U, q, rA, cA, IA;
|
|
14118
14118
|
const {
|
|
14119
14119
|
__scopePopper: t,
|
|
14120
14120
|
side: n = "bottom",
|
|
@@ -14165,11 +14165,11 @@ var Po = "PopperContent", [Gv, Zv] = rl(Po), cl = g.forwardRef(
|
|
|
14165
14165
|
Vv({ arrowWidth: m, arrowHeight: b }),
|
|
14166
14166
|
u && La({ strategy: "referenceHidden", ...P })
|
|
14167
14167
|
]
|
|
14168
|
-
}), [N,
|
|
14168
|
+
}), [N, J] = Bl(D), nA = Wv(Q);
|
|
14169
14169
|
Pr(() => {
|
|
14170
14170
|
V && (nA == null || nA());
|
|
14171
14171
|
}, [V, nA]);
|
|
14172
|
-
const aA = (R = F.arrow) == null ? void 0 : R.x, L = (U = F.arrow) == null ? void 0 : U.y, G = ((
|
|
14172
|
+
const aA = (R = F.arrow) == null ? void 0 : R.x, L = (U = F.arrow) == null ? void 0 : U.y, G = ((q = F.arrow) == null ? void 0 : q.centerOffset) !== 0, [X, j] = g.useState();
|
|
14173
14173
|
return Pr(() => {
|
|
14174
14174
|
f && j(window.getComputedStyle(f).zIndex);
|
|
14175
14175
|
}, [f]), /* @__PURE__ */ l(
|
|
@@ -14209,7 +14209,7 @@ var Po = "PopperContent", [Gv, Zv] = rl(Po), cl = g.forwardRef(
|
|
|
14209
14209
|
nl.div,
|
|
14210
14210
|
{
|
|
14211
14211
|
"data-side": N,
|
|
14212
|
-
"data-align":
|
|
14212
|
+
"data-align": J,
|
|
14213
14213
|
...I,
|
|
14214
14214
|
ref: w,
|
|
14215
14215
|
style: {
|
|
@@ -14417,7 +14417,7 @@ function o1({
|
|
|
14417
14417
|
function s1(A) {
|
|
14418
14418
|
return typeof A == "function";
|
|
14419
14419
|
}
|
|
14420
|
-
var [Nn,
|
|
14420
|
+
var [Nn, oh] = fv("Tooltip", [
|
|
14421
14421
|
ol
|
|
14422
14422
|
]), Mn = ol(), Il = "TooltipProvider", g1 = 700, Nr = "tooltip.open", [i1, Mo] = Nn(Il), El = (A) => {
|
|
14423
14423
|
const {
|
|
@@ -14762,7 +14762,7 @@ function M1({
|
|
|
14762
14762
|
{
|
|
14763
14763
|
"data-slot": "tooltip-content",
|
|
14764
14764
|
sideOffset: e,
|
|
14765
|
-
className:
|
|
14765
|
+
className: $(
|
|
14766
14766
|
"bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
|
|
14767
14767
|
A
|
|
14768
14768
|
),
|
|
@@ -14771,62 +14771,74 @@ function M1({
|
|
|
14771
14771
|
}
|
|
14772
14772
|
) });
|
|
14773
14773
|
}
|
|
14774
|
-
const
|
|
14774
|
+
const O1 = {
|
|
14775
|
+
"not-enrolled": (A) => /* @__PURE__ */ l(K, { name: "NotEnrolled", className: A + " text-[#FFA05B]" }),
|
|
14776
|
+
"new-user": (A) => /* @__PURE__ */ l(K, { name: "NewUser", className: A + " text-input" }),
|
|
14777
|
+
available: (A) => /* @__PURE__ */ l(K, { name: "Available", className: A + " text-input" }),
|
|
14778
|
+
cancelled: (A) => /* @__PURE__ */ l(K, { name: "Fail", className: A + " text-destructive" }),
|
|
14779
|
+
failed: (A) => /* @__PURE__ */ l(K, { name: "Fail", className: A + " text-destructive" }),
|
|
14780
|
+
enrolled: (A) => /* @__PURE__ */ l(K, { name: "Enrolled", className: A + " text-success-hover" }),
|
|
14781
|
+
accept: (A) => /* @__PURE__ */ l(K, { name: "Star", className: A + " text-star" }),
|
|
14782
|
+
"black-list": (A) => /* @__PURE__ */ l(K, { name: "BlackList", className: A + " text-popover-foreground" }),
|
|
14783
|
+
suspended: (A) => /* @__PURE__ */ l(K, { name: "Suspended", className: A + " text-destructive" })
|
|
14784
|
+
}, sh = ({
|
|
14775
14785
|
text: A,
|
|
14776
14786
|
textColor: e,
|
|
14777
14787
|
icon: t,
|
|
14778
|
-
|
|
14779
|
-
|
|
14780
|
-
|
|
14781
|
-
|
|
14788
|
+
type: n = "accept",
|
|
14789
|
+
rate: r,
|
|
14790
|
+
tooltipText: o,
|
|
14791
|
+
tooltipTitle: s,
|
|
14792
|
+
tooltipPosition: i = "top"
|
|
14782
14793
|
}) => {
|
|
14783
|
-
const
|
|
14784
|
-
|
|
14785
|
-
|
|
14786
|
-
|
|
14787
|
-
|
|
14794
|
+
const a = Et(), c = () => {
|
|
14795
|
+
const C = t || O1[n];
|
|
14796
|
+
if (r) {
|
|
14797
|
+
const B = [], u = r || 0;
|
|
14798
|
+
if (a && (u === 2 || u === 3))
|
|
14799
|
+
return u === 3 ? /* @__PURE__ */ x("div", { className: "flex flex-col items-center", children: [
|
|
14788
14800
|
/* @__PURE__ */ x("div", { className: "flex", children: [
|
|
14789
|
-
|
|
14790
|
-
|
|
14801
|
+
C("size-3"),
|
|
14802
|
+
C("size-3")
|
|
14791
14803
|
] }),
|
|
14792
|
-
/* @__PURE__ */ l("div", { className: "flex justify-center -mt-1", children:
|
|
14804
|
+
/* @__PURE__ */ l("div", { className: "flex justify-center -mt-1", children: C("size-3") })
|
|
14793
14805
|
] }) : /* @__PURE__ */ x("div", { className: "flex gap-0.5", children: [
|
|
14794
|
-
|
|
14795
|
-
|
|
14806
|
+
C("size-4"),
|
|
14807
|
+
C("size-4")
|
|
14796
14808
|
] });
|
|
14797
|
-
for (let
|
|
14798
|
-
|
|
14799
|
-
return /* @__PURE__ */ l("div", { className: "flex gap-0.5", children:
|
|
14809
|
+
for (let E = 0; E < u; E++)
|
|
14810
|
+
B.push(C("size-5"));
|
|
14811
|
+
return /* @__PURE__ */ l("div", { className: "flex gap-0.5", children: B });
|
|
14800
14812
|
} else
|
|
14801
|
-
return
|
|
14813
|
+
return C("size-5");
|
|
14802
14814
|
};
|
|
14803
|
-
return
|
|
14815
|
+
return s && o ? /* @__PURE__ */ x(P1, { children: [
|
|
14804
14816
|
/* @__PURE__ */ l(N1, { asChild: !0, children: /* @__PURE__ */ x("div", { className: "flex items-center gap-1", children: [
|
|
14805
|
-
|
|
14806
|
-
!
|
|
14817
|
+
c(),
|
|
14818
|
+
!a && /* @__PURE__ */ l("span", { className: `${e} text-sm font-medium`, children: A })
|
|
14807
14819
|
] }) }),
|
|
14808
|
-
/* @__PURE__ */ l(M1, { className: "bg-background text-foreground m-1 border", side:
|
|
14809
|
-
|
|
14820
|
+
/* @__PURE__ */ l(M1, { className: "bg-background text-foreground m-1 border", side: i, children: /* @__PURE__ */ x("p", { className: "text-sm font-medium", children: [
|
|
14821
|
+
s,
|
|
14810
14822
|
": ",
|
|
14811
|
-
|
|
14823
|
+
o
|
|
14812
14824
|
] }) })
|
|
14813
14825
|
] }) : /* @__PURE__ */ x("div", { className: "flex items-center gap-1", children: [
|
|
14814
|
-
|
|
14815
|
-
!
|
|
14826
|
+
c(),
|
|
14827
|
+
!a && /* @__PURE__ */ l("span", { className: `${e} text-sm font-medium`, children: A })
|
|
14816
14828
|
] });
|
|
14817
|
-
},
|
|
14829
|
+
}, gh = ({ action: A, onClick: e, className: t }) => /* @__PURE__ */ l(
|
|
14818
14830
|
je,
|
|
14819
14831
|
{
|
|
14820
14832
|
variant: "default",
|
|
14821
14833
|
className: `bg-primary rounded-full size-10 flex items-center justify-center shrink-0 p-0 ${t || ""}`,
|
|
14822
14834
|
onClick: e,
|
|
14823
|
-
children: A === "authenticate" ? /* @__PURE__ */ l(
|
|
14835
|
+
children: A === "authenticate" ? /* @__PURE__ */ l(K, { name: "Play", className: "text-background", width: 16, height: 16 }) : /* @__PURE__ */ l(K, { name: "Cycle", className: "text-card", width: 20, height: 18 })
|
|
14824
14836
|
}
|
|
14825
|
-
),
|
|
14837
|
+
), ih = ({ text: A = "Authenticating", percentage: e, onCancel: t, className: n }) => {
|
|
14826
14838
|
const r = Et(), o = e !== void 0 ? `(%${e})` : "";
|
|
14827
14839
|
return r ? /* @__PURE__ */ x("div", { className: "flex gap-2 items-center", children: [
|
|
14828
14840
|
/* @__PURE__ */ x("div", { className: "bg-secondary-foreground rounded-xl p-2 flex items-center gap-2", children: [
|
|
14829
|
-
/* @__PURE__ */ l(
|
|
14841
|
+
/* @__PURE__ */ l(K, { name: "Camera", className: "text-primary-brew" }),
|
|
14830
14842
|
e !== void 0 && /* @__PURE__ */ x("div", { className: "text-primary-foreground text-sm font-medium", children: [
|
|
14831
14843
|
"%",
|
|
14832
14844
|
e
|
|
@@ -14838,7 +14850,7 @@ const oh = ({
|
|
|
14838
14850
|
variant: "default",
|
|
14839
14851
|
className: "bg-foreground-04 rounded-full size-10 flex items-center justify-center shrink-0 hover:bg-foreground-08 p-0",
|
|
14840
14852
|
onClick: t,
|
|
14841
|
-
children: /* @__PURE__ */ l(
|
|
14853
|
+
children: /* @__PURE__ */ l(K, { name: "Close", className: "text-secondary-foreground", width: 13.5, height: 13.5 })
|
|
14842
14854
|
}
|
|
14843
14855
|
)
|
|
14844
14856
|
] }) : /* @__PURE__ */ x("div", { className: "flex items-center gap-2", children: [
|
|
@@ -14865,44 +14877,44 @@ const oh = ({
|
|
|
14865
14877
|
variant: "default",
|
|
14866
14878
|
className: "bg-foreground-04 rounded-full size-10 flex items-center justify-center shrink-0 hover:bg-foreground-08 p-0",
|
|
14867
14879
|
onClick: t,
|
|
14868
|
-
children: /* @__PURE__ */ l(
|
|
14880
|
+
children: /* @__PURE__ */ l(K, { name: "Close", className: "text-secondary-foreground", width: 13.5, height: 13.5 })
|
|
14869
14881
|
}
|
|
14870
14882
|
)
|
|
14871
14883
|
] });
|
|
14872
14884
|
};
|
|
14873
14885
|
export {
|
|
14874
|
-
|
|
14875
|
-
|
|
14876
|
-
|
|
14877
|
-
|
|
14878
|
-
|
|
14879
|
-
|
|
14886
|
+
V1 as AIChat,
|
|
14887
|
+
G1 as AsistantItem,
|
|
14888
|
+
K1 as AskManager,
|
|
14889
|
+
J1 as Assistant,
|
|
14890
|
+
gh as AuthButton,
|
|
14891
|
+
ih as AuthProgress,
|
|
14880
14892
|
Te as Avatar,
|
|
14881
|
-
|
|
14893
|
+
W1 as AvatarWithInfo,
|
|
14882
14894
|
pA as Button,
|
|
14883
|
-
|
|
14895
|
+
U1 as ChatList,
|
|
14884
14896
|
Ku as DefaultMoment,
|
|
14885
14897
|
Gu as GenAISupportMoment,
|
|
14886
14898
|
Zu as GoodJobMoment,
|
|
14887
|
-
|
|
14888
|
-
|
|
14899
|
+
th as Header,
|
|
14900
|
+
K as Icon,
|
|
14889
14901
|
Xu as LegalThreadMoment,
|
|
14890
14902
|
Fp as LogoutMenuBar,
|
|
14891
14903
|
rt as MessageBubble,
|
|
14892
14904
|
Qi as MessageSendBox,
|
|
14893
14905
|
Qv as MobileChat,
|
|
14894
|
-
|
|
14895
|
-
|
|
14906
|
+
$1 as Modal,
|
|
14907
|
+
X1 as Moment,
|
|
14896
14908
|
De as MomentItem,
|
|
14897
|
-
|
|
14898
|
-
|
|
14899
|
-
|
|
14900
|
-
|
|
14901
|
-
|
|
14909
|
+
j1 as SentimentMeter,
|
|
14910
|
+
rh as Sestek,
|
|
14911
|
+
H1 as Settings,
|
|
14912
|
+
nh as Sidebar,
|
|
14913
|
+
sh as StatusBadge,
|
|
14902
14914
|
Lp as Support,
|
|
14903
14915
|
Pu as Tab,
|
|
14904
14916
|
Uu as TaskDoneMoment,
|
|
14905
|
-
|
|
14917
|
+
Y1 as Transcript,
|
|
14906
14918
|
Vu as UnhappyCustomerMoment,
|
|
14907
14919
|
MC as buttonVariants
|
|
14908
14920
|
};
|