@factorialco/f0-react 6.88.3 → 6.88.5
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/{ChatPdfThumbnail-DdrOp7Rm.js → ChatPdfThumbnail-DTUuStMh.js} +1 -1
- package/dist/{CoachmarkProvider-CoPINK6_.js → CoachmarkProvider-FhruFtJe.js} +2701 -2711
- package/dist/{DocumentToolbar-p4qZSVUD.js → DocumentToolbar-DUvkpuLz.js} +29 -29
- package/dist/{DocxViewer-_Z59Wr2S.js → DocxViewer-CcY7eUEM.js} +10 -10
- package/dist/{F0AiProcessingOverlay-CwJG6TgU.js → F0AiProcessingOverlay-ByIJjCN4.js} +408 -402
- package/dist/{F0CanvasPanel-CpgOQnbI.js → F0CanvasPanel-VDUWMSmw.js} +1426 -1416
- package/dist/{F0VideoPlayer-CXAjfSnS.js → F0VideoPlayer-CxWjT4fA.js} +143 -139
- package/dist/{LocationMap-Bp7gglCx.js → LocationMap-D6lqT6Gn.js} +1 -1
- package/dist/{SheetViewer-DSbC_CR2.js → SheetViewer-CrvzW594.js} +12 -12
- package/dist/{TextViewer-BkgAiijZ.js → TextViewer-GmdvBh9P.js} +2 -2
- package/dist/ai.d.ts +9 -9
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +9 -9
- package/dist/component-status.js +72 -70
- package/dist/{experimental-Crt7EEav.js → experimental-CLNsFHrX.js} +583 -569
- package/dist/experimental.d.ts +9 -9
- package/dist/experimental.js +3 -3
- package/dist/f0.d.ts +9 -9
- package/dist/f0.js +396 -388
- package/dist/i18n-provider-defaults.d.ts +9 -9
- package/dist/index-DJGcz9TP.js +4 -0
- package/dist/{index-BP9845Kl.js → index-DfeNTo6-.js} +49 -49
- package/dist/{pdfWorker-wHv_aPH2.js → pdfWorker-38_nmvOc.js} +2 -2
- package/package.json +2 -1
- package/dist/index-uG8opRj1.js +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { cQ as i_, cR as $B, cS as n_, cT as g_, cU as a_, cV as o_, cW as vh, cX as e0, cY as kc, cZ as wA, c_ as r_, bY as zt, ct as Qs, u as Vt, c$ as s_, d0 as I_, d1 as bh, cF as $I, cG as eC, bX as An, bD as C_, bC as ay, V as ai, z as A_, A as l_, bQ as Ai, b9 as oy, K as c_, B as d_, m as fi, ak as aC, S as Ut, c2 as Go, d2 as u_, d3 as f_, d4 as h_, _ as m_, d5 as p_, ar as qg, ba as _h, aj as kh, bT as Na, c9 as hs, d6 as B_, e as xh, c4 as hr, d7 as F_, a8 as Dh, cN as OA, w as On, r as gn, y as PA, t as dd, v as ud, bu as Sh, x as fd, aZ as ry, bO as y_, ah as sy, bV as tg, s as Ag, cH as JA, d8 as bf, cv as jA, bN as t0, Y as U_, bW as Vn, d9 as Iy, da as th, cM as ws, db as Rh, dc as Q_, ci as Mh, dd as oC, aQ as w_, bH as v_, X as b_, i as __, cE as k_, de as fr, df as Ph, dg as Fa, bg as x_, dh as D_, ae as S_, ca as pr, di as hd, dj as Cy, dk as R_, dl as M_, b6 as P_, dm as md, dn as Ay, j as pd, dp as V_, as as G_, k as tC, dq as ly, bn as E_, dr as T_, ds as N_, dt as Z_, du as K_, dv as ih, dw as cy, cd as Bd, aa as dy, dx as W_, dy as Y_, dz as z_, dA as H_, dB as oo, dC as nh, cb as Vh, dD as uy, cl as vs, dE as Lc, dF as fy, dG as Gh, ch as O_, dH as iC, dI as J_, dJ as j_, c3 as xA, bm as L_, az as gh, ap as X_, dK as hy, dL as q_, b as my, dM as $_, a as ek, dN as Fd, dO as tk, g as ik, F as nk, bs as py, cm as gk, o as yd, co as ak, bw as Eh, J as ok, br as rk, bq as sk, a5 as By, cx as Ik, al as Fy, dP as Ck, bf as Ak, be as lk, at as Xc, dQ as ck, dR as dk, dS as uk, dT as fk, dU as hk, dV as mk, dW as pk, dX as Bk, cc as ah, l as Ud, bS as Th, O as oh, Q as DA, aX as Fk, aN as yk, b7 as Uk, bc as yy, bj as Uy, bk as Qy, an as Qk, dY as wy, dZ as vy, d_ as by, d$ as _y, cP as wk, cO as vk, e0 as Nh, bl as bk, b$ as _k, c1 as Zh, bR as kk, e1 as ky, e2 as xy, e3 as Dy, bK as xk, n as Dk, c5 as Sk, c6 as Rk, c7 as Mk, c8 as Sy, ay as Qd, R as Pk, U as Vk, a6 as Ry, $ as i0, a4 as My, bv as Gk, aO as Ek, am as Tk, cp as Nk, e4 as ro, e5 as Zk, e6 as Kk, e7 as Wk, e8 as Yk, e9 as zk, cy as Hk, a_ as Py, ea as qc, eb as Ok, bo as Jk, bF as jk, aw as Lk, bA as _f, av as Xk, aY as qk, aq as $k, ag as ex, ec as tx, bz as ix, cr as nx, cs as gx, ed as ax, ee as Vy, ef as ox, eg as rx } from "./F0CanvasPanel-
|
|
1
|
+
import { cQ as i_, cR as $B, cS as n_, cT as g_, cU as a_, cV as o_, cW as vh, cX as e0, cY as kc, cZ as wA, c_ as r_, bY as zt, ct as Qs, u as Vt, c$ as s_, d0 as I_, d1 as bh, cF as $I, cG as eC, bX as An, bD as C_, bC as ay, V as ai, z as A_, A as l_, bQ as Ai, b9 as oy, K as c_, B as d_, m as fi, ak as aC, S as Ut, c2 as Go, d2 as u_, d3 as f_, d4 as h_, _ as m_, d5 as p_, ar as qg, ba as _h, aj as kh, bT as Na, c9 as hs, d6 as B_, e as xh, c4 as hr, d7 as F_, a8 as Dh, cN as OA, w as On, r as gn, y as PA, t as dd, v as ud, bu as Sh, x as fd, aZ as ry, bO as y_, ah as sy, bV as tg, s as Ag, cH as JA, d8 as bf, cv as jA, bN as t0, Y as U_, bW as Vn, d9 as Iy, da as th, cM as ws, db as Rh, dc as Q_, ci as Mh, dd as oC, aQ as w_, bH as v_, X as b_, i as __, cE as k_, de as fr, df as Ph, dg as Fa, bg as x_, dh as D_, ae as S_, ca as pr, di as hd, dj as Cy, dk as R_, dl as M_, b6 as P_, dm as md, dn as Ay, j as pd, dp as V_, as as G_, k as tC, dq as ly, bn as E_, dr as T_, ds as N_, dt as Z_, du as K_, dv as ih, dw as cy, cd as Bd, aa as dy, dx as W_, dy as Y_, dz as z_, dA as H_, dB as oo, dC as nh, cb as Vh, dD as uy, cl as vs, dE as Lc, dF as fy, dG as Gh, ch as O_, dH as iC, dI as J_, dJ as j_, c3 as xA, bm as L_, az as gh, ap as X_, dK as hy, dL as q_, b as my, dM as $_, a as ek, dN as Fd, dO as tk, g as ik, F as nk, bs as py, cm as gk, o as yd, co as ak, bw as Eh, J as ok, br as rk, bq as sk, a5 as By, cx as Ik, al as Fy, dP as Ck, bf as Ak, be as lk, at as Xc, dQ as ck, dR as dk, dS as uk, dT as fk, dU as hk, dV as mk, dW as pk, dX as Bk, cc as ah, l as Ud, bS as Th, O as oh, Q as DA, aX as Fk, aN as yk, b7 as Uk, bc as yy, bj as Uy, bk as Qy, an as Qk, dY as wy, dZ as vy, d_ as by, d$ as _y, cP as wk, cO as vk, e0 as Nh, bl as bk, b$ as _k, c1 as Zh, bR as kk, e1 as ky, e2 as xy, e3 as Dy, bK as xk, n as Dk, c5 as Sk, c6 as Rk, c7 as Mk, c8 as Sy, ay as Qd, R as Pk, U as Vk, a6 as Ry, $ as i0, a4 as My, bv as Gk, aO as Ek, am as Tk, cp as Nk, e4 as ro, e5 as Zk, e6 as Kk, e7 as Wk, e8 as Yk, e9 as zk, cy as Hk, a_ as Py, ea as qc, eb as Ok, bo as Jk, bF as jk, aw as Lk, bA as _f, av as Xk, aY as qk, aq as $k, ag as ex, ec as tx, bz as ix, cr as nx, cs as gx, ed as ax, ee as Vy, ef as ox, eg as rx } from "./F0CanvasPanel-VDUWMSmw.js";
|
|
2
2
|
import { jsx as m, jsxs as te, Fragment as Ii } from "react/jsx-runtime";
|
|
3
3
|
import Et, { forwardRef as wi, useRef as Se, useTransition as sx, useState as Ne, useLayoutEffect as Hn, useId as ys, useContext as Dg, createContext as Jn, useEffect as nt, useCallback as Ke, useMemo as _t, useImperativeHandle as Ix, Fragment as xg, isValidElement as Kh, cloneElement as Gy, Suspense as wd, lazy as bs, createElement as Tc, memo as Ey, Children as Wh } from "react";
|
|
4
4
|
import { d as Qe, T as Cx, a as Ax, b as lx, f as $i, c as cx, g as dx } from "./tooltip-CMBdJvJA.js";
|
|
5
|
-
import { C as ux, P as fx, c as vd, n as Ty, E as hx, a as mx, u as px, b as Ny, e as Bx, f as Fx, g as yx, h as Ux, i as n0, M as Qx, p as wx, j as Zy, R as g0, k as Ky, l as vx, m as bx, o as _x, q as kx, r as xx, s as Dx, O as Wy, t as Yy, F as Sx, W as Fs, A as Rx, B as Mx, L as Px, v as Vx, V as Gx, w as Ex, x as Tx, y as Nx, z as Yh, S as Zx, D as zy, G as Hy, H as Kx, I as Wx, J as Yx, K as zx, N as Hx, Q as Ox, T as Jx, U as jx, X as Lx, Y as Xx, Z as a0, _ as qx, $ as $x } from "./CoachmarkProvider-
|
|
5
|
+
import { C as ux, P as fx, c as vd, n as Ty, E as hx, a as mx, u as px, b as Ny, e as Bx, f as Fx, g as yx, h as Ux, i as n0, M as Qx, p as wx, j as Zy, R as g0, k as Ky, l as vx, m as bx, o as _x, q as kx, r as xx, s as Dx, O as Wy, t as Yy, F as Sx, W as Fs, A as Rx, B as Mx, L as Px, v as Vx, V as Gx, w as Ex, x as Tx, y as Nx, z as Yh, S as Zx, D as zy, G as Hy, H as Kx, I as Wx, J as Yx, K as zx, N as Hx, Q as Ox, T as Jx, U as jx, X as Lx, Y as Xx, Z as a0, _ as qx, $ as $x } from "./CoachmarkProvider-FhruFtJe.js";
|
|
6
6
|
import { g as eD } from "./_commonjsHelpers-ByX85dGu.js";
|
|
7
7
|
import tD, { createPortal as $c } from "react-dom";
|
|
8
8
|
import './experimental.css';const iD = i_("Search", [
|
|
@@ -149,7 +149,7 @@ function sD({ breadcrumbs: a, append: C }) {
|
|
|
149
149
|
))
|
|
150
150
|
}
|
|
151
151
|
),
|
|
152
|
-
k && k.headItem
|
|
152
|
+
k && k.headItem ? /* @__PURE__ */ te(r_, { children: [
|
|
153
153
|
/* @__PURE__ */ m(
|
|
154
154
|
kc,
|
|
155
155
|
{
|
|
@@ -160,7 +160,7 @@ function sD({ breadcrumbs: a, append: C }) {
|
|
|
160
160
|
},
|
|
161
161
|
`first-item-${wA(k.headItem)}`
|
|
162
162
|
),
|
|
163
|
-
r
|
|
163
|
+
r ? /* @__PURE__ */ te(Ii, { children: [
|
|
164
164
|
/* @__PURE__ */ m(
|
|
165
165
|
Oy,
|
|
166
166
|
{
|
|
@@ -178,8 +178,8 @@ function sD({ breadcrumbs: a, append: C }) {
|
|
|
178
178
|
},
|
|
179
179
|
wA(R)
|
|
180
180
|
))
|
|
181
|
-
] }),
|
|
182
|
-
|
|
181
|
+
] }) : null,
|
|
182
|
+
r ? null : /* @__PURE__ */ m(Ii, { children: k.tailItems.map((R, V) => /* @__PURE__ */ m(
|
|
183
183
|
kc,
|
|
184
184
|
{
|
|
185
185
|
item: R,
|
|
@@ -189,7 +189,7 @@ function sD({ breadcrumbs: a, append: C }) {
|
|
|
189
189
|
},
|
|
190
190
|
wA(R)
|
|
191
191
|
)) })
|
|
192
|
-
] })
|
|
192
|
+
] }) : null
|
|
193
193
|
]
|
|
194
194
|
},
|
|
195
195
|
`breadcrumb-${wA(a.at(-1)) ?? 0}`
|
|
@@ -444,7 +444,7 @@ const Ly = ({
|
|
|
444
444
|
)
|
|
445
445
|
}
|
|
446
446
|
) }) }),
|
|
447
|
-
|
|
447
|
+
Q ? null : /* @__PURE__ */ m(cx, { side: "left", className: "font-medium", children: k.ai.welcome })
|
|
448
448
|
] }) }) }) : null;
|
|
449
449
|
}, s0 = "one_sidebar_locked", Xy = Jn(void 0);
|
|
450
450
|
function _s() {
|
|
@@ -625,10 +625,10 @@ const I0 = zt.create(ai), C0 = {
|
|
|
625
625
|
style: { maxHeight: "min(90vh, 760px)" },
|
|
626
626
|
children: [
|
|
627
627
|
/* @__PURE__ */ m(mD, { title: C, url: B, onClick: r }),
|
|
628
|
-
K === "fetching"
|
|
628
|
+
K === "fetching" ? /* @__PURE__ */ m(FD, {}) : null,
|
|
629
629
|
/* @__PURE__ */ te("div", { className: "scrollbar-macos flex-1 overflow-y-auto", children: [
|
|
630
|
-
K === "idle" && j !== null && j.length === 0
|
|
631
|
-
K === "idle" && j !== null && j.length > 0
|
|
630
|
+
K === "idle" && j !== null && j.length === 0 ? /* @__PURE__ */ m("div", { className: "p-2 pt-0", children: /* @__PURE__ */ m(pD, { ...Q, buttonUrl: B }) }) : null,
|
|
631
|
+
K === "idle" && j !== null && j.length > 0 ? /* @__PURE__ */ te("div", { className: "px-1", children: [
|
|
632
632
|
/* @__PURE__ */ m(
|
|
633
633
|
fD,
|
|
634
634
|
{
|
|
@@ -636,16 +636,16 @@ const I0 = zt.create(ai), C0 = {
|
|
|
636
636
|
onClick: R
|
|
637
637
|
}
|
|
638
638
|
),
|
|
639
|
-
j.length > 1
|
|
639
|
+
j.length > 1 ? /* @__PURE__ */ m(Ii, { children: /* @__PURE__ */ m("div", { className: "pb-1", children: q.map((ye, ue) => /* @__PURE__ */ m(
|
|
640
640
|
hD,
|
|
641
641
|
{
|
|
642
642
|
...ye,
|
|
643
643
|
onClick: R
|
|
644
644
|
},
|
|
645
645
|
ue
|
|
646
|
-
)) }) })
|
|
647
|
-
] }),
|
|
648
|
-
K === "error"
|
|
646
|
+
)) }) }) : null
|
|
647
|
+
] }) : null,
|
|
648
|
+
K === "error" ? /* @__PURE__ */ m("div", { className: "p-2 pt-0", children: /* @__PURE__ */ m(
|
|
649
649
|
BD,
|
|
650
650
|
{
|
|
651
651
|
...k,
|
|
@@ -653,9 +653,9 @@ const I0 = zt.create(ai), C0 = {
|
|
|
653
653
|
ae();
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
|
-
) })
|
|
656
|
+
) }) : null
|
|
657
657
|
] }),
|
|
658
|
-
K === "idle" && G && G.isVisible
|
|
658
|
+
K === "idle" && G && G.isVisible ? /* @__PURE__ */ m(
|
|
659
659
|
yD,
|
|
660
660
|
{
|
|
661
661
|
isVisible: G.isVisible,
|
|
@@ -663,7 +663,7 @@ const I0 = zt.create(ai), C0 = {
|
|
|
663
663
|
crossSelling: G,
|
|
664
664
|
onDropdownClose: () => N(!1)
|
|
665
665
|
}
|
|
666
|
-
)
|
|
666
|
+
) : null
|
|
667
667
|
]
|
|
668
668
|
}
|
|
669
669
|
) })
|
|
@@ -717,7 +717,7 @@ const I0 = zt.create(ai), C0 = {
|
|
|
717
717
|
/* @__PURE__ */ m("h3", { className: "font-medium", children: a }),
|
|
718
718
|
/* @__PURE__ */ m("p", { className: "font-normal text-f1-foreground-secondary", children: Q })
|
|
719
719
|
] }),
|
|
720
|
-
B
|
|
720
|
+
B ? /* @__PURE__ */ m(Oh, { className: "mt-1.5" }) : null
|
|
721
721
|
] }) })
|
|
722
722
|
]
|
|
723
723
|
}
|
|
@@ -748,7 +748,7 @@ const I0 = zt.create(ai), C0 = {
|
|
|
748
748
|
/* @__PURE__ */ m("h3", { className: "text-pretty font-medium", children: a }),
|
|
749
749
|
/* @__PURE__ */ m("p", { className: "font-normal text-f1-foreground-secondary", children: f })
|
|
750
750
|
] }),
|
|
751
|
-
B
|
|
751
|
+
B ? /* @__PURE__ */ m(Oh, { className: "mt-1.5" }) : null
|
|
752
752
|
] })
|
|
753
753
|
}
|
|
754
754
|
) });
|
|
@@ -870,7 +870,7 @@ const I0 = zt.create(ai), C0 = {
|
|
|
870
870
|
/* @__PURE__ */ te("div", { className: "px-1 pb-2", children: [
|
|
871
871
|
/* @__PURE__ */ te("div", { className: "flex flex-row items-center justify-between px-3", children: [
|
|
872
872
|
/* @__PURE__ */ m("p", { className: "text-balance pb-2 pt-2 text-sm font-medium text-f1-foreground-secondary", children: f?.sectionTitle }),
|
|
873
|
-
C
|
|
873
|
+
C ? /* @__PURE__ */ m("div", { className: "relative z-10 h-6 w-6", children: /* @__PURE__ */ m(
|
|
874
874
|
fi,
|
|
875
875
|
{
|
|
876
876
|
variant: "ghost",
|
|
@@ -880,7 +880,7 @@ const I0 = zt.create(ai), C0 = {
|
|
|
880
880
|
onClick: U,
|
|
881
881
|
label: "Close"
|
|
882
882
|
}
|
|
883
|
-
) })
|
|
883
|
+
) }) : null
|
|
884
884
|
] }),
|
|
885
885
|
/* @__PURE__ */ m(
|
|
886
886
|
ux,
|
|
@@ -962,7 +962,7 @@ function OZ({
|
|
|
962
962
|
),
|
|
963
963
|
children: [
|
|
964
964
|
/* @__PURE__ */ te("div", { className: "flex flex-grow items-center", children: [
|
|
965
|
-
/* @__PURE__ */ m(An, { children: !Q && K !== "locked"
|
|
965
|
+
/* @__PURE__ */ m(An, { children: !Q && K !== "locked" ? /* @__PURE__ */ m(
|
|
966
966
|
zt.div,
|
|
967
967
|
{
|
|
968
968
|
initial: { opacity: 0, width: 0 },
|
|
@@ -979,7 +979,7 @@ function OZ({
|
|
|
979
979
|
}
|
|
980
980
|
) })
|
|
981
981
|
}
|
|
982
|
-
) }),
|
|
982
|
+
) : null }),
|
|
983
983
|
/* @__PURE__ */ te(
|
|
984
984
|
"div",
|
|
985
985
|
{
|
|
@@ -988,7 +988,7 @@ function OZ({
|
|
|
988
988
|
Ie && "justify-center"
|
|
989
989
|
),
|
|
990
990
|
children: [
|
|
991
|
-
Q && Ie
|
|
991
|
+
Q && Ie ? /* @__PURE__ */ m("div", { className: "absolute left-4", children: /* @__PURE__ */ m(
|
|
992
992
|
fi,
|
|
993
993
|
{
|
|
994
994
|
variant: "ghost",
|
|
@@ -997,7 +997,7 @@ function OZ({
|
|
|
997
997
|
icon: kh,
|
|
998
998
|
onClick: () => window.history.back()
|
|
999
999
|
}
|
|
1000
|
-
) }),
|
|
1000
|
+
) }) : null,
|
|
1001
1001
|
Ie || $ ? /* @__PURE__ */ m("div", { className: "text-lg font-semibold text-f1-foreground", children: "loading" in ye ? /* @__PURE__ */ m(Ut, { className: "h-4 w-24" }) : ye.label }) : /* @__PURE__ */ m(
|
|
1002
1002
|
sD,
|
|
1003
1003
|
{
|
|
@@ -1018,29 +1018,29 @@ function OZ({
|
|
|
1018
1018
|
)
|
|
1019
1019
|
] }),
|
|
1020
1020
|
/* @__PURE__ */ te("div", { className: "flex items-center gap-3", children: [
|
|
1021
|
-
!Q && q
|
|
1021
|
+
!Q && q ? /* @__PURE__ */ m("div", { children: C.tooltip ? /* @__PURE__ */ m(Na, { label: C.tooltip, children: /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m(
|
|
1022
1022
|
hs,
|
|
1023
1023
|
{
|
|
1024
1024
|
text: C.text,
|
|
1025
1025
|
variant: C.variant,
|
|
1026
1026
|
additionalAccessibleText: C.tooltip
|
|
1027
1027
|
}
|
|
1028
|
-
) }) }) : /* @__PURE__ */ m(hs, { text: C.text, variant: C.variant }) }),
|
|
1029
|
-
!Q && q && (X || N || ae)
|
|
1030
|
-
X
|
|
1031
|
-
X && N
|
|
1032
|
-
|
|
1033
|
-
ae
|
|
1028
|
+
) }) }) : /* @__PURE__ */ m(hs, { text: C.text, variant: C.variant }) }) : null,
|
|
1029
|
+
!Q && q && (X || N || ae) ? /* @__PURE__ */ m("div", { className: "h-4 w-px bg-f1-border-secondary" }) : null,
|
|
1030
|
+
X ? /* @__PURE__ */ m(B_, { ...X }) : null,
|
|
1031
|
+
X && N ? /* @__PURE__ */ m("div", { className: "h-4 w-px bg-f1-border-secondary" }) : null,
|
|
1032
|
+
ae || N ? /* @__PURE__ */ te("div", { className: "flex items-center gap-2", children: [
|
|
1033
|
+
ae ? /* @__PURE__ */ m("div", { className: "items-right flex gap-2", children: /* @__PURE__ */ m(
|
|
1034
1034
|
uD,
|
|
1035
1035
|
{
|
|
1036
1036
|
...U,
|
|
1037
1037
|
currentModule: a.name
|
|
1038
1038
|
}
|
|
1039
|
-
) }),
|
|
1040
|
-
N
|
|
1041
|
-
] }),
|
|
1039
|
+
) }) : null,
|
|
1040
|
+
N ? /* @__PURE__ */ m("div", { className: "items-right flex gap-2", children: B.map((se, ce) => /* @__PURE__ */ m(QD, { action: se }, ce)) }) : null
|
|
1041
|
+
] }) : null,
|
|
1042
1042
|
/* @__PURE__ */ te("div", { className: "flex items-center gap-3", children: [
|
|
1043
|
-
|
|
1043
|
+
G ? null : /* @__PURE__ */ m(
|
|
1044
1044
|
xh,
|
|
1045
1045
|
{
|
|
1046
1046
|
tooltip: R,
|
|
@@ -1287,7 +1287,7 @@ const JZ = F_, $y = process.env.NODE_ENV !== "production", e1 = (a) => {
|
|
|
1287
1287
|
},
|
|
1288
1288
|
isOpen: C,
|
|
1289
1289
|
autoClearMinutes: Q
|
|
1290
|
-
}), /* @__PURE__ */ m(An, { children: C
|
|
1290
|
+
}), /* @__PURE__ */ m(An, { children: C ? /* @__PURE__ */ m(
|
|
1291
1291
|
zt.div,
|
|
1292
1292
|
{
|
|
1293
1293
|
"aria-hidden": !C,
|
|
@@ -1319,7 +1319,7 @@ const JZ = F_, $y = process.env.NODE_ENV !== "production", e1 = (a) => {
|
|
|
1319
1319
|
) })
|
|
1320
1320
|
},
|
|
1321
1321
|
"chat-window"
|
|
1322
|
-
) });
|
|
1322
|
+
) : null });
|
|
1323
1323
|
}, VD = ({ action: a, onClose: C }) => {
|
|
1324
1324
|
const f = () => {
|
|
1325
1325
|
a.onClick(), C();
|
|
@@ -1420,23 +1420,23 @@ const JZ = F_, $y = process.env.NODE_ENV !== "production", e1 = (a) => {
|
|
|
1420
1420
|
/* @__PURE__ */ m("h1", { className: "text-2xl font-semibold text-f1-foreground", children: f })
|
|
1421
1421
|
] })
|
|
1422
1422
|
] }),
|
|
1423
|
-
B
|
|
1424
|
-
Q?.length
|
|
1423
|
+
B ? /* @__PURE__ */ m("p", { className: "text-md text-f1-foreground-secondary", children: B }) : null,
|
|
1424
|
+
Q?.length ? /* @__PURE__ */ m("ul", { className: "flex flex-col gap-2", children: Q.map((V, G) => /* @__PURE__ */ te("li", { className: "flex items-center gap-1", children: [
|
|
1425
1425
|
/* @__PURE__ */ m(PA, { className: "h-5 w-5 flex-shrink-0" }),
|
|
1426
1426
|
/* @__PURE__ */ te("span", { className: "text-md text-f1-foreground", children: [
|
|
1427
1427
|
V.noBoldText,
|
|
1428
1428
|
" ",
|
|
1429
1429
|
/* @__PURE__ */ m("strong", { children: V.boldText })
|
|
1430
1430
|
] })
|
|
1431
|
-
] }, G)) }),
|
|
1432
|
-
k?.length
|
|
1431
|
+
] }, G)) }) : null,
|
|
1432
|
+
k?.length ? /* @__PURE__ */ m("div", { className: "flex flex-col gap-3 pt-2", children: k.map((V, G) => /* @__PURE__ */ m(
|
|
1433
1433
|
VD,
|
|
1434
1434
|
{
|
|
1435
1435
|
action: V,
|
|
1436
1436
|
onClose: () => U(!1)
|
|
1437
1437
|
},
|
|
1438
1438
|
G
|
|
1439
|
-
)) })
|
|
1439
|
+
)) }) : null
|
|
1440
1440
|
] }) }),
|
|
1441
1441
|
/* @__PURE__ */ m("div", { className: "m-3 mt-2 flex-shrink-0", children: /* @__PURE__ */ m(RD, {}) })
|
|
1442
1442
|
] }) : null;
|
|
@@ -1609,7 +1609,7 @@ const LZ = ["sm", "md", "lg"], XZ = On(
|
|
|
1609
1609
|
u0[k]
|
|
1610
1610
|
),
|
|
1611
1611
|
children: [
|
|
1612
|
-
d0[k]
|
|
1612
|
+
d0[k] ? /* @__PURE__ */ m(ai, { icon: d0[k], size: "sm", "aria-hidden": !0 }) : null,
|
|
1613
1613
|
/* @__PURE__ */ m(
|
|
1614
1614
|
tg,
|
|
1615
1615
|
{
|
|
@@ -1620,7 +1620,7 @@ const LZ = ["sm", "md", "lg"], XZ = On(
|
|
|
1620
1620
|
]
|
|
1621
1621
|
}
|
|
1622
1622
|
),
|
|
1623
|
-
f
|
|
1623
|
+
f ? /* @__PURE__ */ m(
|
|
1624
1624
|
fi,
|
|
1625
1625
|
{
|
|
1626
1626
|
variant: "ghost",
|
|
@@ -1630,7 +1630,7 @@ const LZ = ["sm", "md", "lg"], XZ = On(
|
|
|
1630
1630
|
onClick: f,
|
|
1631
1631
|
label: "Close"
|
|
1632
1632
|
}
|
|
1633
|
-
)
|
|
1633
|
+
) : null
|
|
1634
1634
|
] }),
|
|
1635
1635
|
/* @__PURE__ */ te("div", { className: "flex flex-col gap-[1px]", children: [
|
|
1636
1636
|
/* @__PURE__ */ m(
|
|
@@ -1643,7 +1643,7 @@ const LZ = ["sm", "md", "lg"], XZ = On(
|
|
|
1643
1643
|
children: B
|
|
1644
1644
|
}
|
|
1645
1645
|
),
|
|
1646
|
-
r
|
|
1646
|
+
r ? /* @__PURE__ */ m("div", { className: "flex flex-row items-center justify-between gap-3 rounded-b-[13.25px] bg-f1-background px-4 py-3", children: Q.map((R, V) => /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m(
|
|
1647
1647
|
fi,
|
|
1648
1648
|
{
|
|
1649
1649
|
label: R.label,
|
|
@@ -1651,7 +1651,7 @@ const LZ = ["sm", "md", "lg"], XZ = On(
|
|
|
1651
1651
|
variant: "outline",
|
|
1652
1652
|
icon: R.icon
|
|
1653
1653
|
}
|
|
1654
|
-
) }, V)) })
|
|
1654
|
+
) }, V)) }) : null
|
|
1655
1655
|
] })
|
|
1656
1656
|
]
|
|
1657
1657
|
}
|
|
@@ -1683,7 +1683,7 @@ const LZ = ["sm", "md", "lg"], XZ = On(
|
|
|
1683
1683
|
] })
|
|
1684
1684
|
}
|
|
1685
1685
|
),
|
|
1686
|
-
|
|
1686
|
+
a ? null : /* @__PURE__ */ te("div", { className: "flex flex-row items-center justify-between gap-3 rounded-b-[13.25px] bg-f1-background px-4 py-3", children: [
|
|
1687
1687
|
/* @__PURE__ */ m(Ut, { className: "h-8 w-24 rounded-md" }),
|
|
1688
1688
|
/* @__PURE__ */ m(Ut, { className: "h-8 w-28 rounded-md" })
|
|
1689
1689
|
] })
|
|
@@ -1918,7 +1918,7 @@ const qZ = Ag(
|
|
|
1918
1918
|
}), we = eS({ state: C, hasCountdown: !!Ie }) && // In compact the state travels with the headline: the countdown became
|
|
1919
1919
|
// text above, and an in-progress row without a title already says so.
|
|
1920
1920
|
!(X && (C === "scheduled" || Ce)), fe = ke || !!j?.length, Ge = /* @__PURE__ */ te(Ii, { children: [
|
|
1921
|
-
ge
|
|
1921
|
+
ge ? /* @__PURE__ */ m(
|
|
1922
1922
|
th,
|
|
1923
1923
|
{
|
|
1924
1924
|
variant: "body",
|
|
@@ -1931,8 +1931,8 @@ const qZ = Ag(
|
|
|
1931
1931
|
C === "cancelled" && "line-through"
|
|
1932
1932
|
)
|
|
1933
1933
|
}
|
|
1934
|
-
),
|
|
1935
|
-
_e.length > 0
|
|
1934
|
+
) : null,
|
|
1935
|
+
_e.length > 0 ? /* @__PURE__ */ m(th, { variant: "description", content: _e.join(" · ") }) : null
|
|
1936
1936
|
] }), Ee = O && /* @__PURE__ */ m(
|
|
1937
1937
|
rS,
|
|
1938
1938
|
{
|
|
@@ -1952,7 +1952,7 @@ const qZ = Ag(
|
|
|
1952
1952
|
},
|
|
1953
1953
|
Ct.label
|
|
1954
1954
|
)),
|
|
1955
|
-
ke && Y
|
|
1955
|
+
ke && Y ? /* @__PURE__ */ m(sS, { join: Y, disabled: he }) : null
|
|
1956
1956
|
] });
|
|
1957
1957
|
return /* @__PURE__ */ m(
|
|
1958
1958
|
Rh,
|
|
@@ -1976,12 +1976,12 @@ const qZ = Ag(
|
|
|
1976
1976
|
Ee,
|
|
1977
1977
|
Xe
|
|
1978
1978
|
] }),
|
|
1979
|
-
fe
|
|
1979
|
+
fe ? /* @__PURE__ */ m("div", { className: "flex shrink-0 flex-row items-center gap-2", children: ft }) : null
|
|
1980
1980
|
] }) : /* @__PURE__ */ te(Ii, { children: [
|
|
1981
1981
|
/* @__PURE__ */ m("div", { className: "flex min-w-0 flex-col gap-0", children: Ge }),
|
|
1982
1982
|
Ee,
|
|
1983
1983
|
Xe,
|
|
1984
|
-
|
|
1984
|
+
fe || we ? /* @__PURE__ */ te(
|
|
1985
1985
|
"div",
|
|
1986
1986
|
{
|
|
1987
1987
|
className: Qe(
|
|
@@ -1990,10 +1990,10 @@ const qZ = Ag(
|
|
|
1990
1990
|
),
|
|
1991
1991
|
children: [
|
|
1992
1992
|
/* @__PURE__ */ m("div", { className: "flex flex-1 flex-row items-center gap-2", children: gt }),
|
|
1993
|
-
fe
|
|
1993
|
+
fe ? /* @__PURE__ */ m("div", { className: "flex flex-row items-center gap-2", children: ft }) : null
|
|
1994
1994
|
]
|
|
1995
1995
|
}
|
|
1996
|
-
)
|
|
1996
|
+
) : null
|
|
1997
1997
|
] })
|
|
1998
1998
|
}
|
|
1999
1999
|
);
|
|
@@ -26798,9 +26798,9 @@ const LI = /* @__PURE__ */ eD(mS), I1 = wi(
|
|
|
26798
26798
|
"aria-label": r.map.navigation,
|
|
26799
26799
|
className: "flex flex-col items-center gap-2",
|
|
26800
26800
|
children: [
|
|
26801
|
-
R
|
|
26801
|
+
R ? G(
|
|
26802
26802
|
/* @__PURE__ */ te(Ii, { children: [
|
|
26803
|
-
f
|
|
26803
|
+
f ? /* @__PURE__ */ m(
|
|
26804
26804
|
fi,
|
|
26805
26805
|
{
|
|
26806
26806
|
variant: "ghost",
|
|
@@ -26810,8 +26810,8 @@ const LI = /* @__PURE__ */ eD(mS), I1 = wi(
|
|
|
26810
26810
|
hideLabel: !0,
|
|
26811
26811
|
onClick: f
|
|
26812
26812
|
}
|
|
26813
|
-
),
|
|
26814
|
-
B
|
|
26813
|
+
) : null,
|
|
26814
|
+
B ? /* @__PURE__ */ m(
|
|
26815
26815
|
fi,
|
|
26816
26816
|
{
|
|
26817
26817
|
variant: "ghost",
|
|
@@ -26821,12 +26821,12 @@ const LI = /* @__PURE__ */ eD(mS), I1 = wi(
|
|
|
26821
26821
|
hideLabel: !0,
|
|
26822
26822
|
onClick: B
|
|
26823
26823
|
}
|
|
26824
|
-
)
|
|
26824
|
+
) : null
|
|
26825
26825
|
] })
|
|
26826
|
-
),
|
|
26827
|
-
V
|
|
26826
|
+
) : null,
|
|
26827
|
+
V ? G(
|
|
26828
26828
|
/* @__PURE__ */ te(Ii, { children: [
|
|
26829
|
-
a
|
|
26829
|
+
a ? /* @__PURE__ */ m(
|
|
26830
26830
|
fi,
|
|
26831
26831
|
{
|
|
26832
26832
|
variant: "ghost",
|
|
@@ -26836,8 +26836,8 @@ const LI = /* @__PURE__ */ eD(mS), I1 = wi(
|
|
|
26836
26836
|
hideLabel: !0,
|
|
26837
26837
|
onClick: a
|
|
26838
26838
|
}
|
|
26839
|
-
),
|
|
26840
|
-
C
|
|
26839
|
+
) : null,
|
|
26840
|
+
C ? /* @__PURE__ */ m(
|
|
26841
26841
|
fi,
|
|
26842
26842
|
{
|
|
26843
26843
|
variant: "ghost",
|
|
@@ -26847,9 +26847,9 @@ const LI = /* @__PURE__ */ eD(mS), I1 = wi(
|
|
|
26847
26847
|
hideLabel: !0,
|
|
26848
26848
|
onClick: C
|
|
26849
26849
|
}
|
|
26850
|
-
)
|
|
26850
|
+
) : null
|
|
26851
26851
|
] })
|
|
26852
|
-
)
|
|
26852
|
+
) : null
|
|
26853
26853
|
]
|
|
26854
26854
|
}
|
|
26855
26855
|
) });
|
|
@@ -26894,7 +26894,7 @@ const pS = (a, C) => {
|
|
|
26894
26894
|
R
|
|
26895
26895
|
),
|
|
26896
26896
|
children: [
|
|
26897
|
-
Q
|
|
26897
|
+
Q ? /* @__PURE__ */ m("h2", { className: "text-f1-foreground mb-2 text-base font-medium", children: K }) : null,
|
|
26898
26898
|
/* @__PURE__ */ m("ul", { className: Q ? "flex flex-col gap-0.5" : void 0, children: C.map((Y) => /* @__PURE__ */ m("li", { children: /* @__PURE__ */ m(
|
|
26899
26899
|
"button",
|
|
26900
26900
|
{
|
|
@@ -27190,7 +27190,7 @@ const A1 = {
|
|
|
27190
27190
|
}
|
|
27191
27191
|
) : ee
|
|
27192
27192
|
}
|
|
27193
|
-
), _e = /* @__PURE__ */ m(An, { children: Q
|
|
27193
|
+
), _e = /* @__PURE__ */ m(An, { children: Q ? /* @__PURE__ */ m(
|
|
27194
27194
|
zt.svg,
|
|
27195
27195
|
{
|
|
27196
27196
|
width: J.caretW,
|
|
@@ -27218,7 +27218,7 @@ const A1 = {
|
|
|
27218
27218
|
children: /* @__PURE__ */ m("path", { d: "M0 0h16c-4.2 3-6.6 6.9-7.4 11.7a0.62 0.62 0 0 1-1.2 0C6.6 6.9 4.2 3 0 0Z" })
|
|
27219
27219
|
},
|
|
27220
27220
|
"caret"
|
|
27221
|
-
) }), ke = /* @__PURE__ */ te(
|
|
27221
|
+
) : null }), ke = /* @__PURE__ */ te(
|
|
27222
27222
|
"span",
|
|
27223
27223
|
{
|
|
27224
27224
|
className: "relative inline-flex",
|
|
@@ -27538,7 +27538,7 @@ const y1 = F1, y0 = 4, U0 = 3, RS = 1.3, MS = 1.08, Q0 = "cubic-bezier(0.16, 1,
|
|
|
27538
27538
|
},
|
|
27539
27539
|
ue
|
|
27540
27540
|
)),
|
|
27541
|
-
j
|
|
27541
|
+
j ? (() => {
|
|
27542
27542
|
const [ye, ue] = q[K.length] ?? [0, 0];
|
|
27543
27543
|
return /* @__PURE__ */ te(
|
|
27544
27544
|
"span",
|
|
@@ -27567,7 +27567,7 @@ const y1 = F1, y0 = 4, U0 = 3, RS = 1.3, MS = 1.08, Q0 = "cubic-bezier(0.16, 1,
|
|
|
27567
27567
|
]
|
|
27568
27568
|
}
|
|
27569
27569
|
);
|
|
27570
|
-
})()
|
|
27570
|
+
})() : null
|
|
27571
27571
|
]
|
|
27572
27572
|
}
|
|
27573
27573
|
) });
|
|
@@ -28229,7 +28229,7 @@ const m2 = {
|
|
|
28229
28229
|
}
|
|
28230
28230
|
),
|
|
28231
28231
|
/* @__PURE__ */ m("div", { role: "status", "aria-live": "polite", className: "sr-only", children: `${C.length} ${C.length === 1 ? ge.map.location : ge.map.locations}` }),
|
|
28232
|
-
!we && ke && Wt
|
|
28232
|
+
!we && ke && Wt ? /* @__PURE__ */ te(Ii, { children: [
|
|
28233
28233
|
/* @__PURE__ */ m(
|
|
28234
28234
|
v1,
|
|
28235
28235
|
{
|
|
@@ -28238,8 +28238,8 @@ const m2 = {
|
|
|
28238
28238
|
}
|
|
28239
28239
|
),
|
|
28240
28240
|
/* @__PURE__ */ m("span", { className: "sr-only", children: ge.map.currentLocation })
|
|
28241
|
-
] }),
|
|
28242
|
-
!we && ke && Kt
|
|
28241
|
+
] }) : null,
|
|
28242
|
+
!we && ke && Kt ? /* @__PURE__ */ m(
|
|
28243
28243
|
LS,
|
|
28244
28244
|
{
|
|
28245
28245
|
map: ke,
|
|
@@ -28249,8 +28249,8 @@ const m2 = {
|
|
|
28249
28249
|
onRouteClick: Q,
|
|
28250
28250
|
onArcClick: k
|
|
28251
28251
|
}
|
|
28252
|
-
),
|
|
28253
|
-
!we && ke && C.length > 0
|
|
28252
|
+
) : null,
|
|
28253
|
+
!we && ke && C.length > 0 ? /* @__PURE__ */ m(
|
|
28254
28254
|
NS,
|
|
28255
28255
|
{
|
|
28256
28256
|
map: ke,
|
|
@@ -28259,8 +28259,8 @@ const m2 = {
|
|
|
28259
28259
|
highlightedId: V,
|
|
28260
28260
|
onSelect: at
|
|
28261
28261
|
}
|
|
28262
|
-
),
|
|
28263
|
-
!we && ke && $ && j
|
|
28262
|
+
) : null,
|
|
28263
|
+
!we && ke && $ && j ? /* @__PURE__ */ m(
|
|
28264
28264
|
"div",
|
|
28265
28265
|
{
|
|
28266
28266
|
className: Qe(
|
|
@@ -28278,8 +28278,8 @@ const m2 = {
|
|
|
28278
28278
|
}
|
|
28279
28279
|
)
|
|
28280
28280
|
}
|
|
28281
|
-
),
|
|
28282
|
-
Ge && !we
|
|
28281
|
+
) : null,
|
|
28282
|
+
Ge && !we ? /* @__PURE__ */ te("div", { className: "absolute inset-x-0 top-0 z-30 flex items-center justify-between gap-3 border-b border-solid border-f1-border-secondary bg-f1-background px-4 py-2 text-sm text-f1-foreground", children: [
|
|
28283
28283
|
/* @__PURE__ */ m("span", { children: ge.map.loadError }),
|
|
28284
28284
|
/* @__PURE__ */ m(
|
|
28285
28285
|
"button",
|
|
@@ -28293,7 +28293,7 @@ const m2 = {
|
|
|
28293
28293
|
children: ge.map.retry
|
|
28294
28294
|
}
|
|
28295
28295
|
)
|
|
28296
|
-
] }),
|
|
28296
|
+
] }) : null,
|
|
28297
28297
|
/* @__PURE__ */ m(
|
|
28298
28298
|
C1,
|
|
28299
28299
|
{
|
|
@@ -28447,14 +28447,14 @@ function y2({
|
|
|
28447
28447
|
}
|
|
28448
28448
|
),
|
|
28449
28449
|
/* @__PURE__ */ m(hd, { className: "h-full flex-1", children: /* @__PURE__ */ te("div", { className: "flex flex-col gap-1", children: [
|
|
28450
|
-
f
|
|
28450
|
+
f ? /* @__PURE__ */ m(
|
|
28451
28451
|
B2,
|
|
28452
28452
|
{
|
|
28453
28453
|
title: f.title,
|
|
28454
28454
|
onClick: f.onClick,
|
|
28455
28455
|
isActive: B === "current"
|
|
28456
28456
|
}
|
|
28457
|
-
),
|
|
28457
|
+
) : null,
|
|
28458
28458
|
C.map((Q) => /* @__PURE__ */ m(
|
|
28459
28459
|
F2,
|
|
28460
28460
|
{
|
|
@@ -28599,7 +28599,7 @@ const U2 = ({
|
|
|
28599
28599
|
C && R ? "bg-f1-background-selected-bold/10 transition-colors dark:bg-f1-background-selected-bold/20" : ""
|
|
28600
28600
|
),
|
|
28601
28601
|
children: [
|
|
28602
|
-
|
|
28602
|
+
G ? null : /* @__PURE__ */ m(
|
|
28603
28603
|
pr,
|
|
28604
28604
|
{
|
|
28605
28605
|
src: a.avatar,
|
|
@@ -28640,14 +28640,14 @@ const U2 = ({
|
|
|
28640
28640
|
)
|
|
28641
28641
|
}
|
|
28642
28642
|
),
|
|
28643
|
-
R && C
|
|
28643
|
+
R && C ? /* @__PURE__ */ m(
|
|
28644
28644
|
ai,
|
|
28645
28645
|
{
|
|
28646
28646
|
className: "text-f1-icon-selected",
|
|
28647
28647
|
icon: sy,
|
|
28648
28648
|
size: "md"
|
|
28649
28649
|
}
|
|
28650
|
-
)
|
|
28650
|
+
) : null
|
|
28651
28651
|
]
|
|
28652
28652
|
}
|
|
28653
28653
|
) });
|
|
@@ -28733,13 +28733,13 @@ const U2 = ({
|
|
|
28733
28733
|
},
|
|
28734
28734
|
className: "flex flex-1 flex-row items-center gap-2 rounded border px-2 py-1.5 focus-within:outline focus-within:outline-1 focus-within:-outline-offset-1 focus-within:outline-f1-border-selected-bold hover:cursor-pointer hover:bg-f1-background-hover",
|
|
28735
28735
|
children: [
|
|
28736
|
-
j
|
|
28736
|
+
j ? /* @__PURE__ */ m(
|
|
28737
28737
|
ai,
|
|
28738
28738
|
{
|
|
28739
28739
|
icon: P_,
|
|
28740
28740
|
className: "rounded-xs bg-f1-foreground-secondary text-f1-foreground-inverse"
|
|
28741
28741
|
}
|
|
28742
|
-
),
|
|
28742
|
+
) : null,
|
|
28743
28743
|
/* @__PURE__ */ te("div", { className: "flex flex-grow flex-row items-center gap-2 break-all", children: [
|
|
28744
28744
|
/* @__PURE__ */ m(
|
|
28745
28745
|
x1,
|
|
@@ -28771,7 +28771,7 @@ const U2 = ({
|
|
|
28771
28771
|
}
|
|
28772
28772
|
)
|
|
28773
28773
|
] }),
|
|
28774
|
-
!Y && !C
|
|
28774
|
+
!Y && !C ? /* @__PURE__ */ m("div", { className: "h-[1px] w-full bg-f1-border-secondary" }) : null
|
|
28775
28775
|
] });
|
|
28776
28776
|
};
|
|
28777
28777
|
Kc.displayName = "EntitySelectListItem";
|
|
@@ -28910,7 +28910,7 @@ const S0 = ({
|
|
|
28910
28910
|
onChange: (r) => C(r.target.value)
|
|
28911
28911
|
}
|
|
28912
28912
|
),
|
|
28913
|
-
a
|
|
28913
|
+
a ? /* @__PURE__ */ m(
|
|
28914
28914
|
ai,
|
|
28915
28915
|
{
|
|
28916
28916
|
icon: G_,
|
|
@@ -28918,7 +28918,7 @@ const S0 = ({
|
|
|
28918
28918
|
onClick: () => C(""),
|
|
28919
28919
|
className: "cursor-pointer text-f1-icon-secondary"
|
|
28920
28920
|
}
|
|
28921
|
-
)
|
|
28921
|
+
) : null
|
|
28922
28922
|
] }), Sf = 384, Rf = 36, v2 = 37, R0 = 1, M0 = 200, P0 = '[data-avatarname-navigator-element="true"]', b2 = ({
|
|
28923
28923
|
groupView: a,
|
|
28924
28924
|
entities: C,
|
|
@@ -29240,7 +29240,7 @@ const S0 = ({
|
|
|
29240
29240
|
goToLast: he
|
|
29241
29241
|
}
|
|
29242
29242
|
) }),
|
|
29243
|
-
f && f.length > 1
|
|
29243
|
+
f && f.length > 1 ? /* @__PURE__ */ m("div", { className: "flex-1", children: /* @__PURE__ */ m(
|
|
29244
29244
|
tC,
|
|
29245
29245
|
{
|
|
29246
29246
|
label: "Group",
|
|
@@ -29254,7 +29254,7 @@ const S0 = ({
|
|
|
29254
29254
|
B === "all" ? "text-f1-foreground-secondary" : ""
|
|
29255
29255
|
)
|
|
29256
29256
|
}
|
|
29257
|
-
) })
|
|
29257
|
+
) }) : null
|
|
29258
29258
|
]
|
|
29259
29259
|
}
|
|
29260
29260
|
),
|
|
@@ -29266,8 +29266,8 @@ const S0 = ({
|
|
|
29266
29266
|
$e ? "" : "rounded-b-xl border-r-0"
|
|
29267
29267
|
),
|
|
29268
29268
|
children: [
|
|
29269
|
-
O
|
|
29270
|
-
!O && !_e
|
|
29269
|
+
O ? /* @__PURE__ */ m("div", { className: "flex h-full w-full flex-row items-center justify-center", children: /* @__PURE__ */ m(OA, {}) }) : null,
|
|
29270
|
+
!O && !_e ? /* @__PURE__ */ te(
|
|
29271
29271
|
"div",
|
|
29272
29272
|
{
|
|
29273
29273
|
className: "absolute flex w-full flex-col items-center justify-center gap-0.5 p-5",
|
|
@@ -29279,8 +29279,8 @@ const S0 = ({
|
|
|
29279
29279
|
/* @__PURE__ */ m("span", { className: "text-center text-f1-foreground-secondary", children: ae })
|
|
29280
29280
|
]
|
|
29281
29281
|
}
|
|
29282
|
-
),
|
|
29283
|
-
!O && (
|
|
29282
|
+
) : null,
|
|
29283
|
+
!O && (_e || Ie) ? /* @__PURE__ */ m("div", { className: "h-full", children: a ? /* @__PURE__ */ m(
|
|
29284
29284
|
sh,
|
|
29285
29285
|
{
|
|
29286
29286
|
height: Sf,
|
|
@@ -29303,7 +29303,7 @@ const S0 = ({
|
|
|
29303
29303
|
renderer: Ge,
|
|
29304
29304
|
ref: Ce
|
|
29305
29305
|
}
|
|
29306
|
-
) })
|
|
29306
|
+
) }) : null
|
|
29307
29307
|
]
|
|
29308
29308
|
}
|
|
29309
29309
|
),
|
|
@@ -29391,11 +29391,11 @@ const S0 = ({
|
|
|
29391
29391
|
});
|
|
29392
29392
|
}, [a, B]), R = r.length;
|
|
29393
29393
|
return /* @__PURE__ */ te("div", { className: "w-full flex-col rounded-r-xl", children: [
|
|
29394
|
-
/* @__PURE__ */ m("div", { className: "flex h-[48px] rounded-tr-xl border-0 border-b-[1px] border-solid border-f1-border-secondary bg-f1-background/30 p-3 backdrop-blur-2xl", children: Q
|
|
29394
|
+
/* @__PURE__ */ m("div", { className: "flex h-[48px] rounded-tr-xl border-0 border-b-[1px] border-solid border-f1-border-secondary bg-f1-background/30 p-3 backdrop-blur-2xl", children: Q ? /* @__PURE__ */ te("span", { className: "my-auto text-f1-foreground-secondary", children: [
|
|
29395
29395
|
R,
|
|
29396
29396
|
" ",
|
|
29397
29397
|
Q
|
|
29398
|
-
] }) }),
|
|
29398
|
+
] }) : null }),
|
|
29399
29399
|
/* @__PURE__ */ m("div", { className: "flex flex-col gap-3 rounded-br-xl bg-f1-background pb-0 pl-2", children: /* @__PURE__ */ m(
|
|
29400
29400
|
sh,
|
|
29401
29401
|
{
|
|
@@ -29472,7 +29472,7 @@ const S0 = ({
|
|
|
29472
29472
|
)
|
|
29473
29473
|
}
|
|
29474
29474
|
),
|
|
29475
|
-
X
|
|
29475
|
+
X ? /* @__PURE__ */ m(
|
|
29476
29476
|
"div",
|
|
29477
29477
|
{
|
|
29478
29478
|
className: "min-h-0",
|
|
@@ -29492,7 +29492,7 @@ const S0 = ({
|
|
|
29492
29492
|
}
|
|
29493
29493
|
)
|
|
29494
29494
|
}
|
|
29495
|
-
)
|
|
29495
|
+
) : null
|
|
29496
29496
|
]
|
|
29497
29497
|
}
|
|
29498
29498
|
);
|
|
@@ -30030,7 +30030,7 @@ const M2 = ({
|
|
|
30030
30030
|
),
|
|
30031
30031
|
/* @__PURE__ */ m("div", { className: "mt-1.5 flex flex-row", children: /* @__PURE__ */ m("p", { className: "text-f1-foreground-secondary", children: `${k} · ${K}` }) })
|
|
30032
30032
|
] }),
|
|
30033
|
-
/* @__PURE__ */ m("div", { className: "ml-1", children: U
|
|
30033
|
+
/* @__PURE__ */ m("div", { className: "ml-1", children: U ? /* @__PURE__ */ m("div", { className: "mt-1.5 size-2 rounded-full bg-f1-icon-accent" }) : null })
|
|
30034
30034
|
]
|
|
30035
30035
|
}
|
|
30036
30036
|
);
|
|
@@ -30093,9 +30093,9 @@ const M2 = ({
|
|
|
30093
30093
|
onItemVisible: R
|
|
30094
30094
|
}
|
|
30095
30095
|
),
|
|
30096
|
-
Y !== V.length - 1
|
|
30096
|
+
Y !== V.length - 1 ? /* @__PURE__ */ m(Ch, {}) : null
|
|
30097
30097
|
] }, G)),
|
|
30098
|
-
C
|
|
30098
|
+
C ? new Array(E2).fill(null).map((G, K) => /* @__PURE__ */ m(Xh.Skeleton, {}, K)) : null
|
|
30099
30099
|
] });
|
|
30100
30100
|
}, K2 = () => {
|
|
30101
30101
|
const a = Vt();
|
|
@@ -30157,13 +30157,13 @@ function z2({
|
|
|
30157
30157
|
)]
|
|
30158
30158
|
),
|
|
30159
30159
|
children: [
|
|
30160
|
-
f
|
|
30160
|
+
f ? /* @__PURE__ */ m(
|
|
30161
30161
|
"div",
|
|
30162
30162
|
{
|
|
30163
30163
|
className: "absolute inset-0 bg-cover bg-center bg-no-repeat opacity-10",
|
|
30164
30164
|
style: { backgroundImage: `url("${f}")` }
|
|
30165
30165
|
}
|
|
30166
|
-
),
|
|
30166
|
+
) : null,
|
|
30167
30167
|
/* @__PURE__ */ m("div", { className: "relative flex h-full w-full items-center justify-center overflow-hidden rounded-md backdrop-blur", children: /* @__PURE__ */ te("div", { className: "relative h-fit w-fit", children: [
|
|
30168
30168
|
/* @__PURE__ */ m(
|
|
30169
30169
|
"div",
|
|
@@ -30182,7 +30182,7 @@ function z2({
|
|
|
30182
30182
|
)
|
|
30183
30183
|
}
|
|
30184
30184
|
),
|
|
30185
|
-
B
|
|
30185
|
+
B ? /* @__PURE__ */ m(
|
|
30186
30186
|
"div",
|
|
30187
30187
|
{
|
|
30188
30188
|
ref: U,
|
|
@@ -30200,7 +30200,7 @@ function z2({
|
|
|
30200
30200
|
}
|
|
30201
30201
|
)
|
|
30202
30202
|
}
|
|
30203
|
-
)
|
|
30203
|
+
) : null
|
|
30204
30204
|
] }) })
|
|
30205
30205
|
]
|
|
30206
30206
|
}
|
|
@@ -30409,7 +30409,7 @@ function j2({
|
|
|
30409
30409
|
}
|
|
30410
30410
|
function L2({ items: a, onInteraction: C, locale: f, action: B }) {
|
|
30411
30411
|
return /* @__PURE__ */ te("div", { className: "flex flex-wrap gap-2", children: [
|
|
30412
|
-
B
|
|
30412
|
+
B ? /* @__PURE__ */ m(
|
|
30413
30413
|
fi,
|
|
30414
30414
|
{
|
|
30415
30415
|
label: B.label,
|
|
@@ -30418,7 +30418,7 @@ function L2({ items: a, onInteraction: C, locale: f, action: B }) {
|
|
|
30418
30418
|
variant: "outline",
|
|
30419
30419
|
hideLabel: !0
|
|
30420
30420
|
}
|
|
30421
|
-
),
|
|
30421
|
+
) : null,
|
|
30422
30422
|
/* @__PURE__ */ m(Ny, { onSelect: C, locale: f }),
|
|
30423
30423
|
a.map((Q) => /* @__PURE__ */ m(
|
|
30424
30424
|
j2,
|
|
@@ -30505,7 +30505,7 @@ const q2 = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
|
|
|
30505
30505
|
ref: Y,
|
|
30506
30506
|
className: "relative flex flex-row items-stretch gap-2.5 overflow-hidden rounded-sm p-2",
|
|
30507
30507
|
children: [
|
|
30508
|
-
|
|
30508
|
+
K ? null : /* @__PURE__ */ te(Ii, { children: [
|
|
30509
30509
|
/* @__PURE__ */ m(
|
|
30510
30510
|
"div",
|
|
30511
30511
|
{
|
|
@@ -30545,15 +30545,15 @@ const q2 = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
|
|
|
30545
30545
|
/* @__PURE__ */ te("div", { className: "z-10 flex flex-1 flex-col gap-2", children: [
|
|
30546
30546
|
/* @__PURE__ */ te("div", { className: "flex flex-row items-start gap-2.5", children: [
|
|
30547
30547
|
/* @__PURE__ */ te("div", { className: "flex flex-1 flex-col gap-0.5", children: [
|
|
30548
|
-
|
|
30548
|
+
C ? /* @__PURE__ */ m("p", { className: "line-clamp-1 text-sm text-f1-foreground-secondary", children: C }) : null,
|
|
30549
30549
|
/* @__PURE__ */ te("p", { className: "line-clamp-3 font-medium text-f1-foreground", children: [
|
|
30550
30550
|
f,
|
|
30551
|
-
|
|
30551
|
+
B ? /* @__PURE__ */ m("span", { className: "pl-1 font-normal text-f1-foreground-secondary", children: `· ${B}` }) : null
|
|
30552
30552
|
] }),
|
|
30553
30553
|
/* @__PURE__ */ m("p", { className: "text-f1-foreground-secondary", children: Q })
|
|
30554
30554
|
] }),
|
|
30555
30555
|
/* @__PURE__ */ te("div", { className: "flex flex-row items-center", children: [
|
|
30556
|
-
V
|
|
30556
|
+
V ? /* @__PURE__ */ te(Ii, { children: [
|
|
30557
30557
|
/* @__PURE__ */ m(nh, { date: V }),
|
|
30558
30558
|
/* @__PURE__ */ m(
|
|
30559
30559
|
ai,
|
|
@@ -30563,14 +30563,14 @@ const q2 = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
|
|
|
30563
30563
|
className: "text-f1-foreground-tertiary"
|
|
30564
30564
|
}
|
|
30565
30565
|
)
|
|
30566
|
-
] }),
|
|
30567
|
-
G
|
|
30566
|
+
] }) : null,
|
|
30567
|
+
G ? /* @__PURE__ */ m(nh, { date: G }) : null
|
|
30568
30568
|
] })
|
|
30569
30569
|
] }),
|
|
30570
|
-
|
|
30571
|
-
r
|
|
30572
|
-
R
|
|
30573
|
-
] })
|
|
30570
|
+
r || R ? /* @__PURE__ */ te("div", { className: "flex flex-row items-center justify-between", children: [
|
|
30571
|
+
r ? /* @__PURE__ */ m(N0, { tags: r }) : null,
|
|
30572
|
+
R ? /* @__PURE__ */ m(N0, { tags: R, right: !0 }) : null
|
|
30573
|
+
] }) : null
|
|
30574
30574
|
] })
|
|
30575
30575
|
]
|
|
30576
30576
|
}
|
|
@@ -30595,7 +30595,7 @@ const q2 = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
|
|
|
30595
30595
|
r.stopPropagation();
|
|
30596
30596
|
};
|
|
30597
30597
|
return f && (k = `${k} · ${f}`), /* @__PURE__ */ te("div", { className: "flex w-full flex-col gap-1 rounded-xl border border-solid border-f1-border-secondary bg-f1-background-inverse-secondary p-1 shadow dark:bg-f1-background-tertiary", children: [
|
|
30598
|
-
C
|
|
30598
|
+
C ? /* @__PURE__ */ m("div", { className: "relative aspect-video w-full overflow-hidden rounded-md", children: R1(C) ? /* @__PURE__ */ m(
|
|
30599
30599
|
"video",
|
|
30600
30600
|
{
|
|
30601
30601
|
controls: !0,
|
|
@@ -30614,7 +30614,7 @@ const q2 = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
|
|
|
30614
30614
|
}
|
|
30615
30615
|
),
|
|
30616
30616
|
/* @__PURE__ */ m(Ut, { className: "absolute inset-0 h-full w-full" })
|
|
30617
|
-
] }) }),
|
|
30617
|
+
] }) }) : null,
|
|
30618
30618
|
/* @__PURE__ */ m(
|
|
30619
30619
|
ad,
|
|
30620
30620
|
{
|
|
@@ -30803,14 +30803,14 @@ const q2 = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
|
|
|
30803
30803
|
},
|
|
30804
30804
|
Xe.label
|
|
30805
30805
|
)),
|
|
30806
|
-
X?.length
|
|
30806
|
+
X?.length ? /* @__PURE__ */ m(
|
|
30807
30807
|
hr,
|
|
30808
30808
|
{
|
|
30809
30809
|
items: X,
|
|
30810
30810
|
icon: gh,
|
|
30811
30811
|
size: "sm"
|
|
30812
30812
|
}
|
|
30813
|
-
)
|
|
30813
|
+
) : null
|
|
30814
30814
|
] }),
|
|
30815
30815
|
/* @__PURE__ */ m("div", { className: "md:hidden", children: /* @__PURE__ */ m(
|
|
30816
30816
|
hr,
|
|
@@ -30839,7 +30839,7 @@ const q2 = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
|
|
|
30839
30839
|
children: Q
|
|
30840
30840
|
}
|
|
30841
30841
|
),
|
|
30842
|
-
k
|
|
30842
|
+
k ? /* @__PURE__ */ te(Ii, { children: [
|
|
30843
30843
|
/* @__PURE__ */ m(
|
|
30844
30844
|
qh,
|
|
30845
30845
|
{
|
|
@@ -30851,7 +30851,7 @@ const q2 = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
|
|
|
30851
30851
|
className: Qe(Ce && $i())
|
|
30852
30852
|
}
|
|
30853
30853
|
),
|
|
30854
|
-
q && !$ && O && !Ce
|
|
30854
|
+
q && !$ && O && !Ce ? /* @__PURE__ */ m(
|
|
30855
30855
|
iR,
|
|
30856
30856
|
{
|
|
30857
30857
|
describedBy: ae,
|
|
@@ -30859,51 +30859,53 @@ const q2 = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
|
|
|
30859
30859
|
expanded: Ce,
|
|
30860
30860
|
onClick: Ee
|
|
30861
30861
|
}
|
|
30862
|
-
)
|
|
30863
|
-
] })
|
|
30862
|
+
) : null
|
|
30863
|
+
] }) : null
|
|
30864
30864
|
] }),
|
|
30865
|
-
r && !R
|
|
30866
|
-
|
|
30867
|
-
|
|
30868
|
-
|
|
30869
|
-
|
|
30870
|
-
|
|
30871
|
-
|
|
30872
|
-
|
|
30873
|
-
|
|
30874
|
-
|
|
30875
|
-
|
|
30876
|
-
|
|
30877
|
-
|
|
30878
|
-
|
|
30879
|
-
|
|
30880
|
-
|
|
30881
|
-
|
|
30882
|
-
|
|
30883
|
-
|
|
30884
|
-
|
|
30885
|
-
"video",
|
|
30886
|
-
|
|
30887
|
-
controls: !0,
|
|
30888
|
-
className: "aspect-video h-full w-full bg-f1-background-secondary object-cover",
|
|
30889
|
-
onClick: fe,
|
|
30890
|
-
children: /* @__PURE__ */ m("source", { src: r })
|
|
30891
|
-
}
|
|
30892
|
-
) : /* @__PURE__ */ te(Ii, { children: [
|
|
30893
|
-
/* @__PURE__ */ m(
|
|
30894
|
-
"img",
|
|
30865
|
+
r && !R ? (
|
|
30866
|
+
// FILLS THE POST, UP TO THE READING COLUMN. The old 480px cap dated
|
|
30867
|
+
// from when the avatar's gutter took a chunk of the card and the media
|
|
30868
|
+
// sat in what was left; with the body starting at the card's own edge it
|
|
30869
|
+
// left a third of a wide post empty while the text beside it ran full
|
|
30870
|
+
// width. But uncapped is the other mistake — `aspect-video` means every
|
|
30871
|
+
// pixel of extra width buys 9/16 of a pixel of height, so on a wide
|
|
30872
|
+
// surface the picture simply swallows the post.
|
|
30873
|
+
//
|
|
30874
|
+
// `max-w-content` (712px) is f0's reading column — the measure the Home
|
|
30875
|
+
// layout gives its main column and the chat gives its messages — so the
|
|
30876
|
+
// media stops where the text would.
|
|
30877
|
+
//
|
|
30878
|
+
// The cap only applies once there is enough room for it to READ as a
|
|
30879
|
+
// cap. Between 712 and 744px it would leave a sliver of empty card
|
|
30880
|
+
// beside the picture, which looks like a bug rather than a decision, so
|
|
30881
|
+
// below 744 (the column plus 32px) the media simply fills the width.
|
|
30882
|
+
// A CONTAINER query, not a viewport one: what the media has to fit is
|
|
30883
|
+
// the post's own box — a card in a rail, a dialog, a feed — and the
|
|
30884
|
+
// window's width says nothing about it.
|
|
30885
|
+
/* @__PURE__ */ m("div", { className: "relative aspect-video w-full overflow-hidden rounded-xl @[744px]:max-w-content", children: R1(r) ? /* @__PURE__ */ m(
|
|
30886
|
+
"video",
|
|
30895
30887
|
{
|
|
30896
|
-
|
|
30897
|
-
|
|
30898
|
-
|
|
30899
|
-
|
|
30888
|
+
controls: !0,
|
|
30889
|
+
className: "aspect-video h-full w-full bg-f1-background-secondary object-cover",
|
|
30890
|
+
onClick: fe,
|
|
30891
|
+
children: /* @__PURE__ */ m("source", { src: r })
|
|
30900
30892
|
}
|
|
30901
|
-
),
|
|
30902
|
-
|
|
30903
|
-
|
|
30904
|
-
|
|
30893
|
+
) : /* @__PURE__ */ te(Ii, { children: [
|
|
30894
|
+
/* @__PURE__ */ m(
|
|
30895
|
+
"img",
|
|
30896
|
+
{
|
|
30897
|
+
src: r,
|
|
30898
|
+
role: "presentation",
|
|
30899
|
+
loading: "lazy",
|
|
30900
|
+
className: "aspect-video h-full w-full object-cover"
|
|
30901
|
+
}
|
|
30902
|
+
),
|
|
30903
|
+
/* @__PURE__ */ m(Ut, { className: "absolute inset-0 -z-10 h-full w-full" })
|
|
30904
|
+
] }) })
|
|
30905
|
+
) : null,
|
|
30906
|
+
R ? /* @__PURE__ */ m("div", { className: "w-full @[744px]:max-w-content", children: /* @__PURE__ */ m(M1, { ...R }) }) : null,
|
|
30905
30907
|
/* @__PURE__ */ m("p", { className: "text-f1-foreground-secondary", children: ge }),
|
|
30906
|
-
|
|
30908
|
+
J ? null : /* @__PURE__ */ m(
|
|
30907
30909
|
X2,
|
|
30908
30910
|
{
|
|
30909
30911
|
items: G?.items ?? [],
|
|
@@ -30931,8 +30933,8 @@ const q2 = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
|
|
|
30931
30933
|
] }),
|
|
30932
30934
|
/* @__PURE__ */ m(Ut, { className: "mt-3.5 h-3.5 w-1/5 rounded-2xs" }),
|
|
30933
30935
|
/* @__PURE__ */ m("div", { className: "mt-3", children: /* @__PURE__ */ m(qh.Skeleton, {}) }),
|
|
30934
|
-
C && !a
|
|
30935
|
-
a
|
|
30936
|
+
C && !a ? /* @__PURE__ */ m("div", { className: "mt-3 aspect-video w-full overflow-hidden rounded-xl md:w-2/3", children: /* @__PURE__ */ m(Ut, { className: "h-full w-full rounded-2xs" }) }) : null,
|
|
30937
|
+
a ? /* @__PURE__ */ m("div", { className: "mt-3 w-full md:w-2/3", children: /* @__PURE__ */ m(M1.Skeleton, {}) }) : null,
|
|
30936
30938
|
/* @__PURE__ */ te("div", { className: "mt-3 flex flex-row items-center gap-1 py-1", children: [
|
|
30937
30939
|
/* @__PURE__ */ m(Ut, { className: "h-2.5 w-14 rounded-2xs" }),
|
|
30938
30940
|
/* @__PURE__ */ m(Ut, { className: "h-2.5 w-14 rounded-2xs" })
|
|
@@ -31204,25 +31206,25 @@ const q2 = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
|
|
|
31204
31206
|
/* @__PURE__ */ te("div", { className: "flex flex-1 flex-col", children: [
|
|
31205
31207
|
/* @__PURE__ */ te("div", { className: "flex flex-1 flex-row items-center gap-1", children: [
|
|
31206
31208
|
/* @__PURE__ */ m("span", { className: "truncate font-medium", children: `${a.firstName} ${a.lastName}` }),
|
|
31207
|
-
f.info
|
|
31209
|
+
f.info ? /* @__PURE__ */ m(Na, { label: f.info, children: /* @__PURE__ */ m(
|
|
31208
31210
|
ai,
|
|
31209
31211
|
{
|
|
31210
31212
|
icon: ry,
|
|
31211
31213
|
size: "sm",
|
|
31212
31214
|
className: "text-f1-icon-secondary"
|
|
31213
31215
|
}
|
|
31214
|
-
) })
|
|
31216
|
+
) }) : null
|
|
31215
31217
|
] }),
|
|
31216
|
-
"bottomTags" in f
|
|
31218
|
+
"bottomTags" in f ? /* @__PURE__ */ m("div", { className: "-ml-1.5 flex flex-row items-center [&>div]:-mr-1", children: f.bottomTags.map((k, U) => /* @__PURE__ */ te(Ii, { children: [
|
|
31217
31219
|
/* @__PURE__ */ m(iC, { ...k }, k.text),
|
|
31218
|
-
U < f.bottomTags.length - 1
|
|
31219
|
-
] })) }),
|
|
31220
|
-
"description" in f && f.description
|
|
31220
|
+
U < f.bottomTags.length - 1 ? /* @__PURE__ */ m("span", { children: "·" }) : null
|
|
31221
|
+
] })) }) : null,
|
|
31222
|
+
"description" in f && f.description ? /* @__PURE__ */ m("p", { className: "truncate text-f1-foreground-secondary", children: f.description }) : null
|
|
31221
31223
|
] }),
|
|
31222
31224
|
/* @__PURE__ */ te("div", { className: "flex flex-row items-center justify-between gap-2", children: [
|
|
31223
|
-
"rightTag" in f && f.rightTag
|
|
31224
|
-
"actions" in f
|
|
31225
|
-
f.actions?.primary
|
|
31225
|
+
"rightTag" in f && f.rightTag ? /* @__PURE__ */ m(q_, { ...f.rightTag }) : null,
|
|
31226
|
+
"actions" in f ? /* @__PURE__ */ te("div", { className: "flex flex-1 flex-row items-center justify-end gap-2", children: [
|
|
31227
|
+
f.actions?.primary ? /* @__PURE__ */ m(
|
|
31226
31228
|
fi,
|
|
31227
31229
|
{
|
|
31228
31230
|
variant: "outline",
|
|
@@ -31230,8 +31232,8 @@ const q2 = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
|
|
|
31230
31232
|
label: f.actions.primary.label,
|
|
31231
31233
|
icon: f.actions.primary.icon
|
|
31232
31234
|
}
|
|
31233
|
-
),
|
|
31234
|
-
f.actions?.secondary
|
|
31235
|
+
) : null,
|
|
31236
|
+
f.actions?.secondary ? /* @__PURE__ */ m(
|
|
31235
31237
|
fi,
|
|
31236
31238
|
{
|
|
31237
31239
|
variant: "outline",
|
|
@@ -31240,8 +31242,8 @@ const q2 = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
|
|
|
31240
31242
|
icon: f.actions.secondary.icon,
|
|
31241
31243
|
hideLabel: !0
|
|
31242
31244
|
}
|
|
31243
|
-
)
|
|
31244
|
-
] })
|
|
31245
|
+
) : null
|
|
31246
|
+
] }) : null
|
|
31245
31247
|
] })
|
|
31246
31248
|
]
|
|
31247
31249
|
}
|
|
@@ -31408,7 +31410,7 @@ function BR({
|
|
|
31408
31410
|
children: /* @__PURE__ */ te("div", { className: "scrollbar-macos grid h-screen w-full max-w-full grid-cols-1 grid-rows-[auto_minmax(0,1fr)] overflow-hidden", children: [
|
|
31409
31411
|
/* @__PURE__ */ m("div", { className: "col-[1/-1]", children: Q }),
|
|
31410
31412
|
/* @__PURE__ */ m(Fd, { id: "ai-chat-group", children: /* @__PURE__ */ te("div", { className: "relative isolate flex h-full", children: [
|
|
31411
|
-
/* @__PURE__ */ m(An, { children: k === "unlocked"
|
|
31413
|
+
/* @__PURE__ */ m(An, { children: k === "unlocked" ? /* @__PURE__ */ m(
|
|
31412
31414
|
zt.nav,
|
|
31413
31415
|
{
|
|
31414
31416
|
className: Qe(
|
|
@@ -31421,7 +31423,7 @@ function BR({
|
|
|
31421
31423
|
transition: { duration: V ? 0 : 0.2 },
|
|
31422
31424
|
onClick: () => U()
|
|
31423
31425
|
}
|
|
31424
|
-
) }),
|
|
31426
|
+
) : null }),
|
|
31425
31427
|
/* @__PURE__ */ te(
|
|
31426
31428
|
"div",
|
|
31427
31429
|
{
|
|
@@ -31484,7 +31486,7 @@ function BR({
|
|
|
31484
31486
|
)
|
|
31485
31487
|
}
|
|
31486
31488
|
),
|
|
31487
|
-
a?.enabled && se && Y
|
|
31489
|
+
a?.enabled && se && Y ? /* @__PURE__ */ m(
|
|
31488
31490
|
zt.div,
|
|
31489
31491
|
{
|
|
31490
31492
|
className: Qe(
|
|
@@ -31512,8 +31514,8 @@ function BR({
|
|
|
31512
31514
|
}
|
|
31513
31515
|
)
|
|
31514
31516
|
}
|
|
31515
|
-
),
|
|
31516
|
-
a?.enabled
|
|
31517
|
+
) : null,
|
|
31518
|
+
a?.enabled ? (() => {
|
|
31517
31519
|
const Pe = (Oe, at, At) => /* @__PURE__ */ m(
|
|
31518
31520
|
zt.div,
|
|
31519
31521
|
{
|
|
@@ -31556,17 +31558,17 @@ function BR({
|
|
|
31556
31558
|
!_e || !ke,
|
|
31557
31559
|
/* @__PURE__ */ m(nk, {})
|
|
31558
31560
|
),
|
|
31559
|
-
_e
|
|
31561
|
+
_e ? Pe(
|
|
31560
31562
|
ae,
|
|
31561
31563
|
ke,
|
|
31562
31564
|
/* @__PURE__ */ m(cR, {})
|
|
31563
|
-
)
|
|
31565
|
+
) : null
|
|
31564
31566
|
] });
|
|
31565
|
-
})()
|
|
31567
|
+
})() : null
|
|
31566
31568
|
]
|
|
31567
31569
|
}
|
|
31568
31570
|
),
|
|
31569
|
-
C?.enabled
|
|
31571
|
+
C?.enabled ? /* @__PURE__ */ m(TD, {}) : null
|
|
31570
31572
|
] }) })
|
|
31571
31573
|
] })
|
|
31572
31574
|
}
|
|
@@ -31738,9 +31740,9 @@ function T1({
|
|
|
31738
31740
|
className: `relative flex w-full flex-col overflow-hidden border border-solid border-f1-border-secondary ${B ? "" : "xs:rounded-xl"} bg-f1-special-page shadow`,
|
|
31739
31741
|
children: [
|
|
31740
31742
|
/* @__PURE__ */ m("div", { className: FR({ period: f }) }),
|
|
31741
|
-
C
|
|
31743
|
+
C ? /* @__PURE__ */ te("div", { className: "flex flex-row items-center justify-between pr-6 @container", children: [
|
|
31742
31744
|
/* @__PURE__ */ te("div", { className: "flex flex-row items-center gap-2 px-5 py-4 @5xl:px-page", children: [
|
|
31743
|
-
|
|
31745
|
+
r || k === "hidden" ? /* @__PURE__ */ m(
|
|
31744
31746
|
fi,
|
|
31745
31747
|
{
|
|
31746
31748
|
variant: "ghost",
|
|
@@ -31749,7 +31751,7 @@ function T1({
|
|
|
31749
31751
|
icon: _h,
|
|
31750
31752
|
hideLabel: !0
|
|
31751
31753
|
}
|
|
31752
|
-
),
|
|
31754
|
+
) : null,
|
|
31753
31755
|
/* @__PURE__ */ te(
|
|
31754
31756
|
"div",
|
|
31755
31757
|
{
|
|
@@ -31787,7 +31789,7 @@ function T1({
|
|
|
31787
31789
|
children: C.title
|
|
31788
31790
|
}
|
|
31789
31791
|
),
|
|
31790
|
-
C.description
|
|
31792
|
+
C.description ? /* @__PURE__ */ m(
|
|
31791
31793
|
"p",
|
|
31792
31794
|
{
|
|
31793
31795
|
className: Qe(
|
|
@@ -31796,17 +31798,17 @@ function T1({
|
|
|
31796
31798
|
),
|
|
31797
31799
|
children: C.description
|
|
31798
31800
|
}
|
|
31799
|
-
)
|
|
31801
|
+
) : null
|
|
31800
31802
|
] })
|
|
31801
31803
|
]
|
|
31802
31804
|
}
|
|
31803
31805
|
)
|
|
31804
31806
|
] }),
|
|
31805
31807
|
/* @__PURE__ */ te("div", { children: [
|
|
31806
|
-
|
|
31808
|
+
Q ? null : /* @__PURE__ */ m(xh, {}),
|
|
31807
31809
|
/* @__PURE__ */ m(Ly, {})
|
|
31808
31810
|
] })
|
|
31809
|
-
] }),
|
|
31811
|
+
] }) : null,
|
|
31810
31812
|
/* @__PURE__ */ m(
|
|
31811
31813
|
"div",
|
|
31812
31814
|
{
|
|
@@ -31852,7 +31854,7 @@ function UR({ label: a, options: C, hasNewUpdate: f }) {
|
|
|
31852
31854
|
"aria-label": a,
|
|
31853
31855
|
children: [
|
|
31854
31856
|
/* @__PURE__ */ m(ai, { icon: py, size: "sm" }),
|
|
31855
|
-
f
|
|
31857
|
+
f ? /* @__PURE__ */ m("div", { className: "absolute right-0.5 top-0.5 h-1.5 w-1.5 rounded-full bg-f1-background-critical-bold ring-2 ring-f1-background-critical" }) : null
|
|
31856
31858
|
]
|
|
31857
31859
|
}
|
|
31858
31860
|
) })
|
|
@@ -31871,7 +31873,7 @@ function N1({ children: a, header: C, embedded: f = !1 }) {
|
|
|
31871
31873
|
!f && "xs:rounded-xl"
|
|
31872
31874
|
),
|
|
31873
31875
|
children: [
|
|
31874
|
-
C
|
|
31876
|
+
C ? /* @__PURE__ */ m("div", { className: "flex flex-col", children: C }) : null,
|
|
31875
31877
|
/* @__PURE__ */ m("div", { className: "isolate flex w-full flex-1 flex-col overflow-auto [&>*]:flex-1", children: a }),
|
|
31876
31878
|
/* @__PURE__ */ m(
|
|
31877
31879
|
"div",
|
|
@@ -32016,7 +32018,7 @@ const hK = On(gn("Page", N1)), QR = (a) => a.reduce(
|
|
|
32016
32018
|
children: /* @__PURE__ */ m(ai, { icon: yd, size: "xs" })
|
|
32017
32019
|
}
|
|
32018
32020
|
),
|
|
32019
|
-
!V && U
|
|
32021
|
+
!V && U ? /* @__PURE__ */ m("span", { className: "ml-auto", children: U }) : null
|
|
32020
32022
|
]
|
|
32021
32023
|
}
|
|
32022
32024
|
) }),
|
|
@@ -32077,7 +32079,7 @@ const hK = On(gn("Page", N1)), QR = (a) => a.reduce(
|
|
|
32077
32079
|
$i("focus-visible:ring-inset")
|
|
32078
32080
|
),
|
|
32079
32081
|
children: [
|
|
32080
|
-
a.icon
|
|
32082
|
+
a.icon ? /* @__PURE__ */ m(ai, { icon: a.icon, size: "md", className: "text-f1-icon" }) : null,
|
|
32081
32083
|
/* @__PURE__ */ m("span", { className: "line-clamp-1", children: a.label })
|
|
32082
32084
|
]
|
|
32083
32085
|
}
|
|
@@ -32102,22 +32104,22 @@ const hK = On(gn("Page", N1)), QR = (a) => a.reduce(
|
|
|
32102
32104
|
className: Qe("flex w-full flex-col gap-4 px-3", R),
|
|
32103
32105
|
"data-sidebar-tab-panel-searching": j,
|
|
32104
32106
|
children: [
|
|
32105
|
-
f !== void 0
|
|
32107
|
+
f !== void 0 ? /* @__PURE__ */ m(
|
|
32106
32108
|
_R,
|
|
32107
32109
|
{
|
|
32108
32110
|
value: G,
|
|
32109
32111
|
onChange: K,
|
|
32110
32112
|
placeholder: f
|
|
32111
32113
|
}
|
|
32112
|
-
),
|
|
32113
|
-
C && C.length > 0
|
|
32114
|
+
) : null,
|
|
32115
|
+
C && C.length > 0 ? /* @__PURE__ */ m("div", { className: "flex flex-col gap-0.5", children: C.map((N) => {
|
|
32114
32116
|
const ae = /* @__PURE__ */ m(kR, { action: N });
|
|
32115
32117
|
return /* @__PURE__ */ m(xg, { children: N.render ? N.render(ae) : ae }, N.label);
|
|
32116
|
-
}) }),
|
|
32117
|
-
J
|
|
32118
|
-
!J && !X
|
|
32119
|
-
$
|
|
32120
|
-
|
|
32118
|
+
}) }) : null,
|
|
32119
|
+
J ? Q : null,
|
|
32120
|
+
!J && !X ? k : null,
|
|
32121
|
+
$ ? /* @__PURE__ */ m("p", { className: "px-1.5 py-2 text-base text-f1-foreground-secondary", children: U }) : null,
|
|
32122
|
+
J ? null : r ? (
|
|
32121
32123
|
// Layout-animated lists. A `LayoutGroup` lets the collapsible groups
|
|
32122
32124
|
// remeasure together, so a row leaving one group and joining another
|
|
32123
32125
|
// (pin/unpin) stays in sync as positions shift.
|
|
@@ -32191,7 +32193,7 @@ const hK = On(gn("Page", N1)), QR = (a) => a.reduce(
|
|
|
32191
32193
|
)
|
|
32192
32194
|
},
|
|
32193
32195
|
`${N.id}-${j}`
|
|
32194
|
-
))
|
|
32196
|
+
))
|
|
32195
32197
|
]
|
|
32196
32198
|
}
|
|
32197
32199
|
);
|
|
@@ -32210,9 +32212,9 @@ function DR({
|
|
|
32210
32212
|
children: [
|
|
32211
32213
|
/* @__PURE__ */ te("div", { className: "flex flex-col gap-0.5", children: [
|
|
32212
32214
|
/* @__PURE__ */ m("p", { className: "text-base font-medium text-f1-foreground", children: a }),
|
|
32213
|
-
C
|
|
32215
|
+
C ? /* @__PURE__ */ m("p", { className: "text-base text-f1-foreground-secondary", children: C }) : null
|
|
32214
32216
|
] }),
|
|
32215
|
-
f && f.length > 0
|
|
32217
|
+
f && f.length > 0 ? /* @__PURE__ */ m("div", { className: "flex flex-col items-center gap-2", children: f.map((Q) => /* @__PURE__ */ m(
|
|
32216
32218
|
Ai,
|
|
32217
32219
|
{
|
|
32218
32220
|
label: Q.label,
|
|
@@ -32222,7 +32224,7 @@ function DR({
|
|
|
32222
32224
|
onClick: Q.onClick
|
|
32223
32225
|
},
|
|
32224
32226
|
Q.label
|
|
32225
|
-
)) })
|
|
32227
|
+
)) }) : null
|
|
32226
32228
|
]
|
|
32227
32229
|
}
|
|
32228
32230
|
);
|
|
@@ -32340,14 +32342,14 @@ const SR = On(DR), Y1 = ({
|
|
|
32340
32342
|
}
|
|
32341
32343
|
)
|
|
32342
32344
|
) : /* @__PURE__ */ m(Fa, { size: "xs", avatar: a.avatar }),
|
|
32343
|
-
k
|
|
32345
|
+
k ? /* @__PURE__ */ m(
|
|
32344
32346
|
VR,
|
|
32345
32347
|
{
|
|
32346
32348
|
presence: k,
|
|
32347
32349
|
isActive: C,
|
|
32348
32350
|
label: B.chat.online
|
|
32349
32351
|
}
|
|
32350
|
-
)
|
|
32352
|
+
) : null
|
|
32351
32353
|
] }) : null,
|
|
32352
32354
|
/* @__PURE__ */ m(
|
|
32353
32355
|
tg,
|
|
@@ -32365,7 +32367,7 @@ const SR = On(DR), Y1 = ({
|
|
|
32365
32367
|
children: a.label
|
|
32366
32368
|
}
|
|
32367
32369
|
),
|
|
32368
|
-
|
|
32370
|
+
U.length > 0 || a.unreadCount ? /* @__PURE__ */ te(
|
|
32369
32371
|
"div",
|
|
32370
32372
|
{
|
|
32371
32373
|
className: Qe(
|
|
@@ -32401,11 +32403,11 @@ const SR = On(DR), Y1 = ({
|
|
|
32401
32403
|
) : null
|
|
32402
32404
|
]
|
|
32403
32405
|
}
|
|
32404
|
-
)
|
|
32406
|
+
) : null
|
|
32405
32407
|
]
|
|
32406
32408
|
}
|
|
32407
32409
|
),
|
|
32408
|
-
a.onTogglePin
|
|
32410
|
+
a.onTogglePin ? a.pinPending ? /* @__PURE__ */ m(
|
|
32409
32411
|
"div",
|
|
32410
32412
|
{
|
|
32411
32413
|
className: "absolute right-1.5 top-1/2 flex h-7 w-7 -translate-y-1/2 items-center justify-center",
|
|
@@ -32433,7 +32435,7 @@ const SR = On(DR), Y1 = ({
|
|
|
32433
32435
|
}
|
|
32434
32436
|
)
|
|
32435
32437
|
}
|
|
32436
|
-
)
|
|
32438
|
+
) : null
|
|
32437
32439
|
] });
|
|
32438
32440
|
}, ur = {
|
|
32439
32441
|
count: 0,
|
|
@@ -32711,7 +32713,7 @@ const SR = On(DR), Y1 = ({
|
|
|
32711
32713
|
)
|
|
32712
32714
|
}
|
|
32713
32715
|
) }),
|
|
32714
|
-
V.above
|
|
32716
|
+
V.above ? $c(
|
|
32715
32717
|
G.count > 0 && /* @__PURE__ */ m("div", { className: "pointer-events-none absolute inset-x-0 top-2 z-[60] flex justify-center", children: /* @__PURE__ */ m("div", { className: "flex rounded bg-f1-background", children: /* @__PURE__ */ m(
|
|
32716
32718
|
Ai,
|
|
32717
32719
|
{
|
|
@@ -32726,8 +32728,8 @@ const SR = On(DR), Y1 = ({
|
|
|
32726
32728
|
}
|
|
32727
32729
|
) }) }),
|
|
32728
32730
|
V.above
|
|
32729
|
-
),
|
|
32730
|
-
V.below
|
|
32731
|
+
) : null,
|
|
32732
|
+
V.below ? $c(
|
|
32731
32733
|
K.count > 0 && /* @__PURE__ */ m("div", { className: "pointer-events-none absolute inset-x-0 bottom-2 z-[60] flex justify-center", children: /* @__PURE__ */ m("div", { className: "flex rounded bg-f1-background", children: /* @__PURE__ */ m(
|
|
32732
32734
|
Ai,
|
|
32733
32735
|
{
|
|
@@ -32742,7 +32744,7 @@ const SR = On(DR), Y1 = ({
|
|
|
32742
32744
|
}
|
|
32743
32745
|
) }) }),
|
|
32744
32746
|
V.below
|
|
32745
|
-
)
|
|
32747
|
+
) : null
|
|
32746
32748
|
] });
|
|
32747
32749
|
};
|
|
32748
32750
|
function ZR({
|
|
@@ -32907,7 +32909,7 @@ function FK({
|
|
|
32907
32909
|
]
|
|
32908
32910
|
}
|
|
32909
32911
|
) }) }),
|
|
32910
|
-
f
|
|
32912
|
+
f ? /* @__PURE__ */ m(Na, { label: r.notifications, shortcut: B, children: /* @__PURE__ */ te("div", { className: "relative", children: [
|
|
32911
32913
|
/* @__PURE__ */ m(
|
|
32912
32914
|
fi,
|
|
32913
32915
|
{
|
|
@@ -32918,8 +32920,8 @@ function FK({
|
|
|
32918
32920
|
hideLabel: !0
|
|
32919
32921
|
}
|
|
32920
32922
|
),
|
|
32921
|
-
U
|
|
32922
|
-
] }) })
|
|
32923
|
+
U ? /* @__PURE__ */ m("div", { className: "absolute -right-1 -top-1 rounded-full bg-f1-background", children: /* @__PURE__ */ m(Ck, { type: "highlight", size: "sm", icon: Fy }) }) : null
|
|
32924
|
+
] }) }) : null
|
|
32923
32925
|
] });
|
|
32924
32926
|
}
|
|
32925
32927
|
function H1({ isExpanded: a }) {
|
|
@@ -33063,10 +33065,10 @@ const HR = ({
|
|
|
33063
33065
|
),
|
|
33064
33066
|
/* @__PURE__ */ m("span", { children: a.label })
|
|
33065
33067
|
] }),
|
|
33066
|
-
|
|
33067
|
-
a.tag
|
|
33068
|
-
a.badge
|
|
33069
|
-
] })
|
|
33068
|
+
a.tag || a.badge ? /* @__PURE__ */ te("div", { className: "flex flex-shrink-0 items-center gap-1.5", children: [
|
|
33069
|
+
a.tag ? /* @__PURE__ */ m(iC, { text: a.tag }) : null,
|
|
33070
|
+
a.badge ? /* @__PURE__ */ m(md, { value: a.badge, size: "sm", type: "bold" }) : null
|
|
33071
|
+
] }) : null
|
|
33070
33072
|
] }), OR = ({ item: a }) => {
|
|
33071
33073
|
const { isActive: C } = bh(), { label: f, icon: B, ...Q } = a, k = C(Q.href, { exact: Q.exactMatch });
|
|
33072
33074
|
return /* @__PURE__ */ m(
|
|
@@ -33404,15 +33406,15 @@ function jR({
|
|
|
33404
33406
|
K && "cursor-grabbing [&_*]:cursor-grabbing"
|
|
33405
33407
|
),
|
|
33406
33408
|
children: [
|
|
33407
|
-
Y
|
|
33409
|
+
Y ? /* @__PURE__ */ m("div", { className: "flex w-full flex-col gap-3 bg-transparent px-3", children: a.filter((ke) => ke.isRoot).map((ke, he) => /* @__PURE__ */ m(
|
|
33408
33410
|
Pf,
|
|
33409
33411
|
{
|
|
33410
33412
|
category: ke,
|
|
33411
33413
|
onCollapse: Q
|
|
33412
33414
|
},
|
|
33413
33415
|
`fixed-${he}`
|
|
33414
|
-
)) }),
|
|
33415
|
-
N
|
|
33416
|
+
)) }) : null,
|
|
33417
|
+
N ? /* @__PURE__ */ m("div", { className: "mt-3 flex w-full flex-col gap-3 bg-transparent px-3", children: /* @__PURE__ */ m(od, { title: G.favorites.favorites, children: /* @__PURE__ */ m("div", { ref: J, children: V ? /* @__PURE__ */ m("div", { className: O, children: ge }) : /* @__PURE__ */ m(
|
|
33416
33418
|
g0,
|
|
33417
33419
|
{
|
|
33418
33420
|
axis: "y",
|
|
@@ -33421,16 +33423,16 @@ function jR({
|
|
|
33421
33423
|
className: O,
|
|
33422
33424
|
children: ge
|
|
33423
33425
|
}
|
|
33424
|
-
) }) }) }),
|
|
33425
|
-
j
|
|
33426
|
+
) }) }) }) : null,
|
|
33427
|
+
j ? /* @__PURE__ */ m("div", { className: "mt-3 flex w-full flex-col gap-3 bg-transparent px-3", children: a.filter((ke) => !ke.isRoot).map((ke, he) => /* @__PURE__ */ m(
|
|
33426
33428
|
Pf,
|
|
33427
33429
|
{
|
|
33428
33430
|
category: ke,
|
|
33429
33431
|
onCollapse: Q
|
|
33430
33432
|
},
|
|
33431
33433
|
`fixed-${he}`
|
|
33432
|
-
)) }),
|
|
33433
|
-
X
|
|
33434
|
+
)) }) : null,
|
|
33435
|
+
X ? /* @__PURE__ */ m(
|
|
33434
33436
|
"div",
|
|
33435
33437
|
{
|
|
33436
33438
|
className: Qe(
|
|
@@ -33449,7 +33451,7 @@ function jR({
|
|
|
33449
33451
|
}
|
|
33450
33452
|
)
|
|
33451
33453
|
}
|
|
33452
|
-
)
|
|
33454
|
+
) : null
|
|
33453
33455
|
]
|
|
33454
33456
|
}
|
|
33455
33457
|
);
|
|
@@ -33548,7 +33550,7 @@ function XR({
|
|
|
33548
33550
|
transition: Y,
|
|
33549
33551
|
children: [
|
|
33550
33552
|
/* @__PURE__ */ m("header", { className: "flex-shrink-0", children: a }),
|
|
33551
|
-
C
|
|
33553
|
+
C ? /* @__PURE__ */ te("nav", { className: "relative flex-grow overflow-y-hidden", children: [
|
|
33552
33554
|
/* @__PURE__ */ te(hd, { className: "h-full", children: [
|
|
33553
33555
|
/* @__PURE__ */ m(
|
|
33554
33556
|
"div",
|
|
@@ -33571,10 +33573,10 @@ function XR({
|
|
|
33571
33573
|
)
|
|
33572
33574
|
] }),
|
|
33573
33575
|
/* @__PURE__ */ te(An, { children: [
|
|
33574
|
-
|
|
33575
|
-
|
|
33576
|
+
R ? null : /* @__PURE__ */ m(J0, { position: "top" }, "shadow-scroll-top"),
|
|
33577
|
+
G ? null : /* @__PURE__ */ m(J0, { position: "bottom" }, "shadow-scroll-bottom")
|
|
33576
33578
|
] })
|
|
33577
|
-
] }),
|
|
33579
|
+
] }) : null,
|
|
33578
33580
|
/* @__PURE__ */ m("footer", { className: "flex-shrink-0", children: j() })
|
|
33579
33581
|
]
|
|
33580
33582
|
}
|
|
@@ -33624,7 +33626,7 @@ const wK = On(XR), qR = () => /* @__PURE__ */ m("div", { className: "absolute -r
|
|
|
33624
33626
|
"data-[pressed=true]:bg-transparent data-[pressed=true]:shadow-none"
|
|
33625
33627
|
),
|
|
33626
33628
|
children: [
|
|
33627
|
-
V
|
|
33629
|
+
V ? /* @__PURE__ */ te(
|
|
33628
33630
|
"span",
|
|
33629
33631
|
{
|
|
33630
33632
|
"aria-hidden": "true",
|
|
@@ -33640,8 +33642,8 @@ const wK = On(XR), qR = () => /* @__PURE__ */ m("div", { className: "absolute -r
|
|
|
33640
33642
|
/* @__PURE__ */ m("span", { className: "absolute inset-0 rounded bg-f1-background" })
|
|
33641
33643
|
]
|
|
33642
33644
|
}
|
|
33643
|
-
),
|
|
33644
|
-
C
|
|
33645
|
+
) : null,
|
|
33646
|
+
C ? /* @__PURE__ */ m(
|
|
33645
33647
|
zt.span,
|
|
33646
33648
|
{
|
|
33647
33649
|
layoutId: "sidebar-tab-active-pill",
|
|
@@ -33649,7 +33651,7 @@ const wK = On(XR), qR = () => /* @__PURE__ */ m("div", { className: "absolute -r
|
|
|
33649
33651
|
"aria-hidden": "true",
|
|
33650
33652
|
className: "absolute inset-0 rounded bg-f1-background-inverse-secondary ring-1 ring-inset ring-f1-border dark:bg-f1-background"
|
|
33651
33653
|
}
|
|
33652
|
-
),
|
|
33654
|
+
) : null,
|
|
33653
33655
|
/* @__PURE__ */ te("div", { className: "main flex h-8 min-w-0 items-center justify-center", children: [
|
|
33654
33656
|
/* @__PURE__ */ m(
|
|
33655
33657
|
"span",
|
|
@@ -33682,7 +33684,7 @@ const wK = On(XR), qR = () => /* @__PURE__ */ m("div", { className: "absolute -r
|
|
|
33682
33684
|
}
|
|
33683
33685
|
)
|
|
33684
33686
|
] }),
|
|
33685
|
-
a.badge
|
|
33687
|
+
a.badge ? /* @__PURE__ */ m(qR, {}) : null
|
|
33686
33688
|
]
|
|
33687
33689
|
}
|
|
33688
33690
|
);
|
|
@@ -33824,7 +33826,7 @@ const nM = ({
|
|
|
33824
33826
|
/* @__PURE__ */ m(hs, { text: R, variant: $R[f] })
|
|
33825
33827
|
] }),
|
|
33826
33828
|
/* @__PURE__ */ m("div", { className: "w-full", children: /* @__PURE__ */ m(jA, { avatars: V, layout: "fill", type: "person", size: "md" }) }),
|
|
33827
|
-
Q
|
|
33829
|
+
Q ? /* @__PURE__ */ m("p", { className: "text-sm text-f1-foreground-secondary", children: JA(Q, "PP", { locale: U }) }) : null
|
|
33828
33830
|
] });
|
|
33829
33831
|
}, gM = ({ steps: a }) => {
|
|
33830
33832
|
const f = Vt().approvals.history, B = a.findIndex((Q) => Q.status === "pending");
|
|
@@ -33842,7 +33844,7 @@ const nM = ({
|
|
|
33842
33844
|
children: /* @__PURE__ */ m("span", { children: k + 1 })
|
|
33843
33845
|
}
|
|
33844
33846
|
),
|
|
33845
|
-
k !== a.length - 1
|
|
33847
|
+
k !== a.length - 1 ? /* @__PURE__ */ m("div", { className: "h-[96px] w-px bg-f1-border-secondary" }) : null
|
|
33846
33848
|
] }, Q.title)) }),
|
|
33847
33849
|
/* @__PURE__ */ m("div", { className: "flex w-full flex-col rounded-xl border border-solid border-f1-border", children: a.map((Q, k) => /* @__PURE__ */ te(xg, { children: [
|
|
33848
33850
|
/* @__PURE__ */ m(
|
|
@@ -33855,7 +33857,7 @@ const nM = ({
|
|
|
33855
33857
|
approvalDate: Q.approvalDate
|
|
33856
33858
|
}
|
|
33857
33859
|
),
|
|
33858
|
-
k !== a.length - 1
|
|
33860
|
+
k !== a.length - 1 ? /* @__PURE__ */ m("div", { className: "h-px w-full bg-f1-border-secondary" }) : null
|
|
33859
33861
|
] }, Q.title)) })
|
|
33860
33862
|
] })
|
|
33861
33863
|
] });
|
|
@@ -35441,7 +35443,7 @@ const Sd = (a, C) => {
|
|
|
35441
35443
|
),
|
|
35442
35444
|
children: a
|
|
35443
35445
|
}
|
|
35444
|
-
), AP = () => import("./ChatPdfThumbnail-
|
|
35446
|
+
), AP = () => import("./ChatPdfThumbnail-DTUuStMh.js"), lP = () => import("./ChatSheetThumbnail-D8aN1W_0.js"), cP = () => import("./ChatDocxThumbnail-DhzoVI1K.js"), dP = () => import("./ChatTextThumbnail-B53pSYUy.js"), uP = bs(AP), fP = bs(lP), hP = bs(cP), mP = bs(dP), pP = 384, BP = 160, QU = ({
|
|
35445
35447
|
file: a,
|
|
35446
35448
|
kind: C,
|
|
35447
35449
|
cornerClass: f = "rounded-xl",
|
|
@@ -35507,7 +35509,7 @@ const Sd = (a, C) => {
|
|
|
35507
35509
|
style: { width: $ },
|
|
35508
35510
|
"data-testid": "chat-document-attachment",
|
|
35509
35511
|
children: [
|
|
35510
|
-
|
|
35512
|
+
k ? null : /* @__PURE__ */ te("div", { className: "flex items-center gap-2 px-2 py-2", children: [
|
|
35511
35513
|
/* @__PURE__ */ m(
|
|
35512
35514
|
ah,
|
|
35513
35515
|
{
|
|
@@ -35516,7 +35518,7 @@ const Sd = (a, C) => {
|
|
|
35516
35518
|
}
|
|
35517
35519
|
),
|
|
35518
35520
|
/* @__PURE__ */ m(GA, { className: "grow text-sm font-medium text-f1-foreground", children: a.name }),
|
|
35519
|
-
B
|
|
35521
|
+
B ? /* @__PURE__ */ m(
|
|
35520
35522
|
Ai,
|
|
35521
35523
|
{
|
|
35522
35524
|
variant: "ghost",
|
|
@@ -35526,7 +35528,7 @@ const Sd = (a, C) => {
|
|
|
35526
35528
|
label: B.label,
|
|
35527
35529
|
onClick: B.onClick
|
|
35528
35530
|
}
|
|
35529
|
-
)
|
|
35531
|
+
) : null
|
|
35530
35532
|
] }),
|
|
35531
35533
|
/* @__PURE__ */ te(
|
|
35532
35534
|
"button",
|
|
@@ -35565,7 +35567,7 @@ const Sd = (a, C) => {
|
|
|
35565
35567
|
),
|
|
35566
35568
|
"data-testid": "chat-document-snapshot",
|
|
35567
35569
|
children: /* @__PURE__ */ te(wd, { fallback: null, children: [
|
|
35568
|
-
C === "pdf"
|
|
35570
|
+
C === "pdf" ? /* @__PURE__ */ m(
|
|
35569
35571
|
uP,
|
|
35570
35572
|
{
|
|
35571
35573
|
url: a.url,
|
|
@@ -35573,16 +35575,16 @@ const Sd = (a, C) => {
|
|
|
35573
35575
|
onError: () => j(!0),
|
|
35574
35576
|
onRendered: () => J(!0)
|
|
35575
35577
|
}
|
|
35576
|
-
),
|
|
35577
|
-
C === "sheet"
|
|
35578
|
+
) : null,
|
|
35579
|
+
C === "sheet" ? /* @__PURE__ */ m(
|
|
35578
35580
|
fP,
|
|
35579
35581
|
{
|
|
35580
35582
|
url: a.url,
|
|
35581
35583
|
onError: () => j(!0),
|
|
35582
35584
|
onRendered: () => J(!0)
|
|
35583
35585
|
}
|
|
35584
|
-
),
|
|
35585
|
-
C === "docx"
|
|
35586
|
+
) : null,
|
|
35587
|
+
C === "docx" ? /* @__PURE__ */ m(
|
|
35586
35588
|
hP,
|
|
35587
35589
|
{
|
|
35588
35590
|
url: a.url,
|
|
@@ -35590,22 +35592,22 @@ const Sd = (a, C) => {
|
|
|
35590
35592
|
onError: () => j(!0),
|
|
35591
35593
|
onRendered: () => J(!0)
|
|
35592
35594
|
}
|
|
35593
|
-
),
|
|
35594
|
-
C === "text"
|
|
35595
|
+
) : null,
|
|
35596
|
+
C === "text" ? /* @__PURE__ */ m(
|
|
35595
35597
|
mP,
|
|
35596
35598
|
{
|
|
35597
35599
|
url: a.url,
|
|
35598
35600
|
onError: () => j(!0),
|
|
35599
35601
|
onRendered: () => J(!0)
|
|
35600
35602
|
}
|
|
35601
|
-
)
|
|
35603
|
+
) : null
|
|
35602
35604
|
] })
|
|
35603
35605
|
}
|
|
35604
35606
|
)
|
|
35605
35607
|
]
|
|
35606
35608
|
}
|
|
35607
35609
|
),
|
|
35608
|
-
k && B
|
|
35610
|
+
k && B ? /* @__PURE__ */ te(Ii, { children: [
|
|
35609
35611
|
/* @__PURE__ */ m("div", { className: "absolute right-1 top-1 z-30 flex rounded bg-f1-background opacity-0 transition-opacity focus-within:opacity-100 group-hover/attachment:opacity-100", children: /* @__PURE__ */ m(
|
|
35610
35612
|
Ai,
|
|
35611
35613
|
{
|
|
@@ -35618,7 +35620,7 @@ const Sd = (a, C) => {
|
|
|
35618
35620
|
}
|
|
35619
35621
|
) }),
|
|
35620
35622
|
/* @__PURE__ */ m("span", { className: "sr-only", children: a.name })
|
|
35621
|
-
] })
|
|
35623
|
+
] }) : null
|
|
35622
35624
|
]
|
|
35623
35625
|
}
|
|
35624
35626
|
);
|
|
@@ -35634,7 +35636,7 @@ const Sd = (a, C) => {
|
|
|
35634
35636
|
});
|
|
35635
35637
|
U.observe(k), f.current = U;
|
|
35636
35638
|
}, []), shouldMount: a };
|
|
35637
|
-
}, Rd = "w-[24rem] max-w-full", yP = "w-[32rem] max-w-full", UP = "gap-0.5", QP = "pointer-events-none absolute inset-x-0 bottom-0 h-[46%] bg-[linear-gradient(to_top,rgba(0,0,0,0.5),rgba(0,0,0,0.18)_45%,transparent)]", wP = "bg-[hsl(222_31%_11%)]", vP = "bg-[hsl(220_39%_6%/0.72)]", bP = "bg-[hsl(220_39%_6%/0.6)]", _P = "bg-[hsl(220_39%_6%/0.55)]", kP = () => import("./LocationMap-
|
|
35639
|
+
}, Rd = "w-[24rem] max-w-full", yP = "w-[32rem] max-w-full", UP = "gap-0.5", QP = "pointer-events-none absolute inset-x-0 bottom-0 h-[46%] bg-[linear-gradient(to_top,rgba(0,0,0,0.5),rgba(0,0,0,0.18)_45%,transparent)]", wP = "bg-[hsl(222_31%_11%)]", vP = "bg-[hsl(220_39%_6%/0.72)]", bP = "bg-[hsl(220_39%_6%/0.6)]", _P = "bg-[hsl(220_39%_6%/0.55)]", kP = () => import("./LocationMap-D6lqT6Gn.js"), xP = bs(kP), DP = 3 / 2, SP = ({ latitude: a, longitude: C }) => `https://www.google.com/maps?q=${a},${C}`, wU = ({
|
|
35638
35640
|
location: a,
|
|
35639
35641
|
cornerClass: C = "rounded-xl",
|
|
35640
35642
|
surfaceClassName: f,
|
|
@@ -36024,7 +36026,7 @@ const PP = (a) => {
|
|
|
36024
36026
|
onClick: r.onClick
|
|
36025
36027
|
}
|
|
36026
36028
|
) }),
|
|
36027
|
-
C
|
|
36029
|
+
C ? /* @__PURE__ */ m(zI, {}) : null,
|
|
36028
36030
|
/* @__PURE__ */ m("figcaption", { className: "sr-only", children: a.name })
|
|
36029
36031
|
]
|
|
36030
36032
|
}
|
|
@@ -36069,7 +36071,7 @@ const PP = (a) => {
|
|
|
36069
36071
|
onClick: r.onClick
|
|
36070
36072
|
}
|
|
36071
36073
|
) }),
|
|
36072
|
-
C
|
|
36074
|
+
C ? /* @__PURE__ */ m(zI, {}) : null,
|
|
36073
36075
|
/* @__PURE__ */ m("figcaption", { className: "sr-only", children: a.name })
|
|
36074
36076
|
]
|
|
36075
36077
|
}
|
|
@@ -36093,7 +36095,7 @@ const PP = (a) => {
|
|
|
36093
36095
|
compact: !0
|
|
36094
36096
|
}
|
|
36095
36097
|
),
|
|
36096
|
-
C
|
|
36098
|
+
C ? /* @__PURE__ */ m(zI, {}) : null
|
|
36097
36099
|
]
|
|
36098
36100
|
}
|
|
36099
36101
|
) : /* @__PURE__ */ te(
|
|
@@ -36124,7 +36126,7 @@ const PP = (a) => {
|
|
|
36124
36126
|
onClick: r.onClick
|
|
36125
36127
|
}
|
|
36126
36128
|
) }),
|
|
36127
|
-
C
|
|
36129
|
+
C ? /* @__PURE__ */ m(zI, {}) : null,
|
|
36128
36130
|
/* @__PURE__ */ m("span", { className: "sr-only", children: a.name })
|
|
36129
36131
|
]
|
|
36130
36132
|
}
|
|
@@ -36156,7 +36158,7 @@ const PP = (a) => {
|
|
|
36156
36158
|
onClick: r.onClick
|
|
36157
36159
|
}
|
|
36158
36160
|
) }),
|
|
36159
|
-
C
|
|
36161
|
+
C ? /* @__PURE__ */ m(zI, {}) : null
|
|
36160
36162
|
]
|
|
36161
36163
|
}
|
|
36162
36164
|
) : /* @__PURE__ */ te(
|
|
@@ -36178,7 +36180,7 @@ const PP = (a) => {
|
|
|
36178
36180
|
onClick: r.onClick
|
|
36179
36181
|
}
|
|
36180
36182
|
) }),
|
|
36181
|
-
C
|
|
36183
|
+
C ? /* @__PURE__ */ m(zI, {}) : null
|
|
36182
36184
|
]
|
|
36183
36185
|
}
|
|
36184
36186
|
);
|
|
@@ -36220,7 +36222,7 @@ const PP = (a) => {
|
|
|
36220
36222
|
}) => {
|
|
36221
36223
|
const f = Vt(), { icon: B, label: Q, thumbnailUrl: k } = Im(a);
|
|
36222
36224
|
return /* @__PURE__ */ m("div", { className: "p-1", children: /* @__PURE__ */ te("div", { className: "flex items-stretch gap-2 overflow-hidden rounded-[10px] bg-f1-background-tertiary py-1.5 pl-2 pr-1.5", children: [
|
|
36223
|
-
k
|
|
36225
|
+
k ? /* @__PURE__ */ m(
|
|
36224
36226
|
"img",
|
|
36225
36227
|
{
|
|
36226
36228
|
src: k,
|
|
@@ -36229,14 +36231,14 @@ const PP = (a) => {
|
|
|
36229
36231
|
decoding: "async",
|
|
36230
36232
|
className: "h-9 w-9 shrink-0 self-center rounded-sm object-cover"
|
|
36231
36233
|
}
|
|
36232
|
-
),
|
|
36234
|
+
) : null,
|
|
36233
36235
|
/* @__PURE__ */ te("div", { className: "min-w-0 flex-1 gap-0.5 p-1", children: [
|
|
36234
36236
|
/* @__PURE__ */ te("span", { className: "flex w-fit items-center gap-1 text-sm font-medium text-f1-foreground-info", children: [
|
|
36235
36237
|
/* @__PURE__ */ m(ai, { icon: Qy, size: "xs" }),
|
|
36236
36238
|
f.chat.editing
|
|
36237
36239
|
] }),
|
|
36238
36240
|
/* @__PURE__ */ te("span", { className: "mt-0.5 flex min-w-0 items-center gap-1 text-f1-foreground-secondary", children: [
|
|
36239
|
-
B
|
|
36241
|
+
B ? /* @__PURE__ */ m(ai, { icon: B, size: "xs", color: "default" }) : null,
|
|
36240
36242
|
/* @__PURE__ */ m(tg, { className: "min-w-0 text-base", lines: 1, children: Q })
|
|
36241
36243
|
] })
|
|
36242
36244
|
] }),
|
|
@@ -40152,7 +40154,7 @@ function MG({
|
|
|
40152
40154
|
J
|
|
40153
40155
|
);
|
|
40154
40156
|
}),
|
|
40155
|
-
K
|
|
40157
|
+
K ? Array.from({ length: 3 }, (Y, j) => /* @__PURE__ */ te(
|
|
40156
40158
|
"div",
|
|
40157
40159
|
{
|
|
40158
40160
|
className: "flex items-center gap-2 p-2",
|
|
@@ -40168,7 +40170,7 @@ function MG({
|
|
|
40168
40170
|
]
|
|
40169
40171
|
},
|
|
40170
40172
|
`skeleton-${j}`
|
|
40171
|
-
))
|
|
40173
|
+
)) : null
|
|
40172
40174
|
]
|
|
40173
40175
|
}
|
|
40174
40176
|
);
|
|
@@ -40211,7 +40213,7 @@ const PG = {
|
|
|
40211
40213
|
}) => {
|
|
40212
40214
|
const f = Vt(), { icon: B, label: Q, thumbnailUrl: k } = Im(a);
|
|
40213
40215
|
return /* @__PURE__ */ m("div", { className: "p-1", children: /* @__PURE__ */ te("div", { className: "flex items-stretch gap-2 overflow-hidden rounded-[10px] bg-f1-background-tertiary py-1.5 pl-2 pr-1.5", children: [
|
|
40214
|
-
k
|
|
40216
|
+
k ? /* @__PURE__ */ m(
|
|
40215
40217
|
"img",
|
|
40216
40218
|
{
|
|
40217
40219
|
src: k,
|
|
@@ -40220,7 +40222,7 @@ const PG = {
|
|
|
40220
40222
|
decoding: "async",
|
|
40221
40223
|
className: "h-9 w-9 shrink-0 self-center rounded-sm object-cover"
|
|
40222
40224
|
}
|
|
40223
|
-
),
|
|
40225
|
+
) : null,
|
|
40224
40226
|
/* @__PURE__ */ te("div", { className: "min-w-0 flex-1 gap-0.5 p-1", children: [
|
|
40225
40227
|
/* @__PURE__ */ m(
|
|
40226
40228
|
tg,
|
|
@@ -40233,7 +40235,7 @@ const PG = {
|
|
|
40233
40235
|
}
|
|
40234
40236
|
),
|
|
40235
40237
|
/* @__PURE__ */ te("span", { className: "flex min-w-0 items-center gap-1 text-f1-foreground-secondary", children: [
|
|
40236
|
-
B
|
|
40238
|
+
B ? /* @__PURE__ */ m(ai, { icon: B, size: "xs", color: "default" }) : null,
|
|
40237
40239
|
/* @__PURE__ */ m(tg, { className: "min-w-0 text-base", lines: 1, children: Q })
|
|
40238
40240
|
] })
|
|
40239
40241
|
] }),
|
|
@@ -40282,7 +40284,7 @@ const PG = {
|
|
|
40282
40284
|
`) ? f + "_" : f || " "
|
|
40283
40285
|
}
|
|
40284
40286
|
),
|
|
40285
|
-
q
|
|
40287
|
+
q ? /* @__PURE__ */ m(
|
|
40286
40288
|
"div",
|
|
40287
40289
|
{
|
|
40288
40290
|
ref: C,
|
|
@@ -40313,7 +40315,7 @@ const PG = {
|
|
|
40313
40315
|
) : $.type === "ghost" ? /* @__PURE__ */ m("span", { className: "text-f1-foreground-secondary opacity-50", children: $.text }, N) : /* @__PURE__ */ m("span", { children: $.text }, N)
|
|
40314
40316
|
)
|
|
40315
40317
|
}
|
|
40316
|
-
),
|
|
40318
|
+
) : null,
|
|
40317
40319
|
/* @__PURE__ */ m(
|
|
40318
40320
|
"textarea",
|
|
40319
40321
|
{
|
|
@@ -40902,7 +40904,7 @@ const PG = {
|
|
|
40902
40904
|
},
|
|
40903
40905
|
"reply-chip"
|
|
40904
40906
|
) : null }),
|
|
40905
|
-
/* @__PURE__ */ m(An, { initial: !1, children: Mi
|
|
40907
|
+
/* @__PURE__ */ m(An, { initial: !1, children: Mi ? /* @__PURE__ */ m(
|
|
40906
40908
|
zt.div,
|
|
40907
40909
|
{
|
|
40908
40910
|
role: "alert",
|
|
@@ -40930,8 +40932,8 @@ const PG = {
|
|
|
40930
40932
|
)
|
|
40931
40933
|
},
|
|
40932
40934
|
"transient-error"
|
|
40933
|
-
) }),
|
|
40934
|
-
/* @__PURE__ */ m(An, { initial: !1, children: ce.length > 0
|
|
40935
|
+
) : null }),
|
|
40936
|
+
/* @__PURE__ */ m(An, { initial: !1, children: ce.length > 0 ? /* @__PURE__ */ m(
|
|
40935
40937
|
zt.div,
|
|
40936
40938
|
{
|
|
40937
40939
|
className: "overflow-hidden",
|
|
@@ -40996,7 +40998,7 @@ const PG = {
|
|
|
40996
40998
|
)
|
|
40997
40999
|
},
|
|
40998
41000
|
"attachments-row"
|
|
40999
|
-
) }),
|
|
41001
|
+
) : null }),
|
|
41000
41002
|
/* @__PURE__ */ m(
|
|
41001
41003
|
NG,
|
|
41002
41004
|
{
|
|
@@ -41115,7 +41117,7 @@ const PG = {
|
|
|
41115
41117
|
)
|
|
41116
41118
|
] }),
|
|
41117
41119
|
/* @__PURE__ */ te("div", { className: "flex items-center gap-1", children: [
|
|
41118
|
-
hi
|
|
41120
|
+
hi ? /* @__PURE__ */ m(
|
|
41119
41121
|
Ai,
|
|
41120
41122
|
{
|
|
41121
41123
|
variant: "outline",
|
|
@@ -41126,7 +41128,7 @@ const PG = {
|
|
|
41126
41128
|
onClick: $g,
|
|
41127
41129
|
loading: ee || pi || Pt
|
|
41128
41130
|
}
|
|
41129
|
-
),
|
|
41131
|
+
) : null,
|
|
41130
41132
|
/* @__PURE__ */ m(An, { initial: !1, mode: "popLayout", children: /* @__PURE__ */ m(
|
|
41131
41133
|
zt.div,
|
|
41132
41134
|
{
|
|
@@ -41159,7 +41161,7 @@ const PG = {
|
|
|
41159
41161
|
}
|
|
41160
41162
|
) }) });
|
|
41161
41163
|
}, WG = bs(
|
|
41162
|
-
() => import("./index-
|
|
41164
|
+
() => import("./index-DfeNTo6-.js").then((a) => a.i).then((a) => ({
|
|
41163
41165
|
default: a.F0PdfViewer
|
|
41164
41166
|
}))
|
|
41165
41167
|
), YG = () => {
|
|
@@ -41173,7 +41175,7 @@ const PG = {
|
|
|
41173
41175
|
onOpenChange: (r) => {
|
|
41174
41176
|
r || f();
|
|
41175
41177
|
},
|
|
41176
|
-
children: k && U
|
|
41178
|
+
children: k && U ? /* @__PURE__ */ te(
|
|
41177
41179
|
xy,
|
|
41178
41180
|
{
|
|
41179
41181
|
container: B,
|
|
@@ -41212,7 +41214,7 @@ const PG = {
|
|
|
41212
41214
|
) }) }) })
|
|
41213
41215
|
]
|
|
41214
41216
|
}
|
|
41215
|
-
)
|
|
41217
|
+
) : null
|
|
41216
41218
|
}
|
|
41217
41219
|
);
|
|
41218
41220
|
}, zG = ({
|
|
@@ -41388,13 +41390,13 @@ const PG = {
|
|
|
41388
41390
|
}
|
|
41389
41391
|
)
|
|
41390
41392
|
) : /* @__PURE__ */ m(Fa, { size: "sm", avatar: a.avatar }),
|
|
41391
|
-
V
|
|
41393
|
+
V ? /* @__PURE__ */ m(
|
|
41392
41394
|
OG,
|
|
41393
41395
|
{
|
|
41394
41396
|
online: a.presence === "online",
|
|
41395
41397
|
label: k.chat.online
|
|
41396
41398
|
}
|
|
41397
|
-
)
|
|
41399
|
+
) : null
|
|
41398
41400
|
] }),
|
|
41399
41401
|
/* @__PURE__ */ m("span", { className: "truncate text-base font-medium text-f1-foreground", children: a.title }),
|
|
41400
41402
|
a.statuses?.map((ae) => /* @__PURE__ */ m(
|
|
@@ -41425,7 +41427,7 @@ const PG = {
|
|
|
41425
41427
|
},
|
|
41426
41428
|
ae.id
|
|
41427
41429
|
)),
|
|
41428
|
-
$.length > 0
|
|
41430
|
+
$.length > 0 ? /* @__PURE__ */ m(hr, { items: $, align: "end", label: k.chat.options, children: /* @__PURE__ */ m(
|
|
41429
41431
|
Ai,
|
|
41430
41432
|
{
|
|
41431
41433
|
variant: "ghost",
|
|
@@ -41433,8 +41435,8 @@ const PG = {
|
|
|
41433
41435
|
label: k.chat.options,
|
|
41434
41436
|
icon: Qd
|
|
41435
41437
|
}
|
|
41436
|
-
) }),
|
|
41437
|
-
f && !R
|
|
41438
|
+
) }) : null,
|
|
41439
|
+
f && !R ? /* @__PURE__ */ m(
|
|
41438
41440
|
Ai,
|
|
41439
41441
|
{
|
|
41440
41442
|
variant: "ghost",
|
|
@@ -41443,8 +41445,8 @@ const PG = {
|
|
|
41443
41445
|
icon: C ? Pk : Vk,
|
|
41444
41446
|
onClick: f
|
|
41445
41447
|
}
|
|
41446
|
-
),
|
|
41447
|
-
B
|
|
41448
|
+
) : null,
|
|
41449
|
+
B ? /* @__PURE__ */ m(
|
|
41448
41450
|
Ai,
|
|
41449
41451
|
{
|
|
41450
41452
|
variant: "ghost",
|
|
@@ -41453,7 +41455,7 @@ const PG = {
|
|
|
41453
41455
|
icon: qg,
|
|
41454
41456
|
onClick: B
|
|
41455
41457
|
}
|
|
41456
|
-
)
|
|
41458
|
+
) : null
|
|
41457
41459
|
] })
|
|
41458
41460
|
] }) });
|
|
41459
41461
|
}, Pc = ({
|
|
@@ -41492,7 +41494,7 @@ const PG = {
|
|
|
41492
41494
|
onOpenChange: (J) => {
|
|
41493
41495
|
J || B();
|
|
41494
41496
|
},
|
|
41495
|
-
children: Y
|
|
41497
|
+
children: Y ? /* @__PURE__ */ te(
|
|
41496
41498
|
xy,
|
|
41497
41499
|
{
|
|
41498
41500
|
container: U,
|
|
@@ -41550,7 +41552,7 @@ const PG = {
|
|
|
41550
41552
|
}
|
|
41551
41553
|
)
|
|
41552
41554
|
] }),
|
|
41553
|
-
j
|
|
41555
|
+
j ? /* @__PURE__ */ te("div", { className: "pointer-events-none absolute inset-x-0 bottom-0 flex items-center justify-center gap-2 p-3", children: [
|
|
41554
41556
|
/* @__PURE__ */ m(
|
|
41555
41557
|
Pc,
|
|
41556
41558
|
{
|
|
@@ -41572,10 +41574,10 @@ const PG = {
|
|
|
41572
41574
|
onClick: () => X(1)
|
|
41573
41575
|
}
|
|
41574
41576
|
)
|
|
41575
|
-
] })
|
|
41577
|
+
] }) : null
|
|
41576
41578
|
]
|
|
41577
41579
|
}
|
|
41578
|
-
)
|
|
41580
|
+
) : null
|
|
41579
41581
|
}
|
|
41580
41582
|
);
|
|
41581
41583
|
}, DF = 8, LG = (a, C, f, B) => {
|
|
@@ -42344,8 +42346,8 @@ const BQ = ({
|
|
|
42344
42346
|
preview: a,
|
|
42345
42347
|
compact: C
|
|
42346
42348
|
}) => /* @__PURE__ */ te("div", { className: "flex min-w-0 flex-col gap-0.5 p-2.5", children: [
|
|
42347
|
-
a.title
|
|
42348
|
-
a.description
|
|
42349
|
+
a.title ? /* @__PURE__ */ m(GA, { className: "text-base font-medium text-f1-foreground", children: a.title }) : null,
|
|
42350
|
+
a.description ? /* @__PURE__ */ m(
|
|
42349
42351
|
"span",
|
|
42350
42352
|
{
|
|
42351
42353
|
className: Qe(
|
|
@@ -42354,7 +42356,7 @@ const BQ = ({
|
|
|
42354
42356
|
),
|
|
42355
42357
|
children: a.description
|
|
42356
42358
|
}
|
|
42357
|
-
),
|
|
42359
|
+
) : null,
|
|
42358
42360
|
/* @__PURE__ */ m(GA, { className: "text-sm text-f1-foreground", children: j3(a.url) })
|
|
42359
42361
|
] }), q3 = ({
|
|
42360
42362
|
previews: a,
|
|
@@ -42379,14 +42381,14 @@ const BQ = ({
|
|
|
42379
42381
|
U === a.length - 1
|
|
42380
42382
|
),
|
|
42381
42383
|
children: [
|
|
42382
|
-
!Q && k.imageUrl
|
|
42384
|
+
!Q && k.imageUrl ? /* @__PURE__ */ m(
|
|
42383
42385
|
qA,
|
|
42384
42386
|
{
|
|
42385
42387
|
src: k.imageUrl,
|
|
42386
42388
|
alt: "",
|
|
42387
42389
|
className: "h-40 w-full bg-f1-background-secondary object-cover"
|
|
42388
42390
|
}
|
|
42389
|
-
),
|
|
42391
|
+
) : null,
|
|
42390
42392
|
/* @__PURE__ */ m(X3, { preview: k, compact: Q })
|
|
42391
42393
|
]
|
|
42392
42394
|
},
|
|
@@ -42474,7 +42476,7 @@ const BQ = ({
|
|
|
42474
42476
|
f ? C ? "rounded-tr-xl" : "rounded-tl-xl" : C ? "rounded-tr-xs" : "rounded-tl-xs"
|
|
42475
42477
|
),
|
|
42476
42478
|
children: [
|
|
42477
|
-
V
|
|
42479
|
+
V ? /* @__PURE__ */ m(
|
|
42478
42480
|
"img",
|
|
42479
42481
|
{
|
|
42480
42482
|
src: V,
|
|
@@ -42483,7 +42485,7 @@ const BQ = ({
|
|
|
42483
42485
|
decoding: "async",
|
|
42484
42486
|
className: "ml-2.5 h-9 w-9 shrink-0 self-center rounded-sm object-cover"
|
|
42485
42487
|
}
|
|
42486
|
-
),
|
|
42488
|
+
) : null,
|
|
42487
42489
|
/* @__PURE__ */ te("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5 p-2.5", children: [
|
|
42488
42490
|
/* @__PURE__ */ m(
|
|
42489
42491
|
GA,
|
|
@@ -42496,7 +42498,7 @@ const BQ = ({
|
|
|
42496
42498
|
}
|
|
42497
42499
|
),
|
|
42498
42500
|
/* @__PURE__ */ te("span", { className: "flex min-w-0 items-center gap-1 text-f1-foreground-secondary", children: [
|
|
42499
|
-
r
|
|
42501
|
+
r ? /* @__PURE__ */ m(ai, { icon: r, size: "sm", color: "default" }) : null,
|
|
42500
42502
|
/* @__PURE__ */ m(GA, { className: "min-w-0 text-base", children: R })
|
|
42501
42503
|
] })
|
|
42502
42504
|
] })
|
|
@@ -42621,24 +42623,24 @@ const BQ = ({
|
|
|
42621
42623
|
yh(a.author, C)
|
|
42622
42624
|
),
|
|
42623
42625
|
children: [
|
|
42624
|
-
a.replyTo
|
|
42626
|
+
a.replyTo ? /* @__PURE__ */ m(
|
|
42625
42627
|
eE,
|
|
42626
42628
|
{
|
|
42627
42629
|
reply: a.replyTo,
|
|
42628
42630
|
isMine: C,
|
|
42629
42631
|
isFirstOfRun: Q
|
|
42630
42632
|
}
|
|
42631
|
-
),
|
|
42632
|
-
a.linkPreviews && a.linkPreviews.length > 0
|
|
42633
|
+
) : null,
|
|
42634
|
+
a.linkPreviews && a.linkPreviews.length > 0 ? /* @__PURE__ */ m(
|
|
42633
42635
|
q3,
|
|
42634
42636
|
{
|
|
42635
42637
|
previews: a.linkPreviews,
|
|
42636
42638
|
isMine: C,
|
|
42637
42639
|
isFirstOfRun: a.replyTo ? !0 : Q
|
|
42638
42640
|
}
|
|
42639
|
-
),
|
|
42641
|
+
) : null,
|
|
42640
42642
|
/* @__PURE__ */ te("div", { className: "relative px-3.5 py-2.5", children: [
|
|
42641
|
-
f
|
|
42643
|
+
f ? /* @__PURE__ */ m(il, { user: f, children: /* @__PURE__ */ m(
|
|
42642
42644
|
"span",
|
|
42643
42645
|
{
|
|
42644
42646
|
className: Qe(
|
|
@@ -42647,7 +42649,7 @@ const BQ = ({
|
|
|
42647
42649
|
),
|
|
42648
42650
|
children: f.name
|
|
42649
42651
|
}
|
|
42650
|
-
) }),
|
|
42652
|
+
) }) : null,
|
|
42651
42653
|
/* @__PURE__ */ m("span", { "data-chat-message-text": !0, children: K }),
|
|
42652
42654
|
/* @__PURE__ */ m(JI, { message: a, placement: "bubble" }),
|
|
42653
42655
|
/* @__PURE__ */ m($3, { message: a })
|
|
@@ -42663,7 +42665,7 @@ const BQ = ({
|
|
|
42663
42665
|
value: C
|
|
42664
42666
|
}) => /* @__PURE__ */ te("div", { className: "flex flex-col items-start", children: [
|
|
42665
42667
|
/* @__PURE__ */ m("span", { className: "text-base font-medium text-f1-foreground", children: a }),
|
|
42666
|
-
C
|
|
42668
|
+
C ? /* @__PURE__ */ m("span", { className: "text-base font-normal text-f1-foreground-secondary", children: C }) : null
|
|
42667
42669
|
] }), gE = ({ user: a }) => /* @__PURE__ */ te("div", { className: "flex w-full items-center gap-2 px-0 py-1 text-f1-foreground", children: [
|
|
42668
42670
|
/* @__PURE__ */ m(
|
|
42669
42671
|
Fa,
|
|
@@ -42724,9 +42726,9 @@ const BQ = ({
|
|
|
42724
42726
|
value: Qh(new Date(a.createdAt), U, k)
|
|
42725
42727
|
}
|
|
42726
42728
|
),
|
|
42727
|
-
a.isMine
|
|
42729
|
+
a.isMine ? r ? /* @__PURE__ */ te("div", { className: "flex flex-col gap-2", children: [
|
|
42728
42730
|
/* @__PURE__ */ m(Hf, { label: V }),
|
|
42729
|
-
a.readBy && a.readBy.length > 0
|
|
42731
|
+
a.readBy && a.readBy.length > 0 ? /* @__PURE__ */ m(
|
|
42730
42732
|
"ul",
|
|
42731
42733
|
{
|
|
42732
42734
|
"aria-label": V,
|
|
@@ -42734,14 +42736,14 @@ const BQ = ({
|
|
|
42734
42736
|
role: "list",
|
|
42735
42737
|
children: a.readBy.map((G) => /* @__PURE__ */ m("li", { children: /* @__PURE__ */ m(gE, { user: G }) }, G.id))
|
|
42736
42738
|
}
|
|
42737
|
-
)
|
|
42739
|
+
) : null
|
|
42738
42740
|
] }) : a.readAt && /* @__PURE__ */ m(
|
|
42739
42741
|
Hf,
|
|
42740
42742
|
{
|
|
42741
42743
|
label: f.chat.read,
|
|
42742
42744
|
value: Qh(new Date(a.readAt), U, k)
|
|
42743
42745
|
}
|
|
42744
|
-
)
|
|
42746
|
+
) : null
|
|
42745
42747
|
] })
|
|
42746
42748
|
}
|
|
42747
42749
|
)
|
|
@@ -42855,7 +42857,7 @@ const BQ = ({
|
|
|
42855
42857
|
onBack: () => $("menu")
|
|
42856
42858
|
}
|
|
42857
42859
|
) : /* @__PURE__ */ te(Ii, { children: [
|
|
42858
|
-
ye
|
|
42860
|
+
ye ? /* @__PURE__ */ te(Ii, { children: [
|
|
42859
42861
|
/* @__PURE__ */ te("div", { className: "flex items-center justify-between p-2", children: [
|
|
42860
42862
|
oE.map((we) => /* @__PURE__ */ m(
|
|
42861
42863
|
Ai,
|
|
@@ -42882,9 +42884,9 @@ const BQ = ({
|
|
|
42882
42884
|
)
|
|
42883
42885
|
] }),
|
|
42884
42886
|
/* @__PURE__ */ m("div", { className: "h-px bg-f1-border-secondary" })
|
|
42885
|
-
] }),
|
|
42886
|
-
|
|
42887
|
-
se
|
|
42887
|
+
] }) : null,
|
|
42888
|
+
se || ue || Ie ? /* @__PURE__ */ te("div", { className: "flex flex-col gap-0 p-1", children: [
|
|
42889
|
+
se ? /* @__PURE__ */ m(
|
|
42888
42890
|
ds,
|
|
42889
42891
|
{
|
|
42890
42892
|
icon: i0,
|
|
@@ -42901,8 +42903,8 @@ const BQ = ({
|
|
|
42901
42903
|
}
|
|
42902
42904
|
)
|
|
42903
42905
|
}
|
|
42904
|
-
),
|
|
42905
|
-
ue
|
|
42906
|
+
) : null,
|
|
42907
|
+
ue ? /* @__PURE__ */ m(
|
|
42906
42908
|
ds,
|
|
42907
42909
|
{
|
|
42908
42910
|
icon: Gk,
|
|
@@ -42911,8 +42913,8 @@ const BQ = ({
|
|
|
42911
42913
|
N.current = !0, j(a);
|
|
42912
42914
|
})
|
|
42913
42915
|
}
|
|
42914
|
-
),
|
|
42915
|
-
Ie
|
|
42916
|
+
) : null,
|
|
42917
|
+
Ie ? /* @__PURE__ */ m(
|
|
42916
42918
|
ds,
|
|
42917
42919
|
{
|
|
42918
42920
|
icon: Ek,
|
|
@@ -42924,29 +42926,29 @@ const BQ = ({
|
|
|
42924
42926
|
});
|
|
42925
42927
|
})
|
|
42926
42928
|
}
|
|
42927
|
-
)
|
|
42928
|
-
] }),
|
|
42929
|
-
|
|
42930
|
-
|
|
42929
|
+
) : null
|
|
42930
|
+
] }) : null,
|
|
42931
|
+
ce || O ? /* @__PURE__ */ te(Ii, { children: [
|
|
42932
|
+
ye || se || ue || Ie ? /* @__PURE__ */ m("div", { className: "h-px bg-f1-border-secondary" }) : null,
|
|
42931
42933
|
/* @__PURE__ */ te("div", { className: "flex flex-col gap-0 p-1", children: [
|
|
42932
|
-
ce
|
|
42934
|
+
ce ? /* @__PURE__ */ m(
|
|
42933
42935
|
ds,
|
|
42934
42936
|
{
|
|
42935
42937
|
icon: Qy,
|
|
42936
42938
|
label: Q.chat.edit,
|
|
42937
42939
|
onClick: Ce(() => X(a))
|
|
42938
42940
|
}
|
|
42939
|
-
),
|
|
42940
|
-
O
|
|
42941
|
+
) : null,
|
|
42942
|
+
O ? /* @__PURE__ */ m(
|
|
42941
42943
|
ds,
|
|
42942
42944
|
{
|
|
42943
42945
|
icon: Xc,
|
|
42944
42946
|
label: Q.actions.delete,
|
|
42945
42947
|
onClick: Ce(() => U(a.id))
|
|
42946
42948
|
}
|
|
42947
|
-
)
|
|
42949
|
+
) : null
|
|
42948
42950
|
] })
|
|
42949
|
-
] })
|
|
42951
|
+
] }) : null
|
|
42950
42952
|
] })
|
|
42951
42953
|
}
|
|
42952
42954
|
)
|
|
@@ -43033,18 +43035,20 @@ const BQ = ({
|
|
|
43033
43035
|
"aria-label": Q,
|
|
43034
43036
|
"data-testid": "chat-image-attachment",
|
|
43035
43037
|
children: [
|
|
43036
|
-
a.blurUrl && !R
|
|
43037
|
-
|
|
43038
|
-
|
|
43039
|
-
|
|
43040
|
-
|
|
43041
|
-
|
|
43042
|
-
|
|
43043
|
-
|
|
43044
|
-
|
|
43045
|
-
|
|
43046
|
-
|
|
43047
|
-
|
|
43038
|
+
a.blurUrl && !R ? (
|
|
43039
|
+
// Scaled up so the blur's soft edges fall outside the cell instead of
|
|
43040
|
+
// fading into the tint at the border.
|
|
43041
|
+
/* @__PURE__ */ m(
|
|
43042
|
+
"img",
|
|
43043
|
+
{
|
|
43044
|
+
src: a.blurUrl,
|
|
43045
|
+
alt: "",
|
|
43046
|
+
"aria-hidden": !0,
|
|
43047
|
+
className: "absolute inset-0 h-full w-full scale-105 object-cover blur-md",
|
|
43048
|
+
"data-testid": "chat-image-blur"
|
|
43049
|
+
}
|
|
43050
|
+
)
|
|
43051
|
+
) : null,
|
|
43048
43052
|
/* @__PURE__ */ m(
|
|
43049
43053
|
qA,
|
|
43050
43054
|
{
|
|
@@ -43063,7 +43067,7 @@ const BQ = ({
|
|
|
43063
43067
|
]
|
|
43064
43068
|
}
|
|
43065
43069
|
);
|
|
43066
|
-
}, hE = () => import("./index-
|
|
43070
|
+
}, hE = () => import("./index-DJGcz9TP.js").then((a) => ({
|
|
43067
43071
|
default: a.F0VideoPlayer
|
|
43068
43072
|
})), mE = bs(hE), pE = ({
|
|
43069
43073
|
file: a,
|
|
@@ -43142,7 +43146,7 @@ const BQ = ({
|
|
|
43142
43146
|
children: /* @__PURE__ */ m(DA, { className: "size-6" })
|
|
43143
43147
|
}
|
|
43144
43148
|
),
|
|
43145
|
-
K
|
|
43149
|
+
K ? /* @__PURE__ */ m(
|
|
43146
43150
|
"span",
|
|
43147
43151
|
{
|
|
43148
43152
|
className: Qe(
|
|
@@ -43152,7 +43156,7 @@ const BQ = ({
|
|
|
43152
43156
|
"data-testid": "chat-video-size",
|
|
43153
43157
|
children: K
|
|
43154
43158
|
}
|
|
43155
|
-
)
|
|
43159
|
+
) : null
|
|
43156
43160
|
]
|
|
43157
43161
|
}
|
|
43158
43162
|
),
|
|
@@ -43179,7 +43183,7 @@ const BQ = ({
|
|
|
43179
43183
|
) })
|
|
43180
43184
|
}
|
|
43181
43185
|
),
|
|
43182
|
-
Q
|
|
43186
|
+
Q ? /* @__PURE__ */ m("span", { className: "pointer-events-none absolute inset-0 z-20 opacity-100 transition-opacity duration-150 group-hover/video:opacity-0 motion-reduce:transition-none", children: Q }) : null,
|
|
43183
43187
|
/* @__PURE__ */ m("figcaption", { className: "sr-only", children: a.name })
|
|
43184
43188
|
]
|
|
43185
43189
|
}
|
|
@@ -43274,54 +43278,56 @@ const BQ = ({
|
|
|
43274
43278
|
C ? "items-end" : "items-start"
|
|
43275
43279
|
),
|
|
43276
43280
|
children: [
|
|
43277
|
-
G.length > 0
|
|
43278
|
-
|
|
43279
|
-
|
|
43280
|
-
|
|
43281
|
-
|
|
43282
|
-
|
|
43283
|
-
|
|
43284
|
-
|
|
43285
|
-
|
|
43286
|
-
|
|
43287
|
-
|
|
43288
|
-
|
|
43289
|
-
|
|
43290
|
-
|
|
43291
|
-
|
|
43292
|
-
|
|
43293
|
-
|
|
43294
|
-
|
|
43295
|
-
|
|
43296
|
-
|
|
43297
|
-
|
|
43298
|
-
|
|
43299
|
-
|
|
43300
|
-
|
|
43301
|
-
|
|
43302
|
-
|
|
43303
|
-
|
|
43304
|
-
|
|
43305
|
-
|
|
43281
|
+
G.length > 0 ? (
|
|
43282
|
+
// The mosaic clips its own cells, so the cells carry no radius — the
|
|
43283
|
+
// interior seams stay square like WhatsApp's. The hairline lives on the
|
|
43284
|
+
// container for the same reason mobile puts it there: a mostly-white
|
|
43285
|
+
// photo would otherwise dissolve into the transcript background.
|
|
43286
|
+
/* @__PURE__ */ m(
|
|
43287
|
+
"div",
|
|
43288
|
+
{
|
|
43289
|
+
className: Qe(
|
|
43290
|
+
"grid grid-cols-2 overflow-hidden border border-solid border-f1-border-secondary",
|
|
43291
|
+
Rd,
|
|
43292
|
+
UP,
|
|
43293
|
+
Ie
|
|
43294
|
+
),
|
|
43295
|
+
"data-testid": "chat-image-album",
|
|
43296
|
+
children: dE(G).map((he, we, fe) => {
|
|
43297
|
+
const Ge = G[he.index];
|
|
43298
|
+
if (!Ge)
|
|
43299
|
+
return null;
|
|
43300
|
+
const Ee = N === "image" && we === fe.length - 1;
|
|
43301
|
+
return /* @__PURE__ */ m(
|
|
43302
|
+
fE,
|
|
43303
|
+
{
|
|
43304
|
+
image: Ge,
|
|
43305
|
+
aspectRatio: he.aspectRatio,
|
|
43306
|
+
spanFull: he.span === 2,
|
|
43307
|
+
surfaceClassName: V,
|
|
43308
|
+
label: k.chat.openImage,
|
|
43309
|
+
onOpen: () => {
|
|
43310
|
+
U(G, he.index), r.onImageOpened({ count: G.length });
|
|
43311
|
+
},
|
|
43312
|
+
overlay: he.hiddenCount > 0 ? /* @__PURE__ */ m(
|
|
43313
|
+
"span",
|
|
43314
|
+
{
|
|
43315
|
+
"aria-hidden": !0,
|
|
43316
|
+
className: Qe(
|
|
43317
|
+
"absolute inset-0 flex items-center justify-center text-2xl font-semibold text-f1-foreground-inverse",
|
|
43318
|
+
_P
|
|
43319
|
+
),
|
|
43320
|
+
"data-testid": "chat-image-album-more",
|
|
43321
|
+
children: `+${he.hiddenCount}`
|
|
43322
|
+
}
|
|
43323
|
+
) : Ee ? /* @__PURE__ */ m(JI, { message: a, placement: "overlay" }) : void 0
|
|
43306
43324
|
},
|
|
43307
|
-
|
|
43308
|
-
|
|
43309
|
-
|
|
43310
|
-
|
|
43311
|
-
|
|
43312
|
-
|
|
43313
|
-
_P
|
|
43314
|
-
),
|
|
43315
|
-
"data-testid": "chat-image-album-more",
|
|
43316
|
-
children: `+${he.hiddenCount}`
|
|
43317
|
-
}
|
|
43318
|
-
) : Ee ? /* @__PURE__ */ m(JI, { message: a, placement: "overlay" }) : void 0
|
|
43319
|
-
},
|
|
43320
|
-
`${Ge.url}-${he.index}`
|
|
43321
|
-
);
|
|
43322
|
-
})
|
|
43323
|
-
}
|
|
43324
|
-
),
|
|
43325
|
+
`${Ge.url}-${he.index}`
|
|
43326
|
+
);
|
|
43327
|
+
})
|
|
43328
|
+
}
|
|
43329
|
+
)
|
|
43330
|
+
) : null,
|
|
43325
43331
|
K.map((he, we) => /* @__PURE__ */ m(
|
|
43326
43332
|
pE,
|
|
43327
43333
|
{
|
|
@@ -43363,25 +43369,27 @@ const BQ = ({
|
|
|
43363
43369
|
`${he.url}-${fe}`
|
|
43364
43370
|
)),
|
|
43365
43371
|
q.map((he, we) => /* @__PURE__ */ m(uE, { card: he }, `${he.title}-${we}`)),
|
|
43366
|
-
j.length > 0
|
|
43367
|
-
|
|
43368
|
-
|
|
43369
|
-
|
|
43370
|
-
|
|
43371
|
-
|
|
43372
|
-
|
|
43373
|
-
|
|
43374
|
-
|
|
43375
|
-
|
|
43376
|
-
|
|
43377
|
-
|
|
43372
|
+
j.length > 0 ? (
|
|
43373
|
+
// Files flow side by side and wrap, instead of stacking vertically.
|
|
43374
|
+
/* @__PURE__ */ m("div", { className: Qe("flex flex-wrap gap-1", C && "justify-end"), children: j.map((he, we) => /* @__PURE__ */ m(
|
|
43375
|
+
Th,
|
|
43376
|
+
{
|
|
43377
|
+
size: "md",
|
|
43378
|
+
file: { name: he.name, type: he.mimeType ?? "" },
|
|
43379
|
+
actions: [
|
|
43380
|
+
{
|
|
43381
|
+
label: k.chat.download,
|
|
43382
|
+
icon: Ud,
|
|
43383
|
+
onClick: () => {
|
|
43384
|
+
Sd(he.url, he.name), r.onAttachmentDownloaded({ kind: rd(he) });
|
|
43385
|
+
}
|
|
43378
43386
|
}
|
|
43379
|
-
|
|
43380
|
-
|
|
43381
|
-
|
|
43382
|
-
|
|
43383
|
-
)
|
|
43384
|
-
N === "below"
|
|
43387
|
+
]
|
|
43388
|
+
},
|
|
43389
|
+
`${he.url}-${we}`
|
|
43390
|
+
)) })
|
|
43391
|
+
) : null,
|
|
43392
|
+
N === "below" ? /* @__PURE__ */ m(JI, { message: a, placement: "below" }) : null
|
|
43385
43393
|
]
|
|
43386
43394
|
}
|
|
43387
43395
|
);
|
|
@@ -43498,7 +43506,7 @@ const BQ = ({
|
|
|
43498
43506
|
},
|
|
43499
43507
|
V.emoji
|
|
43500
43508
|
)) }),
|
|
43501
|
-
r
|
|
43509
|
+
r ? /* @__PURE__ */ m(
|
|
43502
43510
|
Um,
|
|
43503
43511
|
{
|
|
43504
43512
|
size: "md",
|
|
@@ -43506,7 +43514,7 @@ const BQ = ({
|
|
|
43506
43514
|
label: f.chat.react,
|
|
43507
43515
|
onSelect: (V) => R(V, "inlinePicker")
|
|
43508
43516
|
}
|
|
43509
|
-
)
|
|
43517
|
+
) : null
|
|
43510
43518
|
]
|
|
43511
43519
|
}
|
|
43512
43520
|
);
|
|
@@ -43524,7 +43532,7 @@ const BQ = ({
|
|
|
43524
43532
|
C ? "opacity-100" : "opacity-0"
|
|
43525
43533
|
),
|
|
43526
43534
|
"data-testid": "chat-sending-clock",
|
|
43527
|
-
children: C
|
|
43535
|
+
children: C ? /* @__PURE__ */ m(
|
|
43528
43536
|
fi,
|
|
43529
43537
|
{
|
|
43530
43538
|
variant: "ghost",
|
|
@@ -43532,7 +43540,7 @@ const BQ = ({
|
|
|
43532
43540
|
label: Ed(new Date(a)),
|
|
43533
43541
|
icon: Tk
|
|
43534
43542
|
}
|
|
43535
|
-
)
|
|
43543
|
+
) : null
|
|
43536
43544
|
}
|
|
43537
43545
|
);
|
|
43538
43546
|
}, bE = 150, _E = 'a, button, input, textarea, select, video, audio, summary, [role="button"], [role="link"], [role="slider"], [contenteditable="true"], [tabindex]:not([tabindex="-1"]), [data-chat-attachments], [data-chat-message-text]', kE = (a, C) => {
|
|
@@ -43601,7 +43609,7 @@ const BQ = ({
|
|
|
43601
43609
|
),
|
|
43602
43610
|
onPointerEnter: Y || !ee ? void 0 : N,
|
|
43603
43611
|
children: [
|
|
43604
|
-
fe
|
|
43612
|
+
fe ? /* @__PURE__ */ te(
|
|
43605
43613
|
"div",
|
|
43606
43614
|
{
|
|
43607
43615
|
className: Qe(
|
|
@@ -43651,7 +43659,7 @@ const BQ = ({
|
|
|
43651
43659
|
onDoubleClick: Ee,
|
|
43652
43660
|
"data-testid": "chat-message-surface",
|
|
43653
43661
|
children: [
|
|
43654
|
-
he
|
|
43662
|
+
he ? /* @__PURE__ */ m(
|
|
43655
43663
|
FE,
|
|
43656
43664
|
{
|
|
43657
43665
|
message: a,
|
|
@@ -43660,8 +43668,8 @@ const BQ = ({
|
|
|
43660
43668
|
isLastOfRun: U,
|
|
43661
43669
|
hasAvatar: r
|
|
43662
43670
|
}
|
|
43663
|
-
),
|
|
43664
|
-
we
|
|
43671
|
+
) : null,
|
|
43672
|
+
we ? /* @__PURE__ */ m(
|
|
43665
43673
|
nE,
|
|
43666
43674
|
{
|
|
43667
43675
|
message: a,
|
|
@@ -43672,12 +43680,12 @@ const BQ = ({
|
|
|
43672
43680
|
isLastOfRun: U,
|
|
43673
43681
|
hasAvatar: r
|
|
43674
43682
|
}
|
|
43675
|
-
)
|
|
43683
|
+
) : null
|
|
43676
43684
|
]
|
|
43677
43685
|
}
|
|
43678
43686
|
),
|
|
43679
|
-
C && a.status === "sending"
|
|
43680
|
-
!a.deleted && a.status !== "sending" && (ee || a.status === "failed")
|
|
43687
|
+
C && a.status === "sending" ? /* @__PURE__ */ m(vE, { sentAt: a.createdAt }) : null,
|
|
43688
|
+
!a.deleted && a.status !== "sending" && (ee || a.status === "failed") ? /* @__PURE__ */ m(
|
|
43681
43689
|
"div",
|
|
43682
43690
|
{
|
|
43683
43691
|
ref: X,
|
|
@@ -43735,33 +43743,35 @@ const BQ = ({
|
|
|
43735
43743
|
)
|
|
43736
43744
|
)
|
|
43737
43745
|
}
|
|
43738
|
-
)
|
|
43746
|
+
) : null
|
|
43739
43747
|
]
|
|
43740
43748
|
}
|
|
43741
43749
|
)
|
|
43742
43750
|
]
|
|
43743
43751
|
}
|
|
43744
|
-
),
|
|
43745
|
-
/* @__PURE__ */ m(An, { initial: !1, children: Ce
|
|
43746
|
-
|
|
43747
|
-
|
|
43748
|
-
|
|
43749
|
-
|
|
43750
|
-
|
|
43751
|
-
|
|
43752
|
-
|
|
43753
|
-
|
|
43754
|
-
|
|
43755
|
-
|
|
43756
|
-
|
|
43757
|
-
|
|
43758
|
-
|
|
43759
|
-
|
|
43760
|
-
|
|
43761
|
-
|
|
43762
|
-
|
|
43763
|
-
|
|
43764
|
-
|
|
43752
|
+
) : null,
|
|
43753
|
+
/* @__PURE__ */ m(An, { initial: !1, children: Ce ? (
|
|
43754
|
+
// Reactions grow the row in (height + fade) when the first one lands
|
|
43755
|
+
// on a visible message, and collapse it back out when the last one is
|
|
43756
|
+
// removed — never a pop. The transcript's slide layer absorbs the
|
|
43757
|
+
// shift when pinned at the bottom. Pills/pickers portal their
|
|
43758
|
+
// popovers, so the overflow clip never cuts them.
|
|
43759
|
+
/* @__PURE__ */ te(
|
|
43760
|
+
zt.div,
|
|
43761
|
+
{
|
|
43762
|
+
className: "flex w-full gap-1.5 overflow-hidden",
|
|
43763
|
+
initial: _e.current || V ? !1 : { height: 0, opacity: 0 },
|
|
43764
|
+
animate: { height: "auto", opacity: 1 },
|
|
43765
|
+
exit: V ? void 0 : { height: 0, opacity: 0 },
|
|
43766
|
+
transition: { duration: 0.18, ease: "easeOut" },
|
|
43767
|
+
children: [
|
|
43768
|
+
Q,
|
|
43769
|
+
/* @__PURE__ */ m("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ m(QE, { message: a, isMine: C }) })
|
|
43770
|
+
]
|
|
43771
|
+
},
|
|
43772
|
+
"reactions"
|
|
43773
|
+
)
|
|
43774
|
+
) : null })
|
|
43765
43775
|
]
|
|
43766
43776
|
}
|
|
43767
43777
|
);
|
|
@@ -43849,7 +43859,7 @@ const BQ = ({
|
|
|
43849
43859
|
animate: f ? { opacity: 0 } : { opacity: 1 },
|
|
43850
43860
|
transition: { duration: 0.14, ease: Ea },
|
|
43851
43861
|
children: [
|
|
43852
|
-
C
|
|
43862
|
+
C ? a.length > 1 ? (
|
|
43853
43863
|
// Several people typing: stacked avatar list, capped at 3 with a +N.
|
|
43854
43864
|
/* @__PURE__ */ m(
|
|
43855
43865
|
jA,
|
|
@@ -43871,7 +43881,7 @@ const BQ = ({
|
|
|
43871
43881
|
lastName: ""
|
|
43872
43882
|
}
|
|
43873
43883
|
}
|
|
43874
|
-
)
|
|
43884
|
+
) : null,
|
|
43875
43885
|
/* @__PURE__ */ m(
|
|
43876
43886
|
"div",
|
|
43877
43887
|
{
|
|
@@ -43901,7 +43911,7 @@ const BQ = ({
|
|
|
43901
43911
|
className: Qe("flex justify-center", B ? "py-6" : "py-0"),
|
|
43902
43912
|
"data-testid": "chat-date-separator",
|
|
43903
43913
|
children: /* @__PURE__ */ te("span", { className: "flex items-center gap-1.5 rounded-full border border-solid border-f1-border-secondary bg-f1-background px-2.5 py-0.5 backdrop-blur", children: [
|
|
43904
|
-
f
|
|
43914
|
+
f ? /* @__PURE__ */ m(OA, { size: "small", className: "h-3.5 w-3.5" }) : null,
|
|
43905
43915
|
/* @__PURE__ */ m("span", { className: "text-sm font-normal text-f1-foreground-secondary", children: R })
|
|
43906
43916
|
] })
|
|
43907
43917
|
}
|
|
@@ -44017,7 +44027,7 @@ const BQ = ({
|
|
|
44017
44027
|
if (a.type === "footer") {
|
|
44018
44028
|
const ae = C && !a.message.isMine;
|
|
44019
44029
|
return /* @__PURE__ */ te("div", { className: Qe("flex w-full gap-1.5", R), children: [
|
|
44020
|
-
ae
|
|
44030
|
+
ae ? /* @__PURE__ */ m("span", { "aria-hidden": !0, className: "size-5 shrink-0" }) : null,
|
|
44021
44031
|
/* @__PURE__ */ m("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ m(GE, { message: a.message, isGroup: C }) })
|
|
44022
44032
|
] });
|
|
44023
44033
|
}
|
|
@@ -44067,8 +44077,8 @@ const BQ = ({
|
|
|
44067
44077
|
}) => {
|
|
44068
44078
|
const G = Vt(), K = Sg(), Y = R ? 0 : 0.15;
|
|
44069
44079
|
return /* @__PURE__ */ te(Ii, { children: [
|
|
44070
|
-
/* @__PURE__ */ m(An, { children:
|
|
44071
|
-
/* @__PURE__ */ m(An, { children: C && (!a || f || B) && Q
|
|
44080
|
+
/* @__PURE__ */ m(An, { children: a ? null : /* @__PURE__ */ m(Nk, { position: "top" }, "chat-header-shadow") }),
|
|
44081
|
+
/* @__PURE__ */ m(An, { children: C && (!a || f || B) && Q ? /* @__PURE__ */ m(
|
|
44072
44082
|
zt.div,
|
|
44073
44083
|
{
|
|
44074
44084
|
className: "pointer-events-none absolute inset-x-0 top-2 flex justify-center",
|
|
@@ -44092,8 +44102,8 @@ const BQ = ({
|
|
|
44092
44102
|
}
|
|
44093
44103
|
)
|
|
44094
44104
|
}
|
|
44095
|
-
) }),
|
|
44096
|
-
/* @__PURE__ */ m(An, { children: k
|
|
44105
|
+
) : null }),
|
|
44106
|
+
/* @__PURE__ */ m(An, { children: k ? /* @__PURE__ */ m(
|
|
44097
44107
|
zt.div,
|
|
44098
44108
|
{
|
|
44099
44109
|
"data-testid": "chat-jump-overlay",
|
|
@@ -44135,7 +44145,7 @@ const BQ = ({
|
|
|
44135
44145
|
U
|
|
44136
44146
|
)
|
|
44137
44147
|
}
|
|
44138
|
-
) })
|
|
44148
|
+
) : null })
|
|
44139
44149
|
] });
|
|
44140
44150
|
}, YE = 250, zE = (a, C) => {
|
|
44141
44151
|
for (let f = Math.max(0, C); f < a.length; f++) {
|
|
@@ -44415,7 +44425,7 @@ const BQ = ({
|
|
|
44415
44425
|
},
|
|
44416
44426
|
st
|
|
44417
44427
|
),
|
|
44418
|
-
Pt
|
|
44428
|
+
Pt ? /* @__PURE__ */ m(
|
|
44419
44429
|
WE,
|
|
44420
44430
|
{
|
|
44421
44431
|
atTop: bi,
|
|
@@ -44429,7 +44439,7 @@ const BQ = ({
|
|
|
44429
44439
|
reducedMotion: j,
|
|
44430
44440
|
onJumpToBottom: Ki
|
|
44431
44441
|
}
|
|
44432
|
-
)
|
|
44442
|
+
) : null
|
|
44433
44443
|
]
|
|
44434
44444
|
}
|
|
44435
44445
|
);
|
|
@@ -44453,7 +44463,7 @@ const BQ = ({
|
|
|
44453
44463
|
{
|
|
44454
44464
|
className: Qe("flex w-full items-end gap-2", a && "flex-row-reverse"),
|
|
44455
44465
|
children: [
|
|
44456
|
-
|
|
44466
|
+
a ? null : /* @__PURE__ */ m(Ut, { className: "size-6 shrink-0 rounded-full" }),
|
|
44457
44467
|
/* @__PURE__ */ m(
|
|
44458
44468
|
"div",
|
|
44459
44469
|
{
|
|
@@ -44482,7 +44492,7 @@ const BQ = ({
|
|
|
44482
44492
|
const a = Vt(), { reconnect: C } = Br();
|
|
44483
44493
|
return /* @__PURE__ */ m(aT, { children: /* @__PURE__ */ te("div", { className: "flex flex-col items-center gap-3", children: [
|
|
44484
44494
|
/* @__PURE__ */ m("span", { children: a.chat.error }),
|
|
44485
|
-
C
|
|
44495
|
+
C ? /* @__PURE__ */ m(
|
|
44486
44496
|
Ai,
|
|
44487
44497
|
{
|
|
44488
44498
|
variant: "outline",
|
|
@@ -44493,7 +44503,7 @@ const BQ = ({
|
|
|
44493
44503
|
C();
|
|
44494
44504
|
}
|
|
44495
44505
|
}
|
|
44496
|
-
)
|
|
44506
|
+
) : null
|
|
44497
44507
|
] }) });
|
|
44498
44508
|
}, rT = () => {
|
|
44499
44509
|
const a = Vt();
|
|
@@ -44899,7 +44909,7 @@ const RK = On(
|
|
|
44899
44909
|
hT
|
|
44900
44910
|
), ya = Object.assign(
|
|
44901
44911
|
wi(function({ chart: C, summaries: f, ...B }, Q) {
|
|
44902
|
-
return /* @__PURE__ */ m(Fs, { ref: Q, ...B, summaries: f, children: C
|
|
44912
|
+
return /* @__PURE__ */ m(Fs, { ref: Q, ...B, summaries: f, children: C ? /* @__PURE__ */ m("div", { className: "min-h-52 min-w-52 grow pt-2", children: C }) : null });
|
|
44903
44913
|
}),
|
|
44904
44914
|
{
|
|
44905
44915
|
Skeleton: Fs.Skeleton
|
|
@@ -45355,14 +45365,14 @@ const RK = On(
|
|
|
45355
45365
|
G
|
|
45356
45366
|
),
|
|
45357
45367
|
children: [
|
|
45358
|
-
U === "bar-chart"
|
|
45359
|
-
U === "line-chart"
|
|
45368
|
+
U === "bar-chart" ? /* @__PURE__ */ m("div", { className: "absolute bottom-1 left-4 right-4", children: /* @__PURE__ */ m(VT, { className: "w-full" }) }) : null,
|
|
45369
|
+
U === "line-chart" ? /* @__PURE__ */ m(ET, { className: "w-full" }) : null
|
|
45360
45370
|
]
|
|
45361
45371
|
}
|
|
45362
45372
|
),
|
|
45363
45373
|
/* @__PURE__ */ te("div", { className: "relative flex min-h-28 flex-1 flex-col items-start gap-5", children: [
|
|
45364
45374
|
/* @__PURE__ */ m("p", { className: "flex w-3/4 text-xl font-semibold", children: f }),
|
|
45365
|
-
B
|
|
45375
|
+
B ? /* @__PURE__ */ m(
|
|
45366
45376
|
fi,
|
|
45367
45377
|
{
|
|
45368
45378
|
label: B,
|
|
@@ -45370,7 +45380,7 @@ const RK = On(
|
|
|
45370
45380
|
variant: K,
|
|
45371
45381
|
onClick: k
|
|
45372
45382
|
}
|
|
45373
|
-
)
|
|
45383
|
+
) : null
|
|
45374
45384
|
] })
|
|
45375
45385
|
] })
|
|
45376
45386
|
]
|
|
@@ -45559,8 +45569,8 @@ const HT = wi(
|
|
|
45559
45569
|
children: f
|
|
45560
45570
|
}
|
|
45561
45571
|
),
|
|
45562
|
-
"icon" in Q && Q.icon
|
|
45563
|
-
"emoji" in Q && Q.emoji
|
|
45572
|
+
"icon" in Q && Q.icon ? /* @__PURE__ */ m("span", { className: Qe("flex", B), children: /* @__PURE__ */ m(ai, { icon: Q.icon }) }) : null,
|
|
45573
|
+
"emoji" in Q && Q.emoji ? /* @__PURE__ */ m("span", { className: Qe("flex", B), children: /* @__PURE__ */ m(oo, { emoji: Q.emoji, size: "md" }) }) : null
|
|
45564
45574
|
] })
|
|
45565
45575
|
] }, f);
|
|
45566
45576
|
}
|
|
@@ -45617,8 +45627,8 @@ function HK({
|
|
|
45617
45627
|
withEmoji: "emoji" in r && !!r.emoji,
|
|
45618
45628
|
withPointerCursor: k,
|
|
45619
45629
|
children: [
|
|
45620
|
-
"alert" in r && r.alert
|
|
45621
|
-
"emoji" in r && r.emoji
|
|
45630
|
+
"alert" in r && r.alert ? /* @__PURE__ */ m(Zh, { type: r.alert }) : null,
|
|
45631
|
+
"emoji" in r && r.emoji ? /* @__PURE__ */ m(zk, { emoji: r.emoji }) : null,
|
|
45622
45632
|
/* @__PURE__ */ te("div", { className: "flex-1", children: [
|
|
45623
45633
|
/* @__PURE__ */ m("p", { className: "line-clamp-1 font-medium", children: C }),
|
|
45624
45634
|
/* @__PURE__ */ m("p", { className: "line-clamp-1 text-f1-foreground-secondary", children: f })
|
|
@@ -45679,28 +45689,28 @@ function wh({
|
|
|
45679
45689
|
Y.preventDefault(), V?.(a);
|
|
45680
45690
|
}, className: G, children: [
|
|
45681
45691
|
/* @__PURE__ */ te("div", { className: "flex flex-1 flex-row items-start gap-1", children: [
|
|
45682
|
-
k
|
|
45692
|
+
k ? /* @__PURE__ */ m(
|
|
45683
45693
|
ai,
|
|
45684
45694
|
{
|
|
45685
45695
|
icon: k,
|
|
45686
45696
|
size: "md",
|
|
45687
45697
|
className: Qe("mt-0.5", r)
|
|
45688
45698
|
}
|
|
45689
|
-
),
|
|
45699
|
+
) : null,
|
|
45690
45700
|
/* @__PURE__ */ m("p", { className: "mt-0.5 line-clamp-2 font-medium", children: C }),
|
|
45691
|
-
U
|
|
45701
|
+
U ? /* @__PURE__ */ m(
|
|
45692
45702
|
ai,
|
|
45693
45703
|
{
|
|
45694
45704
|
icon: U,
|
|
45695
45705
|
size: "md",
|
|
45696
45706
|
className: Qe("mt-0.5", R)
|
|
45697
45707
|
}
|
|
45698
|
-
)
|
|
45708
|
+
) : null
|
|
45699
45709
|
] }),
|
|
45700
45710
|
/* @__PURE__ */ te("div", { className: "flex flex-row items-center gap-2", children: [
|
|
45701
|
-
f
|
|
45702
|
-
B
|
|
45703
|
-
|
|
45711
|
+
f ? /* @__PURE__ */ m(Hk, { ...f }) : null,
|
|
45712
|
+
B ? /* @__PURE__ */ m(iC, { ...B }) : null,
|
|
45713
|
+
Q ? /* @__PURE__ */ m(md, { value: Q }) : null
|
|
45704
45714
|
] })
|
|
45705
45715
|
] });
|
|
45706
45716
|
}
|
|
@@ -45745,20 +45755,20 @@ const XT = ({ title: a, info: C }) => /* @__PURE__ */ te("div", { className: "fl
|
|
|
45745
45755
|
] }), jK = wi(
|
|
45746
45756
|
function({ title: C, titleValue: f, titleTooltip: B, list: Q }, k) {
|
|
45747
45757
|
return /* @__PURE__ */ te("div", { ref: k, className: "flex flex-col gap-2", children: [
|
|
45748
|
-
C
|
|
45758
|
+
C ? /* @__PURE__ */ te("div", { className: "flex items-center justify-between gap-2 font-medium", children: [
|
|
45749
45759
|
/* @__PURE__ */ te("div", { className: "flex items-center gap-1", children: [
|
|
45750
45760
|
/* @__PURE__ */ m("div", { children: C }),
|
|
45751
|
-
B
|
|
45761
|
+
B ? /* @__PURE__ */ m("div", { className: "flex h-4 w-4 items-center text-f1-foreground-tertiary hover:cursor-help", children: /* @__PURE__ */ m(
|
|
45752
45762
|
Na,
|
|
45753
45763
|
{
|
|
45754
45764
|
label: B.label,
|
|
45755
45765
|
description: B.description,
|
|
45756
45766
|
children: /* @__PURE__ */ m(ai, { icon: Py, size: "sm" })
|
|
45757
45767
|
}
|
|
45758
|
-
) })
|
|
45768
|
+
) }) : null
|
|
45759
45769
|
] }),
|
|
45760
|
-
f
|
|
45761
|
-
] }),
|
|
45770
|
+
f ? /* @__PURE__ */ m("div", { children: f }) : null
|
|
45771
|
+
] }) : null,
|
|
45762
45772
|
Q.map((U) => /* @__PURE__ */ m(XT, { title: U.title, info: U.info }, U.title))
|
|
45763
45773
|
] });
|
|
45764
45774
|
}
|
|
@@ -45784,7 +45794,7 @@ function LK({
|
|
|
45784
45794
|
hideTooltip: k
|
|
45785
45795
|
}
|
|
45786
45796
|
) }),
|
|
45787
|
-
|
|
45797
|
+
B ? /* @__PURE__ */ m("div", { className: Q ? "mt-1" : "mt-2", children: /* @__PURE__ */ m(
|
|
45788
45798
|
"span",
|
|
45789
45799
|
{
|
|
45790
45800
|
className: Qe(
|
|
@@ -45793,7 +45803,7 @@ function LK({
|
|
|
45793
45803
|
),
|
|
45794
45804
|
children: B
|
|
45795
45805
|
}
|
|
45796
|
-
) })
|
|
45806
|
+
) }) : null
|
|
45797
45807
|
] });
|
|
45798
45808
|
}
|
|
45799
45809
|
const DQ = (a, C) => ((C ?? 0) < -1 * (a ?? 0) ? -1 * a : C) ?? 0, qT = ({
|
|
@@ -46214,7 +46224,7 @@ function AN({
|
|
|
46214
46224
|
className: "flex cursor-default flex-row items-center gap-1 rounded-xs px-1 py-0.5 hover:bg-f1-background-hover",
|
|
46215
46225
|
onClick: B,
|
|
46216
46226
|
children: [
|
|
46217
|
-
f
|
|
46227
|
+
f ? /* @__PURE__ */ m(ai, { icon: f, className: "text-f1-icon" }) : null,
|
|
46218
46228
|
/* @__PURE__ */ m(
|
|
46219
46229
|
"span",
|
|
46220
46230
|
{
|
|
@@ -46248,7 +46258,7 @@ function lN({
|
|
|
46248
46258
|
/* @__PURE__ */ m(Ut, { className: "h-7 w-28" }),
|
|
46249
46259
|
/* @__PURE__ */ m(Ut, { className: "h-7 w-12" })
|
|
46250
46260
|
] }),
|
|
46251
|
-
C
|
|
46261
|
+
C ? /* @__PURE__ */ m(Ut, { className: "h-1.5 w-full rounded-full" }) : null,
|
|
46252
46262
|
/* @__PURE__ */ te("div", { className: "flex flex-row justify-between gap-2", children: [
|
|
46253
46263
|
/* @__PURE__ */ m(Ut, { className: "h-5 w-12" }),
|
|
46254
46264
|
/* @__PURE__ */ m(Ut, { className: "h-5 w-24" })
|
|
@@ -46256,7 +46266,7 @@ function lN({
|
|
|
46256
46266
|
/* @__PURE__ */ te("div", { className: "flex flex-col gap-2 pt-1", children: [
|
|
46257
46267
|
f && B ? /* @__PURE__ */ m(Ut, { className: "h-8 w-full rounded-md" }) : null,
|
|
46258
46268
|
/* @__PURE__ */ te("div", { className: "flex flex-row items-center gap-2", children: [
|
|
46259
|
-
|
|
46269
|
+
f || B ? /* @__PURE__ */ m(Ut, { className: "h-8 min-w-0 flex-1 rounded-md" }) : null,
|
|
46260
46270
|
/* @__PURE__ */ m(Ut, { className: "ml-auto h-8 w-24 shrink-0 rounded-md" })
|
|
46261
46271
|
] })
|
|
46262
46272
|
] })
|
|
@@ -46278,9 +46288,9 @@ function lN({
|
|
|
46278
46288
|
] }),
|
|
46279
46289
|
/* @__PURE__ */ m("div", { className: "flex flex-row justify-center gap-2 @xs:justify-start", children: /* @__PURE__ */ m(Ut, { className: "h-8 w-28 rounded-md" }) })
|
|
46280
46290
|
] }),
|
|
46281
|
-
C
|
|
46291
|
+
C ? /* @__PURE__ */ m(Ut, { className: "h-40 w-40 shrink-0 rounded-full" }) : null
|
|
46282
46292
|
] }),
|
|
46283
|
-
/* @__PURE__ */ m("div", { className: "mt-6 flex flex-row justify-center @xs:justify-start", children: f
|
|
46293
|
+
/* @__PURE__ */ m("div", { className: "mt-6 flex flex-row justify-center @xs:justify-start", children: f ? /* @__PURE__ */ m(Ut, { className: "h-6 w-32 rounded-md" }) : null })
|
|
46284
46294
|
] })
|
|
46285
46295
|
}
|
|
46286
46296
|
);
|
|
@@ -46288,7 +46298,7 @@ function lN({
|
|
|
46288
46298
|
const ZF = "[&_[data-testid=input-field-wrapper]]:bg-transparent", KF = ({ color: a }) => {
|
|
46289
46299
|
const C = Vn();
|
|
46290
46300
|
return /* @__PURE__ */ te("div", { className: "relative aspect-square h-4 shrink-0 self-center", children: [
|
|
46291
|
-
|
|
46301
|
+
C ? null : /* @__PURE__ */ m(
|
|
46292
46302
|
zt.div,
|
|
46293
46303
|
{
|
|
46294
46304
|
className: "absolute inset-0 rounded-full opacity-20",
|
|
@@ -46407,19 +46417,21 @@ function XK({
|
|
|
46407
46417
|
disabled: !Yt
|
|
46408
46418
|
}
|
|
46409
46419
|
) : null, mt = ge ?? ((C ?? 0) < 0 ? "clock-out" : "resume"), kt = /* @__PURE__ */ te(Ii, { children: [
|
|
46410
|
-
ke === "clocked-out"
|
|
46411
|
-
|
|
46412
|
-
|
|
46413
|
-
|
|
46414
|
-
|
|
46415
|
-
|
|
46416
|
-
|
|
46417
|
-
|
|
46418
|
-
|
|
46419
|
-
|
|
46420
|
-
|
|
46421
|
-
|
|
46422
|
-
|
|
46420
|
+
ke === "clocked-out" ? (
|
|
46421
|
+
// The nudge off the right edge is the DEFAULT layout's: it balances the
|
|
46422
|
+
// lone button against the ring beside it. The bar variant pins its
|
|
46423
|
+
// controls to the tile's edge, where that margin would be a gap.
|
|
46424
|
+
/* @__PURE__ */ m("div", { className: Ce === "default" ? "mr-3 @xs:mr-0" : void 0, children: /* @__PURE__ */ m(
|
|
46425
|
+
fi,
|
|
46426
|
+
{
|
|
46427
|
+
onClick: R,
|
|
46428
|
+
label: B.clockIn,
|
|
46429
|
+
icon: DA
|
|
46430
|
+
}
|
|
46431
|
+
) })
|
|
46432
|
+
) : null,
|
|
46433
|
+
ke === "clocked-in" ? /* @__PURE__ */ te(Ii, { children: [
|
|
46434
|
+
j ? /* @__PURE__ */ m(Ii, { children: Ee.length > 1 && Y ? /* @__PURE__ */ m(
|
|
46423
46435
|
tC,
|
|
46424
46436
|
{
|
|
46425
46437
|
label: B.break,
|
|
@@ -46448,7 +46460,7 @@ function XK({
|
|
|
46448
46460
|
icon: oh,
|
|
46449
46461
|
hideLabel: !0
|
|
46450
46462
|
}
|
|
46451
|
-
) }),
|
|
46463
|
+
) }) : null,
|
|
46452
46464
|
/* @__PURE__ */ m(
|
|
46453
46465
|
fi,
|
|
46454
46466
|
{
|
|
@@ -46458,52 +46470,54 @@ function XK({
|
|
|
46458
46470
|
icon: _f
|
|
46459
46471
|
}
|
|
46460
46472
|
)
|
|
46461
|
-
] }),
|
|
46462
|
-
ke === "break"
|
|
46463
|
-
|
|
46464
|
-
|
|
46465
|
-
|
|
46466
|
-
/* @__PURE__ */
|
|
46467
|
-
|
|
46468
|
-
|
|
46469
|
-
|
|
46470
|
-
|
|
46471
|
-
|
|
46472
|
-
|
|
46473
|
-
|
|
46474
|
-
|
|
46475
|
-
|
|
46476
|
-
|
|
46477
|
-
|
|
46478
|
-
|
|
46479
|
-
|
|
46480
|
-
|
|
46481
|
-
|
|
46482
|
-
|
|
46483
|
-
|
|
46484
|
-
|
|
46485
|
-
/* @__PURE__ */
|
|
46486
|
-
|
|
46487
|
-
|
|
46488
|
-
|
|
46489
|
-
|
|
46490
|
-
|
|
46491
|
-
|
|
46492
|
-
|
|
46493
|
-
|
|
46494
|
-
|
|
46495
|
-
|
|
46496
|
-
|
|
46497
|
-
|
|
46498
|
-
|
|
46499
|
-
|
|
46500
|
-
|
|
46501
|
-
|
|
46502
|
-
|
|
46503
|
-
|
|
46473
|
+
] }) : null,
|
|
46474
|
+
ke === "break" ? (
|
|
46475
|
+
// The PROMOTED action is the primary button, labelled; the other is an
|
|
46476
|
+
// icon-only outline beside it. Which one is promoted depends on where the
|
|
46477
|
+
// day stands — see `promotedOnBreak`.
|
|
46478
|
+
mt === "clock-out" ? /* @__PURE__ */ te(Ii, { children: [
|
|
46479
|
+
/* @__PURE__ */ m(
|
|
46480
|
+
fi,
|
|
46481
|
+
{
|
|
46482
|
+
onClick: R,
|
|
46483
|
+
label: B.resume,
|
|
46484
|
+
variant: "outline",
|
|
46485
|
+
icon: DA,
|
|
46486
|
+
hideLabel: !0
|
|
46487
|
+
}
|
|
46488
|
+
),
|
|
46489
|
+
/* @__PURE__ */ m(
|
|
46490
|
+
fi,
|
|
46491
|
+
{
|
|
46492
|
+
onClick: V,
|
|
46493
|
+
label: B.clockOut,
|
|
46494
|
+
icon: _f
|
|
46495
|
+
}
|
|
46496
|
+
)
|
|
46497
|
+
] }) : /* @__PURE__ */ te(Ii, { children: [
|
|
46498
|
+
/* @__PURE__ */ m(
|
|
46499
|
+
fi,
|
|
46500
|
+
{
|
|
46501
|
+
onClick: V,
|
|
46502
|
+
label: B.clockOut,
|
|
46503
|
+
variant: "outline",
|
|
46504
|
+
icon: _f,
|
|
46505
|
+
hideLabel: !0
|
|
46506
|
+
}
|
|
46507
|
+
),
|
|
46508
|
+
/* @__PURE__ */ m(
|
|
46509
|
+
fi,
|
|
46510
|
+
{
|
|
46511
|
+
onClick: R,
|
|
46512
|
+
label: B.resume,
|
|
46513
|
+
icon: DA
|
|
46514
|
+
}
|
|
46515
|
+
)
|
|
46516
|
+
] })
|
|
46517
|
+
) : null
|
|
46504
46518
|
] }), Nt = Ce === "horizontal-bar" ? st : ae ?? At, Ht = Ce === "horizontal-bar" ? qe : N, ci = /* @__PURE__ */ te(Ii, { children: [
|
|
46505
|
-
U
|
|
46506
|
-
$
|
|
46519
|
+
U ? Nt : null,
|
|
46520
|
+
$ ? Ht : null,
|
|
46507
46521
|
Pe && ee ? /* @__PURE__ */ m(iC, { text: ee }) : null
|
|
46508
46522
|
] }), Vi = U && !!Nt, oi = $ && !!Ht, Mi = Vi ? /* @__PURE__ */ m(
|
|
46509
46523
|
"div",
|
|
@@ -46542,7 +46556,7 @@ function XK({
|
|
|
46542
46556
|
/* @__PURE__ */ te("div", { className: "flex min-w-0 flex-row items-baseline gap-1.5", children: [
|
|
46543
46557
|
/* @__PURE__ */ m("span", { className: "line-clamp-1 shrink-0 text-xl font-semibold text-f1-foreground", children: he }),
|
|
46544
46558
|
/* @__PURE__ */ m(KF, { color: fe }),
|
|
46545
|
-
Pe && ee
|
|
46559
|
+
Pe && ee ? /* @__PURE__ */ te(Ii, { children: [
|
|
46546
46560
|
/* @__PURE__ */ m(
|
|
46547
46561
|
"span",
|
|
46548
46562
|
{
|
|
@@ -46559,11 +46573,11 @@ function XK({
|
|
|
46559
46573
|
children: ee
|
|
46560
46574
|
}
|
|
46561
46575
|
)
|
|
46562
|
-
] })
|
|
46576
|
+
] }) : null
|
|
46563
46577
|
] }),
|
|
46564
46578
|
/* @__PURE__ */ m("span", { className: "shrink-0 text-xl font-semibold tabular-nums text-f1-foreground", children: Kt })
|
|
46565
46579
|
] }),
|
|
46566
|
-
X
|
|
46580
|
+
X ? /* @__PURE__ */ m(
|
|
46567
46581
|
TF,
|
|
46568
46582
|
{
|
|
46569
46583
|
variant: "horizontal-bar",
|
|
@@ -46571,10 +46585,10 @@ function XK({
|
|
|
46571
46585
|
trackedMinutes: a,
|
|
46572
46586
|
remainingMinutes: J ? C : 0
|
|
46573
46587
|
}
|
|
46574
|
-
),
|
|
46588
|
+
) : null,
|
|
46575
46589
|
/* @__PURE__ */ te("div", { className: "flex flex-row items-center justify-between gap-2 text-f1-foreground-secondary", children: [
|
|
46576
46590
|
/* @__PURE__ */ m("span", { className: "tabular-nums", children: it }),
|
|
46577
|
-
we
|
|
46591
|
+
we ? /* @__PURE__ */ m("span", { className: "line-clamp-1 tabular-nums", children: we }) : null
|
|
46578
46592
|
] }),
|
|
46579
46593
|
/* @__PURE__ */ te("div", { className: "flex flex-col gap-2 pt-1", children: [
|
|
46580
46594
|
ei,
|
|
@@ -46593,18 +46607,18 @@ function XK({
|
|
|
46593
46607
|
/* @__PURE__ */ m("span", { className: "line-clamp-1 text-2xl font-semibold text-f1-foreground", children: he }),
|
|
46594
46608
|
/* @__PURE__ */ m(KF, { color: fe })
|
|
46595
46609
|
] }),
|
|
46596
|
-
we
|
|
46610
|
+
we ? /* @__PURE__ */ m("p", { className: "line-clamp-1 text-f1-foreground-secondary", children: we }) : null
|
|
46597
46611
|
] }),
|
|
46598
46612
|
/* @__PURE__ */ m("div", { className: "flex justify-center gap-2 @xs:justify-start", children: kt })
|
|
46599
46613
|
] }),
|
|
46600
|
-
X
|
|
46614
|
+
X ? /* @__PURE__ */ m(
|
|
46601
46615
|
TF,
|
|
46602
46616
|
{
|
|
46603
46617
|
data: f,
|
|
46604
46618
|
trackedMinutes: a,
|
|
46605
46619
|
remainingMinutes: J ? C : 0
|
|
46606
46620
|
}
|
|
46607
|
-
)
|
|
46621
|
+
) : null
|
|
46608
46622
|
] }),
|
|
46609
46623
|
/* @__PURE__ */ m("div", { className: "mt-6 flex flex-row flex-wrap items-center justify-center gap-2 @xs:justify-start", children: ci })
|
|
46610
46624
|
] }) });
|
|
@@ -48657,7 +48671,7 @@ const Z4 = ({
|
|
|
48657
48671
|
}
|
|
48658
48672
|
) })
|
|
48659
48673
|
) : null,
|
|
48660
|
-
|
|
48674
|
+
ge ? null : /* @__PURE__ */ m(
|
|
48661
48675
|
xh,
|
|
48662
48676
|
{
|
|
48663
48677
|
tooltip: O,
|