@factorialco/f0-react 16.20.0 → 16.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ArchiveThumbnail-D5RdDTI0.js → ArchiveThumbnail-BePfOv3F.js} +1 -1
- package/dist/{ArchiveViewer-rn7u3Dpm.js → ArchiveViewer-DvKspMsv.js} +2 -2
- package/dist/{ChatPostComposerDialog-K_Vnt0ro.js → ChatPostComposerDialog-BhlQzTXz.js} +2 -2
- package/dist/{CoachmarkProvider-BmIZobyx.js → CoachmarkProvider-B0Fs1pf7.js} +14174 -14174
- package/dist/{CodeThumbnail-DQbEA2Rl.js → CodeThumbnail-CZKjZwpZ.js} +1 -1
- package/dist/{CodeViewer-BvFVnvZG.js → CodeViewer-DNLPQ2xO.js} +3 -3
- package/dist/{DocumentToolbar-94u6vk8m.js → DocumentToolbar-Dua6PID0.js} +1 -1
- package/dist/{DocxViewer-C20S3kO5.js → DocxViewer-D2S3lGOn.js} +1 -1
- package/dist/{F0AiProcessingOverlay-DdYHU_e8.js → F0AiProcessingOverlay-bNWPwuH3.js} +215 -215
- package/dist/{F0Alert-DBVF8WK7.js → F0Alert-DHPOzhGo.js} +3 -3
- package/dist/F0AudioPlayer-BrjgdlIL.js +2 -0
- package/dist/{F0CanvasPanel-CVk_7eK7.js → F0CanvasPanel-DV9kMkUy.js} +3212 -3212
- package/dist/{F0DocumentViewer-CLwKmjK-.js → F0DocumentViewer-BSMvv4hU.js} +2 -2
- package/dist/{F0DocumentViewer-7SDA8bY3.js → F0DocumentViewer-C-e-yjPh.js} +1 -1
- package/dist/{F0Map-Dz64Vvtw.js → F0Map-C5GBzJKx.js} +13 -13
- package/dist/{F0VideoPlayer-Boe5ntER.js → F0VideoPlayer-BXD4JMkM.js} +9 -9
- package/dist/F0VideoPlayer-Bwq_1c7j.js +1 -0
- package/dist/{HtmlViewer-DnBkFfLk.js → HtmlViewer-CX1vkYRx.js} +3 -3
- package/dist/{Map-XGapa9ke.js → Map-BnhKWUJE.js} +3 -3
- package/dist/{PdfThumbnail-f8cxvUJR.js → PdfThumbnail-BJi6FkbE.js} +1 -1
- package/dist/{PdfViewer-DfEWMASa.js → PdfViewer-CFn2h9nq.js} +5 -5
- package/dist/{SheetViewer-8TM8_Mcn.js → SheetViewer-onMadxsi.js} +2 -2
- package/dist/{TextViewer-gYqYfc8o.js → TextViewer-BIcgDoH5.js} +1 -1
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/experimental.js +406 -406
- package/dist/f0.d.ts +20 -11
- package/dist/f0.js +1640 -1578
- package/dist/{highlight-Bg7vgyjH.js → highlight-BeMwpXOl.js} +1 -1
- package/dist/{maplibre-eOX45GBr.js → maplibre-iFKMikCO.js} +1 -1
- package/dist/{pdfWorker-DBQyzjMh.js → pdfWorker-rlBg8XHy.js} +1 -1
- package/package.json +1 -1
- package/dist/F0AudioPlayer-LlajNDAA.js +0 -2
- package/dist/F0VideoPlayer-CWr6L2CQ.js +0 -1
package/dist/experimental.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { o as e } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
|
-
import { $ as t, $n as n, $t as r, Ar as i, At as a, B as o, Br as s, Bt as c, C as l, Ci as u, Cr as d, Ct as f, D as p, Dr as m, Dt as h, E as g, Er as _, Et as v, F as y, Fn as b, Fr as x, Ft as S, G as C, Gr as w, H as T, Hr as E, I as D, In as O, Ir as k, It as A, J as j, K as M, Kr as N, Kt as P, L as F, Ln as I, Lr as ee, Mn as te, Mr as ne, Mt as re, N as ie, Nn as ae, Nr as oe, Or as se, P as ce, Pn as le, Pr as ue, Q as de, Qn as fe, Qr as pe, R as me, Rn as he, Rr as ge, Rt as _e, S as ve, Sn as L, Sr as ye, St as be, T as xe, Tr as Se, Tt as Ce, U as we, Ur as Te, V as Ee, Vr as De, W as Oe, Wr as ke, X as Ae, Xn as je, Xr as Me, Xt as Ne, Y as Pe, Yn as Fe, Yr as Ie, Z as Le, Zn as Re, Zr as ze, Zt as Be, _ as Ve, _i as He, _n as Ue, _r as We, ai as Ge, an as Ke, ar as qe, at as Je, b as Ye, bi as Xe, bn as Ze, br as Qe, ci as $e, cr as et, ct as tt, d as nt, dn as rt, dt as it, ei as at, et as ot, fi as st, fn as ct, g as lt, gi as ut, gn as dt, gr as ft, h as pt, hi as mt, hn as ht, ii as gt, in as _t, ir as vt, it as yt, jr as bt, jt as xt, kr as St, kt as Ct, li as wt, lr as Tt, lt as Et, mi as Dt, mn as Ot, n as kt, ni as At, nt as jt, oi as Mt, or as Nt, ot as Pt, p as Ft, pi as It, pn as Lt, pt as Rt, q as zt, qr as Bt, r as Vt, ri as Ht, rn as Ut, rr as Wt, rt as Gt, s as Kt, si as qt, sr as Jt, st as Yt, t as Xt, ti as Zt, tr as Qt, tt as $t, ui as en, ur as tn, ut as nn, v as rn, vi as an, vn as on, vr as sn, w as cn, wi as ln, wt as un, x as dn, xi as fn, xr as pn, y as mn, yi as hn, yn as gn, yr as _n, z as vn, zr as yn } from "./CoachmarkProvider-
|
|
2
|
+
import { $ as t, $n as n, $t as r, Ar as i, At as a, B as o, Br as s, Bt as c, C as l, Ci as u, Cr as d, Ct as f, D as p, Dr as m, Dt as h, E as g, Er as _, Et as v, F as y, Fn as b, Fr as x, Ft as S, G as C, Gr as w, H as T, Hr as E, I as D, In as O, Ir as k, It as A, J as j, K as M, Kr as N, Kt as P, L as F, Ln as I, Lr as ee, Mn as te, Mr as ne, Mt as re, N as ie, Nn as ae, Nr as oe, Or as se, P as ce, Pn as le, Pr as ue, Q as de, Qn as fe, Qr as pe, R as me, Rn as he, Rr as ge, Rt as _e, S as ve, Sn as L, Sr as ye, St as be, T as xe, Tr as Se, Tt as Ce, U as we, Ur as Te, V as Ee, Vr as De, W as Oe, Wr as ke, X as Ae, Xn as je, Xr as Me, Xt as Ne, Y as Pe, Yn as Fe, Yr as Ie, Z as Le, Zn as Re, Zr as ze, Zt as Be, _ as Ve, _i as He, _n as Ue, _r as We, ai as Ge, an as Ke, ar as qe, at as Je, b as Ye, bi as Xe, bn as Ze, br as Qe, ci as $e, cr as et, ct as tt, d as nt, dn as rt, dt as it, ei as at, et as ot, fi as st, fn as ct, g as lt, gi as ut, gn as dt, gr as ft, h as pt, hi as mt, hn as ht, ii as gt, in as _t, ir as vt, it as yt, jr as bt, jt as xt, kr as St, kt as Ct, li as wt, lr as Tt, lt as Et, mi as Dt, mn as Ot, n as kt, ni as At, nt as jt, oi as Mt, or as Nt, ot as Pt, p as Ft, pi as It, pn as Lt, pt as Rt, q as zt, qr as Bt, r as Vt, ri as Ht, rn as Ut, rr as Wt, rt as Gt, s as Kt, si as qt, sr as Jt, st as Yt, t as Xt, ti as Zt, tr as Qt, tt as $t, ui as en, ur as tn, ut as nn, v as rn, vi as an, vn as on, vr as sn, w as cn, wi as ln, wt as un, x as dn, xi as fn, xr as pn, y as mn, yi as hn, yn as gn, yr as _n, z as vn, zr as yn } from "./CoachmarkProvider-B0Fs1pf7.js";
|
|
3
3
|
import { a as bn, c as xn, d as Sn, i as Cn, l as wn, r as R } from "./i18n-provider-DyI_r6Au.js";
|
|
4
4
|
import { n as Tn, t as z } from "./skeleton-Dw-7r7zp.js";
|
|
5
5
|
import { L as B, R as En, a as Dn, i as On, o as kn, r as An, t as jn } from "./tooltip-NXXT56H4.js";
|
|
6
6
|
import { C as Mn, D as Nn, E as Pn, G as Fn, I as In, K as Ln, L as Rn, O as zn, R as Bn, T as Vn, U as Hn, V as Un, W as Wn, X as Gn, Y as Kn, _ as qn, c as Jn, d as Yn, f as Xn, h as Zn, k as Qn, l as $n, m as er, n as V, o as tr, p as nr, r as rr, t as H, v as ir, w as ar, x as or, y as sr, z as cr } from "./F0Button-B217B6lh.js";
|
|
7
|
-
import { $c as lr, $
|
|
7
|
+
import { $c as lr, $t as ur, A as dr, Ai as fr, An as pr, Ao as mr, Bc as hr, Bi as gr, Bn as _r, Bo as vr, Bt as yr, C as br, Cc as xr, Cn as Sr, Ct as Cr, Dc as wr, Di as Tr, Dt as Er, E as Dr, El as Or, Et as kr, F as Ar, Fc as jr, Fi as Mr, Fl as Nr, Fo as Pr, Fs as Fr, Ft as Ir, Gi as Lr, Go as Rr, Gs as zr, H as Br, Hc as Vr, Hi as Hr, Hn as Ur, Ho as Wr, Hs as Gr, Ic as Kr, Il as qr, In as Jr, Is as Yr, It as Xr, J as Zr, Jn as Qr, Jo as $r, Jt as ei, Ki as ti, Ks as ni, Kt as ri, Lc as ii, Li as ai, Ln as oi, Ls as si, Lt as ci, M as li, Mo as ui, Ms as di, N as fi, Nc as pi, Nl as mi, Nn as hi, No as gi, Nt as _i, O as vi, Oc as yi, Oi as bi, Ot as xi, P as Si, Pi as Ci, Po as wi, Ps as Ti, Q as Ei, Qc as Di, Qs as Oi, Qt as ki, Rc as Ai, Ro as ji, Rs as Mi, Rt as Ni, S as Pi, Sl as Fi, Sn as Ii, Ss as Li, St as Ri, T as zi, Tl as Bi, Tt as Vi, Uc as Hi, Ui, Un as Wi, Uo as Gi, V as Ki, Vc as qi, Vi as Ji, Vn as Yi, Vo as Xi, Vs as Zi, Wi as Qi, Wn as $i, Wo as ea, Ws as ta, X as na, Xs as ra, Y as ia, Yc as aa, Yi as oa, Yo as sa, Ys as ca, Yt as la, Z as ua, Zc as da, Zs as fa, Zt as pa, _ as ma, _a as ha, _c as ga, _i as _a, _n as va, _r as ya, _t as ba, a as xa, aa as Sa, al as Ca, an as wa, as as Ta, at as Ea, b as Da, bc as Oa, bi as ka, bl as Aa, bn as ja, bs as Ma, bt as Na, cc as Pa, ci as Fa, cl as Ia, ct as La, d as Ra, dn as za, ds as Ba, ec as Va, el as Ha, en as Ua, es as Wa, f as Ga, fc as Ka, fl as qa, fn as Ja, fo as Ya, g as Xa, gc as Za, gl as Qa, gt as $a, h as eo, ha as to, hc as no, ht as ro, i as io, ia as ao, il as oo, in as so, it as co, j as lo, ji as uo, jl as fo, jn as po, jo as mo, k as ho, ki as go, kn as _o, kt as vo, l as yo, la as bo, lc as xo, ll as So, ln as Co, lo as wo, ls as To, lt as Eo, m as Do, mc as Oo, mn as ko, ms as Ao, mt as jo, n as Mo, nc as No, nl as Po, nn as Fo, ns as Io, nt as Lo, o as Ro, oa as zo, on as Bo, ot as Vo, p as Ho, pc as Uo, pn as Wo, pt as Go, qt as Ko, r as qo, ra as Jo, rl as Yo, rs as Xo, rt as Zo, s as Qo, si as $o, sl as es, so as ts, ss as ns, st as rs, t as is, ta as as, tc as os, tn as ss, ts as cs, tt as ls, ul as us, ut as ds, v as fs, vi as ps, vl as ms, vn as hs, vr as gs, vs as _s, vt as vs, w as ys, wl as bs, wn as xs, ws as Ss, wt as Cs, x as ws, xc as Ts, xi as Es, xn as Ds, xs as Os, xt as ks, y as As, yc as js, yi as Ms, yl as Ns, ys as Ps, yt as Fs, zi as Is, zo as Ls, zs as Rs, zt as zs } from "./F0CanvasPanel-DV9kMkUy.js";
|
|
8
8
|
import { t as Bs } from "./LayoutGroup-DECnUFBB.js";
|
|
9
9
|
import { n as Vs, o as Hs, r as Us, t as U } from "./F0Icon-CRETnjaC.js";
|
|
10
10
|
import { A as Ws, C as Gs, E as Ks, H as qs, I as Js, L as Ys, M as Xs, N as W, O as Zs, P as Qs, R as $s, S as ec, T as tc, U as nc, V as rc, _ as ic, a as ac, b as oc, g as sc, j as cc, k as lc, p as uc, u as dc, w as fc } from "./useData-CVTa0m1L.js";
|
|
@@ -21,7 +21,7 @@ import { t as Xl } from "./F0Text-DEJMiNLl.js";
|
|
|
21
21
|
import { a as Zl, i as Ql, n as $l, r as eu, s as tu, t as nu } from "./dist-BCNVh6y5.js";
|
|
22
22
|
import './maplibre-gl.css';import './RichText.css';/* empty css */
|
|
23
23
|
import { t as ru } from "./useFullscreen-CNwpzjpz.js";
|
|
24
|
-
import { _ as iu, a as au, b as ou, c as su, d as cu, f as lu, g as uu, h as du, i as fu, l as pu, m as mu, n as hu, o as gu, p as _u, r as vu, t as yu, u as bu, v as xu, y as Su } from "./F0Map-
|
|
24
|
+
import { _ as iu, a as au, b as ou, c as su, d as cu, f as lu, g as uu, h as du, i as fu, l as pu, m as mu, n as hu, o as gu, p as _u, r as vu, t as yu, u as bu, v as xu, y as Su } from "./F0Map-C5GBzJKx.js";
|
|
25
25
|
import { _ as Cu, a as wu, c as Tu, d as Eu, f as Du, g as Ou, h as ku, i as Au, l as ju, m as Mu, n as Nu, o as Pu, p as Fu, r as Iu, s as Lu, t as Ru, u as zu } from "./posts-riN1RZ23.js";
|
|
26
26
|
/* empty css */
|
|
27
27
|
import Bu, { Children as Vu, Fragment as Hu, Suspense as Uu, cloneElement as Wu, createContext as Gu, forwardRef as Ku, isValidElement as qu, lazy as Ju, memo as Yu, useCallback as G, useContext as Xu, useEffect as K, useId as Zu, useImperativeHandle as Qu, useInsertionEffect as $u, useLayoutEffect as q, useMemo as J, useReducer as ed, useRef as Y, useState as X, useSyncExternalStore as td, useTransition as nd } from "react";
|
|
@@ -199,7 +199,7 @@ var ld = [
|
|
|
199
199
|
size: c,
|
|
200
200
|
hideLabel: !0,
|
|
201
201
|
disabled: o,
|
|
202
|
-
icon: u ? void 0 :
|
|
202
|
+
icon: u ? void 0 : Gr
|
|
203
203
|
})
|
|
204
204
|
}), /* @__PURE__ */ $(Il, {
|
|
205
205
|
side: "bottom",
|
|
@@ -358,7 +358,7 @@ var Ad = bn(Tn("F0EmojiPicker", kd)), jd = [
|
|
|
358
358
|
}) : null
|
|
359
359
|
]
|
|
360
360
|
}),
|
|
361
|
-
r && i ? /* @__PURE__ */ Q(
|
|
361
|
+
r && i ? /* @__PURE__ */ Q(Sa, {
|
|
362
362
|
asChild: !0,
|
|
363
363
|
children: /* @__PURE__ */ Q(H, {
|
|
364
364
|
variant: "ghost",
|
|
@@ -371,7 +371,7 @@ var Ad = bn(Tn("F0EmojiPicker", kd)), jd = [
|
|
|
371
371
|
o ? /* @__PURE__ */ Q(H, {
|
|
372
372
|
variant: "ghost",
|
|
373
373
|
size: "sm",
|
|
374
|
-
icon:
|
|
374
|
+
icon: Yo,
|
|
375
375
|
hideLabel: !0,
|
|
376
376
|
label: c.close,
|
|
377
377
|
onClick: o
|
|
@@ -402,7 +402,7 @@ var Ad = bn(Tn("F0EmojiPicker", kd)), jd = [
|
|
|
402
402
|
},
|
|
403
403
|
transition: { duration: a ? 0 : .2 },
|
|
404
404
|
className: "overflow-hidden",
|
|
405
|
-
children: /* @__PURE__ */ Q(
|
|
405
|
+
children: /* @__PURE__ */ Q(ao, {
|
|
406
406
|
forceMount: !0,
|
|
407
407
|
asChild: !0,
|
|
408
408
|
children: /* @__PURE__ */ Q("div", { children: n.map((t, r) => /* @__PURE__ */ Q(Vd, {
|
|
@@ -443,7 +443,7 @@ var Ad = bn(Tn("F0EmojiPicker", kd)), jd = [
|
|
|
443
443
|
})]
|
|
444
444
|
}), s ? /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q("div", {
|
|
445
445
|
className: "-ml-2",
|
|
446
|
-
children: /* @__PURE__ */ Q(
|
|
446
|
+
children: /* @__PURE__ */ Q(Sa, {
|
|
447
447
|
asChild: !0,
|
|
448
448
|
children: /* @__PURE__ */ Q(H, {
|
|
449
449
|
variant: "ghost",
|
|
@@ -470,7 +470,7 @@ var Ad = bn(Tn("F0EmojiPicker", kd)), jd = [
|
|
|
470
470
|
},
|
|
471
471
|
transition: { duration: l ? 0 : .2 },
|
|
472
472
|
className: "w-full overflow-hidden",
|
|
473
|
-
children: /* @__PURE__ */ Q(
|
|
473
|
+
children: /* @__PURE__ */ Q(ao, {
|
|
474
474
|
forceMount: !0,
|
|
475
475
|
asChild: !0,
|
|
476
476
|
children: /* @__PURE__ */ Q(d, {
|
|
@@ -537,7 +537,7 @@ var Ad = bn(Tn("F0EmojiPicker", kd)), jd = [
|
|
|
537
537
|
children: [A, j]
|
|
538
538
|
})]
|
|
539
539
|
});
|
|
540
|
-
return w ? /* @__PURE__ */ Q(
|
|
540
|
+
return w ? /* @__PURE__ */ Q(Jo, {
|
|
541
541
|
open: y,
|
|
542
542
|
onOpenChange: (e) => {
|
|
543
543
|
v(e), f?.(e);
|
|
@@ -570,7 +570,7 @@ var Ad = bn(Tn("F0EmojiPicker", kd)), jd = [
|
|
|
570
570
|
compact: t
|
|
571
571
|
});
|
|
572
572
|
Zd.displayName = "F0AiCallout";
|
|
573
|
-
var $d =
|
|
573
|
+
var $d = cs(bn(Zd), Qd), ef = Hs({
|
|
574
574
|
base: "flex w-full flex-col rounded-lg p-[1px]",
|
|
575
575
|
variants: { variant: {
|
|
576
576
|
ai: "bg-gradient-to-l from-[#A1ADE51F] via-[#E519431F] to-[#E556191F]",
|
|
@@ -609,7 +609,7 @@ var $d = os(bn(Zd), Qd), ef = Hs({
|
|
|
609
609
|
})]
|
|
610
610
|
}), t ? /* @__PURE__ */ Q(H, {
|
|
611
611
|
variant: "ghost",
|
|
612
|
-
icon:
|
|
612
|
+
icon: Yo,
|
|
613
613
|
size: "sm",
|
|
614
614
|
hideLabel: !0,
|
|
615
615
|
onClick: t,
|
|
@@ -663,7 +663,7 @@ var $d = os(bn(Zd), Qd), ef = Hs({
|
|
|
663
663
|
variant: t
|
|
664
664
|
});
|
|
665
665
|
of.displayName = "F0Callout";
|
|
666
|
-
var cf =
|
|
666
|
+
var cf = cs(bn(of), sf), lf = [
|
|
667
667
|
"#EE4B8E",
|
|
668
668
|
"#2E7FF0",
|
|
669
669
|
"#4CAF3E",
|
|
@@ -786,12 +786,12 @@ var bf = bn(Tn("F0Confetti", yf)), xf = (e, t) => {
|
|
|
786
786
|
let { meetingCard: n } = R(), r = e.label ?? n.join;
|
|
787
787
|
return e.href && !t ? /* @__PURE__ */ Q(H, {
|
|
788
788
|
label: r,
|
|
789
|
-
icon:
|
|
789
|
+
icon: Ps,
|
|
790
790
|
variant: "default",
|
|
791
791
|
href: e.href
|
|
792
792
|
}) : /* @__PURE__ */ Q(H, {
|
|
793
793
|
label: r,
|
|
794
|
-
icon:
|
|
794
|
+
icon: Ps,
|
|
795
795
|
variant: "default",
|
|
796
796
|
disabled: t,
|
|
797
797
|
onClick: e.onJoin
|
|
@@ -821,7 +821,7 @@ var bf = bn(Tn("F0Confetti", yf)), xf = (e, t) => {
|
|
|
821
821
|
case "summarizing": return /* @__PURE__ */ Q(Sc, {
|
|
822
822
|
text: r.summarizing,
|
|
823
823
|
variant: "neutral",
|
|
824
|
-
icon:
|
|
824
|
+
icon: mi
|
|
825
825
|
});
|
|
826
826
|
case "finished": return /* @__PURE__ */ Q(Sc, {
|
|
827
827
|
text: r.finished,
|
|
@@ -942,7 +942,7 @@ var bf = bn(Tn("F0Confetti", yf)), xf = (e, t) => {
|
|
|
942
942
|
join: p,
|
|
943
943
|
disabled: N
|
|
944
944
|
}) : null] });
|
|
945
|
-
return /* @__PURE__ */ Q(
|
|
945
|
+
return /* @__PURE__ */ Q(Ta, {
|
|
946
946
|
ref: g,
|
|
947
947
|
className: B("rounded-2xl border-f1-border-secondary bg-f1-background p-3 shadow-none", h ? "gap-1.5" : "gap-2.5"),
|
|
948
948
|
"data-testid": "meeting-card",
|
|
@@ -983,7 +983,7 @@ var bf = bn(Tn("F0Confetti", yf)), xf = (e, t) => {
|
|
|
983
983
|
});
|
|
984
984
|
});
|
|
985
985
|
Vf.displayName = "F0MeetingCard";
|
|
986
|
-
var Hf = bn(Tn("F0MeetingCard",
|
|
986
|
+
var Hf = bn(Tn("F0MeetingCard", cs(Vf, ({ compact: e = !1 }) => /* @__PURE__ */ Q(Ta, {
|
|
987
987
|
className: B("rounded-2xl border-f1-border-secondary bg-f1-background p-3 shadow-none", e ? "gap-1.5" : "gap-2.5"),
|
|
988
988
|
"aria-busy": "true",
|
|
989
989
|
"aria-live": "polite",
|
|
@@ -1112,7 +1112,7 @@ function Jf({ content: e, position: t, viewReport: n }) {
|
|
|
1112
1112
|
top: "md",
|
|
1113
1113
|
zIndex: "10",
|
|
1114
1114
|
children: /* @__PURE__ */ Q(Be, {
|
|
1115
|
-
icon:
|
|
1115
|
+
icon: mi,
|
|
1116
1116
|
label: e.autoMapped.label,
|
|
1117
1117
|
info: {
|
|
1118
1118
|
title: e.autoMapped.label,
|
|
@@ -1205,7 +1205,7 @@ function Yf({ content: e, viewReport: t }) {
|
|
|
1205
1205
|
paddingLeft: "md",
|
|
1206
1206
|
paddingRight: "lg",
|
|
1207
1207
|
children: [/* @__PURE__ */ Q(U, {
|
|
1208
|
-
icon:
|
|
1208
|
+
icon: Hi,
|
|
1209
1209
|
size: "lg",
|
|
1210
1210
|
color: "secondary"
|
|
1211
1211
|
}), /* @__PURE__ */ Q(Xl, { content: e.description })]
|
|
@@ -1338,14 +1338,14 @@ function op({ position: e, title: t, settings: n, onClose: r }) {
|
|
|
1338
1338
|
label: n.label,
|
|
1339
1339
|
variant: "ghost",
|
|
1340
1340
|
size: "sm",
|
|
1341
|
-
icon:
|
|
1341
|
+
icon: si,
|
|
1342
1342
|
hideLabel: !0,
|
|
1343
1343
|
onClick: n.onClick
|
|
1344
1344
|
}) : null, r ? /* @__PURE__ */ Q(H, {
|
|
1345
1345
|
label: i.close,
|
|
1346
1346
|
variant: "ghost",
|
|
1347
1347
|
size: "sm",
|
|
1348
|
-
icon:
|
|
1348
|
+
icon: Yo,
|
|
1349
1349
|
hideLabel: !0,
|
|
1350
1350
|
onClick: r
|
|
1351
1351
|
}) : null]
|
|
@@ -1497,7 +1497,7 @@ var _p = bn(Tn("F0PulseDot", gp)), vp = [
|
|
|
1497
1497
|
let n = !e.shiftKey && !e.altKey && !e.metaKey && !e.ctrlKey;
|
|
1498
1498
|
return e.key !== "ArrowUp" || !n || t.editor.value !== "" || !t.isVoiceIdle || !t.onArrowUpWhenEmpty?.() ? !1 : (e.preventDefault(), !0);
|
|
1499
1499
|
}, xp = (e, t) => {
|
|
1500
|
-
t.isReplaced ||
|
|
1500
|
+
t.isReplaced || Na(e) || t.editor.handleUndoRedoKeyDown(e) || t.markdown.handleKeyDown(e) || t.autocomplete?.handleKeyDown(e) || t.editor.mentions.handleKeyDown(e) || yp(e, t) || bp(e, t) || e.key !== "Enter" || e.shiftKey || (e.preventDefault(), t.inProgress ? t.queue?.() : t.send());
|
|
1501
1501
|
}, Sp = (e, t, n) => {
|
|
1502
1502
|
let r = e?.isOpen ?? !1;
|
|
1503
1503
|
K(() => {
|
|
@@ -1592,10 +1592,10 @@ var _p = bn(Tn("F0PulseDot", gp)), vp = [
|
|
|
1592
1592
|
disabledTooltip: e.maxFiles === void 0 ? void 0 : t.tooManyFiles.replace("{{maxFiles}}", String(e.maxFiles)),
|
|
1593
1593
|
onClick: () => e.inputRef.current?.click()
|
|
1594
1594
|
}, Op = ({ onSend: e, attachments: t, hasAttachments: n, sendBlocked: r, onPasteFiles: i, labels: a, markdown: o }) => {
|
|
1595
|
-
let s =
|
|
1595
|
+
let s = vs(), c = s.show, l = Ep(t, a, c), { hasFailed: u, files: d, removeSent: f } = l, p = G((t) => {
|
|
1596
1596
|
if (u) return c(a.uploadFailedBlocksSend), !1;
|
|
1597
1597
|
let n = d.filter((e) => e.status === "uploaded"), r = e(t, {
|
|
1598
|
-
serialised:
|
|
1598
|
+
serialised: _i(t.text, t.mentions, { markdown: o }),
|
|
1599
1599
|
files: n.flatMap((e) => e.uploaded ? [e.uploaded] : []),
|
|
1600
1600
|
queued: !1
|
|
1601
1601
|
});
|
|
@@ -1613,7 +1613,7 @@ var _p = bn(Tn("F0PulseDot", gp)), vp = [
|
|
|
1613
1613
|
e,
|
|
1614
1614
|
o
|
|
1615
1615
|
]), m = G((t) => e(t, {
|
|
1616
|
-
serialised:
|
|
1616
|
+
serialised: _i(t.text, t.mentions, { markdown: o }),
|
|
1617
1617
|
files: [],
|
|
1618
1618
|
queued: !0
|
|
1619
1619
|
}), [e, o]);
|
|
@@ -1813,14 +1813,14 @@ var _p = bn(Tn("F0PulseDot", gp)), vp = [
|
|
|
1813
1813
|
canSend: p
|
|
1814
1814
|
};
|
|
1815
1815
|
}, Pp = ({ voice: e, labels: t, valueRef: n, writeTextRef: r, focusRef: i }) => {
|
|
1816
|
-
let { error: a, show: o, clear: s } =
|
|
1816
|
+
let { error: a, show: o, clear: s } = vs(), c = Y(""), l = G((e) => {
|
|
1817
1817
|
let t = c.current, n = t && !/\s$/.test(t) ? " " : "";
|
|
1818
1818
|
r.current(`${t}${n}${e}`);
|
|
1819
1819
|
}, [r]), u = {
|
|
1820
1820
|
"permission-denied": t.micPermissionDenied,
|
|
1821
1821
|
"device-error": t.micError,
|
|
1822
1822
|
"transcription-failed": t.transcriptionError
|
|
1823
|
-
}, d =
|
|
1823
|
+
}, d = Qr({
|
|
1824
1824
|
onTranscribe: e?.onTranscribe,
|
|
1825
1825
|
onPartial: l,
|
|
1826
1826
|
onFinal: (e) => {
|
|
@@ -1921,7 +1921,7 @@ var Hp = /[\p{L}\p{N}_]/u, Up = /\s/, Wp = /* @__PURE__ */ new Set([
|
|
|
1921
1921
|
start: n,
|
|
1922
1922
|
end: r
|
|
1923
1923
|
};
|
|
1924
|
-
}, Qp = (e, t) => e.find((e) => e.start < t && t <
|
|
1924
|
+
}, Qp = (e, t) => e.find((e) => e.start < t && t < Ir(e)), $p = (e, t) => ci(e).find((e) => e.start < t && t < e.end), em = (e, t) => !Kp(e[t - 1]) || !Kp(e[t]) ? null : Zp(e, {
|
|
1925
1925
|
start: t,
|
|
1926
1926
|
end: t
|
|
1927
1927
|
}), tm = (e, t) => !Kp(e[t - 1]) && !Kp(e[t]) ? null : Zp(e, {
|
|
@@ -1932,7 +1932,7 @@ var Hp = /[\p{L}\p{N}_]/u, Up = /\s/, Wp = /* @__PURE__ */ new Set([
|
|
|
1932
1932
|
end: Math.max(e.end, t.end)
|
|
1933
1933
|
} : e, e), im = (e, t) => rm(e, t.map((e) => ({
|
|
1934
1934
|
start: e.start,
|
|
1935
|
-
end:
|
|
1935
|
+
end: Ir(e)
|
|
1936
1936
|
}))), am = (e, t, n, r) => {
|
|
1937
1937
|
let i = (t) => im(n === "italic" ? Zp(e, t) : t, r), a = t, o = i(a);
|
|
1938
1938
|
for (; !Xp(a, o);) a = o, o = i(a);
|
|
@@ -2081,7 +2081,7 @@ var Hp = /[\p{L}\p{N}_]/u, Up = /\s/, Wp = /* @__PURE__ */ new Set([
|
|
|
2081
2081
|
};
|
|
2082
2082
|
return [...e.filter((e) => !n.includes(e)), r].sort((e, t) => e.start - t.start);
|
|
2083
2083
|
}, t), Mm = ({ input: e, range: t, pieces: n }) => {
|
|
2084
|
-
let { value: r, format: i } = e, a = Ni(r).filter((e) => Om(e, t) && (e.type === Gp[i] || !Am(t, km(r, e)))), o =
|
|
2084
|
+
let { value: r, format: i } = e, a = Ni(r).filter((e) => Om(e, t) && (e.type === Gp[i] || !Am(t, km(r, e)))), o = ci(r).filter((e) => Om(e, t)), s = rm(t, [...a, ...o]);
|
|
2085
2085
|
if (!Xp(s, t)) return Nm(e, s);
|
|
2086
2086
|
let c = a.filter((e) => n.some((t) => Om(e, t))), [l, u] = [c.filter((e) => e.type === Gp[i]), c.filter((e) => e.type !== Gp[i])], d = zp[i], f = [...l.flatMap((e) => Em(r, e, i)), ...jm(r, n, [...u, ...o]).flatMap((e) => [{
|
|
2087
2087
|
at: e.start,
|
|
@@ -2129,7 +2129,7 @@ function Pm(e) {
|
|
|
2129
2129
|
let r = Qp(e.mentions, t);
|
|
2130
2130
|
if (r) return Nm(e, {
|
|
2131
2131
|
start: r.start,
|
|
2132
|
-
end:
|
|
2132
|
+
end: Ir(r)
|
|
2133
2133
|
});
|
|
2134
2134
|
let i = $p(e.value, t);
|
|
2135
2135
|
if (i) return Nm(e, i);
|
|
@@ -2209,7 +2209,7 @@ function Hm({ markdown: e, editor: t, valueRef: n, mentionsRef: r, pendingSelect
|
|
|
2209
2209
|
//#endregion
|
|
2210
2210
|
//#region src/elements/F0Composer/hooks/useOpenList.ts
|
|
2211
2211
|
var Um = (e, t, n) => {
|
|
2212
|
-
let { mentions: r } = e, i = `composer-mentions-${Zu().replace(/:/g, "")}`, a = t?.isOpen ?? !1, o = r.isOpen && !a && !n && (r.isLoading || r.rows.length > 0), s = r.rows[r.selectedIndex] ?? r.rows[0], c = o && s ?
|
|
2212
|
+
let { mentions: r } = e, i = `composer-mentions-${Zu().replace(/:/g, "")}`, a = t?.isOpen ?? !1, o = r.isOpen && !a && !n && (r.isLoading || r.rows.length > 0), s = r.rows[r.selectedIndex] ?? r.rows[0], c = o && s ? ba(i, s.item) : void 0;
|
|
2213
2213
|
return a ? {
|
|
2214
2214
|
mentionListboxId: i,
|
|
2215
2215
|
mentionsVisible: o,
|
|
@@ -2270,9 +2270,9 @@ var Um = (e, t, n) => {
|
|
|
2270
2270
|
]);
|
|
2271
2271
|
}, Jm = (e, t) => {
|
|
2272
2272
|
if (!t && !e?.actions) return e && (e.items?.length || e.panel) ? e : void 0;
|
|
2273
|
-
let n = [...e?.items ?? [], ...
|
|
2273
|
+
let n = [...e?.items ?? [], ...ia(e?.actions ?? [])], r = [...t ? [{
|
|
2274
2274
|
label: t.label,
|
|
2275
|
-
icon:
|
|
2275
|
+
icon: Va,
|
|
2276
2276
|
onClick: t.onClick,
|
|
2277
2277
|
disabled: t.disabled,
|
|
2278
2278
|
disabledTooltip: t.disabledTooltip
|
|
@@ -2285,7 +2285,7 @@ var Um = (e, t, n) => {
|
|
|
2285
2285
|
let [r, i] = X(!1), { panel: a } = e, o = /* @__PURE__ */ Q("div", {
|
|
2286
2286
|
className: "flex",
|
|
2287
2287
|
onClick: (e) => e.stopPropagation(),
|
|
2288
|
-
children: /* @__PURE__ */ Q(
|
|
2288
|
+
children: /* @__PURE__ */ Q(Xi, {
|
|
2289
2289
|
items: e.items ?? [],
|
|
2290
2290
|
align: "start",
|
|
2291
2291
|
disabled: n,
|
|
@@ -2400,9 +2400,9 @@ var oh = (e) => {
|
|
|
2400
2400
|
}];
|
|
2401
2401
|
}), [e, a]), s = J(() => o.map(({ entry: e, attachment: t }, n) => ({
|
|
2402
2402
|
file: t,
|
|
2403
|
-
item: e.status === "uploaded" ?
|
|
2403
|
+
item: e.status === "uploaded" ? za(t, Wo(n, t.url)) : null
|
|
2404
2404
|
})), [o]), c = na(s, "composer");
|
|
2405
|
-
return /* @__PURE__ */ Q(
|
|
2405
|
+
return /* @__PURE__ */ Q(ua, {
|
|
2406
2406
|
items: o.map(({ entry: e, attachment: r }) => ({
|
|
2407
2407
|
id: e.id,
|
|
2408
2408
|
content: /* @__PURE__ */ Q(Ei, {
|
|
@@ -2440,7 +2440,7 @@ var oh = (e) => {
|
|
|
2440
2440
|
return e !== void 0 || t !== void 0 || n !== void 0 || i ? /* @__PURE__ */ $("div", {
|
|
2441
2441
|
"data-composer-chrome": "",
|
|
2442
2442
|
className: "flex w-full flex-col gap-2",
|
|
2443
|
-
children: [l ? /* @__PURE__ */ Q(
|
|
2443
|
+
children: [l ? /* @__PURE__ */ Q(xi, {
|
|
2444
2444
|
suggestions: e.groups,
|
|
2445
2445
|
onItemClick: e.onSelect,
|
|
2446
2446
|
onItemHover: (e) => o(e ? e.prompt ?? e.title : null)
|
|
@@ -2449,11 +2449,11 @@ var oh = (e) => {
|
|
|
2449
2449
|
width: "full",
|
|
2450
2450
|
flexDirection: "column",
|
|
2451
2451
|
gap: "sm",
|
|
2452
|
-
children: [/* @__PURE__ */ Q(
|
|
2452
|
+
children: [/* @__PURE__ */ Q(Zr, {
|
|
2453
2453
|
notice: t,
|
|
2454
2454
|
dismissLabel: r.dismissNotice,
|
|
2455
2455
|
children: c
|
|
2456
|
-
}), /* @__PURE__ */ Q(
|
|
2456
|
+
}), /* @__PURE__ */ Q(vo, {
|
|
2457
2457
|
hint: a ? {
|
|
2458
2458
|
navigate: r.hintNavigate,
|
|
2459
2459
|
select: r.hintSelect,
|
|
@@ -2469,14 +2469,14 @@ var oh = (e) => {
|
|
|
2469
2469
|
//#endregion
|
|
2470
2470
|
//#region src/elements/F0Composer/parts/ComposerControls.tsx
|
|
2471
2471
|
function uh({ labels: e, sendKind: t, asForm: n, hasDataToSend: r, canSend: i, onSend: a, onStop: o, rest: s, streaming: c = !1 }) {
|
|
2472
|
-
let l = !c && !i, { label: u, icon: d } =
|
|
2472
|
+
let l = !c && !i, { label: u, icon: d } = jo(c, t, e), f = /* @__PURE__ */ Q(H, {
|
|
2473
2473
|
type: n ? "submit" : "button",
|
|
2474
2474
|
variant: c ? "tertiary" : "hero",
|
|
2475
2475
|
size: "md",
|
|
2476
2476
|
hideLabel: !0,
|
|
2477
2477
|
label: u,
|
|
2478
2478
|
icon: d,
|
|
2479
|
-
onClick:
|
|
2479
|
+
onClick: Go(n, c, a, o),
|
|
2480
2480
|
disabled: l
|
|
2481
2481
|
});
|
|
2482
2482
|
return !s || c ? f : /* @__PURE__ */ Q("span", {
|
|
@@ -2492,7 +2492,7 @@ function dh(e) {
|
|
|
2492
2492
|
size: "md",
|
|
2493
2493
|
hideLabel: !0,
|
|
2494
2494
|
label: n?.busy ? t.sendingVoice : t.recordAudio,
|
|
2495
|
-
icon:
|
|
2495
|
+
icon: Oo,
|
|
2496
2496
|
onClick: e.onRecord,
|
|
2497
2497
|
disabled: n?.disabled,
|
|
2498
2498
|
loading: e.micLoading
|
|
@@ -2506,7 +2506,7 @@ var fh = (e, t) => e ? t ? "now" : "atRest" : "never";
|
|
|
2506
2506
|
function ph({ actions: e, disabled: t, separator: n }) {
|
|
2507
2507
|
let r = /* @__PURE__ */ Q("div", {
|
|
2508
2508
|
className: "flex px-1",
|
|
2509
|
-
children: /* @__PURE__ */ Q(
|
|
2509
|
+
children: /* @__PURE__ */ Q(Ro, {})
|
|
2510
2510
|
});
|
|
2511
2511
|
return /* @__PURE__ */ $(Z, { children: [n === "never" ? r : /* @__PURE__ */ Q("span", {
|
|
2512
2512
|
className: B(eh, n === "now" ? th : nh),
|
|
@@ -2558,7 +2558,7 @@ function gh(e) {
|
|
|
2558
2558
|
},
|
|
2559
2559
|
transition: {
|
|
2560
2560
|
duration: .15,
|
|
2561
|
-
ease:
|
|
2561
|
+
ease: pr
|
|
2562
2562
|
},
|
|
2563
2563
|
children: /* @__PURE__ */ Q(hh, {
|
|
2564
2564
|
mode: i,
|
|
@@ -2598,7 +2598,7 @@ var vh = ({ text: e, labels: t, onRemove: n }) => /* @__PURE__ */ Q("div", {
|
|
|
2598
2598
|
children: [/* @__PURE__ */ $("span", {
|
|
2599
2599
|
className: "flex items-center gap-1 text-sm font-medium text-f1-foreground-secondary",
|
|
2600
2600
|
children: [/* @__PURE__ */ Q(U, {
|
|
2601
|
-
icon:
|
|
2601
|
+
icon: So,
|
|
2602
2602
|
size: "xs",
|
|
2603
2603
|
color: "default"
|
|
2604
2604
|
}), t.queued]
|
|
@@ -2615,7 +2615,7 @@ var vh = ({ text: e, labels: t, onRemove: n }) => /* @__PURE__ */ Q("div", {
|
|
|
2615
2615
|
size: "sm",
|
|
2616
2616
|
hideLabel: !0,
|
|
2617
2617
|
label: t.removeQueued,
|
|
2618
|
-
icon:
|
|
2618
|
+
icon: Yo,
|
|
2619
2619
|
onClick: n
|
|
2620
2620
|
})
|
|
2621
2621
|
})]
|
|
@@ -2640,7 +2640,7 @@ var vh = ({ text: e, labels: t, onRemove: n }) => /* @__PURE__ */ Q("div", {
|
|
|
2640
2640
|
transition: { duration: u ? 0 : .15 },
|
|
2641
2641
|
children: [/* @__PURE__ */ Q("div", {
|
|
2642
2642
|
className: "flex h-8 min-w-0 flex-1 items-center",
|
|
2643
|
-
children: /* @__PURE__ */ Q(
|
|
2643
|
+
children: /* @__PURE__ */ Q(Yi, {
|
|
2644
2644
|
stream: i,
|
|
2645
2645
|
className: "min-w-0 flex-1"
|
|
2646
2646
|
})
|
|
@@ -2652,7 +2652,7 @@ var vh = ({ text: e, labels: t, onRemove: n }) => /* @__PURE__ */ Q("div", {
|
|
|
2652
2652
|
size: "md",
|
|
2653
2653
|
hideLabel: !0,
|
|
2654
2654
|
label: a.cancelRecording,
|
|
2655
|
-
icon:
|
|
2655
|
+
icon: Yo,
|
|
2656
2656
|
onClick: s
|
|
2657
2657
|
}), /* @__PURE__ */ Q(V, {
|
|
2658
2658
|
ref: o,
|
|
@@ -2687,7 +2687,7 @@ var vh = ({ text: e, labels: t, onRemove: n }) => /* @__PURE__ */ Q("div", {
|
|
|
2687
2687
|
},
|
|
2688
2688
|
transition: {
|
|
2689
2689
|
duration: n ? 0 : .18,
|
|
2690
|
-
ease:
|
|
2690
|
+
ease: pr
|
|
2691
2691
|
},
|
|
2692
2692
|
children: /* @__PURE__ */ Q("div", {
|
|
2693
2693
|
className: "p-1",
|
|
@@ -2730,7 +2730,7 @@ var vh = ({ text: e, labels: t, onRemove: n }) => /* @__PURE__ */ Q("div", {
|
|
|
2730
2730
|
size: "sm",
|
|
2731
2731
|
hideLabel: !0,
|
|
2732
2732
|
label: t,
|
|
2733
|
-
icon:
|
|
2733
|
+
icon: Yo,
|
|
2734
2734
|
onClick: e.onRemove
|
|
2735
2735
|
})
|
|
2736
2736
|
})
|
|
@@ -2808,7 +2808,7 @@ var vh = ({ text: e, labels: t, onRemove: n }) => /* @__PURE__ */ Q("div", {
|
|
|
2808
2808
|
rest: t
|
|
2809
2809
|
}), i] }) : i;
|
|
2810
2810
|
function Ph({ onSend: e, inProgress: t = !1, onStop: n, queueWhileInProgress: r = !1, maxQueued: i = 1, markdown: a, sendKind: o = "send", hasAttachments: s = !1, sendBlocked: c = !1, maxLength: l, maxLengthError: u, error: d = null, labels: f, placeholders: p, placeholdersPaused: m, placeholderPreview: h, role: g = "combobox", name: _, mentions: v, autocomplete: y, voice: b, onTextChange: x, onCleared: S, onEscape: C, onArrowUpWhenEmpty: w, onPasteFiles: T, pastePreferText: E = !1, onStateChange: D, header: O, reference: k, attachments: A, tray: j, leading: M, actions: N, replacement: P, variant: F = "default", suggestions: I, notice: ee, disclaimer: te, replacementHint: ne = !1, addMenu: re, rest: ie, asForm: ae = !1, className: oe, surfaceRef: se, onSurfaceFocus: ce, onSurfaceBlur: le, handleRef: ue, reducedMotion: de = !1, "data-testid": fe }) {
|
|
2811
|
-
let pe =
|
|
2811
|
+
let pe = Fs(f, b), me = P != null, he = Op({
|
|
2812
2812
|
onSend: e,
|
|
2813
2813
|
attachments: A,
|
|
2814
2814
|
hasAttachments: s,
|
|
@@ -2894,7 +2894,7 @@ function Ph({ onSend: e, inProgress: t = !1, onStop: n, queueWhileInProgress: r
|
|
|
2894
2894
|
addFiles: ge.add,
|
|
2895
2895
|
toggleFormat: Ve.toggleFormat
|
|
2896
2896
|
});
|
|
2897
|
-
let tt =
|
|
2897
|
+
let tt = ds({
|
|
2898
2898
|
enabled: !!he.pasteFiles && !me,
|
|
2899
2899
|
onFiles: he.pasteFiles ?? (() => {}),
|
|
2900
2900
|
preferText: E
|
|
@@ -2993,7 +2993,7 @@ function Ph({ onSend: e, inProgress: t = !1, onStop: n, queueWhileInProgress: r
|
|
|
2993
2993
|
reducedMotion: de
|
|
2994
2994
|
}),
|
|
2995
2995
|
O,
|
|
2996
|
-
/* @__PURE__ */ Q(
|
|
2996
|
+
/* @__PURE__ */ Q(ro, {
|
|
2997
2997
|
message: Ye,
|
|
2998
2998
|
id: nt,
|
|
2999
2999
|
reducedMotion: de
|
|
@@ -3041,7 +3041,7 @@ function Ph({ onSend: e, inProgress: t = !1, onStop: n, queueWhileInProgress: r
|
|
|
3041
3041
|
onBlur: le
|
|
3042
3042
|
}, xt = /* @__PURE__ */ $(Z, { children: [
|
|
3043
3043
|
He?.popover,
|
|
3044
|
-
/* @__PURE__ */ Q(
|
|
3044
|
+
/* @__PURE__ */ Q($a, {
|
|
3045
3045
|
isOpen: Ue.mentionsVisible,
|
|
3046
3046
|
listboxId: Ue.mentionListboxId,
|
|
3047
3047
|
label: pe.mentionSuggestions,
|
|
@@ -3364,7 +3364,7 @@ var Uh = 30, Wh = 50, Gh = (e, t, n) => Math.min(Math.max(e, t), n), Kh = (e) =>
|
|
|
3364
3364
|
}, P = Y(N);
|
|
3365
3365
|
s && (P.current = N);
|
|
3366
3366
|
let F = s ? N : P.current;
|
|
3367
|
-
return !F.content && !F.title ? null : /* @__PURE__ */ Q(
|
|
3367
|
+
return !F.content && !F.title ? null : /* @__PURE__ */ Q(_a, {
|
|
3368
3368
|
...l,
|
|
3369
3369
|
width: u ? void 0 : l.width,
|
|
3370
3370
|
position: u ? "fullscreen" : l.position,
|
|
@@ -3517,7 +3517,7 @@ var dg = "flex w-full flex-row flex-wrap items-start gap-2 rounded-md border p-2
|
|
|
3517
3517
|
}) : null,
|
|
3518
3518
|
i && i.length > 0 ? /* @__PURE__ */ Q("div", {
|
|
3519
3519
|
className: "flex flex-col gap-0.5",
|
|
3520
|
-
children: i.map((e, t) => /* @__PURE__ */ Q(
|
|
3520
|
+
children: i.map((e, t) => /* @__PURE__ */ Q(as, { metadata: e }, t))
|
|
3521
3521
|
}) : null
|
|
3522
3522
|
]
|
|
3523
3523
|
}),
|
|
@@ -3546,7 +3546,7 @@ var dg = "flex w-full flex-row flex-wrap items-start gap-2 rounded-md border p-2
|
|
|
3546
3546
|
})]
|
|
3547
3547
|
});
|
|
3548
3548
|
pg.displayName = "OneListItem";
|
|
3549
|
-
var hg = bn(Tn("OneListItem",
|
|
3549
|
+
var hg = bn(Tn("OneListItem", cs(pg, mg)));
|
|
3550
3550
|
//#endregion
|
|
3551
3551
|
//#region src/blocks/F0SharingDialog/hooks/useReportAccessShape.ts
|
|
3552
3552
|
function gg(e, t) {
|
|
@@ -3582,7 +3582,7 @@ function _g({ roles: e, value: t, label: n, disabled: r, onChange: i, onRevoke:
|
|
|
3582
3582
|
});
|
|
3583
3583
|
return /* @__PURE__ */ Q(W, {
|
|
3584
3584
|
shrink: !1,
|
|
3585
|
-
children: /* @__PURE__ */ Q(
|
|
3585
|
+
children: /* @__PURE__ */ Q(Xi, {
|
|
3586
3586
|
label: n,
|
|
3587
3587
|
container: c,
|
|
3588
3588
|
align: "end",
|
|
@@ -3613,7 +3613,7 @@ function vg({ disabled: e, label: t, onClick: n }) {
|
|
|
3613
3613
|
return /* @__PURE__ */ Q(H, {
|
|
3614
3614
|
disabled: e,
|
|
3615
3615
|
hideLabel: !0,
|
|
3616
|
-
icon:
|
|
3616
|
+
icon: Po,
|
|
3617
3617
|
label: t,
|
|
3618
3618
|
onClick: n,
|
|
3619
3619
|
variant: "ghost"
|
|
@@ -3655,7 +3655,7 @@ function bg({ access: e, roles: t, personLabel: n, disabled: r, portalContainer:
|
|
|
3655
3655
|
children: [/* @__PURE__ */ Q(sl, {
|
|
3656
3656
|
variant: "inline",
|
|
3657
3657
|
actions: e.canChangeRole ? [{
|
|
3658
|
-
icon:
|
|
3658
|
+
icon: Po,
|
|
3659
3659
|
label: s.sharingDialog.removeAccess,
|
|
3660
3660
|
onClick: () => void o(),
|
|
3661
3661
|
variant: "critical",
|
|
@@ -3967,7 +3967,7 @@ function Tg(e) {
|
|
|
3967
3967
|
//#region src/blocks/F0SharingDialog/F0SharingDialog.tsx
|
|
3968
3968
|
function Eg(e) {
|
|
3969
3969
|
let { isOpen: t, title: n, description: r, onClose: i, dataTestId: a } = e;
|
|
3970
|
-
return /* @__PURE__ */ Q(
|
|
3970
|
+
return /* @__PURE__ */ Q(_a, {
|
|
3971
3971
|
description: r,
|
|
3972
3972
|
isOpen: t,
|
|
3973
3973
|
onClose: i,
|
|
@@ -3990,7 +3990,7 @@ var Dg = Tn("F0SharingDialog", Eg), Og = ({ labels: e, canUndo: t, undoLabel: n,
|
|
|
3990
3990
|
/* @__PURE__ */ Q(H, {
|
|
3991
3991
|
variant: "neutral",
|
|
3992
3992
|
size: "lg",
|
|
3993
|
-
icon:
|
|
3993
|
+
icon: Yo,
|
|
3994
3994
|
label: e.left,
|
|
3995
3995
|
hideLabel: !0,
|
|
3996
3996
|
onClick: () => i("left")
|
|
@@ -3998,7 +3998,7 @@ var Dg = Tn("F0SharingDialog", Eg), Og = ({ labels: e, canUndo: t, undoLabel: n,
|
|
|
3998
3998
|
/* @__PURE__ */ Q(H, {
|
|
3999
3999
|
variant: "outline",
|
|
4000
4000
|
size: "md",
|
|
4001
|
-
icon:
|
|
4001
|
+
icon: Bi,
|
|
4002
4002
|
label: n,
|
|
4003
4003
|
hideLabel: !0,
|
|
4004
4004
|
disabled: !t,
|
|
@@ -4045,7 +4045,7 @@ var Dg = Tn("F0SharingDialog", Eg), Og = ({ labels: e, canUndo: t, undoLabel: n,
|
|
|
4045
4045
|
zIndex: 1
|
|
4046
4046
|
}
|
|
4047
4047
|
}, Ng = Ku(function({ riseFromStack: e, onCommit: t, offsetThreshold: n, velocityThreshold: r, reduceMotion: i, children: a }, o) {
|
|
4048
|
-
let s = fn(), c =
|
|
4048
|
+
let s = fn(), c = qr(0), l = u(c, [
|
|
4049
4049
|
-480,
|
|
4050
4050
|
0,
|
|
4051
4051
|
Ag
|
|
@@ -4351,7 +4351,7 @@ function Gg({ title: e, isActive: t = !1, onClick: n }) {
|
|
|
4351
4351
|
"aria-label": `${e}${t ? " (selected)" : ""}`,
|
|
4352
4352
|
"aria-pressed": n ? t : void 0,
|
|
4353
4353
|
children: [/* @__PURE__ */ Q(U, {
|
|
4354
|
-
icon:
|
|
4354
|
+
icon: Aa,
|
|
4355
4355
|
size: "md",
|
|
4356
4356
|
color: "selected"
|
|
4357
4357
|
}), /* @__PURE__ */ Q(rr, {
|
|
@@ -4593,7 +4593,7 @@ var n_ = ({ entity: e, selected: t, onSelect: n, onRemove: r, marginLeft: i, sea
|
|
|
4593
4593
|
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",
|
|
4594
4594
|
children: [
|
|
4595
4595
|
p ? /* @__PURE__ */ Q(U, {
|
|
4596
|
-
icon:
|
|
4596
|
+
icon: Ts,
|
|
4597
4597
|
className: "rounded-xs bg-f1-foreground-secondary text-f1-foreground-inverse"
|
|
4598
4598
|
}) : null,
|
|
4599
4599
|
/* @__PURE__ */ $("div", {
|
|
@@ -4668,7 +4668,7 @@ var i_ = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
4668
4668
|
let t = n.find((t) => t.label === e);
|
|
4669
4669
|
t && !t.disabled && t.onClick?.();
|
|
4670
4670
|
}, a = n.every((e) => e.disabled);
|
|
4671
|
-
return /* @__PURE__ */ Q(
|
|
4671
|
+
return /* @__PURE__ */ Q(ha, {
|
|
4672
4672
|
items: r,
|
|
4673
4673
|
value: e.label,
|
|
4674
4674
|
disabled: a,
|
|
@@ -5030,7 +5030,7 @@ var i_ = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
5030
5030
|
} : void 0
|
|
5031
5031
|
}),
|
|
5032
5032
|
right: !n && /* @__PURE__ */ Q(U, {
|
|
5033
|
-
icon:
|
|
5033
|
+
icon: Yo,
|
|
5034
5034
|
size: "sm",
|
|
5035
5035
|
className: "cursor-pointer text-f1-icon-secondary",
|
|
5036
5036
|
onClick: () => t?.(e)
|
|
@@ -5714,13 +5714,13 @@ var k_ = ll, A_ = [
|
|
|
5714
5714
|
K_.displayName = "F0TemplateTextInput";
|
|
5715
5715
|
//#endregion
|
|
5716
5716
|
//#region src/blocks/F0TemplateTextInput/index.tsx
|
|
5717
|
-
var q_ = Tn("F0TemplateTextInput", K_), J_ = Tn("ActivityItem",
|
|
5717
|
+
var q_ = Tn("F0TemplateTextInput", K_), J_ = Tn("ActivityItem", cs(({ id: e, createdAt: t, title: n, description: r, icon: i, category: a, isUnread: o = !1, onClick: s, onVisible: c }) => {
|
|
5718
5718
|
let { ref: l } = sr({
|
|
5719
5719
|
threshold: .1,
|
|
5720
5720
|
onChange(t) {
|
|
5721
5721
|
t && c?.(e);
|
|
5722
5722
|
}
|
|
5723
|
-
}), u = nl(), d =
|
|
5723
|
+
}), u = nl(), d = Pr(t, {
|
|
5724
5724
|
yesterdayRelative: !1,
|
|
5725
5725
|
locale: u
|
|
5726
5726
|
});
|
|
@@ -5731,7 +5731,7 @@ var q_ = Tn("F0TemplateTextInput", K_), J_ = Tn("ActivityItem", os(({ id: e, cre
|
|
|
5731
5731
|
s(e);
|
|
5732
5732
|
},
|
|
5733
5733
|
children: [
|
|
5734
|
-
/* @__PURE__ */ Q(ic, { icon: i ??
|
|
5734
|
+
/* @__PURE__ */ Q(ic, { icon: i ?? Fi }),
|
|
5735
5735
|
/* @__PURE__ */ $("div", {
|
|
5736
5736
|
className: "flex-1",
|
|
5737
5737
|
children: [
|
|
@@ -5780,7 +5780,7 @@ var q_ = Tn("F0TemplateTextInput", K_), J_ = Tn("ActivityItem", os(({ id: e, cre
|
|
|
5780
5780
|
}), /* @__PURE__ */ Q("div", {
|
|
5781
5781
|
className: "flex flex-col gap-1",
|
|
5782
5782
|
children: t
|
|
5783
|
-
})] }), X_ =
|
|
5783
|
+
})] }), X_ = cs(({ title: e, items: t, onClickItem: n, onItemVisible: r }) => /* @__PURE__ */ Q(Y_, {
|
|
5784
5784
|
title: e,
|
|
5785
5785
|
children: t.map((e) => /* @__PURE__ */ Q(J_, {
|
|
5786
5786
|
...e,
|
|
@@ -5790,7 +5790,7 @@ var q_ = Tn("F0TemplateTextInput", K_), J_ = Tn("ActivityItem", os(({ id: e, cre
|
|
|
5790
5790
|
}), ({ title: e, numItems: t }) => /* @__PURE__ */ Q(Y_, {
|
|
5791
5791
|
title: e,
|
|
5792
5792
|
children: Array.from({ length: t }).map((e, t) => /* @__PURE__ */ Q(J_.Skeleton, {}, t))
|
|
5793
|
-
})), Z_ = /* @__PURE__ */ e(
|
|
5793
|
+
})), Z_ = /* @__PURE__ */ e(Ya(), 1), Q_ = /* @__PURE__ */ e(wo(), 1), $_ = 3, ev = [
|
|
5794
5794
|
"today",
|
|
5795
5795
|
"yesterday",
|
|
5796
5796
|
"lastWeek",
|
|
@@ -5799,7 +5799,7 @@ var q_ = Tn("F0TemplateTextInput", K_), J_ = Tn("ActivityItem", os(({ id: e, cre
|
|
|
5799
5799
|
let t = ev.indexOf(e);
|
|
5800
5800
|
return t === -1 ? -Number(e) : t - 4e3;
|
|
5801
5801
|
}), nv = () => /* @__PURE__ */ Q("div", { className: "-mx-2 h-px bg-f1-background-secondary" }), rv = ({ items: e, loadingMoreItems: t = !1, onClickItem: n, onEndReached: r, onEndReachedItemsThreshold: i = 5 }) => {
|
|
5802
|
-
let a = R(), o =
|
|
5802
|
+
let a = R(), o = mo(e, "createdAt"), s = new Set(Object.values(o).slice().flatMap((e) => e.map((e) => e.id)).slice(-i)), c = (0, Q_.default)((e) => {
|
|
5803
5803
|
s.has(e) && r?.();
|
|
5804
5804
|
}, 1e3), l = tv(Object.entries(o).filter(([e, t]) => !!t.length));
|
|
5805
5805
|
return /* @__PURE__ */ $("div", {
|
|
@@ -5832,7 +5832,7 @@ var q_ = Tn("F0TemplateTextInput", K_), J_ = Tn("ActivityItem", os(({ id: e, cre
|
|
|
5832
5832
|
})
|
|
5833
5833
|
]
|
|
5834
5834
|
});
|
|
5835
|
-
}, av = Tn("ActivityItemList",
|
|
5835
|
+
}, av = Tn("ActivityItemList", cs(rv, iv));
|
|
5836
5836
|
//#endregion
|
|
5837
5837
|
//#region src/blocks/F0ResourceHeader/useCompactOnScroll.ts
|
|
5838
5838
|
function ov({ threshold: e = 24, container: t }) {
|
|
@@ -5887,7 +5887,7 @@ var cv = [
|
|
|
5887
5887
|
critical: gc,
|
|
5888
5888
|
warning: el,
|
|
5889
5889
|
info: al,
|
|
5890
|
-
promote:
|
|
5890
|
+
promote: ga,
|
|
5891
5891
|
context: al
|
|
5892
5892
|
}, mv = /* @__PURE__ */ new Set(["promote", "context"]), hv = "promote", gv = /^\p{Emoji}\uFE0F?$/u, _v = (e) => e.variant === hv && e.emoji !== void 0 && gv.test(e.emoji), vv = (e) => _v(e) ? {
|
|
5893
5893
|
kind: "emoji",
|
|
@@ -6089,7 +6089,7 @@ function Wv({ notices: e, controlSize: t, onActionClick: n, onDismiss: r }) {
|
|
|
6089
6089
|
Sv(e) ? /* @__PURE__ */ Q("div", {
|
|
6090
6090
|
className: "shrink-0 self-start",
|
|
6091
6091
|
children: /* @__PURE__ */ Q(H, {
|
|
6092
|
-
icon:
|
|
6092
|
+
icon: Yo,
|
|
6093
6093
|
label: a("systemBanner.dismissNotice", { title: e.title }),
|
|
6094
6094
|
hideLabel: !0,
|
|
6095
6095
|
tooltip: i.dismiss,
|
|
@@ -6320,7 +6320,7 @@ function Qv({ notices: e, onDismiss: t, onOpenChange: n, onActionClick: r }) {
|
|
|
6320
6320
|
})
|
|
6321
6321
|
]
|
|
6322
6322
|
})
|
|
6323
|
-
}), /* @__PURE__ */ $(
|
|
6323
|
+
}), /* @__PURE__ */ $(Rr, {
|
|
6324
6324
|
overlayClassName: "bg-f1-background-overlay",
|
|
6325
6325
|
className: "max-h-system-banner-sheet bg-f1-background text-f1-foreground",
|
|
6326
6326
|
ref: S,
|
|
@@ -6328,7 +6328,7 @@ function Qv({ notices: e, onDismiss: t, onOpenChange: n, onActionClick: r }) {
|
|
|
6328
6328
|
onOpenAutoFocus: P,
|
|
6329
6329
|
onCloseAutoFocus: N,
|
|
6330
6330
|
children: [
|
|
6331
|
-
/* @__PURE__ */ Q(
|
|
6331
|
+
/* @__PURE__ */ Q($r, {
|
|
6332
6332
|
className: "sr-only",
|
|
6333
6333
|
children: i.listTitle
|
|
6334
6334
|
}),
|
|
@@ -6342,7 +6342,7 @@ function Qv({ notices: e, onDismiss: t, onOpenChange: n, onActionClick: r }) {
|
|
|
6342
6342
|
paddingX: "md",
|
|
6343
6343
|
paddingBottom: "lg",
|
|
6344
6344
|
paddingTop: "sm",
|
|
6345
|
-
children: /* @__PURE__ */ Q(
|
|
6345
|
+
children: /* @__PURE__ */ Q(ea, {
|
|
6346
6346
|
asChild: !0,
|
|
6347
6347
|
children: /* @__PURE__ */ Q(V, {
|
|
6348
6348
|
label: a.close,
|
|
@@ -6422,7 +6422,7 @@ function Qv({ notices: e, onDismiss: t, onOpenChange: n, onActionClick: r }) {
|
|
|
6422
6422
|
}) : null,
|
|
6423
6423
|
h ? ee : null,
|
|
6424
6424
|
Sv(l) ? /* @__PURE__ */ Q(H, {
|
|
6425
|
-
icon:
|
|
6425
|
+
icon: Yo,
|
|
6426
6426
|
label: o("systemBanner.dismissNotice", { title: l.title }),
|
|
6427
6427
|
hideLabel: !0,
|
|
6428
6428
|
tooltip: i.dismiss,
|
|
@@ -6609,7 +6609,7 @@ var iy = ({ link: e, firstName: t, lastName: n, src: r, onClick: i, canReact: a
|
|
|
6609
6609
|
})]
|
|
6610
6610
|
}), /* @__PURE__ */ Q("div", {
|
|
6611
6611
|
className: "shrink-0",
|
|
6612
|
-
children: /* @__PURE__ */ Q(
|
|
6612
|
+
children: /* @__PURE__ */ Q(mr, { date: u })
|
|
6613
6613
|
})]
|
|
6614
6614
|
})
|
|
6615
6615
|
]
|
|
@@ -6632,7 +6632,7 @@ var iy = ({ link: e, firstName: t, lastName: n, src: r, onClick: i, canReact: a
|
|
|
6632
6632
|
})
|
|
6633
6633
|
})
|
|
6634
6634
|
})]
|
|
6635
|
-
}), oy =
|
|
6635
|
+
}), oy = cs(iy, ay), sy = ({ title: e, subtitle: t, buttonLabel: n, onClick: r }) => /* @__PURE__ */ $("div", {
|
|
6636
6636
|
className: "flex w-full flex-col items-start justify-between gap-4 rounded-md bg-gradient-to-r from-[#F5A51C]/30 via-[#E51943]/30 to-[#5596F6]/30 px-3 py-3 ring-1 ring-inset ring-f1-border-secondary sm:flex-row sm:items-center sm:px-4",
|
|
6637
6637
|
children: [/* @__PURE__ */ $("div", {
|
|
6638
6638
|
className: "flex flex-col items-start gap-3 sm:flex-row sm:items-center",
|
|
@@ -6738,7 +6738,7 @@ function ly({ items: e, onInteraction: t, locale: n, action: r }) {
|
|
|
6738
6738
|
});
|
|
6739
6739
|
}
|
|
6740
6740
|
var uy = Tn("Reactions", ly), dy = Ku(function({ content: e, collapsed: t, id: n, className: r, tabIndex: i }, a) {
|
|
6741
|
-
return /* @__PURE__ */ Q(
|
|
6741
|
+
return /* @__PURE__ */ Q(Tr, {
|
|
6742
6742
|
ref: a,
|
|
6743
6743
|
id: n,
|
|
6744
6744
|
content: e,
|
|
@@ -6747,7 +6747,7 @@ var uy = Tn("Reactions", ly), dy = Ku(function({ content: e, collapsed: t, id: n
|
|
|
6747
6747
|
});
|
|
6748
6748
|
});
|
|
6749
6749
|
dy.displayName = "BasePostDescription";
|
|
6750
|
-
var fy =
|
|
6750
|
+
var fy = cs(dy, () => /* @__PURE__ */ $("div", {
|
|
6751
6751
|
className: "flex flex-col justify-around gap-3 py-2",
|
|
6752
6752
|
children: [/* @__PURE__ */ Q(z, { className: "h-2.5 w-1/2 rounded-2xs" }), /* @__PURE__ */ Q(z, { className: "h-2.5 w-2/3 rounded-2xs" })]
|
|
6753
6753
|
})), py = ({ tags: e, right: t }) => /* @__PURE__ */ Q("div", {
|
|
@@ -6770,7 +6770,7 @@ var fy = os(dy, () => /* @__PURE__ */ $("div", {
|
|
|
6770
6770
|
return /* @__PURE__ */ $("div", {
|
|
6771
6771
|
className: "flex flex-row items-center",
|
|
6772
6772
|
children: [
|
|
6773
|
-
e ? /* @__PURE__ */ Q(
|
|
6773
|
+
e ? /* @__PURE__ */ Q(mr, {
|
|
6774
6774
|
date: e,
|
|
6775
6775
|
size: r
|
|
6776
6776
|
}) : null,
|
|
@@ -6779,7 +6779,7 @@ var fy = os(dy, () => /* @__PURE__ */ $("div", {
|
|
|
6779
6779
|
size: "sm",
|
|
6780
6780
|
className: "text-f1-foreground-tertiary"
|
|
6781
6781
|
}) : null,
|
|
6782
|
-
t ? /* @__PURE__ */ Q(
|
|
6782
|
+
t ? /* @__PURE__ */ Q(mr, {
|
|
6783
6783
|
date: t,
|
|
6784
6784
|
size: r
|
|
6785
6785
|
}) : null
|
|
@@ -6873,7 +6873,7 @@ var fy = os(dy, () => /* @__PURE__ */ $("div", {
|
|
|
6873
6873
|
if (e.includes("//s3.")) return e.includes("response-content-type=video");
|
|
6874
6874
|
let t = (e?.split(".")).at(-1);
|
|
6875
6875
|
return !!t && _y.has(t);
|
|
6876
|
-
}, yy =
|
|
6876
|
+
}, yy = cs(({ title: e, mediaUrl: t, place: n, date: r }) => {
|
|
6877
6877
|
let i = nl(), a = ui(r, i);
|
|
6878
6878
|
return n && (a = `${a} · ${n}`), /* @__PURE__ */ $("div", {
|
|
6879
6879
|
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",
|
|
@@ -6928,7 +6928,7 @@ var fy = os(dy, () => /* @__PURE__ */ $("div", {
|
|
|
6928
6928
|
})
|
|
6929
6929
|
});
|
|
6930
6930
|
}, xy = ({ id: e, author: t, group: n, createdAt: r, title: i, description: a, onClick: o, mediaUrl: s, event: c, counters: l, reactions: u, inLabel: d, comment: f, actions: p, dropdownItems: m, noReactionsButton: h = !1, descriptionExpandable: g = !1, noDescriptionClamp: _ = !1, hideTitle: v = !1, hideGroup: y = !1, pinned: b = !1, pinnedLabel: x, relativeDate: S = !1, noVideoPreload: C = !1, reserveCountersLine: w = !1 }) => {
|
|
6931
|
-
let T = Zu(), E = Zu(), D = nl(), O = Y(null), [k, A] = X(null), [j, M] = X(!1), N = [l.views, l.comments].filter(Boolean).join(" · "), P = g && k?.id === e && k.description === a, F = !P && !_, I = S ? wi(r, D) :
|
|
6931
|
+
let T = Zu(), E = Zu(), D = nl(), O = Y(null), [k, A] = X(null), [j, M] = X(!1), N = [l.views, l.comments].filter(Boolean).join(" · "), P = g && k?.id === e && k.description === a, F = !P && !_, I = S ? wi(r, D) : Pr(r, { locale: D }), ee = !!o, te = o ? () => o(e) : void 0, ne = (e) => {
|
|
6932
6932
|
e.stopPropagation();
|
|
6933
6933
|
}, re = t ? `${t.firstName} ${t.lastName}` : void 0, ie = (t) => {
|
|
6934
6934
|
t.preventDefault(), t.stopPropagation(), a && A({
|
|
@@ -6964,7 +6964,7 @@ var fy = os(dy, () => /* @__PURE__ */ $("div", {
|
|
|
6964
6964
|
/* @__PURE__ */ $("div", {
|
|
6965
6965
|
className: "flex min-w-0 flex-row items-center gap-3",
|
|
6966
6966
|
children: [
|
|
6967
|
-
t ? /* @__PURE__ */ Q(
|
|
6967
|
+
t ? /* @__PURE__ */ Q(zo, {
|
|
6968
6968
|
href: t.url || "#",
|
|
6969
6969
|
title: re,
|
|
6970
6970
|
className: "flex items-center leading-[0]",
|
|
@@ -6974,12 +6974,12 @@ var fy = os(dy, () => /* @__PURE__ */ $("div", {
|
|
|
6974
6974
|
lastName: t.lastName,
|
|
6975
6975
|
src: t.avatarUrl
|
|
6976
6976
|
})
|
|
6977
|
-
}) : /* @__PURE__ */ Q(ic, { icon:
|
|
6977
|
+
}) : /* @__PURE__ */ Q(ic, { icon: fa }),
|
|
6978
6978
|
/* @__PURE__ */ $("div", {
|
|
6979
6979
|
className: "flex min-w-0 flex-1 flex-col",
|
|
6980
6980
|
children: [/* @__PURE__ */ $("div", {
|
|
6981
6981
|
className: "flex min-w-0 flex-1 flex-row flex-wrap items-center gap-1",
|
|
6982
|
-
children: [t ? /* @__PURE__ */ Q(
|
|
6982
|
+
children: [t ? /* @__PURE__ */ Q(zo, {
|
|
6983
6983
|
href: t.url,
|
|
6984
6984
|
title: re,
|
|
6985
6985
|
className: "font-medium text-f1-foreground no-underline visited:text-f1-foreground",
|
|
@@ -6988,7 +6988,7 @@ var fy = os(dy, () => /* @__PURE__ */ $("div", {
|
|
|
6988
6988
|
}) : null, y ? null : /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q("span", {
|
|
6989
6989
|
className: B("text-f1-foreground-secondary", !t && "capitalize"),
|
|
6990
6990
|
children: d
|
|
6991
|
-
}), /* @__PURE__ */ Q(
|
|
6991
|
+
}), /* @__PURE__ */ Q(zo, {
|
|
6992
6992
|
onClick: n.onClick,
|
|
6993
6993
|
title: n.title,
|
|
6994
6994
|
className: "font-medium text-f1-foreground no-underline visited:text-f1-foreground",
|
|
@@ -6999,7 +6999,7 @@ var fy = os(dy, () => /* @__PURE__ */ $("div", {
|
|
|
6999
6999
|
}), /* @__PURE__ */ $("span", {
|
|
7000
7000
|
className: "flex flex-row items-center gap-1.5 text-base text-f1-foreground-secondary",
|
|
7001
7001
|
children: [I, b ? /* @__PURE__ */ Q(U, {
|
|
7002
|
-
icon:
|
|
7002
|
+
icon: zr,
|
|
7003
7003
|
size: "xs",
|
|
7004
7004
|
"aria-label": x,
|
|
7005
7005
|
role: x ? "img" : void 0
|
|
@@ -7018,14 +7018,14 @@ var fy = os(dy, () => /* @__PURE__ */ $("div", {
|
|
|
7018
7018
|
onClick: e.onClick,
|
|
7019
7019
|
label: e.label ?? "",
|
|
7020
7020
|
title: e.label ?? ""
|
|
7021
|
-
}, e.label)), m?.length ? /* @__PURE__ */ Q(
|
|
7021
|
+
}, e.label)), m?.length ? /* @__PURE__ */ Q(Xi, {
|
|
7022
7022
|
items: m,
|
|
7023
7023
|
icon: Sl,
|
|
7024
7024
|
size: "sm"
|
|
7025
7025
|
}) : null]
|
|
7026
7026
|
}), /* @__PURE__ */ Q("div", {
|
|
7027
7027
|
className: "md:hidden",
|
|
7028
|
-
children: /* @__PURE__ */ Q(
|
|
7028
|
+
children: /* @__PURE__ */ Q(Xi, {
|
|
7029
7029
|
items: [{
|
|
7030
7030
|
label: f.label,
|
|
7031
7031
|
onClick: f.onClick
|
|
@@ -7086,7 +7086,7 @@ var fy = os(dy, () => /* @__PURE__ */ $("div", {
|
|
|
7086
7086
|
action: {
|
|
7087
7087
|
label: f.label,
|
|
7088
7088
|
onClick: f.onClick,
|
|
7089
|
-
icon:
|
|
7089
|
+
icon: Ca
|
|
7090
7090
|
}
|
|
7091
7091
|
})
|
|
7092
7092
|
]
|
|
@@ -7129,7 +7129,7 @@ var fy = os(dy, () => /* @__PURE__ */ $("div", {
|
|
|
7129
7129
|
})
|
|
7130
7130
|
]
|
|
7131
7131
|
})]
|
|
7132
|
-
}), Cy =
|
|
7132
|
+
}), Cy = cs(xy, Sy), wy = "aspect-video", Ty = "after:absolute after:inset-0 after:z-[1] after:rounded-xl after:content-['']", Ey = "h-96", Dy = (e, t) => t > 0 ? Math.max(1, Math.floor(e / t)) : 1, Oy = (e) => {
|
|
7133
7133
|
let t = Number.parseFloat(window.getComputedStyle(e).lineHeight);
|
|
7134
7134
|
if (t > 0) return t;
|
|
7135
7135
|
let n = e.firstElementChild, r = n ? Number.parseFloat(window.getComputedStyle(n).lineHeight) : NaN;
|
|
@@ -7354,7 +7354,7 @@ var fy = os(dy, () => /* @__PURE__ */ $("div", {
|
|
|
7354
7354
|
})]
|
|
7355
7355
|
});
|
|
7356
7356
|
Ry.displayName = "OnePersonListItem";
|
|
7357
|
-
var By = bn(Tn("OnePersonListItem",
|
|
7357
|
+
var By = bn(Tn("OnePersonListItem", cs(Ry, zy))), Vy = "[anchor-name:--f0-composer-column]";
|
|
7358
7358
|
function Hy({ composer: e, away: t, reserveComposerSpace: n = !1, children: r }) {
|
|
7359
7359
|
if (!e) return /* @__PURE__ */ Q("div", {
|
|
7360
7360
|
className: "contents",
|
|
@@ -7384,7 +7384,7 @@ function Hy({ composer: e, away: t, reserveComposerSpace: n = !1, children: r })
|
|
|
7384
7384
|
//#endregion
|
|
7385
7385
|
//#region src/blocks/ApplicationFrame/SidePanel/SidePanelContentWindow.tsx
|
|
7386
7386
|
var Uy = () => {
|
|
7387
|
-
let { open: e, activeContent: t, contentSide: n, restoringViewId: r } =
|
|
7387
|
+
let { open: e, activeContent: t, contentSide: n, restoringViewId: r } = Ua(), i = Zn(), a = Y(t);
|
|
7388
7388
|
t && (a.current = t);
|
|
7389
7389
|
let o = !t && r ? {
|
|
7390
7390
|
id: r,
|
|
@@ -7394,7 +7394,7 @@ var Uy = () => {
|
|
|
7394
7394
|
className: "h-full w-full rounded-none"
|
|
7395
7395
|
})
|
|
7396
7396
|
} : null, s = t ?? o ?? a.current;
|
|
7397
|
-
return /* @__PURE__ */ Q(
|
|
7397
|
+
return /* @__PURE__ */ Q(pa, {
|
|
7398
7398
|
visible: e && (t !== null || o !== null),
|
|
7399
7399
|
side: n,
|
|
7400
7400
|
exitStyle: e ? "hold" : "shrink",
|
|
@@ -7416,7 +7416,7 @@ var Uy = () => {
|
|
|
7416
7416
|
};
|
|
7417
7417
|
//#endregion
|
|
7418
7418
|
//#region src/blocks/ApplicationFrame/useWindowResizing.ts
|
|
7419
|
-
function Wy(e =
|
|
7419
|
+
function Wy(e = Ho) {
|
|
7420
7420
|
let [t, n] = X(!1);
|
|
7421
7421
|
return K(() => {
|
|
7422
7422
|
let t = 0, r = () => {
|
|
@@ -7432,7 +7432,7 @@ function Wy(e = Lo) {
|
|
|
7432
7432
|
var Gy = 8, Ky = 8, qy = (e, t) => e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || t.target !== "" && t.target !== "_self" || t.hasAttribute("download"), Jy = ({ shellRef: e, overlays: t, isOpen: n, animates: r, width: i, topBarHeight: a, onLinkClickOverPage: o, children: s }) => /* @__PURE__ */ Q("div", {
|
|
7433
7433
|
ref: e,
|
|
7434
7434
|
"data-testid": "secondary-sidebar-shell",
|
|
7435
|
-
className: B("z-0 shrink-0", n ? "opacity-100" : "pointer-events-none opacity-0", r ? B("transition-[width,margin,opacity]",
|
|
7435
|
+
className: B("z-0 shrink-0", n ? "opacity-100" : "pointer-events-none opacity-0", r ? B("transition-[width,margin,opacity]", Do) : "transition-none", t ? "absolute bottom-[11px] left-full top-[11px] overflow-hidden rounded-md bg-f1-background/60 shadow-lg ring-1 ring-f1-border-secondary backdrop-blur-2xl" : "relative overflow-hidden"),
|
|
7436
7436
|
style: {
|
|
7437
7437
|
"--ds-sidebar-width": `${i}px`,
|
|
7438
7438
|
width: t || n ? i : 0,
|
|
@@ -7452,9 +7452,9 @@ var Gy = 8, Ky = 8, qy = (e, t) => e.button !== 0 || e.metaKey || e.ctrlKey || e
|
|
|
7452
7452
|
function Yy({ primarySidebar: e, secondarySidebar: t }) {
|
|
7453
7453
|
let n = uu();
|
|
7454
7454
|
if (!n) throw Error("NavigationLayout must be rendered by ApplicationFrame with a primarySidebar");
|
|
7455
|
-
return /* @__PURE__ */ Q(
|
|
7455
|
+
return /* @__PURE__ */ Q(Mo, {
|
|
7456
7456
|
value: "two-level",
|
|
7457
|
-
children: /* @__PURE__ */ Q(
|
|
7457
|
+
children: /* @__PURE__ */ Q(Xo, {
|
|
7458
7458
|
value: !0,
|
|
7459
7459
|
children: /* @__PURE__ */ Q(Xy, {
|
|
7460
7460
|
navigation: n,
|
|
@@ -7492,7 +7492,7 @@ function Xy({ navigation: e, primarySidebar: t, secondarySidebar: n }) {
|
|
|
7492
7492
|
className: "relative z-10 h-full shrink-0",
|
|
7493
7493
|
children: [t, /* @__PURE__ */ Q("span", {
|
|
7494
7494
|
"aria-hidden": "true",
|
|
7495
|
-
className: B("pointer-events-none absolute inset-y-0 right-0 w-px bg-f1-border-secondary", v && C ? "opacity-100" : "opacity-0", x ? B("transition-opacity",
|
|
7495
|
+
className: B("pointer-events-none absolute inset-y-0 right-0 w-px bg-f1-border-secondary", v && C ? "opacity-100" : "opacity-0", x ? B("transition-opacity", Do) : "transition-none")
|
|
7496
7496
|
})]
|
|
7497
7497
|
}),
|
|
7498
7498
|
v ? /* @__PURE__ */ Q(Jy, {
|
|
@@ -8261,7 +8261,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
8261
8261
|
width: window.innerWidth,
|
|
8262
8262
|
height: window.innerHeight
|
|
8263
8263
|
}, OS = () => {
|
|
8264
|
-
let [e, t] =
|
|
8264
|
+
let [e, t] = Fo({
|
|
8265
8265
|
key: Tx,
|
|
8266
8266
|
fallback: ES,
|
|
8267
8267
|
validate: vS
|
|
@@ -8317,7 +8317,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
8317
8317
|
}
|
|
8318
8318
|
return e.values().next().value ?? null;
|
|
8319
8319
|
}, NS = Gu(null), PS = ({ defaultMode: e = "fullscreen", roomId: t = "", pictureInPicture: n = !0, children: r }) => {
|
|
8320
|
-
let [i, a] =
|
|
8320
|
+
let [i, a] = Fo({
|
|
8321
8321
|
key: Ex,
|
|
8322
8322
|
fallback: {
|
|
8323
8323
|
roomId: t,
|
|
@@ -8339,12 +8339,12 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
8339
8339
|
...n,
|
|
8340
8340
|
[t]: e
|
|
8341
8341
|
});
|
|
8342
|
-
}, [v]), P = v !== null, F = v ? D[v] ?? null : null, [I, ee] =
|
|
8342
|
+
}, [v]), P = v !== null, F = v ? D[v] ?? null : null, [I, ee] = Fo({
|
|
8343
8343
|
key: Dx,
|
|
8344
8344
|
fallback: 420,
|
|
8345
8345
|
validate: (e) => typeof e == "number" && Number.isFinite(e) && e >= 320,
|
|
8346
8346
|
debounceMs: 150
|
|
8347
|
-
}), te = G(() => ee(420), [ee]), [ne, re] =
|
|
8347
|
+
}), te = G(() => ee(420), [ee]), [ne, re] = Fo({
|
|
8348
8348
|
key: kx,
|
|
8349
8349
|
fallback: Ax,
|
|
8350
8350
|
validate: Lx,
|
|
@@ -8594,7 +8594,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
8594
8594
|
...t,
|
|
8595
8595
|
id: "chat",
|
|
8596
8596
|
label: n,
|
|
8597
|
-
icon:
|
|
8597
|
+
icon: no
|
|
8598
8598
|
}] : [])).filter((e) => e.tabs.length > 0), WS = () => {
|
|
8599
8599
|
let e = R(), { sidePanels: t, sidePanel: n } = zS();
|
|
8600
8600
|
return J(() => US(t, n, e.meeting.chatPanel), [
|
|
@@ -8607,10 +8607,10 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
8607
8607
|
left: "[@media(pointer:coarse)]:before:-inset-y-[6px] [@media(pointer:coarse)]:before:-left-[6px] [@media(pointer:coarse)]:before:right-0",
|
|
8608
8608
|
right: "[@media(pointer:coarse)]:before:-inset-y-[6px] [@media(pointer:coarse)]:before:left-0 [@media(pointer:coarse)]:before:-right-[6px]"
|
|
8609
8609
|
}, JS = (e = "all") => B("relative", KS, qS[e]), YS = () => "[@media(pointer:coarse)]:[&>button]:before:absolute [@media(pointer:coarse)]:[&>button]:before:content-[''] [@media(pointer:coarse)]:[&>button]:before:-inset-[6px]", XS = () => {
|
|
8610
|
-
let e = R(), { effectiveMode: t, setMode: n, hasPanelSlot: r, panelSide: i } = FS(), a = i === "left" ?
|
|
8610
|
+
let e = R(), { effectiveMode: t, setMode: n, hasPanelSlot: r, panelSide: i } = FS(), a = i === "left" ? No : os, o = [
|
|
8611
8611
|
{
|
|
8612
8612
|
mode: "floating",
|
|
8613
|
-
icon:
|
|
8613
|
+
icon: Ai,
|
|
8614
8614
|
label: e.meeting.modeFloating
|
|
8615
8615
|
},
|
|
8616
8616
|
{
|
|
@@ -8620,7 +8620,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
8620
8620
|
},
|
|
8621
8621
|
{
|
|
8622
8622
|
mode: "fullscreen",
|
|
8623
|
-
icon:
|
|
8623
|
+
icon: Kr,
|
|
8624
8624
|
label: e.meeting.modeFullscreen
|
|
8625
8625
|
}
|
|
8626
8626
|
], s = (t === "minimized" ? o.filter((e) => e.mode === "floating") : o).filter((e) => e.mode !== "panel" && e.mode !== "fullscreen" || r);
|
|
@@ -8727,7 +8727,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
8727
8727
|
variant: "ghost",
|
|
8728
8728
|
size: "md",
|
|
8729
8729
|
hideLabel: !0,
|
|
8730
|
-
icon:
|
|
8730
|
+
icon: Ka,
|
|
8731
8731
|
label: e.meeting.exitPictureInPicture,
|
|
8732
8732
|
onClick: () => {
|
|
8733
8733
|
t(), window.focus();
|
|
@@ -9086,7 +9086,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
9086
9086
|
height: 32
|
|
9087
9087
|
},
|
|
9088
9088
|
children: e.id === "frequent" ? /* @__PURE__ */ Q(U, {
|
|
9089
|
-
icon:
|
|
9089
|
+
icon: Ia,
|
|
9090
9090
|
size: "md"
|
|
9091
9091
|
}) : /* @__PURE__ */ Q(Xn, {
|
|
9092
9092
|
emoji: BC[e.id],
|
|
@@ -9286,7 +9286,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
9286
9286
|
tw.delete(e), tw.size === 0 && window.removeEventListener("storage", nw);
|
|
9287
9287
|
}), iw = () => null, aw = (e) => {
|
|
9288
9288
|
let t = $C(QC());
|
|
9289
|
-
|
|
9289
|
+
so(YC, {
|
|
9290
9290
|
...t,
|
|
9291
9291
|
[e.id]: Math.min((t[e.id] ?? 0) + 1, ZC)
|
|
9292
9292
|
}), nw();
|
|
@@ -9450,7 +9450,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
9450
9450
|
noAutoTooltip: s,
|
|
9451
9451
|
label: t,
|
|
9452
9452
|
size: n,
|
|
9453
|
-
icon: i ??
|
|
9453
|
+
icon: i ?? Gr,
|
|
9454
9454
|
pressed: d,
|
|
9455
9455
|
onClick: (e) => {
|
|
9456
9456
|
e.preventDefault(), e.stopPropagation(), f(!d);
|
|
@@ -9683,7 +9683,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
9683
9683
|
return t;
|
|
9684
9684
|
}, Jw = (e) => {
|
|
9685
9685
|
let t = Hw(Rw());
|
|
9686
|
-
t.v > Lw || (
|
|
9686
|
+
t.v > Lw || (so(Ox, {
|
|
9687
9687
|
...t,
|
|
9688
9688
|
...e,
|
|
9689
9689
|
v: Lw
|
|
@@ -9837,7 +9837,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
9837
9837
|
});
|
|
9838
9838
|
}, yT = ({ actions: e }) => {
|
|
9839
9839
|
let t = R(), n = e.reduce((e, t) => e + (typeof t.badge == "number" ? t.badge : 0), 0), r = n > 0 ? `${t.meeting.moreActions} · ${t.t("meeting.unreadCount", { count: n })}` : t.meeting.moreActions;
|
|
9840
|
-
return /* @__PURE__ */ Q(
|
|
9840
|
+
return /* @__PURE__ */ Q(Xi, {
|
|
9841
9841
|
items: e.map(hT),
|
|
9842
9842
|
align: "end",
|
|
9843
9843
|
children: /* @__PURE__ */ $("span", {
|
|
@@ -10047,8 +10047,8 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
10047
10047
|
i.push({
|
|
10048
10048
|
id: "core:microphone",
|
|
10049
10049
|
label: r.microphone.enabled ? t.meeting.turnOffMicrophone : t.meeting.turnOnMicrophone,
|
|
10050
|
-
icon:
|
|
10051
|
-
activeIcon:
|
|
10050
|
+
icon: Oo,
|
|
10051
|
+
activeIcon: Uo,
|
|
10052
10052
|
pressed: !r.microphone.enabled,
|
|
10053
10053
|
pending: r.microphone.pending,
|
|
10054
10054
|
disabled: u?.canPublishAudio === !1 || !!d,
|
|
@@ -10078,8 +10078,8 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
10078
10078
|
i.push({
|
|
10079
10079
|
id: "core:camera",
|
|
10080
10080
|
label: r.camera.enabled ? t.meeting.turnOffCamera : t.meeting.turnOnCamera,
|
|
10081
|
-
icon:
|
|
10082
|
-
activeIcon:
|
|
10081
|
+
icon: Ps,
|
|
10082
|
+
activeIcon: _s,
|
|
10083
10083
|
pressed: !r.camera.enabled,
|
|
10084
10084
|
pending: r.camera.pending,
|
|
10085
10085
|
disabled: u?.canPublishVideo === !1 || !!p,
|
|
@@ -10096,7 +10096,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
10096
10096
|
id: "core:cameraSettings",
|
|
10097
10097
|
source: r.camera,
|
|
10098
10098
|
label: t.meeting.selectCamera,
|
|
10099
|
-
icon:
|
|
10099
|
+
icon: ms,
|
|
10100
10100
|
priority: 65
|
|
10101
10101
|
});
|
|
10102
10102
|
if (m && i.push(m), n.hasScreenShare) {
|
|
@@ -10104,7 +10104,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
10104
10104
|
i.push({
|
|
10105
10105
|
id: "core:screenShare",
|
|
10106
10106
|
label: e ? t.meeting.stopSharing : t.meeting.shareScreen,
|
|
10107
|
-
icon:
|
|
10107
|
+
icon: Ha,
|
|
10108
10108
|
pressed: e,
|
|
10109
10109
|
pending: r.screenShare?.pending,
|
|
10110
10110
|
disabled: u?.canShareScreen === !1,
|
|
@@ -10116,7 +10116,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
10116
10116
|
return n.hasReactions && i.push({
|
|
10117
10117
|
id: "core:reactions",
|
|
10118
10118
|
label: t.meeting.reactions,
|
|
10119
|
-
icon:
|
|
10119
|
+
icon: Gr,
|
|
10120
10120
|
priority: 41,
|
|
10121
10121
|
group: "reactions",
|
|
10122
10122
|
modes: [
|
|
@@ -10128,7 +10128,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
10128
10128
|
}), n.hasRaiseHand && i.push({
|
|
10129
10129
|
id: "core:raiseHand",
|
|
10130
10130
|
label: l ? t.meeting.lowerHand : t.meeting.raiseHand,
|
|
10131
|
-
icon:
|
|
10131
|
+
icon: pi,
|
|
10132
10132
|
emoji: "✋",
|
|
10133
10133
|
pressed: l,
|
|
10134
10134
|
onClick: () => n.setHandRaised(!l),
|
|
@@ -10155,7 +10155,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
10155
10155
|
}), i.push({
|
|
10156
10156
|
id: "core:leave",
|
|
10157
10157
|
label: t.meeting.leave,
|
|
10158
|
-
icon:
|
|
10158
|
+
icon: ra,
|
|
10159
10159
|
variant: "critical",
|
|
10160
10160
|
onClick: () => void c(),
|
|
10161
10161
|
pinned: !0,
|
|
@@ -10733,24 +10733,24 @@ var yE = () => {
|
|
|
10733
10733
|
return td(t, n, n);
|
|
10734
10734
|
}, bE = {
|
|
10735
10735
|
duration: Zl.duration.base,
|
|
10736
|
-
ease:
|
|
10736
|
+
ease: pr
|
|
10737
10737
|
}, xE = [
|
|
10738
10738
|
"left",
|
|
10739
10739
|
"top",
|
|
10740
10740
|
"width",
|
|
10741
10741
|
"height"
|
|
10742
|
-
].map((e) => `${e} ${Math.round(bE.duration * 1e3)}ms cubic-bezier(${
|
|
10742
|
+
].map((e) => `${e} ${Math.round(bE.duration * 1e3)}ms cubic-bezier(${pr.join(",")})`).join(", "), SE = {
|
|
10743
10743
|
duration: Zl.duration.base,
|
|
10744
|
-
ease:
|
|
10744
|
+
ease: pr
|
|
10745
10745
|
}, CE = {
|
|
10746
10746
|
duration: Zl.duration.fast,
|
|
10747
|
-
ease:
|
|
10747
|
+
ease: pr
|
|
10748
10748
|
}, wE = {
|
|
10749
10749
|
duration: Zl.duration.micro,
|
|
10750
10750
|
ease: "easeIn"
|
|
10751
10751
|
}, TE = {
|
|
10752
10752
|
duration: Zl.duration.fast,
|
|
10753
|
-
ease:
|
|
10753
|
+
ease: pr
|
|
10754
10754
|
}, EE = {
|
|
10755
10755
|
duration: Zl.duration.micro,
|
|
10756
10756
|
ease: "easeIn"
|
|
@@ -10827,7 +10827,7 @@ var yE = () => {
|
|
|
10827
10827
|
hideLabel: !0,
|
|
10828
10828
|
size: "sm",
|
|
10829
10829
|
variant: "neutral",
|
|
10830
|
-
icon:
|
|
10830
|
+
icon: Oo,
|
|
10831
10831
|
label: n.t("meeting.muteParticipant", { name: e.name }),
|
|
10832
10832
|
onClick: () => r?.muteParticipant?.(e)
|
|
10833
10833
|
})
|
|
@@ -10854,7 +10854,7 @@ var yE = () => {
|
|
|
10854
10854
|
!i && (a || o) ? /* @__PURE__ */ Q("span", {
|
|
10855
10855
|
className: B("absolute -bottom-0.5 -end-0.5 flex h-4 w-4 items-center justify-center rounded-full", "border border-solid border-f1-border-secondary bg-f1-background text-f1-foreground-secondary"),
|
|
10856
10856
|
children: /* @__PURE__ */ Q(U, {
|
|
10857
|
-
icon: a ?
|
|
10857
|
+
icon: a ? Ha : Uo,
|
|
10858
10858
|
size: "xs",
|
|
10859
10859
|
"aria-label": a ? n.meeting.sharingScreen : n.meeting.muted
|
|
10860
10860
|
})
|
|
@@ -10955,12 +10955,12 @@ var yE = () => {
|
|
|
10955
10955
|
children: e.participant.name
|
|
10956
10956
|
}),
|
|
10957
10957
|
Jx(e.participant) ? /* @__PURE__ */ Q(U, {
|
|
10958
|
-
icon:
|
|
10958
|
+
icon: Uo,
|
|
10959
10959
|
size: "sm",
|
|
10960
10960
|
color: "secondary"
|
|
10961
10961
|
}) : null,
|
|
10962
10962
|
Yx(e) ? null : /* @__PURE__ */ Q(U, {
|
|
10963
|
-
icon:
|
|
10963
|
+
icon: _s,
|
|
10964
10964
|
size: "sm",
|
|
10965
10965
|
color: "secondary"
|
|
10966
10966
|
})
|
|
@@ -11072,10 +11072,10 @@ var yE = () => {
|
|
|
11072
11072
|
className: B("flex shrink-0 items-center justify-center", n ? "h-4 w-[23px]" : "h-6 w-7"),
|
|
11073
11073
|
"data-testid": "meeting-tile-label-state",
|
|
11074
11074
|
children: o ? /* @__PURE__ */ Q(U, {
|
|
11075
|
-
icon:
|
|
11075
|
+
icon: Ha,
|
|
11076
11076
|
size: "sm"
|
|
11077
11077
|
}) : s ? /* @__PURE__ */ Q(U, {
|
|
11078
|
-
icon:
|
|
11078
|
+
icon: Uo,
|
|
11079
11079
|
size: "sm"
|
|
11080
11080
|
}) : /* @__PURE__ */ Q(ZE, {
|
|
11081
11081
|
participantId: i.id,
|
|
@@ -11092,7 +11092,7 @@ var yE = () => {
|
|
|
11092
11092
|
hideLabel: !0,
|
|
11093
11093
|
size: "sm",
|
|
11094
11094
|
variant: "neutral",
|
|
11095
|
-
icon:
|
|
11095
|
+
icon: Oo,
|
|
11096
11096
|
loading: r,
|
|
11097
11097
|
onClick: () => {
|
|
11098
11098
|
i(!0), t(), window.setTimeout(() => i(!1), aD);
|
|
@@ -11162,7 +11162,7 @@ var yE = () => {
|
|
|
11162
11162
|
hideLabel: !0,
|
|
11163
11163
|
size: "sm",
|
|
11164
11164
|
variant: "neutral",
|
|
11165
|
-
icon: l ?
|
|
11165
|
+
icon: l ? Ka : js,
|
|
11166
11166
|
onClick: u,
|
|
11167
11167
|
label: l ? s.meeting.exitFullscreen : s.meeting.enterFullscreen
|
|
11168
11168
|
}) }) : null,
|
|
@@ -11171,7 +11171,7 @@ var yE = () => {
|
|
|
11171
11171
|
size: "sm",
|
|
11172
11172
|
variant: "neutral",
|
|
11173
11173
|
onClick: () => a?.(e.key),
|
|
11174
|
-
icon: r ?
|
|
11174
|
+
icon: r ? zr : ni,
|
|
11175
11175
|
label: r ? s.meeting.unpinParticipant : s.meeting.pinParticipant
|
|
11176
11176
|
}) }) : null
|
|
11177
11177
|
]
|
|
@@ -11628,7 +11628,7 @@ var yE = () => {
|
|
|
11628
11628
|
}) : null,
|
|
11629
11629
|
/* @__PURE__ */ $("div", {
|
|
11630
11630
|
className: "flex shrink-0 items-center",
|
|
11631
|
-
children: [/* @__PURE__ */ Q(
|
|
11631
|
+
children: [/* @__PURE__ */ Q(ka, {
|
|
11632
11632
|
tabs: v,
|
|
11633
11633
|
activeTabId: g,
|
|
11634
11634
|
setActiveTabId: c
|
|
@@ -11639,7 +11639,7 @@ var yE = () => {
|
|
|
11639
11639
|
variant: "outline",
|
|
11640
11640
|
size: "md",
|
|
11641
11641
|
hideLabel: !0,
|
|
11642
|
-
icon:
|
|
11642
|
+
icon: Yo,
|
|
11643
11643
|
label: i.meeting.closePanel,
|
|
11644
11644
|
onClick: o
|
|
11645
11645
|
})
|
|
@@ -12625,7 +12625,7 @@ var yE = () => {
|
|
|
12625
12625
|
hideLabel: !0,
|
|
12626
12626
|
size: "sm",
|
|
12627
12627
|
variant: "ghost",
|
|
12628
|
-
icon:
|
|
12628
|
+
icon: Oo,
|
|
12629
12629
|
label: a.t("meeting.muteParticipant", { name: e.name }),
|
|
12630
12630
|
onClick: r
|
|
12631
12631
|
}) : null,
|
|
@@ -12634,7 +12634,7 @@ var yE = () => {
|
|
|
12634
12634
|
"aria-label": a.meeting.muted,
|
|
12635
12635
|
className: "text-f1-foreground-secondary",
|
|
12636
12636
|
children: /* @__PURE__ */ Q(U, {
|
|
12637
|
-
icon:
|
|
12637
|
+
icon: Uo,
|
|
12638
12638
|
size: "sm"
|
|
12639
12639
|
})
|
|
12640
12640
|
}) : null,
|
|
@@ -12840,7 +12840,7 @@ var yE = () => {
|
|
|
12840
12840
|
opacity: 1,
|
|
12841
12841
|
x: 0,
|
|
12842
12842
|
y: 0,
|
|
12843
|
-
transition: e.kind === "seam" ?
|
|
12843
|
+
transition: e.kind === "seam" ? eo : e.kind === "instant" || e.kind === "under" ? { duration: 0 } : CO
|
|
12844
12844
|
}),
|
|
12845
12845
|
leaving: (e) => {
|
|
12846
12846
|
let t = e.leave?.() ?? e;
|
|
@@ -12859,7 +12859,7 @@ var yE = () => {
|
|
|
12859
12859
|
};
|
|
12860
12860
|
case "panel": return {
|
|
12861
12861
|
opacity: 0,
|
|
12862
|
-
transition:
|
|
12862
|
+
transition: Ra
|
|
12863
12863
|
};
|
|
12864
12864
|
case "sheet":
|
|
12865
12865
|
case "fade": return {
|
|
@@ -12976,7 +12976,7 @@ var yE = () => {
|
|
|
12976
12976
|
},
|
|
12977
12977
|
children: /* @__PURE__ */ Q("div", {
|
|
12978
12978
|
className: "h-full w-full",
|
|
12979
|
-
children: /* @__PURE__ */ Q(
|
|
12979
|
+
children: /* @__PURE__ */ Q(is, {
|
|
12980
12980
|
content: e,
|
|
12981
12981
|
onClose: s,
|
|
12982
12982
|
entities: t,
|
|
@@ -12993,7 +12993,7 @@ var yE = () => {
|
|
|
12993
12993
|
...jO,
|
|
12994
12994
|
side: AO
|
|
12995
12995
|
}, NO = () => {
|
|
12996
|
-
let e = IS(), t = ob(), n =
|
|
12996
|
+
let e = IS(), t = ob(), n = ur(), { activeContent: r, present: i, clear: a, open: o, setOpen: s, layout: c, setLayout: l, contentSide: u, presentedWidth: d } = Ua(), { currentPath: f } = Wn(), { hasPrimarySidebar: p } = mu(), m = p ? AO : u, h = p ? MO : jO, g = t ? e?.mode : void 0, _ = t ? e?.effectiveMode : void 0, v = e?.setMode, y = e?.setPanelSlot, b = e?.setPanelSlotWidth, x = r?.id === kO, S = _ === "panel" || _ === "fullscreen", C = g === "panel" || g === "fullscreen";
|
|
12997
12997
|
K(function() {
|
|
12998
12998
|
if (y) return y(n ? m : null), () => y(null);
|
|
12999
12999
|
}, [
|
|
@@ -13067,7 +13067,7 @@ var yE = () => {
|
|
|
13067
13067
|
function IO({ children: e, sidebar: t, primarySidebar: n, secondarySidebar: r, topBar: i, banner: a, ai: o, sidePanel: s, meeting: c, composer: l, reserveComposerSpace: u, composerHidden: d, onNavigationPointerEnter: f }) {
|
|
13068
13068
|
let p = J(function() {
|
|
13069
13069
|
return [...o?.enabled ? [{
|
|
13070
|
-
...
|
|
13070
|
+
...Ko,
|
|
13071
13071
|
side: s?.side ?? "right"
|
|
13072
13072
|
}] : [], ...s?.views ?? []];
|
|
13073
13073
|
}, [
|
|
@@ -13108,7 +13108,7 @@ function IO({ children: e, sidebar: t, primarySidebar: n, secondarySidebar: r, t
|
|
|
13108
13108
|
});
|
|
13109
13109
|
}
|
|
13110
13110
|
function LO({ children: e, navigation: t, topBar: n, banner: r, ai: i, composer: a, reserveComposerSpace: o, composerHidden: s, onNavigationPointerEnter: c }) {
|
|
13111
|
-
let l = i?.enabled ?
|
|
13111
|
+
let l = i?.enabled ? Br : Hu;
|
|
13112
13112
|
return /* @__PURE__ */ Q(l, {
|
|
13113
13113
|
...i?.enabled ? i : void 0,
|
|
13114
13114
|
children: /* @__PURE__ */ Q(WO, {
|
|
@@ -13149,10 +13149,10 @@ function VO(e) {
|
|
|
13149
13149
|
}
|
|
13150
13150
|
var HO = 42, UO = (e) => e ? { inert: "" } : {};
|
|
13151
13151
|
function WO({ ai: e, children: t, navigation: n, topBar: r, banner: i, composer: a, reserveComposerSpace: o, composerHidden: s = !1, onNavigationPointerEnter: c }) {
|
|
13152
|
-
let { sidebarState: l, toggleSidebar: u, isSmallScreen: d, setForceFloat: f, floatsWhenForced: p, hasPrimarySidebar: m } = mu(), h = uu(), g = h?.primarySidebarWidth ?? 0, _ = Zn(), { hasAvailableView: v, open: y, layout: b, effectiveWidth: x, widthBounds: S, panelOverlays: C, setFrameWidth: w, resizable: T, side: E, activeContent: D, contentSide: O, restoringViewId: k, isResizing: A, width: j } =
|
|
13153
|
-
file:
|
|
13152
|
+
let { sidebarState: l, toggleSidebar: u, isSmallScreen: d, setForceFloat: f, floatsWhenForced: p, hasPrimarySidebar: m } = mu(), h = uu(), g = h?.primarySidebarWidth ?? 0, _ = Zn(), { hasAvailableView: v, open: y, layout: b, effectiveWidth: x, widthBounds: S, panelOverlays: C, setFrameWidth: w, resizable: T, side: E, activeContent: D, contentSide: O, restoringViewId: k, isResizing: A, width: j } = Ua(), M = ss(), { canvasContent: N, canvasEntities: P, dismissCanvas: F, isCanvasCovered: I } = ri(), [ee, te] = X(!1), ne = J(() => ({
|
|
13153
|
+
file: yo,
|
|
13154
13154
|
...P
|
|
13155
|
-
}), [P]), re = b === "fullscreen", ie = N !== null && !I, ae = T ? x : Math.min(
|
|
13155
|
+
}), [P]), re = b === "fullscreen", ie = N !== null && !I, ae = T ? x : Math.min(Bo, S.max), oe = N?.coversChat === !0 ? 0 : ae, se = E === "left", ce = O !== E, le = !!(D || k), ue = Y(le);
|
|
13156
13156
|
K(function() {
|
|
13157
13157
|
ue.current = le;
|
|
13158
13158
|
});
|
|
@@ -13174,7 +13174,7 @@ function WO({ ai: e, children: t, navigation: n, topBar: r, banner: i, composer:
|
|
|
13174
13174
|
K(function() {
|
|
13175
13175
|
we.current = xe, Te.current = Se;
|
|
13176
13176
|
});
|
|
13177
|
-
let Ee = or(`(max-width: ${$l.lg}px)`, { initializeWithValue: !0 }), De = Y(null), Oe = h ? h.hasSecondarySidebar ? h.secondarySidebarWidth : 0 : tu.panel, ke = g + (l === "locked" ? Oe : 0), { width: Ae } = ar(), je =
|
|
13177
|
+
let Ee = or(`(max-width: ${$l.lg}px)`, { initializeWithValue: !0 }), De = Y(null), Oe = h ? h.hasSecondarySidebar ? h.secondarySidebarWidth : 0 : tu.panel, ke = g + (l === "locked" ? Oe : 0), { width: Ae } = ar(), je = wa({
|
|
13178
13178
|
dockedLeft: be,
|
|
13179
13179
|
narrowForLeftPanel: Ee,
|
|
13180
13180
|
fit: M,
|
|
@@ -13207,17 +13207,17 @@ function WO({ ai: e, children: t, navigation: n, topBar: r, banner: i, composer:
|
|
|
13207
13207
|
Ne,
|
|
13208
13208
|
Le
|
|
13209
13209
|
]);
|
|
13210
|
-
let Be = A || Ie || !!h?.isInstant, Ve =
|
|
13210
|
+
let Be = A || Ie || !!h?.isInstant, Ve = Xa(Be, _), He = (e, t) => ma(Be, he && e && t, _), Ue = _ ? "instant" : C ? "sheet" : N?.coversChat === !0 ? "fade" : he ? "under" : "seam", We = _ ? "instant" : xe ? C ? "sheet" : re ? "under" : "seam" : y ? "instant" : "panel", Ge = y && re, Ke = Ce && !C, qe = {
|
|
13211
13211
|
left: Ke && be ? ae : 0,
|
|
13212
13212
|
right: Ke && !be ? ae : 0
|
|
13213
13213
|
}, Je = Y(qe);
|
|
13214
13214
|
Ge || (Je.current = qe);
|
|
13215
|
-
let Ye = Ge ? Je.current : qe, Xe = !(Be || he || L) && !_, Ze = Xe ?
|
|
13215
|
+
let Ye = Ge ? Je.current : qe, Xe = !(Be || he || L) && !_, Ze = Xe ? Ra : Ga, Qe = Ce && je;
|
|
13216
13216
|
return q(function() {
|
|
13217
13217
|
f(Qe);
|
|
13218
|
-
}, [Qe, f]), VO(Qe), /* @__PURE__ */ Q(
|
|
13218
|
+
}, [Qe, f]), VO(Qe), /* @__PURE__ */ Q(ei.Provider, {
|
|
13219
13219
|
value: !!e?.enabled,
|
|
13220
|
-
children: /* @__PURE__ */ Q(
|
|
13220
|
+
children: /* @__PURE__ */ Q(la.Provider, {
|
|
13221
13221
|
value: ee,
|
|
13222
13222
|
children: /* @__PURE__ */ Q(ln, {
|
|
13223
13223
|
reducedMotion: _ ? "always" : "never",
|
|
@@ -13272,7 +13272,7 @@ function WO({ ai: e, children: t, navigation: n, topBar: r, banner: i, composer:
|
|
|
13272
13272
|
children: [
|
|
13273
13273
|
r ? /* @__PURE__ */ Q("div", {
|
|
13274
13274
|
...UO(Re),
|
|
13275
|
-
className: B("relative z-10 flex shrink-0 items-center pb-0.5 pr-4 pt-2", Xe ? B("transition-[margin]",
|
|
13275
|
+
className: B("relative z-10 flex shrink-0 items-center pb-0.5 pr-4 pt-2", Xe ? B("transition-[margin]", Do) : "transition-none"),
|
|
13276
13276
|
style: { marginLeft: m ? g - ke : 0 },
|
|
13277
13277
|
children: r
|
|
13278
13278
|
}) : null,
|
|
@@ -13324,7 +13324,7 @@ function WO({ ai: e, children: t, navigation: n, topBar: r, banner: i, composer:
|
|
|
13324
13324
|
width: Pe,
|
|
13325
13325
|
left: e === "left" ? -ke : "auto"
|
|
13326
13326
|
} : {
|
|
13327
|
-
width:
|
|
13327
|
+
width: fs({
|
|
13328
13328
|
coversFrame: C,
|
|
13329
13329
|
isFullscreen: re,
|
|
13330
13330
|
isClosingFromFullscreen: L,
|
|
@@ -13336,7 +13336,7 @@ function WO({ ai: e, children: t, navigation: n, topBar: r, banner: i, composer:
|
|
|
13336
13336
|
transition: He(t, n),
|
|
13337
13337
|
children: r
|
|
13338
13338
|
}, `panel-${e}`);
|
|
13339
|
-
return /* @__PURE__ */ $(Z, { children: [e?.enabled ? t(E, !ce || !ye, we.current, /* @__PURE__ */ Q(
|
|
13339
|
+
return /* @__PURE__ */ $(Z, { children: [e?.enabled ? t(E, !ce || !ye, we.current, /* @__PURE__ */ Q(Ki, {})) : null, !e?.enabled || ce ? t(O, ye || !e?.enabled, Te.current, /* @__PURE__ */ Q(Uy, {})) : null] });
|
|
13340
13340
|
})() : null
|
|
13341
13341
|
]
|
|
13342
13342
|
})
|
|
@@ -13517,7 +13517,7 @@ var qO = ({ firstName: e, lastName: t, src: n, "aria-label": r, "aria-labelledby
|
|
|
13517
13517
|
label: s.actions.add,
|
|
13518
13518
|
variant: "neutral",
|
|
13519
13519
|
size: "sm",
|
|
13520
|
-
icon:
|
|
13520
|
+
icon: Gr,
|
|
13521
13521
|
onClick: (e) => {
|
|
13522
13522
|
e.preventDefault(), e.stopPropagation(), o();
|
|
13523
13523
|
},
|
|
@@ -13556,7 +13556,7 @@ function YO({ children: e, header: t, period: n, embedded: r = !1, hideOneSwitch
|
|
|
13556
13556
|
variant: "ghost",
|
|
13557
13557
|
onClick: () => o(),
|
|
13558
13558
|
label: "Open main menu",
|
|
13559
|
-
icon:
|
|
13559
|
+
icon: Za,
|
|
13560
13560
|
hideLabel: !0
|
|
13561
13561
|
}) : null,
|
|
13562
13562
|
/* @__PURE__ */ $("div", {
|
|
@@ -13584,7 +13584,7 @@ function YO({ children: e, header: t, period: n, embedded: r = !1, hideOneSwitch
|
|
|
13584
13584
|
})]
|
|
13585
13585
|
})
|
|
13586
13586
|
]
|
|
13587
|
-
}), /* @__PURE__ */ Q("div", { children: i ? null : /* @__PURE__ */ Q(
|
|
13587
|
+
}), /* @__PURE__ */ Q("div", { children: i ? null : /* @__PURE__ */ Q(io, {}) })]
|
|
13588
13588
|
}) : null,
|
|
13589
13589
|
/* @__PURE__ */ Q("div", {
|
|
13590
13590
|
className: B("isolate flex w-full flex-1 flex-col overflow-y-auto overflow-x-hidden [&>*]:flex-1", s && "-mt-3"),
|
|
@@ -13599,7 +13599,7 @@ var XO = bn(Tn("DaytimePage", YO)), ZO = Ku(({ className: e, items: t }, n) => /
|
|
|
13599
13599
|
className: e,
|
|
13600
13600
|
children: /* @__PURE__ */ $("div", {
|
|
13601
13601
|
className: "flex items-center",
|
|
13602
|
-
children: [/* @__PURE__ */ Q(
|
|
13602
|
+
children: [/* @__PURE__ */ Q(uo, {}), /* @__PURE__ */ Q(Io, {
|
|
13603
13603
|
items: t,
|
|
13604
13604
|
children: /* @__PURE__ */ Q("button", {
|
|
13605
13605
|
className: "rounded-sm px-1.5 py-0.5 font-medium text-f1-foreground no-underline transition-colors hover:bg-f1-background-secondary",
|
|
@@ -13691,26 +13691,26 @@ function ak({ breadcrumbs: e, append: t }) {
|
|
|
13691
13691
|
className: "invisible absolute -left-full",
|
|
13692
13692
|
"aria-hidden": "true",
|
|
13693
13693
|
ref: r,
|
|
13694
|
-
children: e.map((n, r) => /* @__PURE__ */ Q(
|
|
13694
|
+
children: e.map((n, r) => /* @__PURE__ */ Q(fr, {
|
|
13695
13695
|
item: n,
|
|
13696
13696
|
isLast: r === e.length - 1,
|
|
13697
13697
|
isFirst: r === 0,
|
|
13698
13698
|
children: r === e.length - 1 ? t : void 0
|
|
13699
13699
|
}, Ui(n)))
|
|
13700
|
-
}), a && a.headItem ? /* @__PURE__ */ $(
|
|
13701
|
-
/* @__PURE__ */ Q(
|
|
13700
|
+
}), a && a.headItem ? /* @__PURE__ */ $(Ji, { children: [
|
|
13701
|
+
/* @__PURE__ */ Q(fr, {
|
|
13702
13702
|
isOnly: a.isOnly,
|
|
13703
13703
|
isFirst: !0,
|
|
13704
13704
|
item: a.headItem,
|
|
13705
13705
|
isLast: !1
|
|
13706
13706
|
}, `first-item-${Ui(a.headItem)}`),
|
|
13707
|
-
s ? /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(ZO, { items: a.collapsedItems }, "collapsed-items"), a.tailItems.map((e, n) => /* @__PURE__ */ Q(
|
|
13707
|
+
s ? /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(ZO, { items: a.collapsedItems }, "collapsed-items"), a.tailItems.map((e, n) => /* @__PURE__ */ Q(fr, {
|
|
13708
13708
|
item: e,
|
|
13709
13709
|
isLast: n === a.tailItems.length - 1,
|
|
13710
13710
|
isFirst: !1,
|
|
13711
13711
|
children: n === a.tailItems.length - 1 ? t : void 0
|
|
13712
13712
|
}, Ui(e)))] }) : null,
|
|
13713
|
-
s ? null : /* @__PURE__ */ Q(Z, { children: a.tailItems.map((e, n) => /* @__PURE__ */ Q(
|
|
13713
|
+
s ? null : /* @__PURE__ */ Q(Z, { children: a.tailItems.map((e, n) => /* @__PURE__ */ Q(fr, {
|
|
13714
13714
|
item: e,
|
|
13715
13715
|
isLast: n === a.tailItems.length - 1,
|
|
13716
13716
|
isFirst: !1,
|
|
@@ -13806,7 +13806,7 @@ var uk = Ln.create(U), dk = {
|
|
|
13806
13806
|
}, "favorite") : /* @__PURE__ */ Q(uk, {
|
|
13807
13807
|
size: "sm",
|
|
13808
13808
|
whileTap: { scale: .8 },
|
|
13809
|
-
icon:
|
|
13809
|
+
icon: Fr,
|
|
13810
13810
|
className: "outline-none",
|
|
13811
13811
|
variants: dk,
|
|
13812
13812
|
initial: r ? "enterFromFavorite" : "initial",
|
|
@@ -13867,13 +13867,13 @@ var uk = Ln.create(U), dk = {
|
|
|
13867
13867
|
};
|
|
13868
13868
|
return /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(V, {
|
|
13869
13869
|
variant: "ghost",
|
|
13870
|
-
icon:
|
|
13870
|
+
icon: ga,
|
|
13871
13871
|
hideLabel: !0,
|
|
13872
13872
|
label: t,
|
|
13873
13873
|
pressed: p,
|
|
13874
13874
|
onClick: () => y(!0),
|
|
13875
13875
|
append: d && /* @__PURE__ */ Q(Tk, { className: "absolute -right-0.5 -top-[1px]" })
|
|
13876
|
-
}), /* @__PURE__ */ Q(
|
|
13876
|
+
}), /* @__PURE__ */ Q(_a, {
|
|
13877
13877
|
isOpen: p,
|
|
13878
13878
|
onClose: () => y(!1),
|
|
13879
13879
|
position: "center",
|
|
@@ -13959,7 +13959,7 @@ var uk = Ln.create(U), dk = {
|
|
|
13959
13959
|
}, vk = ({ content: e }) => /* @__PURE__ */ $("div", {
|
|
13960
13960
|
className: "flex flex-row items-center gap-2",
|
|
13961
13961
|
children: [/* @__PURE__ */ Q(U, {
|
|
13962
|
-
icon:
|
|
13962
|
+
icon: ga,
|
|
13963
13963
|
size: "sm",
|
|
13964
13964
|
className: "text-f1-icon-secondary"
|
|
13965
13965
|
}), /* @__PURE__ */ Q(g, {
|
|
@@ -13970,7 +13970,7 @@ var uk = Ln.create(U), dk = {
|
|
|
13970
13970
|
className: "mt-auto isolate border border-x-0 border-b-0 border-t border-solid border-f1-border-secondary py-3 pl-4 pr-7",
|
|
13971
13971
|
children: /* @__PURE__ */ Q(H, {
|
|
13972
13972
|
variant: "outline",
|
|
13973
|
-
icon:
|
|
13973
|
+
icon: ga,
|
|
13974
13974
|
label: e,
|
|
13975
13975
|
href: t,
|
|
13976
13976
|
onClick: n
|
|
@@ -14044,7 +14044,7 @@ var uk = Ln.create(U), dk = {
|
|
|
14044
14044
|
title: e,
|
|
14045
14045
|
description: r,
|
|
14046
14046
|
icon: /* @__PURE__ */ Q(U, {
|
|
14047
|
-
icon:
|
|
14047
|
+
icon: ga,
|
|
14048
14048
|
size: "lg",
|
|
14049
14049
|
className: "block"
|
|
14050
14050
|
}),
|
|
@@ -14110,7 +14110,7 @@ var uk = Ln.create(U), dk = {
|
|
|
14110
14110
|
className: "relative z-10 h-6 w-6",
|
|
14111
14111
|
children: /* @__PURE__ */ Q(H, {
|
|
14112
14112
|
variant: "ghost",
|
|
14113
|
-
icon:
|
|
14113
|
+
icon: Yo,
|
|
14114
14114
|
size: "sm",
|
|
14115
14115
|
hideLabel: !0,
|
|
14116
14116
|
onClick: () => {
|
|
@@ -14166,7 +14166,7 @@ function Dk({ module: e, statusTag: t = void 0, breadcrumbs: n = [], actions: r
|
|
|
14166
14166
|
hideLabel: !0,
|
|
14167
14167
|
onClick: () => f(),
|
|
14168
14168
|
label: "Open main menu",
|
|
14169
|
-
icon:
|
|
14169
|
+
icon: Za
|
|
14170
14170
|
})
|
|
14171
14171
|
})
|
|
14172
14172
|
}, "menu") : null }),
|
|
@@ -14210,7 +14210,7 @@ function Dk({ module: e, statusTag: t = void 0, breadcrumbs: n = [], actions: r
|
|
|
14210
14210
|
variant: t.variant
|
|
14211
14211
|
}) }) : null,
|
|
14212
14212
|
!i && _ && (h || y || b) ? /* @__PURE__ */ Q("div", { className: "h-4 w-px bg-f1-border-secondary" }) : null,
|
|
14213
|
-
h ? /* @__PURE__ */ Q(
|
|
14213
|
+
h ? /* @__PURE__ */ Q(go, { ...h }) : null,
|
|
14214
14214
|
h && y ? /* @__PURE__ */ Q("div", { className: "h-4 w-px bg-f1-border-secondary" }) : null,
|
|
14215
14215
|
b || y ? /* @__PURE__ */ $("div", {
|
|
14216
14216
|
className: "flex items-center gap-0",
|
|
@@ -14227,7 +14227,7 @@ function Dk({ module: e, statusTag: t = void 0, breadcrumbs: n = [], actions: r
|
|
|
14227
14227
|
}) : null,
|
|
14228
14228
|
/* @__PURE__ */ Q("div", {
|
|
14229
14229
|
className: "flex items-center gap-3",
|
|
14230
|
-
children: u ? null : /* @__PURE__ */ Q(
|
|
14230
|
+
children: u ? null : /* @__PURE__ */ Q(io, {
|
|
14231
14231
|
tooltip: c,
|
|
14232
14232
|
autoOpen: l
|
|
14233
14233
|
})
|
|
@@ -14238,7 +14238,7 @@ function Dk({ module: e, statusTag: t = void 0, breadcrumbs: n = [], actions: r
|
|
|
14238
14238
|
}
|
|
14239
14239
|
function Ok({ action: e }) {
|
|
14240
14240
|
let t = Y(null), [n, r] = X(!1), i = "ghost";
|
|
14241
|
-
return "actions" in e ? /* @__PURE__ */ Q(
|
|
14241
|
+
return "actions" in e ? /* @__PURE__ */ Q(Xi, {
|
|
14242
14242
|
items: e.actions,
|
|
14243
14243
|
open: n,
|
|
14244
14244
|
onOpenChange: r,
|
|
@@ -14291,13 +14291,13 @@ function Ak({ label: e, options: t, hasNewUpdate: n }) {
|
|
|
14291
14291
|
bottom: "calc(8px + env(safe-area-inset-bottom))",
|
|
14292
14292
|
right: "calc(8px + env(safe-area-inset-right))"
|
|
14293
14293
|
},
|
|
14294
|
-
children: /* @__PURE__ */ Q(
|
|
14294
|
+
children: /* @__PURE__ */ Q(Xi, {
|
|
14295
14295
|
items: kk(t),
|
|
14296
14296
|
children: /* @__PURE__ */ $("button", {
|
|
14297
14297
|
className: B("relative flex h-6 w-6 items-center justify-center rounded-full bg-f1-background-inverse text-f1-foreground-inverse shadow-md transition-all", En()),
|
|
14298
14298
|
"aria-label": e,
|
|
14299
14299
|
children: [/* @__PURE__ */ Q(U, {
|
|
14300
|
-
icon:
|
|
14300
|
+
icon: ta,
|
|
14301
14301
|
size: "sm"
|
|
14302
14302
|
}), n ? /* @__PURE__ */ Q("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]
|
|
14303
14303
|
})
|
|
@@ -14456,10 +14456,10 @@ var Yk = (e) => e.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu, ""),
|
|
|
14456
14456
|
children: r
|
|
14457
14457
|
})
|
|
14458
14458
|
}), nA = ({ title: e, isOpen: t = !0, isRoot: n, onCollapse: r, children: i, highlightWhenCollapsed: a, collapsedBadge: o, action: s, headerAccessory: c, isDragging: l, wasDragging: u }) => {
|
|
14459
|
-
let d =
|
|
14459
|
+
let d = qo() === "two-level", [f, p] = X(t), m = Zn(), h = a && !f;
|
|
14460
14460
|
return /* @__PURE__ */ Q("div", {
|
|
14461
14461
|
"data-sidebar-collapsible-open": f,
|
|
14462
|
-
children: /* @__PURE__ */ $(
|
|
14462
|
+
children: /* @__PURE__ */ $(Jo, {
|
|
14463
14463
|
open: f,
|
|
14464
14464
|
children: [/* @__PURE__ */ $("div", {
|
|
14465
14465
|
className: "group/section group relative flex items-center",
|
|
@@ -14502,7 +14502,7 @@ var Yk = (e) => e.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu, ""),
|
|
|
14502
14502
|
}
|
|
14503
14503
|
}) : null]
|
|
14504
14504
|
}) : null]
|
|
14505
|
-
}), /* @__PURE__ */ Q(
|
|
14505
|
+
}), /* @__PURE__ */ Q(ao, {
|
|
14506
14506
|
forceMount: !0,
|
|
14507
14507
|
className: "mt-0.5 flex flex-col gap-1",
|
|
14508
14508
|
children: /* @__PURE__ */ Q(tA, {
|
|
@@ -14739,7 +14739,7 @@ var Yk = (e) => e.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu, ""),
|
|
|
14739
14739
|
prop: r,
|
|
14740
14740
|
defaultProp: "",
|
|
14741
14741
|
onChange: i
|
|
14742
|
-
}), h = aA() === "scrolls-itself", g =
|
|
14742
|
+
}), h = aA() === "scrolls-itself", g = qo() === "classic", [_, v] = sr({ threshold: 1 }), [y, b] = sr({ threshold: 1 }), x = n !== void 0 && p.trim().length > 0, S = x ? void 0 : t, C = e.some((e) => e.items.length > 0), w = s && !C, T = e.map((e) => ({
|
|
14743
14743
|
...e,
|
|
14744
14744
|
items: x ? e.items.filter((e) => Zk(p, e.searchText ?? "")) : e.items.filter((e) => !e.hiddenUnlessSearching)
|
|
14745
14745
|
})).filter((e) => e.items.length > 0 || !x && C && e.keepWhenEmpty === !0), E = x ? a.filter((e) => e.items.length > 0 || (e.status ?? "idle") !== "idle") : [], D = !w && !C && !(x && a.length > 0) && l != null && typeof l != "boolean" && l !== "", O = w || T.length > 0 || D, k = x && (C || a.length > 0) && T.length === 0 && E.length === 0, A = /* @__PURE__ */ $(Z, { children: [
|
|
@@ -15072,7 +15072,7 @@ var EA = (e) => e.type === "sidebar-chat", DA = (e) => e.type === "sidebar-group
|
|
|
15072
15072
|
let { organize: i, groups: a, openDialog: o, announce: s } = n, c = [];
|
|
15073
15073
|
e.onTogglePin && c.push({
|
|
15074
15074
|
label: e.pinned ? r.chat.unpin : r.chat.pin,
|
|
15075
|
-
icon: e.pinned ?
|
|
15075
|
+
icon: e.pinned ? zr : ni,
|
|
15076
15076
|
onClick: e.onTogglePin
|
|
15077
15077
|
});
|
|
15078
15078
|
for (let t of i.chatMenuItems?.(e) ?? []) c.push(t);
|
|
@@ -15108,7 +15108,7 @@ var EA = (e) => e.type === "sidebar-chat", DA = (e) => e.type === "sidebar-group
|
|
|
15108
15108
|
let n = i.onRemoveChat;
|
|
15109
15109
|
c.push({ type: "separator" }, {
|
|
15110
15110
|
label: r.t("chat.organize.removeFrom", { section: u.title }),
|
|
15111
|
-
icon:
|
|
15111
|
+
icon: aa,
|
|
15112
15112
|
onClick: () => {
|
|
15113
15113
|
n({
|
|
15114
15114
|
chatId: e.id,
|
|
@@ -15148,7 +15148,7 @@ var EA = (e) => e.type === "sidebar-chat", DA = (e) => e.type === "sidebar-group
|
|
|
15148
15148
|
groupId: t,
|
|
15149
15149
|
context: i,
|
|
15150
15150
|
i18n: r
|
|
15151
|
-
}), p = f.length > 0, m = p ? /* @__PURE__ */ Q(
|
|
15151
|
+
}), p = f.length > 0, m = p ? /* @__PURE__ */ Q(Xi, {
|
|
15152
15152
|
items: f,
|
|
15153
15153
|
open: u,
|
|
15154
15154
|
onOpenChange: d,
|
|
@@ -15196,7 +15196,7 @@ var EA = (e) => e.type === "sidebar-chat", DA = (e) => e.type === "sidebar-group
|
|
|
15196
15196
|
disabled: l === null,
|
|
15197
15197
|
onClick: () => d(l)
|
|
15198
15198
|
}] : []];
|
|
15199
|
-
return /* @__PURE__ */ Q(
|
|
15199
|
+
return /* @__PURE__ */ Q(Xi, {
|
|
15200
15200
|
items: f,
|
|
15201
15201
|
open: o,
|
|
15202
15202
|
onOpenChange: s,
|
|
@@ -15220,7 +15220,7 @@ var EA = (e) => e.type === "sidebar-chat", DA = (e) => e.type === "sidebar-group
|
|
|
15220
15220
|
let r = R(), [i, a] = X(e.kind === "rename" ? e.group.title : ""), o = i.trim(), s = () => {
|
|
15221
15221
|
o && (n(o), t());
|
|
15222
15222
|
};
|
|
15223
|
-
return /* @__PURE__ */ Q(
|
|
15223
|
+
return /* @__PURE__ */ Q(_a, {
|
|
15224
15224
|
isOpen: !0,
|
|
15225
15225
|
onClose: t,
|
|
15226
15226
|
position: "center",
|
|
@@ -15239,7 +15239,7 @@ var EA = (e) => e.type === "sidebar-chat", DA = (e) => e.type === "sidebar-group
|
|
|
15239
15239
|
onSubmit: (e) => {
|
|
15240
15240
|
e.preventDefault(), s();
|
|
15241
15241
|
},
|
|
15242
|
-
children: /* @__PURE__ */ Q(
|
|
15242
|
+
children: /* @__PURE__ */ Q($o, {
|
|
15243
15243
|
label: r.chat.organize.nameLabel,
|
|
15244
15244
|
placeholder: r.chat.organize.namePlaceholder,
|
|
15245
15245
|
value: i,
|
|
@@ -15300,7 +15300,7 @@ var $A = bn(QA), ej = (e, t) => e.type === "emoji" ? {
|
|
|
15300
15300
|
avatar: e
|
|
15301
15301
|
} : t && !e.src ? {
|
|
15302
15302
|
kind: "icon",
|
|
15303
|
-
icon:
|
|
15303
|
+
icon: ga
|
|
15304
15304
|
} : {
|
|
15305
15305
|
kind: "avatar",
|
|
15306
15306
|
avatar: {
|
|
@@ -15435,7 +15435,7 @@ var $A = bn(QA), ej = (e, t) => e.type === "emoji" ? {
|
|
|
15435
15435
|
size: "sm",
|
|
15436
15436
|
hideLabel: !0,
|
|
15437
15437
|
label: e.pinned ? i.chat.unpin : i.chat.pin,
|
|
15438
|
-
icon: e.pinned ?
|
|
15438
|
+
icon: e.pinned ? zr : ni,
|
|
15439
15439
|
onClick: (t) => {
|
|
15440
15440
|
t.stopPropagation(), e.onTogglePin?.();
|
|
15441
15441
|
}
|
|
@@ -15757,7 +15757,7 @@ var $A = bn(QA), ej = (e, t) => e.type === "emoji" ? {
|
|
|
15757
15757
|
children: /* @__PURE__ */ Q("span", {
|
|
15758
15758
|
className: "flex size-7 items-center justify-center rounded-full bg-f1-background-inverse/60 text-f1-foreground-inverse",
|
|
15759
15759
|
children: /* @__PURE__ */ Q(Vs, {
|
|
15760
|
-
icon:
|
|
15760
|
+
icon: Ma,
|
|
15761
15761
|
size: "sm"
|
|
15762
15762
|
})
|
|
15763
15763
|
})
|
|
@@ -15787,21 +15787,21 @@ var $A = bn(QA), ej = (e, t) => e.type === "emoji" ? {
|
|
|
15787
15787
|
children: e.name
|
|
15788
15788
|
}), e.size === void 0 ? null : /* @__PURE__ */ Q("span", {
|
|
15789
15789
|
className: "text-xs text-f1-foreground-secondary",
|
|
15790
|
-
children:
|
|
15790
|
+
children: ja(e.size)
|
|
15791
15791
|
})]
|
|
15792
15792
|
})]
|
|
15793
15793
|
});
|
|
15794
15794
|
case "voice": return /* @__PURE__ */ $("span", {
|
|
15795
15795
|
className: "flex items-center gap-1.5 text-sm",
|
|
15796
15796
|
children: [/* @__PURE__ */ Q(Vs, {
|
|
15797
|
-
icon:
|
|
15797
|
+
icon: Oo,
|
|
15798
15798
|
size: "sm"
|
|
15799
15799
|
}), e.durationSeconds === void 0 ? t.chat.voiceNote : `${t.chat.voiceNote} · ${Dj(e.durationSeconds)}`]
|
|
15800
15800
|
});
|
|
15801
15801
|
case "location": return /* @__PURE__ */ $("span", {
|
|
15802
15802
|
className: "flex min-w-0 items-center gap-1.5 text-sm",
|
|
15803
15803
|
children: [/* @__PURE__ */ Q(Vs, {
|
|
15804
|
-
icon:
|
|
15804
|
+
icon: ca,
|
|
15805
15805
|
size: "sm"
|
|
15806
15806
|
}), /* @__PURE__ */ Q("span", {
|
|
15807
15807
|
className: "truncate",
|
|
@@ -16550,7 +16550,7 @@ var iM = ({ companies: e, selected: t, onChange: n, children: r, additionalOptio
|
|
|
16550
16550
|
a,
|
|
16551
16551
|
n,
|
|
16552
16552
|
t.id
|
|
16553
|
-
]), d = /* @__PURE__ */ Q(
|
|
16553
|
+
]), d = /* @__PURE__ */ Q(Xi, {
|
|
16554
16554
|
items: u,
|
|
16555
16555
|
label: a.navigation.sidebar.companySelector.label,
|
|
16556
16556
|
side: "right",
|
|
@@ -16629,7 +16629,7 @@ var iM = ({ companies: e, selected: t, onChange: n, children: r, additionalOptio
|
|
|
16629
16629
|
src: e?.logo,
|
|
16630
16630
|
size: n,
|
|
16631
16631
|
badge: t ? {
|
|
16632
|
-
icon:
|
|
16632
|
+
icon: us,
|
|
16633
16633
|
type: "highlight"
|
|
16634
16634
|
} : void 0
|
|
16635
16635
|
}), sM = ({ company: e, withNotification: t = !1 }) => /* @__PURE__ */ $("div", {
|
|
@@ -16657,7 +16657,7 @@ function cM({ user: e, profile: t, options: n, onDropdownClick: r, compact: i =
|
|
|
16657
16657
|
}] : [], ...n], d = /* @__PURE__ */ Q(W, {
|
|
16658
16658
|
minWidth: "0",
|
|
16659
16659
|
onPointerMove: _u,
|
|
16660
|
-
children: /* @__PURE__ */ Q(
|
|
16660
|
+
children: /* @__PURE__ */ Q(Io, {
|
|
16661
16661
|
items: u,
|
|
16662
16662
|
side: i ? "right" : void 0,
|
|
16663
16663
|
align: i ? "end" : "start",
|
|
@@ -16728,7 +16728,7 @@ function lM({ user: e, options: t, showActivityButton: n = !1, activityButtonSho
|
|
|
16728
16728
|
children: /* @__PURE__ */ $("div", {
|
|
16729
16729
|
className: "relative",
|
|
16730
16730
|
children: [/* @__PURE__ */ Q(H, {
|
|
16731
|
-
icon:
|
|
16731
|
+
icon: Fi,
|
|
16732
16732
|
label: c.notifications,
|
|
16733
16733
|
onClick: i,
|
|
16734
16734
|
variant: "ghost",
|
|
@@ -16738,7 +16738,7 @@ function lM({ user: e, options: t, showActivityButton: n = !1, activityButtonSho
|
|
|
16738
16738
|
children: /* @__PURE__ */ Q(Zs, {
|
|
16739
16739
|
type: "highlight",
|
|
16740
16740
|
size: "sm",
|
|
16741
|
-
icon:
|
|
16741
|
+
icon: us
|
|
16742
16742
|
})
|
|
16743
16743
|
}) : null]
|
|
16744
16744
|
})
|
|
@@ -16747,7 +16747,7 @@ function lM({ user: e, options: t, showActivityButton: n = !1, activityButtonSho
|
|
|
16747
16747
|
});
|
|
16748
16748
|
}
|
|
16749
16749
|
function uM({ action: e }) {
|
|
16750
|
-
return e.items ? /* @__PURE__ */ Q(
|
|
16750
|
+
return e.items ? /* @__PURE__ */ Q(Xi, {
|
|
16751
16751
|
modal: !1,
|
|
16752
16752
|
items: e.items,
|
|
16753
16753
|
open: e.open,
|
|
@@ -16811,7 +16811,7 @@ function mM() {
|
|
|
16811
16811
|
//#endregion
|
|
16812
16812
|
//#region src/blocks/Navigation/Sidebar/Menu/Menu.tsx
|
|
16813
16813
|
var hM = ({ item: e, active: t }) => {
|
|
16814
|
-
let n =
|
|
16814
|
+
let n = qo() === "two-level";
|
|
16815
16815
|
return /* @__PURE__ */ $("div", {
|
|
16816
16816
|
className: "flex w-full items-center justify-between",
|
|
16817
16817
|
children: [/* @__PURE__ */ $("div", {
|
|
@@ -16837,11 +16837,11 @@ var hM = ({ item: e, active: t }) => {
|
|
|
16837
16837
|
onClick: () => e.onChange(!e.pinned),
|
|
16838
16838
|
className: B("mr-1 flex size-6 shrink-0 cursor-pointer items-center justify-center rounded text-f1-icon", "hover:bg-f1-background-tertiary hover:text-f1-icon-bold", En(), !e.pinned && "opacity-0 focus-visible:opacity-100 group-hover/item:opacity-100"),
|
|
16839
16839
|
children: /* @__PURE__ */ Q(U, {
|
|
16840
|
-
icon: e.pinned ?
|
|
16840
|
+
icon: e.pinned ? zr : ni,
|
|
16841
16841
|
size: "sm"
|
|
16842
16842
|
})
|
|
16843
16843
|
}), _M = ({ item: e }) => {
|
|
16844
|
-
let t =
|
|
16844
|
+
let t = qo() === "two-level", { isActive: n } = Fn(), { label: r, icon: i, pin: a, ...o } = e, s = n(o.href, { exact: o.exactMatch }), c = /* @__PURE__ */ Q(Un, {
|
|
16845
16845
|
...o,
|
|
16846
16846
|
className: B("flex cursor-pointer items-center rounded py-1.5 pl-1.5 pr-2 no-underline", a && "min-w-0 flex-1", !t && "transition-colors", En("focus-visible:ring-inset"), s && "text-f1-foreground", !a && (s ? "bg-f1-background-secondary" : "hover:bg-f1-background-secondary")),
|
|
16847
16847
|
children: /* @__PURE__ */ Q(hM, {
|
|
@@ -16854,20 +16854,20 @@ var hM = ({ item: e, active: t }) => {
|
|
|
16854
16854
|
children: [c, /* @__PURE__ */ Q(gM, { pin: a })]
|
|
16855
16855
|
}) : c;
|
|
16856
16856
|
}, vM = ({ item: e, tooltip: t, onRemove: n, index: r, total: i, onMove: a, onReorderFinish: o, isSortable: s = !0 }) => {
|
|
16857
|
-
let c =
|
|
16857
|
+
let c = qo() === "two-level", l = R(), { isDragging: u, setIsDragging: d, draggedItemId: f, setDraggedItemId: p } = mM(), { isActive: m } = Fn(), h = m(e.href, { exact: e.exactMatch }), g = Y(!1), [_, v] = X(!1), y = r === 0, b = r === i - 1, x = i === 1, S = J(function() {
|
|
16858
16858
|
let t = [];
|
|
16859
16859
|
return !x && !y && t.push({
|
|
16860
16860
|
label: l.actions.moveUp,
|
|
16861
16861
|
onClick: () => a?.(r, r - 1),
|
|
16862
|
-
icon:
|
|
16862
|
+
icon: Pa
|
|
16863
16863
|
}), !x && !b && t.push({
|
|
16864
16864
|
label: l.actions.moveDown,
|
|
16865
16865
|
onClick: () => a?.(r, r + 1),
|
|
16866
|
-
icon:
|
|
16866
|
+
icon: xo
|
|
16867
16867
|
}), t.length > 0 && t.push({ type: "separator" }), t.push({
|
|
16868
16868
|
label: l.favorites.remove,
|
|
16869
16869
|
onClick: () => n?.(e),
|
|
16870
|
-
icon:
|
|
16870
|
+
icon: Po,
|
|
16871
16871
|
critical: !0
|
|
16872
16872
|
}), t;
|
|
16873
16873
|
}, [
|
|
@@ -16921,7 +16921,7 @@ var hM = ({ item: e, active: t }) => {
|
|
|
16921
16921
|
})
|
|
16922
16922
|
}), /* @__PURE__ */ Q("div", {
|
|
16923
16923
|
className: B("absolute inset-y-1 right-1 z-10 flex h-6 w-6 items-center justify-center rounded-sm opacity-0 transition-opacity duration-100 hover:bg-f1-background-secondary group-hover:opacity-100", _ && "bg-f1-background-secondary opacity-100", T && "opacity-100"),
|
|
16924
|
-
children: /* @__PURE__ */ Q(
|
|
16924
|
+
children: /* @__PURE__ */ Q(Xi, {
|
|
16925
16925
|
open: _,
|
|
16926
16926
|
onOpenChange: v,
|
|
16927
16927
|
items: S,
|
|
@@ -16957,7 +16957,7 @@ var hM = ({ item: e, active: t }) => {
|
|
|
16957
16957
|
children: D
|
|
16958
16958
|
});
|
|
16959
16959
|
}, yM = ({ category: e, isSortable: t = !1, onCollapse: n, onDragEnd: r, currentOrder: i }) => {
|
|
16960
|
-
let a =
|
|
16960
|
+
let a = qo() === "two-level", { isDragging: o, setIsDragging: s } = mM(), c = Y(!1), l = fn(), u = () => {
|
|
16961
16961
|
s(!0), c.current = !0;
|
|
16962
16962
|
}, d = () => {
|
|
16963
16963
|
s(!1), setTimeout(() => {
|
|
@@ -17482,7 +17482,7 @@ var IM = 350, LM = (e = !0) => {
|
|
|
17482
17482
|
});
|
|
17483
17483
|
return /* @__PURE__ */ Q("div", {
|
|
17484
17484
|
className: B("group relative flex w-full items-center justify-center", n),
|
|
17485
|
-
children: e.options ? /* @__PURE__ */ Q(
|
|
17485
|
+
children: e.options ? /* @__PURE__ */ Q(Xi, {
|
|
17486
17486
|
items: e.options,
|
|
17487
17487
|
side: "right",
|
|
17488
17488
|
align: "end",
|
|
@@ -18195,7 +18195,7 @@ var _N = bn(gN), vN = ({ isActive: e }) => /* @__PURE__ */ Q("div", {
|
|
|
18195
18195
|
"aria-hidden": "true",
|
|
18196
18196
|
className: "flex text-f1-icon [&_circle]:![stroke-width:1.68px] [&_path]:![stroke-width:1.68px] [&_rect]:![stroke-width:1.68px]",
|
|
18197
18197
|
children: /* @__PURE__ */ Q(U, {
|
|
18198
|
-
icon:
|
|
18198
|
+
icon: So,
|
|
18199
18199
|
size: "md"
|
|
18200
18200
|
})
|
|
18201
18201
|
}), ON = (e, t, n) => e.isCompleted ? null : e.status ? {
|
|
@@ -18534,7 +18534,7 @@ var _N = bn(gN), vN = ({ isActive: e }) => /* @__PURE__ */ Q("div", {
|
|
|
18534
18534
|
variant: "outline",
|
|
18535
18535
|
size: n,
|
|
18536
18536
|
hideLabel: !0,
|
|
18537
|
-
icon: e === "approve" ? bl :
|
|
18537
|
+
icon: e === "approve" ? bl : Yo,
|
|
18538
18538
|
label: t.label,
|
|
18539
18539
|
tooltip: t.tooltip ?? i(`actions.${e}`),
|
|
18540
18540
|
loading: a === e,
|
|
@@ -18695,12 +18695,12 @@ var _N = bn(gN), vN = ({ isActive: e }) => /* @__PURE__ */ Q("div", {
|
|
|
18695
18695
|
size: "sm"
|
|
18696
18696
|
},
|
|
18697
18697
|
rejected: {
|
|
18698
|
-
icon:
|
|
18698
|
+
icon: Yo,
|
|
18699
18699
|
type: "critical",
|
|
18700
18700
|
size: "sm"
|
|
18701
18701
|
}
|
|
18702
18702
|
}, kP = {
|
|
18703
|
-
icon:
|
|
18703
|
+
icon: ta,
|
|
18704
18704
|
type: "neutral",
|
|
18705
18705
|
size: "sm"
|
|
18706
18706
|
}, AP = {
|
|
@@ -18786,7 +18786,7 @@ var NP = ({ title: e, approvalsRequired: t = 1, status: n, approvers: r, approva
|
|
|
18786
18786
|
});
|
|
18787
18787
|
})), FP = (e, t) => typeof t == "string" && t in e;
|
|
18788
18788
|
function IP(e, t, n) {
|
|
18789
|
-
let r = {}, i = !1, a =
|
|
18789
|
+
let r = {}, i = !1, a = Ci(e);
|
|
18790
18790
|
if (a !== void 0 && t.filters) {
|
|
18791
18791
|
let e = t.filters, o = Object.fromEntries(Object.entries(a).filter(([t]) => FP(e, t)));
|
|
18792
18792
|
(Object.keys(o).length > 0 || Object.keys(a).length === 0) && (n.setCurrentFilters(o), r.filters = o, i = !0);
|
|
@@ -18814,7 +18814,7 @@ function IP(e, t, n) {
|
|
|
18814
18814
|
//#endregion
|
|
18815
18815
|
//#region src/addons/data-collection/OneDataCollection/hooks/useDataCollectionItemNavigation/useDataCollectionItemNavigation.ts
|
|
18816
18816
|
function LP(e) {
|
|
18817
|
-
let { source: t, collectionId: r, activeItemId: i, defaultActiveItemId: a, onActiveItemChange: o, idProvider: s, itemUrl: c, getItemTitle: l, enabled: u = !0, restorePersistedState: d = !0, currentFilters: f, navigationMode: p = "url", deps: m = [] } = e, h =
|
|
18817
|
+
let { source: t, collectionId: r, activeItemId: i, defaultActiveItemId: a, onActiveItemChange: o, idProvider: s, itemUrl: c, getItemTitle: l, enabled: u = !0, restorePersistedState: d = !0, currentFilters: f, navigationMode: p = "url", deps: m = [] } = e, h = ai(), g = _e(t, m), [_, v] = X(null), y = _?.key === r && _.settled, b = Y(g);
|
|
18818
18818
|
b.current = g;
|
|
18819
18819
|
let x = Y(h);
|
|
18820
18820
|
x.current = h;
|
|
@@ -18870,7 +18870,7 @@ function LP(e) {
|
|
|
18870
18870
|
}, t);
|
|
18871
18871
|
} catch {}
|
|
18872
18872
|
};
|
|
18873
|
-
return
|
|
18873
|
+
return Mr(r, () => {
|
|
18874
18874
|
e();
|
|
18875
18875
|
});
|
|
18876
18876
|
}, [
|
|
@@ -19096,7 +19096,7 @@ var RP = (e) => e, zP = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
19096
19096
|
src: e.avatar.src,
|
|
19097
19097
|
size: a ? "sm" : "xs"
|
|
19098
19098
|
}) : /* @__PURE__ */ Q(U, {
|
|
19099
|
-
icon: e.icon ??
|
|
19099
|
+
icon: e.icon ?? bs,
|
|
19100
19100
|
size: d
|
|
19101
19101
|
})
|
|
19102
19102
|
}), /* @__PURE__ */ $("span", {
|
|
@@ -19400,7 +19400,7 @@ var RP = (e) => e, zP = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
19400
19400
|
label: t.label,
|
|
19401
19401
|
hint: t.description,
|
|
19402
19402
|
avatar: t.avatar,
|
|
19403
|
-
icon: t.icon ??
|
|
19403
|
+
icon: t.icon ?? bs,
|
|
19404
19404
|
color: t.color,
|
|
19405
19405
|
keywords: t.keywords,
|
|
19406
19406
|
rowActions: t.rowActions,
|
|
@@ -19420,7 +19420,7 @@ var RP = (e) => e, zP = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
19420
19420
|
key: "copy",
|
|
19421
19421
|
label: p.rowActions.copyLinkTo(e.label),
|
|
19422
19422
|
tip: p.rowActions.copyLink,
|
|
19423
|
-
icon:
|
|
19423
|
+
icon: xr,
|
|
19424
19424
|
run: () => f(r)
|
|
19425
19425
|
}] : []];
|
|
19426
19426
|
return {
|
|
@@ -19428,7 +19428,7 @@ var RP = (e) => e, zP = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
19428
19428
|
group: t,
|
|
19429
19429
|
label: e.label,
|
|
19430
19430
|
hint: e.kind === "one" ? e.sublabel : void 0,
|
|
19431
|
-
icon: e.icon ??
|
|
19431
|
+
icon: e.icon ?? bs,
|
|
19432
19432
|
color: e.color,
|
|
19433
19433
|
avatar: e.kind === "one" ? e.avatar : void 0,
|
|
19434
19434
|
scopeRef: n ? e : void 0,
|
|
@@ -19535,7 +19535,7 @@ var RP = (e) => e, zP = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
19535
19535
|
group: e.label,
|
|
19536
19536
|
label: t.label,
|
|
19537
19537
|
hint: t.sublabel,
|
|
19538
|
-
icon: t.icon ?? (r.has(t.value) ?
|
|
19538
|
+
icon: t.icon ?? (r.has(t.value) ? qa : void 0),
|
|
19539
19539
|
color: t.color,
|
|
19540
19540
|
avatar: t.avatar,
|
|
19541
19541
|
run: () => {
|
|
@@ -19577,7 +19577,7 @@ var RP = (e) => e, zP = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
19577
19577
|
...e,
|
|
19578
19578
|
id: `recent-${e.id}`,
|
|
19579
19579
|
group: p.groups.recent,
|
|
19580
|
-
icon:
|
|
19580
|
+
icon: So,
|
|
19581
19581
|
color: void 0,
|
|
19582
19582
|
hint: void 0
|
|
19583
19583
|
})), ...r.flatMap((e) => e.provider ? [] : (b.find((t) => t.label === e.label)?.rows ?? []).slice(0, e.openLimit ?? Infinity))];
|
|
@@ -19931,10 +19931,10 @@ var IF = ({ open: e, onOpenChange: t, initialScope: n, groups: r, recent: i, max
|
|
|
19931
19931
|
ye(t), ce(t);
|
|
19932
19932
|
} else e.key.length === 1 && !e.metaKey && !e.ctrlKey && !e.altKey && (r(), se(), D(g + e.key));
|
|
19933
19933
|
}, Ie = (e) => e && e.kind === "one" && e.sublabel ? `${e.label} · ${e.sublabel}` : e?.label ?? "", Le = Ie(S ?? void 0), Re = S ? void 0 : h ? d.placeholderPhone : d.placeholder, ze = C.kind === "param" ? (C.action.params ?? [])[C.step]?.label ?? d.placeholderScoped : S ? d.fieldLabelScoped(Le) : d.placeholder, Be = v.flatMap((e, t) => [e.trim(), b[t]?.label ?? ""]).filter(Boolean).join(" "), Ve = S ? g.trim() ? Be : b.map((e) => e.label).join(" ") : g.trim();
|
|
19934
|
-
return /* @__PURE__ */ Q(
|
|
19934
|
+
return /* @__PURE__ */ Q(Qi, {
|
|
19935
19935
|
open: e,
|
|
19936
19936
|
onOpenChange: t,
|
|
19937
|
-
children: /* @__PURE__ */ $(
|
|
19937
|
+
children: /* @__PURE__ */ $(ti, {
|
|
19938
19938
|
"aria-label": d.label,
|
|
19939
19939
|
"aria-describedby": void 0,
|
|
19940
19940
|
withTranslateAnimation: !1,
|
|
@@ -19953,7 +19953,7 @@ var IF = ({ open: e, onOpenChange: t, initialScope: n, groups: r, recent: i, max
|
|
|
19953
19953
|
Me(e, xe);
|
|
19954
19954
|
},
|
|
19955
19955
|
children: [
|
|
19956
|
-
/* @__PURE__ */ Q(
|
|
19956
|
+
/* @__PURE__ */ Q(Lr, {
|
|
19957
19957
|
className: "sr-only",
|
|
19958
19958
|
children: d.label
|
|
19959
19959
|
}),
|
|
@@ -20247,7 +20247,7 @@ var IF = ({ open: e, onOpenChange: t, initialScope: n, groups: r, recent: i, max
|
|
|
20247
20247
|
}).join("\n"), TI = (e, t) => e.type === "paragraph" ? e.children.map((e) => SI(e, t)).join("") : wI(e, t), EI = (e, t) => e.map((e, n) => {
|
|
20248
20248
|
let r = TI(e, t);
|
|
20249
20249
|
return n === 0 ? r : e.type === "paragraph" ? `\n\n${r}` : `\n${r}`;
|
|
20250
|
-
}).join(""), DI = (e, { linkUrls: t = !1 } = {}) => EI(
|
|
20250
|
+
}).join(""), DI = (e, { linkUrls: t = !1 } = {}) => EI(Xr(e).blocks, t), OI = "p, div, li, h1, h2, h3, h4, h5, h6, blockquote, pre, tr", kI = "style, script, template, noscript, title, head", AI = "form, input, button, select, textarea", jI = 500, MI = /* @__PURE__ */ new WeakMap(), NI = /* @__PURE__ */ new Map(), PI = (e) => new DOMParser().parseFromString(e, "text/html").body, FI = (e) => (e ?? "").replace(/ /g, " ").trim().length === 0, II = (e, t) => {
|
|
20251
20251
|
e.querySelectorAll(t).forEach((e) => e.remove());
|
|
20252
20252
|
}, LI = (e) => {
|
|
20253
20253
|
let t = MI.get(e);
|
|
@@ -20570,9 +20570,9 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20570
20570
|
scheduled: c.length,
|
|
20571
20571
|
draft: l.length
|
|
20572
20572
|
}, f = {
|
|
20573
|
-
pinned:
|
|
20574
|
-
scheduled:
|
|
20575
|
-
draft:
|
|
20573
|
+
pinned: zr,
|
|
20574
|
+
scheduled: So,
|
|
20575
|
+
draft: qi
|
|
20576
20576
|
}, p = {
|
|
20577
20577
|
pinned: e.t("chat.community.pinnedPosts"),
|
|
20578
20578
|
scheduled: e.t("chat.community.scheduledPosts"),
|
|
@@ -20651,7 +20651,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20651
20651
|
}
|
|
20652
20652
|
}, ...i ? [{
|
|
20653
20653
|
label: n.t("chat.community.unpinPost"),
|
|
20654
|
-
icon:
|
|
20654
|
+
icon: zr,
|
|
20655
20655
|
onClick: () => void i(e.id)
|
|
20656
20656
|
}] : []]
|
|
20657
20657
|
}, e.id))
|
|
@@ -20670,11 +20670,11 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20670
20670
|
meta: /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ $("span", {
|
|
20671
20671
|
className: "flex items-center gap-1.5 text-f1-foreground-secondary",
|
|
20672
20672
|
children: [/* @__PURE__ */ Q(U, {
|
|
20673
|
-
icon:
|
|
20673
|
+
icon: So,
|
|
20674
20674
|
size: "sm"
|
|
20675
20675
|
}), wL(e.scheduledFor, r)]
|
|
20676
20676
|
}), e.event ? /* @__PURE__ */ Q(Zc, {
|
|
20677
|
-
icon:
|
|
20677
|
+
icon: Ns,
|
|
20678
20678
|
text: n.t("chat.community.scheduledEvent")
|
|
20679
20679
|
}) : null] }),
|
|
20680
20680
|
onClick: a ? () => {
|
|
@@ -20704,7 +20704,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20704
20704
|
meta: /* @__PURE__ */ $("span", {
|
|
20705
20705
|
className: "flex items-center gap-1.5 text-f1-foreground-secondary",
|
|
20706
20706
|
children: [/* @__PURE__ */ Q(U, {
|
|
20707
|
-
icon:
|
|
20707
|
+
icon: qi,
|
|
20708
20708
|
size: "sm"
|
|
20709
20709
|
}), n.t("chat.community.draftSavedAt", { when: wL(e.savedAt, r) })]
|
|
20710
20710
|
}),
|
|
@@ -20747,7 +20747,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20747
20747
|
})
|
|
20748
20748
|
}), o.length > 0 ? /* @__PURE__ */ Q("div", {
|
|
20749
20749
|
className: "shrink-0",
|
|
20750
|
-
children: /* @__PURE__ */ Q(
|
|
20750
|
+
children: /* @__PURE__ */ Q(Xi, {
|
|
20751
20751
|
items: o,
|
|
20752
20752
|
icon: Sl,
|
|
20753
20753
|
size: "sm"
|
|
@@ -20838,7 +20838,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20838
20838
|
]);
|
|
20839
20839
|
return /* @__PURE__ */ Q(AL.Provider, {
|
|
20840
20840
|
value: s,
|
|
20841
|
-
children: /* @__PURE__ */ Q(
|
|
20841
|
+
children: /* @__PURE__ */ Q(oi, {
|
|
20842
20842
|
reducedMotion: t,
|
|
20843
20843
|
htmlSandbox: a,
|
|
20844
20844
|
htmlExecution: o,
|
|
@@ -20907,7 +20907,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20907
20907
|
variant: "ghost",
|
|
20908
20908
|
hideLabel: !0,
|
|
20909
20909
|
label: e.chat.closeSearch,
|
|
20910
|
-
icon:
|
|
20910
|
+
icon: Yo,
|
|
20911
20911
|
onClick: u
|
|
20912
20912
|
})]
|
|
20913
20913
|
})
|
|
@@ -20946,7 +20946,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20946
20946
|
}), /* @__PURE__ */ Q(yl, {
|
|
20947
20947
|
align: "start",
|
|
20948
20948
|
className: "w-72 border-none bg-f1-background p-0 text-f1-foreground shadow-none",
|
|
20949
|
-
children: /* @__PURE__ */ Q(
|
|
20949
|
+
children: /* @__PURE__ */ Q(Si, {
|
|
20950
20950
|
name: e.name,
|
|
20951
20951
|
avatar: e.avatar,
|
|
20952
20952
|
subtitle: e.subtitle,
|
|
@@ -20975,8 +20975,8 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20975
20975
|
});
|
|
20976
20976
|
}, [t, e]), null;
|
|
20977
20977
|
}, GL = ({ channel: e, isFullscreen: t, onToggleFullscreen: n, onClose: r, actions: i, content: a, tabs: o }) => {
|
|
20978
|
-
let s = R(), { searchOpen: c, openSearch: l } = gL(), { panelOverlays: u } =
|
|
20979
|
-
icon:
|
|
20978
|
+
let s = R(), { searchOpen: c, openSearch: l } = gL(), { panelOverlays: u } = Ua(), { surface: d } = ML(), f = d === "page", p = QI().tabs.length > 0, { sidebarState: m, toggleSidebar: h, hasPrimarySidebar: g } = mu(), _ = f && !g && m !== "locked", v = e.type === "dm" && e.presence !== void 0, y = e.type === "group" ? e.visibility === "global" ? {
|
|
20979
|
+
icon: jr,
|
|
20980
20980
|
label: s.chat.visibility.global,
|
|
20981
20981
|
hint: s.chat.visibility.globalHint
|
|
20982
20982
|
} : e.visibility === "private" ? {
|
|
@@ -21065,7 +21065,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
21065
21065
|
variant: "ghost",
|
|
21066
21066
|
hideLabel: !0,
|
|
21067
21067
|
label: s.navigation.sidebar.label,
|
|
21068
|
-
icon:
|
|
21068
|
+
icon: Za,
|
|
21069
21069
|
onClick: () => h()
|
|
21070
21070
|
}) : null,
|
|
21071
21071
|
e.user ? /* @__PURE__ */ Q(VL, {
|
|
@@ -21094,7 +21094,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
21094
21094
|
label: t.label,
|
|
21095
21095
|
tooltip: t.label
|
|
21096
21096
|
}, t.id)),
|
|
21097
|
-
E.length > 0 ? /* @__PURE__ */ Q(
|
|
21097
|
+
E.length > 0 ? /* @__PURE__ */ Q(Xi, {
|
|
21098
21098
|
items: E,
|
|
21099
21099
|
align: "end",
|
|
21100
21100
|
label: s.chat.options,
|
|
@@ -21109,14 +21109,14 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
21109
21109
|
variant: "ghost",
|
|
21110
21110
|
hideLabel: !0,
|
|
21111
21111
|
label: t ? s.actions.collapse : s.actions.expand,
|
|
21112
|
-
icon: t ?
|
|
21112
|
+
icon: t ? Ka : js,
|
|
21113
21113
|
onClick: n
|
|
21114
21114
|
}) : null,
|
|
21115
21115
|
r ? /* @__PURE__ */ Q(V, {
|
|
21116
21116
|
variant: "ghost",
|
|
21117
21117
|
hideLabel: !0,
|
|
21118
21118
|
label: s.actions.close,
|
|
21119
|
-
icon:
|
|
21119
|
+
icon: Yo,
|
|
21120
21120
|
onClick: r
|
|
21121
21121
|
}) : null,
|
|
21122
21122
|
a ? /* @__PURE__ */ Q("div", {
|
|
@@ -21139,7 +21139,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
21139
21139
|
let t = R(), { tabs: n, activeTabId: r, selectTab: i } = QI(), a = [{
|
|
21140
21140
|
id: qF,
|
|
21141
21141
|
label: t.chat.tabs.messages,
|
|
21142
|
-
icon:
|
|
21142
|
+
icon: Ca,
|
|
21143
21143
|
badge: e
|
|
21144
21144
|
}, ...n.map(({ id: e, label: t, icon: n, badge: r }) => ({
|
|
21145
21145
|
id: e,
|
|
@@ -21153,7 +21153,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
21153
21153
|
s.current && (s.current = !1, o.current?.querySelector("[aria-current=true]")?.focus());
|
|
21154
21154
|
}, [c]), /* @__PURE__ */ Q("div", {
|
|
21155
21155
|
ref: o,
|
|
21156
|
-
children: /* @__PURE__ */ Q(
|
|
21156
|
+
children: /* @__PURE__ */ Q(ka, {
|
|
21157
21157
|
tabs: a,
|
|
21158
21158
|
activeTabId: r,
|
|
21159
21159
|
setActiveTabId: f,
|
|
@@ -21729,7 +21729,7 @@ var PR = (e, t, n) => {
|
|
|
21729
21729
|
})} ${a}`;
|
|
21730
21730
|
}, Ez = ({ message: e, onConfirm: t, onClose: n }) => {
|
|
21731
21731
|
let r = R(), [i, a] = X(() => /* @__PURE__ */ new Date()), o = e.reminder ? new Date(e.reminder.remindAt) : new Date(i.getTime() + 36e5), [s, c] = X(o), [l, u] = X(yz(o)), d = s ? new Date(bz(s, l)) : void 0, f = !!d && d.getTime() <= i.getTime(), p = !!d && !!l && !f, m = VI(e).trim();
|
|
21732
|
-
return /* @__PURE__ */ Q(
|
|
21732
|
+
return /* @__PURE__ */ Q(_a, {
|
|
21733
21733
|
isOpen: !0,
|
|
21734
21734
|
onClose: n,
|
|
21735
21735
|
width: "sm",
|
|
@@ -21773,7 +21773,7 @@ var PR = (e, t, n) => {
|
|
|
21773
21773
|
})
|
|
21774
21774
|
}), /* @__PURE__ */ Q("div", {
|
|
21775
21775
|
className: "w-32",
|
|
21776
|
-
children: /* @__PURE__ */ Q(
|
|
21776
|
+
children: /* @__PURE__ */ Q($o, {
|
|
21777
21777
|
type: "time",
|
|
21778
21778
|
label: r.chat.remind.time,
|
|
21779
21779
|
value: l,
|
|
@@ -21921,7 +21921,7 @@ var PR = (e, t, n) => {
|
|
|
21921
21921
|
};
|
|
21922
21922
|
}, zz = ({ message: e, onOpen: t }) => {
|
|
21923
21923
|
let n = R(), { channelType: r } = Mu(), i = e.readBy?.length ?? e.readByCount ?? 0, a = e.readBy?.slice(0, Lz) ?? [], o = Math.max(0, i - a.length), s = n.chat.info, c = Gc;
|
|
21924
|
-
return e.isMine && r === "group" && i > 0 ? (s = n.t(i === 1 ? "chat.readBy.one" : "chat.readBy.other", { count: i }), c =
|
|
21924
|
+
return e.isMine && r === "group" && i > 0 ? (s = n.t(i === 1 ? "chat.readBy.one" : "chat.readBy.other", { count: i }), c = Oi) : e.isMine && e.readAt ? (s = `${n.chat.read} · ${lR(new Date(e.readAt))}`, c = Oi) : e.isMine && r === "dm" && e.status === "delivered" && (s = n.chat.delivered, c = Oi), /* @__PURE__ */ Q(Fz, {
|
|
21925
21925
|
icon: c,
|
|
21926
21926
|
label: s,
|
|
21927
21927
|
onClick: t,
|
|
@@ -21951,7 +21951,7 @@ function Bz({ shown: e, run: t, message: n }) {
|
|
|
21951
21951
|
padding: "xs",
|
|
21952
21952
|
children: [
|
|
21953
21953
|
cz(e) ? /* @__PURE__ */ Q(Fz, {
|
|
21954
|
-
icon:
|
|
21954
|
+
icon: Bi,
|
|
21955
21955
|
label: r.chat.one.askAgain,
|
|
21956
21956
|
onClick: t(cz, () => {
|
|
21957
21957
|
i.retry?.(n.id);
|
|
@@ -21965,7 +21965,7 @@ function Bz({ shown: e, run: t, message: n }) {
|
|
|
21965
21965
|
})
|
|
21966
21966
|
}) : null,
|
|
21967
21967
|
uz(e) ? /* @__PURE__ */ Q(Fz, {
|
|
21968
|
-
icon:
|
|
21968
|
+
icon: hr,
|
|
21969
21969
|
label: r.chat.one.copy,
|
|
21970
21970
|
onClick: t(uz, () => {
|
|
21971
21971
|
dz(n, a);
|
|
@@ -22003,7 +22003,7 @@ var Vz = ({ message: e, onBack: t, onPick: n, onPickCustom: r, onRemove: i }) =>
|
|
|
22003
22003
|
l ? /* @__PURE__ */ $("p", {
|
|
22004
22004
|
className: "flex items-center gap-1.5 border-0 border-b border-solid border-f1-border-secondary px-3 py-2 text-sm font-medium text-f1-foreground",
|
|
22005
22005
|
"data-testid": "chat-remind-current",
|
|
22006
|
-
children: [/* @__PURE__ */ Q(
|
|
22006
|
+
children: [/* @__PURE__ */ Q(Fi, {
|
|
22007
22007
|
className: "size-4 shrink-0",
|
|
22008
22008
|
"aria-hidden": !0
|
|
22009
22009
|
}), a.t("chat.remind.current", { when: c(l) })]
|
|
@@ -22016,7 +22016,7 @@ var Vz = ({ message: e, onBack: t, onPick: n, onPickCustom: r, onRemove: i }) =>
|
|
|
22016
22016
|
relativeDay: !1
|
|
22017
22017
|
}) : c(t);
|
|
22018
22018
|
return /* @__PURE__ */ Q(Fz, {
|
|
22019
|
-
icon:
|
|
22019
|
+
icon: So,
|
|
22020
22020
|
label: a.chat.remind[e],
|
|
22021
22021
|
onClick: () => n(t),
|
|
22022
22022
|
trailing: /* @__PURE__ */ Q("span", {
|
|
@@ -22033,12 +22033,12 @@ var Vz = ({ message: e, onBack: t, onPick: n, onPickCustom: r, onRemove: i }) =>
|
|
|
22033
22033
|
/* @__PURE__ */ $("div", {
|
|
22034
22034
|
className: "flex flex-col p-1",
|
|
22035
22035
|
children: [/* @__PURE__ */ Q(Fz, {
|
|
22036
|
-
icon:
|
|
22036
|
+
icon: Ns,
|
|
22037
22037
|
label: a.chat.remind.custom,
|
|
22038
22038
|
onClick: r
|
|
22039
22039
|
}), e.reminder ? /* @__PURE__ */ Q(Fz, {
|
|
22040
22040
|
critical: !0,
|
|
22041
|
-
icon:
|
|
22041
|
+
icon: Po,
|
|
22042
22042
|
label: a.chat.remind.remove,
|
|
22043
22043
|
onClick: i
|
|
22044
22044
|
}) : null]
|
|
@@ -22088,13 +22088,13 @@ var Vz = ({ message: e, onBack: t, onPick: n, onPickCustom: r, onRemove: i }) =>
|
|
|
22088
22088
|
className: `${Uz} flex w-64 flex-col rounded-lg p-1`,
|
|
22089
22089
|
onKeyDown: Iz,
|
|
22090
22090
|
children: [/* @__PURE__ */ Q(Fz, {
|
|
22091
|
-
icon:
|
|
22091
|
+
icon: Bi,
|
|
22092
22092
|
label: n.chat.retry,
|
|
22093
22093
|
onClick: (n) => {
|
|
22094
22094
|
r(e.live.id), t(Wz(n));
|
|
22095
22095
|
}
|
|
22096
22096
|
}), /* @__PURE__ */ Q(Fz, {
|
|
22097
|
-
icon:
|
|
22097
|
+
icon: Po,
|
|
22098
22098
|
label: n.actions.delete,
|
|
22099
22099
|
onClick: (n) => {
|
|
22100
22100
|
o(e.live.id), t(Wz(n));
|
|
@@ -22110,26 +22110,26 @@ var Vz = ({ message: e, onBack: t, onPick: n, onPickCustom: r, onRemove: i }) =>
|
|
|
22110
22110
|
className: "flex flex-col p-1",
|
|
22111
22111
|
children: [
|
|
22112
22112
|
$R(e) ? /* @__PURE__ */ Q(Fz, {
|
|
22113
|
-
icon:
|
|
22113
|
+
icon: Zi,
|
|
22114
22114
|
label: i.chat.reply,
|
|
22115
22115
|
onClick: t($R, () => d(n))
|
|
22116
22116
|
}) : null,
|
|
22117
22117
|
ZR(e) ? /* @__PURE__ */ Q(Fz, {
|
|
22118
|
-
icon:
|
|
22118
|
+
icon: hr,
|
|
22119
22119
|
label: i.actions.copy,
|
|
22120
22120
|
onClick: t(ZR, () => mz(a, n))
|
|
22121
22121
|
}) : null,
|
|
22122
22122
|
f ? /* @__PURE__ */ Q(Fz, {
|
|
22123
|
-
icon:
|
|
22123
|
+
icon: jr,
|
|
22124
22124
|
label: i.chat.hideTranslation,
|
|
22125
22125
|
onClick: t(sz, () => c?.(n.id))
|
|
22126
22126
|
}) : az(e) ? /* @__PURE__ */ Q(Fz, {
|
|
22127
|
-
icon:
|
|
22127
|
+
icon: jr,
|
|
22128
22128
|
label: i.chat.translate,
|
|
22129
22129
|
onClick: t(az, () => u?.(n.id))
|
|
22130
22130
|
}) : null,
|
|
22131
22131
|
oz(e) ? /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(Hz, {}), /* @__PURE__ */ Q(Fz, {
|
|
22132
|
-
icon:
|
|
22132
|
+
icon: jr,
|
|
22133
22133
|
label: i.chat.translate,
|
|
22134
22134
|
onClick: t(oz, () => l?.()),
|
|
22135
22135
|
trailing: /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q("span", {
|
|
@@ -22141,17 +22141,17 @@ var Vz = ({ message: e, onBack: t, onPick: n, onPickCustom: r, onRemove: i }) =>
|
|
|
22141
22141
|
})] })
|
|
22142
22142
|
})] }) : null,
|
|
22143
22143
|
nz(e) ? /* @__PURE__ */ Q(Fz, {
|
|
22144
|
-
icon:
|
|
22144
|
+
icon: ii,
|
|
22145
22145
|
label: i.chat.forward,
|
|
22146
22146
|
onClick: t(nz, () => o?.(n))
|
|
22147
22147
|
}) : null,
|
|
22148
22148
|
rz(e) ? /* @__PURE__ */ Q(Fz, {
|
|
22149
|
-
icon: n.pinnedAt ?
|
|
22149
|
+
icon: n.pinnedAt ? zr : ni,
|
|
22150
22150
|
label: n.pinnedAt ? i.chat.unpinMessage : i.chat.pinMessage,
|
|
22151
22151
|
onClick: t(rz, () => s?.(n.id, !n.pinnedAt))
|
|
22152
22152
|
}) : null,
|
|
22153
22153
|
iz(e) && r ? /* @__PURE__ */ Q(Fz, {
|
|
22154
|
-
icon:
|
|
22154
|
+
icon: es,
|
|
22155
22155
|
label: i.chat.remind.menu,
|
|
22156
22156
|
onClick: r,
|
|
22157
22157
|
testId: "chat-message-menu-remind",
|
|
@@ -22172,7 +22172,7 @@ var Vz = ({ message: e, onBack: t, onPick: n, onPickCustom: r, onRemove: i }) =>
|
|
|
22172
22172
|
onClick: t(tz, () => a(n))
|
|
22173
22173
|
}) : null, ez(e) ? /* @__PURE__ */ Q(Fz, {
|
|
22174
22174
|
critical: !0,
|
|
22175
|
-
icon:
|
|
22175
|
+
icon: Po,
|
|
22176
22176
|
label: r.actions.delete,
|
|
22177
22177
|
onClick: t(ez, () => i(n.id))
|
|
22178
22178
|
}) : null]
|
|
@@ -22581,7 +22581,7 @@ var Vz = ({ message: e, onBack: t, onPick: n, onPickCustom: r, onRemove: i }) =>
|
|
|
22581
22581
|
let n = NB(e).map((e) => ({
|
|
22582
22582
|
paragraph: e,
|
|
22583
22583
|
text: DB(e.runs)
|
|
22584
|
-
})), r = t.length > 0 ?
|
|
22584
|
+
})), r = t.length > 0 ? Cs(n.map(({ text: e }) => e).join(CB), t) : [], i = 0;
|
|
22585
22585
|
n.forEach(({ paragraph: e, text: t }) => {
|
|
22586
22586
|
let n = i, a = n + t.length;
|
|
22587
22587
|
i = a + 2;
|
|
@@ -22593,13 +22593,13 @@ var Vz = ({ message: e, onBack: t, onPick: n, onPickCustom: r, onRemove: i }) =>
|
|
|
22593
22593
|
e.runs = jB(AB(e.runs, o));
|
|
22594
22594
|
});
|
|
22595
22595
|
}, FB = (e, t = []) => {
|
|
22596
|
-
let n = MB(
|
|
22596
|
+
let n = MB(Xr(e).blocks);
|
|
22597
22597
|
return PB(n, t), { blocks: n };
|
|
22598
22598
|
};
|
|
22599
22599
|
//#endregion
|
|
22600
22600
|
//#region src/domains/platform/communications/chat/F0Chat/components/ChatMentionChip.tsx
|
|
22601
22601
|
function IB({ token: e, label: t }) {
|
|
22602
|
-
let n = e.user?.subtitle ? `${t}, ${e.user.subtitle}` : t, r = B("cursor-pointer rounded-sm border-0 bg-transparent p-0 text-f1-foreground-secondary hover:text-f1-foreground", En()), i = e.user?.profileHref ? /* @__PURE__ */ Q(
|
|
22602
|
+
let n = e.user?.subtitle ? `${t}, ${e.user.subtitle}` : t, r = B("cursor-pointer rounded-sm border-0 bg-transparent p-0 text-f1-foreground-secondary hover:text-f1-foreground", En()), i = e.user?.profileHref ? /* @__PURE__ */ Q(zo, {
|
|
22603
22603
|
href: e.user.profileHref,
|
|
22604
22604
|
variant: "unstyled",
|
|
22605
22605
|
stopPropagation: !0,
|
|
@@ -22631,7 +22631,7 @@ var LB = /(https?:\/\/[^\s]+)/g, RB = (e, t) => {
|
|
|
22631
22631
|
if (e.length === 0) return null;
|
|
22632
22632
|
if (t % 2 == 0) return /* @__PURE__ */ Q(Hu, { children: e }, `text-${t}`);
|
|
22633
22633
|
let n = i.get(e);
|
|
22634
|
-
return /* @__PURE__ */ Q(
|
|
22634
|
+
return /* @__PURE__ */ Q(zo, {
|
|
22635
22635
|
href: e,
|
|
22636
22636
|
target: "_blank",
|
|
22637
22637
|
stopPropagation: !0,
|
|
@@ -22642,7 +22642,7 @@ var LB = /(https?:\/\/[^\s]+)/g, RB = (e, t) => {
|
|
|
22642
22642
|
});
|
|
22643
22643
|
}, zB = (e, t, n) => {
|
|
22644
22644
|
if (t.length === 0) return RB(e, n);
|
|
22645
|
-
let r =
|
|
22645
|
+
let r = Cs(e, t);
|
|
22646
22646
|
if (r.length === 0) return RB(e, n);
|
|
22647
22647
|
let i = [], a = 0;
|
|
22648
22648
|
return r.forEach((t, r) => {
|
|
@@ -22761,7 +22761,7 @@ function cV({ marks: e, children: t }) {
|
|
|
22761
22761
|
//#region src/domains/platform/communications/chat/F0Chat/components/ChatMarkdownLink.tsx
|
|
22762
22762
|
function lV({ link: e, runs: t, previews: n }) {
|
|
22763
22763
|
let r = xI(DB(t), e.url), i = r ? n?.find((t) => t.url === e.url && t.title) : void 0, a = Vi(i?.title ?? "") || void 0, o = r && !a;
|
|
22764
|
-
return /* @__PURE__ */ Q(
|
|
22764
|
+
return /* @__PURE__ */ Q(zo, {
|
|
22765
22765
|
href: e.url,
|
|
22766
22766
|
target: "_blank",
|
|
22767
22767
|
stopPropagation: !0,
|
|
@@ -22884,7 +22884,7 @@ var yV = 1.91, bV = (e, t, n) => {
|
|
|
22884
22884
|
}, SV = (e, t, n, r) => B("flex w-full overflow-hidden rounded-xl text-left no-underline", "bg-f1-background-secondary", "transition-shadow hover:ring-1 hover:ring-inset hover:ring-f1-border-secondary", En("focus-visible:ring-inset"), !n && "rounded-t-sm", !r && "rounded-b-sm", n && !t && (e ? "rounded-tr-xs" : "rounded-tl-xs")), CV = ({ preview: e, host: t, compact: n }) => /* @__PURE__ */ $("div", {
|
|
22885
22885
|
className: "flex min-w-0 flex-1 flex-col gap-0.5 p-2.5",
|
|
22886
22886
|
children: [
|
|
22887
|
-
e.title ? /* @__PURE__ */ Q(
|
|
22887
|
+
e.title ? /* @__PURE__ */ Q(Eo, {
|
|
22888
22888
|
className: "text-base font-medium text-f1-foreground",
|
|
22889
22889
|
children: e.title
|
|
22890
22890
|
}) : null,
|
|
@@ -22892,13 +22892,13 @@ var yV = 1.91, bV = (e, t, n) => {
|
|
|
22892
22892
|
className: B("text-sm text-f1-foreground-secondary", n ? "line-clamp-1" : "line-clamp-2"),
|
|
22893
22893
|
children: e.description
|
|
22894
22894
|
}) : null,
|
|
22895
|
-
/* @__PURE__ */ Q(
|
|
22895
|
+
/* @__PURE__ */ Q(Eo, {
|
|
22896
22896
|
className: "text-sm text-f1-foreground",
|
|
22897
22897
|
children: t
|
|
22898
22898
|
})
|
|
22899
22899
|
]
|
|
22900
22900
|
}), wV = ({ preview: e, host: t, compact: n, className: r, onOpen: i }) => {
|
|
22901
|
-
let a =
|
|
22901
|
+
let a = ws(e.imageUrl), o = bV(e.imageUrl, a, n);
|
|
22902
22902
|
return /* @__PURE__ */ $("a", {
|
|
22903
22903
|
href: e.url,
|
|
22904
22904
|
onClick: i,
|
|
@@ -22919,7 +22919,7 @@ var yV = 1.91, bV = (e, t, n) => {
|
|
|
22919
22919
|
alt: "",
|
|
22920
22920
|
"aria-hidden": !0,
|
|
22921
22921
|
className: "absolute inset-0 h-full w-full scale-110 object-cover opacity-60 blur-xl"
|
|
22922
|
-
}), /* @__PURE__ */ Q(
|
|
22922
|
+
}), /* @__PURE__ */ Q(_o, {
|
|
22923
22923
|
src: e.imageUrl,
|
|
22924
22924
|
alt: "",
|
|
22925
22925
|
className: "relative h-full w-full object-contain"
|
|
@@ -22930,7 +22930,7 @@ var yV = 1.91, bV = (e, t, n) => {
|
|
|
22930
22930
|
host: t,
|
|
22931
22931
|
compact: n
|
|
22932
22932
|
}),
|
|
22933
|
-
o.kind === "thumb" ? /* @__PURE__ */ Q(
|
|
22933
|
+
o.kind === "thumb" ? /* @__PURE__ */ Q(_o, {
|
|
22934
22934
|
src: e.imageUrl,
|
|
22935
22935
|
alt: "",
|
|
22936
22936
|
style: {
|
|
@@ -22969,7 +22969,7 @@ var yV = 1.91, bV = (e, t, n) => {
|
|
|
22969
22969
|
size: "sm",
|
|
22970
22970
|
hideLabel: !0,
|
|
22971
22971
|
label: a.chat.removeLinkPreview,
|
|
22972
|
-
icon:
|
|
22972
|
+
icon: Yo,
|
|
22973
22973
|
onClick: () => r(e.url)
|
|
22974
22974
|
})
|
|
22975
22975
|
}) : null]
|
|
@@ -22979,7 +22979,7 @@ var yV = 1.91, bV = (e, t, n) => {
|
|
|
22979
22979
|
let n = R(), r = Eu(), i = /* @__PURE__ */ Q(AV, { parts: OV(e, n.chat) });
|
|
22980
22980
|
return r === "announcement" ? null : t === "overlay" ? /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q("span", {
|
|
22981
22981
|
"aria-hidden": !0,
|
|
22982
|
-
className:
|
|
22982
|
+
className: Zo
|
|
22983
22983
|
}), /* @__PURE__ */ Q("span", {
|
|
22984
22984
|
"aria-hidden": !0,
|
|
22985
22985
|
className: "pointer-events-none absolute bottom-1.5 right-2.5 text-xs leading-none text-f1-foreground-inverse [text-shadow:0_1px_2px_hsl(0_0%_0%/0.45)]",
|
|
@@ -23059,7 +23059,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23059
23059
|
lastName: e.name.split(" ").slice(1).join(" ")
|
|
23060
23060
|
}, LV = 5, RV = ({ messageId: e, poll: t, onClose: n }) => {
|
|
23061
23061
|
let r = Math.max(0, ...t.options.map(NV));
|
|
23062
|
-
return /* @__PURE__ */ Q(
|
|
23062
|
+
return /* @__PURE__ */ Q(_a, {
|
|
23063
23063
|
isOpen: !0,
|
|
23064
23064
|
onClose: n,
|
|
23065
23065
|
width: "sm",
|
|
@@ -23314,19 +23314,19 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23314
23314
|
thumbnailUrl: a
|
|
23315
23315
|
};
|
|
23316
23316
|
let s = o.kind === "photo" ? {
|
|
23317
|
-
icon:
|
|
23317
|
+
icon: yi,
|
|
23318
23318
|
label: o.count === 1 ? t.chat.photo : t.t("chat.photoCount.other", { count: o.count })
|
|
23319
23319
|
} : o.kind === "file" ? {
|
|
23320
|
-
icon:
|
|
23320
|
+
icon: Vr,
|
|
23321
23321
|
label: o.name ?? t.t("chat.fileCount.other", { count: o.count })
|
|
23322
23322
|
} : o.kind === "location" ? {
|
|
23323
|
-
icon:
|
|
23323
|
+
icon: Oa,
|
|
23324
23324
|
label: t.chat.location
|
|
23325
23325
|
} : o.kind === "voice" ? {
|
|
23326
|
-
icon:
|
|
23326
|
+
icon: Oo,
|
|
23327
23327
|
label: t.chat.voiceNote
|
|
23328
23328
|
} : {
|
|
23329
|
-
icon:
|
|
23329
|
+
icon: Va,
|
|
23330
23330
|
label: t.t("chat.attachmentCount.other", { count: o.count })
|
|
23331
23331
|
};
|
|
23332
23332
|
return {
|
|
@@ -23352,7 +23352,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23352
23352
|
className: "ml-2.5 h-9 w-9 shrink-0 self-center rounded-sm object-cover"
|
|
23353
23353
|
}) : null, /* @__PURE__ */ $("div", {
|
|
23354
23354
|
className: "flex min-w-0 flex-1 flex-col gap-0.5 p-2.5",
|
|
23355
|
-
children: [/* @__PURE__ */ Q(
|
|
23355
|
+
children: [/* @__PURE__ */ Q(Eo, {
|
|
23356
23356
|
className: B("text-sm font-medium", nV(e.author)),
|
|
23357
23357
|
children: u
|
|
23358
23358
|
}), /* @__PURE__ */ $("span", {
|
|
@@ -23361,7 +23361,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23361
23361
|
icon: s,
|
|
23362
23362
|
size: "sm",
|
|
23363
23363
|
color: "default"
|
|
23364
|
-
}) : null, /* @__PURE__ */ Q(
|
|
23364
|
+
}) : null, /* @__PURE__ */ Q(Eo, {
|
|
23365
23365
|
className: "min-w-0 text-base",
|
|
23366
23366
|
children: c
|
|
23367
23367
|
})]
|
|
@@ -23539,7 +23539,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23539
23539
|
className: "relative px-3.5 py-2.5",
|
|
23540
23540
|
children: [
|
|
23541
23541
|
n ? /* @__PURE__ */ Q(QV, { author: n }) : null,
|
|
23542
|
-
/* @__PURE__ */ Q(
|
|
23542
|
+
/* @__PURE__ */ Q(Tr, {
|
|
23543
23543
|
"data-chat-message-text": !0,
|
|
23544
23544
|
content: o,
|
|
23545
23545
|
format: "html",
|
|
@@ -23554,12 +23554,12 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23554
23554
|
})]
|
|
23555
23555
|
})
|
|
23556
23556
|
});
|
|
23557
|
-
}), rH = (e) => e.kind === "image" ? "image" :
|
|
23557
|
+
}), rH = (e) => e.kind === "image" ? "image" : xs(e) ? "video" : va(e) ? "document" : "file", iH = (e) => {
|
|
23558
23558
|
let t = (e ?? []).filter((e) => e.kind === "image");
|
|
23559
23559
|
return t.length === 1 ? t[0] : void 0;
|
|
23560
23560
|
}, aH = (e) => {
|
|
23561
23561
|
if (e.progress !== void 0) return { bucket: "files" };
|
|
23562
|
-
let t =
|
|
23562
|
+
let t = hs(e, { inferImages: !1 });
|
|
23563
23563
|
switch (t.bucket) {
|
|
23564
23564
|
case "video": return { bucket: "videos" };
|
|
23565
23565
|
case "audio": return { bucket: "audios" };
|
|
@@ -23606,7 +23606,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23606
23606
|
let t = [];
|
|
23607
23607
|
for (let n of e.images) t.push({
|
|
23608
23608
|
file: n,
|
|
23609
|
-
item:
|
|
23609
|
+
item: Ja(n, Wo(t.length, n.url))
|
|
23610
23610
|
});
|
|
23611
23611
|
let n = [
|
|
23612
23612
|
...e.videos,
|
|
@@ -23615,7 +23615,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23615
23615
|
];
|
|
23616
23616
|
for (let e of n) t.push({
|
|
23617
23617
|
file: e,
|
|
23618
|
-
item:
|
|
23618
|
+
item: za(e, Wo(t.length, e.url), { inferImages: !1 })
|
|
23619
23619
|
});
|
|
23620
23620
|
return t;
|
|
23621
23621
|
}, cH = (e, t) => e + t > 1, lH = [
|
|
@@ -23625,7 +23625,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23625
23625
|
"text"
|
|
23626
23626
|
], uH = (e) => e !== null && lH.includes(e), dH = (e) => {
|
|
23627
23627
|
if (e.kind !== "document") return null;
|
|
23628
|
-
let t =
|
|
23628
|
+
let t = va(e.file);
|
|
23629
23629
|
return uH(t) ? t : !e.rendering && uH(e.documentKind) ? e.documentKind : null;
|
|
23630
23630
|
}, fH = (e) => e.kind === "document" ? e.documentKind : e.kind, pH = (e) => e.kind === "image" ? "image" : rH({
|
|
23631
23631
|
kind: "file",
|
|
@@ -23674,7 +23674,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23674
23674
|
}, yH = () => document.activeElement === null || document.activeElement === document.body, bH = () => {
|
|
23675
23675
|
yH() && document.querySelector("[data-chat-viewport]")?.focus({ preventScroll: !0 });
|
|
23676
23676
|
}, xH = ({ children: e, noteOpener: t, showsDraft: n }) => {
|
|
23677
|
-
let r =
|
|
23677
|
+
let r = po(), { channel: i } = zu(), a = Y(i.id);
|
|
23678
23678
|
q(function() {
|
|
23679
23679
|
a.current !== i.id && (a.current = i.id, r.close());
|
|
23680
23680
|
}, [i.id, r]);
|
|
@@ -23701,7 +23701,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23701
23701
|
a.current = { messageId: e };
|
|
23702
23702
|
}, []), l = G((e) => {
|
|
23703
23703
|
let t = i.current;
|
|
23704
|
-
return t?.origin !== "composer" || !t.items.some((t) =>
|
|
23704
|
+
return t?.origin !== "composer" || !t.items.some((t) => ko(t) === e) ? !1 : (i.current = null, !0);
|
|
23705
23705
|
}, []), u = G((e) => {
|
|
23706
23706
|
e.type === "opened" && (i.current = {
|
|
23707
23707
|
origin: e.origin,
|
|
@@ -23724,7 +23724,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23724
23724
|
}, [r]);
|
|
23725
23725
|
return K(() => () => {
|
|
23726
23726
|
o.current !== null && cancelAnimationFrame(o.current);
|
|
23727
|
-
}, []), /* @__PURE__ */ Q(
|
|
23727
|
+
}, []), /* @__PURE__ */ Q(Co, {
|
|
23728
23728
|
onEvent: u,
|
|
23729
23729
|
onFocusFallback: d,
|
|
23730
23730
|
children: /* @__PURE__ */ Q(xH, {
|
|
@@ -23757,7 +23757,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23757
23757
|
onImageError: n ? () => i(t.url) : void 0
|
|
23758
23758
|
});
|
|
23759
23759
|
}, EH = ({ image: e, aspectRatio: t, spanFull: n, surfaceClassName: r, overlay: i }) => {
|
|
23760
|
-
let a = R(), o = Du(), s =
|
|
23760
|
+
let a = R(), o = Du(), s = hi();
|
|
23761
23761
|
return /* @__PURE__ */ $("div", {
|
|
23762
23762
|
style: { aspectRatio: t },
|
|
23763
23763
|
className: B("relative flex min-w-0 flex-col items-center justify-center gap-2 overflow-hidden p-3", n && "col-span-2", r),
|
|
@@ -23773,7 +23773,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23773
23773
|
/* @__PURE__ */ Q("bdi", {
|
|
23774
23774
|
dir: "auto",
|
|
23775
23775
|
className: "min-w-0 max-w-full text-center",
|
|
23776
|
-
children: /* @__PURE__ */ Q(
|
|
23776
|
+
children: /* @__PURE__ */ Q(Eo, {
|
|
23777
23777
|
className: "text-sm font-medium text-f1-foreground",
|
|
23778
23778
|
children: e.name
|
|
23779
23779
|
})
|
|
@@ -23783,7 +23783,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23783
23783
|
variant: "outline",
|
|
23784
23784
|
size: "sm",
|
|
23785
23785
|
hideLabel: !0,
|
|
23786
|
-
icon:
|
|
23786
|
+
icon: Di,
|
|
23787
23787
|
label: a.t("chat.downloadNamedFile", { name: e.name }),
|
|
23788
23788
|
onClick: () => {
|
|
23789
23789
|
s(e.url, e.name), o.onAttachmentDownloaded({ kind: "image" });
|
|
@@ -23801,7 +23801,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23801
23801
|
}, OH = ({ card: e }) => {
|
|
23802
23802
|
let t = Du(), { action: n } = e;
|
|
23803
23803
|
return /* @__PURE__ */ Q("div", {
|
|
23804
|
-
className:
|
|
23804
|
+
className: Ea,
|
|
23805
23805
|
"data-testid": "chat-card-attachment",
|
|
23806
23806
|
children: /* @__PURE__ */ Q(oa, {
|
|
23807
23807
|
avatar: e.avatar,
|
|
@@ -23825,7 +23825,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23825
23825
|
});
|
|
23826
23826
|
}, kH = (e) => {
|
|
23827
23827
|
let t = Du();
|
|
23828
|
-
return /* @__PURE__ */ Q(
|
|
23828
|
+
return /* @__PURE__ */ Q(Vo, {
|
|
23829
23829
|
...e,
|
|
23830
23830
|
onDownloaded: () => t.onAttachmentDownloaded({ kind: rH(e.file) })
|
|
23831
23831
|
});
|
|
@@ -23837,7 +23837,7 @@ function MH() {
|
|
|
23837
23837
|
return Xu(AH);
|
|
23838
23838
|
}
|
|
23839
23839
|
var NH = Ju(() => import("./LocationMap-CRcaItG1.js")), PH = 3 / 2, FH = ({ latitude: e, longitude: t }) => `https://www.google.com/maps?q=${e},${t}`, IH = ({ location: e, cornerClass: t = "rounded-xl", surfaceClassName: n, meta: r }) => {
|
|
23840
|
-
let i = R(), a = Du(), o = MH(), { ref: s, shouldMount: c } =
|
|
23840
|
+
let i = R(), a = Du(), o = MH(), { ref: s, shouldMount: c } = rs();
|
|
23841
23841
|
return /* @__PURE__ */ Q("a", {
|
|
23842
23842
|
ref: s,
|
|
23843
23843
|
href: FH(e),
|
|
@@ -23847,7 +23847,7 @@ var NH = Ju(() => import("./LocationMap-CRcaItG1.js")), PH = 3 / 2, FH = ({ lati
|
|
|
23847
23847
|
target: "_blank",
|
|
23848
23848
|
rel: "noopener noreferrer",
|
|
23849
23849
|
"aria-label": e.name ?? i.chat.location,
|
|
23850
|
-
className: B("flex min-w-0 max-w-full flex-col overflow-hidden no-underline",
|
|
23850
|
+
className: B("flex min-w-0 max-w-full flex-col overflow-hidden no-underline", co, "bg-f1-background-tertiary", "transition-shadow hover:ring-1 hover:ring-inset hover:ring-f1-border-secondary", En("focus-visible:ring-inset"), t, n),
|
|
23851
23851
|
"data-testid": "chat-location-attachment",
|
|
23852
23852
|
children: /* @__PURE__ */ $("div", {
|
|
23853
23853
|
className: "pointer-events-none relative w-full",
|
|
@@ -23888,7 +23888,7 @@ var NH = Ju(() => import("./LocationMap-CRcaItG1.js")), PH = 3 / 2, FH = ({ lati
|
|
|
23888
23888
|
});
|
|
23889
23889
|
}, LH = ({ surface: e }) => /* @__PURE__ */ Q(z, { className: B("h-full w-full rounded-none motion-reduce:animate-none", e) }), RH = (e) => {
|
|
23890
23890
|
let t = Du();
|
|
23891
|
-
return /* @__PURE__ */ Q(
|
|
23891
|
+
return /* @__PURE__ */ Q(ys, {
|
|
23892
23892
|
...e,
|
|
23893
23893
|
onDownloaded: () => t.onAttachmentDownloaded({ kind: "video" })
|
|
23894
23894
|
});
|
|
@@ -23945,7 +23945,7 @@ var NH = Ju(() => import("./LocationMap-CRcaItG1.js")), PH = 3 / 2, FH = ({ lati
|
|
|
23945
23945
|
};
|
|
23946
23946
|
}, [e]), t;
|
|
23947
23947
|
}, XH = ({ voice: e, isMine: t = !1, cornerClass: n = "rounded-xl", className: r, surfaceClassName: i }) => {
|
|
23948
|
-
let a = R(), o = Y(null), s =
|
|
23948
|
+
let a = R(), o = Y(null), s = to(o), c = YH(e.url), [l, u] = X(0), d = Y(null), f = Du(), p = MH(), m = ku(), h = s.duration > 0 ? s.duration : e.durationSeconds ?? 0, g = h > 0 ? Math.min(1, s.currentTime / h) : 0, _ = G(() => {
|
|
23949
23949
|
s.isPlaying ? s.pause() : (p === "transcript" && !m.hasReported(e.url) && (m.markReported(e.url), f.onVoiceNotePlayed({ durationSeconds: e.durationSeconds })), h > 0 && s.currentTime >= h && s.seek(0), s.play());
|
|
23950
23950
|
}, [
|
|
23951
23951
|
s,
|
|
@@ -23991,7 +23991,7 @@ var NH = Ju(() => import("./LocationMap-CRcaItG1.js")), PH = 3 / 2, FH = ({ lati
|
|
|
23991
23991
|
e.preventDefault(), s.seek(Math.min(h, Math.max(0, n)));
|
|
23992
23992
|
}, [h, s]);
|
|
23993
23993
|
return /* @__PURE__ */ $("div", {
|
|
23994
|
-
className: B("group/voice flex h-[58px] min-w-0 items-center gap-2 p-3",
|
|
23994
|
+
className: B("group/voice flex h-[58px] min-w-0 items-center gap-2 p-3", Ea, t ? "bg-f1-background-tertiary" : "bg-f1-background", n, r, i),
|
|
23995
23995
|
"data-testid": "chat-voice-attachment",
|
|
23996
23996
|
children: [
|
|
23997
23997
|
/* @__PURE__ */ Q("audio", {
|
|
@@ -24062,9 +24062,9 @@ var NH = Ju(() => import("./LocationMap-CRcaItG1.js")), PH = 3 / 2, FH = ({ lati
|
|
|
24062
24062
|
}), QH = ({ message: e, isMine: t, isFirstOfRun: n = !0, isLastOfRun: r = !0, hasAvatar: i = !1, showMeta: a = !0 }) => {
|
|
24063
24063
|
let o = R(), s = Du(), { noteOpener: c } = gH(), l = e.attachments, u = J(() => oH(l ?? []), [l]), d = J(() => sH(u), [u]), f = na(d, "transcript", { sender: t ? void 0 : e.author.name }), p = (t) => {
|
|
24064
24064
|
c(e.id), f.openFile(t);
|
|
24065
|
-
}, m = iH(l), h =
|
|
24065
|
+
}, m = iH(l), h = ws(m ? m.thumbnailUrl ?? m.url : void 0, m) ?? void 0;
|
|
24066
24066
|
if (!l || l.length === 0) return null;
|
|
24067
|
-
let g = rV(t), _ = "bg-f1-background-tertiary", { images: v, videos: y, documents: b, audios: x, files: S, locations: C, voices: w, cards: T } = u, E = m ?
|
|
24067
|
+
let g = rV(t), _ = "bg-f1-background-tertiary", { images: v, videos: y, documents: b, audios: x, files: S, locations: C, voices: w, cards: T } = u, E = m ? Da(h?.width, h?.height) : null, D = !a || KI(e) || e.replyTo || e.deleted ? null : b.length > 0 || S.length > 0 || w.length > 0 || x.length > 0 || T.length > 0 ? "below" : C.length > 0 ? "location" : y.length > 0 ? "video" : v.length > 0 ? "image" : null, O = cH(b.length, S.length), k = {
|
|
24068
24068
|
counts: {
|
|
24069
24069
|
images: v.length,
|
|
24070
24070
|
videos: y.length,
|
|
@@ -24087,7 +24087,7 @@ var NH = Ju(() => import("./LocationMap-CRcaItG1.js")), PH = 3 / 2, FH = ({ lati
|
|
|
24087
24087
|
children: [
|
|
24088
24088
|
v.length > 0 ? /* @__PURE__ */ Q("div", {
|
|
24089
24089
|
style: E ? { width: E.width } : void 0,
|
|
24090
|
-
className: B("grid grid-cols-2 overflow-hidden border border-solid border-f1-border-secondary", E ? "max-w-full" :
|
|
24090
|
+
className: B("grid grid-cols-2 overflow-hidden border border-solid border-f1-border-secondary", E ? "max-w-full" : Ea, ls, A("images")),
|
|
24091
24091
|
"data-testid": "chat-image-album",
|
|
24092
24092
|
children: As(h ? [h] : v).map((t, n, r) => {
|
|
24093
24093
|
let i = v[t.index];
|
|
@@ -24103,7 +24103,7 @@ var NH = Ju(() => import("./LocationMap-CRcaItG1.js")), PH = 3 / 2, FH = ({ lati
|
|
|
24103
24103
|
onOpen: () => p(i),
|
|
24104
24104
|
overlay: t.hiddenCount > 0 ? /* @__PURE__ */ Q("span", {
|
|
24105
24105
|
"aria-hidden": !0,
|
|
24106
|
-
className: B("pointer-events-none absolute inset-0 flex items-center justify-center text-2xl font-semibold text-f1-foreground-inverse",
|
|
24106
|
+
className: B("pointer-events-none absolute inset-0 flex items-center justify-center text-2xl font-semibold text-f1-foreground-inverse", Lo),
|
|
24107
24107
|
"data-testid": "chat-image-album-more",
|
|
24108
24108
|
children: `+${t.hiddenCount}`
|
|
24109
24109
|
}) : a ? /* @__PURE__ */ Q(EV, {
|
|
@@ -24161,18 +24161,18 @@ var NH = Ju(() => import("./LocationMap-CRcaItG1.js")), PH = 3 / 2, FH = ({ lati
|
|
|
24161
24161
|
onOpen: f.hasViewer ? () => p(e) : void 0
|
|
24162
24162
|
}, `${e.url}-${n}`)) : null, S.map((e, t) => {
|
|
24163
24163
|
let n = Ds(e) ?? "";
|
|
24164
|
-
return /* @__PURE__ */ Q(
|
|
24164
|
+
return /* @__PURE__ */ Q(La, {
|
|
24165
24165
|
file: {
|
|
24166
24166
|
...e,
|
|
24167
24167
|
mimeType: n
|
|
24168
24168
|
},
|
|
24169
|
-
icon: n === "application/zip" ?
|
|
24169
|
+
icon: n === "application/zip" ? Or : void 0,
|
|
24170
24170
|
testId: "chat-file-tile",
|
|
24171
24171
|
action: {
|
|
24172
24172
|
label: o.t("chat.downloadNamedFile", { name: e.name }),
|
|
24173
|
-
icon:
|
|
24173
|
+
icon: Di,
|
|
24174
24174
|
onClick: () => {
|
|
24175
|
-
|
|
24175
|
+
Jr(e.url, e.name), s.onAttachmentDownloaded({ kind: rH(e) });
|
|
24176
24176
|
}
|
|
24177
24177
|
}
|
|
24178
24178
|
}, `${e.url}-${t}`);
|
|
@@ -24221,7 +24221,7 @@ var NH = Ju(() => import("./LocationMap-CRcaItG1.js")), PH = 3 / 2, FH = ({ lati
|
|
|
24221
24221
|
"data-testid": "chat-failed-indicator",
|
|
24222
24222
|
onClick: (e) => n(e.currentTarget),
|
|
24223
24223
|
children: /* @__PURE__ */ Q(U, {
|
|
24224
|
-
icon:
|
|
24224
|
+
icon: fo,
|
|
24225
24225
|
size: "sm",
|
|
24226
24226
|
color: "critical-bold"
|
|
24227
24227
|
})
|
|
@@ -24317,7 +24317,7 @@ var NH = Ju(() => import("./LocationMap-CRcaItG1.js")), PH = 3 / 2, FH = ({ lati
|
|
|
24317
24317
|
variant: "ghost",
|
|
24318
24318
|
hideLabel: !0,
|
|
24319
24319
|
label: lR(new Date(e)),
|
|
24320
|
-
icon:
|
|
24320
|
+
icon: So
|
|
24321
24321
|
}) : null
|
|
24322
24322
|
});
|
|
24323
24323
|
}, lU = ({ icon: e, children: t, testId: n }) => /* @__PURE__ */ $("span", {
|
|
@@ -24330,7 +24330,7 @@ var NH = Ju(() => import("./LocationMap-CRcaItG1.js")), PH = 3 / 2, FH = ({ lati
|
|
|
24330
24330
|
}), uU = ({ forwardedFrom: e }) => {
|
|
24331
24331
|
let t = R(), n = e.channelTitle ? t.t("chat.forwardedFrom", { channel: e.channelTitle }) : t.chat.forwarded;
|
|
24332
24332
|
return /* @__PURE__ */ Q(lU, {
|
|
24333
|
-
icon:
|
|
24333
|
+
icon: ii,
|
|
24334
24334
|
testId: "chat-forwarded-tag",
|
|
24335
24335
|
children: n
|
|
24336
24336
|
});
|
|
@@ -24340,18 +24340,18 @@ var NH = Ju(() => import("./LocationMap-CRcaItG1.js")), PH = 3 / 2, FH = ({ lati
|
|
|
24340
24340
|
let r = /* @__PURE__ */ new Date(), i = e.reminder ? new Date(e.reminder.remindAt) : null, a = i && i > r ? Tz(i, r, { tomorrow: n.chat.remind.tomorrow }) : null, o = e.pinnedBy, s = e.pinnedAt ? o ? o.id === t ? n.chat.pinnedByYou : n.t("chat.pinnedBy", { name: o.name }) : n.chat.pinned : null;
|
|
24341
24341
|
return !s && !a && !e.forwardedFrom ? null : /* @__PURE__ */ $(Z, { children: [
|
|
24342
24342
|
s ? /* @__PURE__ */ Q(lU, {
|
|
24343
|
-
icon:
|
|
24343
|
+
icon: zr,
|
|
24344
24344
|
testId: "chat-pinned-tag",
|
|
24345
24345
|
children: s
|
|
24346
24346
|
}) : null,
|
|
24347
24347
|
a ? /* @__PURE__ */ Q(lU, {
|
|
24348
|
-
icon:
|
|
24348
|
+
icon: Fi,
|
|
24349
24349
|
testId: "chat-reminder-tag",
|
|
24350
24350
|
children: n.t("chat.remind.current", { when: a })
|
|
24351
24351
|
}) : null,
|
|
24352
24352
|
e.forwardedFrom ? /* @__PURE__ */ Q(uU, { forwardedFrom: e.forwardedFrom }) : null
|
|
24353
24353
|
] });
|
|
24354
|
-
}, fU = 420, pU = (e) => /* @__PURE__ */ Q(
|
|
24354
|
+
}, fU = 420, pU = (e) => /* @__PURE__ */ Q(Tr, {
|
|
24355
24355
|
content: e,
|
|
24356
24356
|
format: "markdown"
|
|
24357
24357
|
});
|
|
@@ -24376,7 +24376,7 @@ function mU({ message: e, readable: t, isAsker: n, collapsible: r = !1 }) {
|
|
|
24376
24376
|
}) : null,
|
|
24377
24377
|
u && n ? /* @__PURE__ */ Q("div", {
|
|
24378
24378
|
className: "text-sm",
|
|
24379
|
-
children: /* @__PURE__ */ Q(
|
|
24379
|
+
children: /* @__PURE__ */ Q(zo, {
|
|
24380
24380
|
href: u,
|
|
24381
24381
|
target: "_blank",
|
|
24382
24382
|
stopPropagation: !0,
|
|
@@ -25718,7 +25718,7 @@ var aG = ({ channel: e }) => {
|
|
|
25718
25718
|
},
|
|
25719
25719
|
transition: {
|
|
25720
25720
|
duration: r,
|
|
25721
|
-
ease:
|
|
25721
|
+
ease: pr
|
|
25722
25722
|
},
|
|
25723
25723
|
children: /* @__PURE__ */ Q(Ln.div, {
|
|
25724
25724
|
className: "pointer-events-auto",
|
|
@@ -25726,7 +25726,7 @@ var aG = ({ channel: e }) => {
|
|
|
25726
25726
|
animate: { scale: 1 },
|
|
25727
25727
|
transition: {
|
|
25728
25728
|
duration: r,
|
|
25729
|
-
ease:
|
|
25729
|
+
ease: pr
|
|
25730
25730
|
},
|
|
25731
25731
|
children: /* @__PURE__ */ Q(fi, {
|
|
25732
25732
|
label: l,
|
|
@@ -26028,7 +26028,7 @@ var aG = ({ channel: e }) => {
|
|
|
26028
26028
|
onJumpToBottom: Te
|
|
26029
26029
|
}) : null]
|
|
26030
26030
|
});
|
|
26031
|
-
}, vG = Ju(() => import("./ChatPostComposerDialog-
|
|
26031
|
+
}, vG = Ju(() => import("./ChatPostComposerDialog-BhlQzTXz.js").then((e) => ({ default: e.ChatPostComposerDialog }))), yG = () => {
|
|
26032
26032
|
let e = R(), { createPost: t, composePost: n, searchMembers: r } = zu(), i = Du(), [a, o] = X(!1);
|
|
26033
26033
|
return !t && !n ? null : /* @__PURE__ */ $("div", {
|
|
26034
26034
|
className: "pointer-events-none shrink-0 p-4 pt-0",
|
|
@@ -26170,7 +26170,7 @@ var aG = ({ channel: e }) => {
|
|
|
26170
26170
|
variant: "outline",
|
|
26171
26171
|
size: "sm",
|
|
26172
26172
|
label: e.chat.retry,
|
|
26173
|
-
icon:
|
|
26173
|
+
icon: Bi,
|
|
26174
26174
|
onClick: () => void t()
|
|
26175
26175
|
}) : null]
|
|
26176
26176
|
}) });
|
|
@@ -26191,7 +26191,7 @@ var aG = ({ channel: e }) => {
|
|
|
26191
26191
|
}), AG = ({ attachment: e, uploading: t, onRemove: n, onOpen: r }) => {
|
|
26192
26192
|
let i = R(), a = {
|
|
26193
26193
|
label: i.t("chat.removeNamedFile", { name: e.kind === "location" ? e.name ?? i.chat.location : e.kind === "voice" ? i.chat.voiceNote : e.name }),
|
|
26194
|
-
icon:
|
|
26194
|
+
icon: Yo,
|
|
26195
26195
|
onClick: n
|
|
26196
26196
|
};
|
|
26197
26197
|
return e.kind === "image" || e.kind === "file" ? /* @__PURE__ */ Q(Ei, {
|
|
@@ -26268,7 +26268,7 @@ var aG = ({ channel: e }) => {
|
|
|
26268
26268
|
...n,
|
|
26269
26269
|
text: t
|
|
26270
26270
|
} : n))), p = (e) => s((t) => IG(t.filter((t) => t.id !== e)));
|
|
26271
|
-
return /* @__PURE__ */ Q(
|
|
26271
|
+
return /* @__PURE__ */ Q(_a, {
|
|
26272
26272
|
isOpen: !0,
|
|
26273
26273
|
onClose: t,
|
|
26274
26274
|
width: "sm",
|
|
@@ -26292,7 +26292,7 @@ var aG = ({ channel: e }) => {
|
|
|
26292
26292
|
className: "flex flex-col gap-4",
|
|
26293
26293
|
"data-testid": "chat-poll-composer",
|
|
26294
26294
|
children: [
|
|
26295
|
-
/* @__PURE__ */ Q(
|
|
26295
|
+
/* @__PURE__ */ Q($o, {
|
|
26296
26296
|
label: n.chat.poll.question,
|
|
26297
26297
|
placeholder: n.chat.poll.questionPlaceholder,
|
|
26298
26298
|
value: i,
|
|
@@ -26310,7 +26310,7 @@ var aG = ({ channel: e }) => {
|
|
|
26310
26310
|
onBlur: () => s(IG),
|
|
26311
26311
|
children: [/* @__PURE__ */ Q("div", {
|
|
26312
26312
|
className: "min-w-0 flex-1",
|
|
26313
|
-
children: /* @__PURE__ */ Q(
|
|
26313
|
+
children: /* @__PURE__ */ Q($o, {
|
|
26314
26314
|
hideLabel: !0,
|
|
26315
26315
|
label: `${n.chat.poll.options} ${t + 1}`,
|
|
26316
26316
|
placeholder: n.chat.poll.optionPlaceholder,
|
|
@@ -26325,7 +26325,7 @@ var aG = ({ channel: e }) => {
|
|
|
26325
26325
|
variant: "ghost",
|
|
26326
26326
|
size: "md",
|
|
26327
26327
|
hideLabel: !0,
|
|
26328
|
-
icon:
|
|
26328
|
+
icon: Yo,
|
|
26329
26329
|
label: n.chat.poll.removeOption,
|
|
26330
26330
|
onClick: () => p(e.id)
|
|
26331
26331
|
})]
|
|
@@ -26352,16 +26352,16 @@ var aG = ({ channel: e }) => {
|
|
|
26352
26352
|
}, zG = ({ onAttach: e, canAttach: t, onEmoji: n, onCreatePoll: r }) => {
|
|
26353
26353
|
let i = R(), [a, o] = X(!1), [s, c] = X(!1), [l, u] = X(!1), d = [{
|
|
26354
26354
|
label: i.chat.files,
|
|
26355
|
-
icon:
|
|
26355
|
+
icon: Va,
|
|
26356
26356
|
onClick: e,
|
|
26357
26357
|
disabled: !t
|
|
26358
26358
|
}, {
|
|
26359
26359
|
label: i.chat.poll.menu,
|
|
26360
|
-
icon:
|
|
26360
|
+
icon: Qa,
|
|
26361
26361
|
onClick: () => u(!0)
|
|
26362
26362
|
}];
|
|
26363
26363
|
return /* @__PURE__ */ $(Z, { children: [
|
|
26364
|
-
r ? /* @__PURE__ */ Q(
|
|
26364
|
+
r ? /* @__PURE__ */ Q(Xi, {
|
|
26365
26365
|
items: d,
|
|
26366
26366
|
align: "start",
|
|
26367
26367
|
side: "top",
|
|
@@ -26382,7 +26382,7 @@ var aG = ({ channel: e }) => {
|
|
|
26382
26382
|
size: "md",
|
|
26383
26383
|
hideLabel: !0,
|
|
26384
26384
|
label: i.chat.attachFile,
|
|
26385
|
-
icon:
|
|
26385
|
+
icon: Va,
|
|
26386
26386
|
onClick: e,
|
|
26387
26387
|
disabled: !t
|
|
26388
26388
|
}),
|
|
@@ -26403,7 +26403,7 @@ var aG = ({ channel: e }) => {
|
|
|
26403
26403
|
size: "md",
|
|
26404
26404
|
hideLabel: !0,
|
|
26405
26405
|
label: i.chat.addEmoji,
|
|
26406
|
-
icon:
|
|
26406
|
+
icon: Gr,
|
|
26407
26407
|
pressed: a
|
|
26408
26408
|
})
|
|
26409
26409
|
}), /* @__PURE__ */ Q(Il, {
|
|
@@ -26458,7 +26458,7 @@ var aG = ({ channel: e }) => {
|
|
|
26458
26458
|
size: "sm",
|
|
26459
26459
|
hideLabel: !0,
|
|
26460
26460
|
label: n.chat.cancelEdit,
|
|
26461
|
-
icon:
|
|
26461
|
+
icon: Yo,
|
|
26462
26462
|
onClick: t
|
|
26463
26463
|
})
|
|
26464
26464
|
})
|
|
@@ -26538,7 +26538,7 @@ var HG = ({ message: e, onRemove: t }) => {
|
|
|
26538
26538
|
size: "sm",
|
|
26539
26539
|
hideLabel: !0,
|
|
26540
26540
|
label: n.chat.removeQuote,
|
|
26541
|
-
icon:
|
|
26541
|
+
icon: Yo,
|
|
26542
26542
|
onClick: t
|
|
26543
26543
|
})
|
|
26544
26544
|
})
|
|
@@ -27046,7 +27046,7 @@ var bK = (e, t) => e?.canAskOne === !0 && t !== "announcement" && t !== "communi
|
|
|
27046
27046
|
size: e.size,
|
|
27047
27047
|
mimeType: e.type
|
|
27048
27048
|
}, DK = (e, t) => e && t, OK = (e, { maxFileSizeBytes: t, maxFiles: n, attached: r, labels: i }) => {
|
|
27049
|
-
let a = t === void 0 ? [] : e.filter((e) => e.size > t), o = t !== void 0 && a.length > 0 ? i.fileTooLargeError.replace("{{maxFileSize}}",
|
|
27049
|
+
let a = t === void 0 ? [] : e.filter((e) => e.size > t), o = t !== void 0 && a.length > 0 ? i.fileTooLargeError.replace("{{maxFileSize}}", ja(t)) : null, s = e.filter((e) => !a.includes(e));
|
|
27050
27050
|
if (n === void 0 || r + s.length <= n) return {
|
|
27051
27051
|
tooLarge: a,
|
|
27052
27052
|
accepted: s,
|
|
@@ -27059,7 +27059,7 @@ var bK = (e, t) => e?.canAskOne === !0 && t !== "announcement" && t !== "communi
|
|
|
27059
27059
|
error: o === null ? c : `${o}. ${c}`
|
|
27060
27060
|
};
|
|
27061
27061
|
}, kK = () => {
|
|
27062
|
-
let e = R(), { sendMessage: t, editMessage: n, onInputActivity: r, stopTyping: i, uploadFiles: a, transcribe: o, maxFiles: s, maxFileSizeBytes: c, onFileTooLarge: l, maxMessageCharacters: u, channel: d, searchMembers: f, capabilities: p, createPoll: m } = zu(), h = bK(p, d.type), g = !!a && HR("canUpload", d.type, p), { target: _ } = pL(), { clearComposeTarget: v, registerComposerHandle: y } = mL(), b = _K(), { registerFileDropHandler: x } = hL(), S = Du(), { reducedMotion: C, composerVariant: w, isComposerMarkdown: T } = ML(), E = Xu(UG), D = UI(T), O = !!C, k = Y(null), [A, j] = X([]), M = Y(null), N = Y(null), P = Y(/* @__PURE__ */ new Set()), F = Y(0), { error: I, show: ee, clear: te } =
|
|
27062
|
+
let e = R(), { sendMessage: t, editMessage: n, onInputActivity: r, stopTyping: i, uploadFiles: a, transcribe: o, maxFiles: s, maxFileSizeBytes: c, onFileTooLarge: l, maxMessageCharacters: u, channel: d, searchMembers: f, capabilities: p, createPoll: m } = zu(), h = bK(p, d.type), g = !!a && HR("canUpload", d.type, p), { target: _ } = pL(), { clearComposeTarget: v, registerComposerHandle: y } = mL(), b = _K(), { registerFileDropHandler: x } = hL(), S = Du(), { reducedMotion: C, composerVariant: w, isComposerMarkdown: T } = ML(), E = Xu(UG), D = UI(T), O = !!C, k = Y(null), [A, j] = X([]), M = Y(null), N = Y(null), P = Y(/* @__PURE__ */ new Set()), F = Y(0), { error: I, show: ee, clear: te } = vs(), ne = _.kind === "edit", re = _.kind === "edit" ? _.message : null, ie = _.kind === "reply" ? _.message : null, ae = mK({
|
|
27063
27063
|
composerRef: k,
|
|
27064
27064
|
canAskOne: h,
|
|
27065
27065
|
isEditing: ne,
|
|
@@ -27178,16 +27178,16 @@ var bK = (e, t) => e?.canAskOne === !0 && t !== "announcement" && t !== "communi
|
|
|
27178
27178
|
let e = [];
|
|
27179
27179
|
for (let { status: t, attachment: n } of xe) if (t === "ready") {
|
|
27180
27180
|
if (n.kind === "image") {
|
|
27181
|
-
let t =
|
|
27181
|
+
let t = Wo(e.length, n.url);
|
|
27182
27182
|
e.push({
|
|
27183
27183
|
file: n,
|
|
27184
|
-
item:
|
|
27184
|
+
item: Ja(n, t)
|
|
27185
27185
|
});
|
|
27186
27186
|
} else if (n.kind === "file") {
|
|
27187
|
-
let t =
|
|
27187
|
+
let t = Wo(e.length, n.url);
|
|
27188
27188
|
e.push({
|
|
27189
27189
|
file: n,
|
|
27190
|
-
item:
|
|
27190
|
+
item: za(n, t, { inferImages: !1 })
|
|
27191
27191
|
});
|
|
27192
27192
|
}
|
|
27193
27193
|
}
|
|
@@ -27381,7 +27381,7 @@ var bK = (e, t) => e?.canAskOne === !0 && t !== "announcement" && t !== "communi
|
|
|
27381
27381
|
});
|
|
27382
27382
|
}, [S]), Be = {
|
|
27383
27383
|
duration: O ? 0 : .18,
|
|
27384
|
-
ease:
|
|
27384
|
+
ease: pr
|
|
27385
27385
|
}, Ve = J(() => [...A.map((e) => e.attachment), ...ie?.attachments ?? []], [A, ie]), He = yK({
|
|
27386
27386
|
visible: ae.showHint,
|
|
27387
27387
|
attachments: Ve
|
|
@@ -27429,7 +27429,7 @@ var bK = (e, t) => e?.canAskOne === !0 && t !== "announcement" && t !== "communi
|
|
|
27429
27429
|
}, "reply-chip") : null
|
|
27430
27430
|
}), We = (e) => Se.some((t) => t.file === e && t.item !== null) ? () => {
|
|
27431
27431
|
Ce.openFile(e);
|
|
27432
|
-
} : void 0, Ge = /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(VG, { message: He }), /* @__PURE__ */ Q(
|
|
27432
|
+
} : void 0, Ge = /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(VG, { message: He }), /* @__PURE__ */ Q(ua, {
|
|
27433
27433
|
items: xe.map((e) => ({
|
|
27434
27434
|
id: e.id,
|
|
27435
27435
|
content: /* @__PURE__ */ Q(jG, {
|
|
@@ -28023,7 +28023,7 @@ var eq = bn(Tn("F0ENPSButton", $K)), tq = {
|
|
|
28023
28023
|
children: e
|
|
28024
28024
|
}) : null
|
|
28025
28025
|
});
|
|
28026
|
-
}), { Skeleton: Ge.Skeleton }), mq =
|
|
28026
|
+
}), { Skeleton: Ge.Skeleton }), mq = cs(Ku(function({ canBeBlurred: e, ...t }, n) {
|
|
28027
28027
|
let r = {
|
|
28028
28028
|
...t,
|
|
28029
28029
|
header: {
|
|
@@ -28051,7 +28051,7 @@ var eq = bn(Tn("F0ENPSButton", $K)), tq = {
|
|
|
28051
28051
|
...e.chart
|
|
28052
28052
|
})
|
|
28053
28053
|
});
|
|
28054
|
-
}), _q = Tn("BarChartWidget",
|
|
28054
|
+
}), _q = Tn("BarChartWidget", cs(gq, pq.Skeleton)), vq = cs(Ku(function(e, t) {
|
|
28055
28055
|
return /* @__PURE__ */ Q(pq, {
|
|
28056
28056
|
ref: t,
|
|
28057
28057
|
...e,
|
|
@@ -28060,19 +28060,19 @@ var eq = bn(Tn("F0ENPSButton", $K)), tq = {
|
|
|
28060
28060
|
...e.chart
|
|
28061
28061
|
})
|
|
28062
28062
|
});
|
|
28063
|
-
}), pq.Skeleton), yq = Tn("LineChartWidget", vq), bq =
|
|
28063
|
+
}), pq.Skeleton), yq = Tn("LineChartWidget", vq), bq = cs(Ku(function(e, t) {
|
|
28064
28064
|
return /* @__PURE__ */ Q(pq, {
|
|
28065
28065
|
ref: t,
|
|
28066
28066
|
...e,
|
|
28067
28067
|
chart: /* @__PURE__ */ Q(k, { ...e.chart })
|
|
28068
28068
|
});
|
|
28069
|
-
}), pq.Skeleton), xq = Tn("PieChartWidget", bq), Sq =
|
|
28069
|
+
}), pq.Skeleton), xq = Tn("PieChartWidget", bq), Sq = cs(Ku(function(e, t) {
|
|
28070
28070
|
return /* @__PURE__ */ Q(pq, {
|
|
28071
28071
|
ref: t,
|
|
28072
28072
|
...e,
|
|
28073
28073
|
chart: null
|
|
28074
28074
|
});
|
|
28075
|
-
}), pq.Skeleton), Cq = Tn("SummariesWidget", Sq), wq =
|
|
28075
|
+
}), pq.Skeleton), Cq = Tn("SummariesWidget", Sq), wq = cs(Ku(function(e, t) {
|
|
28076
28076
|
return /* @__PURE__ */ Q(pq, {
|
|
28077
28077
|
ref: t,
|
|
28078
28078
|
...e,
|
|
@@ -28370,13 +28370,13 @@ var eq = bn(Tn("F0ENPSButton", $K)), tq = {
|
|
|
28370
28370
|
"bar-chart": "promote"
|
|
28371
28371
|
}, Rq = Ku(function({ title: e, content: t, buttonLabel: n, buttonIcon: r, buttonAction: i, type: a }, o) {
|
|
28372
28372
|
let s = Pq[a], c = Fq[a], l = Iq[a], u = Lq[a];
|
|
28373
|
-
return /* @__PURE__ */ $(
|
|
28373
|
+
return /* @__PURE__ */ $(Ta, {
|
|
28374
28374
|
className: B("relative flex gap-4 overflow-hidden border-dashed", s),
|
|
28375
28375
|
ref: o,
|
|
28376
|
-
children: [/* @__PURE__ */ Q(
|
|
28376
|
+
children: [/* @__PURE__ */ Q(To, {
|
|
28377
28377
|
className: "-mt-0.5",
|
|
28378
|
-
children: /* @__PURE__ */ Q(
|
|
28379
|
-
}), /* @__PURE__ */ $(
|
|
28378
|
+
children: /* @__PURE__ */ Q(Ba, { children: e })
|
|
28379
|
+
}), /* @__PURE__ */ $(ns, {
|
|
28380
28380
|
className: B("flex flex-col gap-4", c),
|
|
28381
28381
|
children: [/* @__PURE__ */ $("div", {
|
|
28382
28382
|
className: B("absolute -top-12 bottom-0 left-0 right-0 flex flex-col justify-end bg-gradient-to-b to-transparent opacity-30", l),
|
|
@@ -28851,7 +28851,7 @@ var uJ = (e, t) => ((t ?? 0) < -1 * (e ?? 0) ? -1 * e : t) ?? 0, dJ = {
|
|
|
28851
28851
|
color: dJ.empty
|
|
28852
28852
|
}), c;
|
|
28853
28853
|
}, hJ = ({ data: e = [], remainingMinutes: t, trackedMinutes: n = 0 }) => {
|
|
28854
|
-
let r = e.find((e) => e.variant === "clocked-in")?.from, i = e.at(-1), a = r ?
|
|
28854
|
+
let r = e.find((e) => e.variant === "clocked-in")?.from, i = e.at(-1), a = r ? gi(r) : fJ, o = t === void 0 || t > 0 ? fJ : i ? gi(i.to) : fJ, s = i?.variant === "break" ? i?.to.getTime() - i?.from.getTime() || 0 : n * 60 * 1e3, c = Math.floor(s / 36e5), l = Math.floor(s % 36e5 / 6e4);
|
|
28855
28855
|
return {
|
|
28856
28856
|
primaryLabel: a,
|
|
28857
28857
|
secondaryLabel: o,
|
|
@@ -28863,7 +28863,7 @@ var uJ = (e, t) => ((t ?? 0) < -1 * (e ?? 0) ? -1 * e : t) ?? 0, dJ = {
|
|
|
28863
28863
|
}, vJ = (e) => {
|
|
28864
28864
|
if (!e.from || !e.to) return;
|
|
28865
28865
|
let t = Math.round((e.to.getTime() - e.from.getTime()) / 6e4);
|
|
28866
|
-
return [`${
|
|
28866
|
+
return [`${gi(e.from)} – ${gi(e.to)} (${_J(t)})`, e.label].filter(Boolean).join(gJ);
|
|
28867
28867
|
};
|
|
28868
28868
|
function yJ({ segments: e }) {
|
|
28869
28869
|
let t = e.map(vJ);
|
|
@@ -28921,7 +28921,7 @@ function bJ({ data: e = [], trackedMinutes: t = 0, remainingMinutes: n, variant:
|
|
|
28921
28921
|
dataKey: "value",
|
|
28922
28922
|
strokeWidth: 0,
|
|
28923
28923
|
isAnimationActive: !1,
|
|
28924
|
-
children: i.map((e, t) => /* @__PURE__ */ Q(
|
|
28924
|
+
children: i.map((e, t) => /* @__PURE__ */ Q(ts, {
|
|
28925
28925
|
fill: e.color,
|
|
28926
28926
|
role: "presentation",
|
|
28927
28927
|
"aria-label": `${e.value} minutes`
|
|
@@ -29081,7 +29081,7 @@ function jJ({ locations: e, locationId: t, onChangeLocationId: n, label: r, sear
|
|
|
29081
29081
|
onChange: n,
|
|
29082
29082
|
label: r,
|
|
29083
29083
|
searchPlaceholder: i,
|
|
29084
|
-
fieldIcon:
|
|
29084
|
+
fieldIcon: ca,
|
|
29085
29085
|
required: a,
|
|
29086
29086
|
disabled: o
|
|
29087
29087
|
});
|
|
@@ -29121,7 +29121,7 @@ function PJ({ text: e, placeholder: t, icon: n, onClick: r }) {
|
|
|
29121
29121
|
className: B("font-medium", e ? "text-f1-foreground" : "text-f1-foreground-secondary"),
|
|
29122
29122
|
children: e ?? t
|
|
29123
29123
|
}),
|
|
29124
|
-
/* @__PURE__ */ Q(U, { icon:
|
|
29124
|
+
/* @__PURE__ */ Q(U, { icon: da })
|
|
29125
29125
|
]
|
|
29126
29126
|
});
|
|
29127
29127
|
}
|
|
@@ -29232,7 +29232,7 @@ function VJ({ locations: e, locationId: t, onChangeLocationId: n, projects: r, p
|
|
|
29232
29232
|
let c = AJ(e), l = MJ(r), u = RJ(c, t), d = BJ({
|
|
29233
29233
|
locationPath: u,
|
|
29234
29234
|
projectPath: RJ(l, i)
|
|
29235
|
-
}), f = [...u].reverse().find((e) => e.icon)?.icon ?? (e.length ?
|
|
29235
|
+
}), f = [...u].reverse().find((e) => e.icon)?.icon ?? (e.length ? ca : di), p = [
|
|
29236
29236
|
...c.length ? [{
|
|
29237
29237
|
type: "label",
|
|
29238
29238
|
text: o.selectLocation
|
|
@@ -29243,7 +29243,7 @@ function VJ({ locations: e, locationId: t, onChangeLocationId: n, projects: r, p
|
|
|
29243
29243
|
text: o.selectProject
|
|
29244
29244
|
}, ...zJ(l, i, a)] : []
|
|
29245
29245
|
], m = [e.length ? o.selectLocation : void 0, r.length ? o.selectProject : void 0].filter(Boolean).join(LJ);
|
|
29246
|
-
return /* @__PURE__ */ Q(
|
|
29246
|
+
return /* @__PURE__ */ Q(Io, {
|
|
29247
29247
|
items: p,
|
|
29248
29248
|
align: "end",
|
|
29249
29249
|
disabled: s,
|
|
@@ -29382,7 +29382,7 @@ function KJ({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
29382
29382
|
onClick: l,
|
|
29383
29383
|
label: r.clockOut,
|
|
29384
29384
|
variant: "outline",
|
|
29385
|
-
icon:
|
|
29385
|
+
icon: Yr
|
|
29386
29386
|
})] }) : null,
|
|
29387
29387
|
A === "break" ? fe === "clock-out" ? /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(H, {
|
|
29388
29388
|
onClick: c,
|
|
@@ -29393,12 +29393,12 @@ function KJ({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
29393
29393
|
}), /* @__PURE__ */ Q(H, {
|
|
29394
29394
|
onClick: l,
|
|
29395
29395
|
label: r.clockOut,
|
|
29396
|
-
icon:
|
|
29396
|
+
icon: Yr
|
|
29397
29397
|
})] }) : /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(H, {
|
|
29398
29398
|
onClick: l,
|
|
29399
29399
|
label: r.clockOut,
|
|
29400
29400
|
variant: "outline",
|
|
29401
|
-
icon:
|
|
29401
|
+
icon: Yr,
|
|
29402
29402
|
hideLabel: !0
|
|
29403
29403
|
}), /* @__PURE__ */ Q(H, {
|
|
29404
29404
|
onClick: c,
|
|
@@ -29615,9 +29615,9 @@ function KJ({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
29615
29615
|
//#endregion
|
|
29616
29616
|
//#region src/domains/employee-lifecycle/profile/Profile/TasksList/TaskItem/TaskItem.tsx
|
|
29617
29617
|
var qJ = {
|
|
29618
|
-
done:
|
|
29619
|
-
"in-progress":
|
|
29620
|
-
todo:
|
|
29618
|
+
done: oo,
|
|
29619
|
+
"in-progress": wr,
|
|
29620
|
+
todo: lr
|
|
29621
29621
|
}, JJ = {
|
|
29622
29622
|
done: "text-f1-icon-success",
|
|
29623
29623
|
"in-progress": "text-f1-icon-info",
|
|
@@ -29640,7 +29640,7 @@ function YJ({ task: e, status: t, onClick: n, hideIcon: r = !1 }) {
|
|
|
29640
29640
|
} : void 0,
|
|
29641
29641
|
rawTag: e.badge && !e.badge.isPastDue ? {
|
|
29642
29642
|
text: e.badge.text,
|
|
29643
|
-
icon:
|
|
29643
|
+
icon: Ns
|
|
29644
29644
|
} : void 0,
|
|
29645
29645
|
count: e.counter,
|
|
29646
29646
|
onClick: i
|
|
@@ -29816,7 +29816,7 @@ function SY() {
|
|
|
29816
29816
|
variant: "ghost",
|
|
29817
29817
|
onClick: () => t(),
|
|
29818
29818
|
label: "Open main menu",
|
|
29819
|
-
icon:
|
|
29819
|
+
icon: Za,
|
|
29820
29820
|
hideLabel: !0
|
|
29821
29821
|
}) : null] });
|
|
29822
29822
|
}
|
|
@@ -30048,7 +30048,7 @@ function JY({ avatar: e, avatarSize: t = "lg", left: n, title: r, subtitle: i, s
|
|
|
30048
30048
|
size: y ? "md" : "sm",
|
|
30049
30049
|
onClick: e.onClick
|
|
30050
30050
|
});
|
|
30051
|
-
return e.items ? /* @__PURE__ */ Q(
|
|
30051
|
+
return e.items ? /* @__PURE__ */ Q(Io, {
|
|
30052
30052
|
items: e.items,
|
|
30053
30053
|
align: "end",
|
|
30054
30054
|
open: b === e.label,
|
|
@@ -30150,7 +30150,7 @@ var YY = Bu.createContext(void 0), XY = ({ tracking: e, children: t }) => /* @__
|
|
|
30150
30150
|
avatarSize: r ? gX : n
|
|
30151
30151
|
} : {};
|
|
30152
30152
|
}, vX = (e, t, n, r) => {
|
|
30153
|
-
if (e) return e === "counter" ? t.count == null ? void 0 : /* @__PURE__ */ Q(Pn, { value: t.count }) : e === "date" ? t.date ? /* @__PURE__ */ Q(
|
|
30153
|
+
if (e) return e === "counter" ? t.count == null ? void 0 : /* @__PURE__ */ Q(Pn, { value: t.count }) : e === "date" ? t.date ? /* @__PURE__ */ Q(mr, {
|
|
30154
30154
|
date: w(t.date),
|
|
30155
30155
|
size: r ? "lg" : "md"
|
|
30156
30156
|
}) : void 0 : e.endsWith("-list") ? t.avatars && t.avatars.length > 0 ? /* @__PURE__ */ Q(dc, {
|
|
@@ -30246,7 +30246,7 @@ function SX({ params: e, ctx: t }) {
|
|
|
30246
30246
|
}
|
|
30247
30247
|
})
|
|
30248
30248
|
}) : null,
|
|
30249
|
-
/* @__PURE__ */ Q(
|
|
30249
|
+
/* @__PURE__ */ Q(_a, {
|
|
30250
30250
|
isOpen: l,
|
|
30251
30251
|
onClose: d,
|
|
30252
30252
|
title: s?.title,
|
|
@@ -30646,7 +30646,7 @@ function JX({ header: e, params: t, fullHeight: n, action: r, summaries: i, head
|
|
|
30646
30646
|
size: "sm",
|
|
30647
30647
|
...e
|
|
30648
30648
|
}, t)),
|
|
30649
|
-
s ? /* @__PURE__ */ Q(
|
|
30649
|
+
s ? /* @__PURE__ */ Q(Xi, {
|
|
30650
30650
|
items: s.options.map((e) => ({
|
|
30651
30651
|
label: e.label,
|
|
30652
30652
|
...e.value === E ? { icon: bl } : e.icon ? { icon: e.icon } : {},
|
|
@@ -30779,7 +30779,7 @@ function tZ({ isOpen: e, onClose: t, schema: n, params: r, renderPreview: i, inf
|
|
|
30779
30779
|
let u = R(), { position: d, width: f, bodyClassName: m, asideClassName: h } = XX(), { formRef: g, getValues: _, trigger: v } = L(), [y, b] = X(r ?? {});
|
|
30780
30780
|
return K(() => {
|
|
30781
30781
|
e && b(r ?? {});
|
|
30782
|
-
}, [e, r]), /* @__PURE__ */ Q(
|
|
30782
|
+
}, [e, r]), /* @__PURE__ */ Q(_a, {
|
|
30783
30783
|
isOpen: e,
|
|
30784
30784
|
onClose: t,
|
|
30785
30785
|
title: c ?? u.widgets.editParamsTitle,
|
|
@@ -30861,7 +30861,7 @@ var nZ = (e) => {
|
|
|
30861
30861
|
return n < e.length && t.push({ text: e.slice(n) }), t;
|
|
30862
30862
|
}, dZ = ({ text: e }) => /* @__PURE__ */ Q("div", {
|
|
30863
30863
|
className: "text-center text-f1-foreground-secondary",
|
|
30864
|
-
children: uZ(e).map((e, t) => /* @__PURE__ */ Q(Hu, { children: "href" in e ? /* @__PURE__ */ Q(
|
|
30864
|
+
children: uZ(e).map((e, t) => /* @__PURE__ */ Q(Hu, { children: "href" in e ? /* @__PURE__ */ Q(zo, {
|
|
30865
30865
|
href: e.href,
|
|
30866
30866
|
children: e.label
|
|
30867
30867
|
}) : e.text }, t))
|
|
@@ -31141,11 +31141,11 @@ function RZ({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
|
|
|
31141
31141
|
onClick: () => ue(e.id)
|
|
31142
31142
|
}), e.paramsSchema && y && t.push({
|
|
31143
31143
|
label: w ?? O.widgets.editParams,
|
|
31144
|
-
icon:
|
|
31144
|
+
icon: si,
|
|
31145
31145
|
onClick: () => se(e.id)
|
|
31146
31146
|
}), k && !e.locked && d && (t.length > 0 && t.push({ type: "separator" }), t.push({
|
|
31147
31147
|
label: C ?? O.widgets.removeWidget,
|
|
31148
|
-
icon:
|
|
31148
|
+
icon: Po,
|
|
31149
31149
|
critical: !0,
|
|
31150
31150
|
onClick: () => d(e.id)
|
|
31151
31151
|
})), t;
|
|
@@ -31184,7 +31184,7 @@ function RZ({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
|
|
|
31184
31184
|
className: "relative",
|
|
31185
31185
|
children: [o, /* @__PURE__ */ Q("div", {
|
|
31186
31186
|
className: "absolute right-3 top-3 z-10",
|
|
31187
|
-
children: /* @__PURE__ */ Q(
|
|
31187
|
+
children: /* @__PURE__ */ Q(Io, {
|
|
31188
31188
|
items: r,
|
|
31189
31189
|
align: "end",
|
|
31190
31190
|
children: /* @__PURE__ */ Q(H, {
|
|
@@ -31309,14 +31309,14 @@ var zZ = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
31309
31309
|
K(() => {
|
|
31310
31310
|
r && s(!0);
|
|
31311
31311
|
}, [r]);
|
|
31312
|
-
let c = o && !a, l = fY(e, c ? 180 : 0), d = e ? l || t ? "panel" : "retracting" : "column", f = d === "panel", p = !f || t, m =
|
|
31312
|
+
let c = o && !a, l = fY(e, c ? 180 : 0), d = e ? l || t ? "panel" : "retracting" : "column", f = d === "panel", p = !f || t, m = qr(i), h = u(m, (e) => `${e}px`);
|
|
31313
31313
|
return q(() => {
|
|
31314
31314
|
if (!r) return;
|
|
31315
31315
|
if (!c) {
|
|
31316
31316
|
m.jump(i);
|
|
31317
31317
|
return;
|
|
31318
31318
|
}
|
|
31319
|
-
let e =
|
|
31319
|
+
let e = Nr(m, i, uY);
|
|
31320
31320
|
return () => e.stop();
|
|
31321
31321
|
}, [
|
|
31322
31322
|
r,
|
|
@@ -31473,7 +31473,7 @@ var zZ = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
31473
31473
|
"aria-label": be,
|
|
31474
31474
|
children: /* @__PURE__ */ Q(cu, { isExpanded: !L })
|
|
31475
31475
|
})
|
|
31476
|
-
}) : null, O ? null : /* @__PURE__ */ Q(
|
|
31476
|
+
}) : null, O ? null : /* @__PURE__ */ Q(io, {
|
|
31477
31477
|
tooltip: E,
|
|
31478
31478
|
autoOpen: D
|
|
31479
31479
|
})]
|
|
@@ -31624,9 +31624,9 @@ var zZ = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
31624
31624
|
tracking: v,
|
|
31625
31625
|
children: Ge
|
|
31626
31626
|
});
|
|
31627
|
-
}), ZZ = (e) => e ?
|
|
31627
|
+
}), ZZ = (e) => e ? Ao[e] : void 0, QZ = (e) => e.type === "icon" ? {
|
|
31628
31628
|
...e,
|
|
31629
|
-
icon: ZZ(e.icon) ??
|
|
31629
|
+
icon: ZZ(e.icon) ?? us
|
|
31630
31630
|
} : e, $Z = (e, t, n) => ({
|
|
31631
31631
|
...e.type === "navigate" && sZ(e.href) ? { href: e.href } : {},
|
|
31632
31632
|
onClick: () => n(e, t)
|
|
@@ -32115,7 +32115,7 @@ var zZ = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
32115
32115
|
children: e.change.from
|
|
32116
32116
|
}),
|
|
32117
32117
|
/* @__PURE__ */ Q(U, {
|
|
32118
|
-
icon:
|
|
32118
|
+
icon: bs,
|
|
32119
32119
|
size: "sm",
|
|
32120
32120
|
color: "default"
|
|
32121
32121
|
}),
|
|
@@ -32261,7 +32261,7 @@ var zZ = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
32261
32261
|
}) : null
|
|
32262
32262
|
]
|
|
32263
32263
|
}),
|
|
32264
|
-
r ? /* @__PURE__ */ Q(
|
|
32264
|
+
r ? /* @__PURE__ */ Q(mr, {
|
|
32265
32265
|
date: r,
|
|
32266
32266
|
size: "lg"
|
|
32267
32267
|
}) : null
|
|
@@ -32660,7 +32660,7 @@ var k$ = Gu(null), A$ = () => Xu(k$), j$ = ({ action: e, rows: t, ...n }, r, i)
|
|
|
32660
32660
|
content: e.value ?? ""
|
|
32661
32661
|
})
|
|
32662
32662
|
}, t);
|
|
32663
|
-
case "link": return e.url && lZ(e.url) ? /* @__PURE__ */ Q(
|
|
32663
|
+
case "link": return e.url && lZ(e.url) ? /* @__PURE__ */ Q(zo, {
|
|
32664
32664
|
href: e.url,
|
|
32665
32665
|
children: t1(e)
|
|
32666
32666
|
}, t) : t1(e);
|
|
@@ -33125,7 +33125,7 @@ var k$ = Gu(null), A$ = () => Xu(k$), j$ = ({ action: e, rows: t, ...n }, r, i)
|
|
|
33125
33125
|
slotRenderers: n0
|
|
33126
33126
|
}), i0 = ({ items: e, onAction: t }) => {
|
|
33127
33127
|
let n = R();
|
|
33128
|
-
return /* @__PURE__ */ Q(
|
|
33128
|
+
return /* @__PURE__ */ Q(Xi, {
|
|
33129
33129
|
items: e.map((e) => e.type === "separator" ? { type: "separator" } : {
|
|
33130
33130
|
label: e.label,
|
|
33131
33131
|
icon: ZZ(e.icon),
|
|
@@ -33154,7 +33154,7 @@ var k$ = Gu(null), A$ = () => Xu(k$), j$ = ({ action: e, rows: t, ...n }, r, i)
|
|
|
33154
33154
|
} }), n = c + i.length;
|
|
33155
33155
|
}
|
|
33156
33156
|
return n < e.length && t.push({ text: e.slice(n) }), t;
|
|
33157
|
-
}, f0 = ({ text: e }) => /* @__PURE__ */ Q(Z, { children: uZ(e).map((e, t) => /* @__PURE__ */ Q(Hu, { children: "href" in e ? /* @__PURE__ */ Q(
|
|
33157
|
+
}, f0 = ({ text: e }) => /* @__PURE__ */ Q(Z, { children: uZ(e).map((e, t) => /* @__PURE__ */ Q(Hu, { children: "href" in e ? /* @__PURE__ */ Q(zo, {
|
|
33158
33158
|
href: e.href,
|
|
33159
33159
|
children: e.label
|
|
33160
33160
|
}) : /* @__PURE__ */ Q(l0, { text: e.text }) }, t)) }), p0 = ({ text: e }) => {
|
|
@@ -33307,7 +33307,7 @@ var k$ = Gu(null), A$ = () => Xu(k$), j$ = ({ action: e, rows: t, ...n }, r, i)
|
|
|
33307
33307
|
}), d = E0(e.actions, (e) => {
|
|
33308
33308
|
o(), u(e.action, {});
|
|
33309
33309
|
});
|
|
33310
|
-
return /* @__PURE__ */ Q(
|
|
33310
|
+
return /* @__PURE__ */ Q(_a, {
|
|
33311
33311
|
isOpen: a,
|
|
33312
33312
|
onClose: o,
|
|
33313
33313
|
position: n === "drawer" ? "right" : "center",
|
|
@@ -33479,7 +33479,7 @@ var k$ = Gu(null), A$ = () => Xu(k$), j$ = ({ action: e, rows: t, ...n }, r, i)
|
|
|
33479
33479
|
children: /* @__PURE__ */ Q(U, {
|
|
33480
33480
|
size: "lg",
|
|
33481
33481
|
color: F0,
|
|
33482
|
-
icon: t || g ? s.icon : o ??
|
|
33482
|
+
icon: t || g ? s.icon : o ?? Ss
|
|
33483
33483
|
})
|
|
33484
33484
|
})
|
|
33485
33485
|
})]
|
|
@@ -34126,7 +34126,7 @@ function U2({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
|
|
|
34126
34126
|
...r.length ? [{
|
|
34127
34127
|
id: "recommended",
|
|
34128
34128
|
label: u.widgets.recommended,
|
|
34129
|
-
icon:
|
|
34129
|
+
icon: Fr,
|
|
34130
34130
|
items: r
|
|
34131
34131
|
}] : [],
|
|
34132
34132
|
...(i ?? []).map((e) => ({
|
|
@@ -34150,7 +34150,7 @@ function U2({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
|
|
|
34150
34150
|
e && (x("pick"), C(!1), E(null));
|
|
34151
34151
|
}, [e]), K(() => {
|
|
34152
34152
|
b === "configure" && !I && x("pick");
|
|
34153
|
-
}, [b, I]), /* @__PURE__ */ Q(
|
|
34153
|
+
}, [b, I]), /* @__PURE__ */ Q(_a, {
|
|
34154
34154
|
isOpen: e,
|
|
34155
34155
|
onClose: t,
|
|
34156
34156
|
title: ee && P ? u.widgets.configureWidget.replace("{{title}}", P.title) : l,
|
|
@@ -34525,16 +34525,16 @@ var C4 = () => {
|
|
|
34525
34525
|
"sm",
|
|
34526
34526
|
"md",
|
|
34527
34527
|
"md"
|
|
34528
|
-
], k4 =
|
|
34528
|
+
], k4 = cs(D4, () => /* @__PURE__ */ Q(Wa, { children: /* @__PURE__ */ Q(D4, { children: O4.map((e, t) => /* @__PURE__ */ Q(Ge.Skeleton, { height: e }, t)) }) })), A4 = ({ children: e }) => /* @__PURE__ */ Q("div", {
|
|
34529
34529
|
className: "flex min-h-40 flex-row items-stretch gap-4 text-f1-foreground @container [&>div]:min-w-[calc(100vw-64px)] @2xl:[&>div]:min-w-[calc(50vw-48px)]",
|
|
34530
34530
|
children: e
|
|
34531
|
-
}), j4 =
|
|
34531
|
+
}), j4 = cs(Ku(function({ children: e }, t) {
|
|
34532
34532
|
return /* @__PURE__ */ Q(ql, {
|
|
34533
34533
|
ref: t,
|
|
34534
34534
|
showBar: !1,
|
|
34535
34535
|
children: /* @__PURE__ */ Q(A4, { children: e })
|
|
34536
34536
|
});
|
|
34537
|
-
}), () => /* @__PURE__ */ Q(
|
|
34537
|
+
}), () => /* @__PURE__ */ Q(Wa, {
|
|
34538
34538
|
orientation: "horizontal",
|
|
34539
34539
|
children: /* @__PURE__ */ $(A4, { children: [
|
|
34540
34540
|
/* @__PURE__ */ Q(Ge.Skeleton, {}),
|
|
@@ -34574,4 +34574,4 @@ var P4 = bn(Tn("WidgetEmptyState", N4)), F4 = ({ identifier: e, allowedRoutes: t
|
|
|
34574
34574
|
type: "layout"
|
|
34575
34575
|
}, ql));
|
|
34576
34576
|
//#endregion
|
|
34577
|
-
export { P2 as AGENTIC_HOME_SPEC_VERSION, be as AUTO_PER_PAGE_MAX, f as AUTO_PER_PAGE_MIN_RESERVED_ROWS, av as ActivityItemList, iv as ActivityItemListSkeleton, RO as ApplicationFrame, Se as AreaChart, Eq as AreaChartWidget, fq as AutoGrid, Zs as Badge, _ as BarChart, Dq as BarChartWidget, rv as BaseActivityItemList, Ve as BaseBanner, iy as BaseCelebration, xy as BaseCommunityPost,
|
|
34577
|
+
export { P2 as AGENTIC_HOME_SPEC_VERSION, be as AUTO_PER_PAGE_MAX, f as AUTO_PER_PAGE_MIN_RESERVED_ROWS, av as ActivityItemList, iv as ActivityItemListSkeleton, RO as ApplicationFrame, Se as AreaChart, Eq as AreaChartWidget, fq as AutoGrid, Zs as Badge, _ as BarChart, Dq as BarChartWidget, rv as BaseActivityItemList, Ve as BaseBanner, iy as BaseCelebration, xy as BaseCommunityPost, Ms as BaseTabs, Hr as BreadcrumbSelect, ak as Breadcrumbs, gy as CalendarEvent, Hq as CalendarEventList, Jt as CardSelectableContainer, It as Carousel, m as CategoryBarChart, lJ as CategoryBarSection, oy as Celebration, ay as CelebrationSkeleton, zq as ChartWidgetEmptyState, Cc as Chip, KJ as ClockInControls, Xt as CoachmarkProvider, se as ComboChart, Cy as CommunityPost, My as CommunityPostCard, Ny as CommunityPostCardSkeleton, Sy as CommunityPostSkeleton, rM as CompanySelector, Pn as Counter, wX as DEFAULT_EXPECTED_ITEMS_COUNT, k4 as Dashboard, XO as DaytimePage, ho as DetailsItem, vi as DetailsItemsList, Ye as Dialog, Xi as Dropdown, hX as EVENT_LIST_GAP, w_ as EntitySelect, et as F0ActionBar, A2 as F0AgenticHome, M2 as F0AgenticHomeBlock, o as F0AiBanner, $d as F0AiCallout, Qo as F0AiPromptRow, Xs as F0AvatarColor, cc as F0AvatarColorList, lc as F0AvatarModule, gl as F0ButtonToggle, cf as F0Callout, xa as F0CardHorizontal, xa as F0CardRow, $h as F0CarouselDialog, qK as F0Chat, JL as F0ChatHistoryLimitCard, Tu as F0ChatProvider, BF as F0CommandPaletteProvider, Ly as F0CommunityPostsCarousel, Ph as F0Composer, bf as F0Confetti, eq as F0ENPSButton, Ad as F0EmojiPicker, Ur as F0FileItem, Ne as F0FormEditableTable, oP as F0InboxItem, sP as F0InboxItemDecision, pP as F0InboxItemGroup, hP as F0InboxItemList, bP as F0InboxItemListSkeleton, yP as F0InboxItemSkeleton, tt as F0LocationInput, yu as F0Map, ou as F0MapControls, Su as F0MapList, iu as F0MapSidebar, pu as F0MapSidebarToggle, gu as F0MapSkeleton, eO as F0Meeting, Hf as F0MeetingCard, ab as F0MeetingProvider, ID as F0MeetingRoom, tO as F0MeetingSlot, $D as F0MeetingSurface, dn as F0NotesTextEditor, ve as F0NotesTextEditorSkeleton, I as F0NumberInput, O as F0NumberInputInline, Si as F0PersonCard, Yt as F0PhoneInput, dN as F0PrimarySidebar, _l as F0ProgressSeries, _p as F0PulseDot, Xh as F0Resizable, mn as F0ResourceHeader, mn as ResourceHeader, Tr as F0RichTextDisplay, ie as F0RichTextEditor, dp as F0SalaryBenchmark, ip as F0SalaryBenchmarkIndicator, Jc as F0SearchInput, mN as F0SecondarySidebar, tg as F0SegmentedBar, bo as F0SegmentedControl, Dg as F0SharingDialog, Rg as F0SwipeDeck, $v as F0SystemBanner, Ut as F0TableOfContent, q_ as F0TemplateTextInput, le as F0TextAreaInput, ae as F0TextAreaInputInline, $o as F0TextInput, te as F0TextInputInline, Xg as F0Timeline, Jg as F0VersionHistory, UL as F0_CHAT_HEADER_TITLE_SELECTOR, qF as F0_CHAT_MESSAGES_TAB_ID, qc as F1SearchBox, y as FILE_TYPES, Wi as FileItem, sy as HighlightBanner, bY as HomeSlotItem, yY as HomeSlotItems, qq as IndicatorsList, Fa as Input, Ke as Item, _t as ItemSectionHeader, JF as LATEST, tX as LIST_COMPACT_AFTER, pX as LIST_MORE_BUTTON_CLASS, St as LineChart, Oq as LineChartWidget, vO as MeetingNotes, rO as MeetingPanelContent, _O as MeetingParticipants, aO as MeetingRoomChat, yD as MeetingSidePanel, PS as MeetingSurfaceProvider, cO as MeetingTranscript, bM as Menu, Wr as MobileDropdown, XZ as NewHomeLayout, l as NotesTextEditor, cn as NotesTextEditorSkeleton, he as NumberInput, jk as OmniButton, PP as OneApprovalHistory, Bc as OneCalendar, Et as OneDataCollection, c as OneDateNavigator, S as OneEmptyState, hg as OneListItem, mg as OneListItemSkeleton, xt as OnePagination, By as OnePersonListItem, F4 as OneRestrictComponent, Nk as Page, Dk as PageHeader, ok as PageHeaderNavigationContext, sk as PageHeaderNavigationProvider, go as PageNavigation, i as PieChart, kq as PieChartWidget, en as PrivateBox, bt as ProgressBarChart, N2 as RECOMMENDED_AGENTIC_HOME_RULES, su as RECOMMENDED_MAX_MARKERS, ne as RadarChart, uy as Reactions, bi as RichTextDisplay, ce as RichTextEditor, dX as SLOT_ROW_BLEED, TX as SLOT_SKELETON_ITEM_TESTID, I4 as ScrollArea, fN as SearchBar, r as SectionHeader, sl as Select, cr as Shortcut, _N as Sidebar, $A as SidebarChatBlankState, sj as SidebarChatItem, tj as SidebarChatItemSkeleton, Kj as SidebarChatList, rj as SidebarChatListSkeleton, Uk as SidebarChatProvider, nA as SidebarCollapsibleSection, lM as SidebarFooter, dM as SidebarHeader, CM as SidebarPanelHeader, bA as SidebarTabPanel, uA as SidebarTabPanelSearch, bN as SidebarTabs, cM as SidebarUserMenu, JX as SlotWidget, qX as SlotWidgetContent, jc as Spinner, dq as Split, uq as Stack, jq as SummariesWidget, tl as Switch, ka as Tabs, Es as TabsSkeleton, XJ as TasksList, b as Textarea, lo as ToggleGroup, li as ToggleGroupItem, In as Tooltip, Rn as TooltipGroup, cJ as TwoColumnsList, D as UPLOAD_INPUT_ID, oe as VerticalBarChart, Aq as VerticalBarChartWidget, Qg as VirtualList, Vc as WeekStartDay, dr as Weekdays, M4 as Widget, Xq as WidgetAvatarsListItem, U2 as WidgetCatalog, P4 as WidgetEmptyState, Gq as WidgetHighlightButton, iJ as WidgetInboxList, $q as WidgetInboxListItem, TY as WidgetSection, oJ as WidgetSimpleList, nJ as WidgetSimpleListItem, j4 as WidgetStrip, Tt as actionBarStatuses, jd as aiCalloutStatuses, Wf as attendeesDisplays, qx as buildTiles, vt as buttonToggleColors, qe as buttonToggleSizes, Nt as buttonToggleVariants, my as calendarEventVariants, xc as chipVariants, gd as coachmarks, vF as commandActionRisks, jy as communityPostCardVariants, Im as composerFormats, Fm as composerVariants, lf as confettiPalette, mE as createMeetingSignalStore, hu as defaultMapStyle, PX as defaultSlotRenderers, NX as defaultSlotSkeleton, RP as defineSelectCellSubmenu, xd as defineStepByStepCoachmarkGuidance, lv as dismissibleSystemNoticeVariants, it as downloadAsCSV, Ft as downloadAsExcel, HF as f0ChatOneAnswerFailures, VF as f0ChatSenderColors, Sd as f0EmojiPickerSizes, $i as f0FileItemSizes, xu as f0MapMarkerVariants, vu as f0MapStyles, rS as f0MeetingConnectionQualities, sS as f0MeetingCoreActionIds, tS as f0MeetingDisconnectReasons, $x as f0MeetingGuestKinds, cS as f0MeetingInvitationStates, nS as f0MeetingPermissions, Qx as f0MeetingPresences, eS as f0MeetingStatuses, iS as f0MeetingSurfaceDestinations, aS as f0MeetingSurfaceModes, Zx as f0MeetingTrackKinds, ud as f0ProgressSeriesColors, ld as f0ProgressSeriesSizes, oS as f0WindowCorners, aX as fromParams, Rt as generateCSVContent, un as getAutoPerPageMinHeight, fl as getGranularityDefinition, rl as getGranularityDefinitions, vl as getGranularitySimpleDefinition, fu as googleMapStyles, au as googlePinlessMapStyles, ol as granularityDefinitions, bX as heldDialogActions, rX as homeSlot, TP as inboxItemDecisionSizes, EP as inboxItemSkeletonAvatars, wP as inboxItemStatuses, SP as inboxItemTints, CP as inboxItemTones, ya as isPossiblePhoneValue, KF as isPost, UF as isSystemMessage, GF as isUserMessage, gs as isValidPhoneValue, iE as layoutGrid, nX as listCompacts, yX as listGlyphSize, v as listIconColors, mX as listMoreButtonClass, iX as listSlot, k_ as locationInputSizes, A_ as locationParts, $w as matchDevice, Uf as meetingStates, VI as messageBodyText, Ws as modules, gS as nearestCorner, dg as oneListItemRowClassName, j_ as phoneInputSizes, hS as placementFromRect, Wt as predefinedPresets, vp as pulseDotVariants, lX as railActionTones, dl as rangeSeparator, qw as readMeetingMediaPreferences, sE as reorderForSpeakers, Fh as resizableDirections, KT as resolveAutoFocus, Xc as resolveGranularityDefinition, mS as resolvePlacement, eX as resolveSlotRenderer, oX as resolveWidgetHeader, mp as salaryBenchmarkIndicatorSizes, fp as salaryBenchmarkPositions, pp as salaryBenchmarkVariants, Wb as sanitizeMeetingReaction, IP as seedFromStorage, je as selectSizes, Re as selectVariants, _S as settlePlacement, fX as slotRowBleed, rE as solveGrid, cE as solveSpotlight, Wg as swipeDirections, cv as systemNoticeVariants, Xx as tileAspectRatio, Gx as tileKey, Jw as updateMeetingMediaPreferences, RF as useCommandPalette, ov as useCompactOnScroll, vf as useConfetti, re as useDataCollectionData, LP as useDataCollectionItemNavigation, _e as useDataCollectionSource, nn as useExportAction, zu as useF0Chat, sb as useF0Meeting, ub as useF0MeetingRoster, lb as useF0MeetingStable, ob as useHasF0Meeting, a as useInfiniteScrollPagination, vY as useIsBulkChange, Yw as useMeetingMediaPreferences, vE as useMeetingSignal, yE as useMeetingSpeakers, FS as useMeetingSurface, IS as useMeetingSurfaceOptional, lk as usePageHeaderItemNavigation, ck as usePageHeaderNavigation, Ua as useSidePanel, mu as useSidebar, qk as useSidebarChatActions, Kk as useSidebarChats, Ug as useSwipeDeck, yb as useTrackBinding, $e as useWidgetIsWide, yO as viewportRect, uX as widgetChrome, cX as widgetParamsAreComplete, sX as widgetTitle };
|