@factorialco/f0-react 8.36.1 → 9.0.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/{ChatPdfThumbnail-BbOPESdU.js → ChatPdfThumbnail-Ch2Pi_N2.js} +1 -1
- package/dist/{ChatPostComposerDialog-Cv7VtLD6.js → ChatPostComposerDialog-CW24c9tS.js} +3 -3
- package/dist/{MapProvider-Q8EU0u5y.js → CoachmarkProvider-BXGXfIw-.js} +15546 -15554
- package/dist/{DocumentToolbar-CVrrJ4iA.js → DocumentToolbar-Bp9iCtUO.js} +9 -9
- package/dist/{DocxViewer-AbtW-zX4.js → DocxViewer-CKrXuvnB.js} +2 -2
- package/dist/{F0AiProcessingOverlay-BDqqztvk.js → F0AiProcessingOverlay-SFLE4xoa.js} +1 -1
- package/dist/{F0CanvasPanel-WVtVnJRZ.js → F0CanvasPanel-D25Wuumh.js} +35213 -35210
- package/dist/{index-DqE_RHOm.js → F0DocumentViewer-BXlup6dL.js} +142 -149
- package/dist/{F0Map-DLKYcpUE.js → F0Map-B9_jeX3R.js} +13 -13
- package/dist/{F0VideoPlayer-D1jXuNEn.js → F0VideoPlayer-VJSe0ziC.js} +48 -48
- package/dist/{SheetViewer-KR2QIyYj.js → SheetViewer-BO9MbbYR.js} +3 -3
- package/dist/{TextViewer-D28lLt_m.js → TextViewer-B7B947JZ.js} +2 -2
- package/dist/ai.d.ts +61 -49
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +15 -15
- package/dist/component-status.js +70 -70
- package/dist/{experimental-BSsHhEKt.js → experimental-Do9KcVJp.js} +764 -763
- package/dist/experimental.d.ts +123 -114
- package/dist/experimental.js +83 -83
- package/dist/f0.d.ts +405 -172
- package/dist/f0.js +7024 -7006
- package/dist/i18n-provider-defaults.d.ts +15 -15
- package/dist/index-Bt9_3eC1.js +4 -0
- package/dist/{index-P3wd7w_Q.js → index-C66JSsii.js} +1 -1
- package/dist/{index-CuAmARkm.js → index-C95Ox1WO.js} +15 -15
- package/dist/{index-C5FgdXF2.js → index-W5BBvrFa.js} +2 -2
- package/dist/index-a7A0EHsJ.js +8 -0
- package/dist/pdfWorker-Bi4FxYtY.js +13120 -0
- package/package.json +4 -4
- package/dist/index-B5m0OpRD.js +0 -4
- package/dist/pdfWorker-C2B0uWA2.js +0 -13120
- /package/dist/{MapProvider.css → CoachmarkProvider.css} +0 -0
- /package/dist/{index2.css → F0DocumentViewer.css} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { dd as jh, de as Xo, df as Wh, dg as $h, dh as ot, di as qh, dj as Uh,
|
|
1
|
+
import { dd as jh, de as Xo, df as Wh, dg as $h, dh as ot, di as qh, dj as Uh, u as Z, a8 as Me, co as Ee, ay as ha, a7 as hn, da as pt, cW as Yn, E as bn, G as sn, ak as Rn, N as xi, K as bt, L as va, z as Ce, c1 as ga, M as kt, ao as Lf, cl as Of, aI as ws, bt as pa, af as kn, s as Df, v as pe, cs as pn, t as zf, A as ba, w as ui, x as _s, dk as Gh, S as ie, H as Cn, dl as Bf, d4 as fi, q as yt, cj as Fr, cD as Kn, am as Vh, dm as Hf, o as Pr, d9 as ai, dn as xs, J as Ns, aa as Lr, dp as Kh, aM as Ui, aL as Cs, n as ka, dq as Yh, au as Ss, cU as jf, a9 as Xh, aE as Jh, cE as Jn, dr as ya, ds as wa, dt as Qh, du as Zh, bC as ev, r as _a, dv as Wf, k as Is, dw as nv, aT as iv, l as Bi, dx as $f, bV as tv, dy as av, dz as rv, dA as sv, dB as ov, dC as qf, dD as Or, dE as Uf, cL as xa, aA as Gf, dF as dv, dG as lv, dH as fv, a5 as cv, dI as Qn, cy as Un, dJ as Dr, cJ as Ts, dK as Vf, aj as Gi, dL as Vt, dM as Kf, dN as Ms, cP as uv, dO as Es, dP as ni, cr as zn, dQ as mv, dR as hv, dS as vv, i as zi, bU as gv, b_ as wt, cn as ii, a$ as Kt, aR as pv, a6 as Pn, dT as bv, dU as Yf, dV as Dn, dW as Na, dX as kv, dY as zr, bH as yv, bh as wv, bP as _v, bQ as xv, bk as Nv, a3 as Rs, dZ as Xf, O as Cv, Q as Sv, U as Iv, d_ as Tv, a_ as _t, bJ as Ca, bI as As, ck as Jf, aW as Fs, bn as Mv, bW as Ev, R as Rv, aH as Av, c8 as Qf, cz as Zf, cA as ec, cB as nc, a4 as ic, bZ as tc, d$ as Fv, e0 as Pv, e1 as Lv, e2 as Ov, a as Dv, b as zv, e3 as ar, ah as ft, ai as Br, e4 as Sa, g as Bv, e5 as ac, F as Hv, e6 as jv, e7 as Wv, bG as Ia, e as Ps, e8 as $v, e9 as qv, ea as Ta, eb as Jo, ec as At, ed as et, ee as Uv, ca as Gv, c9 as rc, bF as xt, b5 as Vv, ef as Kv, eg as Yv, b$ as sc, c3 as Ma, Y as Qo, ag as Ls, av as oc, cZ as Xv, aN as Ea, eh as Os, bM as Jv, bL as Qv, aU as Yt, ei as dc, ej as Zv, ek as eg, el as ng, em as ig, en as tg, eo as ag, cG as rg, ax as Hr, bz as sg, aJ as og, aO as Ra, ep as Ds, eq as zs, er as Bs, cu as lc, be as fc, aG as cc, es as dg, m as Aa, cK as Hs, a1 as jr, a2 as dt, br as lg, bd as fg, bD as cg, bR as uc, bS as js, aP as ug, et as mc, eu as hc, ev as vc, ew as gc, dc as mg, ex as Ws, bT as hg, cv as vg, cx as $s, cp as gg, cg as pg, cC as qs, ey as bg, bj as pc, aw as bc, ap as Zo, V as kc, ch as kg, cq as yc, c2 as yg, bf as wg, ez as _g, eA as wc, cS as xg, eB as Zn, eC as Ng, eD as Cg, eE as Sg, eF as Ig, c_ as Tg, bu as _c, eG as Xt, eH as Mg, bX as Eg, cc as Rg, aY as Ag, c7 as rr, aX as Fg, bs as Pg, aS as Lg, c6 as Og, cV as Dg, eI as zg, eJ as xc, eK as Bg, eL as Hg } from "./F0CanvasPanel-D25Wuumh.js";
|
|
2
|
+
import { g as Fa, n as Nc, r as jg, E as Wg, h as $g, p as nt, i as Cc, j as Sc, P as Ic, C as qg, k as Ug, l as Gg, m as Vg, o as ed, a as nd, q as Kg, s as Yg, b as Xg, M as Jg, t as Qg, v as Tc, w as Zg, x as ep, y as np, R as id, z as Mc, A as ip, B as tp, D as ap, G as rp, H as sp, I as op, J as dp, K as lp, L as fp, N as Ec, O as Rc, Q as cp, U as up, T as Ac, V as Fc, W as mp, X as _i, Y as hp, Z as vp, _ as gp, $ as pp, a0 as bp, a1 as kp, a2 as yp, a3 as wp, a4 as Us, a5 as _p, a6 as xp, a7 as Pc, a8 as Lc, a9 as Np, aa as Cp, ab as Sp, ac as Ip, ad as Tp, ae as Mp, af as Ep, ag as Rp, ah as Ap, ai as td, aj as Fp } from "./CoachmarkProvider-BXGXfIw-.js";
|
|
2
3
|
import { jsxs as m, jsx as t, Fragment as _e } from "react/jsx-runtime";
|
|
3
|
-
import Bn, {
|
|
4
|
-
import { d as y, u as
|
|
5
|
-
import {
|
|
6
|
-
import { c as Hp, u as ri, S as Hc, d as jp } from "./F0Map-DLKYcpUE.js";
|
|
4
|
+
import Bn, { useRef as M, useEffect as W, useContext as cn, createContext as un, useState as z, forwardRef as an, useId as ti, useCallback as R, useImperativeHandle as Oc, useMemo as X, Children as Pa, isValidElement as Vi, Fragment as Mn, useReducer as Dc, useLayoutEffect as en, useSyncExternalStore as Ii, memo as mi, useTransition as Pp, cloneElement as zc, Suspense as Nt, lazy as hi } from "react";
|
|
5
|
+
import { d as y, u as Bc, f as Ke, P as Lp, T as Op, a as Dp, b as zp, c as Bp } from "./tooltip-CrXp1Uaz.js";
|
|
6
|
+
import { c as Hp, u as ri, S as Hc, d as jp } from "./F0Map-B9_jeX3R.js";
|
|
7
7
|
import { createPortal as Hi, flushSync as Wp } from "react-dom";
|
|
8
8
|
import './maplibre-gl.css';/* empty css */
|
|
9
9
|
const $p = jh("Search", [
|
|
@@ -32,36 +32,10 @@ const nE = ["sm", "md", "lg"], iE = [
|
|
|
32
32
|
"feedback-positive",
|
|
33
33
|
"feedback-neutral",
|
|
34
34
|
"feedback-negative"
|
|
35
|
-
],
|
|
36
|
-
"country",
|
|
37
|
-
"addressLine1",
|
|
38
|
-
"addressLine2",
|
|
39
|
-
"city",
|
|
40
|
-
"state",
|
|
41
|
-
"postalCode"
|
|
42
|
-
], rE = Lf;
|
|
43
|
-
function sE({
|
|
44
|
-
threshold: e = 24,
|
|
45
|
-
/**
|
|
46
|
-
* The element whose scrolling counts. Required: listening on the whole
|
|
47
|
-
* document would also count the scroll of a horizontal table or an open
|
|
48
|
-
* dropdown, which have nothing to do with the header.
|
|
49
|
-
*/
|
|
50
|
-
container: n
|
|
51
|
-
}) {
|
|
52
|
-
const [i, a] = z(!1);
|
|
53
|
-
return W(() => {
|
|
54
|
-
const r = n.current;
|
|
55
|
-
if (!r)
|
|
56
|
-
return;
|
|
57
|
-
const s = () => a(r.scrollTop > e);
|
|
58
|
-
return s(), r.addEventListener("scroll", s, { passive: !0 }), () => r.removeEventListener("scroll", s);
|
|
59
|
-
}, [e, n]), i;
|
|
60
|
-
}
|
|
61
|
-
const jc = process.env.NODE_ENV !== "production", Wc = (e) => {
|
|
35
|
+
], jc = process.env.NODE_ENV !== "production", Wc = (e) => {
|
|
62
36
|
jc && console.warn(`[f0] ${e}`);
|
|
63
37
|
}, Gp = (e) => {
|
|
64
|
-
jc && !
|
|
38
|
+
jc && !Fa.hasProvider() && console.warn(
|
|
65
39
|
`[f0] ${e} was called but no <F0Provider> is mounted, so the coachmark will not render. Make sure your app is wrapped in <F0Provider>.`
|
|
66
40
|
);
|
|
67
41
|
}, Vp = (e) => Array.isArray(e.steps), Kp = (e) => (Vp(e) ? e.steps : [
|
|
@@ -88,12 +62,12 @@ const jc = process.env.NODE_ENV !== "production", Wc = (e) => {
|
|
|
88
62
|
}
|
|
89
63
|
];
|
|
90
64
|
}), Yp = (e) => {
|
|
91
|
-
const n = e.id ??
|
|
65
|
+
const n = e.id ?? Nc();
|
|
92
66
|
Gp("coachmarks.open()");
|
|
93
67
|
const i = Kp(e);
|
|
94
68
|
return i.length === 0 ? (Wc(
|
|
95
69
|
"coachmarks.open() was called with no anchorable step. Nothing to show."
|
|
96
|
-
), n) : (
|
|
70
|
+
), n) : (Fa.addItem({
|
|
97
71
|
id: n,
|
|
98
72
|
steps: i,
|
|
99
73
|
onEnd: e.onEnd,
|
|
@@ -103,9 +77,9 @@ const jc = process.env.NODE_ENV !== "production", Wc = (e) => {
|
|
|
103
77
|
skipAfterOutsideClicks: e.skipAfterOutsideClicks
|
|
104
78
|
}), n);
|
|
105
79
|
}, Xp = (e) => {
|
|
106
|
-
|
|
80
|
+
Fa.removeItem(e);
|
|
107
81
|
}, Jp = () => {
|
|
108
|
-
|
|
82
|
+
Fa.clear();
|
|
109
83
|
}, ad = {
|
|
110
84
|
/**
|
|
111
85
|
* Show a coachmark, or queue it behind the one already on screen.
|
|
@@ -121,8 +95,8 @@ const jc = process.env.NODE_ENV !== "production", Wc = (e) => {
|
|
|
121
95
|
close: Xp,
|
|
122
96
|
/** Remove every coachmark, on screen and queued. */
|
|
123
97
|
closeAll: Jp
|
|
124
|
-
}, rd = "data-f0-coachmark", Qp = 2e3, Zp = 50, sd = (e) => e.targetElement !== void 0 &&
|
|
125
|
-
const n = e.id ??
|
|
98
|
+
}, rd = "data-f0-coachmark", Qp = 2e3, Zp = 50, sd = (e) => e.targetElement !== void 0 && jg(e.targetElement) !== null, tE = (e) => {
|
|
99
|
+
const n = e.id ?? Nc(), i = (f) => `[${rd}="${f}"]`, a = (f) => ({ [rd]: f }), r = e.steps.map(
|
|
126
100
|
({ element: f, targetElement: c, ...u }) => ({
|
|
127
101
|
...u,
|
|
128
102
|
targetElement: c ?? i(f)
|
|
@@ -601,7 +575,7 @@ const a0 = ({ children: e }) => {
|
|
|
601
575
|
sn("AiPromotionChat", l0)
|
|
602
576
|
), c0 = bn(
|
|
603
577
|
sn("AiPromotionChatProvider", d0)
|
|
604
|
-
), u0 = 36, m0 = "10px", h0 = 24, v0 = 2, Uc = {
|
|
578
|
+
), aE = ["sm", "md", "lg"], u0 = 36, m0 = "10px", h0 = 24, v0 = 2, Uc = {
|
|
605
579
|
"--neutral-0": "0 0% 100%",
|
|
606
580
|
"--neutral-5": "220 88% 17% / 0.04",
|
|
607
581
|
"--neutral-10": "216 89% 18% / 0.06",
|
|
@@ -629,7 +603,7 @@ const a0 = ({ children: e }) => {
|
|
|
629
603
|
locale: o = "en",
|
|
630
604
|
size: d = "md"
|
|
631
605
|
}) => {
|
|
632
|
-
const l = Z(), [f = null, c] =
|
|
606
|
+
const l = Z(), [f = null, c] = Bc({
|
|
633
607
|
prop: n,
|
|
634
608
|
defaultProp: i,
|
|
635
609
|
onChange: a
|
|
@@ -672,13 +646,13 @@ const a0 = ({ children: e }) => {
|
|
|
672
646
|
className: "flex w-fit flex-col !overflow-y-auto rounded-md border-none p-0 shadow-none [&>div:first-child]:min-h-0 [&>div:first-child]:overflow-hidden [&_em-emoji-picker]:!h-full [&_em-emoji-picker]:!min-h-0 [&_em-emoji-picker]:!max-h-[min(451px,calc(100vh-81px))] [&_em-emoji-picker]:!w-[372px] [&_em-emoji-picker]:!max-w-[calc(100vw-32px)] [@media(max-height:320px)]:[&>div:first-child]:!min-h-[230px] [@media(max-height:320px)]:[&_em-emoji-picker]:!min-h-[230px]",
|
|
673
647
|
children: [
|
|
674
648
|
/* @__PURE__ */ t(
|
|
675
|
-
|
|
649
|
+
Wg,
|
|
676
650
|
{
|
|
677
651
|
className: y(
|
|
678
652
|
"box-border border border-solid border-f1-border-secondary shadow-none [--color-border-over:rgba(1,22,55,0.2)] [--color-border:rgba(1,22,55,0.08)] [--shadow:none]",
|
|
679
653
|
p && "rounded-b-none border-b-0"
|
|
680
654
|
),
|
|
681
|
-
data:
|
|
655
|
+
data: $g,
|
|
682
656
|
onEmojiSelect: g,
|
|
683
657
|
locale: o,
|
|
684
658
|
icons: "outline",
|
|
@@ -719,9 +693,15 @@ const a0 = ({ children: e }) => {
|
|
|
719
693
|
);
|
|
720
694
|
};
|
|
721
695
|
Gc.displayName = "F0EmojiPicker";
|
|
722
|
-
const
|
|
696
|
+
const rE = bn(
|
|
723
697
|
sn("F0EmojiPicker", Gc)
|
|
724
|
-
),
|
|
698
|
+
), sE = [
|
|
699
|
+
"neutral",
|
|
700
|
+
"info",
|
|
701
|
+
"positive",
|
|
702
|
+
"warning",
|
|
703
|
+
"critical"
|
|
704
|
+
], Wr = Yn({
|
|
725
705
|
variants: {
|
|
726
706
|
status: {
|
|
727
707
|
neutral: "bg-f1-background-tertiary",
|
|
@@ -755,8 +735,8 @@ const dE = ["sm", "md", "lg"], lE = bn(
|
|
|
755
735
|
neutral: null,
|
|
756
736
|
info: pa,
|
|
757
737
|
positive: ws,
|
|
758
|
-
warning:
|
|
759
|
-
critical:
|
|
738
|
+
warning: Of,
|
|
739
|
+
critical: Lf
|
|
760
740
|
}, b0 = {
|
|
761
741
|
neutral: "default",
|
|
762
742
|
info: "info",
|
|
@@ -889,7 +869,7 @@ const dE = ["sm", "md", "lg"], lE = bn(
|
|
|
889
869
|
)
|
|
890
870
|
) : null
|
|
891
871
|
] }),
|
|
892
|
-
a && r ? /* @__PURE__ */ t(
|
|
872
|
+
a && r ? /* @__PURE__ */ t(zf, { asChild: !0, children: /* @__PURE__ */ t(
|
|
893
873
|
Ce,
|
|
894
874
|
{
|
|
895
875
|
variant: "ghost",
|
|
@@ -1014,7 +994,7 @@ const dE = ["sm", "md", "lg"], lE = bn(
|
|
|
1014
994
|
/* @__PURE__ */ t("div", { className: "text-base text-f1-foreground-secondary", children: i })
|
|
1015
995
|
] }),
|
|
1016
996
|
d ? /* @__PURE__ */ m(_e, { children: [
|
|
1017
|
-
/* @__PURE__ */ t("div", { className: "-ml-2", children: /* @__PURE__ */ t(
|
|
997
|
+
/* @__PURE__ */ t("div", { className: "-ml-2", children: /* @__PURE__ */ t(zf, { asChild: !0, children: /* @__PURE__ */ t(
|
|
1018
998
|
Ce,
|
|
1019
999
|
{
|
|
1020
1000
|
variant: "ghost",
|
|
@@ -1184,7 +1164,7 @@ const dE = ["sm", "md", "lg"], lE = bn(
|
|
|
1184
1164
|
}
|
|
1185
1165
|
);
|
|
1186
1166
|
return w ? /* @__PURE__ */ t(
|
|
1187
|
-
|
|
1167
|
+
Df,
|
|
1188
1168
|
{
|
|
1189
1169
|
open: x,
|
|
1190
1170
|
onOpenChange: ($) => {
|
|
@@ -1231,17 +1211,11 @@ const dE = ["sm", "md", "lg"], lE = bn(
|
|
|
1231
1211
|
] })
|
|
1232
1212
|
]
|
|
1233
1213
|
}
|
|
1234
|
-
),
|
|
1235
|
-
"neutral",
|
|
1236
|
-
"info",
|
|
1237
|
-
"positive",
|
|
1238
|
-
"warning",
|
|
1239
|
-
"critical"
|
|
1240
|
-
], Xc = an(
|
|
1214
|
+
), Xc = an(
|
|
1241
1215
|
(e, n) => /* @__PURE__ */ t(S0, { ref: n, ...e })
|
|
1242
1216
|
), T0 = ({ status: e, compact: n }) => /* @__PURE__ */ t(I0, { status: e, compact: n });
|
|
1243
1217
|
Xc.displayName = "F0AiCallout";
|
|
1244
|
-
const
|
|
1218
|
+
const oE = Cn(
|
|
1245
1219
|
bn(Xc),
|
|
1246
1220
|
T0
|
|
1247
1221
|
), Jc = Yn({
|
|
@@ -1260,7 +1234,7 @@ const cE = Cn(
|
|
|
1260
1234
|
}
|
|
1261
1235
|
}), fd = {
|
|
1262
1236
|
positive: ws,
|
|
1263
|
-
warning:
|
|
1237
|
+
warning: Of,
|
|
1264
1238
|
info: pa
|
|
1265
1239
|
}, cd = {
|
|
1266
1240
|
positive: "text-f1-foreground-positive font-medium",
|
|
@@ -1374,7 +1348,7 @@ const cE = Cn(
|
|
|
1374
1348
|
(e, n) => /* @__PURE__ */ t(M0, { ref: n, ...e })
|
|
1375
1349
|
), R0 = ({ compact: e, variant: n }) => /* @__PURE__ */ t(E0, { compact: e, variant: n });
|
|
1376
1350
|
Qc.displayName = "F0Callout";
|
|
1377
|
-
const
|
|
1351
|
+
const dE = Cn(
|
|
1378
1352
|
bn(Qc),
|
|
1379
1353
|
R0
|
|
1380
1354
|
), A0 = [
|
|
@@ -1394,7 +1368,7 @@ const uE = Cn(
|
|
|
1394
1368
|
const l = e.current;
|
|
1395
1369
|
if (!l)
|
|
1396
1370
|
return;
|
|
1397
|
-
i.current ??=
|
|
1371
|
+
i.current ??= Bf.create(l, {
|
|
1398
1372
|
resize: !0,
|
|
1399
1373
|
useWorker: !1
|
|
1400
1374
|
});
|
|
@@ -1451,7 +1425,7 @@ const uE = Cn(
|
|
|
1451
1425
|
(c) => s({ ...i, ...c }),
|
|
1452
1426
|
[s, i]
|
|
1453
1427
|
);
|
|
1454
|
-
|
|
1428
|
+
Oc(a, () => ({ fire: d, reset: o }), [d, o]);
|
|
1455
1429
|
const l = M(d), f = M(n);
|
|
1456
1430
|
return W(
|
|
1457
1431
|
function() {
|
|
@@ -1474,7 +1448,7 @@ const uE = Cn(
|
|
|
1474
1448
|
}
|
|
1475
1449
|
);
|
|
1476
1450
|
Zc.displayName = "F0Confetti";
|
|
1477
|
-
const
|
|
1451
|
+
const lE = bn(
|
|
1478
1452
|
sn("F0Confetti", Zc)
|
|
1479
1453
|
), eu = 10, nu = 3, ud = (e, n) => {
|
|
1480
1454
|
const i = new Date(e);
|
|
@@ -1562,7 +1536,7 @@ const mE = bn(
|
|
|
1562
1536
|
}, nb = ({ text: e }) => {
|
|
1563
1537
|
const n = kn();
|
|
1564
1538
|
return /* @__PURE__ */ t(
|
|
1565
|
-
|
|
1539
|
+
Hf,
|
|
1566
1540
|
{
|
|
1567
1541
|
className: "bg-f1-background-info text-f1-foreground-info",
|
|
1568
1542
|
left: /* @__PURE__ */ t(
|
|
@@ -1814,7 +1788,7 @@ const rb = ({ compact: e = !1 }) => /* @__PURE__ */ t(
|
|
|
1814
1788
|
"F0MeetingCard",
|
|
1815
1789
|
Cn(iu, rb)
|
|
1816
1790
|
)
|
|
1817
|
-
),
|
|
1791
|
+
), fE = [
|
|
1818
1792
|
/**
|
|
1819
1793
|
* A call that has been started and is waiting for the other side. Distinct
|
|
1820
1794
|
* from `scheduled`, which counts down to a time somebody agreed on earlier —
|
|
@@ -1832,7 +1806,7 @@ const rb = ({ compact: e = !1 }) => /* @__PURE__ */ t(
|
|
|
1832
1806
|
*/
|
|
1833
1807
|
"missed",
|
|
1834
1808
|
"cancelled"
|
|
1835
|
-
],
|
|
1809
|
+
], cE = ["auto", "avatars", "count"], md = Yn({
|
|
1836
1810
|
base: "absolute rounded-full",
|
|
1837
1811
|
variants: {
|
|
1838
1812
|
variant: {
|
|
@@ -1869,15 +1843,7 @@ const rb = ({ compact: e = !1 }) => /* @__PURE__ */ t(
|
|
|
1869
1843
|
tu.displayName = "F0PulseDot";
|
|
1870
1844
|
const hd = bn(
|
|
1871
1845
|
sn("F0PulseDot", tu)
|
|
1872
|
-
),
|
|
1873
|
-
throw new Error("F0Resizable.Handle must be used within F0Resizable");
|
|
1874
|
-
};
|
|
1875
|
-
Ys.displayName = "F0Resizable.Handle";
|
|
1876
|
-
const Xs = (e) => {
|
|
1877
|
-
throw new Error("F0Resizable.Panel must be used within F0Resizable");
|
|
1878
|
-
};
|
|
1879
|
-
Xs.displayName = "F0Resizable.Panel";
|
|
1880
|
-
const ob = 16, db = {
|
|
1846
|
+
), uE = ["positive", "promote", "neutral"], mE = ["horizontal", "vertical"], ob = 16, db = {
|
|
1881
1847
|
x: {
|
|
1882
1848
|
root: "h-full w-1",
|
|
1883
1849
|
separator: "cursor-ew-resize",
|
|
@@ -2027,7 +1993,15 @@ const ob = 16, db = {
|
|
|
2027
1993
|
]
|
|
2028
1994
|
}
|
|
2029
1995
|
) });
|
|
2030
|
-
},
|
|
1996
|
+
}, Ys = (e) => {
|
|
1997
|
+
throw new Error("F0Resizable.Handle must be used within F0Resizable");
|
|
1998
|
+
};
|
|
1999
|
+
Ys.displayName = "F0Resizable.Handle";
|
|
2000
|
+
const Xs = (e) => {
|
|
2001
|
+
throw new Error("F0Resizable.Panel must be used within F0Resizable");
|
|
2002
|
+
};
|
|
2003
|
+
Xs.displayName = "F0Resizable.Panel";
|
|
2004
|
+
const gd = 30, cb = 50, $r = (e, n, i) => Math.min(Math.max(e, n), i), au = (e) => Pa.toArray(e).flatMap(
|
|
2031
2005
|
(n) => Vi(n) && n.type === Mn ? au(n.props.children) : [n]
|
|
2032
2006
|
), pd = (e) => Vi(e) && e.type === Xs, ub = (e) => Vi(e) && e.type === Ys, mb = (e, n) => {
|
|
2033
2007
|
const i = Math.max(
|
|
@@ -2120,7 +2094,7 @@ const ob = 16, db = {
|
|
|
2120
2094
|
]
|
|
2121
2095
|
}
|
|
2122
2096
|
);
|
|
2123
|
-
},
|
|
2097
|
+
}, hE = Object.assign(
|
|
2124
2098
|
bn(sn("F0Resizable", hb)),
|
|
2125
2099
|
{
|
|
2126
2100
|
Panel: Xs,
|
|
@@ -2235,7 +2209,7 @@ const ob = 16, db = {
|
|
|
2235
2209
|
children: J.content
|
|
2236
2210
|
}
|
|
2237
2211
|
);
|
|
2238
|
-
},
|
|
2212
|
+
}, vE = bn(
|
|
2239
2213
|
sn("F0CarouselDialog", gb)
|
|
2240
2214
|
), ru = an(
|
|
2241
2215
|
({ value: e, max: n, color: i = "categorical-1", label: a }, r) => {
|
|
@@ -2270,7 +2244,7 @@ const ob = 16, db = {
|
|
|
2270
2244
|
}
|
|
2271
2245
|
);
|
|
2272
2246
|
ru.displayName = "F0SegmentedBar";
|
|
2273
|
-
const
|
|
2247
|
+
const gE = bn(
|
|
2274
2248
|
sn("F0SegmentedBar", ru)
|
|
2275
2249
|
), pb = ({
|
|
2276
2250
|
labels: e,
|
|
@@ -2329,7 +2303,7 @@ const yE = bn(
|
|
|
2329
2303
|
} : { opacity: 0, scale: 0.96, zIndex: 1 }
|
|
2330
2304
|
}, yb = an(
|
|
2331
2305
|
function({ onCommit: n, offsetThreshold: i, velocityThreshold: a, reduceMotion: r, children: s }, o) {
|
|
2332
|
-
const d =
|
|
2306
|
+
const d = Cc(), l = jf(0), f = Sc(
|
|
2333
2307
|
l,
|
|
2334
2308
|
[-Jt, 0, Jt],
|
|
2335
2309
|
[-Qt, 0, Qt]
|
|
@@ -2506,7 +2480,7 @@ const yE = bn(
|
|
|
2506
2480
|
]
|
|
2507
2481
|
}
|
|
2508
2482
|
) });
|
|
2509
|
-
},
|
|
2483
|
+
}, pE = sn("F0SwipeDeck", Cb), Sb = 1, Ib = 2, Tb = () => ({
|
|
2510
2484
|
index: 0,
|
|
2511
2485
|
requeued: [],
|
|
2512
2486
|
history: [],
|
|
@@ -2546,7 +2520,7 @@ const yE = bn(
|
|
|
2546
2520
|
};
|
|
2547
2521
|
}
|
|
2548
2522
|
}
|
|
2549
|
-
},
|
|
2523
|
+
}, bE = ({
|
|
2550
2524
|
items: e,
|
|
2551
2525
|
getItemId: n,
|
|
2552
2526
|
onDecide: i,
|
|
@@ -2555,7 +2529,7 @@ const yE = bn(
|
|
|
2555
2529
|
undoDepth: s = Sb,
|
|
2556
2530
|
needMoreThreshold: o = Ib
|
|
2557
2531
|
}) => {
|
|
2558
|
-
const [d, l] =
|
|
2532
|
+
const [d, l] = Dc(
|
|
2559
2533
|
Mb,
|
|
2560
2534
|
void 0,
|
|
2561
2535
|
Tb
|
|
@@ -2639,7 +2613,7 @@ const yE = bn(
|
|
|
2639
2613
|
swipeRight: w,
|
|
2640
2614
|
undo: C
|
|
2641
2615
|
};
|
|
2642
|
-
},
|
|
2616
|
+
}, kE = ["left", "right"];
|
|
2643
2617
|
function Eb({
|
|
2644
2618
|
title: e,
|
|
2645
2619
|
isActive: n = !1,
|
|
@@ -2764,7 +2738,7 @@ function Ab({
|
|
|
2764
2738
|
}
|
|
2765
2739
|
);
|
|
2766
2740
|
}
|
|
2767
|
-
const
|
|
2741
|
+
const yE = bn(
|
|
2768
2742
|
sn("F0VersionHistory", Ab)
|
|
2769
2743
|
), su = an(
|
|
2770
2744
|
({ height: e, itemCount: n, itemSize: i, className: a, renderer: r }, s) => {
|
|
@@ -2921,7 +2895,7 @@ const Fb = ({
|
|
|
2921
2895
|
}
|
|
2922
2896
|
) }),
|
|
2923
2897
|
/* @__PURE__ */ t(
|
|
2924
|
-
|
|
2898
|
+
Wf,
|
|
2925
2899
|
{
|
|
2926
2900
|
"data-avatarname-navigator-element": "true",
|
|
2927
2901
|
checked: n,
|
|
@@ -3047,7 +3021,7 @@ const Fb = ({
|
|
|
3047
3021
|
/* @__PURE__ */ t(_a, { value: a.subItems?.length ?? 0 })
|
|
3048
3022
|
] }),
|
|
3049
3023
|
/* @__PURE__ */ t(
|
|
3050
|
-
|
|
3024
|
+
Wf,
|
|
3051
3025
|
{
|
|
3052
3026
|
checked: S,
|
|
3053
3027
|
disabled: p,
|
|
@@ -3626,7 +3600,7 @@ const wd = ({
|
|
|
3626
3600
|
deactivated: a = !1,
|
|
3627
3601
|
hiddenAvatar: r = !1
|
|
3628
3602
|
}) => /* @__PURE__ */ t("div", { className: "pr-2 pt-1.5", children: /* @__PURE__ */ t(
|
|
3629
|
-
|
|
3603
|
+
Hf,
|
|
3630
3604
|
{
|
|
3631
3605
|
className: y(
|
|
3632
3606
|
"max-w-54 w-fit gap-1 text-ellipsis break-all border-[1px] border-solid border-f1-border-secondary py-[1px] pl-[1px]",
|
|
@@ -3634,7 +3608,7 @@ const wd = ({
|
|
|
3634
3608
|
r ? "pl-2" : "pl-0"
|
|
3635
3609
|
),
|
|
3636
3610
|
left: !r && /* @__PURE__ */ t(
|
|
3637
|
-
|
|
3611
|
+
$f,
|
|
3638
3612
|
{
|
|
3639
3613
|
src: e.subAvatar,
|
|
3640
3614
|
name: e.subName,
|
|
@@ -3883,7 +3857,7 @@ const wd = ({
|
|
|
3883
3857
|
)
|
|
3884
3858
|
}
|
|
3885
3859
|
);
|
|
3886
|
-
},
|
|
3860
|
+
}, wE = (e) => {
|
|
3887
3861
|
const [n, i] = z(
|
|
3888
3862
|
(e.alwaysOpen || e.defaultOpen) ?? !1
|
|
3889
3863
|
), a = (w) => {
|
|
@@ -4275,7 +4249,14 @@ function $b(e, n) {
|
|
|
4275
4249
|
return Math.min(r, o);
|
|
4276
4250
|
}, 1 / 0)), Math.min(i, a);
|
|
4277
4251
|
}
|
|
4278
|
-
const
|
|
4252
|
+
const _E = qf, xE = [
|
|
4253
|
+
"country",
|
|
4254
|
+
"addressLine1",
|
|
4255
|
+
"addressLine2",
|
|
4256
|
+
"city",
|
|
4257
|
+
"state",
|
|
4258
|
+
"postalCode"
|
|
4259
|
+
], NE = qf, qb = ({
|
|
4279
4260
|
id: e,
|
|
4280
4261
|
createdAt: n,
|
|
4281
4262
|
title: i,
|
|
@@ -4414,10 +4395,29 @@ const qb = ({
|
|
|
4414
4395
|
}
|
|
4415
4396
|
)
|
|
4416
4397
|
] });
|
|
4417
|
-
},
|
|
4398
|
+
}, CE = sn(
|
|
4418
4399
|
"ActivityItemList",
|
|
4419
4400
|
Cn(Jb, Qb)
|
|
4420
|
-
)
|
|
4401
|
+
);
|
|
4402
|
+
function SE({
|
|
4403
|
+
threshold: e = 24,
|
|
4404
|
+
/**
|
|
4405
|
+
* The element whose scrolling counts. Required: listening on the whole
|
|
4406
|
+
* document would also count the scroll of a horizontal table or an open
|
|
4407
|
+
* dropdown, which have nothing to do with the header.
|
|
4408
|
+
*/
|
|
4409
|
+
container: n
|
|
4410
|
+
}) {
|
|
4411
|
+
const [i, a] = z(!1);
|
|
4412
|
+
return W(() => {
|
|
4413
|
+
const r = n.current;
|
|
4414
|
+
if (!r)
|
|
4415
|
+
return;
|
|
4416
|
+
const s = () => a(r.scrollTop > e);
|
|
4417
|
+
return s(), r.addEventListener("scroll", s, { passive: !0 }), () => r.removeEventListener("scroll", s);
|
|
4418
|
+
}, [e, n]), i;
|
|
4419
|
+
}
|
|
4420
|
+
const Zb = {
|
|
4421
4421
|
birthday: "🎂",
|
|
4422
4422
|
anniversary: "🎉",
|
|
4423
4423
|
"first-day": "💼"
|
|
@@ -4487,7 +4487,7 @@ function nk({
|
|
|
4487
4487
|
i ? "bottom-0.5" : "-bottom-[3px]"
|
|
4488
4488
|
),
|
|
4489
4489
|
children: /* @__PURE__ */ t(
|
|
4490
|
-
|
|
4490
|
+
Ic,
|
|
4491
4491
|
{
|
|
4492
4492
|
lastEmojiReaction: r,
|
|
4493
4493
|
onSelect: s,
|
|
@@ -4507,7 +4507,7 @@ function ik(e) {
|
|
|
4507
4507
|
const s = n.current;
|
|
4508
4508
|
if (!s)
|
|
4509
4509
|
return;
|
|
4510
|
-
const o =
|
|
4510
|
+
const o = Bf.create(s, {
|
|
4511
4511
|
resize: !0,
|
|
4512
4512
|
useWorker: !1
|
|
4513
4513
|
}), d = ["9D76F3", "3FC495", "E61D46", "F6AF3D"], l = 0.1;
|
|
@@ -4715,7 +4715,7 @@ function sk({ items: e, onInteraction: n, locale: i, action: a }) {
|
|
|
4715
4715
|
hideLabel: !0
|
|
4716
4716
|
}
|
|
4717
4717
|
) : null,
|
|
4718
|
-
/* @__PURE__ */ t(
|
|
4718
|
+
/* @__PURE__ */ t(Ic, { onSelect: n, locale: i }),
|
|
4719
4719
|
e.map((r) => /* @__PURE__ */ t(
|
|
4720
4720
|
rk,
|
|
4721
4721
|
{
|
|
@@ -5474,8 +5474,8 @@ const dk = () => /* @__PURE__ */ m("div", { className: "flex flex-col justify-ar
|
|
|
5474
5474
|
loading: n,
|
|
5475
5475
|
expectedItemsCount: i
|
|
5476
5476
|
}) => {
|
|
5477
|
-
const { isPageInFlight: a } =
|
|
5478
|
-
return /* @__PURE__ */ m(
|
|
5477
|
+
const { isPageInFlight: a } = Gg(), r = n || a ? i : 0;
|
|
5478
|
+
return /* @__PURE__ */ m(Vg, { "aria-busy": n || a || void 0, children: [
|
|
5479
5479
|
n ? null : e.map((s) => /* @__PURE__ */ t(ed, { className: Rd, children: /* @__PURE__ */ t(kk, { post: s }) }, s.id)),
|
|
5480
5480
|
Array.from({ length: r }, (s, o) => /* @__PURE__ */ t(ed, { className: Rd, children: /* @__PURE__ */ t(yk, { withImage: wk(e) }) }, `placeholder-${o}`))
|
|
5481
5481
|
] });
|
|
@@ -5486,7 +5486,7 @@ const dk = () => /* @__PURE__ */ m("div", { className: "flex flex-col justify-ar
|
|
|
5486
5486
|
expectedItemsCount: a = 2,
|
|
5487
5487
|
pagination: r
|
|
5488
5488
|
}) => /* @__PURE__ */ m(
|
|
5489
|
-
|
|
5489
|
+
qg,
|
|
5490
5490
|
{
|
|
5491
5491
|
opts: {
|
|
5492
5492
|
// `start`, so the first tile is flush with the card's content box —
|
|
@@ -5514,7 +5514,7 @@ const dk = () => /* @__PURE__ */ m("div", { className: "flex flex-col justify-ar
|
|
|
5514
5514
|
expectedItemsCount: a
|
|
5515
5515
|
}
|
|
5516
5516
|
),
|
|
5517
|
-
/* @__PURE__ */ t(
|
|
5517
|
+
/* @__PURE__ */ t(Ug, { labels: n })
|
|
5518
5518
|
]
|
|
5519
5519
|
}
|
|
5520
5520
|
), hu = "flex w-full flex-row flex-wrap items-start gap-2 rounded-md border p-2 focus:outline focus:outline-1 focus:outline-offset-1 focus:outline-f1-border-selected-bold", xk = ({
|
|
@@ -5695,12 +5695,74 @@ const RE = bn(
|
|
|
5695
5695
|
"OnePersonListItem",
|
|
5696
5696
|
Cn(gu, Ck)
|
|
5697
5697
|
)
|
|
5698
|
-
),
|
|
5698
|
+
), { duration: pu, ease: bu, settleMs: Sk } = Dn, Ik = Sk, ku = {
|
|
5699
|
+
duration: pu.base,
|
|
5700
|
+
ease: bu.outSwift
|
|
5701
|
+
}, Tk = {
|
|
5702
|
+
duration: pu.reveal,
|
|
5703
|
+
ease: bu.outSwift
|
|
5704
|
+
}, yu = { duration: 0 }, Ad = (e, n = !1) => e || n ? yu : ku, Mk = (e, n, i = !1) => e || i ? yu : n ? Tk : ku, Ek = ({
|
|
5705
|
+
coversFrame: e,
|
|
5706
|
+
isFullscreen: n,
|
|
5707
|
+
isClosingFromFullscreen: i,
|
|
5708
|
+
isActivePanel: a,
|
|
5709
|
+
reservedWidth: r
|
|
5710
|
+
}) => e || (n || i) && a ? "100%" : r, Rk = () => {
|
|
5711
|
+
const { open: e, activeContent: n, contentSide: i, restoringViewId: a } = Na(), r = kn(), s = M(n);
|
|
5712
|
+
n && (s.current = n);
|
|
5713
|
+
const o = !n && a ? {
|
|
5714
|
+
id: a,
|
|
5715
|
+
content: /* @__PURE__ */ t(
|
|
5716
|
+
ie,
|
|
5717
|
+
{
|
|
5718
|
+
role: "status",
|
|
5719
|
+
"aria-busy": !0,
|
|
5720
|
+
className: "h-full w-full rounded-none"
|
|
5721
|
+
}
|
|
5722
|
+
)
|
|
5723
|
+
} : null, d = n ?? o ?? s.current;
|
|
5724
|
+
return /* @__PURE__ */ t(
|
|
5725
|
+
kv,
|
|
5726
|
+
{
|
|
5727
|
+
visible: e && (n !== null || o !== null),
|
|
5728
|
+
side: i,
|
|
5729
|
+
exitStyle: e ? "hold" : "shrink",
|
|
5730
|
+
children: /* @__PURE__ */ t(hn, { initial: !1, children: /* @__PURE__ */ t(
|
|
5731
|
+
Me.div,
|
|
5732
|
+
{
|
|
5733
|
+
className: "absolute inset-0 flex flex-col overflow-hidden",
|
|
5734
|
+
initial: r ? !1 : { opacity: 0 },
|
|
5735
|
+
animate: { opacity: 1 },
|
|
5736
|
+
exit: r ? void 0 : { opacity: 0 },
|
|
5737
|
+
transition: { duration: r ? 0 : 0.15, ease: "easeOut" },
|
|
5738
|
+
children: d?.content
|
|
5739
|
+
},
|
|
5740
|
+
d ? `panel:${d.id}` : "panel:none"
|
|
5741
|
+
) })
|
|
5742
|
+
}
|
|
5743
|
+
);
|
|
5744
|
+
};
|
|
5745
|
+
function Ak(e = Ik) {
|
|
5746
|
+
const [n, i] = z(!1);
|
|
5747
|
+
return W(() => {
|
|
5748
|
+
let a = 0;
|
|
5749
|
+
const r = () => {
|
|
5750
|
+
i(!0), window.clearTimeout(a), a = window.setTimeout(
|
|
5751
|
+
() => i(!1),
|
|
5752
|
+
e
|
|
5753
|
+
);
|
|
5754
|
+
};
|
|
5755
|
+
return window.addEventListener("resize", r), () => {
|
|
5756
|
+
window.clearTimeout(a), window.removeEventListener("resize", r);
|
|
5757
|
+
};
|
|
5758
|
+
}, [e]), n;
|
|
5759
|
+
}
|
|
5760
|
+
const Zs = un(null), wu = un(null), eo = un(null), _u = un(null), Fk = (e) => {
|
|
5699
5761
|
const n = M(e), i = n.current, r = i === e || i != null && e != null && i.canPublishAudio === e.canPublishAudio && i.canPublishVideo === e.canPublishVideo && i.canShareScreen === e.canShareScreen && i.canRecord === e.canRecord && i.canMuteOthers === e.canMuteOthers && i.canRemoveParticipants === e.canRemoveParticipants && i.canModerate === e.canModerate ? i : e;
|
|
5700
5762
|
return en(() => {
|
|
5701
5763
|
n.current = r;
|
|
5702
5764
|
}), r;
|
|
5703
|
-
},
|
|
5765
|
+
}, Pk = ({
|
|
5704
5766
|
runtime: e,
|
|
5705
5767
|
children: n
|
|
5706
5768
|
}) => {
|
|
@@ -5715,7 +5777,7 @@ const RE = bn(
|
|
|
5715
5777
|
for (const T of F.keys())
|
|
5716
5778
|
w.has(T) || F.delete(T);
|
|
5717
5779
|
}, [r]);
|
|
5718
|
-
const s =
|
|
5780
|
+
const s = Fk(e?.capabilities), o = !!e?.setScreenShareEnabled, d = !!e?.startRecording, l = !!e?.sendReaction, f = !!e?.setHandRaised, c = !!(e?.muteParticipant ?? e?.removeParticipant), u = !!e?.reconnect, h = !!e?.setTranscription, g = e?.room.id, v = e?.localParticipantId, p = X(
|
|
5719
5781
|
() => g === void 0 || v === void 0 ? null : {
|
|
5720
5782
|
roomId: g,
|
|
5721
5783
|
localParticipantId: v,
|
|
@@ -5791,14 +5853,14 @@ const RE = bn(
|
|
|
5791
5853
|
I
|
|
5792
5854
|
]
|
|
5793
5855
|
);
|
|
5794
|
-
return /* @__PURE__ */ t(Zs.Provider, { value: e, children: /* @__PURE__ */ t(
|
|
5795
|
-
},
|
|
5856
|
+
return /* @__PURE__ */ t(Zs.Provider, { value: e, children: /* @__PURE__ */ t(wu.Provider, { value: p, children: /* @__PURE__ */ t(_u.Provider, { value: a, children: /* @__PURE__ */ t(eo.Provider, { value: C, children: n }) }) }) });
|
|
5857
|
+
}, xu = () => cn(Zs) !== null, no = () => {
|
|
5796
5858
|
const e = cn(Zs);
|
|
5797
5859
|
if (!e)
|
|
5798
5860
|
throw new Error("useF0Meeting must be used within an F0MeetingProvider");
|
|
5799
5861
|
return e;
|
|
5800
5862
|
}, Ki = () => {
|
|
5801
|
-
const e = cn(
|
|
5863
|
+
const e = cn(wu);
|
|
5802
5864
|
if (!e)
|
|
5803
5865
|
throw new Error(
|
|
5804
5866
|
"useF0MeetingStable must be used within an F0MeetingProvider"
|
|
@@ -5811,15 +5873,15 @@ const RE = bn(
|
|
|
5811
5873
|
"useF0MeetingRoster must be used within an F0MeetingProvider"
|
|
5812
5874
|
);
|
|
5813
5875
|
return e;
|
|
5814
|
-
},
|
|
5815
|
-
const e = cn(
|
|
5876
|
+
}, Lk = () => cn(eo), Ok = () => {
|
|
5877
|
+
const e = cn(_u);
|
|
5816
5878
|
if (!e)
|
|
5817
5879
|
throw new Error(
|
|
5818
5880
|
"useF0MeetingBindings must be used within an F0MeetingProvider"
|
|
5819
5881
|
);
|
|
5820
5882
|
return e;
|
|
5821
|
-
},
|
|
5822
|
-
const n =
|
|
5883
|
+
}, Nu = (e) => {
|
|
5884
|
+
const n = Ok(), i = M(null), a = e?.bindingKey, r = e?.binding, s = r !== void 0, o = M(r);
|
|
5823
5885
|
return en(() => {
|
|
5824
5886
|
o.current = r;
|
|
5825
5887
|
}), en(() => {
|
|
@@ -5830,26 +5892,26 @@ const RE = bn(
|
|
|
5830
5892
|
if (l)
|
|
5831
5893
|
return l(d);
|
|
5832
5894
|
}, [a, s, n]), i;
|
|
5833
|
-
},
|
|
5834
|
-
const n =
|
|
5895
|
+
}, Dk = ({ track: e }) => {
|
|
5896
|
+
const n = Nu(e);
|
|
5835
5897
|
return /* @__PURE__ */ t("audio", { ref: n, autoPlay: !0 });
|
|
5836
|
-
},
|
|
5898
|
+
}, zk = () => {
|
|
5837
5899
|
const { participants: e } = Ln(), n = e.filter((i) => !i.isLocal).flatMap(
|
|
5838
5900
|
(i) => i.tracks.filter(
|
|
5839
5901
|
(a) => (a.kind === "microphone" || a.kind === "screenShareAudio") && a.live
|
|
5840
5902
|
)
|
|
5841
5903
|
);
|
|
5842
|
-
return /* @__PURE__ */ t("div", { "aria-hidden": !0, className: "hidden", children: n.map((i) => /* @__PURE__ */ t(
|
|
5843
|
-
},
|
|
5904
|
+
return /* @__PURE__ */ t("div", { "aria-hidden": !0, className: "hidden", children: n.map((i) => /* @__PURE__ */ t(Dk, { track: i }, i.bindingKey)) });
|
|
5905
|
+
}, Cu = un("regular"), io = ({
|
|
5844
5906
|
density: e,
|
|
5845
5907
|
children: n
|
|
5846
|
-
}) => /* @__PURE__ */ t(
|
|
5847
|
-
|
|
5848
|
-
Math.min(
|
|
5849
|
-
),
|
|
5908
|
+
}) => /* @__PURE__ */ t(Cu.Provider, { value: e, children: n }), za = () => cn(Cu), Bk = 16 / 9, to = (e, n, i) => Math.min(i, Math.max(n, e)), Vr = 0.8, Kr = 2, Fd = 0.85, Hk = 1.5, jk = 0.3, Wk = 0.96, $k = 0.95, qk = 1.05, Uk = 16, Gk = 0.85, Su = 480, Pd = 420, rt = 320, Vk = 0.5, Ba = 160, Iu = 320, Kk = 11, Yk = 18, Xk = (e) => to(Math.round(4 + e * 0.03), Kk, Yk), Jk = (e) => e < 80 ? "xs" : e < 140 ? "sm" : e < 220 ? "md" : "lg", lr = { width: 88, height: 44 }, Qk = (e) => e === 0 ? 0 : 12 + e * 32 + (e - 1) * 6 + 8, Zk = 200, ey = 8, Tu = 16, ny = (e) => e < Su ? ey : Tu, iy = (e, n, i) => ao(Math.sqrt(e * n / Math.max(1, i)) * 1.2), ao = (e) => to(Math.round(e * 0.045), 4, Tu), Wt = (e) => to(Math.round(e * 0.055), 6, 16), Yr = (e) => e === void 0 ? void 0 : { borderRadius: e }, Mu = 5, ty = 88, ay = 320, Eu = (e) => Math.max(ty, Math.min(ay, e / Mu)), ry = 48, sy = 180, oy = (e, n = 1 / 0) => Math.max(
|
|
5909
|
+
ry,
|
|
5910
|
+
Math.min(sy, e / Mu, n / 3)
|
|
5911
|
+
), Ld = 146, dy = Ld * Math.round(Ld * 9 / 16), ly = 1.15, Ru = (e, n, i = !1) => e * n < dy * (i ? ly : 1), Od = 0.18, Dd = 48, zd = 168, fy = 72, Bd = 6, cy = 2.1, Au = 2e3, ct = (e, n) => `${e}:${n}`, Hd = (e, n) => e.tracks.find((i) => i.kind === n), uy = (e) => {
|
|
5850
5912
|
const n = [], i = [], a = [];
|
|
5851
5913
|
for (const r of e) {
|
|
5852
|
-
const s =
|
|
5914
|
+
const s = Hd(r, "screenShare");
|
|
5853
5915
|
s && n.push({
|
|
5854
5916
|
key: ct(r.id, "screenShare"),
|
|
5855
5917
|
participant: r,
|
|
@@ -5860,14 +5922,14 @@ const RE = bn(
|
|
|
5860
5922
|
key: ct(r.id, "camera"),
|
|
5861
5923
|
participant: r,
|
|
5862
5924
|
kind: "camera",
|
|
5863
|
-
track:
|
|
5925
|
+
track: Hd(r, "camera")
|
|
5864
5926
|
};
|
|
5865
5927
|
(r.isLocal ? a : i).push(o);
|
|
5866
5928
|
}
|
|
5867
5929
|
return [...n, ...i, ...a];
|
|
5868
5930
|
}, ro = (e) => !e.tracks.some(
|
|
5869
5931
|
(n) => n.kind === "microphone" && !n.muted
|
|
5870
|
-
),
|
|
5932
|
+
), my = (e) => !!(e.track && e.track.live && !e.track.muted), AE = (e, n) => {
|
|
5871
5933
|
const { width: i, height: a } = e.track ?? {};
|
|
5872
5934
|
return e.kind === "screenShare" && i && a ? i / a : n;
|
|
5873
5935
|
}, FE = [
|
|
@@ -5901,7 +5963,7 @@ const RE = bn(
|
|
|
5901
5963
|
"good",
|
|
5902
5964
|
"poor",
|
|
5903
5965
|
"lost"
|
|
5904
|
-
],
|
|
5966
|
+
], Fu = [
|
|
5905
5967
|
"fullscreen",
|
|
5906
5968
|
/** The side panel: pinned to the left of the content, which narrows for it. */
|
|
5907
5969
|
"panel",
|
|
@@ -5909,9 +5971,9 @@ const RE = bn(
|
|
|
5909
5971
|
"minimized",
|
|
5910
5972
|
"inline"
|
|
5911
5973
|
], BE = [
|
|
5912
|
-
...
|
|
5974
|
+
...Fu,
|
|
5913
5975
|
"pip"
|
|
5914
|
-
],
|
|
5976
|
+
], hy = ["tl", "tr", "bl", "br"], HE = [
|
|
5915
5977
|
"core:microphone",
|
|
5916
5978
|
"core:microphoneSettings",
|
|
5917
5979
|
"core:camera",
|
|
@@ -5920,7 +5982,7 @@ const RE = bn(
|
|
|
5920
5982
|
"core:raiseHand",
|
|
5921
5983
|
"core:chat",
|
|
5922
5984
|
"core:leave"
|
|
5923
|
-
], Tn = (e, n, i) => Math.max(n, Math.min(i, e)),
|
|
5985
|
+
], Tn = (e, n, i) => Math.max(n, Math.min(i, e)), jd = (e) => Math.round(e / 4) * 4, vy = (e, n) => {
|
|
5924
5986
|
let i = e.width, a = i / n;
|
|
5925
5987
|
return a > e.height && (a = e.height, i = a * n), {
|
|
5926
5988
|
x: (e.width - i) / 2,
|
|
@@ -5936,38 +5998,38 @@ const RE = bn(
|
|
|
5936
5998
|
tight: 48,
|
|
5937
5999
|
compact: 56,
|
|
5938
6000
|
regular: 64
|
|
5939
|
-
}, oo = ({ width: e, height: n }) => e < 330 || n < 300 ? "tight" : e < 620 || n < 460 ? "compact" : "regular",
|
|
6001
|
+
}, oo = ({ width: e, height: n }) => e < 330 || n < 300 ? "tight" : e < 620 || n < 460 ? "compact" : "regular", gy = (e, n) => e === "tight" ? 6 : n && e === "regular" ? 16 : 12, py = {
|
|
5940
6002
|
6: "gap-1.5 px-1.5",
|
|
5941
6003
|
12: "gap-3 px-3",
|
|
5942
6004
|
16: "gap-4 px-4"
|
|
5943
|
-
}, Ze = 12, ja = 280, Wa = Ha.tight + so.tight, lo = 360,
|
|
6005
|
+
}, Ze = 12, ja = 280, Wa = Ha.tight + so.tight, lo = 360, Pu = Math.round(lo * 9 / 16) + Ha.compact + so.compact, Wd = 280, $d = 56, qd = 88, by = 5, Xr = 16, ky = 48, yy = "ONE-meeting-window", wy = "ONE-meeting-mode", _y = "ONE-meeting-panel-width", xy = 150, Lu = (e) => e.endsWith("l"), Ou = (e) => e.startsWith("t"), Du = (e, n, i = ja, a = Wa) => {
|
|
5944
6006
|
const r = Math.max(i, n.width - Ze * 2), s = Math.max(a, n.height - Ze * 2), o = Tn(e.width, i, r), d = Tn(e.height, a, s), l = Math.max(Ze, n.width - o - Ze), f = Math.max(
|
|
5945
6007
|
Ze,
|
|
5946
6008
|
n.height - d - Ze
|
|
5947
6009
|
), c = Tn(e.dx, Ze, l), u = Tn(e.dy, Ze, f);
|
|
5948
6010
|
return {
|
|
5949
|
-
x:
|
|
5950
|
-
y:
|
|
6011
|
+
x: Lu(e.corner) ? c : n.width - c - o,
|
|
6012
|
+
y: Ou(e.corner) ? u : n.height - u - d,
|
|
5951
6013
|
width: o,
|
|
5952
6014
|
height: d
|
|
5953
6015
|
};
|
|
5954
|
-
},
|
|
6016
|
+
}, zu = (e, n, i) => ({
|
|
5955
6017
|
corner: n,
|
|
5956
|
-
dx:
|
|
5957
|
-
dy:
|
|
6018
|
+
dx: Lu(n) ? e.x : i.width - e.x - e.width,
|
|
6019
|
+
dy: Ou(n) ? e.y : i.height - e.y - e.height,
|
|
5958
6020
|
width: e.width,
|
|
5959
6021
|
height: e.height
|
|
5960
|
-
}),
|
|
6022
|
+
}), Bu = (e, n) => {
|
|
5961
6023
|
const i = e.x + e.width / 2, r = e.y + e.height / 2 < n.height / 2 ? "t" : "b", s = i < n.width / 2 ? "l" : "r";
|
|
5962
6024
|
return `${r}${s}`;
|
|
5963
|
-
},
|
|
5964
|
-
const i =
|
|
5965
|
-
return a.dx - Ze <
|
|
5966
|
-
},
|
|
6025
|
+
}, Ny = (e, n) => {
|
|
6026
|
+
const i = Bu(e, n), a = zu(e, i, n);
|
|
6027
|
+
return a.dx - Ze < qd && a.dy - Ze < qd ? { ...a, dx: Ze, dy: Ze } : a;
|
|
6028
|
+
}, Cy = (e) => {
|
|
5967
6029
|
if (typeof e != "object" || e === null)
|
|
5968
6030
|
return !1;
|
|
5969
6031
|
const n = e;
|
|
5970
|
-
return typeof n.corner == "string" &&
|
|
6032
|
+
return typeof n.corner == "string" && hy.includes(n.corner) && typeof n.dx == "number" && Number.isFinite(n.dx) && typeof n.dy == "number" && Number.isFinite(n.dy) && typeof n.width == "number" && Number.isFinite(n.width) && typeof n.height == "number" && Number.isFinite(n.height);
|
|
5971
6033
|
}, fo = {
|
|
5972
6034
|
n: { dx: 0, dy: 1, dw: 0, dh: -1, cursor: "ns-resize" },
|
|
5973
6035
|
s: { dx: 0, dy: 0, dw: 0, dh: 1, cursor: "ns-resize" },
|
|
@@ -5977,7 +6039,7 @@ const RE = bn(
|
|
|
5977
6039
|
ne: { dx: 0, dy: 1, dw: 1, dh: -1, cursor: "nesw-resize" },
|
|
5978
6040
|
sw: { dx: 1, dy: 0, dw: -1, dh: 1, cursor: "nesw-resize" },
|
|
5979
6041
|
se: { dx: 0, dy: 0, dw: 1, dh: 1, cursor: "nwse-resize" }
|
|
5980
|
-
},
|
|
6042
|
+
}, Sy = ({
|
|
5981
6043
|
rect: e,
|
|
5982
6044
|
handle: n,
|
|
5983
6045
|
deltaX: i,
|
|
@@ -6009,7 +6071,7 @@ const RE = bn(
|
|
|
6009
6071
|
width: l,
|
|
6010
6072
|
height: f
|
|
6011
6073
|
};
|
|
6012
|
-
},
|
|
6074
|
+
}, Iy = () => typeof window < "u" && "documentPictureInPicture" in window && window.documentPictureInPicture ? "document" : typeof document < "u" && "pictureInPictureEnabled" in document && document.pictureInPictureEnabled ? "video" : "none", Ty = (e, n) => {
|
|
6013
6075
|
for (const i of Array.from(e.styleSheets))
|
|
6014
6076
|
try {
|
|
6015
6077
|
const a = Array.from(i.cssRules).map((s) => s.cssText).join(""), r = n.createElement("style");
|
|
@@ -6020,22 +6082,22 @@ const RE = bn(
|
|
|
6020
6082
|
const a = n.createElement("link");
|
|
6021
6083
|
a.rel = "stylesheet", a.href = i.href, i.media.mediaText && (a.media = i.media.mediaText), n.head.appendChild(a);
|
|
6022
6084
|
}
|
|
6023
|
-
},
|
|
6085
|
+
}, My = (e, n) => {
|
|
6024
6086
|
const i = e.documentElement, a = n.documentElement;
|
|
6025
6087
|
i.lang && (a.lang = i.lang), i.dir && (a.dir = i.dir), a.className = i.className;
|
|
6026
6088
|
for (const { name: r, value: s } of Array.from(i.attributes))
|
|
6027
6089
|
r.startsWith("data-") && a.setAttribute(r, s);
|
|
6028
6090
|
n.body.className = e.body.className;
|
|
6029
|
-
},
|
|
6091
|
+
}, Ey = (e) => {
|
|
6030
6092
|
e.documentElement.classList.add("dark");
|
|
6031
|
-
},
|
|
6093
|
+
}, Ry = () => {
|
|
6032
6094
|
const [e, n] = z(null), [i, a] = z(null), r = R(
|
|
6033
6095
|
async ({ width: f, height: c }) => {
|
|
6034
6096
|
const u = window.documentPictureInPicture;
|
|
6035
6097
|
if (!u)
|
|
6036
6098
|
return null;
|
|
6037
6099
|
const h = await u.requestWindow({ width: f, height: c });
|
|
6038
|
-
return
|
|
6100
|
+
return Ty(document, h.document), My(document, h.document), Ey(h.document), h.addEventListener(
|
|
6039
6101
|
"pagehide",
|
|
6040
6102
|
() => n((g) => g === h ? null : g),
|
|
6041
6103
|
{ once: !0 }
|
|
@@ -6059,7 +6121,7 @@ const RE = bn(
|
|
|
6059
6121
|
},
|
|
6060
6122
|
[]
|
|
6061
6123
|
), {
|
|
6062
|
-
support:
|
|
6124
|
+
support: Iy(),
|
|
6063
6125
|
pipWindow: e,
|
|
6064
6126
|
pipVideo: i,
|
|
6065
6127
|
open: r,
|
|
@@ -6067,17 +6129,17 @@ const RE = bn(
|
|
|
6067
6129
|
openVideo: o,
|
|
6068
6130
|
closeVideo: d
|
|
6069
6131
|
};
|
|
6070
|
-
},
|
|
6132
|
+
}, Ay = {
|
|
6071
6133
|
corner: "br",
|
|
6072
6134
|
dx: Ze * 2,
|
|
6073
6135
|
dy: Ze * 2,
|
|
6074
6136
|
width: lo,
|
|
6075
|
-
height:
|
|
6076
|
-
}, Pt = () => typeof window > "u" ? { width: 1280, height: 800 } : { width: window.innerWidth, height: window.innerHeight },
|
|
6137
|
+
height: Pu
|
|
6138
|
+
}, Pt = () => typeof window > "u" ? { width: 1280, height: 800 } : { width: window.innerWidth, height: window.innerHeight }, Fy = () => {
|
|
6077
6139
|
const [e, n] = zr({
|
|
6078
|
-
key:
|
|
6079
|
-
fallback:
|
|
6080
|
-
validate:
|
|
6140
|
+
key: yy,
|
|
6141
|
+
fallback: Ay,
|
|
6142
|
+
validate: Cy
|
|
6081
6143
|
}), [i, a] = z(Pt);
|
|
6082
6144
|
W(() => {
|
|
6083
6145
|
if (typeof window > "u")
|
|
@@ -6096,27 +6158,27 @@ const RE = bn(
|
|
|
6096
6158
|
};
|
|
6097
6159
|
}, []);
|
|
6098
6160
|
const r = R(
|
|
6099
|
-
(o) => n(
|
|
6161
|
+
(o) => n(Ny(o, Pt())),
|
|
6100
6162
|
[n]
|
|
6101
6163
|
), s = R(
|
|
6102
6164
|
(o) => n(
|
|
6103
|
-
(d) =>
|
|
6165
|
+
(d) => zu(o, d.corner, Pt())
|
|
6104
6166
|
),
|
|
6105
6167
|
[n]
|
|
6106
6168
|
);
|
|
6107
6169
|
return {
|
|
6108
6170
|
placement: e,
|
|
6109
6171
|
viewport: i,
|
|
6110
|
-
rect:
|
|
6172
|
+
rect: Du(e, i),
|
|
6111
6173
|
settle: r,
|
|
6112
6174
|
resize: s
|
|
6113
6175
|
};
|
|
6114
|
-
},
|
|
6176
|
+
}, Py = /* @__PURE__ */ new Set([
|
|
6115
6177
|
"fullscreen",
|
|
6116
6178
|
"floating",
|
|
6117
6179
|
"minimized",
|
|
6118
6180
|
"panel"
|
|
6119
|
-
]),
|
|
6181
|
+
]), Ly = (e) => typeof e == "string" && Fu.includes(e), Oy = (e) => typeof e == "object" && e !== null && typeof e.roomId == "string" && Ly(e.mode), Dy = (e, n, i) => {
|
|
6120
6182
|
if (n.type === "pinned") {
|
|
6121
6183
|
const s = e.get(n.key);
|
|
6122
6184
|
if (s)
|
|
@@ -6133,17 +6195,17 @@ const RE = bn(
|
|
|
6133
6195
|
return e.values().next().value ?? null;
|
|
6134
6196
|
}, co = un(
|
|
6135
6197
|
null
|
|
6136
|
-
),
|
|
6198
|
+
), zy = ({
|
|
6137
6199
|
defaultMode: e = "fullscreen",
|
|
6138
6200
|
roomId: n = "",
|
|
6139
6201
|
pictureInPicture: i = !0,
|
|
6140
6202
|
children: a
|
|
6141
6203
|
}) => {
|
|
6142
6204
|
const [r, s] = zr({
|
|
6143
|
-
key:
|
|
6205
|
+
key: wy,
|
|
6144
6206
|
fallback: { roomId: n, mode: e },
|
|
6145
|
-
validate:
|
|
6146
|
-
shouldWrite: (ye) =>
|
|
6207
|
+
validate: Oy,
|
|
6208
|
+
shouldWrite: (ye) => Py.has(ye.mode)
|
|
6147
6209
|
}), o = r.roomId === n ? r.mode : e, [d, l] = z(null), [f, c] = z(null), u = f !== null, [h, g] = z(!1), [v, p] = z({
|
|
6148
6210
|
type: "auto"
|
|
6149
6211
|
}), [b, k] = z(null), [N, _] = z({}), x = M("chat"), S = R((ye) => {
|
|
@@ -6160,19 +6222,19 @@ const RE = bn(
|
|
|
6160
6222
|
},
|
|
6161
6223
|
[b]
|
|
6162
6224
|
), w = b !== null, T = b ? N[b] ?? null : null, [E, L] = zr({
|
|
6163
|
-
key:
|
|
6164
|
-
fallback:
|
|
6225
|
+
key: _y,
|
|
6226
|
+
fallback: Pd,
|
|
6165
6227
|
validate: (ye) => typeof ye == "number" && Number.isFinite(ye) && ye >= rt,
|
|
6166
|
-
debounceMs:
|
|
6228
|
+
debounceMs: xy
|
|
6167
6229
|
}), D = R(
|
|
6168
|
-
() => L(
|
|
6230
|
+
() => L(Pd),
|
|
6169
6231
|
[L]
|
|
6170
|
-
), [P, B] = z(""), q =
|
|
6232
|
+
), [P, B] = z(""), q = Ry(), A = i ? q.support : "none", H = q.pipWindow !== null, $ = M(/* @__PURE__ */ new Map()), J = R(
|
|
6171
6233
|
(ye, Xe) => {
|
|
6172
6234
|
Xe ? $.current.set(ye, Xe) : $.current.delete(ye);
|
|
6173
6235
|
},
|
|
6174
6236
|
[]
|
|
6175
|
-
), G =
|
|
6237
|
+
), G = Lk(), K = M({ focusIntent: v, roster: G });
|
|
6176
6238
|
K.current = { focusIntent: v, roster: G };
|
|
6177
6239
|
const U = M(q);
|
|
6178
6240
|
U.current = q;
|
|
@@ -6181,12 +6243,12 @@ const RE = bn(
|
|
|
6181
6243
|
if (A === "document") {
|
|
6182
6244
|
if (ye.pipWindow)
|
|
6183
6245
|
return;
|
|
6184
|
-
ye.open({ width: lo, height:
|
|
6246
|
+
ye.open({ width: lo, height: Pu }).catch(() => {
|
|
6185
6247
|
});
|
|
6186
6248
|
return;
|
|
6187
6249
|
}
|
|
6188
6250
|
if (A === "video" && !ye.pipVideo) {
|
|
6189
|
-
const { focusIntent: Xe, roster: nn } = K.current, te =
|
|
6251
|
+
const { focusIntent: Xe, roster: nn } = K.current, te = Dy($.current, Xe, nn);
|
|
6190
6252
|
te && ye.openVideo(te).catch(() => {
|
|
6191
6253
|
});
|
|
6192
6254
|
}
|
|
@@ -6208,11 +6270,11 @@ const RE = bn(
|
|
|
6208
6270
|
rect: Se,
|
|
6209
6271
|
settle: le,
|
|
6210
6272
|
resize: Re
|
|
6211
|
-
} =
|
|
6212
|
-
{ ...de, width:
|
|
6273
|
+
} = Fy(), Pe = X(() => H ? "pip" : o === "inline" && !d || (o === "panel" || o === "fullscreen") && !u ? "floating" : o, [H, o, d, u]), De = X(() => Pe === "inline" && d ? d : Pe === "minimized" ? Du(
|
|
6274
|
+
{ ...de, width: Wd, height: $d },
|
|
6213
6275
|
ne,
|
|
6214
|
-
|
|
6215
|
-
|
|
6276
|
+
Wd,
|
|
6277
|
+
$d
|
|
6216
6278
|
) : Se, [Pe, ne, d, de, Se]), $e = R((ye) => {
|
|
6217
6279
|
B(ye);
|
|
6218
6280
|
}, []), Le = X(
|
|
@@ -6289,7 +6351,7 @@ const RE = bn(
|
|
|
6289
6351
|
"useMeetingSurface must be used within a MeetingSurfaceProvider"
|
|
6290
6352
|
);
|
|
6291
6353
|
return e;
|
|
6292
|
-
},
|
|
6354
|
+
}, Hu = () => cn(co), ju = un({}), By = ({
|
|
6293
6355
|
actions: e,
|
|
6294
6356
|
actionOrder: n,
|
|
6295
6357
|
sidePanels: i,
|
|
@@ -6309,27 +6371,27 @@ const RE = bn(
|
|
|
6309
6371
|
}),
|
|
6310
6372
|
[e, n, i, a, r, s]
|
|
6311
6373
|
);
|
|
6312
|
-
return /* @__PURE__ */ t(
|
|
6313
|
-
}, $a = () => cn(
|
|
6374
|
+
return /* @__PURE__ */ t(ju.Provider, { value: d, children: o });
|
|
6375
|
+
}, $a = () => cn(ju), Wu = (e) => e?.tabs.reduce((n, i) => n + (i.badge ?? 0), 0) ?? 0, uo = "chat", Hy = (e) => e === uo ? "core:chat" : `core:panel:${e}`, $u = (e, n, i) => (e ?? (n ? [{ ...n, id: uo, label: i, icon: yv }] : [])).filter((r) => r.tabs.length > 0), qu = () => {
|
|
6314
6376
|
const e = Z(), { sidePanels: n, sidePanel: i } = $a();
|
|
6315
6377
|
return X(
|
|
6316
|
-
() =>
|
|
6378
|
+
() => $u(n, i, e.meeting.chatPanel),
|
|
6317
6379
|
[n, i, e.meeting.chatPanel]
|
|
6318
6380
|
);
|
|
6319
|
-
},
|
|
6381
|
+
}, jy = (e) => e.reduce((n, i) => n + Wu(i), 0), Wy = "[@media(pointer:coarse)]:before:absolute [@media(pointer:coarse)]:before:content-['']", $y = {
|
|
6320
6382
|
all: "[@media(pointer:coarse)]:before:-inset-[6px]",
|
|
6321
6383
|
// The halves of a fused control only reach outward. Bleeding into the
|
|
6322
6384
|
// neighbour would let the small chevron steal the toggle's edge — the
|
|
6323
6385
|
// misclick the fused shape was designed to avoid.
|
|
6324
6386
|
left: "[@media(pointer:coarse)]:before:-inset-y-[6px] [@media(pointer:coarse)]:before:-left-[6px] [@media(pointer:coarse)]:before:right-0",
|
|
6325
6387
|
right: "[@media(pointer:coarse)]:before:-inset-y-[6px] [@media(pointer:coarse)]:before:left-0 [@media(pointer:coarse)]:before:-right-[6px]"
|
|
6326
|
-
}, Jr = (e = "all") => y("relative",
|
|
6327
|
-
const e = Z(), { effectiveMode: n, setMode: i, hasPanelSlot: a, panelSide: r } = An(), s = r === "left" ?
|
|
6328
|
-
{ mode: "floating", icon:
|
|
6388
|
+
}, Jr = (e = "all") => y("relative", Wy, $y[e]), Uu = () => "[@media(pointer:coarse)]:[&>button]:before:absolute [@media(pointer:coarse)]:[&>button]:before:content-[''] [@media(pointer:coarse)]:[&>button]:before:-inset-[6px]", qy = () => {
|
|
6389
|
+
const e = Z(), { effectiveMode: n, setMode: i, hasPanelSlot: a, panelSide: r } = An(), s = r === "left" ? _v : xv, o = [
|
|
6390
|
+
{ mode: "floating", icon: wv, label: e.meeting.modeFloating },
|
|
6329
6391
|
{ mode: "panel", icon: s, label: e.meeting.modeSidePanel },
|
|
6330
6392
|
{
|
|
6331
6393
|
mode: "fullscreen",
|
|
6332
|
-
icon:
|
|
6394
|
+
icon: Nv,
|
|
6333
6395
|
label: e.meeting.modeFullscreen
|
|
6334
6396
|
}
|
|
6335
6397
|
], d = (n === "minimized" ? o.filter((l) => l.mode === "floating") : o).filter(
|
|
@@ -6340,9 +6402,9 @@ const RE = bn(
|
|
|
6340
6402
|
{
|
|
6341
6403
|
role: "group",
|
|
6342
6404
|
"aria-label": e.meeting.modeSwitch,
|
|
6343
|
-
className: y(
|
|
6405
|
+
className: y(Uu()),
|
|
6344
6406
|
children: /* @__PURE__ */ t(
|
|
6345
|
-
|
|
6407
|
+
Kg,
|
|
6346
6408
|
{
|
|
6347
6409
|
size: "md",
|
|
6348
6410
|
required: !0,
|
|
@@ -6361,10 +6423,10 @@ const RE = bn(
|
|
|
6361
6423
|
)
|
|
6362
6424
|
}
|
|
6363
6425
|
);
|
|
6364
|
-
}, Lt = (e) => String(e).padStart(2, "0"),
|
|
6426
|
+
}, Lt = (e) => String(e).padStart(2, "0"), Uy = (e) => {
|
|
6365
6427
|
const n = Math.floor(e / 1e3), i = Math.floor(n / 3600), a = Math.floor(n % 3600 / 60), r = n % 60;
|
|
6366
6428
|
return i > 0 ? `${i}:${Lt(a)}:${Lt(r)}` : `${Lt(a)}:${Lt(r)}`;
|
|
6367
|
-
},
|
|
6429
|
+
}, Ud = ({ startedAt: e }) => {
|
|
6368
6430
|
const [n, i] = z(() => Date.now());
|
|
6369
6431
|
if (W(() => {
|
|
6370
6432
|
if (!e)
|
|
@@ -6374,8 +6436,8 @@ const RE = bn(
|
|
|
6374
6436
|
}, [e]), !e)
|
|
6375
6437
|
return null;
|
|
6376
6438
|
const a = Date.parse(e);
|
|
6377
|
-
return Number.isNaN(a) ? null : /* @__PURE__ */ t("span", { className: "tabular-nums", "data-testid": "meeting-timer", children:
|
|
6378
|
-
},
|
|
6439
|
+
return Number.isNaN(a) ? null : /* @__PURE__ */ t("span", { className: "tabular-nums", "data-testid": "meeting-timer", children: Uy(Math.max(0, n - a)) });
|
|
6440
|
+
}, Gu = ({
|
|
6379
6441
|
compact: e = !1
|
|
6380
6442
|
}) => {
|
|
6381
6443
|
const n = Z(), { transcription: i } = Ln(), { hasTranscriptionControl: a, setTranscription: r } = Ki(), s = M(null), o = M(!1);
|
|
@@ -6408,7 +6470,7 @@ const RE = bn(
|
|
|
6408
6470
|
if (!o.current) {
|
|
6409
6471
|
o.current = !0;
|
|
6410
6472
|
try {
|
|
6411
|
-
await
|
|
6473
|
+
await Yg.confirmation(
|
|
6412
6474
|
d ? {
|
|
6413
6475
|
type: "warning",
|
|
6414
6476
|
title: n.meeting.pauseTranscriptTitle,
|
|
@@ -6444,7 +6506,7 @@ const RE = bn(
|
|
|
6444
6506
|
children: c
|
|
6445
6507
|
}
|
|
6446
6508
|
) });
|
|
6447
|
-
},
|
|
6509
|
+
}, Gd = 300, Gy = () => {
|
|
6448
6510
|
const e = Z(), { exitPictureInPicture: n } = An();
|
|
6449
6511
|
return /* @__PURE__ */ t(
|
|
6450
6512
|
Ce,
|
|
@@ -6459,7 +6521,7 @@ const RE = bn(
|
|
|
6459
6521
|
}
|
|
6460
6522
|
}
|
|
6461
6523
|
);
|
|
6462
|
-
},
|
|
6524
|
+
}, Vy = ({ count: e }) => {
|
|
6463
6525
|
const n = Z();
|
|
6464
6526
|
return /* @__PURE__ */ m("span", { className: "flex shrink-0 items-center", children: [
|
|
6465
6527
|
/* @__PURE__ */ t(
|
|
@@ -6472,8 +6534,8 @@ const RE = bn(
|
|
|
6472
6534
|
),
|
|
6473
6535
|
/* @__PURE__ */ t("span", { className: "sr-only", children: n.t("meeting.unreadCount", { count: e }) })
|
|
6474
6536
|
] });
|
|
6475
|
-
},
|
|
6476
|
-
const n = Z(), { room: i, recording: a } = Ln(), { effectiveMode: r } = An(), s = za(), o =
|
|
6537
|
+
}, Vu = ({ extra: e }) => {
|
|
6538
|
+
const n = Z(), { room: i, recording: a } = Ln(), { effectiveMode: r } = An(), s = za(), o = jy(qu()), d = r === "minimized", l = r === "fullscreen", f = r === "pip", c = !d && s !== "tight", u = d || f, h = d || f || s === "tight", g = /* @__PURE__ */ m("span", { className: "flex shrink-0 items-center gap-1.5", "data-f0-no-drag": !0, children: [
|
|
6477
6539
|
a?.active ? /* @__PURE__ */ t(
|
|
6478
6540
|
Kn,
|
|
6479
6541
|
{
|
|
@@ -6481,11 +6543,11 @@ const RE = bn(
|
|
|
6481
6543
|
variant: "critical"
|
|
6482
6544
|
}
|
|
6483
6545
|
) : null,
|
|
6484
|
-
/* @__PURE__ */ t(
|
|
6546
|
+
/* @__PURE__ */ t(Gu, { compact: h })
|
|
6485
6547
|
] });
|
|
6486
6548
|
return /* @__PURE__ */ m(_e, { children: [
|
|
6487
6549
|
l ? /* @__PURE__ */ m("span", { className: "flex min-w-0 items-center gap-3 text-f1-foreground", children: [
|
|
6488
|
-
/* @__PURE__ */ t("span", { className: "shrink-0 font-medium tabular-nums", children: /* @__PURE__ */ t(
|
|
6550
|
+
/* @__PURE__ */ t("span", { className: "shrink-0 font-medium tabular-nums", children: /* @__PURE__ */ t(Ud, { startedAt: i.startedAt }) }),
|
|
6489
6551
|
/* @__PURE__ */ t(
|
|
6490
6552
|
"span",
|
|
6491
6553
|
{
|
|
@@ -6497,7 +6559,7 @@ const RE = bn(
|
|
|
6497
6559
|
pn,
|
|
6498
6560
|
{
|
|
6499
6561
|
tag: "span",
|
|
6500
|
-
delay:
|
|
6562
|
+
delay: Gd,
|
|
6501
6563
|
className: "text-md font-semibold",
|
|
6502
6564
|
children: i.title
|
|
6503
6565
|
}
|
|
@@ -6509,14 +6571,14 @@ const RE = bn(
|
|
|
6509
6571
|
pn,
|
|
6510
6572
|
{
|
|
6511
6573
|
tag: "span",
|
|
6512
|
-
delay:
|
|
6574
|
+
delay: Gd,
|
|
6513
6575
|
className: "text-base font-medium",
|
|
6514
6576
|
children: i.title
|
|
6515
6577
|
}
|
|
6516
6578
|
),
|
|
6517
6579
|
g,
|
|
6518
|
-
d && o > 0 ? /* @__PURE__ */ t(
|
|
6519
|
-
u ? /* @__PURE__ */ t("span", { className: "shrink-0 text-f1-foreground-secondary tabular-nums", children: /* @__PURE__ */ t(
|
|
6580
|
+
d && o > 0 ? /* @__PURE__ */ t(Vy, { count: o }) : null,
|
|
6581
|
+
u ? /* @__PURE__ */ t("span", { className: "shrink-0 text-f1-foreground-secondary tabular-nums", children: /* @__PURE__ */ t(Ud, { startedAt: i.startedAt }) }) : null
|
|
6520
6582
|
] }),
|
|
6521
6583
|
/* @__PURE__ */ t(
|
|
6522
6584
|
"div",
|
|
@@ -6526,21 +6588,21 @@ const RE = bn(
|
|
|
6526
6588
|
s === "tight" ? "gap-0.5" : "gap-1.5"
|
|
6527
6589
|
),
|
|
6528
6590
|
"data-f0-no-drag": !0,
|
|
6529
|
-
children: f ? /* @__PURE__ */ t(
|
|
6530
|
-
/* @__PURE__ */ t(
|
|
6591
|
+
children: f ? /* @__PURE__ */ t(Gy, {}) : /* @__PURE__ */ m(_e, { children: [
|
|
6592
|
+
/* @__PURE__ */ t(qy, {}),
|
|
6531
6593
|
e
|
|
6532
6594
|
] })
|
|
6533
6595
|
}
|
|
6534
6596
|
)
|
|
6535
6597
|
] });
|
|
6536
|
-
},
|
|
6598
|
+
}, Ky = {
|
|
6537
6599
|
fullscreen: "movedToFullscreen",
|
|
6538
6600
|
floating: "movedToFloating",
|
|
6539
6601
|
panel: "movedToSidePanel",
|
|
6540
6602
|
minimized: "movedToMinimized",
|
|
6541
6603
|
inline: "movedInline",
|
|
6542
6604
|
pip: "movedToPictureInPicture"
|
|
6543
|
-
},
|
|
6605
|
+
}, Yy = () => {
|
|
6544
6606
|
const e = Z(), { participants: n } = Ln(), { announce: i, effectiveMode: a } = An(), r = M(null);
|
|
6545
6607
|
W(() => {
|
|
6546
6608
|
const o = /* @__PURE__ */ new Map();
|
|
@@ -6558,9 +6620,9 @@ const RE = bn(
|
|
|
6558
6620
|
}, [n, i, e]);
|
|
6559
6621
|
const s = M(a);
|
|
6560
6622
|
W(() => {
|
|
6561
|
-
s.current !== a && (s.current = a, i(e.meeting[
|
|
6623
|
+
s.current !== a && (s.current = a, i(e.meeting[Ky[a]]));
|
|
6562
6624
|
}, [a, i, e]);
|
|
6563
|
-
},
|
|
6625
|
+
}, Xy = () => {
|
|
6564
6626
|
const e = Z(), { transcription: n, participants: i } = Ln(), { announce: a } = An(), r = M(n?.status);
|
|
6565
6627
|
W(() => {
|
|
6566
6628
|
const s = n?.status, o = r.current;
|
|
@@ -6573,9 +6635,9 @@ const RE = bn(
|
|
|
6573
6635
|
s === "paused" ? e.t("meeting.transcriptPausedBy", { name: d }) : e.t("meeting.transcriptResumedBy", { name: d })
|
|
6574
6636
|
);
|
|
6575
6637
|
}, [n, i, a, e]);
|
|
6576
|
-
},
|
|
6638
|
+
}, Vd = 2e3, Jy = () => {
|
|
6577
6639
|
const { liveMessage: e } = An();
|
|
6578
|
-
|
|
6640
|
+
Yy(), Xy();
|
|
6579
6641
|
const [n, i] = z(""), a = M(0), r = M(null);
|
|
6580
6642
|
return W(() => {
|
|
6581
6643
|
if (!e)
|
|
@@ -6584,11 +6646,11 @@ const RE = bn(
|
|
|
6584
6646
|
const l = r.current;
|
|
6585
6647
|
r.current = null, l !== null && (a.current = Date.now(), i(l));
|
|
6586
6648
|
}, o = Date.now() - a.current;
|
|
6587
|
-
if (r.current = e, o >=
|
|
6649
|
+
if (r.current = e, o >= Vd) {
|
|
6588
6650
|
s();
|
|
6589
6651
|
return;
|
|
6590
6652
|
}
|
|
6591
|
-
const d = setTimeout(s,
|
|
6653
|
+
const d = setTimeout(s, Vd - o);
|
|
6592
6654
|
return () => clearTimeout(d);
|
|
6593
6655
|
}, [e]), /* @__PURE__ */ t("div", { "aria-live": "polite", "aria-atomic": "true", className: "sr-only", children: n });
|
|
6594
6656
|
}, Ct = () => {
|
|
@@ -6615,60 +6677,60 @@ const RE = bn(
|
|
|
6615
6677
|
};
|
|
6616
6678
|
}, []);
|
|
6617
6679
|
const a = X(
|
|
6618
|
-
() => ({ width:
|
|
6680
|
+
() => ({ width: jd(n.width), height: jd(n.height) }),
|
|
6619
6681
|
[n.width, n.height]
|
|
6620
6682
|
);
|
|
6621
6683
|
return [e, a];
|
|
6622
|
-
},
|
|
6684
|
+
}, Kd = 32, Ku = 6, Qy = "gap-1.5", Yu = 6, Zy = 32, ew = 71, nw = 42, iw = 60, ut = /* @__PURE__ */ new Set([
|
|
6623
6685
|
"core:microphoneSettings",
|
|
6624
6686
|
"core:cameraSettings"
|
|
6625
|
-
]),
|
|
6687
|
+
]), Xu = {
|
|
6626
6688
|
"core:microphone": "core:microphoneSettings",
|
|
6627
6689
|
"core:camera": "core:cameraSettings"
|
|
6628
|
-
},
|
|
6690
|
+
}, Yd = 50, tw = (e, n, i) => {
|
|
6629
6691
|
if (ut.has(e.id))
|
|
6630
6692
|
return 0;
|
|
6631
6693
|
if (e.id === "core:leave")
|
|
6632
|
-
return i ?
|
|
6633
|
-
const a =
|
|
6634
|
-
return a ? n.has(a) ?
|
|
6635
|
-
},
|
|
6636
|
-
const a = e.map((r) =>
|
|
6637
|
-
return a.length === 0 ? 0 : a.reduce((r, s) => r + s, 0) +
|
|
6638
|
-
},
|
|
6694
|
+
return i ? Kd : iw;
|
|
6695
|
+
const a = Xu[e.id];
|
|
6696
|
+
return a ? n.has(a) ? ew : nw : Kd;
|
|
6697
|
+
}, Ju = (e, n, i) => {
|
|
6698
|
+
const a = e.map((r) => tw(r, n, i)).filter((r) => r > 0);
|
|
6699
|
+
return a.length === 0 ? 0 : a.reduce((r, s) => r + s, 0) + Ku * (a.length - 1);
|
|
6700
|
+
}, Qu = (e) => !e.pinned && !ut.has(e.id), Xd = (e, n) => {
|
|
6639
6701
|
const i = /* @__PURE__ */ new Set();
|
|
6640
6702
|
for (const a of e) {
|
|
6641
6703
|
i.add(a.id);
|
|
6642
|
-
const r =
|
|
6704
|
+
const r = Xu[a.id];
|
|
6643
6705
|
r && n.has(r) && i.add(r);
|
|
6644
6706
|
}
|
|
6645
6707
|
return i;
|
|
6646
|
-
},
|
|
6708
|
+
}, Jd = (e, n) => ({
|
|
6647
6709
|
visible: e.filter((i) => n.has(i.id)),
|
|
6648
6710
|
overflow: e.filter(
|
|
6649
|
-
(i) => !n.has(i.id) &&
|
|
6711
|
+
(i) => !n.has(i.id) && Qu(i)
|
|
6650
6712
|
)
|
|
6651
|
-
}),
|
|
6713
|
+
}), aw = (e) => [...e].sort((n, i) => {
|
|
6652
6714
|
const a = +!!i.pinned - +!!n.pinned;
|
|
6653
|
-
return a !== 0 ? a : (i.priority ??
|
|
6654
|
-
}),
|
|
6715
|
+
return a !== 0 ? a : (i.priority ?? Yd) - (n.priority ?? Yd);
|
|
6716
|
+
}), rw = (e, n, i, a) => {
|
|
6655
6717
|
const r = [];
|
|
6656
6718
|
for (const s of e) {
|
|
6657
6719
|
if (ut.has(s.id))
|
|
6658
6720
|
continue;
|
|
6659
6721
|
const o = [...r, s];
|
|
6660
|
-
|
|
6722
|
+
Ju(o, n, i) > a && !s.pinned || r.push(s);
|
|
6661
6723
|
}
|
|
6662
6724
|
return r;
|
|
6663
|
-
},
|
|
6725
|
+
}, sw = (e, n) => {
|
|
6664
6726
|
const i = [...e];
|
|
6665
6727
|
let a = n;
|
|
6666
6728
|
for (let r = i.length - 1; r >= 0 && a > 0; r--) {
|
|
6667
6729
|
const s = i[r];
|
|
6668
|
-
s &&
|
|
6730
|
+
s && Qu(s) && (i.splice(r, 1), a--);
|
|
6669
6731
|
}
|
|
6670
6732
|
return i;
|
|
6671
|
-
},
|
|
6733
|
+
}, ow = (e, n, i, { tightLeave: a = !1, forceCollapse: r = 0 } = {}) => {
|
|
6672
6734
|
const s = e.filter(
|
|
6673
6735
|
(f) => !f.modes || f.modes.includes(i)
|
|
6674
6736
|
);
|
|
@@ -6680,15 +6742,15 @@ const RE = bn(
|
|
|
6680
6742
|
const o = new Set(s.map((f) => f.id));
|
|
6681
6743
|
if (n <= 0) {
|
|
6682
6744
|
const f = s.filter((c) => c.pinned);
|
|
6683
|
-
return
|
|
6745
|
+
return Jd(s, Xd(f, o));
|
|
6684
6746
|
}
|
|
6685
|
-
if (r <= 0 &&
|
|
6747
|
+
if (r <= 0 && Ju(s, o, a) <= n)
|
|
6686
6748
|
return { visible: s, overflow: [] };
|
|
6687
|
-
const d = n -
|
|
6688
|
-
|
|
6749
|
+
const d = n - Zy - Ku, l = sw(
|
|
6750
|
+
rw(aw(s), o, a, d),
|
|
6689
6751
|
r
|
|
6690
6752
|
);
|
|
6691
|
-
return
|
|
6753
|
+
return Jd(s, Xd(l, o));
|
|
6692
6754
|
}, mo = "md", ho = (e) => {
|
|
6693
6755
|
if (e.disabled && e.disabledReason)
|
|
6694
6756
|
return e.disabledReason;
|
|
@@ -6705,7 +6767,7 @@ const RE = bn(
|
|
|
6705
6767
|
),
|
|
6706
6768
|
children: e === void 0 ? null : e > 99 ? "99+" : e
|
|
6707
6769
|
}
|
|
6708
|
-
),
|
|
6770
|
+
), dw = ({ action: e }) => {
|
|
6709
6771
|
const n = Z(), i = typeof e.badge == "number" ? e.badge : void 0, a = e.badge !== void 0 && i !== 0, r = i !== void 0 && i > 0 ? `${e.label} · ${n.t("meeting.unreadCount", { count: i })}` : e.label, s = /* @__PURE__ */ t(
|
|
6710
6772
|
Xf,
|
|
6711
6773
|
{
|
|
@@ -6725,10 +6787,10 @@ const RE = bn(
|
|
|
6725
6787
|
s,
|
|
6726
6788
|
/* @__PURE__ */ t(vo, { count: i })
|
|
6727
6789
|
] }) : s;
|
|
6728
|
-
},
|
|
6790
|
+
}, lw = ({
|
|
6729
6791
|
action: e,
|
|
6730
6792
|
tightLeave: n = !1
|
|
6731
|
-
}) => e.pressed !== void 0 ? /* @__PURE__ */ t(
|
|
6793
|
+
}) => e.pressed !== void 0 ? /* @__PURE__ */ t(dw, { action: e }) : e.variant === "critical" ? /* @__PURE__ */ t(
|
|
6732
6794
|
Ce,
|
|
6733
6795
|
{
|
|
6734
6796
|
variant: "default",
|
|
@@ -6741,7 +6803,7 @@ const RE = bn(
|
|
|
6741
6803
|
loading: e.pending,
|
|
6742
6804
|
onClick: e.onClick
|
|
6743
6805
|
}
|
|
6744
|
-
) : /* @__PURE__ */ t(
|
|
6806
|
+
) : /* @__PURE__ */ t(fw, { action: e }), fw = ({ action: e }) => {
|
|
6745
6807
|
const n = Z(), i = typeof e.badge == "number" ? e.badge : void 0, a = e.badge !== void 0 && i !== 0, r = i !== void 0 && i > 0 ? `${e.label} · ${n.t("meeting.unreadCount", { count: i })}` : e.label, s = /* @__PURE__ */ t(
|
|
6746
6808
|
Ce,
|
|
6747
6809
|
{
|
|
@@ -6760,7 +6822,7 @@ const RE = bn(
|
|
|
6760
6822
|
s,
|
|
6761
6823
|
/* @__PURE__ */ t(vo, { count: i })
|
|
6762
6824
|
] }) : s;
|
|
6763
|
-
},
|
|
6825
|
+
}, cw = ({
|
|
6764
6826
|
action: e,
|
|
6765
6827
|
source: n,
|
|
6766
6828
|
pickerLabel: i
|
|
@@ -6800,8 +6862,8 @@ const RE = bn(
|
|
|
6800
6862
|
),
|
|
6801
6863
|
o ? /* @__PURE__ */ m(_e, { children: [
|
|
6802
6864
|
/* @__PURE__ */ t("span", { "aria-hidden": !0, className: "w-px shrink-0 bg-f1-border-secondary" }),
|
|
6803
|
-
/* @__PURE__ */ m(
|
|
6804
|
-
/* @__PURE__ */ t(
|
|
6865
|
+
/* @__PURE__ */ m(Cv, { children: [
|
|
6866
|
+
/* @__PURE__ */ t(Sv, { asChild: !0, children: /* @__PURE__ */ t(
|
|
6805
6867
|
"button",
|
|
6806
6868
|
{
|
|
6807
6869
|
type: "button",
|
|
@@ -6817,8 +6879,8 @@ const RE = bn(
|
|
|
6817
6879
|
children: /* @__PURE__ */ t(pe, { icon: ui, size: "sm", color: "bold" })
|
|
6818
6880
|
}
|
|
6819
6881
|
) }),
|
|
6820
|
-
/* @__PURE__ */ t(
|
|
6821
|
-
|
|
6882
|
+
/* @__PURE__ */ t(Iv, { align: "center", side: "top", children: s.map((f) => /* @__PURE__ */ m(
|
|
6883
|
+
Tv,
|
|
6822
6884
|
{
|
|
6823
6885
|
onSelect: () => n.selectDevice?.(f.id),
|
|
6824
6886
|
children: [
|
|
@@ -6833,28 +6895,28 @@ const RE = bn(
|
|
|
6833
6895
|
]
|
|
6834
6896
|
}
|
|
6835
6897
|
);
|
|
6836
|
-
},
|
|
6898
|
+
}, uw = 8, mw = (e) => ({
|
|
6837
6899
|
label: e.label,
|
|
6838
6900
|
icon: e.pressed && e.activeIcon ? e.activeIcon : e.icon,
|
|
6839
6901
|
onClick: () => e.onClick?.(),
|
|
6840
6902
|
disabled: e.disabled,
|
|
6841
6903
|
...e.disabledReason ? { disabledTooltip: e.disabledReason } : {},
|
|
6842
6904
|
...e.variant === "critical" ? { critical: !0 } : {}
|
|
6843
|
-
}),
|
|
6905
|
+
}), hw = (e) => {
|
|
6844
6906
|
if (e.clientWidth <= 0)
|
|
6845
6907
|
return !1;
|
|
6846
6908
|
if (e.scrollWidth > e.clientWidth)
|
|
6847
6909
|
return !0;
|
|
6848
6910
|
const n = e.lastElementChild;
|
|
6849
|
-
return n instanceof HTMLElement && n.offsetLeft + n.offsetWidth > e.clientWidth -
|
|
6850
|
-
},
|
|
6851
|
-
const n = Z(), { effectiveMode: i } = An(), { localMedia: a } = Ln(), r = za(), [s, o] = Ct(), d = M(null), l = i === "minimized", f = r === "tight", c = Math.max(0, o.width -
|
|
6911
|
+
return n instanceof HTMLElement && n.offsetLeft + n.offsetWidth > e.clientWidth - Yu + 1;
|
|
6912
|
+
}, Zu = ({ actions: e }) => {
|
|
6913
|
+
const n = Z(), { effectiveMode: i } = An(), { localMedia: a } = Ln(), r = za(), [s, o] = Ct(), d = M(null), l = i === "minimized", f = r === "tight", c = Math.max(0, o.width - Yu * 2), u = [
|
|
6852
6914
|
c,
|
|
6853
6915
|
i,
|
|
6854
6916
|
f,
|
|
6855
6917
|
e.map((x) => x.id).join(",")
|
|
6856
6918
|
].join("|"), [h, g] = z({ key: u, count: 0 }), v = h.key === u ? h.count : 0, { visible: p, overflow: b } = X(
|
|
6857
|
-
() =>
|
|
6919
|
+
() => ow(e, c, i, {
|
|
6858
6920
|
tightLeave: f,
|
|
6859
6921
|
forceCollapse: v
|
|
6860
6922
|
}),
|
|
@@ -6862,7 +6924,7 @@ const RE = bn(
|
|
|
6862
6924
|
);
|
|
6863
6925
|
en(() => {
|
|
6864
6926
|
const x = d.current;
|
|
6865
|
-
!x || c <= 0 || l || !
|
|
6927
|
+
!x || c <= 0 || l || !hw(x) || v >= uw || !p.some(
|
|
6866
6928
|
(I) => !I.pinned && !ut.has(I.id)
|
|
6867
6929
|
) || g({ key: u, count: v + 1 });
|
|
6868
6930
|
});
|
|
@@ -6886,8 +6948,8 @@ const RE = bn(
|
|
|
6886
6948
|
ref: d,
|
|
6887
6949
|
className: y(
|
|
6888
6950
|
"relative flex min-w-0 items-center overflow-hidden p-1.5",
|
|
6889
|
-
|
|
6890
|
-
|
|
6951
|
+
Qy,
|
|
6952
|
+
Uu()
|
|
6891
6953
|
),
|
|
6892
6954
|
role: "toolbar",
|
|
6893
6955
|
"aria-label": n.meeting.controls,
|
|
@@ -6898,7 +6960,7 @@ const RE = bn(
|
|
|
6898
6960
|
if (x.id === "core:microphone" || x.id === "core:camera") {
|
|
6899
6961
|
const S = x.id === "core:microphone", I = S ? "core:microphoneSettings" : "core:cameraSettings", C = S ? a.microphone : a.camera;
|
|
6900
6962
|
return /* @__PURE__ */ t(Mn, { children: /* @__PURE__ */ t(
|
|
6901
|
-
|
|
6963
|
+
cw,
|
|
6902
6964
|
{
|
|
6903
6965
|
action: x,
|
|
6904
6966
|
source: k.has(I) ? C : { ...C, devices: [] },
|
|
@@ -6907,7 +6969,7 @@ const RE = bn(
|
|
|
6907
6969
|
) }, x.id);
|
|
6908
6970
|
}
|
|
6909
6971
|
return /* @__PURE__ */ t(
|
|
6910
|
-
|
|
6972
|
+
lw,
|
|
6911
6973
|
{
|
|
6912
6974
|
action: x,
|
|
6913
6975
|
tightLeave: f
|
|
@@ -6915,7 +6977,7 @@ const RE = bn(
|
|
|
6915
6977
|
x.id
|
|
6916
6978
|
);
|
|
6917
6979
|
}),
|
|
6918
|
-
!l && b.length > 0 ? /* @__PURE__ */ t(ii, { items: b.map(
|
|
6980
|
+
!l && b.length > 0 ? /* @__PURE__ */ t(ii, { items: b.map(mw), align: "end", children: /* @__PURE__ */ m("span", { className: "relative inline-flex", children: [
|
|
6919
6981
|
/* @__PURE__ */ t(
|
|
6920
6982
|
Ce,
|
|
6921
6983
|
{
|
|
@@ -6933,7 +6995,7 @@ const RE = bn(
|
|
|
6933
6995
|
)
|
|
6934
6996
|
}
|
|
6935
6997
|
);
|
|
6936
|
-
},
|
|
6998
|
+
}, vw = (e) => typeof e.label == "string" && e.icon !== void 0, em = (e, n = [], i = []) => {
|
|
6937
6999
|
const a = new Map(e.map((l) => [l.id, l])), r = [];
|
|
6938
7000
|
for (const l of n) {
|
|
6939
7001
|
const f = a.get(l.id);
|
|
@@ -6941,7 +7003,7 @@ const RE = bn(
|
|
|
6941
7003
|
a.set(l.id, { ...f, ...l });
|
|
6942
7004
|
continue;
|
|
6943
7005
|
}
|
|
6944
|
-
if (!
|
|
7006
|
+
if (!vw(l)) {
|
|
6945
7007
|
console.warn(
|
|
6946
7008
|
`[F0Meeting] Ignoring action patch for unknown id "${l.id}".`
|
|
6947
7009
|
);
|
|
@@ -6970,7 +7032,7 @@ const RE = bn(
|
|
|
6970
7032
|
const c = d.get(l.id), u = d.get(f.id);
|
|
6971
7033
|
return c === void 0 && u === void 0 ? 0 : c === void 0 ? 1 : u === void 0 ? -1 : c - u;
|
|
6972
7034
|
});
|
|
6973
|
-
},
|
|
7035
|
+
}, Qd = (e, n) => {
|
|
6974
7036
|
switch (e) {
|
|
6975
7037
|
case "denied":
|
|
6976
7038
|
return n.blocked;
|
|
@@ -6981,7 +7043,7 @@ const RE = bn(
|
|
|
6981
7043
|
default:
|
|
6982
7044
|
return;
|
|
6983
7045
|
}
|
|
6984
|
-
},
|
|
7046
|
+
}, Zd = ({
|
|
6985
7047
|
id: e,
|
|
6986
7048
|
source: n,
|
|
6987
7049
|
label: i,
|
|
@@ -6996,12 +7058,12 @@ const RE = bn(
|
|
|
6996
7058
|
},
|
|
6997
7059
|
priority: r,
|
|
6998
7060
|
group: "media"
|
|
6999
|
-
},
|
|
7061
|
+
}, nm = (e = []) => {
|
|
7000
7062
|
const n = Z(), i = Ki(), { localMedia: a, participants: r } = Ln(), { openPanelId: s, openPanel: o, closePanel: d } = An(), f = !!r.find(
|
|
7001
7063
|
(c) => c.id === i.localParticipantId
|
|
7002
7064
|
)?.raisedHandAt;
|
|
7003
7065
|
return X(() => {
|
|
7004
|
-
const c = [], u = i.capabilities, h =
|
|
7066
|
+
const c = [], u = i.capabilities, h = Qd(
|
|
7005
7067
|
a.microphone.permission,
|
|
7006
7068
|
{
|
|
7007
7069
|
blocked: n.meeting.microphoneBlocked,
|
|
@@ -7013,7 +7075,7 @@ const RE = bn(
|
|
|
7013
7075
|
id: "core:microphone",
|
|
7014
7076
|
label: a.microphone.enabled ? n.meeting.turnOffMicrophone : n.meeting.turnOnMicrophone,
|
|
7015
7077
|
icon: As,
|
|
7016
|
-
activeIcon:
|
|
7078
|
+
activeIcon: Ca,
|
|
7017
7079
|
pressed: !a.microphone.enabled,
|
|
7018
7080
|
pending: a.microphone.pending,
|
|
7019
7081
|
disabled: u?.canPublishAudio === !1 || !!h,
|
|
@@ -7023,15 +7085,15 @@ const RE = bn(
|
|
|
7023
7085
|
priority: 90,
|
|
7024
7086
|
group: "media"
|
|
7025
7087
|
});
|
|
7026
|
-
const g =
|
|
7088
|
+
const g = Zd({
|
|
7027
7089
|
id: "core:microphoneSettings",
|
|
7028
7090
|
source: a.microphone,
|
|
7029
7091
|
label: n.meeting.selectMicrophone,
|
|
7030
|
-
icon:
|
|
7092
|
+
icon: Rv,
|
|
7031
7093
|
priority: 70
|
|
7032
7094
|
});
|
|
7033
7095
|
g && c.push(g);
|
|
7034
|
-
const v =
|
|
7096
|
+
const v = Qd(a.camera.permission, {
|
|
7035
7097
|
blocked: n.meeting.cameraBlocked,
|
|
7036
7098
|
unavailable: n.meeting.cameraUnavailable,
|
|
7037
7099
|
inUse: n.meeting.cameraInUse
|
|
@@ -7050,11 +7112,11 @@ const RE = bn(
|
|
|
7050
7112
|
priority: 80,
|
|
7051
7113
|
group: "media"
|
|
7052
7114
|
});
|
|
7053
|
-
const p =
|
|
7115
|
+
const p = Zd({
|
|
7054
7116
|
id: "core:cameraSettings",
|
|
7055
7117
|
source: a.camera,
|
|
7056
7118
|
label: n.meeting.selectCamera,
|
|
7057
|
-
icon:
|
|
7119
|
+
icon: Av,
|
|
7058
7120
|
priority: 65
|
|
7059
7121
|
});
|
|
7060
7122
|
if (p && c.push(p), i.hasScreenShare) {
|
|
@@ -7074,15 +7136,15 @@ const RE = bn(
|
|
|
7074
7136
|
return i.hasRaiseHand && c.push({
|
|
7075
7137
|
id: "core:raiseHand",
|
|
7076
7138
|
label: f ? n.meeting.lowerHand : n.meeting.raiseHand,
|
|
7077
|
-
icon:
|
|
7139
|
+
icon: Mv,
|
|
7078
7140
|
pressed: f,
|
|
7079
7141
|
onClick: () => i.setHandRaised(!f),
|
|
7080
7142
|
priority: 40,
|
|
7081
7143
|
group: "collab"
|
|
7082
7144
|
}), e.forEach((b, k) => {
|
|
7083
|
-
const N =
|
|
7145
|
+
const N = Wu(b), _ = s === b.id, x = b.id === uo;
|
|
7084
7146
|
c.push({
|
|
7085
|
-
id:
|
|
7147
|
+
id: Hy(b.id),
|
|
7086
7148
|
label: x ? _ ? n.meeting.closeChat : n.meeting.openChat : n.t(_ ? "meeting.closeNamedPanel" : "meeting.openPanel", {
|
|
7087
7149
|
panel: b.label
|
|
7088
7150
|
}),
|
|
@@ -7100,7 +7162,7 @@ const RE = bn(
|
|
|
7100
7162
|
}), c.push({
|
|
7101
7163
|
id: "core:leave",
|
|
7102
7164
|
label: n.meeting.leave,
|
|
7103
|
-
icon:
|
|
7165
|
+
icon: Ev,
|
|
7104
7166
|
variant: "critical",
|
|
7105
7167
|
onClick: () => i.leave(),
|
|
7106
7168
|
pinned: !0,
|
|
@@ -7131,13 +7193,13 @@ const RE = bn(
|
|
|
7131
7193
|
children: e
|
|
7132
7194
|
}
|
|
7133
7195
|
);
|
|
7134
|
-
},
|
|
7196
|
+
}, gw = () => {
|
|
7135
7197
|
const e = Z();
|
|
7136
7198
|
return /* @__PURE__ */ m(go, { children: [
|
|
7137
7199
|
/* @__PURE__ */ t(pe, { icon: Qf, size: "lg", state: "animate" }),
|
|
7138
7200
|
/* @__PURE__ */ t("p", { className: "text-base font-medium", children: e.meeting.connecting })
|
|
7139
7201
|
] });
|
|
7140
|
-
},
|
|
7202
|
+
}, pw = () => {
|
|
7141
7203
|
const e = Z(), { hasReconnect: n, reconnect: i } = Ki();
|
|
7142
7204
|
return /* @__PURE__ */ m(go, { children: [
|
|
7143
7205
|
/* @__PURE__ */ t("p", { className: "text-base font-medium", children: e.meeting.ended }),
|
|
@@ -7154,7 +7216,7 @@ const RE = bn(
|
|
|
7154
7216
|
}
|
|
7155
7217
|
) : null
|
|
7156
7218
|
] });
|
|
7157
|
-
},
|
|
7219
|
+
}, bw = () => {
|
|
7158
7220
|
const e = Z(), n = no(), { hasReconnect: i, reconnect: a } = Ki();
|
|
7159
7221
|
return /* @__PURE__ */ m(go, { children: [
|
|
7160
7222
|
/* @__PURE__ */ t("p", { className: "text-base font-medium", children: n.errorMessage ?? e.meeting.connectionLost }),
|
|
@@ -7171,7 +7233,7 @@ const RE = bn(
|
|
|
7171
7233
|
}
|
|
7172
7234
|
) : null
|
|
7173
7235
|
] });
|
|
7174
|
-
},
|
|
7236
|
+
}, kw = () => {
|
|
7175
7237
|
const e = Z();
|
|
7176
7238
|
return /* @__PURE__ */ m(
|
|
7177
7239
|
"div",
|
|
@@ -7184,7 +7246,7 @@ const RE = bn(
|
|
|
7184
7246
|
]
|
|
7185
7247
|
}
|
|
7186
7248
|
);
|
|
7187
|
-
},
|
|
7249
|
+
}, yw = () => {
|
|
7188
7250
|
const e = Z(), { localMedia: n } = Ln();
|
|
7189
7251
|
return !n.audioBlocked || !n.unlockAudio ? null : /* @__PURE__ */ t(
|
|
7190
7252
|
"button",
|
|
@@ -7200,7 +7262,7 @@ const RE = bn(
|
|
|
7200
7262
|
children: e.meeting.audioBlocked
|
|
7201
7263
|
}
|
|
7202
7264
|
);
|
|
7203
|
-
},
|
|
7265
|
+
}, ww = () => {
|
|
7204
7266
|
const e = Z(), { recording: n } = Ln();
|
|
7205
7267
|
return n?.active ? /* @__PURE__ */ m(
|
|
7206
7268
|
"div",
|
|
@@ -7213,7 +7275,7 @@ const RE = bn(
|
|
|
7213
7275
|
]
|
|
7214
7276
|
}
|
|
7215
7277
|
) : null;
|
|
7216
|
-
},
|
|
7278
|
+
}, _w = ({
|
|
7217
7279
|
tiles: e,
|
|
7218
7280
|
intent: n,
|
|
7219
7281
|
seenShareKeys: i,
|
|
@@ -7246,17 +7308,17 @@ const RE = bn(
|
|
|
7246
7308
|
{ size: "md", px: 40 },
|
|
7247
7309
|
{ size: "sm", px: 32 },
|
|
7248
7310
|
{ size: "xs", px: 24 }
|
|
7249
|
-
],
|
|
7311
|
+
], el = 12, Ot = 8, xw = "gap-2", nl = 12, Nw = "p-3", Cw = ({
|
|
7250
7312
|
box: e,
|
|
7251
7313
|
count: n
|
|
7252
7314
|
}) => {
|
|
7253
|
-
const i = Math.max(0, e.width -
|
|
7315
|
+
const i = Math.max(0, e.width - nl * 2), a = Math.max(0, e.height - nl * 2), r = Math.max(1, Math.min(n, el)), s = (b) => {
|
|
7254
7316
|
const k = b + Ot, N = Math.max(
|
|
7255
7317
|
0,
|
|
7256
7318
|
Math.floor((i + Ot) / k)
|
|
7257
7319
|
), _ = Math.max(0, Math.floor((a + Ot) / k));
|
|
7258
7320
|
return { maxColumns: N, rows: _, capacity: N * _ };
|
|
7259
|
-
}, o = fr[fr.length - 1], d = fr.find((b) => s(b.px).capacity >= r) ?? o, { maxColumns: l, capacity: f } = s(d.px), c = Math.min(f,
|
|
7321
|
+
}, o = fr[fr.length - 1], d = fr.find((b) => s(b.px).capacity >= r) ?? o, { maxColumns: l, capacity: f } = s(d.px), c = Math.min(f, el), u = c === 0 ? 0 : n <= c ? n : Math.max(1, c - 1), h = u === 0 ? 0 : n - u, g = u + (h > 0 ? 1 : 0), v = Math.max(1, Math.min(l, g)), p = (i - Ot * (v - 1)) / v;
|
|
7260
7322
|
return {
|
|
7261
7323
|
avatarSize: d.size,
|
|
7262
7324
|
columns: v,
|
|
@@ -7267,18 +7329,18 @@ const RE = bn(
|
|
|
7267
7329
|
// and the audio room can never disagree about it.
|
|
7268
7330
|
showNames: p >= Ba
|
|
7269
7331
|
};
|
|
7270
|
-
},
|
|
7332
|
+
}, Sw = 0.99, Iw = (e) => e >= Fd ? 1 : Math.pow(e / Fd, Hk), Tw = (e, n) => {
|
|
7271
7333
|
const i = Math.floor(e / n), a = e % n;
|
|
7272
7334
|
return Array.from({ length: n }, (r, s) => i + (s < a ? 1 : 0));
|
|
7273
|
-
},
|
|
7335
|
+
}, im = (e, n, i, a) => {
|
|
7274
7336
|
const r = Tn(e / n, i, a);
|
|
7275
7337
|
let s = e, o = s / r;
|
|
7276
7338
|
return o > n && (o = n, s = o * r), { width: s, height: o, aspect: r };
|
|
7277
|
-
},
|
|
7339
|
+
}, Mw = (e, n, i) => {
|
|
7278
7340
|
const { width: a, height: r, gap: s, minAspect: o, maxAspect: d, preferredAspect: l } = i, f = i.minTileHeight ?? 0, c = (r - s * (n - 1)) / n;
|
|
7279
7341
|
if (c <= 0)
|
|
7280
7342
|
return null;
|
|
7281
|
-
const u =
|
|
7343
|
+
const u = Tw(e, n), h = u.filter((x) => x === 1).length;
|
|
7282
7344
|
if (h >= 2 && h < u.length)
|
|
7283
7345
|
return null;
|
|
7284
7346
|
const g = [];
|
|
@@ -7287,14 +7349,14 @@ const RE = bn(
|
|
|
7287
7349
|
const S = (a - s * (x - 1)) / x;
|
|
7288
7350
|
if (S <= 0)
|
|
7289
7351
|
return null;
|
|
7290
|
-
const I =
|
|
7352
|
+
const I = im(S, c, o, d), C = {
|
|
7291
7353
|
count: x,
|
|
7292
7354
|
tileWidth: I.width,
|
|
7293
7355
|
tileHeight: I.height
|
|
7294
7356
|
};
|
|
7295
7357
|
g.push(C);
|
|
7296
7358
|
const F = I.width * I.height;
|
|
7297
|
-
k += F * x, N += F * x *
|
|
7359
|
+
k += F * x, N += F * x * Iw(I.aspect), b = Math.max(b, F), F < p && (p = F, v = C), _ += Math.abs(Math.log(I.aspect / l));
|
|
7298
7360
|
}
|
|
7299
7361
|
return !v || v.tileWidth < i.minTileWidth || v.tileHeight < f ? null : {
|
|
7300
7362
|
rows: n,
|
|
@@ -7305,9 +7367,9 @@ const RE = bn(
|
|
|
7305
7367
|
totalArea: k,
|
|
7306
7368
|
shape: _ / g.length,
|
|
7307
7369
|
// Rows of very different tile sizes read as a mistake: soften them.
|
|
7308
|
-
score: N * Math.pow(p / b,
|
|
7370
|
+
score: N * Math.pow(p / b, jk)
|
|
7309
7371
|
};
|
|
7310
|
-
},
|
|
7372
|
+
}, Ew = (e, n, i) => {
|
|
7311
7373
|
let a = 0;
|
|
7312
7374
|
for (const o of e)
|
|
7313
7375
|
a = Math.max(a, o.worstArea);
|
|
@@ -7320,23 +7382,23 @@ const RE = bn(
|
|
|
7320
7382
|
continue;
|
|
7321
7383
|
}
|
|
7322
7384
|
const d = o.score > r.score;
|
|
7323
|
-
(Math.min(o.score, r.score) >= Math.max(o.score, r.score) *
|
|
7385
|
+
(Math.min(o.score, r.score) >= Math.max(o.score, r.score) * Sw ? o.shape < r.shape : d) && (r = o);
|
|
7324
7386
|
}
|
|
7325
7387
|
const s = i === void 0 ? void 0 : e.find((o) => o.rows === i);
|
|
7326
|
-
return r && s && s.score >= r.score *
|
|
7327
|
-
},
|
|
7388
|
+
return r && s && s.score >= r.score * Wk ? s : r;
|
|
7389
|
+
}, Rw = (e) => {
|
|
7328
7390
|
const { width: n, height: i, gap: a, minTileWidth: r } = e, s = Math.max(1, e.minTileHeight ?? 0), o = Math.floor((n + a) / (r + a)), d = Math.floor((i + a) / (s + a));
|
|
7329
7391
|
return o > 0 && d > 0 ? Math.max(1, o * d) : Number.POSITIVE_INFINITY;
|
|
7330
|
-
},
|
|
7392
|
+
}, Aw = (e) => {
|
|
7331
7393
|
const { count: n, width: i, height: a, minAspect: r, maxAspect: s } = e, o = e.coverageTolerance ?? 1;
|
|
7332
|
-
let d = Math.min(Math.max(1, Math.floor(n)),
|
|
7394
|
+
let d = Math.min(Math.max(1, Math.floor(n)), Rw(e));
|
|
7333
7395
|
for (; d >= 1; ) {
|
|
7334
7396
|
const f = [];
|
|
7335
7397
|
for (let u = 1; u <= d; u++) {
|
|
7336
|
-
const h =
|
|
7398
|
+
const h = Mw(d, u, e);
|
|
7337
7399
|
h && f.push(h);
|
|
7338
7400
|
}
|
|
7339
|
-
const c =
|
|
7401
|
+
const c = Ew(f, o, e.heldRows);
|
|
7340
7402
|
if (c)
|
|
7341
7403
|
return {
|
|
7342
7404
|
rows: c.rows,
|
|
@@ -7349,7 +7411,7 @@ const RE = bn(
|
|
|
7349
7411
|
};
|
|
7350
7412
|
d--;
|
|
7351
7413
|
}
|
|
7352
|
-
const l =
|
|
7414
|
+
const l = im(
|
|
7353
7415
|
Math.max(0, i),
|
|
7354
7416
|
Math.max(0, a),
|
|
7355
7417
|
r,
|
|
@@ -7364,7 +7426,7 @@ const RE = bn(
|
|
|
7364
7426
|
rowSpecs: [{ count: 1, tileWidth: l.width, tileHeight: l.height }],
|
|
7365
7427
|
totalArea: l.width * l.height
|
|
7366
7428
|
};
|
|
7367
|
-
},
|
|
7429
|
+
}, Fw = (e, n, i) => {
|
|
7368
7430
|
const a = [], r = e.rowSpecs.reduce((o, d) => o + d.tileHeight, 0) + i * (e.rowSpecs.length - 1);
|
|
7369
7431
|
let s = Math.max(0, (n.height - r) / 2);
|
|
7370
7432
|
for (const o of e.rowSpecs) {
|
|
@@ -7379,30 +7441,30 @@ const RE = bn(
|
|
|
7379
7441
|
s += o.tileHeight + i;
|
|
7380
7442
|
}
|
|
7381
7443
|
return a;
|
|
7382
|
-
},
|
|
7444
|
+
}, tm = (e, n) => ({
|
|
7383
7445
|
x: Math.max(0, e.width - lr.width - n),
|
|
7384
7446
|
y: Math.max(0, e.height - lr.height - n),
|
|
7385
7447
|
...lr
|
|
7386
|
-
}),
|
|
7448
|
+
}), Pw = ({
|
|
7387
7449
|
box: e,
|
|
7388
7450
|
tileCount: n,
|
|
7389
7451
|
gapHint: i,
|
|
7390
7452
|
audioOnlyHint: a,
|
|
7391
7453
|
heldRows: r
|
|
7392
7454
|
}) => {
|
|
7393
|
-
const s = Math.min(n,
|
|
7455
|
+
const s = Math.min(n, Uk), o = (N, _ = 1, x = r) => Aw({
|
|
7394
7456
|
count: s,
|
|
7395
7457
|
width: e.width,
|
|
7396
7458
|
height: e.height,
|
|
7397
7459
|
gap: N,
|
|
7398
7460
|
minAspect: Vr,
|
|
7399
7461
|
maxAspect: Kr,
|
|
7400
|
-
preferredAspect:
|
|
7401
|
-
minTileWidth: _ *
|
|
7402
|
-
minTileHeight: _ *
|
|
7403
|
-
coverageTolerance:
|
|
7462
|
+
preferredAspect: Bk,
|
|
7463
|
+
minTileWidth: _ * Eu(e.width),
|
|
7464
|
+
minTileHeight: _ * oy(e.height, e.width),
|
|
7465
|
+
coverageTolerance: Gk,
|
|
7404
7466
|
heldRows: x
|
|
7405
|
-
}), d = i ??
|
|
7467
|
+
}), d = i ?? iy(e.width, e.height, s), l = o(d), f = ao(l.tileWidth), c = f === d ? l : o(f, 1, r ?? l.rows), u = c.visibleCount, h = u < n ? Math.max(1, u - 1) : u, g = n - h === 1 ? o(f, 0) : null, v = g ?? c, p = g ? Math.min(n, g.visibleCount) : h, b = Fw(v, e, f), k = p < n ? b[p] ?? tm(e, f) : null;
|
|
7406
7468
|
return {
|
|
7407
7469
|
rects: b.slice(0, p),
|
|
7408
7470
|
chipRect: k,
|
|
@@ -7416,10 +7478,10 @@ const RE = bn(
|
|
|
7416
7478
|
// From the same `grid` as the radius and `compact`, the floorless `twoUp`
|
|
7417
7479
|
// branch included: taken from `solution` instead, the three would disagree
|
|
7418
7480
|
// on the one layout that drops the floor.
|
|
7419
|
-
audioOnly:
|
|
7481
|
+
audioOnly: Ru(v.tileWidth, v.tileHeight, a),
|
|
7420
7482
|
rows: v.rows
|
|
7421
7483
|
};
|
|
7422
|
-
},
|
|
7484
|
+
}, am = ({
|
|
7423
7485
|
tiles: e,
|
|
7424
7486
|
speakerIds: n,
|
|
7425
7487
|
pageSize: i,
|
|
@@ -7452,7 +7514,7 @@ const RE = bn(
|
|
|
7452
7514
|
...l.filter((v) => !h.has(v.key))
|
|
7453
7515
|
];
|
|
7454
7516
|
return [...c, ...g];
|
|
7455
|
-
},
|
|
7517
|
+
}, Lw = ({
|
|
7456
7518
|
stripCount: e,
|
|
7457
7519
|
width: n,
|
|
7458
7520
|
height: i,
|
|
@@ -7460,7 +7522,7 @@ const RE = bn(
|
|
|
7460
7522
|
stripRange: r,
|
|
7461
7523
|
spotlightRange: s
|
|
7462
7524
|
}) => {
|
|
7463
|
-
const o = { width: n, height: i }, d = (_, x) => x > 0 ? Tn(_ / x, r.min, r.max) : r.max, l = (_) => !s || _.height <= 0 ? { x: 0, y: 0, width: _.width, height: _.height } :
|
|
7525
|
+
const o = { width: n, height: i }, d = (_, x) => x > 0 ? Tn(_ / x, r.min, r.max) : r.max, l = (_) => !s || _.height <= 0 ? { x: 0, y: 0, width: _.width, height: _.height } : vy(
|
|
7464
7526
|
_,
|
|
7465
7527
|
Tn(
|
|
7466
7528
|
_.width / _.height,
|
|
@@ -7475,22 +7537,22 @@ const RE = bn(
|
|
|
7475
7537
|
stripOverflow: 0,
|
|
7476
7538
|
stripSide: "none"
|
|
7477
7539
|
};
|
|
7478
|
-
if (n <
|
|
7540
|
+
if (n < Zk)
|
|
7479
7541
|
return {
|
|
7480
7542
|
spotlight: l(o),
|
|
7481
7543
|
strip: [],
|
|
7482
7544
|
stripOverflow: e,
|
|
7483
7545
|
stripSide: "none"
|
|
7484
7546
|
};
|
|
7485
|
-
const f = n / i >
|
|
7547
|
+
const f = n / i > cy ? "right" : "bottom";
|
|
7486
7548
|
if (f === "bottom") {
|
|
7487
7549
|
const _ = Tn(
|
|
7488
|
-
i *
|
|
7489
|
-
|
|
7490
|
-
|
|
7550
|
+
i * Od,
|
|
7551
|
+
Dd,
|
|
7552
|
+
zd
|
|
7491
7553
|
);
|
|
7492
|
-
let x = Math.min(Math.max(1, e),
|
|
7493
|
-
for (; x > 1 && S <
|
|
7554
|
+
let x = Math.min(Math.max(1, e), Bd), S = (n - a * (x - 1)) / x;
|
|
7555
|
+
for (; x > 1 && S < fy; )
|
|
7494
7556
|
x--, S = (n - a * (x - 1)) / x;
|
|
7495
7557
|
x = Math.min(e, x);
|
|
7496
7558
|
const I = d(S, _);
|
|
@@ -7513,11 +7575,11 @@ const RE = bn(
|
|
|
7513
7575
|
};
|
|
7514
7576
|
}
|
|
7515
7577
|
const c = Tn(
|
|
7516
|
-
n *
|
|
7517
|
-
|
|
7518
|
-
|
|
7578
|
+
n * Od,
|
|
7579
|
+
Dd * r.max,
|
|
7580
|
+
zd * r.max
|
|
7519
7581
|
), u = c / r.max;
|
|
7520
|
-
let h = Math.min(Math.max(1, e),
|
|
7582
|
+
let h = Math.min(Math.max(1, e), Bd), g = (i - a * (h - 1)) / h;
|
|
7521
7583
|
for (; h > 1 && g < u; )
|
|
7522
7584
|
h--, g = (i - a * (h - 1)) / h;
|
|
7523
7585
|
h = Math.min(e, h);
|
|
@@ -7541,18 +7603,18 @@ const RE = bn(
|
|
|
7541
7603
|
stripOverflow: e - h,
|
|
7542
7604
|
stripSide: f
|
|
7543
7605
|
};
|
|
7544
|
-
},
|
|
7606
|
+
}, il = 20, tl = (e) => Math.round(Math.max(0, Math.min(1, e)) * il) / il, Ow = (e, n) => e === n ? !0 : !e || !n || e.length !== n.length ? !1 : e.every((i, a) => i === n[a]), Qr = {
|
|
7545
7607
|
audioLevel: 0,
|
|
7546
7608
|
isSpeaking: !1,
|
|
7547
7609
|
quality: "excellent"
|
|
7548
|
-
},
|
|
7610
|
+
}, al = [], jE = () => {
|
|
7549
7611
|
const e = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Set();
|
|
7550
|
-
let a =
|
|
7612
|
+
let a = al;
|
|
7551
7613
|
const r = (o) => {
|
|
7552
7614
|
n.get(o)?.forEach((d) => d());
|
|
7553
7615
|
}, s = (o, d) => {
|
|
7554
7616
|
const l = e.get(o) ?? Qr, f = { ...l, ...d };
|
|
7555
|
-
f.audioLevel === l.audioLevel && f.isSpeaking === l.isSpeaking && f.quality === l.quality &&
|
|
7617
|
+
f.audioLevel === l.audioLevel && f.isSpeaking === l.isSpeaking && f.quality === l.quality && Ow(f.bands, l.bands) || (e.set(o, f), r(o));
|
|
7556
7618
|
};
|
|
7557
7619
|
return {
|
|
7558
7620
|
subscribe: (o, d) => {
|
|
@@ -7569,10 +7631,10 @@ const RE = bn(
|
|
|
7569
7631
|
}),
|
|
7570
7632
|
getSpeakers: () => a,
|
|
7571
7633
|
setAudioLevel: (o, d) => {
|
|
7572
|
-
s(o, { audioLevel:
|
|
7634
|
+
s(o, { audioLevel: tl(d) });
|
|
7573
7635
|
},
|
|
7574
7636
|
setAudioBands: (o, d) => {
|
|
7575
|
-
s(o, { bands: d.map(
|
|
7637
|
+
s(o, { bands: d.map(tl) });
|
|
7576
7638
|
},
|
|
7577
7639
|
setQuality: (o, d) => {
|
|
7578
7640
|
s(o, { quality: d });
|
|
@@ -7593,17 +7655,17 @@ const RE = bn(
|
|
|
7593
7655
|
e.delete(o), r(o), n.delete(o), a.includes(o) && (a = a.filter((d) => d !== o), i.forEach((d) => d()));
|
|
7594
7656
|
},
|
|
7595
7657
|
reset: () => {
|
|
7596
|
-
e.clear(), a =
|
|
7658
|
+
e.clear(), a = al;
|
|
7597
7659
|
for (const o of n.keys())
|
|
7598
7660
|
r(o);
|
|
7599
7661
|
i.forEach((o) => o());
|
|
7600
7662
|
}
|
|
7601
7663
|
};
|
|
7602
|
-
},
|
|
7603
|
-
},
|
|
7604
|
-
function
|
|
7664
|
+
}, rm = () => () => {
|
|
7665
|
+
}, Dw = [], zw = (e) => e;
|
|
7666
|
+
function sm(e, n = zw, i = Object.is) {
|
|
7605
7667
|
const { signals: a } = Ln(), r = M(null), s = R(
|
|
7606
|
-
(d) => a ? a.subscribe(e, d) :
|
|
7668
|
+
(d) => a ? a.subscribe(e, d) : rm(),
|
|
7607
7669
|
[a, e]
|
|
7608
7670
|
), o = R(() => {
|
|
7609
7671
|
const d = a ? a.getSnapshot(e) : Qr, l = r.current;
|
|
@@ -7614,49 +7676,49 @@ function im(e, n = Rw, i = Object.is) {
|
|
|
7614
7676
|
}, [a, e, n, i]);
|
|
7615
7677
|
return Ii(s, o, o);
|
|
7616
7678
|
}
|
|
7617
|
-
const
|
|
7679
|
+
const Bw = () => {
|
|
7618
7680
|
const { signals: e } = Ln(), n = R(
|
|
7619
|
-
(a) => e ? e.subscribeSpeakers(a) :
|
|
7681
|
+
(a) => e ? e.subscribeSpeakers(a) : rm(),
|
|
7620
7682
|
[e]
|
|
7621
7683
|
), i = R(
|
|
7622
|
-
() => e ? e.getSpeakers() :
|
|
7684
|
+
() => e ? e.getSpeakers() : Dw,
|
|
7623
7685
|
[e]
|
|
7624
7686
|
);
|
|
7625
7687
|
return Ii(n, i, i);
|
|
7626
|
-
}, jn = Dn.ease.outSwift,
|
|
7688
|
+
}, jn = Dn.ease.outSwift, Hw = {
|
|
7627
7689
|
duration: 0.16,
|
|
7628
7690
|
ease: jn
|
|
7629
|
-
},
|
|
7691
|
+
}, jw = {
|
|
7630
7692
|
duration: 0.12,
|
|
7631
7693
|
ease: "easeIn"
|
|
7632
|
-
},
|
|
7694
|
+
}, Ww = {
|
|
7633
7695
|
duration: 0.15,
|
|
7634
7696
|
ease: jn
|
|
7635
|
-
},
|
|
7697
|
+
}, $w = {
|
|
7636
7698
|
duration: Dn.duration.base
|
|
7637
|
-
},
|
|
7638
|
-
(e) => `${e} ${Math.round(
|
|
7639
|
-
).join(", "),
|
|
7699
|
+
}, qw = ["left", "top", "width", "height"].map(
|
|
7700
|
+
(e) => `${e} ${Math.round($w.duration * 1e3)}ms cubic-bezier(${jn.join(",")})`
|
|
7701
|
+
).join(", "), Uw = {
|
|
7640
7702
|
duration: Dn.duration.base,
|
|
7641
7703
|
ease: jn
|
|
7642
|
-
},
|
|
7704
|
+
}, Gw = {
|
|
7643
7705
|
duration: Dn.duration.fast,
|
|
7644
7706
|
ease: jn
|
|
7645
|
-
},
|
|
7707
|
+
}, Vw = {
|
|
7646
7708
|
duration: Dn.duration.micro,
|
|
7647
7709
|
ease: "easeIn"
|
|
7648
|
-
},
|
|
7710
|
+
}, Kw = {
|
|
7649
7711
|
duration: Dn.duration.fast,
|
|
7650
7712
|
ease: jn
|
|
7651
|
-
},
|
|
7713
|
+
}, Yw = {
|
|
7652
7714
|
duration: Dn.duration.micro,
|
|
7653
7715
|
ease: "easeIn"
|
|
7654
|
-
},
|
|
7716
|
+
}, rl = {
|
|
7655
7717
|
lg: 48,
|
|
7656
7718
|
md: 40,
|
|
7657
7719
|
sm: 32,
|
|
7658
7720
|
xs: 24
|
|
7659
|
-
},
|
|
7721
|
+
}, Xw = ({
|
|
7660
7722
|
tile: e,
|
|
7661
7723
|
plan: n
|
|
7662
7724
|
}) => {
|
|
@@ -7682,7 +7744,7 @@ const Aw = () => {
|
|
|
7682
7744
|
children: /* @__PURE__ */ t(
|
|
7683
7745
|
pe,
|
|
7684
7746
|
{
|
|
7685
|
-
icon: s ? Fs :
|
|
7747
|
+
icon: s ? Fs : Ca,
|
|
7686
7748
|
size: "xs",
|
|
7687
7749
|
"aria-label": s ? i.meeting.sharingScreen : i.meeting.muted
|
|
7688
7750
|
}
|
|
@@ -7709,10 +7771,10 @@ const Aw = () => {
|
|
|
7709
7771
|
]
|
|
7710
7772
|
}
|
|
7711
7773
|
);
|
|
7712
|
-
},
|
|
7713
|
-
|
|
7774
|
+
}, Jw = mi(
|
|
7775
|
+
Xw,
|
|
7714
7776
|
(e, n) => e.tile.participant.id === n.tile.participant.id && e.tile.participant.name === n.tile.participant.name && e.tile.participant.avatar === n.tile.participant.avatar && e.tile.participant.tracks === n.tile.participant.tracks && e.tile.participant.presence === n.tile.participant.presence && e.plan.avatarSize === n.plan.avatarSize && e.plan.showNames === n.plan.showNames
|
|
7715
|
-
),
|
|
7777
|
+
), om = ({
|
|
7716
7778
|
tiles: e,
|
|
7717
7779
|
plan: n
|
|
7718
7780
|
}) => {
|
|
@@ -7725,7 +7787,7 @@ const Aw = () => {
|
|
|
7725
7787
|
// no height left at all — see `WINDOW_MIN_HEIGHT` — and avatars that
|
|
7726
7788
|
// no longer fit have to be clipped rather than spill over the controls.
|
|
7727
7789
|
"flex h-full w-full flex-col items-center justify-center overflow-hidden",
|
|
7728
|
-
|
|
7790
|
+
Nw
|
|
7729
7791
|
),
|
|
7730
7792
|
"data-testid": "meeting-audio-room",
|
|
7731
7793
|
children: /* @__PURE__ */ m(
|
|
@@ -7734,10 +7796,10 @@ const Aw = () => {
|
|
|
7734
7796
|
"aria-label": i.meeting.audioRoom,
|
|
7735
7797
|
className: y(
|
|
7736
7798
|
"flex list-none flex-wrap items-start justify-center p-0",
|
|
7737
|
-
|
|
7799
|
+
xw
|
|
7738
7800
|
),
|
|
7739
7801
|
children: [
|
|
7740
|
-
a.map((r) => /* @__PURE__ */ t(
|
|
7802
|
+
a.map((r) => /* @__PURE__ */ t(Jw, { tile: r, plan: n }, r.key)),
|
|
7741
7803
|
n.overflowCount > 0 ? /* @__PURE__ */ t("li", { className: "flex flex-col items-center gap-1.5", children: /* @__PURE__ */ m(
|
|
7742
7804
|
"span",
|
|
7743
7805
|
{
|
|
@@ -7747,8 +7809,8 @@ const Aw = () => {
|
|
|
7747
7809
|
"text-sm font-medium tabular-nums text-f1-foreground"
|
|
7748
7810
|
),
|
|
7749
7811
|
style: {
|
|
7750
|
-
width:
|
|
7751
|
-
height:
|
|
7812
|
+
width: rl[n.avatarSize],
|
|
7813
|
+
height: rl[n.avatarSize]
|
|
7752
7814
|
},
|
|
7753
7815
|
"data-testid": "meeting-audio-overflow",
|
|
7754
7816
|
children: [
|
|
@@ -7765,7 +7827,7 @@ const Aw = () => {
|
|
|
7765
7827
|
)
|
|
7766
7828
|
}
|
|
7767
7829
|
);
|
|
7768
|
-
},
|
|
7830
|
+
}, dm = ({
|
|
7769
7831
|
tiles: e,
|
|
7770
7832
|
width: n,
|
|
7771
7833
|
radius: i
|
|
@@ -7825,8 +7887,8 @@ const Aw = () => {
|
|
|
7825
7887
|
children: [
|
|
7826
7888
|
s.participant.avatar ? /* @__PURE__ */ t(Pn, { avatar: s.participant.avatar, size: "xs" }) : null,
|
|
7827
7889
|
/* @__PURE__ */ t("span", { className: "min-w-0 flex-1 truncate text-sm", children: s.participant.name }),
|
|
7828
|
-
ro(s.participant) ? /* @__PURE__ */ t(pe, { icon:
|
|
7829
|
-
|
|
7890
|
+
ro(s.participant) ? /* @__PURE__ */ t(pe, { icon: Ca, size: "sm", color: "secondary" }) : null,
|
|
7891
|
+
my(s) ? null : /* @__PURE__ */ t(
|
|
7830
7892
|
pe,
|
|
7831
7893
|
{
|
|
7832
7894
|
icon: Jf,
|
|
@@ -7842,20 +7904,20 @@ const Aw = () => {
|
|
|
7842
7904
|
}
|
|
7843
7905
|
)
|
|
7844
7906
|
] });
|
|
7845
|
-
},
|
|
7907
|
+
}, Qw = {
|
|
7846
7908
|
excellent: 3,
|
|
7847
7909
|
good: 2,
|
|
7848
7910
|
poor: 1,
|
|
7849
7911
|
lost: 0
|
|
7850
|
-
},
|
|
7912
|
+
}, Zw = ["h-1", "h-2", "h-3"], e_ = ["h-[3px]", "h-1.5", "h-2"], n_ = ({
|
|
7851
7913
|
participantId: e,
|
|
7852
7914
|
label: n,
|
|
7853
7915
|
compact: i = !1
|
|
7854
7916
|
}) => {
|
|
7855
|
-
const { quality: a } =
|
|
7917
|
+
const { quality: a } = sm(e), r = Qw[a];
|
|
7856
7918
|
if (a === "excellent")
|
|
7857
7919
|
return null;
|
|
7858
|
-
const s = i ?
|
|
7920
|
+
const s = i ? e_ : Zw;
|
|
7859
7921
|
return /* @__PURE__ */ t(
|
|
7860
7922
|
"div",
|
|
7861
7923
|
{
|
|
@@ -7878,7 +7940,7 @@ const Aw = () => {
|
|
|
7878
7940
|
))
|
|
7879
7941
|
}
|
|
7880
7942
|
);
|
|
7881
|
-
},
|
|
7943
|
+
}, i_ = 5, sl = [0.45, 0.8, 1, 0.8, 0.45], ol = 4, t_ = 24, a_ = 14, r_ = (e) => Math.sqrt(Math.min(1, Math.max(0, e) * 1.6)), s_ = (e) => Math.min(1, Math.max(0, e)), o_ = (e, n) => e.length === n ? [...e] : Array.from({ length: n }, (i, a) => {
|
|
7882
7944
|
const r = Math.floor(a * e.length / n), s = Math.max(
|
|
7883
7945
|
r + 1,
|
|
7884
7946
|
Math.floor((a + 1) * e.length / n)
|
|
@@ -7887,11 +7949,11 @@ const Aw = () => {
|
|
|
7887
7949
|
for (let d = r; d < s; d++)
|
|
7888
7950
|
o += e[d] ?? 0;
|
|
7889
7951
|
return o / (s - r);
|
|
7890
|
-
}),
|
|
7952
|
+
}), d_ = ({
|
|
7891
7953
|
participantId: e,
|
|
7892
7954
|
compact: n = !1
|
|
7893
7955
|
}) => {
|
|
7894
|
-
const { audioLevel: i, bands: a, isSpeaking: r } =
|
|
7956
|
+
const { audioLevel: i, bands: a, isSpeaking: r } = sm(e), s = kn(), o = n ? a_ : t_, d = r ? a && a.length > 0 && !s ? o_(a, i_).map(s_) : sl.map((l) => r_(i) * l) : sl.map(() => 0);
|
|
7895
7957
|
return (
|
|
7896
7958
|
// `shrink-0`: it sits beside the name in a flex chip, and the name is what
|
|
7897
7959
|
// gives way when the chip is short of room — not the meter.
|
|
@@ -7909,20 +7971,20 @@ const Aw = () => {
|
|
|
7909
7971
|
"rounded-full bg-f1-foreground-selected transition-[height] duration-100 ease-out",
|
|
7910
7972
|
n ? "w-[3px]" : "w-1"
|
|
7911
7973
|
),
|
|
7912
|
-
style: { height: `${
|
|
7974
|
+
style: { height: `${ol + l * (o - ol)}px` }
|
|
7913
7975
|
},
|
|
7914
7976
|
f
|
|
7915
7977
|
))
|
|
7916
7978
|
}
|
|
7917
7979
|
)
|
|
7918
7980
|
);
|
|
7919
|
-
},
|
|
7981
|
+
}, l_ = ({
|
|
7920
7982
|
track: e,
|
|
7921
7983
|
participantId: n,
|
|
7922
7984
|
contain: i = !1,
|
|
7923
7985
|
mirrored: a = !1
|
|
7924
7986
|
}) => {
|
|
7925
|
-
const r =
|
|
7987
|
+
const r = Nu(e), s = Hu()?.registerVideo, o = ct(n, e.kind);
|
|
7926
7988
|
return en(() => {
|
|
7927
7989
|
if (s)
|
|
7928
7990
|
return s(o, r.current), () => s(o, null);
|
|
@@ -7940,20 +8002,20 @@ const Aw = () => {
|
|
|
7940
8002
|
)
|
|
7941
8003
|
}
|
|
7942
8004
|
);
|
|
7943
|
-
},
|
|
8005
|
+
}, f_ = Iu, c_ = 4e3, u_ = (e) => {
|
|
7944
8006
|
const [n, i] = z(!0);
|
|
7945
8007
|
return W(() => {
|
|
7946
8008
|
if (!e)
|
|
7947
8009
|
return;
|
|
7948
|
-
const a = setTimeout(() => i(!1),
|
|
8010
|
+
const a = setTimeout(() => i(!1), c_);
|
|
7949
8011
|
return () => clearTimeout(a);
|
|
7950
8012
|
}, [e]), !e || n;
|
|
7951
|
-
},
|
|
8013
|
+
}, m_ = ({
|
|
7952
8014
|
participant: e,
|
|
7953
8015
|
width: n,
|
|
7954
8016
|
isScreenShare: i
|
|
7955
8017
|
}) => {
|
|
7956
|
-
const a = Z(), r = e.isLocal ? `${e.name} (${a.meeting.you})` : e.name, s = i && n >=
|
|
8018
|
+
const a = Z(), r = e.isLocal ? `${e.name} (${a.meeting.you})` : e.name, s = i && n >= Iu;
|
|
7957
8019
|
return /* @__PURE__ */ m(_e, { children: [
|
|
7958
8020
|
/* @__PURE__ */ t(pn, { tag: "span", delay: 300, className: "min-w-0 text-sm", children: r }),
|
|
7959
8021
|
s ? (
|
|
@@ -7965,13 +8027,13 @@ const Aw = () => {
|
|
|
7965
8027
|
] })
|
|
7966
8028
|
) : null
|
|
7967
8029
|
] });
|
|
7968
|
-
},
|
|
8030
|
+
}, h_ = ({
|
|
7969
8031
|
tile: e,
|
|
7970
8032
|
width: n,
|
|
7971
8033
|
compact: i,
|
|
7972
8034
|
hasVideo: a
|
|
7973
8035
|
}) => {
|
|
7974
|
-
const { participant: r, kind: s } = e, o = s === "screenShare", d = ro(r), l =
|
|
8036
|
+
const { participant: r, kind: s } = e, o = s === "screenShare", d = ro(r), l = u_(o);
|
|
7975
8037
|
return /* @__PURE__ */ m(
|
|
7976
8038
|
"div",
|
|
7977
8039
|
{
|
|
@@ -7993,27 +8055,27 @@ const Aw = () => {
|
|
|
7993
8055
|
"data-testid": "meeting-tile-label",
|
|
7994
8056
|
children: [
|
|
7995
8057
|
i ? null : /* @__PURE__ */ t(
|
|
7996
|
-
|
|
8058
|
+
m_,
|
|
7997
8059
|
{
|
|
7998
8060
|
participant: r,
|
|
7999
8061
|
width: n,
|
|
8000
8062
|
isScreenShare: o
|
|
8001
8063
|
}
|
|
8002
8064
|
),
|
|
8003
|
-
/* @__PURE__ */ t("span", { className: "flex shrink-0 items-center", children: o ? /* @__PURE__ */ t(pe, { icon: Fs, size: "sm" }) : d ? /* @__PURE__ */ t(pe, { icon:
|
|
8065
|
+
/* @__PURE__ */ t("span", { className: "flex shrink-0 items-center", children: o ? /* @__PURE__ */ t(pe, { icon: Fs, size: "sm" }) : d ? /* @__PURE__ */ t(pe, { icon: Ca, size: "sm" }) : /* @__PURE__ */ t(d_, { participantId: r.id, compact: i }) })
|
|
8004
8066
|
]
|
|
8005
8067
|
}
|
|
8006
8068
|
);
|
|
8007
|
-
},
|
|
8069
|
+
}, v_ = ({
|
|
8008
8070
|
tile: e,
|
|
8009
|
-
width: n =
|
|
8071
|
+
width: n = f_,
|
|
8010
8072
|
radius: i,
|
|
8011
8073
|
isFocused: a = !1,
|
|
8012
8074
|
canFocus: r = !1,
|
|
8013
8075
|
onToggleFocus: s,
|
|
8014
8076
|
allowFullscreen: o = !1
|
|
8015
8077
|
}) => {
|
|
8016
|
-
const d = Z(), l = M(null), { isFullscreen: f, toggleFullscreen: c } =
|
|
8078
|
+
const d = Z(), l = M(null), { isFullscreen: f, toggleFullscreen: c } = Xg({
|
|
8017
8079
|
targetRef: l
|
|
8018
8080
|
}), { participant: u, track: h, kind: g } = e, v = g === "screenShare", p = u.presence === "invited", b = !!(h && h.live && !h.muted) && !p, k = v || !!u.preventCrop, N = n < Ba, _ = v && o && !N && !p, x = r && !p;
|
|
8019
8081
|
return /* @__PURE__ */ m(
|
|
@@ -8040,8 +8102,8 @@ const Aw = () => {
|
|
|
8040
8102
|
// scales from is the viewport's — otherwise the chip would keep the
|
|
8041
8103
|
// insets of the 300px cell it was a moment ago.
|
|
8042
8104
|
"--tile-w": f ? "100vw" : `${n}px`,
|
|
8043
|
-
"--tile-label": `${
|
|
8044
|
-
"--tile-actions-reserve": `${
|
|
8105
|
+
"--tile-label": `${Xk(n)}px`,
|
|
8106
|
+
"--tile-actions-reserve": `${Qk(
|
|
8045
8107
|
Number(x) + Number(_)
|
|
8046
8108
|
)}px`
|
|
8047
8109
|
},
|
|
@@ -8049,7 +8111,7 @@ const Aw = () => {
|
|
|
8049
8111
|
"data-participant-id": u.id,
|
|
8050
8112
|
children: [
|
|
8051
8113
|
b && h ? /* @__PURE__ */ t(
|
|
8052
|
-
|
|
8114
|
+
l_,
|
|
8053
8115
|
{
|
|
8054
8116
|
track: h,
|
|
8055
8117
|
participantId: u.id,
|
|
@@ -8060,12 +8122,12 @@ const Aw = () => {
|
|
|
8060
8122
|
u.avatar ? (
|
|
8061
8123
|
// Steps with the tile: the placeholder is an identity, and a 40px
|
|
8062
8124
|
// one is most of a thumbnail and a dot on a spotlight.
|
|
8063
|
-
/* @__PURE__ */ t(Pn, { avatar: u.avatar, size:
|
|
8125
|
+
/* @__PURE__ */ t(Pn, { avatar: u.avatar, size: Jk(n) })
|
|
8064
8126
|
) : null,
|
|
8065
8127
|
p && !N ? /* @__PURE__ */ t("span", { className: "max-w-full truncate text-base text-f1-foreground-inverse-secondary", children: d.meeting.waitingToJoin }) : null
|
|
8066
8128
|
] }),
|
|
8067
8129
|
p ? null : /* @__PURE__ */ t(
|
|
8068
|
-
|
|
8130
|
+
h_,
|
|
8069
8131
|
{
|
|
8070
8132
|
tile: e,
|
|
8071
8133
|
width: n,
|
|
@@ -8081,7 +8143,7 @@ const Aw = () => {
|
|
|
8081
8143
|
N ? "bottom-1.5 end-1.5" : "bottom-3 end-3"
|
|
8082
8144
|
),
|
|
8083
8145
|
children: /* @__PURE__ */ t(
|
|
8084
|
-
|
|
8146
|
+
n_,
|
|
8085
8147
|
{
|
|
8086
8148
|
participantId: u.id,
|
|
8087
8149
|
label: d.meeting.weakConnection,
|
|
@@ -8132,20 +8194,20 @@ const Aw = () => {
|
|
|
8132
8194
|
]
|
|
8133
8195
|
}
|
|
8134
8196
|
);
|
|
8135
|
-
},
|
|
8136
|
-
|
|
8197
|
+
}, lm = mi(
|
|
8198
|
+
v_,
|
|
8137
8199
|
(e, n) => e.tile.key === n.tile.key && e.tile.track?.bindingKey === n.tile.track?.bindingKey && e.tile.track?.live === n.tile.track?.live && e.tile.track?.muted === n.tile.track?.muted && e.tile.participant.name === n.tile.participant.name && e.tile.participant.avatar === n.tile.participant.avatar && e.tile.participant.tracks === n.tile.participant.tracks && e.tile.participant.presence === n.tile.participant.presence && e.tile.participant.preventCrop === n.tile.participant.preventCrop && e.width === n.width && e.radius === n.radius && e.isFocused === n.isFocused && e.canFocus === n.canFocus && e.allowFullscreen === n.allowFullscreen && e.onToggleFocus === n.onToggleFocus
|
|
8138
|
-
),
|
|
8200
|
+
), g_ = {
|
|
8139
8201
|
placed: [],
|
|
8140
8202
|
overflow: [],
|
|
8141
8203
|
overflowRect: null,
|
|
8142
8204
|
overflowRadius: 0,
|
|
8143
8205
|
focusKey: null
|
|
8144
|
-
},
|
|
8206
|
+
}, p_ = { now: 0, lastSpokenAt: {} }, dl = (e) => ({
|
|
8145
8207
|
transform: `translateX(${e.x}px) translateY(${e.y}px)`,
|
|
8146
8208
|
width: e.width,
|
|
8147
8209
|
height: e.height
|
|
8148
|
-
}),
|
|
8210
|
+
}), b_ = ({
|
|
8149
8211
|
plan: e,
|
|
8150
8212
|
spotlightRect: n,
|
|
8151
8213
|
audioOnlyHint: i,
|
|
@@ -8157,38 +8219,38 @@ const Aw = () => {
|
|
|
8157
8219
|
const d = X(
|
|
8158
8220
|
() => r.filter((u) => u.kind === "camera"),
|
|
8159
8221
|
[r]
|
|
8160
|
-
), l = e !== null && (n ?
|
|
8222
|
+
), l = e !== null && (n ? Ru(
|
|
8161
8223
|
n.width,
|
|
8162
8224
|
n.height,
|
|
8163
8225
|
i
|
|
8164
8226
|
) : e.audioOnly || e.capacity <= 1 && d.length > 1), f = X(
|
|
8165
|
-
() => l ?
|
|
8227
|
+
() => l ? Cw({ box: a, count: d.length }) : null,
|
|
8166
8228
|
[l, a, d.length]
|
|
8167
8229
|
), c = X(
|
|
8168
|
-
() => f ?
|
|
8230
|
+
() => f ? am({
|
|
8169
8231
|
tiles: d,
|
|
8170
8232
|
speakerIds: s,
|
|
8171
8233
|
pageSize: f.visibleCount,
|
|
8172
8234
|
lastSpokenAt: o.lastSpokenAt,
|
|
8173
8235
|
now: o.now,
|
|
8174
|
-
holdMs:
|
|
8236
|
+
holdMs: Au
|
|
8175
8237
|
}) : null,
|
|
8176
8238
|
[f, d, s, o]
|
|
8177
8239
|
);
|
|
8178
8240
|
return { audioOnly: l, plan: f, people: c };
|
|
8179
|
-
},
|
|
8241
|
+
}, k_ = ({
|
|
8180
8242
|
audio: e,
|
|
8181
8243
|
layout: n,
|
|
8182
8244
|
canFocus: i,
|
|
8183
8245
|
onToggleFocus: a
|
|
8184
|
-
}) => e.audioOnly && e.plan && e.people ? /* @__PURE__ */ t("div", { className: "absolute inset-0", children: /* @__PURE__ */ t(
|
|
8246
|
+
}) => e.audioOnly && e.plan && e.people ? /* @__PURE__ */ t("div", { className: "absolute inset-0", children: /* @__PURE__ */ t(om, { tiles: e.people, plan: e.plan }) }) : /* @__PURE__ */ m(_e, { children: [
|
|
8185
8247
|
n.placed.map(({ tile: r, rect: s, radius: o }) => /* @__PURE__ */ t(
|
|
8186
8248
|
"div",
|
|
8187
8249
|
{
|
|
8188
8250
|
className: "absolute left-0 top-0",
|
|
8189
|
-
style:
|
|
8251
|
+
style: dl(s),
|
|
8190
8252
|
children: /* @__PURE__ */ t(
|
|
8191
|
-
|
|
8253
|
+
lm,
|
|
8192
8254
|
{
|
|
8193
8255
|
tile: r,
|
|
8194
8256
|
width: s.width,
|
|
@@ -8205,9 +8267,9 @@ const Aw = () => {
|
|
|
8205
8267
|
"div",
|
|
8206
8268
|
{
|
|
8207
8269
|
className: "absolute left-0 top-0",
|
|
8208
|
-
style:
|
|
8270
|
+
style: dl(n.overflowRect),
|
|
8209
8271
|
children: /* @__PURE__ */ t(
|
|
8210
|
-
|
|
8272
|
+
dm,
|
|
8211
8273
|
{
|
|
8212
8274
|
tiles: n.overflow,
|
|
8213
8275
|
width: n.overflowRect.width,
|
|
@@ -8216,16 +8278,16 @@ const Aw = () => {
|
|
|
8216
8278
|
)
|
|
8217
8279
|
}
|
|
8218
8280
|
) : null
|
|
8219
|
-
] }),
|
|
8220
|
-
const e = Z(), { participants: n } = Ln(), i =
|
|
8281
|
+
] }), y_ = (e, n) => e.size === n.size && [...e].every((i) => n.has(i)), w_ = { portrait: !1, audio: null, rows: null }, __ = (e, n) => e.portrait === n.portrait && e.audio?.count === n.audio?.count && e.audio?.on === n.audio?.on && e.rows?.count === n.rows?.count && e.rows?.rows === n.rows?.rows, x_ = () => {
|
|
8282
|
+
const e = Z(), { participants: n } = Ln(), i = Bw(), { focusIntent: a, setFocusIntent: r, isDragging: s, pipWindow: o, announce: d } = An(), l = kn(), [f, c] = Ct(), u = X(() => uy(n), [n]), [h, g] = z(
|
|
8221
8283
|
() => /* @__PURE__ */ new Set()
|
|
8222
|
-
), [v, p] = z(
|
|
8223
|
-
() =>
|
|
8284
|
+
), [v, p] = z(w_), b = v.portrait, k = c.width > 0 && c.height > 0 && c.width / c.height < (b ? qk : $k), N = X(
|
|
8285
|
+
() => _w({ tiles: u, intent: a, seenShareKeys: h, portrait: k }),
|
|
8224
8286
|
[u, a, h, k]
|
|
8225
8287
|
);
|
|
8226
8288
|
W(() => {
|
|
8227
8289
|
const $ = N.focusKey;
|
|
8228
|
-
$ !== null && !h.has($) && N.seenShareKeys.has($) && r({ type: "pinned", key: $ }),
|
|
8290
|
+
$ !== null && !h.has($) && N.seenShareKeys.has($) && r({ type: "pinned", key: $ }), y_(N.seenShareKeys, h) || g(N.seenShareKeys);
|
|
8229
8291
|
}, [N, h, r]), W(() => {
|
|
8230
8292
|
N.clearIntent && r({ type: "auto" });
|
|
8231
8293
|
}, [N.clearIntent, r]);
|
|
@@ -8240,7 +8302,7 @@ const Aw = () => {
|
|
|
8240
8302
|
);
|
|
8241
8303
|
},
|
|
8242
8304
|
[r]
|
|
8243
|
-
), [S, I] = z(
|
|
8305
|
+
), [S, I] = z(p_);
|
|
8244
8306
|
W(() => {
|
|
8245
8307
|
if (i.length === 0)
|
|
8246
8308
|
return;
|
|
@@ -8253,7 +8315,7 @@ const Aw = () => {
|
|
|
8253
8315
|
});
|
|
8254
8316
|
}, [i]);
|
|
8255
8317
|
const C = v.audio, F = v.rows, w = X(
|
|
8256
|
-
() => c.width > 0 && c.height > 0 && u.length > 0 ?
|
|
8318
|
+
() => c.width > 0 && c.height > 0 && u.length > 0 ? Pw({
|
|
8257
8319
|
box: c,
|
|
8258
8320
|
tileCount: u.length,
|
|
8259
8321
|
audioOnlyHint: C?.count === u.length ? C.on : void 0,
|
|
@@ -8266,7 +8328,7 @@ const Aw = () => {
|
|
|
8266
8328
|
const $ = N.focusKey, J = $ ? u.find((Se) => Se.key === $) : void 0;
|
|
8267
8329
|
if (!J || !$)
|
|
8268
8330
|
return null;
|
|
8269
|
-
const G = u.filter((Se) => Se.key !== J.key), K = (Se) =>
|
|
8331
|
+
const G = u.filter((Se) => Se.key !== J.key), K = (Se) => Lw({
|
|
8270
8332
|
stripCount: G.length,
|
|
8271
8333
|
width: c.width,
|
|
8272
8334
|
height: c.height,
|
|
@@ -8280,7 +8342,7 @@ const Aw = () => {
|
|
|
8280
8342
|
// and letterboxes inside its own tile, so only the missing part of
|
|
8281
8343
|
// the picture goes black.
|
|
8282
8344
|
spotlightRange: J.kind === "screenShare" || J.participant.preventCrop ? void 0 : { min: Vr, max: Kr }
|
|
8283
|
-
}), U =
|
|
8345
|
+
}), U = ny(c.width), se = K(U), he = ao(
|
|
8284
8346
|
se.strip[0]?.width ?? se.spotlight.width
|
|
8285
8347
|
), ae = he === U ? se : K(he);
|
|
8286
8348
|
if (ae.strip.length === 0 && G.length === 1)
|
|
@@ -8296,7 +8358,7 @@ const Aw = () => {
|
|
|
8296
8358
|
const Re = G[le];
|
|
8297
8359
|
Re && de.push({ tile: Re, rect: Se, radius: Wt(Se.width) });
|
|
8298
8360
|
});
|
|
8299
|
-
const ne = ee ? ae.strip[me] ??
|
|
8361
|
+
const ne = ee ? ae.strip[me] ?? tm(c, he) : null;
|
|
8300
8362
|
return {
|
|
8301
8363
|
placed: de,
|
|
8302
8364
|
overflow: G.slice(me),
|
|
@@ -8306,7 +8368,7 @@ const Aw = () => {
|
|
|
8306
8368
|
overflowRadius: Wt(ne?.width ?? 0),
|
|
8307
8369
|
focusKey: $
|
|
8308
8370
|
};
|
|
8309
|
-
}, [w, c, u, N.focusKey]), E =
|
|
8371
|
+
}, [w, c, u, N.focusKey]), E = b_({
|
|
8310
8372
|
plan: w,
|
|
8311
8373
|
// The spotlight is the first cell the solver placed.
|
|
8312
8374
|
spotlightRect: T?.placed[0]?.rect ?? null,
|
|
@@ -8316,18 +8378,18 @@ const Aw = () => {
|
|
|
8316
8378
|
speakers: i,
|
|
8317
8379
|
speakerEpoch: S
|
|
8318
8380
|
}), { audioOnly: L } = E, D = w?.visibleCount ?? u.length, P = X(
|
|
8319
|
-
() =>
|
|
8381
|
+
() => am({
|
|
8320
8382
|
tiles: u,
|
|
8321
8383
|
speakerIds: i,
|
|
8322
8384
|
pageSize: D,
|
|
8323
8385
|
lastSpokenAt: S.lastSpokenAt,
|
|
8324
8386
|
now: S.now,
|
|
8325
|
-
holdMs:
|
|
8387
|
+
holdMs: Au
|
|
8326
8388
|
}),
|
|
8327
8389
|
[u, i, D, S]
|
|
8328
8390
|
), B = X(() => {
|
|
8329
8391
|
if (!w)
|
|
8330
|
-
return
|
|
8392
|
+
return g_;
|
|
8331
8393
|
if (T)
|
|
8332
8394
|
return T;
|
|
8333
8395
|
const $ = [];
|
|
@@ -8350,7 +8412,7 @@ const Aw = () => {
|
|
|
8350
8412
|
audio: w ? { count: u.length, on: L } : v.audio,
|
|
8351
8413
|
rows: w ? { count: u.length, rows: w.rows } : v.rows
|
|
8352
8414
|
};
|
|
8353
|
-
|
|
8415
|
+
__($, v) || p($);
|
|
8354
8416
|
}, [k, w, L, u.length, v]);
|
|
8355
8417
|
const q = M(L);
|
|
8356
8418
|
W(() => {
|
|
@@ -8358,7 +8420,7 @@ const Aw = () => {
|
|
|
8358
8420
|
L ? e.meeting.audioOnlyAnnouncement : e.meeting.videoResumed
|
|
8359
8421
|
));
|
|
8360
8422
|
}, [L, d, e]);
|
|
8361
|
-
const A = l || s, H = A ? { duration: 0 } :
|
|
8423
|
+
const A = l || s, H = A ? { duration: 0 } : Uw;
|
|
8362
8424
|
return o !== null ? /* @__PURE__ */ t(
|
|
8363
8425
|
"div",
|
|
8364
8426
|
{
|
|
@@ -8366,7 +8428,7 @@ const Aw = () => {
|
|
|
8366
8428
|
className: "relative h-full w-full",
|
|
8367
8429
|
"data-testid": "meeting-grid",
|
|
8368
8430
|
children: /* @__PURE__ */ t(
|
|
8369
|
-
|
|
8431
|
+
k_,
|
|
8370
8432
|
{
|
|
8371
8433
|
audio: E,
|
|
8372
8434
|
layout: B,
|
|
@@ -8390,10 +8452,10 @@ const Aw = () => {
|
|
|
8390
8452
|
animate: { opacity: 1 },
|
|
8391
8453
|
exit: {
|
|
8392
8454
|
opacity: 0,
|
|
8393
|
-
transition: A ? { duration: 0 } :
|
|
8455
|
+
transition: A ? { duration: 0 } : Yw
|
|
8394
8456
|
},
|
|
8395
|
-
transition: A ? { duration: 0 } :
|
|
8396
|
-
children: /* @__PURE__ */ t(
|
|
8457
|
+
transition: A ? { duration: 0 } : Kw,
|
|
8458
|
+
children: /* @__PURE__ */ t(om, { tiles: E.people, plan: E.plan })
|
|
8397
8459
|
},
|
|
8398
8460
|
"meeting-audio-room"
|
|
8399
8461
|
) : null,
|
|
@@ -8417,14 +8479,14 @@ const Aw = () => {
|
|
|
8417
8479
|
},
|
|
8418
8480
|
exit: {
|
|
8419
8481
|
opacity: 0,
|
|
8420
|
-
transition: A ? { duration: 0 } :
|
|
8482
|
+
transition: A ? { duration: 0 } : Vw
|
|
8421
8483
|
},
|
|
8422
8484
|
transition: {
|
|
8423
8485
|
...H,
|
|
8424
|
-
opacity: A ? { duration: 0 } :
|
|
8486
|
+
opacity: A ? { duration: 0 } : Gw
|
|
8425
8487
|
},
|
|
8426
8488
|
children: /* @__PURE__ */ t(
|
|
8427
|
-
|
|
8489
|
+
lm,
|
|
8428
8490
|
{
|
|
8429
8491
|
tile: $,
|
|
8430
8492
|
width: J.width,
|
|
@@ -8453,7 +8515,7 @@ const Aw = () => {
|
|
|
8453
8515
|
exit: { opacity: 0 },
|
|
8454
8516
|
transition: H,
|
|
8455
8517
|
children: /* @__PURE__ */ t(
|
|
8456
|
-
|
|
8518
|
+
dm,
|
|
8457
8519
|
{
|
|
8458
8520
|
tiles: B.overflow,
|
|
8459
8521
|
width: B.overflowRect.width,
|
|
@@ -8466,7 +8528,7 @@ const Aw = () => {
|
|
|
8466
8528
|
] })
|
|
8467
8529
|
}
|
|
8468
8530
|
);
|
|
8469
|
-
},
|
|
8531
|
+
}, N_ = ({
|
|
8470
8532
|
width: e,
|
|
8471
8533
|
min: n,
|
|
8472
8534
|
max: i,
|
|
@@ -8582,7 +8644,7 @@ const Aw = () => {
|
|
|
8582
8644
|
)
|
|
8583
8645
|
}
|
|
8584
8646
|
);
|
|
8585
|
-
},
|
|
8647
|
+
}, C_ = 420, Zr = ({
|
|
8586
8648
|
panel: e,
|
|
8587
8649
|
plan: n,
|
|
8588
8650
|
variant: i = "room",
|
|
@@ -8644,7 +8706,7 @@ const Aw = () => {
|
|
|
8644
8706
|
"data-panel-id": e.id,
|
|
8645
8707
|
children: [
|
|
8646
8708
|
n.canResize && !S ? /* @__PURE__ */ t(
|
|
8647
|
-
|
|
8709
|
+
N_,
|
|
8648
8710
|
{
|
|
8649
8711
|
width: n.width,
|
|
8650
8712
|
min: n.min,
|
|
@@ -8656,7 +8718,7 @@ const Aw = () => {
|
|
|
8656
8718
|
) : null,
|
|
8657
8719
|
/* @__PURE__ */ m("div", { className: "flex shrink-0 items-center", children: [
|
|
8658
8720
|
/* @__PURE__ */ t(
|
|
8659
|
-
|
|
8721
|
+
Fv,
|
|
8660
8722
|
{
|
|
8661
8723
|
tabs: N,
|
|
8662
8724
|
activeTabId: b,
|
|
@@ -8665,9 +8727,9 @@ const Aw = () => {
|
|
|
8665
8727
|
),
|
|
8666
8728
|
/* @__PURE__ */ m("div", { className: "flex h-[48px] flex-grow items-center justify-end gap-2 border-0 border-b border-solid border-f1-border-secondary pb-2 pr-3", children: [
|
|
8667
8729
|
S ? /* @__PURE__ */ t(
|
|
8668
|
-
|
|
8730
|
+
Gu,
|
|
8669
8731
|
{
|
|
8670
|
-
compact: (a ?? 0) <
|
|
8732
|
+
compact: (a ?? 0) < C_
|
|
8671
8733
|
}
|
|
8672
8734
|
) : null,
|
|
8673
8735
|
/* @__PURE__ */ t(
|
|
@@ -8697,7 +8759,7 @@ const Aw = () => {
|
|
|
8697
8759
|
]
|
|
8698
8760
|
}
|
|
8699
8761
|
);
|
|
8700
|
-
},
|
|
8762
|
+
}, S_ = ({
|
|
8701
8763
|
roomWidth: e,
|
|
8702
8764
|
gap: n,
|
|
8703
8765
|
preferredWidth: i
|
|
@@ -8710,14 +8772,14 @@ const Aw = () => {
|
|
|
8710
8772
|
max: rt,
|
|
8711
8773
|
canResize: !1
|
|
8712
8774
|
};
|
|
8713
|
-
const a = rt, r = Math.max(a, Math.round(e *
|
|
8714
|
-
return e < a +
|
|
8775
|
+
const a = rt, r = Math.max(a, Math.round(e * Vk)), s = Math.round(Math.min(Math.max(i, a), r));
|
|
8776
|
+
return e < a + Eu(e) + n ? {
|
|
8715
8777
|
layout: "full",
|
|
8716
8778
|
width: Math.max(0, e),
|
|
8717
8779
|
min: a,
|
|
8718
8780
|
max: r,
|
|
8719
8781
|
canResize: !1
|
|
8720
|
-
} : { layout: e - s - n >=
|
|
8782
|
+
} : { layout: e - s - n >= Su ? "beside" : "over", width: s, min: a, max: r, canResize: r > a };
|
|
8721
8783
|
}, po = ({
|
|
8722
8784
|
actions: e,
|
|
8723
8785
|
actionOrder: n,
|
|
@@ -8726,36 +8788,36 @@ const Aw = () => {
|
|
|
8726
8788
|
overlay: r
|
|
8727
8789
|
}) => {
|
|
8728
8790
|
const s = Z(), o = no(), { status: d } = Ln(), { effectiveMode: l, sidePanelWidth: f, openPanelId: c } = An(), u = za(), h = X(
|
|
8729
|
-
() =>
|
|
8791
|
+
() => $u(i, a, s.meeting.chatPanel),
|
|
8730
8792
|
[i, a, s.meeting.chatPanel]
|
|
8731
|
-
), g =
|
|
8793
|
+
), g = nm(h), [v, p] = Ct(), b = X(
|
|
8732
8794
|
() => typeof e == "function" ? e(o) : e,
|
|
8733
8795
|
[e, o]
|
|
8734
8796
|
), k = X(
|
|
8735
|
-
() =>
|
|
8797
|
+
() => em(g, b, n),
|
|
8736
8798
|
[g, b, n]
|
|
8737
8799
|
);
|
|
8738
8800
|
if (d === "connecting" || d === "idle")
|
|
8739
|
-
return /* @__PURE__ */ t(
|
|
8801
|
+
return /* @__PURE__ */ t(gw, {});
|
|
8740
8802
|
if (d === "error")
|
|
8741
|
-
return /* @__PURE__ */ t(
|
|
8803
|
+
return /* @__PURE__ */ t(bw, {});
|
|
8742
8804
|
if (d === "disconnected")
|
|
8743
|
-
return /* @__PURE__ */ t(
|
|
8744
|
-
const N = l === "minimized", _ = l === "fullscreen", x =
|
|
8805
|
+
return /* @__PURE__ */ t(pw, {});
|
|
8806
|
+
const N = l === "minimized", _ = l === "fullscreen", x = gy(u, _), S = _ ? h.find((F) => F.id === c) : void 0, I = S ? S_({
|
|
8745
8807
|
roomWidth: p.width,
|
|
8746
8808
|
gap: x,
|
|
8747
8809
|
preferredWidth: f
|
|
8748
8810
|
}) : null, C = !!S && I?.layout === "full";
|
|
8749
8811
|
return /* @__PURE__ */ m("div", { className: "relative flex h-full w-full flex-col", children: [
|
|
8750
8812
|
r,
|
|
8751
|
-
d === "reconnecting" ? /* @__PURE__ */ t(
|
|
8752
|
-
l === "pip" ? /* @__PURE__ */ t(
|
|
8753
|
-
/* @__PURE__ */ t(
|
|
8813
|
+
d === "reconnecting" ? /* @__PURE__ */ t(kw, {}) : null,
|
|
8814
|
+
l === "pip" ? /* @__PURE__ */ t(ww, {}) : null,
|
|
8815
|
+
/* @__PURE__ */ t(yw, {}),
|
|
8754
8816
|
/* @__PURE__ */ m(
|
|
8755
8817
|
"div",
|
|
8756
8818
|
{
|
|
8757
8819
|
ref: v,
|
|
8758
|
-
className: y("relative flex min-h-0 flex-1",
|
|
8820
|
+
className: y("relative flex min-h-0 flex-1", py[x]),
|
|
8759
8821
|
children: [
|
|
8760
8822
|
/* @__PURE__ */ m("div", { className: "relative min-w-0 flex-1", children: [
|
|
8761
8823
|
/* @__PURE__ */ t(
|
|
@@ -8763,7 +8825,7 @@ const Aw = () => {
|
|
|
8763
8825
|
{
|
|
8764
8826
|
className: "h-full w-full",
|
|
8765
8827
|
...C ? { inert: "" } : {},
|
|
8766
|
-
children: /* @__PURE__ */ t(
|
|
8828
|
+
children: /* @__PURE__ */ t(x_, {})
|
|
8767
8829
|
}
|
|
8768
8830
|
),
|
|
8769
8831
|
S && I && I.layout !== "beside" ? /* @__PURE__ */ t(Zr, { panel: S, plan: I }) : null
|
|
@@ -8772,29 +8834,29 @@ const Aw = () => {
|
|
|
8772
8834
|
]
|
|
8773
8835
|
}
|
|
8774
8836
|
),
|
|
8775
|
-
N ? null : /* @__PURE__ */ t(
|
|
8837
|
+
N ? null : /* @__PURE__ */ t(Zu, { actions: k })
|
|
8776
8838
|
] });
|
|
8777
|
-
},
|
|
8839
|
+
}, I_ = {
|
|
8778
8840
|
layout: "full",
|
|
8779
8841
|
width: 0,
|
|
8780
8842
|
min: 0,
|
|
8781
8843
|
max: 0,
|
|
8782
8844
|
canResize: !1
|
|
8783
|
-
},
|
|
8784
|
-
const e =
|
|
8845
|
+
}, fm = () => {
|
|
8846
|
+
const e = qu(), { effectiveMode: n, openPanelId: i } = An();
|
|
8785
8847
|
return n === "floating" || n === "panel" || n === "inline" ? e.find((r) => r.id === i) : void 0;
|
|
8786
|
-
},
|
|
8848
|
+
}, cm = ({
|
|
8787
8849
|
panel: e,
|
|
8788
8850
|
width: n
|
|
8789
8851
|
}) => /* @__PURE__ */ t(
|
|
8790
8852
|
Zr,
|
|
8791
8853
|
{
|
|
8792
8854
|
panel: e,
|
|
8793
|
-
plan:
|
|
8855
|
+
plan: I_,
|
|
8794
8856
|
variant: "cover",
|
|
8795
8857
|
coverWidth: n
|
|
8796
8858
|
}
|
|
8797
|
-
),
|
|
8859
|
+
), T_ = {
|
|
8798
8860
|
n: "left-3 right-3 top-0 h-1.5",
|
|
8799
8861
|
s: "left-3 right-3 bottom-0 h-1.5",
|
|
8800
8862
|
w: "top-3 bottom-3 left-0 w-1.5",
|
|
@@ -8803,17 +8865,17 @@ const Aw = () => {
|
|
|
8803
8865
|
ne: "right-0 top-0 h-4 w-4",
|
|
8804
8866
|
sw: "left-0 bottom-0 h-4 w-4",
|
|
8805
8867
|
se: "right-0 bottom-0 h-4 w-4"
|
|
8806
|
-
},
|
|
8868
|
+
}, M_ = Object.keys(fo), E_ = ({
|
|
8807
8869
|
onPointerDown: e,
|
|
8808
8870
|
onPointerMove: n,
|
|
8809
8871
|
onPointerUp: i,
|
|
8810
8872
|
onPointerCancel: a
|
|
8811
|
-
}) => /* @__PURE__ */ t(_e, { children:
|
|
8873
|
+
}) => /* @__PURE__ */ t(_e, { children: M_.map((r) => /* @__PURE__ */ t(
|
|
8812
8874
|
"div",
|
|
8813
8875
|
{
|
|
8814
8876
|
"aria-hidden": !0,
|
|
8815
8877
|
"data-f0-no-drag": !0,
|
|
8816
|
-
className: `absolute z-20 [@media(pointer:coarse)]:hidden ${
|
|
8878
|
+
className: `absolute z-20 [@media(pointer:coarse)]:hidden ${T_[r]}`,
|
|
8817
8879
|
style: { cursor: fo[r].cursor, touchAction: "none" },
|
|
8818
8880
|
onPointerDown: (s) => e(s, r),
|
|
8819
8881
|
onPointerMove: n,
|
|
@@ -8821,10 +8883,10 @@ const Aw = () => {
|
|
|
8821
8883
|
onPointerCancel: a
|
|
8822
8884
|
},
|
|
8823
8885
|
r
|
|
8824
|
-
)) }),
|
|
8886
|
+
)) }), R_ = () => ({
|
|
8825
8887
|
width: typeof window > "u" ? 0 : window.innerWidth,
|
|
8826
8888
|
height: typeof window > "u" ? 0 : window.innerHeight
|
|
8827
|
-
}),
|
|
8889
|
+
}), A_ = ({
|
|
8828
8890
|
elementRef: e,
|
|
8829
8891
|
getRect: n,
|
|
8830
8892
|
onStart: i,
|
|
@@ -8863,11 +8925,11 @@ const Aw = () => {
|
|
|
8863
8925
|
return;
|
|
8864
8926
|
const p = g.clientX - v.startX, b = g.clientY - v.startY;
|
|
8865
8927
|
if (!v.moved) {
|
|
8866
|
-
if (Math.hypot(p, b) <
|
|
8928
|
+
if (Math.hypot(p, b) < by)
|
|
8867
8929
|
return;
|
|
8868
8930
|
v.moved = !0, i();
|
|
8869
8931
|
}
|
|
8870
|
-
const k =
|
|
8932
|
+
const k = R_(), N = v.handle === null ? {
|
|
8871
8933
|
...v.origin,
|
|
8872
8934
|
x: Tn(
|
|
8873
8935
|
v.origin.x + p,
|
|
@@ -8885,7 +8947,7 @@ const Aw = () => {
|
|
|
8885
8947
|
k.height - v.origin.height - Ze
|
|
8886
8948
|
)
|
|
8887
8949
|
)
|
|
8888
|
-
} :
|
|
8950
|
+
} : Sy({
|
|
8889
8951
|
rect: v.origin,
|
|
8890
8952
|
handle: v.handle,
|
|
8891
8953
|
deltaX: p,
|
|
@@ -8911,7 +8973,7 @@ const Aw = () => {
|
|
|
8911
8973
|
[l, a]
|
|
8912
8974
|
);
|
|
8913
8975
|
return { begin: f, move: c, end: u, cancel: h };
|
|
8914
|
-
},
|
|
8976
|
+
}, F_ = ({ header: e, children: n }) => {
|
|
8915
8977
|
const i = Z(), a = kn(), {
|
|
8916
8978
|
effectiveMode: r,
|
|
8917
8979
|
rect: s,
|
|
@@ -8925,7 +8987,7 @@ const Aw = () => {
|
|
|
8925
8987
|
const g = r === "floating" || r === "minimized", v = R(
|
|
8926
8988
|
(C) => {
|
|
8927
8989
|
d(!1), l(C);
|
|
8928
|
-
const F =
|
|
8990
|
+
const F = Bu(C, {
|
|
8929
8991
|
width: window.innerWidth,
|
|
8930
8992
|
height: window.innerHeight
|
|
8931
8993
|
}), w = {
|
|
@@ -8942,7 +9004,7 @@ const Aw = () => {
|
|
|
8942
9004
|
d(!1), f(C);
|
|
8943
9005
|
},
|
|
8944
9006
|
[d, f]
|
|
8945
|
-
), b =
|
|
9007
|
+
), b = A_({
|
|
8946
9008
|
elementRef: u,
|
|
8947
9009
|
getRect: () => h.current,
|
|
8948
9010
|
onStart: () => d(!0),
|
|
@@ -8958,7 +9020,7 @@ const Aw = () => {
|
|
|
8958
9020
|
(C) => {
|
|
8959
9021
|
if (!g || C.target !== C.currentTarget)
|
|
8960
9022
|
return;
|
|
8961
|
-
const F = C.shiftKey ?
|
|
9023
|
+
const F = C.shiftKey ? ky : Xr, w = C.metaKey || C.ctrlKey, T = h.current, E = { width: window.innerWidth, height: window.innerHeight }, D = {
|
|
8962
9024
|
ArrowUp: [0, -F],
|
|
8963
9025
|
ArrowDown: [0, F],
|
|
8964
9026
|
ArrowLeft: [-F, 0],
|
|
@@ -9001,7 +9063,7 @@ const Aw = () => {
|
|
|
9001
9063
|
w ? f(P) : v(P);
|
|
9002
9064
|
},
|
|
9003
9065
|
[g, f, v]
|
|
9004
|
-
), N = r === "inline", _ =
|
|
9066
|
+
), N = r === "inline", _ = fm(), x = _ ? { inert: "" } : {}, S = r === "minimized", I = oo(s);
|
|
9005
9067
|
return /* @__PURE__ */ t(io, { density: I, children: /* @__PURE__ */ m(
|
|
9006
9068
|
"div",
|
|
9007
9069
|
{
|
|
@@ -9019,7 +9081,7 @@ const Aw = () => {
|
|
|
9019
9081
|
"z-40"
|
|
9020
9082
|
),
|
|
9021
9083
|
style: {
|
|
9022
|
-
transition: o || a ? "none" :
|
|
9084
|
+
transition: o || a ? "none" : qw,
|
|
9023
9085
|
willChange: o ? "left, top, width, height" : void 0
|
|
9024
9086
|
},
|
|
9025
9087
|
children: [
|
|
@@ -9052,9 +9114,9 @@ const Aw = () => {
|
|
|
9052
9114
|
}
|
|
9053
9115
|
),
|
|
9054
9116
|
S ? null : /* @__PURE__ */ t("div", { className: "relative min-h-0 w-full flex-1", ...x, children: n }),
|
|
9055
|
-
_ ? /* @__PURE__ */ t(
|
|
9117
|
+
_ ? /* @__PURE__ */ t(cm, { panel: _, width: s.width }) : null,
|
|
9056
9118
|
g && r === "floating" ? /* @__PURE__ */ t(
|
|
9057
|
-
|
|
9119
|
+
E_,
|
|
9058
9120
|
{
|
|
9059
9121
|
onPointerDown: b.begin,
|
|
9060
9122
|
onPointerMove: b.move,
|
|
@@ -9065,7 +9127,7 @@ const Aw = () => {
|
|
|
9065
9127
|
]
|
|
9066
9128
|
}
|
|
9067
9129
|
) });
|
|
9068
|
-
},
|
|
9130
|
+
}, P_ = (e) => {
|
|
9069
9131
|
const [n, i] = z(() => ({
|
|
9070
9132
|
width: e.innerWidth,
|
|
9071
9133
|
height: e.innerHeight
|
|
@@ -9074,9 +9136,9 @@ const Aw = () => {
|
|
|
9074
9136
|
const a = () => i({ width: e.innerWidth, height: e.innerHeight });
|
|
9075
9137
|
return a(), e.addEventListener("resize", a), () => e.removeEventListener("resize", a);
|
|
9076
9138
|
}, [e]), n;
|
|
9077
|
-
},
|
|
9078
|
-
const { actions: n, actionOrder: i, sidePanels: a, sidePanel: r, overlay: s } = $a(), o = oo(
|
|
9079
|
-
return /* @__PURE__ */ t(
|
|
9139
|
+
}, L_ = ({ pipWindow: e }) => {
|
|
9140
|
+
const { actions: n, actionOrder: i, sidePanels: a, sidePanel: r, overlay: s } = $a(), o = oo(P_(e));
|
|
9141
|
+
return /* @__PURE__ */ t(Lp, { container: e.document.body, children: /* @__PURE__ */ t(io, { density: o, children: /* @__PURE__ */ t(
|
|
9080
9142
|
"div",
|
|
9081
9143
|
{
|
|
9082
9144
|
"data-testid": "meeting-window",
|
|
@@ -9094,17 +9156,17 @@ const Aw = () => {
|
|
|
9094
9156
|
)
|
|
9095
9157
|
}
|
|
9096
9158
|
) }) });
|
|
9097
|
-
},
|
|
9159
|
+
}, ll = () => typeof navigator > "u" ? null : navigator.mediaSession ?? null, fl = (e, n, i) => {
|
|
9098
9160
|
try {
|
|
9099
9161
|
e.setActionHandler(n, i);
|
|
9100
9162
|
} catch {
|
|
9101
9163
|
}
|
|
9102
|
-
},
|
|
9164
|
+
}, O_ = () => {
|
|
9103
9165
|
const { status: e, localMedia: n } = Ln(), { setMicrophoneEnabled: i, setCameraEnabled: a, leave: r } = Ki(), { enterPictureInPicture: s, pipSupport: o } = An(), d = e === "connected", l = n.microphone.enabled, f = n.camera.enabled, c = M({ microphoneOn: l, cameraOn: f });
|
|
9104
9166
|
c.current = { microphoneOn: l, cameraOn: f };
|
|
9105
9167
|
const u = o !== "none";
|
|
9106
9168
|
W(() => {
|
|
9107
|
-
const h =
|
|
9169
|
+
const h = ll();
|
|
9108
9170
|
if (!h || !d)
|
|
9109
9171
|
return;
|
|
9110
9172
|
const g = {
|
|
@@ -9114,10 +9176,10 @@ const Aw = () => {
|
|
|
9114
9176
|
};
|
|
9115
9177
|
u && (g.enterpictureinpicture = s);
|
|
9116
9178
|
for (const [v, p] of Object.entries(g))
|
|
9117
|
-
|
|
9179
|
+
fl(h, v, p);
|
|
9118
9180
|
return () => {
|
|
9119
9181
|
for (const v of Object.keys(g))
|
|
9120
|
-
|
|
9182
|
+
fl(h, v, null);
|
|
9121
9183
|
};
|
|
9122
9184
|
}, [
|
|
9123
9185
|
d,
|
|
@@ -9127,20 +9189,20 @@ const Aw = () => {
|
|
|
9127
9189
|
r,
|
|
9128
9190
|
s
|
|
9129
9191
|
]), W(() => {
|
|
9130
|
-
const h =
|
|
9192
|
+
const h = ll();
|
|
9131
9193
|
if (!(!h || !d))
|
|
9132
9194
|
try {
|
|
9133
9195
|
h.setMicrophoneActive?.(l), h.setCameraActive?.(f);
|
|
9134
9196
|
} catch {
|
|
9135
9197
|
}
|
|
9136
9198
|
}, [d, l, f]);
|
|
9137
|
-
},
|
|
9199
|
+
}, D_ = ({
|
|
9138
9200
|
actions: e,
|
|
9139
9201
|
actionOrder: n
|
|
9140
9202
|
}) => {
|
|
9141
|
-
const i = no(), a =
|
|
9142
|
-
return /* @__PURE__ */ t(
|
|
9143
|
-
},
|
|
9203
|
+
const i = no(), a = nm(), r = typeof e == "function" ? e(i) : e;
|
|
9204
|
+
return /* @__PURE__ */ t(Zu, { actions: em(a, r, n) });
|
|
9205
|
+
}, z_ = () => {
|
|
9144
9206
|
const { effectiveMode: e, pipWindow: n } = An(), {
|
|
9145
9207
|
actions: i,
|
|
9146
9208
|
actionOrder: a,
|
|
@@ -9149,7 +9211,7 @@ const Aw = () => {
|
|
|
9149
9211
|
headerContent: o,
|
|
9150
9212
|
overlay: d
|
|
9151
9213
|
} = $a(), [l, f] = z(null);
|
|
9152
|
-
if (
|
|
9214
|
+
if (O_(), W(() => {
|
|
9153
9215
|
const h = document.createElement("div");
|
|
9154
9216
|
return h.setAttribute("data-f0-meeting-layer", ""), h.className = "pointer-events-none", document.body.appendChild(h), f(h), () => {
|
|
9155
9217
|
h.remove();
|
|
@@ -9160,19 +9222,19 @@ const Aw = () => {
|
|
|
9160
9222
|
return /* @__PURE__ */ m(_e, { children: [
|
|
9161
9223
|
Hi(
|
|
9162
9224
|
/* @__PURE__ */ m(_e, { children: [
|
|
9163
|
-
/* @__PURE__ */ t(
|
|
9164
|
-
/* @__PURE__ */ t(
|
|
9225
|
+
/* @__PURE__ */ t(Jy, {}),
|
|
9226
|
+
/* @__PURE__ */ t(zk, {}),
|
|
9165
9227
|
e === "panel" || e === "fullscreen" || c ? null : /* @__PURE__ */ t(
|
|
9166
|
-
|
|
9228
|
+
F_,
|
|
9167
9229
|
{
|
|
9168
9230
|
header: /* @__PURE__ */ t(
|
|
9169
|
-
|
|
9231
|
+
Vu,
|
|
9170
9232
|
{
|
|
9171
9233
|
extra: (
|
|
9172
9234
|
// A minimized pill is only a title bar, so its two surviving
|
|
9173
9235
|
// controls ride in the header rather than in a hidden body.
|
|
9174
9236
|
e === "minimized" ? /* @__PURE__ */ t(
|
|
9175
|
-
|
|
9237
|
+
D_,
|
|
9176
9238
|
{
|
|
9177
9239
|
actions: i,
|
|
9178
9240
|
actionOrder: a
|
|
@@ -9197,11 +9259,11 @@ const Aw = () => {
|
|
|
9197
9259
|
l
|
|
9198
9260
|
),
|
|
9199
9261
|
c ? Hi(
|
|
9200
|
-
/* @__PURE__ */ t(
|
|
9262
|
+
/* @__PURE__ */ t(L_, { pipWindow: n }),
|
|
9201
9263
|
n.document.body
|
|
9202
9264
|
) : null
|
|
9203
9265
|
] });
|
|
9204
|
-
},
|
|
9266
|
+
}, B_ = ({
|
|
9205
9267
|
runtime: e,
|
|
9206
9268
|
actions: n,
|
|
9207
9269
|
actionOrder: i,
|
|
@@ -9212,14 +9274,14 @@ const Aw = () => {
|
|
|
9212
9274
|
headerContent: d,
|
|
9213
9275
|
overlay: l,
|
|
9214
9276
|
children: f
|
|
9215
|
-
}) => /* @__PURE__ */ t(
|
|
9216
|
-
|
|
9277
|
+
}) => /* @__PURE__ */ t(Pk, { runtime: e ?? null, children: /* @__PURE__ */ t(
|
|
9278
|
+
zy,
|
|
9217
9279
|
{
|
|
9218
9280
|
defaultMode: a,
|
|
9219
9281
|
roomId: e?.room.id ?? "",
|
|
9220
9282
|
pictureInPicture: r,
|
|
9221
9283
|
children: /* @__PURE__ */ m(
|
|
9222
|
-
|
|
9284
|
+
By,
|
|
9223
9285
|
{
|
|
9224
9286
|
actions: n,
|
|
9225
9287
|
actionOrder: i,
|
|
@@ -9229,7 +9291,7 @@ const Aw = () => {
|
|
|
9229
9291
|
overlay: l,
|
|
9230
9292
|
children: [
|
|
9231
9293
|
f,
|
|
9232
|
-
e ? /* @__PURE__ */ t(
|
|
9294
|
+
e ? /* @__PURE__ */ t(z_, {}) : null
|
|
9233
9295
|
]
|
|
9234
9296
|
}
|
|
9235
9297
|
)
|
|
@@ -9248,15 +9310,15 @@ const Aw = () => {
|
|
|
9248
9310
|
height: s.height
|
|
9249
9311
|
});
|
|
9250
9312
|
}, [a, i, e]), /* @__PURE__ */ t("div", { ref: i, className: "h-full w-full", "aria-hidden": !0 });
|
|
9251
|
-
},
|
|
9252
|
-
const e =
|
|
9313
|
+
}, H_ = () => {
|
|
9314
|
+
const e = xu(), {
|
|
9253
9315
|
actions: n,
|
|
9254
9316
|
actionOrder: i,
|
|
9255
9317
|
sidePanels: a,
|
|
9256
9318
|
sidePanel: r,
|
|
9257
9319
|
headerContent: s,
|
|
9258
9320
|
overlay: o
|
|
9259
|
-
} = $a(), [d, l] = Ct(), f = oo(l), { effectiveMode: c, setMode: u } = An(), h =
|
|
9321
|
+
} = $a(), [d, l] = Ct(), f = oo(l), { effectiveMode: c, setMode: u } = An(), h = fm(), g = h ? { inert: "" } : {};
|
|
9260
9322
|
return W(() => {
|
|
9261
9323
|
if (!e || c !== "fullscreen")
|
|
9262
9324
|
return;
|
|
@@ -9281,7 +9343,7 @@ const Aw = () => {
|
|
|
9281
9343
|
"relative flex shrink-0 items-center gap-2",
|
|
9282
9344
|
f === "tight" ? "px-2" : "px-3"
|
|
9283
9345
|
),
|
|
9284
|
-
children: /* @__PURE__ */ t(
|
|
9346
|
+
children: /* @__PURE__ */ t(Vu, { extra: s })
|
|
9285
9347
|
}
|
|
9286
9348
|
),
|
|
9287
9349
|
/* @__PURE__ */ t("div", { className: "relative min-h-0 flex-1", ...g, children: /* @__PURE__ */ t(
|
|
@@ -9294,11 +9356,11 @@ const Aw = () => {
|
|
|
9294
9356
|
overlay: o
|
|
9295
9357
|
}
|
|
9296
9358
|
) }),
|
|
9297
|
-
h ? /* @__PURE__ */ t(
|
|
9359
|
+
h ? /* @__PURE__ */ t(cm, { panel: h, width: l.width }) : null
|
|
9298
9360
|
]
|
|
9299
9361
|
}
|
|
9300
9362
|
) }) : null;
|
|
9301
|
-
},
|
|
9363
|
+
}, j_ = (e) => {
|
|
9302
9364
|
const n = new Date(e);
|
|
9303
9365
|
return Number.isNaN(n.getTime()) ? "" : new Intl.DateTimeFormat(void 0, {
|
|
9304
9366
|
hour: "2-digit",
|
|
@@ -9331,7 +9393,7 @@ const Aw = () => {
|
|
|
9331
9393
|
/* @__PURE__ */ m("div", { className: "min-w-0 flex-1", children: [
|
|
9332
9394
|
/* @__PURE__ */ m("div", { className: "flex items-baseline gap-2", children: [
|
|
9333
9395
|
/* @__PURE__ */ t("span", { className: "truncate text-sm font-medium text-f1-foreground", children: h ? i.meeting.you : u?.name ?? "" }),
|
|
9334
|
-
/* @__PURE__ */ t("span", { className: "shrink-0 text-sm tabular-nums text-f1-foreground-tertiary", children:
|
|
9396
|
+
/* @__PURE__ */ t("span", { className: "shrink-0 text-sm tabular-nums text-f1-foreground-tertiary", children: j_(c.at) })
|
|
9335
9397
|
] }),
|
|
9336
9398
|
/* @__PURE__ */ t("p", { className: "whitespace-pre-wrap break-words text-base text-f1-foreground", children: c.text })
|
|
9337
9399
|
] })
|
|
@@ -9369,7 +9431,7 @@ const Aw = () => {
|
|
|
9369
9431
|
)
|
|
9370
9432
|
] })
|
|
9371
9433
|
] });
|
|
9372
|
-
},
|
|
9434
|
+
}, W_ = (e, n) => {
|
|
9373
9435
|
const i = e.map((a) => ({
|
|
9374
9436
|
kind: "segment",
|
|
9375
9437
|
at: a.at,
|
|
@@ -9388,7 +9450,7 @@ const Aw = () => {
|
|
|
9388
9450
|
key: `r${r}`
|
|
9389
9451
|
});
|
|
9390
9452
|
}), i.map((a, r) => ({ entry: a, index: r, time: Date.parse(a.at) })).sort((a, r) => a.time - r.time || a.index - r.index).map(({ entry: a }) => a);
|
|
9391
|
-
},
|
|
9453
|
+
}, cl = (e) => {
|
|
9392
9454
|
const n = new Date(e);
|
|
9393
9455
|
return Number.isNaN(n.getTime()) ? "" : new Intl.DateTimeFormat(void 0, {
|
|
9394
9456
|
hour: "2-digit",
|
|
@@ -9407,7 +9469,7 @@ const Aw = () => {
|
|
|
9407
9469
|
!f || !o.current || (f.scrollTop = f.scrollHeight);
|
|
9408
9470
|
}, [e, n]);
|
|
9409
9471
|
const l = X(
|
|
9410
|
-
() =>
|
|
9472
|
+
() => W_(e, n),
|
|
9411
9473
|
[e, n]
|
|
9412
9474
|
);
|
|
9413
9475
|
return e.length === 0 ? /* @__PURE__ */ t("div", { className: "flex h-full items-center justify-center p-8 text-center text-base text-f1-foreground-secondary", children: r?.status === "paused" ? i.meeting.transcriptPausedEmpty : i.meeting.transcriptEmpty }) : /* @__PURE__ */ t(
|
|
@@ -9441,7 +9503,7 @@ const Aw = () => {
|
|
|
9441
9503
|
/* @__PURE__ */ m("span", { className: "shrink-0", children: [
|
|
9442
9504
|
g,
|
|
9443
9505
|
" · ",
|
|
9444
|
-
|
|
9506
|
+
cl(f.at)
|
|
9445
9507
|
] }),
|
|
9446
9508
|
/* @__PURE__ */ t(
|
|
9447
9509
|
"span",
|
|
@@ -9461,7 +9523,7 @@ const Aw = () => {
|
|
|
9461
9523
|
/* @__PURE__ */ m("div", { className: "min-w-0 flex-1", children: [
|
|
9462
9524
|
/* @__PURE__ */ m("div", { className: "flex items-baseline gap-2", children: [
|
|
9463
9525
|
/* @__PURE__ */ t("span", { className: "truncate text-sm font-medium text-f1-foreground", children: u?.name ?? c.participantId }),
|
|
9464
|
-
/* @__PURE__ */ t("span", { className: "shrink-0 text-sm text-f1-foreground-tertiary tabular-nums", children:
|
|
9526
|
+
/* @__PURE__ */ t("span", { className: "shrink-0 text-sm text-f1-foreground-tertiary tabular-nums", children: cl(c.at) })
|
|
9465
9527
|
] }),
|
|
9466
9528
|
/* @__PURE__ */ t(
|
|
9467
9529
|
"p",
|
|
@@ -9504,23 +9566,11 @@ const Aw = () => {
|
|
|
9504
9566
|
y: 0,
|
|
9505
9567
|
width: e.width,
|
|
9506
9568
|
height: e.height
|
|
9507
|
-
}),
|
|
9508
|
-
duration: dm.base,
|
|
9509
|
-
ease: lm.outSwift
|
|
9510
|
-
}, z_ = {
|
|
9511
|
-
duration: dm.reveal,
|
|
9512
|
-
ease: lm.outSwift
|
|
9513
|
-
}, cm = { duration: 0 }, cl = (e, n = !1) => e || n ? cm : fm, B_ = (e, n, i = !1) => e || i ? cm : n ? z_ : fm, H_ = ({
|
|
9514
|
-
coversFrame: e,
|
|
9515
|
-
isFullscreen: n,
|
|
9516
|
-
isClosingFromFullscreen: i,
|
|
9517
|
-
isActivePanel: a,
|
|
9518
|
-
reservedWidth: r
|
|
9519
|
-
}) => e || (n || i) && a ? "100%" : r, bo = "f0-meeting", j_ = {
|
|
9569
|
+
}), bo = "f0-meeting", $_ = {
|
|
9520
9570
|
id: bo,
|
|
9521
|
-
content: /* @__PURE__ */ t(
|
|
9522
|
-
},
|
|
9523
|
-
const e =
|
|
9571
|
+
content: /* @__PURE__ */ t(H_, {})
|
|
9572
|
+
}, q_ = () => {
|
|
9573
|
+
const e = Hu(), n = xu(), i = Pv(), {
|
|
9524
9574
|
activeContent: a,
|
|
9525
9575
|
present: r,
|
|
9526
9576
|
clear: s,
|
|
@@ -9529,7 +9579,7 @@ const Aw = () => {
|
|
|
9529
9579
|
layout: l,
|
|
9530
9580
|
setLayout: f,
|
|
9531
9581
|
contentSide: c
|
|
9532
|
-
} =
|
|
9582
|
+
} = Na(), { currentPath: u } = Lv(), h = n ? e?.mode : void 0, g = n ? e?.effectiveMode : void 0, v = e?.setMode, p = e?.setPanelSlot, b = a?.id === bo, k = g === "panel" || g === "fullscreen", N = h === "panel" || h === "fullscreen";
|
|
9533
9583
|
W(() => {
|
|
9534
9584
|
if (p)
|
|
9535
9585
|
return p(i ? c : null), () => p(null);
|
|
@@ -9539,7 +9589,7 @@ const Aw = () => {
|
|
|
9539
9589
|
const x = M(null), S = M(!1);
|
|
9540
9590
|
W(() => {
|
|
9541
9591
|
if (k)
|
|
9542
|
-
return x.current ??= _.current.open, _.current.present(
|
|
9592
|
+
return x.current ??= _.current.open, _.current.present($_), () => {
|
|
9543
9593
|
S.current && (_.current.setLayout("sidepanel"), _.current.clear(), x.current === !1 && _.current.setOpen(!1)), x.current = null;
|
|
9544
9594
|
};
|
|
9545
9595
|
}, [k]), W(() => {
|
|
@@ -9558,57 +9608,7 @@ const Aw = () => {
|
|
|
9558
9608
|
const F = S.current && !b;
|
|
9559
9609
|
S.current = b, N && g !== "pip" && (F || b && !o) && v?.("floating");
|
|
9560
9610
|
}, [b, o, N, g, v]), null;
|
|
9561
|
-
},
|
|
9562
|
-
const { open: e, activeContent: n, contentSide: i, restoringViewId: a } = Ca(), r = kn(), s = M(n);
|
|
9563
|
-
n && (s.current = n);
|
|
9564
|
-
const o = !n && a ? {
|
|
9565
|
-
id: a,
|
|
9566
|
-
content: /* @__PURE__ */ t(
|
|
9567
|
-
ie,
|
|
9568
|
-
{
|
|
9569
|
-
role: "status",
|
|
9570
|
-
"aria-busy": !0,
|
|
9571
|
-
className: "h-full w-full rounded-none"
|
|
9572
|
-
}
|
|
9573
|
-
)
|
|
9574
|
-
} : null, d = n ?? o ?? s.current;
|
|
9575
|
-
return /* @__PURE__ */ t(
|
|
9576
|
-
Lv,
|
|
9577
|
-
{
|
|
9578
|
-
visible: e && (n !== null || o !== null),
|
|
9579
|
-
side: i,
|
|
9580
|
-
exitStyle: e ? "hold" : "shrink",
|
|
9581
|
-
children: /* @__PURE__ */ t(hn, { initial: !1, children: /* @__PURE__ */ t(
|
|
9582
|
-
Me.div,
|
|
9583
|
-
{
|
|
9584
|
-
className: "absolute inset-0 flex flex-col overflow-hidden",
|
|
9585
|
-
initial: r ? !1 : { opacity: 0 },
|
|
9586
|
-
animate: { opacity: 1 },
|
|
9587
|
-
exit: r ? void 0 : { opacity: 0 },
|
|
9588
|
-
transition: { duration: r ? 0 : 0.15, ease: "easeOut" },
|
|
9589
|
-
children: d?.content
|
|
9590
|
-
},
|
|
9591
|
-
d ? `panel:${d.id}` : "panel:none"
|
|
9592
|
-
) })
|
|
9593
|
-
}
|
|
9594
|
-
);
|
|
9595
|
-
};
|
|
9596
|
-
function q_(e = D_) {
|
|
9597
|
-
const [n, i] = z(!1);
|
|
9598
|
-
return W(() => {
|
|
9599
|
-
let a = 0;
|
|
9600
|
-
const r = () => {
|
|
9601
|
-
i(!0), window.clearTimeout(a), a = window.setTimeout(
|
|
9602
|
-
() => i(!1),
|
|
9603
|
-
e
|
|
9604
|
-
);
|
|
9605
|
-
};
|
|
9606
|
-
return window.addEventListener("resize", r), () => {
|
|
9607
|
-
window.clearTimeout(a), window.removeEventListener("resize", r);
|
|
9608
|
-
};
|
|
9609
|
-
}, [e]), n;
|
|
9610
|
-
}
|
|
9611
|
-
const U_ = ac.panel, G_ = Dn.duration.reveal * 1e3, V_ = Dn.duration.base * 1e3, K_ = "ai";
|
|
9611
|
+
}, U_ = ac.panel, G_ = Dn.duration.reveal * 1e3, V_ = Dn.duration.base * 1e3, K_ = "ai";
|
|
9612
9612
|
function Y_({
|
|
9613
9613
|
children: e,
|
|
9614
9614
|
sidebar: n,
|
|
@@ -9640,8 +9640,8 @@ function Y_({
|
|
|
9640
9640
|
contentSide: a?.panelContentSide ?? l,
|
|
9641
9641
|
resizable: s?.resizable ?? a?.resizable,
|
|
9642
9642
|
defaultLayout: a?.defaultVisualizationMode === "fullscreen" ? "fullscreen" : "sidepanel",
|
|
9643
|
-
children: /* @__PURE__ */ m(
|
|
9644
|
-
/* @__PURE__ */ t(
|
|
9643
|
+
children: /* @__PURE__ */ m(B_, { ...o, runtime: o?.runtime ?? null, children: [
|
|
9644
|
+
/* @__PURE__ */ t(q_, {}),
|
|
9645
9645
|
/* @__PURE__ */ t(
|
|
9646
9646
|
X_,
|
|
9647
9647
|
{
|
|
@@ -9731,7 +9731,7 @@ function e2({
|
|
|
9731
9731
|
contentSide: S,
|
|
9732
9732
|
restoringViewId: I,
|
|
9733
9733
|
isResizing: C
|
|
9734
|
-
} =
|
|
9734
|
+
} = Na(), { canvasContent: F, canvasEntities: w, closeCanvas: T } = zv(), E = g === "fullscreen", L = F !== null, { open: D } = La(), P = N ? v ?? ar : Math.min(ar, p?.max ?? ar), q = F?.coversChat === !0 ? 0 : P, A = _ === "left", H = S !== _, $ = !!(x || I), J = M($);
|
|
9735
9735
|
W(() => {
|
|
9736
9736
|
J.current = $;
|
|
9737
9737
|
});
|
|
@@ -9780,15 +9780,15 @@ function e2({
|
|
|
9780
9780
|
cancelAnimationFrame(Te), ln.disconnect(), window.removeEventListener("resize", _n);
|
|
9781
9781
|
};
|
|
9782
9782
|
}, [k, te]);
|
|
9783
|
-
const Fe =
|
|
9783
|
+
const Fe = Ak(), Ie = M(null);
|
|
9784
9784
|
W(() => {
|
|
9785
9785
|
const Ae = Ie.current;
|
|
9786
9786
|
Ae && (s === "hidden" && f === 0 || oe ? Ae.setAttribute("inert", "") : Ae.removeAttribute("inert"));
|
|
9787
9787
|
}, [s, f, oe]);
|
|
9788
|
-
const He = !!C || Fe, V =
|
|
9788
|
+
const He = !!C || Fe, V = Ad(
|
|
9789
9789
|
He,
|
|
9790
9790
|
c
|
|
9791
|
-
), we = (Ae, Te) =>
|
|
9791
|
+
), we = (Ae, Te) => Mk(
|
|
9792
9792
|
He,
|
|
9793
9793
|
he && Ae && Te,
|
|
9794
9794
|
c
|
|
@@ -9797,14 +9797,14 @@ function e2({
|
|
|
9797
9797
|
right: re && !le ? P : 0
|
|
9798
9798
|
}, Ye = M(ke);
|
|
9799
9799
|
We || (Ye.current = ke);
|
|
9800
|
-
const Je = We ? Ye.current : ke, on =
|
|
9800
|
+
const Je = We ? Ye.current : ke, on = Ad(
|
|
9801
9801
|
He || he || de,
|
|
9802
9802
|
c
|
|
9803
9803
|
), Ge = De && (!le || Xe);
|
|
9804
9804
|
return W(() => {
|
|
9805
9805
|
l(Ge || D);
|
|
9806
9806
|
}, [Ge, D, l]), Z_(Ge, ye), /* @__PURE__ */ t(
|
|
9807
|
-
|
|
9807
|
+
Jg,
|
|
9808
9808
|
{
|
|
9809
9809
|
reducedMotion: c ? "always" : "never",
|
|
9810
9810
|
transition: {
|
|
@@ -9959,7 +9959,7 @@ function e2({
|
|
|
9959
9959
|
// start where the nav does.
|
|
9960
9960
|
left: Te === "left" ? -te : "auto"
|
|
9961
9961
|
} : {
|
|
9962
|
-
width:
|
|
9962
|
+
width: Ek({
|
|
9963
9963
|
coversFrame: ze,
|
|
9964
9964
|
isFullscreen: E,
|
|
9965
9965
|
isClosingFromFullscreen: de,
|
|
@@ -9987,7 +9987,7 @@ function e2({
|
|
|
9987
9987
|
S,
|
|
9988
9988
|
ne || !e?.enabled,
|
|
9989
9989
|
Le.current,
|
|
9990
|
-
/* @__PURE__ */ t(
|
|
9990
|
+
/* @__PURE__ */ t(Rk, {})
|
|
9991
9991
|
) : null
|
|
9992
9992
|
] });
|
|
9993
9993
|
})() : null
|
|
@@ -10005,8 +10005,8 @@ const um = ({
|
|
|
10005
10005
|
disabled: n
|
|
10006
10006
|
}) => {
|
|
10007
10007
|
const { enabled: i, setOpen: a, open: r } = La(), s = Z(), [o, d] = z(!1);
|
|
10008
|
-
return i ? /* @__PURE__ */ t("div", { className: "flex items-center", children: /* @__PURE__ */ t(
|
|
10009
|
-
/* @__PURE__ */ t(
|
|
10008
|
+
return i ? /* @__PURE__ */ t("div", { className: "flex items-center", children: /* @__PURE__ */ t(Op, { children: /* @__PURE__ */ m(Dp, { delayDuration: 850, disableHoverableContent: !0, children: [
|
|
10009
|
+
/* @__PURE__ */ t(zp, { asChild: !0, children: /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
|
|
10010
10010
|
jv,
|
|
10011
10011
|
{
|
|
10012
10012
|
onCheckedChange: (l) => {
|
|
@@ -10048,7 +10048,7 @@ const um = ({
|
|
|
10048
10048
|
)
|
|
10049
10049
|
}
|
|
10050
10050
|
) }) }),
|
|
10051
|
-
r ? null : /* @__PURE__ */ t(
|
|
10051
|
+
r ? null : /* @__PURE__ */ t(Bp, { side: "left", className: "font-medium", children: s.ai.welcome })
|
|
10052
10052
|
] }) }) }) : null;
|
|
10053
10053
|
}, mm = ({
|
|
10054
10054
|
firstName: e,
|
|
@@ -10125,7 +10125,7 @@ const um = ({
|
|
|
10125
10125
|
},
|
|
10126
10126
|
children: [
|
|
10127
10127
|
/* @__PURE__ */ t(
|
|
10128
|
-
|
|
10128
|
+
$f,
|
|
10129
10129
|
{
|
|
10130
10130
|
type: "rounded",
|
|
10131
10131
|
name: [e, n],
|
|
@@ -10149,8 +10149,8 @@ const um = ({
|
|
|
10149
10149
|
children: /* @__PURE__ */ t(
|
|
10150
10150
|
pe,
|
|
10151
10151
|
{
|
|
10152
|
-
icon:
|
|
10153
|
-
color:
|
|
10152
|
+
icon: Tc[s],
|
|
10153
|
+
color: Qg[s],
|
|
10154
10154
|
size: "sm"
|
|
10155
10155
|
}
|
|
10156
10156
|
)
|
|
@@ -10379,7 +10379,7 @@ function r2(e, n, i = []) {
|
|
|
10379
10379
|
};
|
|
10380
10380
|
}
|
|
10381
10381
|
function s2({ breadcrumbs: e, append: n }) {
|
|
10382
|
-
const i = M(null), a = M(null), [, r] =
|
|
10382
|
+
const i = M(null), a = M(null), [, r] = Pp(), [s, o] = z(null), d = (s?.collapsedItems || []).length > 0;
|
|
10383
10383
|
return en(() => {
|
|
10384
10384
|
const l = i.current, f = a.current;
|
|
10385
10385
|
if (!l || !f || f.children.length < e.length)
|
|
@@ -10469,6 +10469,33 @@ function s2({ breadcrumbs: e, append: n }) {
|
|
|
10469
10469
|
`breadcrumb-${et(e.at(-1)) ?? 0}`
|
|
10470
10470
|
);
|
|
10471
10471
|
}
|
|
10472
|
+
const yo = un(null), YE = yo.Provider;
|
|
10473
|
+
function XE() {
|
|
10474
|
+
return cn(yo);
|
|
10475
|
+
}
|
|
10476
|
+
function o2(e, n) {
|
|
10477
|
+
const i = n?.getItemTitle, a = n?.mode ?? "url", r = e !== null, s = e?.previousItem ?? null, o = e?.nextItem ?? null, d = e?.previousItemUrl ?? null, l = e?.nextItemUrl ?? null, f = e?.absoluteIndex ?? null, c = e?.totalItems, u = e?.hasPrevious ?? !1, h = e?.hasNext ?? !1, g = e?.goToPrevious, v = e?.goToNext;
|
|
10478
|
+
return X(() => {
|
|
10479
|
+
if (!r)
|
|
10480
|
+
return null;
|
|
10481
|
+
const p = f !== null && c !== void 0 ? { current: f + 1, total: c } : void 0, b = (_, x) => (_ !== null ? i?.(_) : void 0) ?? x, k = a === "callback" ? u ? { onClick: g, title: b(s, "Previous") } : void 0 : d !== null ? { url: d, title: b(s, "Previous") } : void 0, N = a === "callback" ? h ? { onClick: v, title: b(o, "Next") } : void 0 : l !== null ? { url: l, title: b(o, "Next") } : void 0;
|
|
10482
|
+
return !k && !N && !p ? null : { previous: k, next: N, counter: p };
|
|
10483
|
+
}, [
|
|
10484
|
+
r,
|
|
10485
|
+
a,
|
|
10486
|
+
s,
|
|
10487
|
+
o,
|
|
10488
|
+
d,
|
|
10489
|
+
l,
|
|
10490
|
+
f,
|
|
10491
|
+
c,
|
|
10492
|
+
u,
|
|
10493
|
+
h,
|
|
10494
|
+
g,
|
|
10495
|
+
v,
|
|
10496
|
+
i
|
|
10497
|
+
]);
|
|
10498
|
+
}
|
|
10472
10499
|
const ml = Me.create(pe), hl = {
|
|
10473
10500
|
initial: { scale: 1 },
|
|
10474
10501
|
animate: { scale: 1 },
|
|
@@ -10476,7 +10503,7 @@ const ml = Me.create(pe), hl = {
|
|
|
10476
10503
|
// Transition variants
|
|
10477
10504
|
enterFromUnfavorite: { scale: 0.5 },
|
|
10478
10505
|
enterFromFavorite: { scale: 0.8 }
|
|
10479
|
-
},
|
|
10506
|
+
}, d2 = ({
|
|
10480
10507
|
isMarked: e,
|
|
10481
10508
|
onChange: n,
|
|
10482
10509
|
label: i
|
|
@@ -10555,7 +10582,7 @@ const ml = Me.create(pe), hl = {
|
|
|
10555
10582
|
r === null && d();
|
|
10556
10583
|
}, [d, r]);
|
|
10557
10584
|
return { state: i, updates: r, load: d, loadOnce: l };
|
|
10558
|
-
},
|
|
10585
|
+
}, l2 = ({
|
|
10559
10586
|
currentModule: e,
|
|
10560
10587
|
label: n,
|
|
10561
10588
|
getUpdates: i,
|
|
@@ -10644,7 +10671,7 @@ const ml = Me.create(pe), hl = {
|
|
|
10644
10671
|
}
|
|
10645
10672
|
) }),
|
|
10646
10673
|
/* @__PURE__ */ t(
|
|
10647
|
-
|
|
10674
|
+
c2,
|
|
10648
10675
|
{
|
|
10649
10676
|
label: C,
|
|
10650
10677
|
href: s,
|
|
@@ -10652,7 +10679,7 @@ const ml = Me.create(pe), hl = {
|
|
|
10652
10679
|
}
|
|
10653
10680
|
),
|
|
10654
10681
|
h?.isVisible ? /* @__PURE__ */ t(
|
|
10655
|
-
|
|
10682
|
+
g2,
|
|
10656
10683
|
{
|
|
10657
10684
|
crossSelling: h,
|
|
10658
10685
|
onDialogClose: () => _(!1)
|
|
@@ -10672,9 +10699,9 @@ const ml = Me.create(pe), hl = {
|
|
|
10672
10699
|
}) => {
|
|
10673
10700
|
const { state: o, updates: d, load: l } = n;
|
|
10674
10701
|
return /* @__PURE__ */ m("div", { className: "flex flex-col gap-4", children: [
|
|
10675
|
-
/* @__PURE__ */ t(
|
|
10676
|
-
o === "fetching" ? /* @__PURE__ */ t(
|
|
10677
|
-
o === "idle" && d !== null && d.length === 0 ? /* @__PURE__ */ t(
|
|
10702
|
+
/* @__PURE__ */ t(f2, { content: e }),
|
|
10703
|
+
o === "fetching" ? /* @__PURE__ */ t(v2, {}) : null,
|
|
10704
|
+
o === "idle" && d !== null && d.length === 0 ? /* @__PURE__ */ t(m2, { ...i, buttonUrl: r }) : null,
|
|
10678
10705
|
o === "idle" && d !== null && d.length > 0 ? (
|
|
10679
10706
|
/*
|
|
10680
10707
|
* The All updates page's timeline, at a dialog's width. Its date column
|
|
@@ -10703,12 +10730,12 @@ const ml = Me.create(pe), hl = {
|
|
|
10703
10730
|
className: "mt-1 size-1.5 rounded-full bg-f1-border-secondary"
|
|
10704
10731
|
}
|
|
10705
10732
|
),
|
|
10706
|
-
/* @__PURE__ */ t(
|
|
10733
|
+
/* @__PURE__ */ t(u2, { ...f, onClick: s })
|
|
10707
10734
|
] }, c))
|
|
10708
10735
|
] })
|
|
10709
10736
|
) : null,
|
|
10710
10737
|
o === "error" ? /* @__PURE__ */ t(
|
|
10711
|
-
|
|
10738
|
+
h2,
|
|
10712
10739
|
{
|
|
10713
10740
|
...a,
|
|
10714
10741
|
onClick: () => {
|
|
@@ -10717,10 +10744,10 @@ const ml = Me.create(pe), hl = {
|
|
|
10717
10744
|
}
|
|
10718
10745
|
) : null
|
|
10719
10746
|
] });
|
|
10720
|
-
},
|
|
10747
|
+
}, f2 = ({ content: e }) => /* @__PURE__ */ m("div", { className: "flex flex-row items-center gap-2", children: [
|
|
10721
10748
|
/* @__PURE__ */ t(pe, { icon: xt, size: "sm", className: "text-f1-icon-secondary" }),
|
|
10722
|
-
/* @__PURE__ */ t(
|
|
10723
|
-
] }),
|
|
10749
|
+
/* @__PURE__ */ t(np, { as: "h2", content: e })
|
|
10750
|
+
] }), c2 = ({
|
|
10724
10751
|
label: e,
|
|
10725
10752
|
href: n,
|
|
10726
10753
|
onClick: i
|
|
@@ -10742,7 +10769,7 @@ const ml = Me.create(pe), hl = {
|
|
|
10742
10769
|
onClick: i
|
|
10743
10770
|
}
|
|
10744
10771
|
) })
|
|
10745
|
-
),
|
|
10772
|
+
), u2 = ({
|
|
10746
10773
|
title: e,
|
|
10747
10774
|
href: n,
|
|
10748
10775
|
mediaUrl: i,
|
|
@@ -10815,7 +10842,7 @@ const ml = Me.create(pe), hl = {
|
|
|
10815
10842
|
/* @__PURE__ */ t("p", { className: "font-normal text-f1-foreground-secondary", children: a })
|
|
10816
10843
|
] }),
|
|
10817
10844
|
n
|
|
10818
|
-
] }) }),
|
|
10845
|
+
] }) }), m2 = ({
|
|
10819
10846
|
title: e,
|
|
10820
10847
|
buttonText: n,
|
|
10821
10848
|
buttonUrl: i,
|
|
@@ -10828,7 +10855,7 @@ const ml = Me.create(pe), hl = {
|
|
|
10828
10855
|
icon: /* @__PURE__ */ t(pe, { icon: xt, size: "lg", className: "block" }),
|
|
10829
10856
|
button: /* @__PURE__ */ t(Un, { href: i, children: /* @__PURE__ */ t(Ce, { label: n }) })
|
|
10830
10857
|
}
|
|
10831
|
-
),
|
|
10858
|
+
), h2 = ({
|
|
10832
10859
|
title: e,
|
|
10833
10860
|
description: n,
|
|
10834
10861
|
buttonText: i,
|
|
@@ -10839,10 +10866,10 @@ const ml = Me.create(pe), hl = {
|
|
|
10839
10866
|
title: e,
|
|
10840
10867
|
description: n,
|
|
10841
10868
|
iconWrapperClassName: "text-f1-icon-critical bg-f1-background-critical border-f1-critical",
|
|
10842
|
-
icon: /* @__PURE__ */ t(pe, { icon:
|
|
10869
|
+
icon: /* @__PURE__ */ t(pe, { icon: Lf, size: "lg" }),
|
|
10843
10870
|
button: /* @__PURE__ */ t(Ce, { variant: "outline", label: i, onClick: a })
|
|
10844
10871
|
}
|
|
10845
|
-
),
|
|
10872
|
+
), v2 = () => /* @__PURE__ */ t(
|
|
10846
10873
|
"div",
|
|
10847
10874
|
{
|
|
10848
10875
|
className: "flex flex-col",
|
|
@@ -10867,7 +10894,7 @@ const ml = Me.create(pe), hl = {
|
|
|
10867
10894
|
"aria-hidden": "true",
|
|
10868
10895
|
className: y("size-2 rounded bg-f1-background-selected-bold", e)
|
|
10869
10896
|
}
|
|
10870
|
-
),
|
|
10897
|
+
), g2 = ({
|
|
10871
10898
|
crossSelling: e,
|
|
10872
10899
|
onDialogClose: n
|
|
10873
10900
|
}) => {
|
|
@@ -10901,8 +10928,8 @@ const ml = Me.create(pe), hl = {
|
|
|
10901
10928
|
}
|
|
10902
10929
|
) }) : null
|
|
10903
10930
|
] }),
|
|
10904
|
-
/* @__PURE__ */ t(
|
|
10905
|
-
|
|
10931
|
+
/* @__PURE__ */ t(Zg, { columns: { default: 1 }, showDots: !0, showArrows: !1, children: e.products.map((o) => /* @__PURE__ */ t(
|
|
10932
|
+
ep,
|
|
10906
10933
|
{
|
|
10907
10934
|
...o,
|
|
10908
10935
|
isVisible: !0,
|
|
@@ -10913,33 +10940,7 @@ const ml = Me.create(pe), hl = {
|
|
|
10913
10940
|
)) })
|
|
10914
10941
|
] })
|
|
10915
10942
|
);
|
|
10916
|
-
}
|
|
10917
|
-
function XE() {
|
|
10918
|
-
return cn(yo);
|
|
10919
|
-
}
|
|
10920
|
-
function g2(e, n) {
|
|
10921
|
-
const i = n?.getItemTitle, a = n?.mode ?? "url", r = e !== null, s = e?.previousItem ?? null, o = e?.nextItem ?? null, d = e?.previousItemUrl ?? null, l = e?.nextItemUrl ?? null, f = e?.absoluteIndex ?? null, c = e?.totalItems, u = e?.hasPrevious ?? !1, h = e?.hasNext ?? !1, g = e?.goToPrevious, v = e?.goToNext;
|
|
10922
|
-
return X(() => {
|
|
10923
|
-
if (!r)
|
|
10924
|
-
return null;
|
|
10925
|
-
const p = f !== null && c !== void 0 ? { current: f + 1, total: c } : void 0, b = (_, x) => (_ !== null ? i?.(_) : void 0) ?? x, k = a === "callback" ? u ? { onClick: g, title: b(s, "Previous") } : void 0 : d !== null ? { url: d, title: b(s, "Previous") } : void 0, N = a === "callback" ? h ? { onClick: v, title: b(o, "Next") } : void 0 : l !== null ? { url: l, title: b(o, "Next") } : void 0;
|
|
10926
|
-
return !k && !N && !p ? null : { previous: k, next: N, counter: p };
|
|
10927
|
-
}, [
|
|
10928
|
-
r,
|
|
10929
|
-
a,
|
|
10930
|
-
s,
|
|
10931
|
-
o,
|
|
10932
|
-
d,
|
|
10933
|
-
l,
|
|
10934
|
-
f,
|
|
10935
|
-
c,
|
|
10936
|
-
u,
|
|
10937
|
-
h,
|
|
10938
|
-
g,
|
|
10939
|
-
v,
|
|
10940
|
-
i
|
|
10941
|
-
]);
|
|
10942
|
-
}
|
|
10943
|
+
};
|
|
10943
10944
|
function JE({
|
|
10944
10945
|
module: e,
|
|
10945
10946
|
statusTag: n = void 0,
|
|
@@ -11012,7 +11013,7 @@ function JE({
|
|
|
11012
11013
|
{
|
|
11013
11014
|
breadcrumbs: b,
|
|
11014
11015
|
append: d !== void 0 && /* @__PURE__ */ t(
|
|
11015
|
-
|
|
11016
|
+
d2,
|
|
11016
11017
|
{
|
|
11017
11018
|
label: d.label,
|
|
11018
11019
|
isMarked: d.isMarked,
|
|
@@ -11040,7 +11041,7 @@ function JE({
|
|
|
11040
11041
|
p && _ ? /* @__PURE__ */ t("div", { className: "h-4 w-px bg-f1-border-secondary" }) : null,
|
|
11041
11042
|
x || _ ? /* @__PURE__ */ m("div", { className: "flex items-center gap-2", children: [
|
|
11042
11043
|
x ? /* @__PURE__ */ t("div", { className: "items-right flex gap-2", children: /* @__PURE__ */ t(
|
|
11043
|
-
|
|
11044
|
+
l2,
|
|
11044
11045
|
{
|
|
11045
11046
|
...o,
|
|
11046
11047
|
currentModule: e.name
|
|
@@ -11268,7 +11269,7 @@ const ZE = bn(sn("Page", bm)), y2 = (e) => e.reduce(
|
|
|
11268
11269
|
const p = !c;
|
|
11269
11270
|
u(p), a?.(p);
|
|
11270
11271
|
};
|
|
11271
|
-
return /* @__PURE__ */ t("div", { "data-sidebar-collapsible-open": c, children: /* @__PURE__ */ m(
|
|
11272
|
+
return /* @__PURE__ */ t("div", { "data-sidebar-collapsible-open": c, children: /* @__PURE__ */ m(Df, { open: c, children: [
|
|
11272
11273
|
/* @__PURE__ */ m("div", { className: "group/section group relative flex items-center", children: [
|
|
11273
11274
|
/* @__PURE__ */ m(
|
|
11274
11275
|
"button",
|
|
@@ -12605,7 +12606,7 @@ const K2 = ({
|
|
|
12605
12606
|
)
|
|
12606
12607
|
] }), [e, p, k, w, I, n]);
|
|
12607
12608
|
return l ? /* @__PURE__ */ t(
|
|
12608
|
-
|
|
12609
|
+
Mc,
|
|
12609
12610
|
{
|
|
12610
12611
|
value: e,
|
|
12611
12612
|
drag: "y",
|
|
@@ -12628,7 +12629,7 @@ const K2 = ({
|
|
|
12628
12629
|
onDragEnd: r,
|
|
12629
12630
|
currentOrder: s
|
|
12630
12631
|
}) => {
|
|
12631
|
-
const { isDragging: o, setIsDragging: d } = _o(), l = M(!1), f =
|
|
12632
|
+
const { isDragging: o, setIsDragging: d } = _o(), l = M(!1), f = Cc(), c = () => {
|
|
12632
12633
|
d(!0), l.current = !0;
|
|
12633
12634
|
}, u = () => {
|
|
12634
12635
|
d(!1), setTimeout(() => {
|
|
@@ -12658,7 +12659,7 @@ const K2 = ({
|
|
|
12658
12659
|
}
|
|
12659
12660
|
);
|
|
12660
12661
|
return n ? /* @__PURE__ */ t(
|
|
12661
|
-
|
|
12662
|
+
Mc,
|
|
12662
12663
|
{
|
|
12663
12664
|
id: e.id,
|
|
12664
12665
|
value: e,
|
|
@@ -13174,7 +13175,7 @@ function ix({
|
|
|
13174
13175
|
default: {
|
|
13175
13176
|
duration: h ? 0 : Dn.duration.base
|
|
13176
13177
|
}
|
|
13177
|
-
}, x = () => i ? Vi(i) && a ?
|
|
13178
|
+
}, x = () => i ? Vi(i) && a ? zc(
|
|
13178
13179
|
i,
|
|
13179
13180
|
{
|
|
13180
13181
|
onDropdownClick: a
|
|
@@ -13605,7 +13606,7 @@ function u5(e) {
|
|
|
13605
13606
|
currentFilters: u,
|
|
13606
13607
|
navigationMode: h = "url",
|
|
13607
13608
|
deps: g = []
|
|
13608
|
-
} = e, v = ig(), p =
|
|
13609
|
+
} = e, v = ig(), p = ip(n, g), [b, k] = z(null), N = b?.key === i && b.settled, _ = M(p);
|
|
13609
13610
|
_.current = p;
|
|
13610
13611
|
const x = M(v);
|
|
13611
13612
|
x.current = v;
|
|
@@ -13695,7 +13696,7 @@ function u5(e) {
|
|
|
13695
13696
|
(le) => le && le.key === i && !le.settled ? { ...le, settled: !0 } : le
|
|
13696
13697
|
);
|
|
13697
13698
|
}, [b, i]);
|
|
13698
|
-
const q = d ?? n.itemUrl, A =
|
|
13699
|
+
const q = d ?? n.itemUrl, A = tp({
|
|
13699
13700
|
dataSource: p,
|
|
13700
13701
|
data: T,
|
|
13701
13702
|
paginationInfo: E,
|
|
@@ -13720,7 +13721,7 @@ function u5(e) {
|
|
|
13720
13721
|
order: p.currentGrouping.order ?? "asc"
|
|
13721
13722
|
}
|
|
13722
13723
|
] : []
|
|
13723
|
-
], { neighbors: se, isSupported: he } =
|
|
13724
|
+
], { neighbors: se, isSupported: he } = ap({
|
|
13724
13725
|
dataAdapter: p.dataAdapter,
|
|
13725
13726
|
id: H,
|
|
13726
13727
|
filters: p.currentFilters,
|
|
@@ -13733,7 +13734,7 @@ function u5(e) {
|
|
|
13733
13734
|
...le,
|
|
13734
13735
|
navigationFilters: p.currentNavigationFilters
|
|
13735
13736
|
})
|
|
13736
|
-
}), ae = X(() => o || (p.idProvider ? (le, Re) => p.idProvider(le, Re) :
|
|
13737
|
+
}), ae = X(() => o || (p.idProvider ? (le, Re) => p.idProvider(le, Re) : rp), [o, p.idProvider]), ee = X(() => {
|
|
13737
13738
|
if (!K || se === null)
|
|
13738
13739
|
return A;
|
|
13739
13740
|
const le = A.previousItem ?? se.previous, Re = A.nextItem ?? se.next, Pe = (De) => De && q ? q(De) ?? null : null;
|
|
@@ -13767,7 +13768,7 @@ function u5(e) {
|
|
|
13767
13768
|
$,
|
|
13768
13769
|
q,
|
|
13769
13770
|
ae
|
|
13770
|
-
]), me =
|
|
13771
|
+
]), me = o2(ee, {
|
|
13771
13772
|
getItemTitle: l,
|
|
13772
13773
|
mode: h
|
|
13773
13774
|
}), de = f && N && he && K && se === null, ne = M(null), Se = me ?? (de ? ne.current : null);
|
|
@@ -13799,22 +13800,22 @@ function cx(e) {
|
|
|
13799
13800
|
return tt(i) ?? tt(a?.amount);
|
|
13800
13801
|
}
|
|
13801
13802
|
function ux(e, n) {
|
|
13802
|
-
const i = n.value ? n.value(e) : n.field ?
|
|
13803
|
+
const i = n.value ? n.value(e) : n.field ? lp(e, n.field) : e, a = cx(i);
|
|
13803
13804
|
if (a !== void 0)
|
|
13804
13805
|
return a;
|
|
13805
|
-
const r =
|
|
13806
|
+
const r = fp(i);
|
|
13806
13807
|
return r === "" ? null : r.slice(0, fx);
|
|
13807
13808
|
}
|
|
13808
13809
|
async function m5(e, n, i) {
|
|
13809
13810
|
if (!e || e.length === 0)
|
|
13810
13811
|
throw new Error("No data available for export");
|
|
13811
|
-
const a =
|
|
13812
|
+
const a = sp(e, n, i), r = [
|
|
13812
13813
|
...i?.includeHeaders === !1 ? [] : [a.map((s) => s.label)],
|
|
13813
13814
|
...e.map((s) => a.map((o) => ux(s, o)))
|
|
13814
13815
|
];
|
|
13815
|
-
|
|
13816
|
+
op(
|
|
13816
13817
|
await rg([{ name: "Data", rows: r }]),
|
|
13817
|
-
|
|
13818
|
+
dp(i?.filename || "data_collection", "xlsx")
|
|
13818
13819
|
);
|
|
13819
13820
|
}
|
|
13820
13821
|
const mx = ({ keys: e, label: n }) => /* @__PURE__ */ m("span", { className: "inline-flex items-center gap-1", children: [
|
|
@@ -13956,7 +13957,7 @@ const mx = ({ keys: e, label: n }) => /* @__PURE__ */ m("span", { className: "in
|
|
|
13956
13957
|
}) => {
|
|
13957
13958
|
if (e.skeleton)
|
|
13958
13959
|
return /* @__PURE__ */ t(gx, { phone: s, tinted: r });
|
|
13959
|
-
const f = e.color && !e.avatar ?
|
|
13960
|
+
const f = e.color && !e.avatar ? Ec(e.color) : void 0, c = r ? aa.tinted : aa.flat, u = f ? Sl.tinted[s ? "phone" : "desktop"] : Sl.flat[s ? "phone" : "desktop"];
|
|
13960
13961
|
return /* @__PURE__ */ m(
|
|
13961
13962
|
"div",
|
|
13962
13963
|
{
|
|
@@ -14843,7 +14844,7 @@ const mx = ({ keys: e, label: n }) => /* @__PURE__ */ m("span", { className: "in
|
|
|
14843
14844
|
}, []), ne = R(
|
|
14844
14845
|
(j) => {
|
|
14845
14846
|
const fe = new URL(j, window.location.origin).toString();
|
|
14846
|
-
navigator.clipboard?.writeText(fe),
|
|
14847
|
+
navigator.clipboard?.writeText(fe), Rc.open({
|
|
14847
14848
|
title: u.rowActions.linkCopied,
|
|
14848
14849
|
variant: "success"
|
|
14849
14850
|
}), P(u.announce.linkCopied(fe));
|
|
@@ -15309,7 +15310,7 @@ const mx = ({ keys: e, label: n }) => /* @__PURE__ */ m("span", { className: "in
|
|
|
15309
15310
|
open: c,
|
|
15310
15311
|
onOpenChange: u
|
|
15311
15312
|
}) => {
|
|
15312
|
-
const [h = !1, g] =
|
|
15313
|
+
const [h = !1, g] = Bc({
|
|
15313
15314
|
prop: c,
|
|
15314
15315
|
defaultProp: !1,
|
|
15315
15316
|
onChange: u
|
|
@@ -17342,7 +17343,7 @@ const _4 = /* @__PURE__ */ new Set(["blob:", "data:"]), x4 = /* @__PURE__ */ new
|
|
|
17342
17343
|
),
|
|
17343
17344
|
children: e
|
|
17344
17345
|
}
|
|
17345
|
-
), T4 = () => import("./ChatPdfThumbnail-
|
|
17346
|
+
), T4 = () => import("./ChatPdfThumbnail-Ch2Pi_N2.js"), M4 = () => import("./ChatSheetThumbnail-P76Jt0_u.js"), E4 = () => import("./ChatDocxThumbnail-DTpOzL9A.js"), R4 = () => import("./ChatTextThumbnail-B53pSYUy.js"), A4 = hi(T4), F4 = hi(M4), P4 = hi(E4), L4 = hi(R4), O4 = 384, D4 = 160, z4 = ({
|
|
17346
17347
|
kind: e,
|
|
17347
17348
|
url: n,
|
|
17348
17349
|
width: i,
|
|
@@ -17708,7 +17709,7 @@ const e6 = (e) => {
|
|
|
17708
17709
|
className: a,
|
|
17709
17710
|
surfaceClassName: r
|
|
17710
17711
|
}) => {
|
|
17711
|
-
const s = Z(), o = M(null), d =
|
|
17712
|
+
const s = Z(), o = M(null), d = cp(o), l = i6(e.url), [f, c] = z(0), u = M(null), h = xn(), g = To(), v = l3(), p = d.duration > 0 ? d.duration : e.durationSeconds ?? 0, b = p > 0 ? Math.min(1, d.currentTime / p) : 0, k = R(() => {
|
|
17712
17713
|
if (d.isPlaying) {
|
|
17713
17714
|
d.pause();
|
|
17714
17715
|
return;
|
|
@@ -18376,7 +18377,7 @@ const vt = 32, x1 = (e) => y(
|
|
|
18376
18377
|
}), b = p.getVirtualItems(), k = p.range?.startIndex ?? 0, N = h[k], _ = N?.kind === "row" ? N.rowIndex : i.firstRowBySection[N?.sectionIndex ?? 0] ?? 0, x = i.rows[_]?.sectionIndex ?? 0, S = v(x);
|
|
18377
18378
|
W(() => {
|
|
18378
18379
|
f(_);
|
|
18379
|
-
}, [_, f]),
|
|
18380
|
+
}, [_, f]), Oc(
|
|
18380
18381
|
c,
|
|
18381
18382
|
() => ({
|
|
18382
18383
|
scrollToTop: () => p.scrollToOffset(0),
|
|
@@ -19809,11 +19810,11 @@ const ql = [
|
|
|
19809
19810
|
exit: x ? void 0 : {
|
|
19810
19811
|
opacity: 0,
|
|
19811
19812
|
scale: 0.95,
|
|
19812
|
-
transition:
|
|
19813
|
+
transition: jw
|
|
19813
19814
|
},
|
|
19814
19815
|
transition: {
|
|
19815
|
-
...
|
|
19816
|
-
layout:
|
|
19816
|
+
...Hw,
|
|
19817
|
+
layout: Ww
|
|
19817
19818
|
},
|
|
19818
19819
|
children: /* @__PURE__ */ t(
|
|
19819
19820
|
Me.div,
|
|
@@ -20004,7 +20005,7 @@ const ql = [
|
|
|
20004
20005
|
}
|
|
20005
20006
|
) }) });
|
|
20006
20007
|
}, L6 = hi(
|
|
20007
|
-
() => import("./index-
|
|
20008
|
+
() => import("./index-a7A0EHsJ.js").then((e) => ({
|
|
20008
20009
|
default: e.F0DocumentViewer
|
|
20009
20010
|
}))
|
|
20010
20011
|
), O6 = () => {
|
|
@@ -20234,7 +20235,7 @@ const ql = [
|
|
|
20234
20235
|
actions: r,
|
|
20235
20236
|
content: s
|
|
20236
20237
|
}) => {
|
|
20237
|
-
const o = Z(), { searchOpen: d, openSearch: l } = r1(), { panelOverlays: f } =
|
|
20238
|
+
const o = Z(), { searchOpen: d, openSearch: l } = r1(), { panelOverlays: f } = Na(), { surface: c } = si(), u = c === "page", { sidebarState: h, toggleSidebar: g, hasRail: v } = ri(), p = u && !v && h !== "locked", b = e.type === "dm" && e.presence !== void 0, k = Cm(e.avatar, e.type === "community"), N = (r ?? []).filter(
|
|
20238
20239
|
(w) => !w.channelTypes || w.channelTypes.includes(e.type)
|
|
20239
20240
|
), _ = (w) => w.placement === "inline" && w.icon != null, x = N.filter(_), S = N.filter((w) => !_(w)), C = [
|
|
20240
20241
|
...e.type !== "announcement" ? [{ label: o.actions.search, icon: Ma, onClick: l }] : [],
|
|
@@ -20403,7 +20404,7 @@ const ql = [
|
|
|
20403
20404
|
dismissActions: n
|
|
20404
20405
|
}) => /* @__PURE__ */ t(qs, { title: e.title, description: e.description, children: /* @__PURE__ */ m("div", { className: "flex flex-wrap items-center gap-2 pt-1 justify-between", children: [
|
|
20405
20406
|
/* @__PURE__ */ t(
|
|
20406
|
-
|
|
20407
|
+
up,
|
|
20407
20408
|
{
|
|
20408
20409
|
...e.action,
|
|
20409
20410
|
variant: e.action.variant ?? "outlinePromote",
|
|
@@ -20587,7 +20588,7 @@ const ql = [
|
|
|
20587
20588
|
return i && Ao(i) === void 0 ? [i] : [];
|
|
20588
20589
|
};
|
|
20589
20590
|
function G6(e, { enabled: n }) {
|
|
20590
|
-
const [, i] =
|
|
20591
|
+
const [, i] = Dc((b) => b + 1, 0), a = M(null);
|
|
20591
20592
|
a.current === null && (a.current = new Map(e.map((b) => [b.id, b])));
|
|
20592
20593
|
const r = M(/* @__PURE__ */ new Set()), s = M(/* @__PURE__ */ new Set()), o = M(n), d = n && !o.current, l = a.current, f = [], c = /* @__PURE__ */ new Map();
|
|
20593
20594
|
let u = !1, h = -1;
|
|
@@ -22129,7 +22130,7 @@ const yN = (e) => {
|
|
|
22129
22130
|
]
|
|
22130
22131
|
}
|
|
22131
22132
|
);
|
|
22132
|
-
}, tC = () => import("./index-
|
|
22133
|
+
}, tC = () => import("./index-Bt9_3eC1.js").then((e) => ({
|
|
22133
22134
|
default: e.F0VideoPlayer
|
|
22134
22135
|
})), aC = hi(tC), rC = ({
|
|
22135
22136
|
file: e,
|
|
@@ -24705,7 +24706,7 @@ const eh = ({
|
|
|
24705
24706
|
}
|
|
24706
24707
|
);
|
|
24707
24708
|
}, o9 = hi(
|
|
24708
|
-
() => import("./ChatPostComposerDialog-
|
|
24709
|
+
() => import("./ChatPostComposerDialog-CW24c9tS.js").then((e) => ({
|
|
24709
24710
|
default: e.ChatPostComposerDialog
|
|
24710
24711
|
}))
|
|
24711
24712
|
), d9 = () => {
|
|
@@ -24835,7 +24836,7 @@ const eh = ({
|
|
|
24835
24836
|
}, h9 = () => {
|
|
24836
24837
|
const e = Z();
|
|
24837
24838
|
return /* @__PURE__ */ t("div", { className: "flex h-full flex-1 items-center justify-center p-6", children: /* @__PURE__ */ t(
|
|
24838
|
-
|
|
24839
|
+
Ac,
|
|
24839
24840
|
{
|
|
24840
24841
|
emoji: "💬",
|
|
24841
24842
|
title: e.chat.emptyConversation,
|
|
@@ -25053,7 +25054,7 @@ const eh = ({
|
|
|
25053
25054
|
neutral: "text-f1-icon-mood-neutral",
|
|
25054
25055
|
positive: "text-f1-icon-mood-positive",
|
|
25055
25056
|
superPositive: "text-f1-icon-mood-super-positive"
|
|
25056
|
-
}, T9 = "text-f1-icon-secondary", M9 = (e) =>
|
|
25057
|
+
}, T9 = "text-f1-icon-secondary", M9 = (e) => Fc.includes(e), ih = ({
|
|
25057
25058
|
value: e,
|
|
25058
25059
|
onChange: n,
|
|
25059
25060
|
labels: i,
|
|
@@ -25068,10 +25069,10 @@ const eh = ({
|
|
|
25068
25069
|
f(e);
|
|
25069
25070
|
}, [e]);
|
|
25070
25071
|
const c = X(
|
|
25071
|
-
() =>
|
|
25072
|
+
() => Fc.map(
|
|
25072
25073
|
(h) => ({
|
|
25073
25074
|
value: h,
|
|
25074
|
-
icon: a?.[h] ??
|
|
25075
|
+
icon: a?.[h] ?? Tc[h],
|
|
25075
25076
|
label: i[h],
|
|
25076
25077
|
color: C9[h],
|
|
25077
25078
|
// `instant`: the face is the whole control and this tooltip is the
|
|
@@ -25090,7 +25091,7 @@ const eh = ({
|
|
|
25090
25091
|
[i, a, r, l]
|
|
25091
25092
|
);
|
|
25092
25093
|
return /* @__PURE__ */ t(
|
|
25093
|
-
|
|
25094
|
+
mp,
|
|
25094
25095
|
{
|
|
25095
25096
|
items: c,
|
|
25096
25097
|
value: l ?? "",
|
|
@@ -25363,7 +25364,7 @@ const _5 = bn(
|
|
|
25363
25364
|
{
|
|
25364
25365
|
ref: a,
|
|
25365
25366
|
...r,
|
|
25366
|
-
chart: /* @__PURE__ */ t(
|
|
25367
|
+
chart: /* @__PURE__ */ t(hp, { ...s, canBeBlurred: n })
|
|
25367
25368
|
}
|
|
25368
25369
|
);
|
|
25369
25370
|
}),
|
|
@@ -25377,7 +25378,7 @@ const _5 = bn(
|
|
|
25377
25378
|
{
|
|
25378
25379
|
ref: i,
|
|
25379
25380
|
...n,
|
|
25380
|
-
chart: /* @__PURE__ */ t(
|
|
25381
|
+
chart: /* @__PURE__ */ t(vp, { yAxis: { hide: !0 }, ...n.chart })
|
|
25381
25382
|
}
|
|
25382
25383
|
);
|
|
25383
25384
|
}), H9 = sn(
|
|
@@ -25391,7 +25392,7 @@ const _5 = bn(
|
|
|
25391
25392
|
{
|
|
25392
25393
|
ref: i,
|
|
25393
25394
|
...n,
|
|
25394
|
-
chart: /* @__PURE__ */ t(
|
|
25395
|
+
chart: /* @__PURE__ */ t(gp, { yAxis: { hide: !0 }, ...n.chart })
|
|
25395
25396
|
}
|
|
25396
25397
|
);
|
|
25397
25398
|
}
|
|
@@ -25408,7 +25409,7 @@ const _5 = bn(
|
|
|
25408
25409
|
{
|
|
25409
25410
|
ref: i,
|
|
25410
25411
|
...n,
|
|
25411
|
-
chart: /* @__PURE__ */ t(
|
|
25412
|
+
chart: /* @__PURE__ */ t(pp, { ...n.chart })
|
|
25412
25413
|
}
|
|
25413
25414
|
);
|
|
25414
25415
|
}
|
|
@@ -25435,7 +25436,7 @@ const _5 = bn(
|
|
|
25435
25436
|
{
|
|
25436
25437
|
ref: i,
|
|
25437
25438
|
...n,
|
|
25438
|
-
chart: /* @__PURE__ */ t(
|
|
25439
|
+
chart: /* @__PURE__ */ t(bp, { xAxis: { hide: !0 }, ...n.chart })
|
|
25439
25440
|
}
|
|
25440
25441
|
);
|
|
25441
25442
|
}
|
|
@@ -26219,7 +26220,7 @@ function B5({
|
|
|
26219
26220
|
/* @__PURE__ */ t("span", { className: "text-xl text-f1-foreground-secondary", children: n })
|
|
26220
26221
|
] }),
|
|
26221
26222
|
/* @__PURE__ */ t("div", { className: "mt-2", children: /* @__PURE__ */ t(
|
|
26222
|
-
|
|
26223
|
+
kp,
|
|
26223
26224
|
{
|
|
26224
26225
|
data: i,
|
|
26225
26226
|
legend: r,
|
|
@@ -26427,8 +26428,8 @@ function vf({
|
|
|
26427
26428
|
remainingMinutes: i
|
|
26428
26429
|
});
|
|
26429
26430
|
return /* @__PURE__ */ m("div", { className: "relative h-40 w-40", children: [
|
|
26430
|
-
/* @__PURE__ */ t(
|
|
26431
|
-
|
|
26431
|
+
/* @__PURE__ */ t(yp, { width: 156, height: 156, children: /* @__PURE__ */ t(
|
|
26432
|
+
wp,
|
|
26432
26433
|
{
|
|
26433
26434
|
data: r,
|
|
26434
26435
|
cx: 74,
|
|
@@ -27475,10 +27476,10 @@ const _h = Bn.createContext(void 0), QI = ({
|
|
|
27475
27476
|
if (e === "alert" && n.alert)
|
|
27476
27477
|
return { left: /* @__PURE__ */ t($s, { type: n.alert, size: i }) };
|
|
27477
27478
|
if (e === "icon" && n.avatar?.icon && n.avatar.color) {
|
|
27478
|
-
const a =
|
|
27479
|
+
const a = Ec(n.avatar.color);
|
|
27479
27480
|
if (a)
|
|
27480
27481
|
return {
|
|
27481
|
-
left: /* @__PURE__ */ t(
|
|
27482
|
+
left: /* @__PURE__ */ t(_p, { icon: n.avatar.icon, tint: a, size: i })
|
|
27482
27483
|
};
|
|
27483
27484
|
}
|
|
27484
27485
|
return e && n.avatar ? {
|
|
@@ -27701,7 +27702,7 @@ function kT({
|
|
|
27701
27702
|
isLastSlot: o === e.length - 1
|
|
27702
27703
|
};
|
|
27703
27704
|
return /* @__PURE__ */ m(Mn, { children: [
|
|
27704
|
-
o > 0 ? /* @__PURE__ */ t("div", { className: "my-3", children: /* @__PURE__ */ t(
|
|
27705
|
+
o > 0 ? /* @__PURE__ */ t("div", { className: "my-3", children: /* @__PURE__ */ t(xp, { bare: !0 }) }) : null,
|
|
27705
27706
|
n ? (
|
|
27706
27707
|
// A placeholder says nothing worth reading out — the stack
|
|
27707
27708
|
// above already announces that the widget is busy.
|
|
@@ -27957,7 +27958,7 @@ function NT({
|
|
|
27957
27958
|
title: l,
|
|
27958
27959
|
saveLabel: f = "Save"
|
|
27959
27960
|
}) {
|
|
27960
|
-
const c = Z(), { position: u, width: h, bodyClassName: g, asideClassName: v } = Eh(), { formRef: p, getValues: b, trigger: k } =
|
|
27961
|
+
const c = Z(), { position: u, width: h, bodyClassName: g, asideClassName: v } = Eh(), { formRef: p, getValues: b, trigger: k } = Pc(), [N, _] = z(a ?? {});
|
|
27961
27962
|
return W(() => {
|
|
27962
27963
|
e && _(a ?? {});
|
|
27963
27964
|
}, [e, a]), /* @__PURE__ */ t(
|
|
@@ -27979,7 +27980,7 @@ function NT({
|
|
|
27979
27980
|
},
|
|
27980
27981
|
children: /* @__PURE__ */ m("div", { className: g, children: [
|
|
27981
27982
|
/* @__PURE__ */ t("div", { className: y("overflow-y-auto", v), children: /* @__PURE__ */ t(
|
|
27982
|
-
|
|
27983
|
+
Lc,
|
|
27983
27984
|
{
|
|
27984
27985
|
formRef: p,
|
|
27985
27986
|
name: "widget-params",
|
|
@@ -28064,11 +28065,11 @@ const CT = (e) => {
|
|
|
28064
28065
|
disabled: n = !1,
|
|
28065
28066
|
children: i
|
|
28066
28067
|
}) => {
|
|
28067
|
-
const { listeners: a, setNodeRef: r, transform: s, transition: o, isDragging: d } =
|
|
28068
|
+
const { listeners: a, setNodeRef: r, transform: s, transition: o, isDragging: d } = Np({ id: e, disabled: n }), l = {
|
|
28068
28069
|
// VERTICAL ONLY: a column is one dimension, so the neighbours' shuffles
|
|
28069
28070
|
// ignore any horizontal component. This is the shuffle; the card under the
|
|
28070
28071
|
// pointer is held to the same axis by the column's `verticalOnly` modifier.
|
|
28071
|
-
transform:
|
|
28072
|
+
transform: Cp.Translate.toString(s && { ...s, x: 0 }),
|
|
28072
28073
|
transition: o ?? void 0
|
|
28073
28074
|
};
|
|
28074
28075
|
return /* @__PURE__ */ t(
|
|
@@ -28218,7 +28219,7 @@ const WT = ({ transform: e }) => ({
|
|
|
28218
28219
|
"[role='tab']",
|
|
28219
28220
|
"[contenteditable='true']"
|
|
28220
28221
|
].join(",");
|
|
28221
|
-
class GT extends
|
|
28222
|
+
class GT extends Fp {
|
|
28222
28223
|
static activators = [
|
|
28223
28224
|
{
|
|
28224
28225
|
eventName: "onPointerDown",
|
|
@@ -28314,8 +28315,8 @@ function Sf({
|
|
|
28314
28315
|
className: T,
|
|
28315
28316
|
style: E
|
|
28316
28317
|
}) {
|
|
28317
|
-
const L = Z(), D = !o, P = (V) => v !== void 0 && V.id !== v, B = D && g != null, q = e.filter((V) => !V.locked).length > 1, [A, H] = z(null), $ =
|
|
28318
|
-
|
|
28318
|
+
const L = Z(), D = !o, P = (V) => v !== void 0 && V.id !== v, B = D && g != null, q = e.filter((V) => !V.locked).length > 1, [A, H] = z(null), $ = Sp(
|
|
28319
|
+
Ip(GT, { activationConstraint: { distance: 4 } })
|
|
28319
28320
|
), [J, G] = z(null), K = e.find((V) => V.id === J), [U, se] = z(null), he = M(null), ae = M(null), ee = M(null), me = M(null), de = X(
|
|
28320
28321
|
() => [WT, PT(() => me.current)],
|
|
28321
28322
|
[]
|
|
@@ -28381,7 +28382,7 @@ function Sf({
|
|
|
28381
28382
|
}, Xe = (V) => {
|
|
28382
28383
|
const { active: we, over: ze } = V, We = Le(V);
|
|
28383
28384
|
if (We) {
|
|
28384
|
-
|
|
28385
|
+
Rc.open({
|
|
28385
28386
|
variant: "warning",
|
|
28386
28387
|
title: L.widgets.cannotMoveHere.replace(
|
|
28387
28388
|
"{{title}}",
|
|
@@ -28523,10 +28524,10 @@ function Sf({
|
|
|
28523
28524
|
children: [
|
|
28524
28525
|
i,
|
|
28525
28526
|
B ? /* @__PURE__ */ m(
|
|
28526
|
-
|
|
28527
|
+
Tp,
|
|
28527
28528
|
{
|
|
28528
28529
|
sensors: $,
|
|
28529
|
-
collisionDetection:
|
|
28530
|
+
collisionDetection: Mp,
|
|
28530
28531
|
modifiers: de,
|
|
28531
28532
|
onDragStart: ({ active: V }) => {
|
|
28532
28533
|
ne(String(V.id)), me.current = FT(
|
|
@@ -28543,10 +28544,10 @@ function Sf({
|
|
|
28543
28544
|
},
|
|
28544
28545
|
children: [
|
|
28545
28546
|
/* @__PURE__ */ t(
|
|
28546
|
-
|
|
28547
|
+
Ep,
|
|
28547
28548
|
{
|
|
28548
28549
|
items: e.map((V) => V.id),
|
|
28549
|
-
strategy:
|
|
28550
|
+
strategy: Rp,
|
|
28550
28551
|
children: He
|
|
28551
28552
|
}
|
|
28552
28553
|
),
|
|
@@ -28558,7 +28559,7 @@ function Sf({
|
|
|
28558
28559
|
className: "fixed inset-0 z-50 cursor-grabbing"
|
|
28559
28560
|
}
|
|
28560
28561
|
) : null,
|
|
28561
|
-
/* @__PURE__ */ t(
|
|
28562
|
+
/* @__PURE__ */ t(Ap, { dropAnimation: VT, children: A ? /* @__PURE__ */ m("div", { className: "relative h-full w-full cursor-grabbing overflow-hidden rounded-xl bg-f1-background", children: [
|
|
28562
28563
|
/* @__PURE__ */ t("div", { ref: Pe, className: "absolute isolate" }),
|
|
28563
28564
|
/* @__PURE__ */ t(
|
|
28564
28565
|
"div",
|
|
@@ -28613,7 +28614,7 @@ const JT = ({
|
|
|
28613
28614
|
W(() => {
|
|
28614
28615
|
a && d(!0);
|
|
28615
28616
|
}, [a]);
|
|
28616
|
-
const l = o && !s, f = yf(e, l ? hh : 0), c = e ? f || n ? "panel" : "retracting" : "column", u = c === "panel", h = !u || n, g =
|
|
28617
|
+
const l = o && !s, f = yf(e, l ? hh : 0), c = e ? f || n ? "panel" : "retracting" : "column", u = c === "panel", h = !u || n, g = jf(r), v = Sc(g, (p) => `${p}px`);
|
|
28617
28618
|
return en(() => {
|
|
28618
28619
|
if (!a)
|
|
28619
28620
|
return;
|
|
@@ -28950,7 +28951,7 @@ const JT = ({
|
|
|
28950
28951
|
return yn;
|
|
28951
28952
|
const En = (wn) => We((O) => O[Ne] === wn ? O : { ...O, [Ne]: wn });
|
|
28952
28953
|
return re.current.set(Ne, En), En;
|
|
28953
|
-
}, Ye = He ? (Ne) => ze[Ne.id] ?? null : void 0, Je =
|
|
28954
|
+
}, Ye = He ? (Ne) => ze[Ne.id] ?? null : void 0, Je = Pa.toArray(n), on = (Ne, yn) => /* @__PURE__ */ t(
|
|
28954
28955
|
_f,
|
|
28955
28956
|
{
|
|
28956
28957
|
order: yn,
|
|
@@ -29460,7 +29461,7 @@ function V5({
|
|
|
29460
29461
|
}) {
|
|
29461
29462
|
const c = Z(), { position: u, width: h, bodyClassName: g, asideClassName: v } = Eh(), [p, b] = z(""), [k, N] = z(null), [_, x] = z("pick"), [S, I] = z(!1), C = (U) => {
|
|
29462
29463
|
I(!0), x(U);
|
|
29463
|
-
}, [F, w] = z(null), { formRef: T, getValues: E, trigger: L } =
|
|
29464
|
+
}, [F, w] = z(null), { formRef: T, getValues: E, trigger: L } = Pc(), D = p.trim().toLowerCase(), P = o ?? (s ? Ef[s] : Ef.right), B = X(() => {
|
|
29464
29465
|
const U = s ? i.filter((de) => !de.areas || de.areas.includes(s)) : i, se = D ? U.filter((de) => de.title.toLowerCase().includes(D)) : U, he = se.filter((de) => de.recommended), ae = se.filter((de) => !de.recommended), ee = new Set((r ?? []).map((de) => de.id)), me = ae.filter((de) => !de.group || !ee.has(de.group));
|
|
29465
29466
|
return [
|
|
29466
29467
|
...he.length ? [
|
|
@@ -29526,7 +29527,7 @@ function V5({
|
|
|
29526
29527
|
)
|
|
29527
29528
|
),
|
|
29528
29529
|
children: J && A && H ? /* @__PURE__ */ t("div", { className: "min-h-0 flex-1 overflow-y-auto", children: /* @__PURE__ */ t(
|
|
29529
|
-
|
|
29530
|
+
Lc,
|
|
29530
29531
|
{
|
|
29531
29532
|
formRef: T,
|
|
29532
29533
|
name: "widget-params",
|
|
@@ -29723,15 +29724,15 @@ var jM = () => {
|
|
|
29723
29724
|
}, $M = (e) => {
|
|
29724
29725
|
var n = e, { children: i, style: a, transition: r = !1, transitionDuration: s = 500, transitionStep: o = 50 } = n, d = pM(n, ["children", "style", "transition", "transitionDuration", "transitionStep"]);
|
|
29725
29726
|
let l = M([]), f = M(null), c = jM(), u = WM(f), { positions: h, containerHeight: g } = LM({ boxesRefs: l, wrapperRef: f, children: i, windowWidth: c, wrapperWidth: u }), v = $n({ minHeight: g ?? 0, position: "relative" }, a);
|
|
29726
|
-
return t("div", ir($n({ ref: f, style: v }, d), { children:
|
|
29727
|
+
return t("div", ir($n({ ref: f, style: v }, d), { children: Pa.map(i, (p, b) => {
|
|
29727
29728
|
if (typeof p != "object" || !p || !("type" in p)) return p;
|
|
29728
29729
|
let k = { style: BM({ style: p.props.style, position: h[b], transition: r, transitionDuration: s }), ref: (N) => l.current[b] = N };
|
|
29729
|
-
return
|
|
29730
|
+
return zc(p, $n($n({}, p.props), k));
|
|
29730
29731
|
}) }));
|
|
29731
29732
|
};
|
|
29732
29733
|
const qM = { sm: 340, md: 480, lg: 640 }, Ff = an(
|
|
29733
29734
|
function({ children: n, widgetWidth: i = "sm" }, a) {
|
|
29734
|
-
const r = qM[i], [s, o] = z(), d =
|
|
29735
|
+
const r = qM[i], [s, o] = z(), d = Pa.toArray(n), l = M(null);
|
|
29735
29736
|
return W(() => {
|
|
29736
29737
|
const f = () => {
|
|
29737
29738
|
const c = l.current?.offsetWidth;
|
|
@@ -29786,7 +29787,7 @@ function GM({
|
|
|
29786
29787
|
"You can only provide up to two actions for the WidgetEmptyState"
|
|
29787
29788
|
);
|
|
29788
29789
|
return /* @__PURE__ */ t(
|
|
29789
|
-
|
|
29790
|
+
Ac,
|
|
29790
29791
|
{
|
|
29791
29792
|
title: e,
|
|
29792
29793
|
description: n,
|
|
@@ -29833,17 +29834,17 @@ const J5 = bn(
|
|
|
29833
29834
|
export {
|
|
29834
29835
|
KE as $,
|
|
29835
29836
|
f0 as A,
|
|
29836
|
-
|
|
29837
|
-
|
|
29838
|
-
|
|
29839
|
-
|
|
29840
|
-
|
|
29841
|
-
|
|
29842
|
-
|
|
29837
|
+
kE as B,
|
|
29838
|
+
yE as C,
|
|
29839
|
+
_E as D,
|
|
29840
|
+
wE as E,
|
|
29841
|
+
rE as F,
|
|
29842
|
+
xE as G,
|
|
29843
|
+
NE as H,
|
|
29843
29844
|
Jb as I,
|
|
29844
29845
|
Qb as J,
|
|
29845
|
-
|
|
29846
|
-
|
|
29846
|
+
CE as K,
|
|
29847
|
+
SE as L,
|
|
29847
29848
|
tk as M,
|
|
29848
29849
|
ak as N,
|
|
29849
29850
|
IE as O,
|
|
@@ -29860,13 +29861,13 @@ export {
|
|
|
29860
29861
|
RE as Z,
|
|
29861
29862
|
VE as _,
|
|
29862
29863
|
xn as a,
|
|
29863
|
-
|
|
29864
|
+
Nu as a$,
|
|
29864
29865
|
s2 as a0,
|
|
29865
|
-
|
|
29866
|
-
|
|
29867
|
-
|
|
29868
|
-
|
|
29869
|
-
|
|
29866
|
+
yo as a1,
|
|
29867
|
+
YE as a2,
|
|
29868
|
+
XE as a3,
|
|
29869
|
+
o2 as a4,
|
|
29870
|
+
JE as a5,
|
|
29870
29871
|
QE as a6,
|
|
29871
29872
|
ZE as a7,
|
|
29872
29873
|
e5 as a8,
|
|
@@ -29882,22 +29883,22 @@ export {
|
|
|
29882
29883
|
ci as aI,
|
|
29883
29884
|
is as aJ,
|
|
29884
29885
|
Kx as aK,
|
|
29885
|
-
|
|
29886
|
+
B_ as aL,
|
|
29886
29887
|
po as aM,
|
|
29887
29888
|
WE as aN,
|
|
29888
|
-
|
|
29889
|
-
|
|
29890
|
-
|
|
29889
|
+
z_ as aO,
|
|
29890
|
+
H_ as aP,
|
|
29891
|
+
Pk as aQ,
|
|
29891
29892
|
no as aR,
|
|
29892
29893
|
Ln as aS,
|
|
29893
29894
|
Ki as aT,
|
|
29894
|
-
|
|
29895
|
-
|
|
29895
|
+
xu as aU,
|
|
29896
|
+
zy as aV,
|
|
29896
29897
|
An as aW,
|
|
29897
|
-
|
|
29898
|
+
Hu as aX,
|
|
29898
29899
|
jE as aY,
|
|
29899
|
-
|
|
29900
|
-
|
|
29900
|
+
sm as aZ,
|
|
29901
|
+
Bw as a_,
|
|
29901
29902
|
n5 as aa,
|
|
29902
29903
|
i5 as ab,
|
|
29903
29904
|
P2 as ac,
|
|
@@ -29922,7 +29923,7 @@ export {
|
|
|
29922
29923
|
Cl as av,
|
|
29923
29924
|
u5 as aw,
|
|
29924
29925
|
ad as ax,
|
|
29925
|
-
|
|
29926
|
+
tE as ay,
|
|
29926
29927
|
h5 as az,
|
|
29927
29928
|
c0 as b,
|
|
29928
29929
|
U5 as b$,
|
|
@@ -29930,12 +29931,12 @@ export {
|
|
|
29930
29931
|
$E as b1,
|
|
29931
29932
|
qE as b2,
|
|
29932
29933
|
UE as b3,
|
|
29933
|
-
|
|
29934
|
-
|
|
29935
|
-
|
|
29936
|
-
|
|
29937
|
-
|
|
29938
|
-
|
|
29934
|
+
Aw as b4,
|
|
29935
|
+
Fw as b5,
|
|
29936
|
+
Lw as b6,
|
|
29937
|
+
_w as b7,
|
|
29938
|
+
am as b8,
|
|
29939
|
+
uy as b9,
|
|
29939
29940
|
R5 as bA,
|
|
29940
29941
|
A5 as bB,
|
|
29941
29942
|
ea as bC,
|
|
@@ -29965,10 +29966,10 @@ export {
|
|
|
29965
29966
|
iT as b_,
|
|
29966
29967
|
AE as ba,
|
|
29967
29968
|
ct as bb,
|
|
29968
|
-
|
|
29969
|
-
|
|
29970
|
-
|
|
29971
|
-
|
|
29969
|
+
Bu as bc,
|
|
29970
|
+
zu as bd,
|
|
29971
|
+
Du as be,
|
|
29972
|
+
Ny as bf,
|
|
29972
29973
|
GE as bg,
|
|
29973
29974
|
FE as bh,
|
|
29974
29975
|
PE as bi,
|
|
@@ -29976,9 +29977,9 @@ export {
|
|
|
29976
29977
|
OE as bk,
|
|
29977
29978
|
DE as bl,
|
|
29978
29979
|
zE as bm,
|
|
29979
|
-
|
|
29980
|
+
Fu as bn,
|
|
29980
29981
|
BE as bo,
|
|
29981
|
-
|
|
29982
|
+
hy as bp,
|
|
29982
29983
|
HE as bq,
|
|
29983
29984
|
_5 as br,
|
|
29984
29985
|
x5 as bs,
|
|
@@ -30008,27 +30009,27 @@ export {
|
|
|
30008
30009
|
X5 as cf,
|
|
30009
30010
|
J5 as cg,
|
|
30010
30011
|
Q5 as ch,
|
|
30011
|
-
|
|
30012
|
-
|
|
30013
|
-
|
|
30014
|
-
|
|
30015
|
-
|
|
30012
|
+
sE as d,
|
|
30013
|
+
oE as e,
|
|
30014
|
+
aE as f,
|
|
30015
|
+
dE as g,
|
|
30016
|
+
lE as h,
|
|
30016
30017
|
H0 as i,
|
|
30017
30018
|
A0 as j,
|
|
30018
30019
|
sb as k,
|
|
30019
|
-
|
|
30020
|
-
|
|
30020
|
+
cE as l,
|
|
30021
|
+
fE as m,
|
|
30021
30022
|
Ol as n,
|
|
30022
30023
|
iE as o,
|
|
30023
30024
|
nE as p,
|
|
30024
30025
|
hd as q,
|
|
30025
|
-
|
|
30026
|
+
uE as r,
|
|
30026
30027
|
NC as s,
|
|
30027
|
-
|
|
30028
|
+
mE as t,
|
|
30028
30029
|
Hn as u,
|
|
30029
|
-
|
|
30030
|
-
|
|
30031
|
-
|
|
30032
|
-
|
|
30033
|
-
|
|
30030
|
+
hE as v,
|
|
30031
|
+
vE as w,
|
|
30032
|
+
gE as x,
|
|
30033
|
+
pE as y,
|
|
30034
|
+
bE as z
|
|
30034
30035
|
};
|